* lisp.h (LISP_INT_TAG, LISP_INT1_TAG, LISP_STRING_TAG): Remove.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9052f9f0
JB
12012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc.el (math-normalize-error): New variable.
4 (math-normalize): Set `math-normalize-error' to t
5 when there's an error.
6
7 * calc/calc-alg.el (math-simplify): Don't simplify when
8 `math-normalize' returns an error.
9
20ba0cb4
EZ
102012-07-29 Eli Zaretskii <eliz@gnu.org>
11
12 * international/mule-cmds.el (set-locale-environment): Revert last
13 change, since display-graphic-p returns nil when this function is
14 called during startup. Instead...
15
16 * term/w32console.el (terminal-init-w32console): ...setup the
17 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
18
a5dcc929
JL
192012-07-29 Juri Linkov <juri@jurta.org>
20
21 * simple.el (goto-line): Don't display default line number in the
22 prompt because it should be displayed by `read-number' (bug#9952).
23 Add the current line number to the defaults of `goto-line' to
24 allow its easier modification by users with `M-n' (bug#9201).
25
26 * subr.el (read-number): Support multiple default values like in
27 other minibuffer reading functions. Replace `read' with
28 `string-to-number' for consistency with `number-to-string'.
29
72b255c7
PE
302012-07-29 Paul Eggert <eggert@cs.ucla.edu>
31
32 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
33 * emulation/viper-init.el (viper-deactivate-input-method-action):
34 Rename from viper-inactivate-input-method-action.
35 (viper-deactivate-input-method):
36 Rename from viper-inactivate-input-method.
37 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
38 * international/mule-cmds.el (deactivate-input-method):
39 Rename from inactivate-input-method.
40 Also run input-method-deactivate-hook.
41 (deactivate-current-input-method-function):
42 Rename from inactivate-current-input-method-function.
43 (input-method-deactivate-hook): New hook.
44 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
45 (inactivate-input-method): Mark obsolete.
46
72b255c7
PE
47 * international/quail.el (quail-activate):
48 Also run quail-deactivate-hook.
49 (quail-deactivate): Rename from quail-inactivate.
50 * international/robin.el (robin-activate):
51 Also run robin-deactivate-hook.
52 (robin-deactivate): Rename from robin-inactivate.
53
2549c068
CY
542012-07-29 Chong Yidong <cyd@gnu.org>
55
56 * simple.el (indicate-copied-region): New function.
57 (kill-ring-save): Split off from here.
58
59 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
60 (kill-rectangle): Set deactivate-mark to t on read-only error.
61
62 * register.el (copy-to-register, copy-rectangle-to-register):
63 Deactivate the mark, and use indicate-copied-region (Bug#10056).
64 (append-to-register, prepend-to-register): Call
65
17711ed9
JL
662012-07-29 Juri Linkov <juri@jurta.org>
67
68 * simple.el (async-shell-command-buffer): New defcustom.
69 (shell-command): Use it. (Bug#4719)
70
01bd1b0d
EZ
712012-07-28 Eli Zaretskii <eliz@gnu.org>
72
73 * international/mule-cmds.el (set-locale-environment): In a
74 console session on MS-Windows, set up keyboard and terminal
75 encoding from the OEM codepage, not the ANSI codepage.
76 (Bug#12055)
77
a55739d3
CY
782012-07-28 Chong Yidong <cyd@gnu.org>
79
80 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
81 gdb-get-location.
82
9a0f8f2e
LL
832012-07-25 Leo Liu <sdl.web@gmail.com>
84
85 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
86 the alist (bug#12029).
87
20329d73
EZ
882012-07-28 Eli Zaretskii <eliz@gnu.org>
89
90 * makefile.w32-in (custom-deps, finder-data, updates, compile)
91 (compile-always, compile-first)
92 ($(lisp)/calendar/cal-loaddefs.el)
93 ($(lisp)/calendar/diary-loaddefs.el)
94 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
95 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
96 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
97 instead of on update-subdirs.
98 (bootstrap-clean): Delete $(lisp)/subdirs.el.
99
345a2258
CY
1002012-07-28 Chong Yidong <cyd@gnu.org>
101
1eee6341
CY
102 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
103 directory if vc-deduce-backend returns nil (Bug#7350).
104
345a2258
CY
105 * simple.el (delete-trailing-lines): New option.
106 (delete-trailing-whitespace): Obey it (Bug#11879).
107
049a0936
DE
1082012-07-28 David Engster <deng@randomsample.de>
109
110 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
111 Explanation of new 'symbol-qnames feature in doc-strings.
112 (xml-maybe-do-ns): Return expanded names as plain symbols if
113 'symbol-qnames was provided in XML-NS argument (Bug#11916).
114 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
115
aa81af71
FEG
1162012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
117
118 Consistent completion in inferior python with emacs -nw.
119 * progmodes/python.el (inferior-python-mode): replace "<tab>"
120 binding in inferior-python-mode-map with "\t".
121 (python-shell-completion-complete-at-point)
122 (python-completion-complete-at-point): Remove interactive spec.
123
e827b1eb
JB
1242012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
125
126 * calc/calccomp.el (math-compose-expr): Undo previous change.
127
a90dfb95
FEG
1282012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
129
130 * progmodes/python.el (python-mode-map): Added keybinding for
131 run-python.
132 (python-shell-make-comint): Fix pop-to-buffer call.
133 (run-python): Autoload. New arg SHOW.
134 (python-shell-get-or-create-process): Do not pop python process
135 buffer.
136
32770973 1372012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
138
139 * notifications.el (notifications-on-action-signal)
140 (notifications-on-closed-signal): Use also the bus address for the map.
141 (notifications-notify, notifications-close-notification)
142 (notifications-get-capabilities): Add optional argument BUS.
143
86332df2
TH
1442012-07-27 Tassilo Horn <tsdh@gnu.org>
145
146 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
147 support for the lstlisting and minted environments, and for the
148 ctable macro.
149 * textmodes/reftex.el (reftex-compile-variables): Also recognize
150 labels written in keyvals syntax.
151
ca1302a4
JB
1522012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
153
154 * calc/calccomp.el (math-compose-expr): Use parentheses when
155 there is a product in the denominator of a fraction.
156
f8b91036
EZ
1572012-07-26 Eli Zaretskii <eliz@gnu.org>
158
159 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
160 ($(lisp)/calendar/diary-loaddefs.el)
161 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
162 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
163 failures in parallel bootstrap because subdirs.el is being
164 rewritten while the autoload files are built at the same time,
165 which needs to load subdirs.el.
166
c8e5a42c
MR
1672012-07-26 Martin Rudalics <rudalics@gmx.at>
168
169 * mouse.el (popup-menu): Fix doc-string and re-indent code.
170 (mouse-drag-line): Don't exit tracking when a switch-frame or
171 switch-window event occurs (Bug#12006).
172
670d85ea
SM
1732012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * mouse.el (popup-menu): Fix last change.
176
7abaf5cc
SM
1772012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 Autoload from Lisp with more care. Follow aliases when looking for
180 function properties.
181 * subr.el (autoloadp): New function.
182 (symbol-file): Use it.
183 (function-get): New function.
184 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
185 autoload-do-load.
186 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
187 (lisp-indent-function):
188 * emacs-lisp/gv.el (gv-get):
189 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
190 * emacs-lisp/byte-opt.el (byte-optimize-form):
191 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
192 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
193 Use function-get.
194 * emacs-lisp/cl.el: Don't propagate function properties any more.
195
196 * speedbar.el (speedbar-add-localized-speedbar-support):
197 * emacs-lisp/disass.el (disassemble-internal):
198 * desktop.el (desktop-load-file):
199 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
200 (describe-function-1):
201 * emacs-lisp/find-func.el (find-function-noselect):
202 * emacs-lisp/elp.el (elp-instrument-function):
203 * emacs-lisp/advice.el (ad-has-proper-definition):
204 * apropos.el (apropos-safe-documentation, apropos-macrop):
205 * emacs-lisp/debug.el (debug-on-entry):
206 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
207 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
208 * calc/calc.el (name): Use autoloadp & autoload-do-load.
209
b1364986
AA
2102012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
211
212 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
213 function, not an obsolete variable (Bug#12046).
214
67ada220
AS
2152012-07-25 Andreas Schwab <schwab@linux-m68k.org>
216
217 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
218
f08088e3
CS
2192012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
220
221 * emacs-lisp/pp.el (pp-display-expression): Select old selected
222 window only if it is still live (Bug#12034).
223
8137e7b3
MR
2242012-07-25 Martin Rudalics <rudalics@gmx.at>
225
226 * subr.el (redirect-frame-focus): Add advertised calling
227 convention (Bug#12030).
228
09ae5da1
PE
2292012-07-25 Paul Eggert <eggert@cs.ucla.edu>
230
231 Prefer typical American spelling for "acknowledgment".
232 * vc/add-log.el (change-log-acknowledgment): Rename from
233 change-log-acknowledgement, with an alias for the old name.
234
3cc5a3a8
JB
2352012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
236
237 * calc-alg.el (math-simplify-divide): Don't cross multiply
238 in an equation when the lhs is a variable.
239
b7af7f62
JD
2402012-07-24 Julien Danjou <julien@danjou.info>
241
242 * net/netrc.el (netrc-find-service-number, netrc-store-data):
243 Remove, unused.
244
ec1b09b1
EZ
2452012-07-23 Eli Zaretskii <eliz@gnu.org>
246
247 * startup.el (command-line): Don't display an empty user name in
248 the error message about non-existent home directory, when
249 init-file-user was set to an empty string. See
250 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
251 for the details and context.
252
b525fd8a
VB
2532012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
254
255 * ses.el (ses-cell-formula-aset): New macro.
256 (ses-cell-references-aset): New macro.
257 (ses-cell-p): New function.
258 (ses-rename-cell): Do no longer rely on complex operations like
259 ses-cell-set-formula or ses-set-cell to change the cell and handle
260 the undo at the same time, but rather use lower level new macros
261 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
262 the undo directly. Refresh the mode line.
263
2c73e345
LL
2642012-07-21 Leo Liu <sdl.web@gmail.com>
265
670d85ea
SM
266 * progmodes/cc-cmds.el (c-defun-name):
267 Use match-string-no-properties instead for consistency.
2c73e345 268
542dfbde
LL
2692012-07-20 Leo Liu <sdl.web@gmail.com>
270
3646bcd6
LL
271 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
272 (Bug#7879)
273
542dfbde
LL
274 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
275
25721031
CY
2762012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
279 * progmodes/bug-reference.el, misearch.el: Provide themselves
280 (bug#11915).
281
282 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
283 of narrowed buffer (bug#11966).
284
316e68a7
VB
2852012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
286
287 * ses.el (ses-rename-cell): Set new name also in reference list of
288 cells of which the renamed cell depends.
289
bbf0e7d9
MY
2902012-07-20 Masatake YAMATO <yamato@redhat.com>
291
292 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
293 to check whether menu-bar is shown or not. If not shown,
294 show the menu-bar as a popup menu instead of using tmm.
295 * mouse.el (popup-menu): Accept `point' as `position' argument.
296
c28662a8
DG
2972012-07-20 Dmitry Gutov <dgutov@yandex.ru>
298
299 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
300 up inside string symbol literal (bug#11923).
301
87ab808f
EZ
3022012-07-20 Eli Zaretskii <eliz@gnu.org>
303
304 * startup.el (fancy-startup-text): Read the whole tutorial, not
305 just its first 256 bytes. Prevents gibberish in display of the
306 tutorial title.
307
89dea803
DA
3082012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
309
310 Drop idle buffer compaction due to an absence of the
311 proved efficiency.
312 * compact.el: Remove.
313
8a4e6db8
SS
3142012-07-19 Sam Steingold <sds@gnu.org>
315
316 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
317 vc-bzr-pull & vc-bzr-merge-branch.
318 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
319 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
320 for consistency with compilation-error-regexp-alist.
321 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
322 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
323 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
324 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
325
5db81e33
SM
3262012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * emacs-lisp/chart.el: Use lexical-binding.
329 (chart-emacs-storage): Don't hardcode the list of entries.
330
5b835e1d
DA
3312012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
332
333 Next round of tweaks caused by Fgarbage_collect changes.
334 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
335
9cd47b72
DA
3362012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
337
338 Compact buffers when idle.
339 * compact.el: New file.
340
1d6fc0df
SM
3412012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * subr.el (eventp): Presume that if it looks vaguely like an event,
344 it's an event (bug#10190).
345
1d29cc7d
FEG
3462012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
347
348 Enhancements to ppss related code (thanks Stefan).
349 * progmodes/python.el (python-indent-context)
350 (python-indent-calculate-indentation, python-indent-dedent-line)
351 (python-indent-electric-colon, python-nav-forward-block)
352 (python-mode-abbrev-table)
1d6fc0df 353 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
354 for ppss context.
355 (python-info-continuation-line-p): Cleanup.
356 (python-info-ppss-context): Do not catch 'quote.
357 (python-info-ppss-context-type)
358 (python-info-ppss-comment-or-string-p): Simplify.
359
d583cbe6
FEG
3602012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
361
362 * progmodes/python.el: Enhancements to eldoc support.
363 (python-info-current-symbol): New function.
364 (python-eldoc-at-point): Use python-info-current-symbol.
365 (python-info-current-defun): Fix cornercase on first defun scan.
366 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
367 and signal error when no inferior python process is available.
368
eceb6feb
DG
3692012-07-18 Dmitry Gutov <dgutov@yandex.ru>
370
371 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
372 assume it's always t.
373 (vc-git-registered): Remove caching, the function is only called
374 once.
375 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
376
4c8ff0fe
CY
3772012-07-18 Chong Yidong <cyd@gnu.org>
378
19fb7186
CY
379 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
380
9587c688
CY
381 * simple.el (count-words): Report on narrowing (Bug#9959).
382
0fe776a1
CY
383 * bindings.el: Bind M-= to count-words.
384
4c8ff0fe
CY
385 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
386
7f5331cc
MY
3872012-07-18 Masatake YAMATO <yamato@redhat.com>
388
389 * progmodes/sh-script.el (sh-imenu-generic-expression):
390 Capture a function with `function' keyword and without parentheses
391 like "function FOO" (bug#11856).
392
2dc2a609
TH
3932012-07-18 Tassilo Horn <tassilo@member.fsf.org>
394
395 * window.el (split-window-sensibly): Make WINDOW argument
396 optional.
397
439f7677
CY
3982012-07-18 Chong Yidong <cyd@gnu.org>
399
9aeb25a6
CY
400 * subr.el (keyboard-translate): Doc fix (Bug#7261).
401
439f7677
CY
402 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
403 and make C-x 8 RET exit isearch (Bug#11439).
404
405 * international/iso-transl.el: Move isearch-mode-map key
406 definitions to isearch.el.
407
12999ea8
SM
4082012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
411 (eieio-defclass): Use gv-define-setter when possible.
412
3ab6e069
DA
4132012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
414
415 Reflect recent changes in Fgarbage_collect.
416 * emacs-lisp/chart.el (chart-emacs-storage): Change to
417 reflect new format of data returned by Fgarbage_collect.
418
0a60bc10
FEG
4192012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
420
421 New utility functions + python-info-ppss-context fix (Bug#11910).
422 * progmodes/python.el (python-info-beginning-of-block-statement-p)
423 (python-info-ppss-comment-or-string-p): New functions.
424 (python-info-ppss-context): Small fix for string check.
425
6dafa0d5
JL
4262012-07-17 Juri Linkov <juri@jurta.org>
427
428 * dired-aux.el (dired-do-async-shell-command): Doc fix.
429 (dired-do-async-shell-command): Don't add `*' at the end of the
430 command (Bug#11815).
431 (dired-do-shell-command): Doc fix.
432 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
433 Join the individual commands using either "&" or ";" as the
434 separator depending on the values of these trailing characters.
435 At the end re-add the trailing "&". (Bug#10598)
436
437 * simple.el (async-shell-command): Sync the interactive spec with
438 `shell-command'. Doc fix.
439 (shell-command): Doc fix.
440
b19dd9d1
JL
4412012-07-17 Juri Linkov <juri@jurta.org>
442
443 * descr-text.el (describe-char): Fix format args. (Bug#10129)
444
bcdc27d7 4452012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 446
bcdc27d7 447 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
448 * progmodes/python.el (python-nav-beginning-of-statement):
449 Rename from python-nav-statement-start.
bcdc27d7
FEG
450 (python-nav-end-of-statement): Rename from
451 python-nav-statement-end.
452 (python-nav-beginning-of-block): Rename from
453 python-nav-block-start.
454 (python-nav-end-of-block): Rename from python-nav-block-end.
455
191da00e
FEG
4562012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
457
7f5331cc
MY
458 * progmodes/python.el (python-shell-send-string-no-output):
459 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
460 future interactions (Bug#11868).
461
4dc7c8d5 4622012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 463
88ecaf8f
SM
464 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
465
ef501ef0
SM
466 * emacs-lisp/elint.el (elint-find-args-in-code):
467 Use help-function-arglist, so as to handle lexical byte-code.
468
aa7aaf8f
SM
469 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
470 change (bug#11826).
471
45fd731c
SM
4722012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
473
2143fa32
SM
474 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
475 Avoid spuriously marking the buffer as modified because of c-is-sws.
476
efc26dbe
SM
477 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
478 as not-a-comment (bug#11946).
479
f5695c9a
SM
480 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
481 for uninterned vars.
482
483 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
484 Use read-event since we don't really want to read chars but bytes.
485
45fd731c
SM
486 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
487 $$..$$ but also $..$ using regexps (bug#11953).
488 Use tex-verbatim for \url and \path.
489 (tex-font-lock-keywords): Define as defconst like the others.
490 (tex-common-initialization): Don't use font-lock-syntax-table any more.
491
ddfc8813
RK
4922012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
493
494 * international/mule-cmds.el (ucs-insert): Make it an obsolete
495 alias for insert-char.
496
758e556a
FEG
4972012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
498
499 * progmodes/python.el: Simplified imenu implementation.
500 (python-nav-jump-to-defun): Remove command.
501 (python-mode-map): Use `imenu' instead.
502 (python-nav-list-defun-positions-cache)
503 (python-imenu-include-defun-type, python-imenu-make-tree)
504 (python-imenu-subtree-root-label, python-imenu-index-alist):
505 Remove vars.
506 (python-nav-list-defun-positions, python-nav-read-defun)
507 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
508 (python-imenu-make-tree, python-imenu-create-index):
509 Remove functions.
758e556a
FEG
510 (python-mode): Update to interact with imenu by setting
511 `imenu-extract-index-name-function' only.
512
032d23ab
FEG
5132012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
514
515 * progmodes/python.el: Enhancements to navigation commands.
516 (python-nav-backward-sentence)
517 (python-nav-forward-sentence): Remove.
518 (python-nav-backward-statement, python-nav-forward-statement)
519 (python-nav-statement-start, python-nav-statement-end)
520 (python-nav-backward-block, python-nav-forward-block)
521 (python-nav-block-start, python-nav-block-end)
522 (python-nav-forward-sexp-function)
523 (python-info-current-line-comment-p)
524 (python-info-current-line-empty-p): New functions.
525 (python-indent-context): Use `python-nav-statement-start'.
526
01795a1b
MA
5272012-07-16 Michael Albinus <michael.albinus@gmx.de>
528
9328d9aa
MA
529 * eshell/em-ls.el (eshell/ls): Use `apply'.
530
531 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
532 multi-hops, instead of Tramp internals.
533
01795a1b
MA
534 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
535
536 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
537 when F1 and F2 are located on different hosts.
538
63408057
CY
5392012-07-14 Chong Yidong <cyd@gnu.org>
540
541 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
542 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
543 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
544 (xterm-mouse--read-event-sequence-1000)
545 (xterm-mouse--read-event-sequence-1006): New functions. For old
546 mouse protocol, handle M-mouse-X events correctly.
547 (xterm-mouse-event): New arg specifying mouse protocol.
548 (turn-on-xterm-mouse-tracking-on-terminal)
549 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
550 sequence to toggle extended coordinates on newer XTerms.
551 This appears to be harmless on terminals which do not support this.
63408057 552
cd276f6e
LL
5532012-07-14 Leo Liu <sdl.web@gmail.com>
554
28ca98ac
LL
555 Add fringe bitmap indicators for flymake. (Bug#11253)
556 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
557 (flymake-make-overlay): New arg BITMAP.
558 (flymake-error-bitmap, flymake-warning-bitmap)
559 (flymake-fringe-indicator-position): New user variables.
560
cd276f6e
LL
561 * fringe.el: New bitmap exclamation-mark.
562
04408072
JD
5632012-07-14 Jan Djärv <jan.h.d@swipnet.se>
564
565 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
566 also (Bug#7879).
567
b5cf7fc4
CY
5682012-07-14 Chong Yidong <cyd@gnu.org>
569
570 * electric.el (electric-pair-post-self-insert-function): Fix pair
571 insertion in empty-region case (Bug#11520).
572
be755c79
RT
5732012-07-14 Chong Yidong <cyd@gnu.org>
574
45fd731c
SM
575 * bindings.el: Consolidate ctl-x-r-map bindings.
576 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
577
578 * rect.el, register.el: Move bindings to bindings.el.
579
5802012-07-14 Reuben Thomas <rrt@sc3d.org>
581
582 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
583
7f5b3198
AS
5842012-07-13 Andreas Schwab <schwab@linux-m68k.org>
585
586 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
587
97662200
JB
5882012-07-13 Juanma Barranquero <lekktu@gmail.com>
589
80185fed
JB
590 * bindings.el (top): Use `mapc' instead of `mapcar'.
591
97662200
JB
592 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
593
2bb1ae55
MA
5942012-07-13 Michael Albinus <michael.albinus@gmx.de>
595
596 * progmodes/sql.el (sql-comint): Suppress the check for program on
597 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
598 (Bug#11908)
599
dea31bd3
CY
6002012-07-13 Chong Yidong <cyd@gnu.org>
601
602 * bindings.el: Assign a non-nil permanent-local property to
603 per-buffer variables which lack a default value (Bug#11930).
604
605 * help-fns.el (describe-variable): In the "automatically becomes
606 local" notice, take note of permanent-local variables.
607
b68b3337
CY
6082012-07-13 Chong Yidong <cyd@gnu.org>
609
610 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
611 to allow printing the message when called from Lisp.
612
613 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
614 Remove toggle-read-only.
615
616 * bs.el (bs-toggle-readonly):
45fd731c
SM
617 * buff-menu.el (Buffer-menu-toggle-read-only):
618 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
619
620 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
621 Remove with-no-warnings around toggle-read-only.
622 (ffap-read-only, ffap-read-only-other-window)
623 (ffap-read-only-other-frame): Callers changed.
624
625 * help-mode.el: Don't require view package.
626 (help-mode-finish): Set buffer-read-only instead of calling
627 toggle-read-only.
628
629 * bindings.el (mode-line-toggle-read-only):
630 * dired.el (dired-toggle-read-only):
631 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
632 with non-nil second arg.
633
634 * emacs-lisp/eieio-custom.el (eieio-customize-object):
635 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
636 directly.
637
56bc1586
EZ
6382012-07-12 Eli Zaretskii <eliz@gnu.org>
639
640 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
641 not incf.
642
a464a6c7
SM
6432012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 More CL cleanups and reduction of use of cl.el.
646 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
647 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
648 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
649 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
650 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
651 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
652 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
653 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
654 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
655 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
656 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
657 * eshell/em-cmpl.el, eshell/em-banner.el:
658 * calendar/parse-time.el: Use cl-lib.
659 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
660 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
661 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
662 * term/ns-win.el, term.el, shell.el, ps-samp.el:
663 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
664 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
665 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
666 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
667 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
668 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
669 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
670 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
671 `lambda' rather than with `quote'.
672 (eshell-do-opt): Adjust accordingly.
673 (eshell-process-option): Simplify.
674 * eshell/esh-var.el:
675 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
676 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
677 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
678 to `pcase--dontcare'.
679 * emacs-lisp/cl.el (labels): Mark obsolete.
680 (cl--letf, letf): Move to cl-lib.
681 (cl--letf*, letf*): Remove.
682 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
683 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
684 (cl-progv): Rewrite.
685 (cl--letf, cl-letf): Move from cl.el.
686 (cl-letf*): New macro.
687 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
688
7ad4afe1
MA
6892012-07-11 Michael Albinus <michael.albinus@gmx.de>
690
691 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
692
9af57756
CY
6932012-07-11 Chong Yidong <cyd@gnu.org>
694
695 * vc/log-edit.el (log-edit-vc-backend): New variable.
696 (log-edit): Doc fix.
697
698 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
699 argument of log-edit to set up all local variables.
700 (vc-start-logentry): New optional arg specifying VC backend.
701
702 * vc/vc.el (vc-checkin): Use it.
703 (vc-deduce-fileset): Handle Log Edit buffers.
704 (vc-diff): Make first argument optional too.
705
706 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
707
8477cc7a
MA
7082012-07-10 Michael Albinus <michael.albinus@gmx.de>
709
710 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
711 command, just in case. The function is not needed anymore.
712 (eshell-external-command): Do not call `eshell-remote-command'.
713
19faa8e8
SM
7142012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
715
f58e0fd5
SM
716 Reduce use of (require 'cl).
717 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
718 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
719 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
720 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
721 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
722 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
723 * battery.el, avoid.el, abbrev.el: Use cl-lib.
724 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
725 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
726 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
727 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
728 * calculator.el, autorevert.el, apropos.el: Don't require CL.
729 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
730 (byte-compile-unfold-bcf, byte-compile-check-variable):
731 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
732 (byte-compile-nilconstp):
733 * emacs-lisp/autoload.el (make-autoload): Use pcase.
734 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
735
2519d43a
SM
736 * emacs-lisp/gv.el (cond): Make it a valid place.
737 (if): Simplify slightly.
738
19faa8e8
SM
739 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
740 (pcase--self-quoting-p): New function.
741 (pcase--u1): Use it.
742
c4907a5e
GM
7432012-07-10 Glenn Morris <rgm@gnu.org>
744
745 * emacs-lisp/authors.el (authors-fixed-entries):
746 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
747
c4444d16
PE
7482012-07-09 Paul Eggert <eggert@cs.ucla.edu>
749
750 Rename configure.in to configure.ac (Bug#11603).
751 * emacs-lisp/authors.el (authors-canonical-file-name):
752 * progmodes/autoconf.el (autoconf-mode):
753 Prefer configure.ac to configure.in.
754
d75be97d
CY
7552012-07-08 Chong Yidong <cyd@gnu.org>
756
01ac65bd
CY
757 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
758 Implement the mouse-1-click-follows-link handling properly.
759
760 * info.el (Info-link-keymap): Use follow-link mechanism for
761 header-line links (Bug#374).
762
d75be97d
CY
763 * simple.el (deactivate-mark): Do not set the primary selection
764 if another program has acquired it (Bug#11772).
765
87a92845 7662012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
767
768 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
769 (woman-decode-region): Replace escaped-escapes without destroying
770 bold or underline (Bug#11552).
87a92845 771 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 772
621b9d6c
CY
7732012-07-07 Chong Yidong <cyd@gnu.org>
774
775 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
776 (interprogram-cut-function, interprogram-paste-function):
777 Mention that we typically mean the clipboard.
621b9d6c 778
133a11fc
GM
7792012-07-06 Glenn Morris <rgm@gnu.org>
780
0d27a45e
GM
781 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
782
133a11fc
GM
783 * files.el (toggle-read-only): Restrict message to interactive use.
784
07b151f1
MA
7852012-07-06 Michael Albinus <michael.albinus@gmx.de>
786
787 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
788
789 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
790
211b896b
GM
7912012-07-06 Glenn Morris <rgm@gnu.org>
792
50394322
GM
793 * Makefile.in (compile-one-process): Rename from "recompile".
794
211b896b
GM
795 * Makefile.in (bzr-update): "compile" is the same as "recompile
796 autoloads", but parallelizable, so use that instead.
797
4737eec9
DG
7982012-07-06 Dmitry Gutov <dgutov@yandex.ru>
799
800 * window.el (quit-window): Always restore window height when
8137e7b3 801 it's saved in quit-restore parameter (Bug#11810).
4737eec9 802
226c3633 8032012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
804
805 * simple.el (kill-whole-line): Doc tweak.
806
226c3633 8072012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
808
809 * files.el (file-relative-name): Compare file names
810 case-insensitively if on MS-Windows or MS-DOS, or if
811 read-file-name-completion-ignore-case is non-nil. Don't use
812 case-fold-search for this purpose. (Bug#11827)
813
4dc7c8d5
SM
8142012-07-17 Andreas Schwab <schwab@linux-m68k.org>
815
816 * calendar/cal-dst.el (calendar-current-time-zone):
817 Return calendar-current-time-zone-cache if non-nil.
818
8192012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 8202012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 821
19faa8e8
SM
822 * calendar/cal-dst.el (calendar-current-time-zone):
823 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 824
60198fc9
GM
8252012-07-06 Glenn Morris <rgm@gnu.org>
826
827 * Makefile.in (cvs-update): Remove old alias.
828
957b3189
MA
8292012-07-05 Michael Albinus <michael.albinus@gmx.de>
830
831 Sync with Tramp 2.2.6-pre.
832
833 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
834 compatible declaration.
835
19faa8e8
SM
836 * net/tramp-cmds.el (tramp-append-tramp-buffers):
837 Protect `list-load-path-shadows' call.
957b3189
MA
838
839 * net/tramp-compat.el (top): Require packages, which aren't
840 autoloaded anymore for XEmacs. Protect call of
841 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
842 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
843 it hurts at least for SXEmacs.
844 (tramp-compat-temporary-file-directory): In XEmacs, there is no
845 standard-value for `temporary-file-directory'.
846
847 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
848 Redirect stderr to /dev/null.
849 (tramp-sh-handle-write-region): uid and gid can be floats.
850 Reported by Russell Sim <russell.sim@gmail.com>.
851 (tramp-sh-handle-vc-registered): Hide errors.
852 (tramp-vc-file-name-handler): Use dummy results for `process-file'
853 and `start-file-process'.
854 (tramp-maybe-open-connection): Check also whether `non-essential'
855 is bound.
856
566df3fc
CY
8572012-07-04 Chong Yidong <cyd@gnu.org>
858
859 * xml.el (xml--parse-buffer): Use xml-syntax-table.
860 (xml-parse-tag): Likewise, and avoid changing entity tables.
861 (xml-syntax-table): Define from scratch, making sure not to give
862 x2000 and other Unicode spaces whitespace syntax, since those are
863 not spaces in XML.
864 (xml-parse-fragment): Delete unused function.
865 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
866 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
867 (xml-entity-ref, xml-pe-reference-re)
868 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
869 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
870 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
871 (xml-entity-value-re): Use syntax references in regexps where
872 possible; no need to define inside a let-binding.
873 (xml-parse-dtd): Use xml-pe-reference-re.
874 (xml-entity-or-char-ref-re): New defconst.
875 (xml-parse-string, xml-substitute-special): Use it.
876
30eabd7a
SM
8772012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
878
0781098a
SM
879 * files.el (locate-dominating-file): Allow `name' to be a predicate.
880 (find-file--read-only): New function.
881 (find-file-read-only, find-file-read-only-other-window)
882 (find-file-read-only-other-frame): Use it.
883 (insert-file-contents-literally): Don't `fset'.
884 (get-free-disk-space): Use locate-dominating-file.
885
b5771c0d
SM
886 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
887 function is already compiled.
888
30eabd7a
SM
889 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
890
b4886f6e
MA
8912012-07-03 Michael Albinus <michael.albinus@gmx.de>
892
893 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
894 files on the same host.
895
b9d82339
AS
8962012-07-03 Andreas Schwab <schwab@linux-m68k.org>
897
898 * help-fns.el (describe-function-1): Only call
899 help-fns--autoloaded-p when we have a file name. (Bug#11848)
900
a76e6535
CY
9012012-07-03 Chong Yidong <cyd@gnu.org>
902
903 * xml.el: Protect parser against XML bombs.
904 (xml-entity-expansion-limit): New variable.
905 (xml-parse-string, xml-substitute-special): Use it.
906 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
907
b544fef2
GM
9082012-07-03 Glenn Morris <rgm@gnu.org>
909
910 * progmodes/bug-reference.el (bug-reference-bug-regexp):
911 Allow linking to specific messages in debbugs reports (eg 123#5).
912
a7aef6f5
CY
9132012-07-02 Chong Yidong <cyd@gnu.org>
914
915 * xml.el: Fix entity and character reference expansion, allowing
916 them to expand into markup as per XML spec.
917 (xml-default-ns): New variable.
918 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
919 (xml-parse-region): Make first two arguments optional.
920 Discard text properties.
921 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
922 All callers changed.
a7aef6f5
CY
923 (xml-parse-tag): Call xml-parse-tag-1. For backward
924 compatibility, this function should not modify buffer contents.
925 (xml-parse-tag-1): Fix opening-tag regexp.
926 (xml-parse-string): Rewrite, handling entity and character
927 references properly.
928 (xml--entity-replacement-text): Signal an error if a parameter
929 entity is undefined.
930
3df31c9f
SM
9312012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
932
2b5208f1
SM
933 * comint.el (comint-output-filter): Filter out repeated prompts.
934
3df31c9f
SM
935 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
936 and file-name-absolute-p.
937 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
938 internal calls.
939
e3ac1281
PE
9402012-07-02 Paul Eggert <eggert@cs.ucla.edu>
941
942 Spelling fixes.
943 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
944 Rename from byte-compile--refiy-function. All uses changed.
945
fbf2e7ad
CY
9462012-07-01 Chong Yidong <cyd@gnu.org>
947
948 * xml.el (xml--parse-buffer): New function. Move most of
949 xml-parse-region here.
950 (xml-parse-region): Copy region into a temporary buffer, since
951 parameter entity substitution requires changing buffer contents.
952 Use xml--parse-buffer.
953 (xml-parse-file): Use xml--parse-buffer.
954 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 955 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 956
9bf0aa15
GM
9572012-06-30 Glenn Morris <rgm@gnu.org>
958
bbce2853
GM
959 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
960
9bf0aa15
GM
961 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
962 Remove outdated and unnecessary dbus declarations.
963
0d23c240
EZ
9642012-06-30 Eli Zaretskii <eliz@gnu.org>
965
966 * emacs-lisp/timer.el (timer-until): Subtract results of
967 float-time, instead of taking float-time of the result of
968 time-subtract, since float-time signals an error for negative time
969 arguments.
970
b3218de1
CY
9712012-06-30 Chong Yidong <cyd@gnu.org>
972
973 * xml.el (xml-*-re): Convert defvars into defconsts, and
974 eval-and-compile them so eval-and-compile works on derivatives.
975 (xml--entity-replacement-text): Use eval-and-comple.
976
a40c87a0
MA
9772012-06-30 Michael Albinus <michael.albinus@gmx.de>
978
979 * vc/vc-git.el (vc-git-registered): Use cache property
980 `git-registered'.
981 (vc-git-mode-line-string): Call `vc-working-revision' instead of
982 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 983 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 984
ac87de97
DG
9852012-06-30 Dmitry Gutov <dgutov@yandex.ru>
986
987 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 988 removed (likely outside Emacs). (Bug#11757)
ac87de97 989
ac10fe06
SM
9902012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
991
3df31c9f 992 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 993
7f3fbd5d
CY
9942012-06-30 Chong Yidong <cyd@gnu.org>
995
996 * xml.el: Implement XML parameter entities.
997 (xml-parameter-entity-alist): New variable.
998 (xml-parse-region, xml-parse-fragment): Preserve previous values
999 of xml-entity-alist and xml-parameter-entity-alist, so that
1000 repeated calls on different documents do not change them.
1001 (xml-parse-tag): Fix doctype regexp.
1002 (xml--entity-replacement-text): New function.
1003 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1004 properly requires url retrieval which is unimplemented.
1005 (xml-escape-string): Doc fix.
1006
3cfbebba
SM
10072012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1010
2af3565e
DA
10112012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1012
1013 * fringe.el (fringe-mode): Doc fix.
1014
929df0e7
MA
10152012-06-29 Michael Albinus <michael.albinus@gmx.de>
1016
1017 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1018 is non-nil.
1019 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1020 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1021
c8d3a25c 10222012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1023
c8d3a25c
GM
1024 * calendar/cal-dst.el (calendar-current-time-zone):
1025 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1026
c8d3a25c 10272012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1028
1029 * progmodes/which-func.el (which-func-format):
1030 Add mouse-face. (Bug#11698)
1031
c8d3a25c
GM
10322012-06-29 Leo Liu <sdl.web@gmail.com>
1033
1034 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1035
10362012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * minibuffer.el (minibuffer-confirm-exit-commands):
1039 Add completion-at-point (bug#11725).
1040
10412012-06-29 Glenn Morris <rgm@gnu.org>
1042
1043 * progmodes/f90.el (f90-font-lock-keywords-2):
1044 Add some preprocessor elements. (Bug#10499)
1045
10462012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1049 Use syntax-propertize (bug#11739).
1050
2badeec4
JB
10512012-06-28 Juanma Barranquero <lekktu@gmail.com>
1052
1053 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1054
ae4969c2
JD
10552012-06-28 Julien Danjou <julien@danjou.info>
1056
1057 * term.el (term-handle-colors-array): Use a set of new faces to
1058 color the terminal. Also uses :inverse-video property.
1059 (term-default-fg-color): Set to nil by default, deprecate in favor
1060 of `term-face'.
1061 (term-default-bg-color): Set to nil by default, deprecate in favor
1062 of `term-face'.
1063 (term-current-face): Use `term-face' by default.
1064 (term-bold-attribute): Variable deleted.
1065
1c9bd870
GM
10662012-06-28 Glenn Morris <rgm@gnu.org>
1067
1068 * simple.el (completion-list-mode-finish):
1069 Don't use toggle-read-only. (Since completion-list-mode has
1070 a special mode-class, it wasn't doing anything extra anyway.)
1071
c207708c
SM
10722012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 Make inlining of other-mode interpreted functions work (bug#11799).
1075 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1076 (byte-compile): Use it to fix compilation of lexical-binding closures.
1077 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1078 function, if needed.
1079
3fd56834
SM
10802012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1081
04901786
SM
1082 * help-mode.el (help-make-xrefs): Don't just withstand
1083 cyclic-variable-indirection but any error in documentation-property.
1084
1ec4b7b2
SM
1085 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1086 memory use.
1087 * bindings.el (bindings--define-key): New function.
1088 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1089 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1090 * bindings.el: Use it to purecopy define-key bindings.
1091
e309e2a5
SM
1092 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1093
d5c6faf9
SM
1094 * emacs-lisp/cl.el (flet): Mark obsolete.
1095 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1096 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1097 * progmodes/js.el (js-c-fill-paragraph):
1098 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1099 (ebrowse-switch-member-buffer-to-derived-class):
1100 * play/5x5.el (5x5-solver): Use cl-flet.
1101
6e9590e2
SM
1102 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1103 (cl--symbol-function): New macro.
1104 (cl--letf, cl--letf*): Use it.
1105
3fd56834
SM
1106 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1107 Strip "toggle-" if any.
1108
35ff222c
GM
11092012-06-27 Glenn Morris <rgm@gnu.org>
1110
1ba6038a
GM
1111 * info.el (Info-default-directory-list): Move here from paths.el.
1112 * paths.el: Remove file, which is now empty.
1113 * loadup.el: No longer load "paths".
1114
0ea0e51b
GM
1115 * custom.el (custom-initialize-delay): Doc fix.
1116
35ff222c
GM
1117 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1118 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1119 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1120 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1121 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1122 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1123 * eshell/eshell.el (eshell-defgroup): Remove alias.
1124
c89926a5
CY
11252012-06-27 Chong Yidong <cyd@gnu.org>
1126
1127 * help.el (help-enable-auto-load): New variable.
1128
1129 * help-fns.el (help-fns--autoloaded-p): New function.
1130 (describe-function-1): Refer to a function as "autoloaded" if it
1131 was autoloaded at any time in the past. Perform autoloading if
1132 help-enable-auto-load is non-nil.
1133
cc06e7e7
EZ
11342012-06-26 Eli Zaretskii <eliz@gnu.org>
1135
1136 * makefile.w32-in (compile, compile-always): Depend on
1137 update-subdirs, not on subdirs.el. Otherwise, several different
1138 sub-targets of 'bootstrap' running in parallel could
1139 simultaneously write to subdirs.el, producing a garbled file.
1140
d2c32364
SS
11412012-06-26 Sam Steingold <sds@gnu.org>
1142
1143 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1144 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1145 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1146 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1147 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1148 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1149 * textmodes/tex-mode.el: Use it.
1150 Did not touch cedet and org because they are maintained elsewhere.
1151
5cf983b2
MR
11522012-06-26 Martin Rudalics <rudalics@gmx.at>
1153
1154 * calendar/calendar.el (calendar-exit): Don't try to delete or
1155 iconify last frame. See:
1156 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1157
8c4f2952
JD
11582012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1159
1160 * server.el (server-process-filter): Remember dir in the
1161 process's `server-client-directory' properties.
1162
772b2e2c
CY
11632012-06-24 Chong Yidong <cyd@gnu.org>
1164
1165 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1166 non-tag text.
1167
711b11e1
JB
11682012-06-23 Juanma Barranquero <lekktu@gmail.com>
1169
1170 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1171
dc5d230c
SM
11722012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * help-fns.el (describe-variable): Don't croak when doc is not found.
1175 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1176 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1177 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1178 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1179 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1180 ((lambda ..) ..).
1181 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1182
136e1c1d
CY
11832012-06-23 Chong Yidong <cyd@gnu.org>
1184
e8c1cabf
CY
1185 * info.el (Info-mouse-follow-link): Accept symbol values of
1186 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1187 (Info-fontify-node): Use Info-link-keymap for all navigation
1188 buttons, with link-args property to perform the desired action.
1189 (Info-link-keymap): Doc fix.
1190 (Info-next-link-keymap, Info-prev-link-keymap)
1191 (Info-up-link-keymap): Delete now-unused keymaps.
1192
0e9e6c6a
CY
11932012-06-23 Chong Yidong <cyd@gnu.org>
1194
05e89fea
CY
1195 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1196
0e9e6c6a
CY
1197 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1198 system abbrevs.
1199
1200 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1201
e33c6771
SM
12022012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1203
b68581e2
SM
1204 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1205 (bug#11719).
1206
e33c6771
SM
1207 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1208 the requote function doesn't work properly (bug#11714).
1209
7117e105
GM
12102012-06-23 Glenn Morris <rgm@gnu.org>
1211
1212 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1213
36cec983
SM
12142012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 Further GV/CL cleanups.
1217 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1218 gv-expander.
1219 (gv--defun-declaration): New function.
1220 (defun-declarations-alist): Use it.
1221 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1222 (gv-place): Autoload.
1223 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1224 original definition of dotimes and dolist.
1225 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1226 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1227 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1228 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1229 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1230 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1231 to the function's definition.
1232 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1233 * window.el:
1234 * files.el:
1235 * faces.el:
1236 * env.el: Don't use CL.
1237
d35af63c
PE
12382012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1239
1240 Support higher-resolution time stamps (Bug#9000).
1241
1242 * calendar/time-date.el (with-decoded-time-value): New arg
1243 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1244 (encode-time-value): New optional arg PICO. New type 3.
1245 (time-to-seconds) [!float-time]: Support the new picoseconds
1246 component if it's used.
1247 (seconds-to-time, time-subtract, time-add):
1248 Support ps-resolution time stamps as well.
1249
1250 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1251 (timerp): Timer vectors now have length 9, not 8.
1252 (timer--time): Support new-style (4-part) time stamps.
1253 (timer-next-integral-multiple-of-time): Time stamps now have
1254 picosecond resolution, so take a bit more care about rounding.
1255 (timer-relative-time, timer-inc-time): New optional arg psecs.
1256 (timer-set-time-with-usecs): Set psecs to 0.
1257 (timer--activate): Check psecs component, too.
1258
1259 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1260
ac77b21a
SM
12612012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1262
f143bfe3
SM
1263 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1264 Move the non-essential binding to the post/pre-command-hook where it is
1265 more obviously correct.
1266
ac77b21a
SM
1267 * subr.el (read-passwd): Don't use a history at all.
1268 * savehist.el (savehist-save): Remove password saved accidentally
1269 because of the above bug.
1270
76386c5a
BG
12712012-06-22 Bastien Guerry <bzg@gnu.org>
1272
1273 * files.el (toggle-read-only): Display a message telling whether
1274 the buffer is read-only or not (bug#11726).
1275
2ee3d7f0
SM
12762012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * emacs-lisp/gv.el: New file.
1279 * subr.el (push, pop): Extend to generalized variables.
1280 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1281 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1282 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1283 gv-define-simple-setter, and gv-define-expander.
1284 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1285 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1286 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1287 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1288 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1289 gv-letplace.
1290 (cl-defstruct): Don't define setf-method any more.
1291 * emacs-lisp/cl.el (flet): Don't autoload.
1292 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1293 (define-setf-expander, defsetf, define-modify-macro)
1294 (cl-struct-setf-expander): Move from cl-lib.el.
1295 * emacs-lisp/syntax.el:
1296 * emacs-lisp/ewoc.el:
1297 * emacs-lisp/smie.el:
1298 * emacs-lisp/cconv.el:
1299 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1300 (timer--time): Use gv-define-simple-setter.
1301 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1302 to avoid coding-system problems in subr.el. Adjust all users.
1303 (macroexp--maxsize, macroexp-small-p): New functions.
1304 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1305 * scroll-bar.el (scroll-bar-mode):
1306 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1307 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1308 * winner.el (winner-configuration, winner-make-point-alist)
1309 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1310 * files.el (locate-file-completion-table): Avoid list*.
1311
c5695d1d
CY
13122012-06-22 Chong Yidong <cyd@gnu.org>
1313
1314 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1315 (dired-create-files): Doc fix (Bug#11329).
1316 (dired-do-copy): Doc fix (Bug#11334).
1317 (dired-mark-read-string): Doc fix (Bug#11553).
1318
2ee3d7f0
SM
1319 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1320 Doc fix (Bug#11326).
c5695d1d
CY
1321 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1322 (dired-dwim-target): Doc fix.
1323
1324 * wdired.el (wdired-mode): Doc fix.
1325
89b5595a
GM
13262012-06-22 Glenn Morris <rgm@gnu.org>
1327
575db3f1
GM
1328 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1329 (pcmpl-rpm-cache-stamp-file): New constant.
1330 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1331 (pcmpl-rpm-packages): Optionally cache list of packages.
1332
a4c8dd51
GM
1333 * pcmpl-rpm.el (pcmpl-rpm): New group.
1334 (pcmpl-rpm-query-options): New option.
1335 (pcmpl-rpm-packages): No need to inline it.
1336 Use pcmpl-rpm-query-options.
1337
89b5595a
GM
1338 * calendar/calendar.el (calendar-in-read-only-buffer):
1339 Avoid some needless mode changes.
1340
e76f0800
CY
13412012-06-21 Chong Yidong <cyd@gnu.org>
1342
1343 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1344 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1345 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1346
297a8f1d
CY
13472012-06-20 Chong Yidong <cyd@gnu.org>
1348
1349 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1350
d34c18b1
DR
13512012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1352
1353 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1354 (bug#11201).
1355
32f7f28e
CY
13562012-06-20 Chong Yidong <cyd@gnu.org>
1357
1358 * term.el (term-window-width): Handle the case of a missing right
1359 fringe (Bug#8837).
1360 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1361 (term-mode): Use define-derived-mode. Minor cleanups.
1362 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1363 (term-move-columns, term-insert-char, term-emulate-terminal)
1364 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1365
493c6688
MA
13662012-06-20 Michael Albinus <michael.albinus@gmx.de>
1367
d34c18b1
DR
1368 * net/ange-ftp.el (ange-ftp-get-passwd):
1369 Bind `enable-recursive-minibuffers'.
493c6688
MA
1370 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1371
3f06ecf4
DR
13722012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1373
1374 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1375
68f12411
GM
13762012-06-19 Glenn Morris <rgm@gnu.org>
1377
1378 * progmodes/python.el (python-mode): Derive from prog-mode.
1379
b3820318
KG
13802012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1381
1382 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1383 (edt-user-menu-bar-update-buffers): New functions.
1384 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1385
c6bf3022
CY
13862012-06-19 Chong Yidong <cyd@gnu.org>
1387
1388 * subr.el (with-selected-window): Preserve the selected window's
1389 terminal's top-frame (Bug#4702).
1390
1391 * window.el (save-selected-window): Likewise.
1392
25f09295
SM
13932012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * progmodes/python.el (python-rx-constituents): Move backquote.
1396 (python-skeleton-define, python-define-auxiliary-skeleton):
1397 Use `declare'.
1398
6b11952a
MA
13992012-06-18 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * minibuffer.el (read-file-name-default): Revert the patch from
1402 2012-06-17.
1403
ee4b1330
SM
14042012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1407 (pcase--u1, pcase--q1): Don't use apply-partially.
1408
35647f79
GM
14092012-06-18 Glenn Morris <rgm@gnu.org>
1410
1411 * progmodes/python.el (python-proc, python-buffer)
1412 (python-send-receive, python-send-string): Fix obsolete versions.
1413
24b0cff0
MR
14142012-06-18 Martin Rudalics <rudalics@gmx.at>
1415
1416 * window.el (special-display-p): Completely remove stringp
1417 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1418
29855149
MA
14192012-06-17 Michael Albinus <michael.albinus@gmx.de>
1420
1421 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1422
1423 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1424
1425 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1426 * net/tramp-sh.el (tramp-maybe-open-connection):
1427 Throw if `non-essential' is non-nil.
1428
07463363
MR
14292012-06-17 Martin Rudalics <rudalics@gmx.at>
1430
1431 * window.el (special-display-p): Signal an error if BUFFER-NAME
1432 is not a string (Bug#11713).
1433
48d1354e
PE
14342012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1435
1436 * progmodes/python.el (python-info-beginning-of-backslash):
1437 Rename from python-info-beginning-of-backlash, as a spelling fix.
1438
eb4a8a9a
CY
14392012-06-17 Chong Yidong <cyd@gnu.org>
1440
1441 * term.el (term-emulate-terminal): If term-check-size is called,
1442 move point to the process mark without resetting point (Bug#4635).
1443
ddfbf826 14442012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1445
1446 * international/mule-cmds.el (mule-menu-keymap)
1447 (set-language-environment, set-locale-environment): Doc tweaks.
1448
9b0e3eba
AA
14492012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1450
1451 * cus-face.el (custom-face-attributes): Add wave-style underline
1452 attribute.
1453 * faces.el (set-face-attribute): Update docstring to describe
1454 wave-style underline attribute.
1455
771e3eae
CY
14562012-06-16 Chong Yidong <cyd@gnu.org>
1457
1458 * term/xterm.el (terminal-init-xterm): Discard input before
1459 querying background mode (Bug#10959).
1460
7ae2ea10
SM
14612012-06-16 Stefan Merten <smerten@oekonux.de>
1462
1463 * textmodes/rst.el: Added and corrected some comments.
1464 (rst-re-alist-def): Improve symbol syntax.
1465 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1466 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1467 (rst-official-version, rst-official-cvs-rev): Update version
1468 information.
7ae2ea10 1469
b6974efa
JB
14702012-06-15 Juanma Barranquero <lekktu@gmail.com>
1471
1472 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1473 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1474
8826d473
GM
14752012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1476
1477 * progmodes/python.el: New python.el merge.
1478 (python-guess-indent): Obsolete var.
1479 (python-indent-guess-indent-offset): New defcustom.
1480 (python-indent): Obsolete var.
1481 (python-indent-offset): New defcustom.
1482 (python-python-command, python-jython-command): Delete var.
1483 (python-shell-interpreter): New defcustom.
1484 (python-pdbtrack-do-tracking-p): Delete var.
1485 (python-pdbtrack-activate): New defcustom.
1486 (python-use-skeletons): Obsolete var.
1487 (python-skeleton-autoinsert): New defcustom.
1488 (inferior-python-filter-regexp, python-continuation-offset)
1489 (python-honour-comment-indentation, python-indent-string-contents)
1490 (python-jython-packages, python-mode-hook)
1491 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1492 (python-shell-prompt-alist)
1493 (python-source-modes): Delete defcustoms.
1494 (python-check-buffer-name, python-eldoc-setup-code)
1495 (python-eldoc-string-code, python-ffap-setup-code)
1496 (python-ffap-string-code, python-fill-comment-function)
1497 (python-fill-decorator-function, python-fill-paren-function)
1498 (python-fill-string-function, python-imenu-include-defun-type)
1499 (python-imenu-make-tree, python-imenu-subtree-root-label)
1500 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1501 (python-shell-compilation-regexp-alist)
1502 (python-shell-completion-module-string-code)
1503 (python-shell-completion-pdb-string-code)
1504 (python-shell-completion-setup-code)
1505 (python-shell-completion-string-code)
1506 (python-shell-enable-font-lock, python-shell-exec-path)
1507 (python-shell-extra-pythonpaths)
1508 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1509 (python-shell-process-environment)
1510 (python-shell-prompt-block-regexp)
1511 (python-shell-prompt-output-regexp)
1512 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1513 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1514 (python-shell-virtualenv-path): New defcustoms.
1515 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1516 (inferior-python-mode-syntax-table, python--prompt-regexp)
1517 (python-buffer, python-command python-python-command)
1518 (python-default-template, python-imports, python-indent-index)
1519 (python-indent-list, python-indent-list-length)
1520 (python-mode-running, python-pdbtrack-is-tracking-p)
1521 (python-preoutput-continuation, python-preoutput-leftover)
1522 (python-preoutput-result, python-preoutput-skip-next-prompt)
1523 (python-prev-dir/file, python-recursing)
1524 (python-saved-check-command, python-version-checked)
1525 (python-which-func-length-limit)
1526 (view-return-to-alist): Delete vars.
1527 (python-check-custom-command, python-dotty-syntax-table)
1528 (python-imenu-index-alist, python-indent-current-level)
1529 (python-indent-dedenters, python-indent-levels)
1530 (python-nav-beginning-of-defun-regexp)
1531 (python-nav-list-defun-positions-cache)
1532 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1533 (python-shell-internal-buffer)
1534 (python-skeleton-available): New vars.
1535 (def-python-skeleton): Delete macro.
1536 (python-skeleton-define): New macro.
1537 (python-define-auxiliary-skeleton, python-rx): New macros.
1538 (python-insert-class): Delete command.
1539 (python-skeleton-class): New command.
1540 (python-insert-def): Delete command.
1541 (python-skeleton-def): New command.
1542 (python-insert-for): Delete command.
1543 (python-skeleton-for): New command.
1544 (python-insert-if): Delete command.
1545 (python-skeleton-if): New command.
1546 (python-insert-try/except, python-insert-try/finally): Delete commands.
1547 (python-skeleton-try): New command.
1548 (python-insert-while): Delete command.
1549 (python-skeleton-while): New command.
1550 (python-backspace): Delete command.
1551 (python-indent-dedent-line-backspace): New command.
1552 (python-electric-colon): Delete command.
1553 (python-indent-electric-colon): New command.
1554 (python-guess-indent): Delete command.
1555 (python-indent-guess-indent-offset): New command.
1556 (python-shift-left): Delete command.
1557 (python-indent-shift-left): New command.
1558 (python-shift-right): Delete command.
1559 (python-indent-shift-right): New command.
1560 (python-find-function): Delete command.
1561 (python-nav-jump-to-defun): New command.
1562 (python-next-statement): Delete command.
1563 (python-nav-forward-sentence): New command.
1564 (python-previous-statement): Delete command.
1565 (python-nav-backward-sentence): New command.
1566 (python-fill-paragraph): Delete command.
1567 (python-fill-paragraph-function): New command.
1568 (python-send-buffer): Delete command.
1569 (python-shell-send-buffer): New command.
1570 (python-send-defun): Delete command.
1571 (python-shell-send-defun): New command.
1572 (python-send-region, python-send-region-and-go): Delete commands.
1573 (python-shell-send-region)
1574 (python-shell-switch-to-shell): New commands.
1575 (python-send-string): Delete command.
1576 (python-shell-send-string): New command.
1577 (python-switch-to-python): Delete command.
1578 (python-shell-switch-to-shell): New command.
1579 (python-describe-symbol): Delete command.
1580 (python-eldoc-at-point): New command.
1581 (python--set-prompt-regexp, python-args-to-list)
1582 (python-after-info-look, python-check-version)
1583 (python-check-comint-prompt, python-find-imports)
1584 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1585 (python-unload-function, python-expand-template)
1586 (python-maybe-jython, python-preoutput-filter)
1587 (python-pdbtrack-get-source-buffer)
1588 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1589 (python-pdbtrack-toggle-stack-tracking)
1590 (python-pdbtrack-track-stack-file, python-initial-text)
1591 (python-first-word, python-comment-line-p, python-send-command)
1592 (python-setup-brm, python-sentinel, python-set-proc)
1593 (python-skip-out, python-input-filter, python-outdent-p)
1594 (python-outline-level, python-backslash-continuation-line-p)
1595 (python-end-of-block, python-end-of-statement, python-mark-block)
1596 (python-beginning-of-block, python-beginning-of-statement)
1597 (python-blank-line-p, python-beginning-of-string)
1598 (python-open-block-statement-p): Delete functions.
1599 (python-indent-line, python-indent-line-1): Delete functions.
1600 (python-indent-line): New function.
1601 (python-indentation-levels): Delete function.
1602 (python-indent-calculate-levels): New function.
1603 (python-proc): Delete function.
1604 (python-shell-get-process): New function.
1605 (python-send-receive): Delete function.
1606 (python-shell-send-string-no-output): New function.
1607 (python-module-path): Delete function.
1608 (python-ffap-module-path): New function.
1609 (python-completion-at-point)
1610 (python-symbol-completions): Delete functions.
1611 (python-completion-complete-at-point): New function.
1612 (python-load-file): Delete function.
1613 (python-shell-send-file): New function.
1614 (python-calculate-indentation): Delete function.
1615 (python-indent-calculate-indentation): New function.
1616 (python-skip-comments/blanks): Delete function.
1617 (python-util-forward-comment): New function.
1618 (python-continuation-line-p): Delete function.
1619 (python-info-continuation-line-p): New function.
1620 (python-which-func, python-current-defun): Delete function.
1621 (python-info-current-defun): New function.
1622 (python-beginning-of-defun): Delete function.
1623 (python-nav-beginning-of-defun): New function.
1624 (python-close-block-statement-p)
1625 (python-block-end-p): Delete function.
1626 (python-info-closing-block): New function.
1627 (python-comint-output-filter-function)
1628 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1629 (python-fill-comment, python-fill-decorator, python-fill-paren)
1630 (python-fill-string, python-imenu-make-element-tree)
1631 (python-imenu-make-tree, python-imenu-tree-assoc)
1632 (python-indent-context, python-indent-dedent-line)
1633 (python-indent-line-function)
1634 (python-indent-post-self-insert-function)
1635 (python-indent-toggle-levels)
1636 (python-info-assignment-continuation-line-p)
1637 (python-info-beginning-of-backlash)
1638 (python-info-block-continuation-line-p)
1639 (python-info-closing-block-message)
1640 (python-info-line-ends-backslash-p)
1641 (python-info-looking-at-beginning-of-defun)
1642 (python-info-ppss-context, python-info-ppss-context-type)
1643 (python-nav-list-defun-positions, python-nav-read-defun)
1644 (python-nav-sentence-end, python-nav-sentence-start)
1645 (python-pdbtrack-comint-output-filter-function)
1646 (python-pdbtrack-set-tracked-buffer)
1647 (python-shell-calculate-exec-path)
1648 (python-shell-calculate-process-environment)
1649 (python-shell-completion--do-completion-at-point)
1650 (python-shell-completion--get-completions)
1651 (python-shell-completion-complete-at-point)
1652 (python-shell-completion-complete-or-indent)
1653 (python-shell-get-or-create-process)
1654 (python-shell-get-process-name)
1655 (python-shell-internal-get-or-create-process)
1656 (python-shell-internal-get-process-name)
1657 (python-shell-internal-send-string, python-shell-make-comint)
1658 (python-shell-parse-command, python-shell-send-setup-code)
1659 (python-skeleton-add-menu-items)
1660 (python-util-clone-local-variables, python-util-position)
1661 (run-python-internal, python-indentation-levels)
1662 (python-nav-beginning-of-defun)
1663 (python-completion-complete-at-point): New functions.
1664 (run-python): Change arguments. New API requirements.
1665
4302f5ba
SM
16662012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1667
f38ea36d
SM
1668 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1669 (bug#11649).
1670
1671 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1672 (macroexp--expand-all): Use it.
1673
4302f5ba
SM
1674 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1675 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1676 Use `cl-function' instead.
1677
33377562
JB
16782012-06-14 Juanma Barranquero <lekktu@gmail.com>
1679
1680 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1681 Suggested by Stefan Monnier while discussing bug#11657.
1682
54c5ba1a
SS
16832012-06-14 Sam Steingold <sds@gnu.org>
1684
1685 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1686
f9f1b1fe
AS
16872012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1688
1689 * play/doctor.el (doctor-doc): Remove parameter and use
1690 doctor-sent instead of sent.
1691 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1692
a81068ba
SM
16932012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1694
5a315f9c
SM
1695 * files.el: Require cl-lib.
1696 (file-name-non-special): Replace case -> cl-case.
1697
1698 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1699
a81068ba
SM
1700 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1701 mapping from #' to function*.
1702
8cca9703
CY
17032012-06-13 Chong Yidong <cyd@gnu.org>
1704
1705 * mouse.el (mouse-drag-track): Do not set the mark if the user
1706 releases the mouse without selecting anything (Bug#11588).
1707
a12ac9d7
SM
17082012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1709
ccf1dc18
SM
1710 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1711 as well (bug#11646).
1712
ef62b23d
SM
1713 * loadup.el: Count byte-code functions as well.
1714
c4c8444a
SM
1715 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1716 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1717
a12ac9d7
SM
1718 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1719 (bug#11649). Add cl-defun and cl-defmacro.
1720
87e6e64f
DA
17212012-06-13 Drew Adams <drew.adams@oracle.com>
1722
1723 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1724 Fix last change.
1725
682cefaf
MA
17262012-06-13 Michael Albinus <michael.albinus@gmx.de>
1727
1728 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1729 Otherwise, it blocks in batch mode.
1730
773e1f08
JB
17312012-06-13 Juanma Barranquero <lekktu@gmail.com>
1732
1733 * help-mode.el (bookmark-make-record-default): Declare.
1734
60057926
CY
17352012-06-13 Chong Yidong <cyd@gnu.org>
1736
1737 * emacs-lisp/package.el (list-packages): Compute a list of
1738 packages that are newly-available since the last list-packages
1739 invocation.
1740 (package-menu--new-package-list): New var.
1741 (package-menu--generate, package-menu--print-info)
1742 (package-menu--status-predicate, package-menu-mark-install):
1743 Handle new status label "new".
1744
ad4d226c
SM
17452012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1748 conversion to backquotes.
1749
f1a4e679
CY
17502012-06-12 Chong Yidong <cyd@gnu.org>
1751
1752 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1753 Rename from gud-inhibit-global-bindings.
1754
1755 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1756
1757 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1758 hook from nxml-glyph-set-hook.
1759
1760 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1761 declaration.
1762
1763 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1764
1765 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1766 Convert to defcustom.
1767
0c9e42b5
DA
17682012-06-12 Drew Adams <drew.adams@oracle.com>
1769
1770 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1771 New functions.
1772 (help-mode): Use them.
1773
09e06855
GM
17742012-06-11 Glenn Morris <rgm@gnu.org>
1775
1776 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1777 Use preprocessor face for directives.
1778 (fortran-directive-re): Doc fix.
1779
71adb94b
SM
17802012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1781
2eb87922
SM
1782 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1783 conversion to backquotes (bug#11652).
1784
71adb94b
SM
1785 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1786 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1787 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1788 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1789 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1790 (cl-ninth, cl-tenth): Mark them as inlinable.
1791 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1792 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1793 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1794 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1795 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1796 (cl-list*, cl-adjoin): Don't put an autoload manually.
1797 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1798 (cl--compiler-macro-list*): Add autoload cookie.
1799 (cl--compiler-macro-cXXr): New function.
2eb87922 1800
71adb94b
SM
1801 * help-fns.el (help-fns--compiler-macro): New function extracted from
1802 describe-function-1; follow aliases and use `compiler-macro' property.
1803 (describe-function-1): Use it.
1804
a6674402
CY
18052012-06-11 Chong Yidong <cyd@gnu.org>
1806
1807 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1808 is uninstalled, if imagemagick is installed.
1809
bb3faf5b
SM
18102012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * emacs-lisp/cl-lib.el: Use lexical-binding.
1813 (cl-map-extents, cl-maclisp-member): Remove.
1814 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1815 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1816 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1817 * emacs-lisp/cl-extra.el: Use lexical-binding.
1818 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1819 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1820 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1821 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1822 * emacs-lisp/cl-seq.el: Use lexical-binding.
1823 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1824 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1825 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1826 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1827 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1828 CL's internals.
1829
2fe4b125
MA
18302012-06-11 Michael Albinus <michael.albinus@gmx.de>
1831
1832 Sync with Tramp 2.2.6-pre.
1833
1834 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1835 `print-length' and `print-level' to nil, in order to avoid
1836 truncation. Reported by Christopher Schmidt
1837 <christopher@ristopher.com>.
1838
1839 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1840
1841 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1842 New defmacro.
1843 (tramp-compat-copy-directory): Add optional argument
1844 COPY-CONTENTS. It is not handled yet.
1845
1846 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1847 (tramp-ftp-file-name-p): Simplify.
1848
1849 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1850 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1851 connection vector.
1852
1853 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1854 (tramp-methods): Do not use `tramp-password-end-of-line'.
1855 (tramp-completion-function-alist-putty): Handle UNIX case.
1856 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1857 (tramp-do-file-attributes-with-stat)
1858 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1859 gid as real numbers. They could run out of integer range on cygwin.
1860 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1861 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1862 (tramp-open-connection-setup-interactive-shell):
1863 Use `tramp-cleanup'. Move check for busyboxes ...
1864 (tramp-find-shell): ... here. Simplify implementation.
1865 Set "remote-shell" property also for alternative shells.
1866 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1867 If failing, a regular file would be written otherwise.
1868 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1869 (tramp-find-inline-encoding): Cache the coding commands in the
1870 process cache. Apply test command on the remote side, if defined.
1871 (tramp-find-inline-compress): Cache the compress commands in the
1872 process cache.
1873 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1874 when requested. Handle hops.
1875 (tramp-current-connection): New defvar.
87e6e64f
DA
1876 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1877 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1878 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1879 (tramp-get-inline-compress, tramp-get-inline-coding):
1880 Read connection properties from the process cache.
2fe4b125
MA
1881
1882 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1883 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1884 New defconsts.
2fe4b125
MA
1885 (tramp-smb-prompt): Extend for powershell prompt.
1886 (tramp-smb-file-name-handler-alist): Add handlers for
1887 `process-file', `shell-command' and `start-file-process'.
1888 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1889 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1890 (tramp-smb-file-name-p): Simplify.
1891 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1892 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1893 (tramp-smb-shell-quote-argument): New defuns.
1894 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1895 Implement using "tar". By this, time-stamps are preserved.
1896 (tramp-smb-handle-copy-file): Handle also the case of directories.
1897 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1898 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1899 Use `tramp-get-connection-buffer').
2fe4b125
MA
1900 (tramp-smb-handle-rename-file): Use "rename", when source and
1901 target are on the same share.
87e6e64f
DA
1902 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1903 Use `tramp-smb-server-version'.
2fe4b125
MA
1904 (tramp-smb-wait-for-output): Remove prompt.
1905
1906 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1907 (tramp-methods, tramp-rsh-end-of-line):
1908 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1909 (tramp-save-ad-hoc-proxies): New defcustom.
1910 (tramp-completion-function-alist): Adapt docstring.
1911 (tramp-default-password-end-of-line): Remove defcustom.
1912 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1913 (tramp-user-regexp, tramp-file-name-regexp-unified)
1914 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1915 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1916 (tramp-remote-file-name-spec-regexp): New defconst.
1917 (tramp-file-name-structure): Extend structure for hops.
1918 (tramp-get-method-parameter): Move up.
1919 (tramp-file-name-p, tramp-dissect-file-name)
1920 (with-parsed-tramp-file-name): Handle hops.
1921 (tramp-file-name-hop): New defun.
1922 (tramp-make-tramp-file-name): New optional arg HOP.
1923 (tramp-message-show-progress-reporter-message): New defvar.
1924 (tramp-with-progress-reporter): Use it. We cannot use
1925 `tramp-message-show-message' here, because this suppresses also
1926 error buffers.
1927 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1928 `tramp-message-show-message' is nil.
1929 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1930 (tramp-cleanup): New defun.
1931 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1932 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1933 an error unchanged.
1934 (tramp-completion-handle-file-name-all-completions): Handle hops.
1935 Fix an error when called from ido.
1936 (tramp-completion-dissect-file-name): Use better local variable
1937 name. Add hop to the vector.
1938 (tramp-handle-insert-file-contents): Use progress-reporter for the
1939 whole scenario.
1940 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1941 to `t'.
1942 (tramp-check-for-regexp): Simplify search.
1943 (tramp-enter-password): Remove it. Move implementation ...
1944 (tramp-action-password): ... here.
1945 (tramp-mode-string-to-int, tramp-local-host-p)
1946 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1947 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1948 Set tramp-autoload cookie.
2fe4b125
MA
1949
1950 * net/trampver.el: Update release number.
1951
19522012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1953 Michael Albinus <michael.albinus@gmx.de>
1954
1955 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1956 (tramp-parse-group, tramp-parse-file)
1957 (tramp-parse-shostkeys-sknownhosts): New defuns.
1958 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1959 (tramp-parse-shosts-group, tramp-parse-sconfig)
1960 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1961 (tramp-parse-sknownhosts, tramp-parse-hosts)
1962 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1963 Use them.
1964 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1965 (tramp-parse-putty-group): Don't narrow.
1966 (tramp-parse-putty): Make a loop.
1967 (tramp-file-name-handler): Catch the `suppress' signal.
1968
72834e10
CY
19692012-06-11 Chong Yidong <cyd@gnu.org>
1970
1971 * image.el (imagemagick-register-types): Put the ImageMagick entry
1972 at the end of image-type-file-name-regexps.
1973
a4712e11
JB
19742012-06-11 Johan Bockgård <bojohan@gnu.org>
1975
1976 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1977 (pcase, pcase-let*, pcase-dolist): Use them.
1978
82ad98e3
SM
19792012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1980
1981 * emacs-lisp/pcase.el (pcase--let*): New function.
1982 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1983 (pcase--expand): Use macroexp-let².
1984
f80efb86
SM
19852012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1988 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1989 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1990 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1991 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1992 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1993
31ca4639 19942012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1995
31ca4639
CY
1996 * mail/rmail.el (rmail-yank-current-message): Leave point at
1997 correct position. (Bug#11660)
94f0aa34 1998
31ca4639 19992012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2000
31ca4639 2001 * allout-widgets.el: Fix code header.
9e1b8ec4 2002
31ca4639 20032012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2004
f80efb86
SM
2005 * cus-edit.el (customize-changed-options-previous-release):
2006 Bump to 24.1.
31ca4639 2007
642b6d30
AS
20082012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2009
2010 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2011
4f5d2ba1
CY
20122012-06-09 Chong Yidong <cyd@gnu.org>
2013
2014 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2015
e75852fd
MR
20162012-06-09 Martin Rudalics <rudalics@gmx.at>
2017
2018 * window.el (special-display-popup-frame): Don't use
2019 window--display-buffer (Bug#11651).
2020
1e48e282
EZ
20212012-06-09 Eli Zaretskii <eliz@gnu.org>
2022
8a26b487
EZ
2023 Fix parallel builds: make sure loaddefs.el is not being written
2024 while Lisp files are compiled.
2025 (compile): Don't depend on 'mh-autoloads'.
2026 (compile-CMD, compile-SH): Depend on 'autoloads'.
2027 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2028
1e48e282
EZ
2029 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2030
6175e34b
CY
20312012-06-09 Chong Yidong <cyd@gnu.org>
2032
2033 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2034 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2035 Doc fixes (Bug#11225).
2036
d9857e53
SM
20372012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2040 a function if there's a clear indication that it has a compiler-macro.
2041 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2042 (macro-declarations-alist): Add arglist to declaration functions.
2043 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2044 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2045 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2046 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2047 Also add autoload to find the compiler macro.
2048 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2049 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2050 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2051 (cl--compiler-macro-get): New functions, replacing calls to
2052 cl-define-compiler-macro.
2053 (cl-typep) [compiler-macro]: Use macroexp-let².
2054
f81298f8 20552012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2056
2057 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2058 string properly, fixes Bug#11473.
2059
4b56d0fe
CY
20602012-06-08 Chong Yidong <cyd@gnu.org>
2061
2062 * faces.el (set-face-attribute): Doc fix.
2063 (modify-face): Don't use :bold and :italic.
2064 (error, warning, success): Tweak definitions.
2065
2066 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2067 (custom-modified, custom-set, custom-changed, custom-themed)
2068 (custom-saved, custom-button, custom-button-mouse)
2069 (custom-button-pressed, custom-state, custom-comment-tag)
2070 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2071 (custom-group-subtitle): Use new-style face specs.
2072 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2073 (custom-set-face, custom-changed-face, custom-saved-face)
2074 (custom-button-face, custom-button-pressed-face)
2075 (custom-documentation-face, custom-state-face)
2076 (custom-comment-face, custom-comment-tag-face)
2077 (custom-variable-tag-face, custom-variable-button-face)
2078 (custom-face-tag-face, custom-group-tag-face-1)
2079 (custom-group-tag-face): Remove obsolete face alias.
2080
2081 * epa.el (epa-validity-high, epa-validity-medium)
2082 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2083 (epa-field-name, epa-field-body):
2084 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2085 (font-lock-keyword-face, font-lock-builtin-face)
2086 (font-lock-function-name-face, font-lock-variable-name-face)
2087 (font-lock-type-face, font-lock-constant-face):
2088 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2089 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2090 * speedbar.el (speedbar-button-face, speedbar-file-face)
2091 (speedbar-directory-face, speedbar-tag-face)
2092 (speedbar-selected-face, speedbar-highlight-face)
2093 (speedbar-separator-face):
2094 * whitespace.el (whitespace-newline, whitespace-space)
2095 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2096 (whitespace-line, whitespace-space-before-tab)
2097 (whitespace-space-after-tab, whitespace-indentation)
2098 (whitespace-empty):
2099 * emulation/cua-base.el (cua-global-mark):
2100 * eshell/em-prompt.el (eshell-prompt):
2101 * net/newst-plainview.el (newsticker-new-item-face)
2102 (newsticker-old-item-face, newsticker-immortal-item-face)
2103 (newsticker-obsolete-item-face, newsticker-date-face)
2104 (newsticker-statistics-face, newsticker-default-face):
2105 * net/newst-reader.el (newsticker-feed-face)
2106 (newsticker-extra-face, newsticker-enclosure-face):
2107 * net/newst-treeview.el (newsticker-treeview-face)
2108 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2109 (newsticker-treeview-immortal-face)
2110 (newsticker-treeview-obsolete-face)
2111 (newsticker-treeview-selection-face):
2112 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2113 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2114 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2115 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2116 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2117 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2118 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2119 (mpuz-text):
2120 * progmodes/vera-mode.el (vera-font-lock-number)
2121 (vera-font-lock-function, vera-font-lock-interface):
2122 * textmodes/table.el (table-cell): Use new-style face specs, and
2123 don't use the old :bold and :italic attributes.
2124
2125 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2126 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2127 (ebrowse-member-class, ebrowse-progress): Likewise.
2128 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2129 (ebrowse-file-name-face, ebrowse-default-face)
2130 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2131 (ebrowse-progress-face): Remove obsolete faces.
2132
2133 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2134 Inherit from error and warning faces respectively.
2135
2136 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2137 Likewise.
f80efb86
SM
2138 (flyspell-incorrect-face, flyspell-duplicate-face):
2139 Remove obsolete aliases.
4b56d0fe 2140
03310646
MA
21412012-06-08 Michael Albinus <michael.albinus@gmx.de>
2142
2143 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2144 Avoid infloop.
2145
513749ee
SM
21462012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2147
2148 * startup.el (argv, argi): Make lexically scoped.
2149 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2150 * emacs-lisp/cl-macs.el: Use lexical-binding.
2151 Rename cl-bind-* to cl--bind-*.
2152 * files.el: Don't require `cl' since it doesn't use it.
2153 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2154
595ef4ad
JB
21552012-06-08 Juanma Barranquero <lekktu@gmail.com>
2156
2157 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2158 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2159 instead of calling external sort utility.
2160 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2161
e9f66fcb
EZ
21622012-06-08 Eli Zaretskii <eliz@gnu.org>
2163
2164 * descr-text.el (describe-char): Mention how to insert the
2165 character, if the current input method doesn't support it.
2166 See the discussion in this thread for the details:
2167 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2168
3d10db47
SS
21692012-06-08 Sam Steingold <sds@gnu.org>
2170
2171 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2172 XF86Back to previous-buffer.
2173 (minibuffer-local-map): Bind them to next-history-element and
2174 previous-history-element respectively.
2175 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2176 help-go-back respectively.
2177 * info.el (Info-mode-map): Bind them to Info-history-forward and
2178 Info-history-back respectively.
2179 These are the keys next to Up on the ThinkPad keyboard.
2180
de7e2b36
SM
21812012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2184 * emacs-lisp/cl-macs.el: Provide itself.
2185 (cl--labels-convert-cache): New var.
2186 (cl--labels-convert): New function.
2187 (cl-flet, cl-labels): New implementation with new semantics, relying on
2188 lexical-binding.
2189 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2190 (cl-closure-vars, cl--function-convert-cache)
2191 (cl--function-convert): Move from cl-macs.el.
2192 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2193 rename by removing the "cl-" prefix.
2194 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2195
6fa6c4ae
SM
21962012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2199 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2200 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2201 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2202 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2203 (cl-hash-table-count): Add old compatibility aliases.
2204
2205 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2206 Use macroexpand-all-environment instead.
2207 (cl--old-macroexpand): New var.
2208 (cl--sm-macroexpand): New function.
2209 (cl-symbol-macrolet): Use it during macro expansion.
2210 (cl--function-convert-cache): New var.
2211 (cl--function-convert): New function, extracted from
2212 cl-macroexpand-all.
2213 (cl-lexical-let): Use it.
2214
2215 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2216 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2217 (cl-member): Remove old alias.
2218
2219 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2220 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2221 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2222 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2223 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2224 (cl-macroexpand-cmacs): Remove var.
2225 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2226 Use macroexpand-all instead.
2227
4dd1c416
SM
22282012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2231 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2232 (macroexp-copyable-p): New functions and macros.
2233 * emacs-lisp/edebug.el (edebug-unwrap):
2234 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2235 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2236 (pcase--let*): Remove.
2237 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2238 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2239 macroexp-const-p instead.
2240 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2241
2242 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2243 instead of "cl-" for internal definitions. Use macroexp-const-p.
2244 (cl-old-bc-file-form): Remove var.
2245 (cl-const-exprs-p): Remove fun.
2246 (cl-labels, cl-macrolet): Use backquote.
2247 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2248 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2249 (cl-define-setf-expander): Rename from cl-define-setf-method.
2250 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2251
2252 * international/mule-cmds.el: Don't require CL.
2253 (view-hello-file): Don't use `letf'.
2254
ed8bd4d7
SM
22552012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2256
7287f2f3
SM
2257 * tmm.el (tmm-prompt): Use string-prefix-p.
2258 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2259 (tmm-add-prompt): Use minibuffer-completion-help.
2260 (tmm-delete-map): Remove.
2261
ed8bd4d7
SM
2262 * subr.el (kbd): Make it its own function.
2263
7b4cdbf4
SM
22642012-06-07 Stefan Merten <smerten@oekonux.de>
2265
2266 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2267 Silence compiler warnings. Fix versions.
ed8bd4d7 2268 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2269 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2270 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2271 (rst-package-emacs-version-alist): Correct Emacs version to
2272 represent major merge with upstream.
ed8bd4d7 2273 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2274
2b48d721
GM
22752012-06-06 Glenn Morris <rgm@gnu.org>
2276
2277 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2278 Only print environment variables if set.
2279
fa779ab0
SM
22802012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2283 (macroexp--cons): Rename from maybe-cons.
2284 (macroexp--accumulate): Rename from macroexp-accumulate.
2285 (macroexp--all-forms): Rename from macroexpand-all-forms.
2286 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2287 (macroexp--expand-all): Rename from macroexpand-all-1.
2288
628299e0
SS
22892012-06-06 Sam Steingold <sds@gnu.org>
2290
2291 * calendar/calendar.el (calendar-in-read-only-buffer):
2292 Call `special-mode' to enable the standard read-only keybindings.
2293
b7bb5838
SM
22942012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2295
2296 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2297 with "loading" messages (bug#11635).
2298
dfb308ba
MA
22992012-06-06 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * files.el (enable-remote-dir-locals): New option.
2302 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2303
0372ee92
MA
2304 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2305 Ensure, that the temp directory is local.
2306
2307 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2308 `temporary-file-directory'.
2309
eed0bb91
MA
2310 * progmodes/python.el (python-send-region): Ensure, that the
2311 temporary file is created also in the remote case.
2312
7a58f64d
GM
23132012-06-06 Glenn Morris <rgm@gnu.org>
2314
f7dd4e98
GM
2315 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2316 (vc-rcs-update-changelog): Use it.
2317
090bd7cb 2318 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2319
7a58f64d
GM
2320 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2321 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2322 (vc-sccs-diff): Replace use of the external vcdiff script.
2323
daed4003
GM
23242012-06-05 Glenn Morris <rgm@gnu.org>
2325
2326 * ledit.el: Move to obsolete/.
2327
48c455c7
SS
23282012-06-05 Sam Steingold <sds@gnu.org>
2329
ed9265fc 2330 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2331 patch (Bug#11140).
2332
57a7d507
SM
23332012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2334
090bd7cb 2335 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2336
53aacf21
SM
2337 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2338 compiler-macro expansion.
2339
57a7d507
SM
2340 Add native compiler-macro support.
2341 * emacs-lisp/macroexp.el (macroexpand-all-1):
2342 Support compiler-macros directly. Properly follow aliases and apply
2343 the compiler macros more thoroughly.
2344 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2345 macroexpand now properly follows aliases.
2346 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2347 (cl-compiler-macroexpand): Use new prop.
2348 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2349
2350 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2351
51a5f9d8
MR
23522012-06-05 Martin Rudalics <rudalics@gmx.at>
2353
2354 * window.el (get-lru-window, get-mru-window, get-largest-window):
2355 New argument NOT-SELECTED to avoid picking the selected window.
2356 (window--display-buffer-1, window--display-buffer-2): Replace by
2357 new function window--display-buffer
2358 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2359 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2360 Use window--display-buffer.
51a5f9d8
MR
2361 (display-buffer-use-some-window): Remove temporary dedication
2362 hack by calling get-lru-window and get-largest-window with
2363 NOT-SELECTED argument non-nil. Call window--display-buffer.
2364
08f9f738
GM
23652012-06-05 Glenn Morris <rgm@gnu.org>
2366
2367 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2368 Replace external vcdiff script.
2369
e364a2b7
SM
23702012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2373
041df390
CY
23742012-06-04 Chong Yidong <cyd@gnu.org>
2375
e364a2b7
SM
2376 * image.el (imagemagick-types-inhibit): Revert last change.
2377 Add INFO and M.
47b36b94 2378 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2379
7c1898a7
SM
23802012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * emacs-lisp/cl-lib.el: Rename from cl.el.
2383 * emacs-lisp/cl.el: New compatibility file.
2384 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2385 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2386 to obey the "cl-" prefix.
2387 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2388
0c3461de
GM
23892012-06-03 Glenn Morris <rgm@gnu.org>
2390
1e266c88
GM
2391 * emacs-lisp/authors.el (authors-aliases): Addition.
2392
0c3461de
GM
2393 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2394 Fix :version.
2395
d8a52e15
SM
23962012-06-03 Stefan Merten <smerten@oekonux.de>
2397
2398 * textmodes/rst.el: Add comments.
2399 (rst-transition, rst-adornment): New faces.
2400 (rst-adornment-faces-alist): Make default safe to reevaluate.
2401 Fixes
2402 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2403 Improve customization tags.
2404 (rst-define-level-faces): Clarify meaning.
2405
5205d6f6
CY
24062012-06-03 Chong Yidong <cyd@gnu.org>
2407
2408 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2409 (compilation-mode-line-run, compilation-mode-line-exit):
2410 New faces.
5205d6f6
CY
2411 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2412
757ee657
JD
24132012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2414
7c1898a7
SM
2415 * progmodes/which-func.el (which-func-update-ediff-windows):
2416 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2417
5f2c76c6
CY
24182012-06-03 Chong Yidong <cyd@gnu.org>
2419
2420 * bindings.el: Remove explicit help text from format-mode-line.
2421 It is now supplied by mode-line-default-help-echo.
2422 (mode-line-front-space, mode-line-end-spaces)
2423 (mode-line-misc-info): New variables.
2424 (mode-line-modes, mode-line-position): Move the default value to
2425 the variable definition.
2426 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2427 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2428 (mode-line-modified-help-echo): New functions.
2429 (mode-line-mule-info, mode-line-modified): Use them.
2430 (mode-line-eol-desc, propertized-buffer-identification):
2431 Consistency fixes for help text.
cbe46e5f
CY
2432 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2433 set-buffer-file-coding-system (Bug#289).
2434 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2435
f2d6a3df
SM
24362012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * simple.el (execute-extended-command): Set real-this-command
2439 (bug#11506).
2440
37269466
CY
24412012-06-02 Chong Yidong <cyd@gnu.org>
2442
2443 Remove incorrect uses of "modeline" in comments, docstrings, and
2444 function/variable names (Bug#10329).
2445
2446 * cus-edit.el (mode-line):
2447 * dframe.el (dframe-mouse-hscroll):
2448 * emacs-lisp/re-builder.el:
2449 * emacs-lisp/easy-mmode.el (define-minor-mode):
2450 * frame.el (set-frame-name):
2451 * help.el (lookup-minor-mode-from-indicator):
2452 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2453 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2454 (c-toggle-hungry-state):
2455 * progmodes/antlr-mode.el (antlr-language-alist):
2456 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2457 * progmodes/vhdl-mode.el (vhdl-mode):
2458 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2459 * term/ns-win.el (ns-face-at-pos):
2460 * term/sup-mouse.el (sup-mouse-report):
2461 * textmodes/flyspell.el (flyspell-mode-line-string):
2462 * textmodes/ispell.el (ispell-highlight-face):
2463 * textmodes/reftex-global.el:
2464 * vc/vc-arch.el (vc-arch-mode-line-string):
2465 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2466 * vc/vc-git.el (vc-git-mode-line-string):
2467 * vc/vc-hooks.el (vc-display-status)
2468 (vc-default-mode-line-string):
2469 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2470
2471 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2472
2473 * dired.el (dired-sort-set-mode-line): Rename from
2474 dired-sort-set-modeline. All callers changed.
2475
2476 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2477 eshell-status-in-modeline.
2478
2479 * foldout.el (foldout-mode-line-string): Rename from
2480 foldout-modeline-string. All callers changed.
2481 (foldout-update-mode-line): Rename from foldout-update-modeline.
2482
2483 * subr.el (redraw-modeline): Make into obsolete alias.
2484
2485 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2486 timeclock-modeline-display. Make old name an alias.
2487 (timeclock-update-mode-line): Likewise. All callers changed.
2488 (timeclock-mode-line-display): No need to check before using
2489 add-hook.
2490 (timeclock-relative, timeclock-day-over-hook)
2491 (timeclock-use-elapsed, timeclock-mode-string)
2492 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2493
2494 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2495 crisp-mode-modeline-string.
2496
2497 * play/solitaire.el (solitaire-build-mode-line): Rename from
2498 solitaire-build-modeline. All callers changed.
2499
2500 * play/zone.el (zone-hiding-mode-line): Rename from
2501 zone-hiding-modeline. All callers changed.
2502 (zone): Remove unusued `modeline-hidden-level' property.
2503
2504 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2505 xscheme-modeline-initialize. All callers changed.
2506
2507 * strokes.el (strokes-lighter): Rename from
2508 strokes-modeline-string.
2509
2510 * textmodes/sgml-mode.el (html-face-tag-alist)
2511 (html-tag-face-alist): Use mode-line face instead of obsolete
2512 alias modeline.
2513
42152ee4
SM
25142012-06-02 Stefan Merten <smerten@oekonux.de>
2515
2516 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2517 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2518
95f520b5
CY
25192012-06-02 Chong Yidong <cyd@gnu.org>
2520
2521 * image.el (imagemagick-enabled-types): Rename from
2522 imagemagick-types-enable. Add many more types.
2523 (imagemagick-types-inhibit): Change default to nil.
2524 (imagemagick-filter-types): Caller changed.
2525
4a5f187a
SM
25262012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2527
03fef3e6
SM
2528 * emacs-lisp/cl-macs.el: Use backquotes.
2529 (cl-transform-function-property): Use eval-and-compile rather than
2530 abusing `require'.
2531 (defstruct): Use declare-function instead of with-no-warnings.
2532
4a5f187a
SM
2533 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2534 (byte-compile-output-docform): Re-add the print-circle bindings.
2535 (byte-compile-fix-header): Use #$ just because it's shorter.
2536 (byte-compile-output-file-form): Remove defun/defmacro.
2537
bd56924f
MR
25382012-06-01 Martin Rudalics <rudalics@gmx.at>
2539
2540 * simple.el (choose-completion): Remove now obsolete binding for
2541 owindow.
2542
046e38ce
MA
25432012-06-01 Michael Albinus <michael.albinus@gmx.de>
2544
2545 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2546 in order to avoid "Stack overflow in regexp matcher".
2547
32d72c2f
GM
25482012-05-31 Glenn Morris <rgm@gnu.org>
2549
2550 * image.el: For clarity, call imagemagick-register-types at
2551 top-level, rather than relying on a custom :initialize.
2552 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2553 (imagemagick-filter-types): New function. (Bug#7406)
2554 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2555 If disabling support, remove elements altogether rather
2556 than using an impossible regexp.
2557 (imagemagick-types-inhibit): Give it the default init function.
2558
dd41169b
SM
25592012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2560
4a5f187a
SM
2561 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2562 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2563
efc00ab1 25642012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2565
2566 * desktop.el (desktop-read): Clear previous and next buffers for
2567 all windows and bury *Messages* buffer (bug#11556).
2568
500fcedc
SM
25692012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 Add `declare' for `defun'. Align `defmacro's with it.
2572 * emacs-lisp/easy-mmode.el (define-minor-mode)
2573 (define-globalized-minor-mode): Don't autoload the var definitions.
2574 * emacs-lisp/byte-run.el: Use lexical-binding.
2575 (defun-declarations-alist, macro-declarations-alist): New vars.
2576 (defmacro, defun): Use them.
2577 (make-obsolete, define-obsolete-function-alias)
2578 (make-obsolete-variable, define-obsolete-variable-alias):
2579 Use `declare'.
2580 (macro-declaration-function): Mark obsolete.
2581 * emacs-lisp/autoload.el: Use lexical-binding.
2582 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2583
6e8a1786
AM
25842012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2585
2586 * textmodes/ispell.el (ispell-with-no-warnings):
2587 Define as a macro.
500fcedc
SM
2588 (ispell-kill-ispell, ispell-change-dictionary):
2589 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2590 `interactive-p'.
2591
61b108cc
SM
25922012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2595 (macro-declaration-function): Move var from C code.
2596 (macro-declaration-function): Define function with defalias.
2597 * emacs-lisp/macroexp.el (macroexpand-all-1):
2598 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2599 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2600 defun/defmacro any more.
2601 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2602 Provide fallback for unknown arglist.
2603 (byte-compile-arglist-warn): Change calling convention.
2604 (byte-compile-output-file-form): Move print-vars binding.
2605 (byte-compile-output-docform): Simplify accordingly.
2606 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2607 (byte-compile-defmacro-declaration): Remove.
2608 (byte-compile-file-form-defmumble): Generalize to defalias.
2609 (byte-compile-output-as-comment): Return byte-positions.
2610 Simplify callers accordingly.
2611 (byte-compile-lambda): Use `assert'.
2612 (byte-compile-defun, byte-compile-defmacro): Remove.
2613 (byte-compile-file-form-defalias):
2614 Use byte-compile-file-form-defmumble.
2615 (byte-compile-defalias-warn): Remove.
2616
6d3f7c2f
SM
26172012-05-29 Stefan Merten <smerten@oekonux.de>
2618
2619 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2620 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2621
2622 (rst-mode-abbrev-table): Merge definition.
2623 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2624 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2625
6dbaa1c7
UJ
26262012-05-29 Ulf Jasper <ulf.jasper@web.de>
2627
2628 * calendar/icalendar.el
2629 (icalendar-export-region): Export UID properly.
2630
d209e2fb 26312012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2632 * calendar/icalendar.el (icalendar-import-format):
2633 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2634 (icalendar-import-format-uid): New.
2635 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2636 Export UID.
2637
6876a58d
SM
26382012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2639
2640 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2641 different alternative patterns.
2642 (pcase-codegen): Be more careful to preserve identity.
2643 (pcase--u1): Don't forget to mark vars as used.
2644
2645 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2646 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2647 (byte-compile-from-buffer): ...rather than here.
2648
2649 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2650 functions from byte-compile-function-environment.
2651
46b7967e
TN
26522012-05-29 Troels Nielsen <bn.troels@gmail.com>
2653
2654 * window.el (window-deletable-p): Avoid deleting the root window
2655 of a frame with an active minibuffer.
2656
69d565e2
MR
26572012-05-29 Martin Rudalics <rudalics@gmx.at>
2658
2659 * simple.el (choose-completion): Use quit-window (Bug#11567).
2660
a149fa51
CY
26612012-05-29 Chong Yidong <cyd@gnu.org>
2662
2663 * whitespace.el (whitespace-cleanup): Fix usage of
2664 whitespace-empty-at-bob-regexp (Bug#11492).
2665
2b311310
AH
26662012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2667
2668 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2669 revert (Bug#11488).
2670
b9cb2387
JL
26712012-05-29 Juri Linkov <juri@jurta.org>
2672
2673 * isearch.el (isearch-mode-map): Bind `M-s _' to
2674 `isearch-toggle-symbol'. Bind `M-s c' to
2675 `isearch-toggle-case-fold'.
2676 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2677 (isearch-forward): Add `M-s _' to the docstring.
2678 (isearch-forward-symbol, isearch-toggle-case-fold)
2679 (isearch-symbol-regexp): New functions. (Bug#11381)
2680
d5e61c1c
JL
26812012-05-29 Juri Linkov <juri@jurta.org>
2682
2683 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2684 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2685 a function, call it to get the regexp.
2686 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2687 property `isearch-message-prefix' instead of the string "word ".
2688 (isearch-search-fun-default): For the case of `isearch-word',
2689 return a lambda that calls re-search-forward/re-search-backward
2690 with a regexp returned by `word-search-regexp' or by the function
2691 in `isearch-word'.
2692
8cbd80f7
JL
26932012-05-29 Juri Linkov <juri@jurta.org>
2694
2695 * isearch.el (isearch-search-fun-default): New function.
2696 (isearch-search-fun): Move default part to the new function
2697 `isearch-search-fun-default'.
2698 (isearch-search-fun-function): Set the default value to
2699 `isearch-search-fun-default'. (Bug#11381)
2700
2701 * comint.el (comint-history-isearch-end):
2702 Use `isearch-search-fun-default'.
2703 (comint-history-isearch-search): Use `isearch-search-fun-default'
2704 and remove spacial case for `isearch-word'.
2705 (comint-history-isearch-wrap): Remove spacial case for
2706 `isearch-word'.
2707
2708 * hexl.el (hexl-isearch-search-function):
2709 Use `isearch-search-fun-default'.
2710
2711 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2712 Use `word-search-regexp' for `isearch-word'.
2713
2714 * misearch.el (multi-isearch-search-fun):
2715 Use `isearch-search-fun-default'.
2716
2717 * simple.el (minibuffer-history-isearch-search):
2718 Use `isearch-search-fun-default' and remove spacial case for
2719 `isearch-word'.
2720 (minibuffer-history-isearch-wrap): Remove spacial case for
2721 `isearch-word'.
2722
2723 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2724 Remove spacial case for `isearch-word'.
2725 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2726
85c8c5b6
AM
27272012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2728
2729 Decrease XEmacs incompatibilities.
2730 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2731 Use `string-match'.
2732 (flyspell-delete-region-overlays): Use alternative definition for
2733 XEmacs.
2734 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2735 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2736 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2737 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2738 `define-obsolete-face-alias' under XEmacs, but old method.
2739
2740 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2741 `with-no-warnings' definition or Emacs alias.
2742 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2743 (ispell-word): Do not use `region-p' if XEmacs.
2744
8cab9efc
AM
27452012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2746
2747 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2748 Check for `ispell-dictionary-base-alist' instead of full
2749 `ispell-dictionary-alist'.
2750 (ispell-init-process): Show spellchecker when starting new Ispell
2751 process.
2752
fda91268
RZ
27532012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2756 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2757
694ea8e3
JB
27582012-05-27 Juanma Barranquero <lekktu@gmail.com>
2759
2760 * version.el (motif-version-string, gtk-version-string)
2761 (ns-version-string): Declare.
2762
e4d4f539
JL
27632012-05-27 Juri Linkov <juri@jurta.org>
2764
2765 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2766 after the `eval-defun-1' specialcaseing
2767 like in `edebug-eval-defun' (bug#10181).
2768
2769 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2770 like in `eval-defun-1'.
2771
33017faf 27722012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2773
fda91268
RZ
2774 * mail/sendmail.el (mail-yank-region):
2775 Recognize rmail-yank-current-message in addition to insert-buffer.
2776 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2777 a *mail* buffer created through rmail-start-mail with sendmail as
2778 mail-user-agent.
2779
33017faf
GM
27802012-05-27 Chong Yidong <cyd@gnu.org>
2781
2782 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2783 Default to 256 (Bug#11267).
2784
2785 * help.el (describe-mode): Doc fix.
2786
04188bb9
GM
27872012-05-26 Glenn Morris <rgm@gnu.org>
2788
38264cc9
GM
2789 * w32-fns.el (w32-init-info): Remove.
2790 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2791
eb7afdad
GM
2792 * info.el (info-initialize): For self-contained NS builds, put the
2793 included info/ directory at the front. (Bug#2791)
2794
04188bb9
GM
2795 * paths.el (Info-default-directory-list): Make it a defcustom,
2796 mainly so that we can use custom-initialize-delay.
2797
a179e3f7
SM
27982012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2799
43416392
SM
2800 * subr.el (buffer-has-markers-at): Mark obsolete.
2801
a179e3f7 2802 * subr.el (lambda): Use declare.
43416392 2803
a179e3f7
SM
2804 * emacs-lisp/lisp-mode.el (lambda):
2805 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2806
34a008d9
AH
28072012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2808
2809 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2810
0a3b289f
GM
28112012-05-26 Glenn Morris <rgm@gnu.org>
2812
2813 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2814
758c81e8
GM
28152012-05-25 Glenn Morris <rgm@gnu.org>
2816
f9f334f0
GM
2817 * paths.el: Remove no-byte-compile.
2818 * loadup.el: No need to load paths.el uncompiled.
2819
87eb79c2
GM
2820 * image.el (imagemagick-types-inhibit): Doc fix.
2821
758c81e8
GM
2822 * version.el: Remove no-byte-compile and associated formatting.
2823 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2824 is ancient code from when there was an "inc-vers.el".
2825
e7e85dc0
SM
28262012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * progmodes/gdb-mi.el: Minor style changes.
2829 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2830 Turn into minor modes.
2831 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2832 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2833 (gdb-shell): Remove unneeded let-binding.
2834 (gdb-get-many-fields): Eliminate O(n²) behavior.
2835
f31237a4
EZ
28362012-05-25 Eli Zaretskii <eliz@gnu.org>
2837
2838 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2839 platforms that don't link in fontset.c.
2840
bc1b21bb
JL
28412012-05-25 Juri Linkov <juri@jurta.org>
2842
2843 Use the same diff color scheme as in modern VCSes (bug#10181).
2844
2845 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2846 to avoid confusion with `diff-added' that now uses green colors.
2847 (diff-removed): Use shades of red.
2848 (diff-added): Use shades of green.
2849 (diff-changed): Leave just the yellow color.
2850 (diff-use-changed-face): New variable.
2851 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2852 how to highlight context diff changes.
2853 (diff-refine-change): Use shades of yellow.
2854 (diff-refine-removed): New face that uses shades of red.
2855 (diff-refine-added): New face that uses shades of green.
2856 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2857 `diff-refine-removed' in the call to `smerge-refine-subst'
2858 depending on the value of `diff-use-changed-face'.
2859
2860 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2861 (smerge-other): Use shades of green.
2862 (smerge-base): Use shades of yellow.
2863 (smerge-refined-change): Empty face.
2864 (smerge-refined-removed): New face that uses shades of red.
2865 (smerge-refined-added): New face that uses shades of green.
2866 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2867 args `props-r' and `props-a', and use them. Doc fix.
2868 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2869 on its value use different faces `smerge-refined-change',
2870 `smerge-refined-removed', `smerge-refined-added' in the call to
2871 `smerge-refine-subst'.
2872
2873 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2874 Add face condition `min-colors 88' with shades of red.
2875 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2876 `min-colors 88' with shades of green.
2877 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2878 `min-colors 88' with shades of yellow.
2879
6df9112c
GM
28802012-05-24 Glenn Morris <rgm@gnu.org>
2881
ead5edc0
GM
2882 * paths.el (prune-directory-list, remote-shell-program): Move to...
2883 * files.el (prune-directory-list, remote-shell-program): ...here.
2884 For the latter, delay initialization, prefer ssh, just search PATH.
2885
f18b81e6
GM
2886 * paths.el (term-file-prefix): Move to faces.el (the only user).
2887 * faces.el (term-file-prefix): Move here, make it a defcustom.
2888
ee2f89a6
GM
2889 * paths.el (news-directory, news-path, news-inews-program):
2890 Move to gnus/nnspool.el.
61a583ca 2891
f8815e4c
GM
2892 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2893
c8f3b42c
GM
2894 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2895 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2896 Make the latter a defcustom, with a delayed initialization.
2897
6df9112c
GM
2898 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2899 These were deleted from Gnus itself late 2010.
2900
5dadff36
JB
29012012-05-22 Juanma Barranquero <lekktu@gmail.com>
2902
9e1701c6
JB
2903 * progmodes/which-func.el (which-func-ff-hook):
2904 Check against user-error, not error.
2905
bd7239f5 2906 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2907 cl-specs.el, which no longer exists.
2908
3290526d
GM
29092012-05-22 Glenn Morris <rgm@gnu.org>
2910
2911 * info.el (info-emacs-bug): New command.
2912 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2913 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2914
ff0c3cfb
GM
29152012-05-21 Glenn Morris <rgm@gnu.org>
2916
2917 * makefile.w32-in (update-subdirs-SH):
2918 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2919
5814f126
SM
29202012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2921
a52c0aa0
SM
2922 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2923
5814f126
SM
2924 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2925 Simplify Maven regexp, and make sure the file can't start with a space
2926 (bug#11517).
2927
b847032c
GM
29282012-05-21 Glenn Morris <rgm@gnu.org>
2929
2930 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2931 Scrap superfluous subshells.
2932
3858bfe7
SM
29332012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2936 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2937
d14b0029
JB
29382012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2939
2940 * calc/calc.el (calc-ensure-consistent-units): New variable.
2941
a52c0aa0
SM
2942 * calc/calc-units.el (math-consistent-units-p)
2943 (math-check-unit-consistency): New functions.
2944 (calc-quick-units, calc-convert-units):
2945 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2946 is non-nil.
d14b0029
JB
2947 (calc-extract-units): Fix typo.
2948
60c4db3a
SM
29492012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2950
77f3b62e
SM
2951 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2952
60c4db3a
SM
2953 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2954 (flyspell-default-deplacement-commands): Don't spell check after
2955 repeated window/frame switches (e.g. triggered by mouse-movement).
2956 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2957 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2958 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2959 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2960 Remove unused vars.
2961 (flyspell-get-casechars, flyspell-get-not-casechars):
2962 Simplify; Don't bother removing a ] just to add it back.
2963 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2964
d209e2fb 29652012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2966
2967 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2968 New functions.
bd7239f5 2969 (math-function-table): Add support for more C functions.
b1a10716 2970
3f1b25b5
AM
29712012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2972
090bd7cb
JB
2973 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2974 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2975 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2976
b581bb5c
SM
29772012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2980 their respective macro declarations.
2981 * skeleton.el (define-skeleton):
2982 * progmodes/compile.el (define-compilation-mode):
2983 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2984 (define-ibuffer-filter):
2985 * emacs-lisp/generic.el (define-generic-mode):
2986 * emacs-lisp/easy-mmode.el (define-minor-mode)
2987 (define-globalized-minor-mode):
2988 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2989 * emacs-lisp/byte-run.el (defsubst):
2990 * custom.el (deftheme): Add doc-string metadata.
2991
70b8ef8f
SM
29922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2993
2994 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2995
b1198e17
SM
29962012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2997
9abdc45d
SM
2998 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2999
b1198e17
SM
3000 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3001 * emacs-lisp/cl-macs.el: Idem.
3002 * emacs-lisp/cl-specs.el: Remove.
3003
4735906a
SM
30042012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 Minor renaming of internal CL functions and variables.
3007 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3008 (cl--position): Rename from cl-position.
3009 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3010 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3011 (cl--random-state): Rename from *random-state*.
3012
ac348012
SM
30132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3016 parens around the arg list (bug#11499).
3017
a0a79cde
JL
30182012-05-17 Juri Linkov <juri@jurta.org>
3019
3020 * isearch.el (word-search-regexp, word-search-backward)
3021 (word-search-forward, word-search-backward-lax)
3022 (word-search-forward-lax): Move functions from search.c
3023 (bug#10145, bug#11381).
3024
65034a51
AM
30252012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3026
090bd7cb
JB
3027 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3028 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3029 Delay for otherchars as for normal word components.
65034a51 3030
1a72a195
SM
30312012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * minibuffer.el (completion--sifn-requote): Fix last change.
3034 (minibuffer-local-must-match-filename-map):
3035 Move define-obsolete-variable-alias before its var.
3036
fdb058c2
SM
30372012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3038
c41045e6
SM
3039 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3040
036dfb8b
SM
3041 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3042 behavior.
3043 (completion--string-equal-p): New function.
3044 (completion--twq-all): Use it to get better assertion failure data.
3045
2473256d
SM
3046 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3047 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3048 (shell--requote-argument): New functions.
3049 (shell-completion-vars): Use them.
3050 (shell--parse-pcomplete-arguments): Rename from
3051 shell-parse-pcomplete-arguments.
3052 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3053 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3054 Obey comint-file-name-quote-list.
3055
fdb058c2
SM
3056 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3057 (smie-indent-keyword): Use it.
3058
51fa99f1
SM
30592012-05-14 Stefan Merten <smerten@oekonux.de>
3060
3061 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3062
e18afed7 30632012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3064
3065 * net/rlogin.el (rlogin-mode-map): Fix last change.
3066
e18afed7 30672012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3068
3069 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3070 the following \r\n using a single `process-send-string', since the
3071 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3072 with two `process-send-string's (Bug#11444).
8633b1f4 3073
e18afed7 30742012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3075
fdb058c2
SM
3076 * shell.el (shell-parse-pcomplete-arguments):
3077 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3078
2d21d7f6
WJ
30792012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3080
e18afed7 3081 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3082 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3083 (image-transform-width, image-transform-fit-width): New functions.
3084 (image-transform-properties): Use them.
3085 (image-transform-check-size): New function.
3086 (image-toggle-display-image): Use it (for testing).
3087 (image-transform-set-rotation): Reduce angle mod 360.
3088 Delete obsolete comment.
3089
7102e6d0
WJ
30902012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3091
3092 * image-mode.el: Fix scaling (bug#11399).
3093 (image-transform-resize): Doc fix.
3094 (image-transform-properties): Default scale is 1 and height should
3095 be an integer.
3096
06bc5e6e
SM
30972012-05-13 Johan Bockgård <bojohan@gnu.org>
3098
3099 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3100 than hard-coding `car', to fix misbehavior when moving forward.
3101
0ae03b6a
CY
31022012-05-13 Chong Yidong <cyd@gnu.org>
3103
3104 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3105 (tabulated-list-entries, tabulated-list-padding)
3106 (tabulated-list-sort-key): Make permanent-local.
3107
3108 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3109 (electric-buffer-list): Put electric buffer menu
3110 command descriptions in this docstring, instead of the docstring
3111 of electric-buffer-menu-mode. Code cleanups.
3112 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3113 Electric-buffer-menu-mode.
3114 (electric-buffer-update-highlight): Minor code cleanup.
3115
205a7391
MA
31162012-05-13 Michael Albinus <michael.albinus@gmx.de>
3117
3118 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3119 (Bug#11447)
3120
e5bd0a28
SM
31212012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 Move define-obsolete-variable-alias before the var's definition.
3124 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3125 * tooltip.el (tooltip-hook):
3126 * textmodes/reftex-toc.el (reftex-toc-map):
3127 * textmodes/reftex-sel.el (reftex-select-label-map)
3128 (reftex-select-bib-map):
3129 * textmodes/reftex-index.el (reftex-index-map)
3130 (reftex-index-phrases-map):
3131 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3132 * progmodes/meta-mode.el (meta-mode-map):
3133 * novice.el (disabled-command-hook):
3134 * loadhist.el (unload-hook-features-list):
3135 * frame.el (blink-cursor):
3136 * files.el (find-file-not-found-hooks, write-file-hooks)
3137 (write-contents-hooks):
3138 * emulation/tpu-edt.el (GOLD-map):
3139 * emacs-lock.el (emacs-lock-from-exiting):
3140 * emacs-lisp/generic.el (generic-font-lock-defaults):
3141 * emacs-lisp/chart.el (chart-map):
3142 * dos-fns.el (register-name-alist):
3143 * dired-x.el (dired-omit-files-p):
3144 * desktop.el (desktop-enable):
3145 * cus-edit.el (custom-mode-hook):
3146 * buff-menu.el (buffer-menu-mode-hook):
3147 * bookmark.el (bookmark-read-annotation-text-func)
3148 (bookmark-exit-hooks):
3149 * allout.el (allout-mode-deactivate-hook)
3150 (allout-exposure-change-hook, allout-structure-added-hook)
3151 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3152 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3153 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3154 comes before the corresponding variable's definition.
3155
ac59c2f6
CY
31562012-05-12 Chong Yidong <cyd@gnu.org>
3157
3158 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3159 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3160 (Buffer-menu-mode-map): Bind it.
3161 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3162
dee6c9a3
SM
31632012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3164
2171cea5
SM
3165 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3166 (prolog-upper-case-string, prolog-lower-case-string)
3167 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3168 (prolog-use-smie, prolog-smie-grammar): New vars.
3169 (prolog-smie-forward-token, prolog-smie-backward-token)
3170 (prolog-smie-rules): New funs.
3171 (prolog-comment-indent): Remove.
3172 (prolog-mode-variables): Use default comment indentation instead.
3173 Setup SMIE.
3174 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3175 (prolog-mode): Don't call them any more.
3176 (prolog-electric-colon, prolog-electric-dash)
3177 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3178
aa0382bd
SM
3179 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3180
dbacb4bd
SM
3181 * minibuffer.el (completion--twq-all): Again, allow case differences.
3182
13bdd94c
SM
3183 * term.el: Move keymap initialization code to be more idiomatic.
3184 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3185 (term-terminal-menu): Move initialization into declaration.
3186 (term-escape-char): Let the user set it in her .emacs.
3187
ff46c759
SM
3188 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3189 Provide SMIE-based indentation (not enabled by default yet).
3190 (sh-mode-map): Don't bind electric keys.
3191 Use electric-pair-mode instead of skeleton-pair.
3192 (sh-assignment-regexp): Fit within 80 columns.
3193 (sh-indent-supported): Specify actual shell name instead of boolean.
3194 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3195 (sh-maybe-here-document): Use it. Make obsolete.
3196 (sh-electric-here-document-mode) New minor mode.
3197 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3198 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3199 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3200 (sh-smie-rc-grammar, sh-use-smie): New vars.
3201 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3202 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3203 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3204 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3205 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3206 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3207 (sh-set-shell): Use smie-setup if requested.
3208
dee6c9a3
SM
3209 * term.el (term-set-escape-char): Properly set term-escape-char.
3210 See http://stackoverflow.com/questions/10524656.
3211
9f9aa044
CY
32122012-05-10 Chong Yidong <cyd@gnu.org>
3213
3214 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3215 Use url-generic-parse-url, and handle host names and Windows
3216 filenames properly.
3217 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3218 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3219 URL schemes to work on.
3220 (ffap--toggle-read-only): New function.
3221 (ffap-read-only, ffap-read-only-other-window)
3222 (ffap-read-only-other-frame): Use it.
3223 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3224 necessary for ffap-url-unwrap-remote.
3225
836d29b3
DA
32262012-05-10 Dave Abrahams <dave@boostpro.com>
3227
3228 * cus-start.el (create-lockfiles): Add it.
3229
00fd78ed
CY
32302012-05-09 Chong Yidong <cyd@gnu.org>
3231
3232 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3233 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3234
666b903b 32352012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3236
3237 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3238
666b903b 32392012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3240
3241 * ansi-color.el (ansi-color-process-output): Check for validity of
3242 comint-last-output-start before using it. This avoids a bad
3243 interaction with gdb-mi's input/output buffer.
3244
666b903b 32452012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3246
3247 * files.el (dir-locals-read-from-file):
3248 Mention dir-locals in any error message.
3249
666b903b 32502012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3251
3252 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3253 package (Bug#11410).
3254
f677562b
CY
3255 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3256 variables into description.
3257
666b903b 32582012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3259
3260 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3261 shell-delimiter-argument-list (bug#11348).
3262 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3263
b499d8d0
JB
32642012-05-09 Juanma Barranquero <lekktu@gmail.com>
3265
8f6b6da8
JB
3266 * textmodes/rst.el: Silence byte-compiler warnings.
3267 (rst-re-alist, rst-reset-section-caches): Move around.
3268 (rst-re): Use `characterp', not `char-valid-p'.
3269 (font-lock-beg, font-lock-end): Declare.
3270
4824146a
JB
3271 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3272 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3273
b499d8d0
JB
3274 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3275
ad89bb83
GM
32762012-05-08 Glenn Morris <rgm@gnu.org>
3277
3278 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3279
8bba5a75
SM
32802012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3281
49ed9c8e
SM
3282 * vc/log-edit.el: Add GNU coding standards highlighting.
3283 (log-edit-font-lock-gnu-style)
3284 (log-edit-font-lock-gnu-keywords): New vars.
3285 (log-edit-font-lock-keywords): New fun.
3286 (log-edit-mode): Don't fold case in font-lock.
3287 (log-edit-font-lock-keywords): Do not assume case-folding.
3288
07d00b56
SM
3289 * imenu.el: Misc cleanup. Make docstrings out of comments.
3290 Use lexical-binding.
3291 (imenu--index-alist, imenu--last-menubar-index-alist)
3292 (imenu-menubar-modified-tick): Use defvar-local.
3293 (imenu--split-menu): Remove unused var.
3294 (imenu--cleanup-seen): Declare as global.
3295 (imenu--cleanup): Use dolist.
3296
8bba5a75
SM
3297 * subr.el (defvar-local): Add debug spec and doc-string position.
3298
5075bdb5
GM
32992012-05-08 Glenn Morris <rgm@gnu.org>
3300
090bd7cb 3301 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3302 * language/english.el, language/georgian.el, language/greek.el:
3303 * language/japanese.el, language/khmer.el, language/korean.el:
3304 * language/lao.el, language/misc-lang.el, language/romanian.el:
3305 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3306 * language/thai.el, language/utf-8-lang.el:
3307 Remove no-byte-compile setting.
3308
5075bdb5
GM
3309 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3310
06f679a7
AH
33112012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3312
3313 * progmodes/make-mode.el (makefile-browse):
3314 Remove unnecessary interactive. (Bug#11324)
3315
03794570
GM
33162012-05-07 Glenn Morris <rgm@gnu.org>
3317
af8630f4
GM
3318 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3319
03794570
GM
3320 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3321
f0809a9d
SM
33222012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3323
28be5ce7
SM
3324 * loadup.el: Preload newcomment.el.
3325 * newcomment.el: Move autoload-only code to toplevel.
3326
f0809a9d
SM
3327 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3328 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3329 Handle new :right-align column property.
3330 (tabulated-list-print-col): Idem, plus use `display' text-property to
3331 try and preserve alignment for variable pitch fonts.
3332
1241b724
CY
33332012-05-07 Chong Yidong <cyd@gnu.org>
3334
3335 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3336 (tabulated-list-use-header-line): New var.
3337 (tabulated-list-init-header): Use it.
3338 (tabulated-list-print-fake-header): New function.
3339 (tabulated-list-print): Use it.
3340 (tabulated-list-sort-button-map): Add non-header-line commands.
3341 (tabulated-list-init-header): Add column name property to basic
3342 labels as well.
3343 (tabulated-list-col-sort): Handle non-header-line button case.
3344 (tabulated-list--sort-by-column-name): Fix a corner case.
3345
f0809a9d
SM
3346 * buff-menu.el (list-buffers--refresh):
3347 Handle Buffer-menu-use-header-line.
1241b724 3348
e5f9458f
CY
33492012-05-06 Chong Yidong <cyd@gnu.org>
3350
3351 * buff-menu.el: Convert to Tabulated List mode.
3352 (Buffer-menu-buffer+size-width): Make obsolete.
3353 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3354 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3355 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3356 documentation into docstring of buffer-menu.
3357 (Buffer-menu-toggle-files-only): Add an informative message.
3358 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3359 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3360 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3361 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3362 (Buffer-menu-execute, Buffer-menu-select)
3363 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3364 (Buffer-menu-bury): Use Tabulated List machinery.
3365 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3366 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3367 Delete.
e5f9458f
CY
3368 (list-buffers--refresh): New function.
3369 (list-buffers-noselect): Use it.
3370 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3371 (Buffer-menu--pretty-file-name): New helper functions.
3372
3373 * loadup.el: Preload tabulated-list.
3374
3375 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3376 tabulated-list-sort-column.
3377 (tabulated-list-init-header): Add the initial aligning space even
3378 if tabulated-list-padding is zero.
3379
e129292c
CS
33802012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3381
3382 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3383 whose cdr is not a cons cell correctly (bug#11038).
3384
6632d361
CY
33852012-05-06 Chong Yidong <cyd@gnu.org>
3386
e129292c
CS
3387 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3388 Accept additional plist in column descriptors.
6632d361
CY
3389 (tabulated-list-init-header): Obey it.
3390 (tabulated-list-get-entry): New function.
3391 (tabulated-list-put-tag): Use it. Use string-width instead of
3392 length.
3393 (tabulated-list--column-number): New function.
3394 (tabulated-list-print): Use it.
e129292c
CS
3395 (tabulated-list-print-col): New function.
3396 Set `tabulated-list-column-name' property on each column's text.
6632d361 3397 (tabulated-list-print-entry): Use it.
e129292c
CS
3398 (tabulated-list-delete-entry, tabulated-list-set-col):
3399 New functions.
6632d361
CY
3400 (tabulated-list-sort-column): New command (Bug#11337).
3401
3cc99f68
CY
3402 * buff-menu.el (list-buffers): Move C-x C-b binding from
3403 buff-menu.el to bindings.el.
3404
3405 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3406 :advertised-binding feature.
3407
52b61776
TN
34082012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3409
3410 * progmodes/compile.el (compilation-internal-error-properties):
3411 Calculate start position correctly when end-col is set but
3412 end-line is not (Bug#11382).
3413
ebfe2597
WJ
34142012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3415
3416 * man.el (Man-unindent): Use text-property-default-nonsticky to
3417 prevent untabify from inheriting face properties (Bug#11408).
3418
6d3f7c2f
SM
34192012-05-05 Stefan Merten <smerten@oekonux.de>
3420
3421 * textmodes/rst.el: Major merge with upstream development up to
3422 Docutils SVN r7399 / rst.el V1.2.1.
3423
3424 Clarify maintainership and authors.
3425
3426 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3427 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3428 (rst-official-version, rst-official-cvs-rev, rst-version)
3429 (rst-package-emacs-version-alist): New functions and variables
3430 for version information.
3431
3432 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3433 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3434 (rst-mode-syntax-table, rst-mode): New and corrected functions
3435 and variables representing reStructuredText features.
3436
3437 (rst-re): New function for reStructuredText regexes. Use in
3438 many places.
3439
3440 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3441 (rst-mode-map): Rebind keys.
3442
3443 (rst-mode-lazy, rst-font-lock-keywords)
3444 (rst-font-lock-extend-region)
3445 (rst-font-lock-extend-region-internal)
3446 (rst-font-lock-extend-region-extend)
3447 (rst-font-lock-find-unindented-line-limit)
3448 (rst-font-lock-find-unindented-line-match)
3449 (rst-adornment-level, rst-font-lock-adornment-level)
3450 (rst-font-lock-adornment-match)
3451 (rst-font-lock-handle-adornment-pre-match-form)
3452 (rst-font-lock-handle-adornment-matcher): Major revision of
3453 font-locking. Integrate with other code. Use `jit-lock-mode'.
3454
3455 (rst-preferred-adornments, rst-adjust-hook)
3456 (rst-new-adornment-down, rst-preferred-bullets)
3457 (rst-preferred-bullets, rst-indent, rst-indent-width)
3458 (rst-indent-field, rst-indent-literal-normal)
3459 (rst-indent-literal-minimized, rst-indent-comment): Change,
3460 extend and improve customization.
3461
3462 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3463 (rst-normalize-cursor-position, rst-get-decoration)
3464 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3465 (rst-rstrip, rst-toc-insert-find-delete-contents)
3466 (rst-shift-fill-region, rst-compute-bullet-tabs)
3467 (rst-debug-print-tabs, rst-debug-mark-found)
3468 (rst-shift-region-guts, rst-shift-region-right)
3469 (rst-shift-region-left, rst-use-char-classes)
3470 (rst-font-lock-keywords-function)
3471 (rst-font-lock-indentation-point)
3472 (rst-font-lock-find-unindented-line-begin)
3473 (rst-font-lock-find-unindented-line-end)
3474 (rst-font-lock-find-unindented-line)
3475 (rst-font-lock-adornment-point, rst-font-lock-level)
3476 (rst-adornment-level-alist): Remove functions and variables.
3477
3478 (rst-compare-adornments, rst-get-adornment-match)
3479 (rst-suggest-new-adornment, rst-get-adornments-around)
3480 (rst-adornment-complete-p, rst-get-next-adornment)
3481 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3482 (rst-straighten-adornments): Standardize function names to
3483 use "adornment" instead of "decoration". Correct callers.
3484 Similar standardizing in many places.
3485
3486 (rst-update-section, rst-adjust, rst-promote-region)
3487 (rst-enumerate-region, rst-bullet-list-region)
3488 (rst-repeat-last-character): Correct use of `interactive'.
3489
3490 (rst-classify-adornment, rst-find-all-adornments)
3491 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3492 (rst-find-leftmost-column, rst-repeat-last-character):
3493 Refactor functions.
3494
3495 (rst-find-title-line, rst-reset-section-caches)
3496 (rst-get-adornments-around, rst-adjust-adornment-work)
3497 (rst-arabic-to-roman, rst-roman-to-arabic)
3498 (rst-insert-list-pos, rst-insert-list-new-item)
3499 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3500 New functions.
3501
3502 (rst-all-sections, rst-section-hierarchy)
3503 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3504 New variables.
3505
3506 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3507 configuration instead of only buffer. Change where necessary.
3508
3509 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3510 (rst-shift-region, rst-adaptive-fill): New functions for
3511 indentation and filling.
3512
3513 (rst-comment-line-break, rst-comment-indent)
3514 (rst-comment-insert-comment, rst-comment-region)
3515 (rst-uncomment-region): New functions for handling comments.
3516
3517 (rst-compile): Quote shell arguments.
3518
3519 (rst-compile-pdf-preview, rst-compile-slides-preview):
3520 Delete temporary files after use.
3521
a43f98b3
GM
35222012-05-05 Glenn Morris <rgm@gnu.org>
3523
48176e8b
GM
3524 * calendar/cal-html.el: Optionally include holidays in the output.
3525 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3526 (cal-html-holidays): New option.
3527 (cal-html-css-default): Add holiday entry.
3528 (holiday-in-range): Autoload it.
3529 (cal-html-htmlify-entry): Add optional class argument.
3530 (cal-html-htmlify-list): Add optional holidays argument.
3531 (cal-html-insert-agenda-days): Include holidays in the output.
3532 (cal-html-one-month): Maybe include holidays.
3533
a43f98b3
GM
3534 * calendar/holidays.el (holiday-in-range):
3535 Move here from cal-tex-list-holidays.
3536 * calendar/cal-tex.el (cal-tex-list-holidays):
3537 Make it an obsolete alias for holiday-in-range. Update all callers.
3538
fef9d149 35392012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3540
3541 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3542 Nextstep.
3543
248da2f4
RW
35442012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3545
3546 * files.el (file-auto-mode-skip): New var.
3547 (set-auto-mode-1): Use it.
3548
f95e9344
SM
35492012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3550
df96ab1e
SM
3551 * repeat.el: Use lexical-binding.
3552 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3553 (repeat-undo-count): Remove.
3554 (repeat):
3555 * progmodes/octave-mod.el (octave-abbrev-start):
3556 * progmodes/f90.el (f90-abbrev-start):
3557 * face-remap.el (text-scale-adjust):
3558 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3559
5342bb06
SM
3560 * emacs-lisp/pcase.el (pcase--let*): New function.
3561 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3562 a bit more.
3563 (pcase--split-pred): Be more clever about ruling out overlap between
3564 a predicate and some constant pattern.
3565 (pcase--q1): Use `null' instead of (eq foo nil).
3566
f95e9344
SM
3567 * subr.el (setq-local, defvar-local): New macros.
3568 (kbd): Redefine as an alias.
3569 (with-selected-window): Leave unrelated frames alone.
3570 (set-temporary-overlay-map): New function.
3571
71873e2b
SM
35722012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * subr.el (user-error): New function.
3575 * window.el (switch-to-buffer):
3576 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3577 (smerge-match-conflict):
3578 * simple.el (previous-matching-history-element)
3579 (next-matching-history-element, goto-history-element, undo-more)
3580 (undo-start):
3581 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3582 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3583 (next-file, tags-loop-scan, list-tags, complete-tag):
3584 * progmodes/compile.el (compilation-loop):
3585 * mouse.el (mouse-minibuffer-check):
3586 * man.el (Man-bgproc-sentinel, Man-goto-page):
3587 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3588 (Info-history-forward, Info-follow-reference, Info-menu)
3589 (Info-extract-menu-item, Info-extract-menu-counting)
3590 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3591 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3592 (Info-next-reference, Info-prev-reference, Info-index)
3593 (Info-index-next, Info-follow-nearest-node)
3594 (Info-copy-current-node-name):
3595 * imenu.el (imenu--make-index-alist)
3596 (imenu-default-create-index-function, imenu-add-to-menubar):
3597 * files.el (basic-save-buffer, recover-file):
3598 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3599 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3600 (checkdoc-message-text, checkdoc-defun):
3601 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3602 * cus-edit.el (customize-changed-options, customize-rogue)
3603 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3604 (custom-variable-mark-to-reset-standard)
3605 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3606 (custom-file):
3607 * completion.el (check-completion-length):
3608 * comint.el (comint-search-arg)
3609 (comint-previous-matching-input-string-position)
3610 (comint-previous-matching-input)
3611 (comint-replace-by-expanded-history-before-point, comint-send-input)
3612 (comint-copy-old-input, comint-backward-matching-input)
3613 (comint-goto-process-mark, comint-set-process-mark):
3614 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3615 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3616
8a61ee22
SM
36172012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3618
66408d1e
SM
3619 * dabbrev.el (dabbrev--ignore-case-p): New function.
3620 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3621 Use it.
3622
8a61ee22
SM
3623 * files.el (automount-dir-prefix): Mark as obsolete.
3624
3c74813a
GM
36252012-05-04 Glenn Morris <rgm@gnu.org>
3626
3627 * patcomp.el, play/bruce.el: Move to obsolete/.
3628
0bfcf5c5
PE
36292012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3630
3631 Fix minor Y10k bugs.
3632 * arc-mode.el (archive-unixdate):
3633 * autoinsert.el (auto-insert-alist):
3634 * calc/calc-forms.el (math-this-year):
3635 * emacs-lisp/copyright.el (copyright-current-year)
3636 (copyright-update-year, copyright):
3637 * tar-mode.el (tar-clip-time-string):
3638 * time.el (display-time-update):
3639 Don't assume years have 4 digits.
3640
78f3273a
CY
36412012-05-04 Chong Yidong <cyd@gnu.org>
3642
3643 * dos-w32.el (file-name-buffer-file-type-alist)
3644 (direct-print-region-use-command-dot-com):
3645 * ffap.el (ffap-menu-regexp):
3646 * find-file.el (ff-special-constructs):
3647 * follow.el (follow-debug):
3648 * forms.el (forms--debug):
3649 * iswitchb.el (iswitchb-all-frames):
3650 * ido.el (ido-all-frames):
3651 * emacs-lisp/timer.el (timer-max-repeats):
3652 * mail/feedmail.el (feedmail-mail-send-hook)
3653 (feedmail-mail-send-hook-queued):
3654 * mail/footnote.el (footnote-signature-separator):
3655 * mail/mailabbrev.el (mail-alias-separator-string)
3656 (mail-abbrev-mode-regexp):
3657 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3658 * progmodes/idlwave.el (idlwave-libinfo-file)
3659 (idlwave-default-completion-case-is-down)
3660 (idlwave-library-routines): Convert defvars to defcustoms.
3661
3662 * mail/rmail.el (rmail-decode-mime-charset):
3663 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3664 (idlwave-shell-fix-inserted-breaks)
3665 (idlwave-shell-activate-alt-keybindings)
3666 (idlwave-shell-use-breakpoint-glyph):
3667 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3668
f7ae6719
SM
36692012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3672
47086495
WS
36732012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3674
3675 * progmodes/verilog-mode.el (font-lock-keywords):
3676 Fix mis-highligting auto. Reported by Craig Barner.
3677 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3678 defines from global name space. Reported by Dan Dever.
3679 (verilog-auto-reset, verilog-auto-reset-widths)
3680 (verilog-auto-tieoff): Support using unbased numbers for
3681 AUTORESET and AUTOTIEOFF.
3682 (verilog-submit-bug-report): Update variable list.
3683 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3684 parenthesis from not matching. Reported by Michael Rytting.
3685 (verilog-auto-template-lint): Fix hash error when linting modules
3686 with no used templates.
3687 (verilog-warn, verilog-warn-error)
3688 (verilog-warn-fatal): When non-interactive report multiple
3689 warnings before exiting. Suggested by Brad Dobbie.
3690 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3691 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3692 to report unused template errors. Reported by Brad Dobbie.
3693 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3694 nets, bug438. Reported by Vns Blore.
3695 (verilog-auto-inout-module, verilog-auto-reg)
3696 (verilog-read-decls, verilog-read-sub-decls-sig)
3697 (verilog-signals-edit-wire-reg, verilog-signals-with):
3698 Fix passing of Verilog data types in ANSI input/output ports
3699 such as "output logic" into the AUTOs. Special case "wire" and
3700 "reg" for backwards compatibility presuming Verilog 2001.
3701 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3702 (verilog-preprocess): Fix replication of preprocess output.
3703 Reported by Brad Dobbie.
3704 (verilog-auto-inst-interfaced-ports):
3705 Create verilog-auto-inst-interfaced-ports, bug429.
3706 Reported by Julian Gorfajn.
3707 (verilog-after-save-font-hook)
3708 (verilog-before-save-font-hook): New variable.
3709 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3710 (verilog-save-font-mods): Wrap disabling fontification, reported
3711 by David Rogoff.
3712 (verilog-do-indent, verilog-pretty-declarations-auto)
3713 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3714 Reported by Pierre-David Pfister.
3715 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3716 of class declarations, bug292. Reported by Kevin Heilman.
3717 (verilog-read-decls): Fix 'parameter type' not appearing in
3718 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3719 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3720 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3721 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3722 Reported by David Kravitz.
3723
37242012-05-03 Michael McNamara <mac@mail.brushroad.com>
3725
3726 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3727 assignment with tests in ifs and for loops.
3728 (verilog-extended-complete-re, verilog-complete-reg): Change so
3729 that DPI inport functions don't look like fuction declarations.
3730 (verilog-pretty-expr): Don't line up assignment
3731 operations to the test and increment in if and for loops
3732 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3733 that DPI inport functions don't look like fuction declarations.
47086495 3734
2e51d4b5
KH
37352012-05-03 Kenichi Handa <handa@m17n.org>
3736
3737 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3738 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3739 (Bug#11282).
3740
2bd785a2
SM
37412012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * emacs-lisp/bytecomp.el
3744 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3745 since cconv.el might have introduced :fun-body, internal-make-closure,
3746 and friends for bytecomp to handle (bug#11391).
3747 * custom.el (defcustom): Avoid ((λ ..) ..).
3748
99d27583
SM
37492012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3752
55a71479
JB
37532012-05-02 Juanma Barranquero <lekktu@gmail.com>
3754
3755 * notifications.el (dbus-debug):
3756 * term/linux.el (gpm-mouse-enable):
3757 * term/screen.el (xterm-register-default-colors): Declare.
3758
7b97c764
CY
37592012-05-02 Chong Yidong <cyd@gnu.org>
3760
2bc356d7
CY
3761 * cus-start.el (gc-cons-percentage, exec-suffixes)
3762 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3763 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3764 (make-cursor-line-fully-visible, void-text-area-pointer)
3765 (font-list-limit): Add customization data.
3766
7b97c764
CY
3767 * allout.el (allout-exposure-change-functions)
3768 (allout-structure-added-functions)
3769 (allout-structure-deleted-functions)
3770 (allout-structure-shifted-functions): Rename abnormal hooks from
3771 *-hook, and convert to defcustoms.
5d3385a0
JB
3772 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3773 Convert to defcustoms.
7b97c764
CY
3774 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3775
3776 * allout-widgets.el: Hook callers changed.
3777
90207a15 37782012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3779
3780 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3781 the yanked message in preference to the default value of
3782 buffer-file-coding-system.
3783
90207a15 37842012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3785
5d3385a0
JB
3786 * window.el (display-buffer--action-function-custom-type):
3787 Fix entry.
d9558cad 3788
90207a15 37892012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3790
3791 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3792
d80ac57b
GM
37932012-05-01 Glenn Morris <rgm@gnu.org>
3794
976f7668
GM
3795 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3796
beb83b5a
GM
3797 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3798
d80ac57b
GM
3799 * cus-edit.el (custom-variable-documentation): Simplify with format.
3800
b593d6a9
AH
38012012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3802 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * simple.el (suggest-key-bindings, execute-extended-command):
3805 Move from keyboard.c.
3806
782fbf2a
CY
38072012-05-01 Chong Yidong <cyd@gnu.org>
3808
3809 * follow.el: Eliminate advice.
3810 (set-process-filter, process-filter, sit-for): Advice deleted.
3811 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3812 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3813 Vars deleted.
782fbf2a
CY
3814 (follow-auto): Use a :set function.
3815 (follow-mode): Rewritten. Don't advise process filters.
3816 (follow-switch-to-current-buffer-all, follow-scroll-up)
3817 (follow-scroll-down): Assume follow-mode is bound.
3818 (follow-comint-scroll-to-bottom)
3819 (follow-align-compilation-windows): New functions.
3820 (follow--window-sorter): New function.
3821 (follow-all-followers): Use it to explicitly sort windows by their
3822 positions; don't make assumptions about next-window order.
3823 (follow-windows-start-end, follow-delete-other-windows-and-split)
3824 (follow-calc-win-start): Doc fix.
3825 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3826 vertical-motion unnecessarily.
3827 (follow-adjust-window): New function.
3828 (follow-post-command-hook): Use it.
3829 (follow-call-set-process-filter, follow-call-process-filter)
3830 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3831 (follow-stop-intercept-process-output, follow-generic-filter):
3832 Functions deleted.
3833 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3834 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3835 New functions, replacing advice on scroll-bar-* commands.
87233a14 3836 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3837
3838 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3839 (comint-postoutput-scroll-to-bottom): Use it.
3840 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3841
290af740
GM
38422012-05-01 Glenn Morris <rgm@gnu.org>
3843
3844 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3845 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3846 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3847 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3848 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3849 Remove no-byte-compile setting.
3850
6eac8dc9
SM
38512012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3854 all-completions code to not return a number in the last cdr.
3855
9cc7819c
LL
38562012-04-30 Leo Liu <sdl.web@gmail.com>
3857
3858 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3859 read-only error.
3860
c93b886f
CY
38612012-04-29 Chong Yidong <cyd@gnu.org>
3862
3863 * follow.el (follow-calc-win-end): Rewrite to handle partial
3864 screen lines correctly (Bug#8390).
3865 (follow-avoid-tail-recenter): Minor cleanup.
3866
8b6c19f4
SM
38672012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3868
3869 Avoid the obsolete `assoc' package.
3870 * speedbar.el (speedbar-refresh): Avoid adelete.
3871 (speedbar-file-lists): Simplify and avoid aput.
3872 * man.el (Man--sections, Man--refpages): New vars, replacing
3873 Man-sections-alist and Man-refpages-alist.
3874 (Man-build-section-alist, Man-build-references-alist):
3875 Use them; avoid aput.
3876 (Man--last-section, Man--last-refpage): New vars.
3877 (Man-follow-manual-reference): Use them.
3878 Use the `default' arg of completing-read.
3879 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3880
c5bb7569
CY
38812012-04-27 Chong Yidong <cyd@gnu.org>
3882
d1d2e2e8
CY
3883 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3884
15cd8efd
CY
3885 * startup.el (x-apply-session-resources): New function.
3886
3887 * term/ns-win.el (ns-initialize-window-system):
3888 * term/w32-win.el (w32-initialize-window-system):
3889 * term/x-win.el (x-initialize-window-system): Use it to properly
3890 set menu-bar-mode and other vars from X resources, even if the
3891 initial frame is not a window-system frame (Bug#2299).
3892
c5bb7569
CY
3893 * subr.el (read-key): Avoid running filter function when setting
3894 up temporary tool bar entries (Bug#9922).
3895
a8e7d6d7 38962012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3897
3898 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3899 (Bug#11344)
3900
a8e7d6d7 39012012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3902
3903 * select.el (xselect--encode-string): New function, split from
3904 xselect-convert-to-string.
3905 (xselect-convert-to-string): Use it.
3906 (xselect-convert-to-filename, xselect-convert-to-os)
3907 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3908 returned strings are properly encoded (Bug#11315).
3909
a8e7d6d7 39102012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3911
3912 * simple.el (delete-active-region): Move to killing custom group.
3913
a8e7d6d7 39142012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3915
3916 * progmodes/which-func.el (which-func-current): Quote %
3917 characters for mode-line processing.
3918
578c1d4b 39192012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3920
3921 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3922 reaching eob (Bug#11286).
3923
a8e7d6d7 39242012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3925
3926 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3927 (gdb): Make it buffer-local and init to zero.
3928 (gdb-control-commands-regexp): New variable.
3929 (gdb-send): Don't wrap in "-interpreter-exec console" if
3930 gdb-control-level is positive. Increment gdb-control-level
3931 whenever the command matches gdb-control-commands-regexp, and
3932 decrement it each time the command is "end". (Bug#11279)
3933
a8e7d6d7 39342012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3935
3936 * window.el (adjust-window-trailing-edge, enlarge-window)
3937 (shrink-window, window-resize):
3938 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3939 windows (Bug#11276).
3940
b3608390
CY
39412012-04-27 Chong Yidong <cyd@gnu.org>
3942
3943 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3944 fix "missing prefix" warning. All callers changed.
b3608390 3945
797e6e88
SM
39462012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * emacs-lisp/assoc.el: Move to obsolete/.
3949
e95a67dc
SM
39502012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3951
657c21e4 3952 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3953
3954 * term/ns-win.el (ns-define-service):
3955 * progmodes/pascal.el (pascal-goto-defun):
3956 * progmodes/js.el (js--read-tab):
3957 * progmodes/etags.el (tags-lazy-completion-table):
3958 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3959 * emacs-lisp/ewoc.el (ewoc--wrap):
3960 * emacs-lisp/assoc.el (aput, adelete, amake):
3961 * doc-view.el (doc-view-convert-current-doc):
3962 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3963
cb3e7ae0
CY
39642012-04-26 Chong Yidong <cyd@gnu.org>
3965
dce04f7f
CY
3966 * image.el (image-type-from-buffer): Only return supported image
3967 type (Bug#9045).
3968
cb3e7ae0
CY
3969 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3970 value, for symmetry with diff-end-of-hunk.
3971 (diff-split-hunk, diff-find-source-location)
3972 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3973 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3974 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3975 compute the relevant hunk or file properly (Bug#6005).
3976 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3977
0d42eb3e
SM
39782012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * vc/vc-mtn.el:
3981 * vc/vc-hg.el:
3982 * vc/vc-git.el:
3983 * vc/vc-dir.el:
3984 * vc/vc-cvs.el:
3985 * vc/vc-bzr.el:
3986 * vc/vc-arch.el:
3987 * vc/vc.el: Replace lexical-let by lexical-binding.
3988 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3989 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3990 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3991
f08ae1c9
CY
39922012-04-26 Chong Yidong <cyd@gnu.org>
3993
8b71081d
CY
3994 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3995 (diff-mode-shared-map): Bind it to / and [remap undo].
3996
f08ae1c9
CY
3997 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3998 (ediff-window-setup-function): Use it as the default, to set up
3999 windows based on whether the current frame is graphical (Bug#2138).
4000 (ediff-choose-window-setup-function-automatically): Make obsolete.
4001
4002 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4003
ef24141c
SM
40042012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4005
cc356a5d
SM
4006 * ffap.el: Remove old code for obsolete package.
4007 (ffap-complete-as-file-p): Remove.
4008
b4ff4f1f
SM
4009 Use completion-table-with-quoting for comint and pcomplete.
4010 * comint.el (comint--unquote&requote-argument)
4011 (comint--unquote-argument, comint--requote-argument): New functions.
4012 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4013 (comint-quote-filename): Use regexp-opt-charset.
4014 (comint--common-suffix, comint--common-quoted-suffix)
4015 (comint--table-subvert): Remove.
4016 (comint-unquote-function, comint-requote-function): New vars.
4017 (comint--complete-file-name-data): Use them with
4018 completion-table-with-quoting.
4019 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4020 * pcomplete.el (pcomplete-arg-quote-list)
4021 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4022 (pcomplete-unquote-argument-function): Default to non-nil.
4023 (pcomplete-unquote-argument): Simplify.
4024 (pcomplete--common-quoted-suffix): Remove.
4025 (pcomplete-requote-argument-function): New var.
4026 (pcomplete--common-suffix): New function.
4027 (pcomplete-completions-at-point): Use completion-table-with-quoting
4028 and completion-table-subvert.
4029
79c4eeb4
SM
4030 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4031 (minibuffer--double-dollars): Preserve properties.
4032 (completion--sifn-requote): New function.
4033 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4034
ef24141c
SM
4035 * minibuffer.el: Add support for completion of quoted/escaped data.
4036 (completion-table-with-quoting, completion-table-subvert): New funs.
4037 (completion--twq-try, completion--twq-all): New functions.
4038 (completion--nth-completion): New function.
4039 (completion-try-completion, completion-all-completions): Use it.
4040
784e7d6e
LL
40412012-04-25 Leo Liu <sdl.web@gmail.com>
4042
dd2ac746
SM
4043 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4044 Use compilation-message if available to find real filename.
784e7d6e 4045
07875ee7
CY
40462012-04-25 Chong Yidong <cyd@gnu.org>
4047
4048 * vc/diff-mode.el (diff-setup-whitespace): New function.
4049 (diff-mode): Use it.
4050
4051 * vc/diff.el (diff-sentinel):
4052 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4053 Whitespace mode variables based on diff style (Bug#8612).
4054
5055880d
LL
40552012-04-25 Leo Liu <sdl.web@gmail.com>
4056
daf75653
LL
4057 * progmodes/python.el (python-send-region): Add suffix .py to the
4058 temp file.
4059
5055880d
LL
4060 * files.el (auto-mode-alist): Use javascript-mode instead.
4061
db9b177b
AH
40622012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4063
ef24141c 4064 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4065
090bd7cb 4066 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4067 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4068 references, see Bug#9.
ef24141c 4069 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4070 when receiving a fault reply.
ef24141c 4071 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4072
090bd7cb 4073 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4074 (soap-inspect-simple-type): New function.
db9b177b 4075
090bd7cb 4076 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4077 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4078 (soap-decode-basic-type, soap-encode-basic-type):
4079 support unsignedInt and double basic types.
db9b177b 4080 (soap-resolve-references-for-simple-type)
ef24141c
SM
4081 (soap-parse-simple-type, soap-encode-simple-type): New function.
4082 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4083
090bd7cb 4084 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4085 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4086 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4087 the local name of "soapenc:Array".
4088 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4089 decoding integer, byte and anyURI xsd types.
4090
1fc6097b
CY
40912012-04-25 Chong Yidong <cyd@gnu.org>
4092
4093 * cus-edit.el (custom-buffer-create-internal): Update header text.
4094
afc6df87
EZ
40952012-04-25 Eli Zaretskii <eliz@gnu.org>
4096
4097 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4098 settings on 'system-type', not on 'window-system'. On MS-Windows,
4099 set interactive-mode on in GDB.
4100
dfbd787f
SM
41012012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4104 (ruby-syntax-propertize-regexp): Remove.
4105 (ruby-syntax-propertize-function): Split regexp into chunks.
4106 Match following code directly.
4107
85222d44
DG
41082012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4109
51a8ea2a
DG
4110 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4111 (ruby-syntax-propertize-regexp): New function.
4112 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4113 by a special keyword.
4114
85222d44
DG
4115 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4116 (ruby-syntax-general-delimiters-goto-beg)
4117 (ruby-syntax-propertize-general-delimiters): New functions.
4118 (ruby-syntax-propertize-function): Use them to handle GDL.
4119 (ruby-font-lock-keywords): Move old handling of GDL...
4120 (ruby-font-lock-syntactic-keywords): .. to here.
4121 (ruby-calculate-indent): Adjust indentation for GDL.
4122
b613912b
MA
41232012-04-24 Michael Albinus <michael.albinus@gmx.de>
4124
b5380639
MA
4125 * notifications.el (top): Remove unneeded declarations.
4126 (notifications-specification-version): Change to "1.2".
e43042fe 4127 (notifications-interface, notifications-notify-method)
b613912b
MA
4128 (notifications-close-notification-method): Fix docstring.
4129 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4130 (notifications-notify): Add :action-items, :resident and
4131 :transient hints. Change "image_data" to "image-data" and
4132 "image_path" to "image-path".
b613912b
MA
4133 (notifications-get-capabilities): New defun.
4134
257440aa
LL
41352012-04-24 Leo Liu <sdl.web@gmail.com>
4136
4137 * progmodes/python.el: Move hideshow setup to the end.
4138
b1bac16e
MR
41392012-04-24 Martin Rudalics <rudalics@gmx.at>
4140
4141 * window.el (handle-select-window): Clear echo area since this is
4142 no more done by read_char (Bug#11304).
4143
d81bd059
SM
41442012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4147 and `/ M' to filter-derived-mode.
4148 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4149 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4150 (ibuffer-mark-by-mode): Use default rather than initial-input.
4151 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4152
c4cf6d91
IA
41532012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4154
4155 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4156 (ibuffer-filter-by-derived-mode): New filter.
4157 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4158
7511ded8
CY
41592012-04-23 Andreas Politz <politza@fh-trier.de>
4160
4161 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4162
775c916b
CY
41632012-04-23 Chong Yidong <cyd@gnu.org>
4164
4165 * cus-edit.el (customize-apropos, customize-apropos-options):
4166 Disable matching of non-option variables (Bug#11176).
4167 (customize-option, customize-option-other-window)
4168 (customize-changed-options): Doc fix.
4169 (customize-apropos-options, customize-apropos-faces)
4170 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4171
4172 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4173 Fix word list splitting (Bug#11132).
46c71e23
CY
4174 (apropos-symbol, apropos-keybinding, apropos-label)
4175 (apropos-property, apropos-function-button)
4176 (apropos-variable-button, apropos-misc-button): New faces.
4177 (apropos-symbol-face, apropos-keybinding-face)
4178 (apropos-label-face, apropos-property-face, apropos-match-face):
4179 Variables removed (Bug#8396).
4180 (apropos-library-button, apropos-format-plist, apropos-print)
4181 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4182
2df41f9c
MA
41832012-04-23 Michael Albinus <michael.albinus@gmx.de>
4184
4185 * net/xesam.el (xesam-mode-map): Use let-bound map in
4186 initialization. (Bug#11292)
4187
da00640a
AM
41882012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4189
4190 Preserve ispell session localwords when switching back to
4191 original buffer.
4192
090bd7cb
JB
4193 * textmodes/ispell.el (ispell-buffer-session-localwords):
4194 New buffer-local variable to hold buffer session localwords.
ed9265fc 4195 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4196 localwords.
4197 (ispell-command-loop, ispell-change-dictionary)
4198 (ispell-buffer-local-words): Preserve session localwords when
4199 needed.
4200
090bd7cb
JB
4201 * textmodes/flyspell.el (flyspell-process-localwords)
4202 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4203
f621ccf5
AM
42042012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4205
090bd7cb
JB
4206 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4207 using obsolete `translation-table-for-input'.
ef24141c
SM
4208 (ispell-word, ispell-process-line, ispell-complete-word):
4209 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4210
c2d1019e
CY
42112012-04-22 Chong Yidong <cyd@gnu.org>
4212
4213 * cus-edit.el (custom-variable-menu)
4214 (custom-variable-reset-saved, custom-face-menu)
4215 (custom-face-reset-saved): If there is no saved value, make the
4216 "reset-saved" operation bring back the default (Bug#9509).
4217 (custom-face-state): Properly detect themed faces.
4218
eeddc531
CY
4219 * faces.el (face-spec-set): Stop supporting deprecated form of
4220 third arg.
4221
dcbf5805
MA
42222012-04-22 Michael Albinus <michael.albinus@gmx.de>
4223
4224 Move functions from C to Lisp. Make non-blocking method calls
4225 the default. Implement further D-Bus standard interfaces.
4226
ef24141c
SM
4227 * net/dbus.el (dbus-message-internal): Declare function.
4228 Remove unneeded function declarations.
dcbf5805
MA
4229 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4230 (dbus-message-type-method-return, dbus-message-type-error)
4231 (dbus-message-type-signal): Declare variables. Remove local
4232 definitions.
4233 (dbus-interface-dbus, dbus-interface-peer)
4234 (dbus-interface-introspectable, dbus-interface-properties)
4235 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4236 Adapt docstring.
4237 (dbus-interface-objectmanager): New defconst.
4238 (dbus-call-method, dbus-call-method-asynchronously)
4239 (dbus-send-signal, dbus-method-return-internal)
4240 (dbus-method-error-internal, dbus-register-service)
4241 (dbus-register-signal, dbus-register-method): New defuns, moved
4242 from dbusbind.c
4243 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4244 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4245 New defuns.
dcbf5805
MA
4246 (dbus-call-method-non-blocking): Make it an obsolete function.
4247 (dbus-unregister-object, dbus-unregister-service)
4248 (dbus-handle-event, dbus-register-property)
4249 (dbus-property-handler): Obey the new structure of
4250 `bus-registered-objects'.
4251 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4252 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4253 Use `dbus-call-method'.
4254
cf20dee0
CY
42552012-04-22 Chong Yidong <cyd@gnu.org>
4256
4257 * cus-edit.el (custom-commands, custom-reset-menu)
4258 (Custom-reset-standard): Tweak labels.
4259 (custom-reset-button-menu): Change default to t.
4260 (custom-buffer-create-internal): For the custom-reset-button-menu
4261 case, put the revert button first.
4262 (custom-group-subtitle): New face.
4263 (custom-group-value-create): Align docstring to a specific column.
4264
4265 * wid-edit.el (widget-documentation-link-add): Don't handle
4266 indentation in this function.
4267 (widget-documentation-string-indent-to): New function.
4268 (widget-documentation-string-value-create): Use it.
4269
4270 * autorevert.el (auto-revert):
4271 * epg-config.el (epg):
4272 * ibuffer.el (ibuffer):
4273 * mpc.el (mpc):
4274 * ses.el (ses):
4275 * eshell/eshell.el (eshell):
4276 * net/ange-ftp.el (ange-ftp):
4277 * progmodes/ebnf2ps.el (postscript):
4278 * progmodes/flymake.el (flymake):
4279 * progmodes/prolog.el (prolog):
4280 * progmodes/verilog-mode.el (verilog-mode):
4281 * progmodes/which-func.el (which-func):
4282 * term/xterm.el (xterm):
4283 * textmodes/picture.el (picture):
4284 * textmodes/tildify.el (tildify):
4285 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4286 customization buffers.
4287
583e23bd
AM
42882012-04-22 Alan Mackenzie <acm@muc.de>
4289
4290 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4291 Adding a ) can hide the resulting (..) from searches. Fix it.
4292 Bound the backward search to the position of the existing (.
4293
7dd51bf1
JB
42942012-04-21 Juanma Barranquero <lekktu@gmail.com>
4295
4296 * progmodes/verilog-mode.el (verilog-mode): Check whether
4297 which-func-modes is t before adding verilog-mode.
4298 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4299
d64a438f
LL
43002012-04-21 Leo Liu <sdl.web@gmail.com>
4301
7dd51bf1 4302 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4303
081e8d65
MV
43042012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4305
4306 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4307 filling of the last column of a table (Bug#5635).
4308 (woman-find-next-control-line): New arg, specifying an additional
4309 regexp component for the control line.
4310 (woman2-roff-buffer): Use it.
4311 (woman-break-table): New function.
4312 (woman2-TS): Use it.
4313
43142012-04-21 Chong Yidong <cyd@gnu.org>
4315
4316 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4317 (woman-horizontal-escapes, woman-negative-vertical-space)
4318 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4319 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4320
ed571ccb
SM
43212012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4322
4323 * minibuffer.el (completion-file-name-table): Complete user names.
4324
39773899
LL
43252012-04-20 Leo Liu <sdl.web@gmail.com>
4326
4327 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4328 and pcase-let*.
4329
de6ff46d
CY
43302012-04-20 Chong Yidong <cyd@gnu.org>
4331
4332 * server.el (server-execute): Respect initial-buffer-choice if it
4333 is a string and there are no files to open (Bug#2825).
4334 (server-create-window-system-frame, server-create-tty-frame):
4335 Don't switch buffers here.
2d0e8e61
CY
4336 (server-process-filter): Only try to open a window system frame if
4337 compiled with graphical support (Bug#8314).
de6ff46d 4338
54071013
DN
43392012-04-20 Dan Nicolaescu <dann@gnu.org>
4340
4341 * battery.el (battery-echo-area-format): Display remaining time
4342 for sysfs backend too (Bug#11269).
4343 (battery-linux-sysfs): Fix conditional for the charge.
4344
f30d612a
CY
43452012-04-20 Chong Yidong <cyd@gnu.org>
4346
c07a4c0b 4347 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4348 (gdb-inferior-io--init-proc): New function.
4349 (gdb-init-1): Use it.
4350 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4351 responsible for allocating a new pty and hooking it to gdb when
4352 the old pty gets an EIO due to process exit.
4353 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4354 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4355 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4356
2116e93c
EZ
43572012-04-20 Eli Zaretskii <eliz@gnu.org>
4358
4359 * window.el (window-min-size, window-sizable, window-min-delta)
4360 (window-max-delta, window--resizable, window-resizable)
4361 (window-total-size, window-full-height-p, window-full-width-p)
4362 (window-in-direction, window--resize-mini-window, window-resize)
4363 (window--resize-child-windows-normal)
4364 (window--resize-child-windows, window--resize-siblings)
4365 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4366 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4367
c07a4c0b 43682012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4369
ef24141c
SM
4370 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4371 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4372 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4373 pty process (Bug#11273).
4374 (gdb-update): New arg to suppress talking to the gdb process.
4375 (gdb-done-or-error): Use it.
4376 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4377 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4378 sentinel not being called.
4379
4380 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4381
d02766ab
CY
4382 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4383
c07a4c0b 43842012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4385
4386 * net/network-stream.el (open-network-stream): Doc fix.
4387
c07a4c0b 43882012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4389
4390 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4391
c07a4c0b 43922012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4393
4394 Ensure searching for keywords is case sensitive.
4395
4396 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4397 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4398 (c-defun-name, c-mark-function, c-cpp-define-name)
4399 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4400 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4401
ef24141c
SM
4402 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4403 Bind case-fold-search to nil.
f0f6bc35 4404
c07a4c0b 44052012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4406
4407 * mail/sendmail.el (mail-bury): Call return action with the right
4408 Rmail buffer (Bug#11242).
4409
9a864fa2
CY
4410 * server.el (server-process-filter): Handle corner case where both
4411 tty and nowait options are present (Bug#11102).
4412
539aa513
EZ
44132012-04-20 Eli Zaretskii <eliz@gnu.org>
4414
4415 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4416 (top level): Put into the executable the ident-style '$Id:' tag on
4417 windows-nt as well.
539aa513 4418
cfc7d5da
SM
44192012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * electric.el (electric-indent-post-self-insert-function): Check that
4422 electric-indent-mode is enabled in current buffer.
4423
5b01685c
JB
44242012-04-19 Juanma Barranquero <lekktu@gmail.com>
4425
4426 * imenu.el (imenu-progress-message): Restore; it is "used" in
4427 erc/erc-imenu.el and net/snmp-mode.el.
4428
4d6769e1
JB
44292012-04-19 Juanma Barranquero <lekktu@gmail.com>
4430
4431 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4432 (mouse-avoidance-nudge-mouse): Remove unused binding.
4433
4434 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4435
4436 * descr-text.el (describe-char):
4437 * progmodes/python.el (python-describe-symbol):
4438 Don't call `toggle-read-only', set `buffer-read-only'.
4439
4440 * imenu.el (imenu-default-goto-function): Mark unused args.
4441 (imenu-progress-message): Remove obsolete macro; all callers changed.
4442
4443 * subr.el (keymap-canonicalize): Remove unused binding.
4444 (read-passwd): Mark unused arg.
4445
4446 * tutorial.el (tutorial--display-changes): Remove unused binding.
4447 (tutorial--save-tutorial-to): Remove unused variable.
4448
4449 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4450 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4451 (package-generate-autoloads, package-menu--generate)
4452 (package-menu--find-upgrades): Remove unused bindings.
4453
4454 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4455 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4456 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4457 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4458 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4459 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4460 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4461 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4462 (cua-delete-char-rectangle): Mark unused args.
4463 (cua-align-rectangle): Remove unused binding.
4464
4465 * mail/rmail.el (compilation--message->loc)
4466 (epa--find-coding-system-for-mime-charset): Declare.
4467
4468 * net/dbus.el (dbus-register-service): Declare.
4469 (dbus-name-owner-changed-handler): Remove unused binding.
4470
4471 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4472 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4473 (nxml-scan-backward-within): Mark unused arg.
4474 (nxml-dynamic-markup-word): Remove unused binding.
4475
4476 * mouse.el (mouse-menu-major-mode-map):
4477 * emacs-lisp/authors.el (authors-scan-change-log)
4478 (authors-add-to-author-list):
4479 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4480 * emacs-lisp/smie.el (smie-auto-fill):
4481 * mail/sendmail.el (mail-bury):
4482 * mail/unrmail.el (unrmail):
4483 * net/tls.el (open-tls-stream):
4484 * textmodes/picture.el (picture-mouse-set-point):
4485 Remove unused bindings.
4486
8c8fc5df
MA
44872012-04-19 Michael Albinus <michael.albinus@gmx.de>
4488
4489 * net/tramp.el (tramp-action-password): Let-bind
4490 `enable-recursive-minibuffers' to t.
4491
a77b0ac9
SS
44922012-04-18 Sam Steingold <sds@gnu.org>
4493
4494 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4495 instead of 'string to accommodate values like [f11].
4496 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4497 * progmodes/gdb-mi.el: Likewise.
4498
12a106a9
LL
44992012-04-18 Leo Liu <sdl.web@gmail.com>
4500
4501 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4502 current buffer.
4503 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4504 LOCAL is nil.
4505
bc6494ef
CY
45062012-04-18 Chong Yidong <cyd@gnu.org>
4507
4508 * simple.el (line-move): Use forward-line if in batch mode
4509 (Bug#11053).
4510
c09c46b2
CS
45112012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4512
4513 * files.el (after-find-file): Do not try to add a final newline if
4514 the buffer is read-only (Bug#11156).
4515
5f6530ea
RS
45162012-04-17 Richard Stallman <rms@gnu.org>
4517
4518 * mail/rmail.el (rmail-start-mail):
4519 Pass (rmail-mail-return...) for the return-action.
4520 Pass (rmail-yank-current-message...) for the yank-action.
4521 (rmail-yank-current-message): New function.
4522 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4523 (rmail-reply): Likewise.
4524 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4525
4526 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4527 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4528 buffer, not newbuf.
4529
197b6f3c
JB
45302012-04-17 Juanma Barranquero <lekktu@gmail.com>
4531
4532 * server.el (server-ensure-safe-dir): Simplify.
4533
2311d8e5 45342012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4535
2311d8e5
GM
4536 * emacs-lisp/smie.el: Provide smarter auto-filling.
4537 (smie-auto-fill): New function.
4538 (smie-setup): Use it.
98fb480e 4539
2311d8e5
GM
4540 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4541
45422012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4543
4544 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4545 (comment-indent): Use it.
4546
2311d8e5 45472012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4548
4549 * ses.el: The overall change is to add cell renaming, that is
4550 setting fancy names for cell symbols other than name matching
4551 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4552 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4553 (ses-create-cell-variable): New defun.
2311d8e5 4554 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4555 (ses-relocate-formula): Relocate formulas only for cells the
4556 symbols of which are not renamed, i.e. symbols whose names do not
4557 match regexp "\\`[A-Z]+[0-9]+\\'".
4558 (ses-relocate-all): Relocate values only for cells the symbols of
4559 which are not renamed.
4560 (ses-load): Create cells variables as the (ses-cell ...) are read,
4561 in order to check row col consistency with cell symbol name only
4562 for cells that are not renamed.
4563 (ses-replace-name-in-formula): New defun.
4564 (ses-rename-cell): New defun.
4bdf2ad2 4565
fc72b15c
PO
45662012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4567
4568 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4569 New option (bug#11118).
4570 (perl-calculate-indent): Respect it.
4571
12e10e61
GM
45722012-04-17 Glenn Morris <rgm@gnu.org>
4573
4574 * dired-aux.el (dired-mark-read-string): Doc fix.
4575
30009afd
DA
45762012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4577
4578 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4579 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4580
41f03f4d
GM
45812012-04-17 Glenn Morris <rgm@gnu.org>
4582
4583 * mouse.el (mouse-drag-track):
4584 * speedbar.el (speedbar-frame-mode):
4585 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4586
f45f90f3
LL
45872012-04-16 Leo Liu <sdl.web@gmail.com>
4588
4589 * progmodes/python.el: Trivial cleanup.
4590
94ee8db5
GM
45912012-04-16 Glenn Morris <rgm@gnu.org>
4592
121b8917
GM
4593 * vc/vc.el (vc-string-prefix-p):
4594 * vc/pcvs-util.el (cvs-string-prefix-p):
4595 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4596 * mpc.el (mpc-string-prefix-p):
4597 Make all of these into obsolete aliases for string-prefix-p.
4598 Update callers.
4599 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4600
1197ecfa
GM
4601 * textmodes/two-column.el: Move custom options to the start.
4602 (frame-width): Remove compat definition.
4603 (2C-associate-buffer, 2C-dissociate):
4604 Use with-current-buffer rather than save-excursion.
4605 (2C-dissociate): Force a mode-line update.
4606 (2C-autoscroll): Use ignore-errors.
4607
099e7202
GM
4608 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4609 Autoload trivia.
4610
bf350d6a
GM
4611 * emacs-lisp/cl-extra.el (*random-state*):
4612 Remove unnecessary declaration.
4613
0e829eab
GM
4614 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4615
e3ad7552
GM
4616 * play/cookie1.el (cookie-snarf):
4617 Give an explicit error if input file cannot be read.
4618
68892d27
GM
4619 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4620
20f0c46d
GM
4621 * progmodes/perl-mode.el (c-macro-expand):
4622 Remove unnecessary autoload (it is in loaddefs.el).
4623
5a0978ce
GM
4624 * textmodes/picture.el (picture-desired-column)
4625 (picture-update-desired-column): Convert comments to doc-strings.
4626 (picture-substitute): Remove function.
4627 (picture-mode-map): Initialize in the defvar.
4628
6b955486
GM
4629 * woman.el: Remove eval-after-load for tar-mode.
4630 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4631 (woman-tar-extract-file): Autoload it.
4632
94ee8db5
GM
4633 * frame.el (automatic-hscrolling): Make this alias obsolete.
4634
177eca34
AM
46352012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4636
090bd7cb 4637 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4638 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4639 (ispell-dictionary-base-alist): Revert to original XEmacs
4640 friendly version for default. [:alpha:] will be added in
090bd7cb 4641 `ispell-set-spellchecker-params' if needed.
177eca34 4642
c505aaeb
CY
46432012-04-16 Chong Yidong <cyd@gnu.org>
4644
b19dd9d1 4645 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4646 (imagemagick-register-types): Use it.
4647 (imagemagick-types-inhibit): Add :set function. Allow new value
4648 of t to inhibit all types.
4649
4650 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4651 so we can preload it.
4652
4653 * loadup.el (fboundp): Preload regexp-opt, needed by
4654 imagemagick-register-types.
4655
60efac0f
CY
46562012-04-15 Chong Yidong <cyd@gnu.org>
4657
4658 * frame.el (scrolling): Remove nearly unused customization group.
4659
4660 * scroll-all.el (scroll-all-mode): Move to windows group.
4661
5dd1713e
CY
46622012-04-15 Chong Yidong <cyd@gnu.org>
4663
4664 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4665
e6fd457e
CY
46662012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4669 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4670
e153c136
GM
46712012-04-15 Glenn Morris <rgm@gnu.org>
4672
4673 * simple.el (process-file-side-effects): Doc fix.
4674
e6fd457e 46752012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4676
4677 * international/mule-cmds.el (set-language-environment): Doc fix.
4678
3603c3b1
JB
46792012-04-14 Juanma Barranquero <lekktu@gmail.com>
4680
4681 * server.el (server-auth-key, server-generate-key): Doc fixes.
4682 (server-get-auth-key): Doc fix. Use `string-match-p'.
4683 (server-start): Reflow docstring.
4684
e6de100c
LI
46852012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4686
4687 * server.el (server-generate-key): `called-interactively-p'
4688 requires a parameter.
4689
29734c21
MN
46902012-04-14 Michal Nazarewicz <mina86@mina86.com>
4691
4692 * server.el (server-auth-key): New variable.
75f1671a 4693 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4694 (server-start): Use the new variable and functions to allow
4695 setting a permanent server key (bug#9423).
4696
d65c9521
LL
46972012-04-14 Leo Liu <sdl.web@gmail.com>
4698
4699 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4700
5ae255c7
PE
47012012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4702
4703 Spelling fixes.
4704 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4705 Emacs uses American spelling.
4706
d5e6342e
JB
47072012-04-14 Juanma Barranquero <lekktu@gmail.com>
4708
4709 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4710 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4711 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4712 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4713
ab036cd7
SM
47142012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * progmodes/which-func.el (which-func-modes): Change default.
4717
35dc09a1 47182012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4719
4720 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4721 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4722
35dc09a1 47232012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4724
4725 * custom.el (custom-theme-set-variables): Doc fix.
4726
35dc09a1 47272012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4728
4729 * international/mule.el (set-auto-coding-for-load): Doc fix.
4730
35dc09a1 47312012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4732
35dc09a1
GM
4733 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4734 imenu work again for Objective C Mode. Correct the *-index values,
4735 these having been disturbed by a previous change in 2011-08.
57f845ee 4736
0de3da9f
AM
4737 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4738 Correct two search limits.
4739
35dc09a1 47402012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4741
4742 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4743
35dc09a1 47442012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4745
4746 * international/characters.el: Fix sorting.
4747
35dc09a1 47482012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4749
4750 * international/characters.el: Add more missing Latin case pairs.
4751
35dc09a1 47522012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4753
4754 * files.el (dir-locals-set-class-variables): Doc fix.
4755
35dc09a1 47562012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4757
3f1b5bf8
EZ
4758 * international/characters.el: Add set-case-syntax-pair call for
4759 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4760 counterpart. (Bug#11209)
4761
9f847f41
EZ
4762 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4763
35dc09a1 47642012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4765
4766 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4767
35dc09a1 47682012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4769
35dc09a1
GM
4770 * textmodes/ispell.el (ispell-dictionary-base-alist):
4771 Add data for Hebrew.
e2627d21 4772
35dc09a1 47732012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4774
35dc09a1
GM
4775 * net/rcirc.el (rcirc-cmd-quit):
4776 Revert 2012-03-18 change (Bug#11192).
5c14e333 4777
35dc09a1 47782012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4779
4780 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4781
35dc09a1 47822012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4783
4517fe3a
SM
4784 * minibuffer.el (completion-in-region-mode-map):
4785 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4786
b472a594
VD
47872012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4788
4789 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4790
09b95ce3
MY
47912012-04-13 Masatake YAMATO <yamato@redhat.com>
4792
4793 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4794 to allow `C-M-f' and `C-M-b' to move to the nearest path
4795 separator (bug#9511).
4796
4b63a9ca
LI
47972012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4798
4799 * avoid.el: Require cl when compiling. And also move the
4800 `provide' to the end.
4801
7b55b8bf
TV
48022012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4803
4804 * avoid.el (mouse-avoidance-banish-position): New variable.
4805 (mouse-avoidance-banish-destination): Use it (bug#10165).
4806
adedaa1f
LL
48072012-04-13 Leo Liu <sdl.web@gmail.com>
4808
4809 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4810
70e74021
KB
48112012-04-13 Ken Brown <kbrown@cornell.edu>
4812
4813 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4814 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4815 (browse-url-filename-alist): For the same reason, don't modify
4816 file:// URLs on Cygwin.
4817
e75e89ba
SM
48182012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4821 the region on shift if the binding is already shifted (bug#11221).
4822
82f289a4
GM
48232012-04-12 Glenn Morris <rgm@gnu.org>
4824
4825 * mail/mailpost.el: Move to obsolete/.
4826
d333dc4c
DA
48272012-04-12 Drew Adams <drew.adams@oracle.com>
4828
4829 * imenu.el (imenu--generic-function): Ignore invisible definitions
4830 (bug#10123).
4831
0d15b5ba
VD
48322012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4833
4834 * hexl.el (hexl-bits): New variable.
4835 (hexl-options): Mention the variable in the doc string.
75f1671a 4836 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4837 (hexl-mode): Mention the new variable.
75f1671a
JB
4838 (hexl-mode, hexl-current-address, hexl-current-address):
4839 Use the displen.
0d15b5ba
VD
4840 (hexl-ascii-start-column): New function.
4841 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4842 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4843
64a440db
AM
48442012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4845
4846 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4847 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4848 the encoding, as expected by hunspell.
4849
6decb6c2
SM
48502012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4851
4852 * battery.el (battery--linux-sysfs-regexp): New const.
4853 (battery-status-function): Use it. Remove yeeloong special case.
4854 (battery-yeeloong-sysfs): Remove.
4855 (battery-echo-area-format): Remove yeeloong special case.
4856
088be6fb
SM
48572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4858
6622e416
SM
4859 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4860 Reported by Noah Friedman.
4861
088be6fb
SM
4862 * subr.el (read-passwd): Use read-string.
4863
b49f886e
LMI
48642012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4865
4866 * vcursor.el (vcursor-move): Increase the priority of the overlay
4867 (bug#9663).
4868
a63067fc
DD
48692012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4870
4871 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4872 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4873
ac3cf14a
WS
48742012-04-11 William Stevenson <yhvh2000@gmail.com>
4875
4876 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4877 define-minor-mode (bug#10760).
4878
c4fc691b 48792012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4880
4d6769e1 4881 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4882 that directories matching `grep-find-ignored-files' won't be
4883 pruned (bug#10351).
4884
af23e2e5
CY
48852012-04-11 Chong Yidong <cyd@gnu.org>
4886
4887 * startup.el (command-line): Remove support for long-obsolete
4888 variable font-lock-face-attributes.
4889
ab7ce8c1
GM
48902012-04-11 Glenn Morris <rgm@gnu.org>
4891
4892 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4893
de8c03dc
SM
48942012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * window.el (window--state-get-1): Obey window-point-insertion-type.
4897
050cc68b
LB
48982012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4899
4900 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4901 to previous function when point is on the first character of a
75f1671a 4902 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4903
a38c310c
GM
49042012-04-11 Glenn Morris <rgm@gnu.org>
4905
effed0c2
GM
4906 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4907 not just file-errors.
4908
a38c310c
GM
4909 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4910 (vc-bzr-sha1): Use internal sha1.
4911
0221e323
SM
49122012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4915
43956923
SG
49162012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4917
4918 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4919 that start in the middle of the line (bug#10496).
4920
6a8c9eaf
DN
49212012-04-10 Dan Nicolaescu <dann@gnu.org>
4922
4923 * battery.el (battery-linux-proc-acpi): Only one battery is
4924 discharged at a time, but that seems to confuse battery.el when
4925 computing `rate-type' for the battery not being discharged
4926 (bug#10332).
4927
1930bf5d
SM
49282012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4929
2a718f6f
SM
4930 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4931
599430d0
SM
4932 * international/quail.el: Use dolist and simplify.
4933 (quail-define-package, quail-update-keyboard-layout)
4934 (quail-define-rules): Use dolist.
4935 (quail-insert-kbd-layout, quail-get-translation): CSE.
4936
a2754b6c
SM
4937 * tmm.el: Use dolist, remove left over hook.
4938 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4939 Use dolist.
4940 (calendar-load-hook): Don't mess with it.
4941
1930bf5d
SM
4942 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4943 Use derived-mode-p. Run the diff asynchronously.
4944
9f67961c
LMI
49452012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4946
4947 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4948
2a8ce227
JB
49492012-04-10 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4952 (list-dynamic-libraries--loaded): New function.
4953 (list-dynamic-libraries--refresh): Use it.
4954
8f33b5f8
NW
49552012-04-10 Nathan Weizenbaum <nweiz@google.com>
4956
1930bf5d
SM
4957 * progmodes/python.el (python-fill-paragraph):
4958 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4959 disabled (bug#7018).
4960
b12f0439
L
49612012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4962
1930bf5d 4963 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4964 DOS/MS Windows for the Baltic languages. There are still plenty
4965 of texts written in this encoding/codepage (bug#6519).
b12f0439 4966
57c3bd01
GM
49672012-04-10 Glenn Morris <rgm@gnu.org>
4968
4969 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4970 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4971
6c3eab30
FA
49722012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4973
1930bf5d 4974 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4975 next-line "n" and previous-line "p" in order to make recentf more
4976 consistent with ibuffer, dired or org-mode (bug#9387).
4977
24d78a88
LMI
49782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4979
bc72b5d9
LMI
4980 * image.el (put-image): Return the overlay created instead of the
4981 optional input string (bug#7834). Note that this may break code
4982 that is (for some reason or other) depending on `put-image'
4983 returning the string.
4984
bd2dba5a
LMI
4985 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4986
74beb59f
LMI
4987 * simple.el (zap-to-char): Allow zapping using input methods
4988 (bug#1580).
4989
24d78a88
LMI
4990 * textmodes/fill.el (fill-region): Leave point and mark where they
4991 were before filling (bug#5399).
4992
263f20cd
GM
49932012-04-09 Glenn Morris <rgm@gnu.org>
4994
4995 * version.el (emacs-bzr-get-version):
4996 Handle lightweight checkouts of local branches.
4997
58d1f797
AS
49982012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4999
263f20cd 5000 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5001
b4d3bc10
CY
50022012-04-09 Chong Yidong <cyd@gnu.org>
5003
5004 * custom.el (custom-variable-p): Return nil for non-symbol
5005 arguments instead of signaling an error.
5006 (user-variable-p): Obsolete alias for custom-variable-p.
5007
5008 * apropos.el (apropos-variable):
5009 * files-x.el (read-file-local-variable):
5010 * simple.el (set-variable):
5011 * woman.el (woman-mini-help):
5012 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5013
fd06db5d
GM
50142012-04-09 Glenn Morris <rgm@gnu.org>
5015
e5fcdb5e
GM
5016 * startup.el (normal-top-level): Don't look for leim-list.el
5017 in places where it will not be found. (Bug#910)
5018
fd06db5d
GM
5019 * international/mule-cmds.el (set-default-coding-systems):
5020 * files.el (normal-mode):
5021 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5022 This function was removed with ucs-tables.el in 2008.
5023
b39bb7e1
EZ
50242012-04-08 Eli Zaretskii <eliz@gnu.org>
5025
5026 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5027 ispell-encoding8-command to "-i", without a trailing space.
5028 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5029 separate command-line arguments, to specify the encoding, since
5030 that's how hunspell expects it.
5031
5c5b8e23
GM
50322012-04-08 Glenn Morris <rgm@gnu.org>
5033
5034 * loadup.el: Load bindings before cus-start.
5035 This reduces somewhat the number of "rogue" settings in emacs -Q.
5036
a1ed8b05
GM
50372012-04-07 Glenn Morris <rgm@gnu.org>
5038
5039 * version.el (emacs-bzr-get-version): New function.
dfae128a 5040 (emacs-bzr-version): New variable.
a1ed8b05
GM
5041 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5042 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5043
b142f158
EZ
50442012-04-07 Eli Zaretskii <eliz@gnu.org>
5045
dfae128a
GM
5046 * international/uni-bidi.el, international/uni-category.el:
5047 * international/uni-combining.el, international/uni-decimal.el:
5048 * international/uni-decomposition.el, international/uni-digit.el:
5049 * international/uni-lowercase.el, international/uni-mirrored.el:
5050 * international/uni-name.el, international/uni-numeric.el:
5051 * international/uni-titlecase.el, international/uni-uppercase.el:
5052 Update for Unicode 6.1.
b142f158 5053
9078ead6
EZ
50542012-04-07 Eli Zaretskii <eliz@gnu.org>
5055
5056 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5057
f23d2c7d
LMI
50582012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5059
5060 * window.el (shrink-window): Mention the `window-min-height'
5061 variable in the doc string.
5062
0a0a3573
BG
50632012-04-05 Bastien Guerry <bzg@altern.org>
5064
5065 * color.el (color-lighten-name): Fix typo.
5066
e5248ac9
SM
50672012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * server.el (server--on-display-p): New function.
5070 (server--on-display-p): Use it.
5071
b4243e22
GV
50722012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5073
5074 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5075 (bug#11145).
5076
305d9f44
SM
50772012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * comint.el (comint--common-quoted-suffix): Check string boundary
5080 before comparing (bug#11158).
5081 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5082
3d439cd1
CY
50832012-04-04 Chong Yidong <cyd@gnu.org>
5084
321cc491
CY
5085 * minibuffer.el (completion-extra-properties): Doc fix.
5086
3d439cd1
CY
5087 * subr.el (delayed-warnings-hook): Doc fix.
5088
2d562c0f
DU
50892012-04-04 Daiki Ueno <ueno@unixuser.org>
5090
5091 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5092 selection (Bug#11159).
5093 (epa-insert-keys): Inform that the default public key will be
5094 exported if no key is selected.
5095
4443f204
RS
50962012-04-04 Richard Stallman <rms@gnu.org>
5097
5098 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5099
529c06b6
CY
51002012-04-03 Chong Yidong <cyd@gnu.org>
5101
5102 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5103 mail-insert-file, not its obsolete alias mail-attach-file.
5104
66b907dc
MA
51052012-04-03 Michael Albinus <michael.albinus@gmx.de>
5106
5107 * notifications.el (notifications-notify): Fix docstring.
5108
c0ea195d
GM
51092012-04-02 Glenn Morris <rgm@gnu.org>
5110
5111 * emacs-lisp/authors.el (authors-aliases): Another addition.
5112
5ca64e00
MA
51132012-04-02 Michael Albinus <michael.albinus@gmx.de>
5114
5115 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5116 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5117 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5118
42ee526b
CY
51192012-04-01 Chong Yidong <cyd@gnu.org>
5120
5121 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5122 Handle root directory properly.
5123 (copy-directory): Caller changed.
5124
5125 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5126 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5127
0b021094
GM
51282012-03-31 Glenn Morris <rgm@gnu.org>
5129
40f86458
GM
5130 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5131
7019c177
GM
5132 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5133
a1daddd6
GM
5134 * calendar/calendar.el (calendar-window-list)
5135 (calendar-hide-window): Restore. (Bug#11140)
5136 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5137
0b021094
GM
5138 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5139
40311efc
TV
51402012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5141
5142 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5143 Check if file is a symlink (Bug#10489).
5144
5145 * files.el (copy-directory): Likewise.
5146
5319014e
CY
51472012-03-30 Chong Yidong <cyd@gnu.org>
5148
5149 * image.el (imagemagick-types-inhibit)
5150 (imagemagick-register-types): Doc fix.
5151
935d1290
AM
51522012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5153
090bd7cb 5154 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5155 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5156 and treats ~word as ordinary words in pipe mode.
935d1290 5157
61c6e8fd
GM
51582012-03-30 Glenn Morris <rgm@gnu.org>
5159
5160 * tutorial.el (help-with-tutorial): Ensure local variables don't
5161 happen to make the buffer read-only. (Bug#11127)
5162
81fdff00
SM
51632012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5166 (perl-calculate-indent): Return `noindent' in strings.
5167
6e7a6ec0
SS
51682012-03-28 Sam Steingold <sds@gnu.org>
5169
5170 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5171 instead of the broken adhockery which does not prevent calendar
5172 buffers from being displayed at random after exit.
5173 (calendar-window-list, calendar-hide-window): Remove the broken
5174 adhockery.
5175
fee88ca0
GM
51762012-03-28 Glenn Morris <rgm@gnu.org>
5177
5178 * replace.el (query-replace-map): Doc fix.
5179
38de3354
AS
51802012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5181
5182 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5183 contents. (Bug#11109)
5184
b973155e
SM
51852012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5186
5187 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5188 (bug#11077).
5189 (avl-tree--check, avl-tree--check-node): New funs.
5190
dcb6e7b3
MR
51912012-03-27 Martin Rudalics <rudalics@gmx.at>
5192
5193 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5194 (switch-to-prev-buffer, switch-to-next-buffer):
5195 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5196 showing a buffer already is done on the same frame.
5197
b4fa35fa
GM
51982012-03-27 Glenn Morris <rgm@gnu.org>
5199
5200 * startup.el (mail-host-address): Doc fix.
5201
f9210e18
SM
52022012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5205 than 197 variables.
5206
c0bf7753
AF
52072012-03-26 Ami Fischman <ami@fischman.org>
5208
5209 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5210
33da7b16
GM
52112012-03-26 Glenn Morris <rgm@gnu.org>
5212
02243d9d
GM
5213 * files.el (save-buffers-kill-emacs): Doc fix.
5214
33da7b16
GM
5215 * startup.el (normal-top-level, command-line, command-line-1):
5216 Give them doc strings.
5217
e5a69fd0
EZ
52182012-03-25 Eli Zaretskii <eliz@gnu.org>
5219
5220 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5221 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5222
9a69676a
CY
52232012-03-25 Chong Yidong <cyd@gnu.org>
5224
4125cb8b
CY
5225 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5226 theme if it was previously enabled before (Bug#11031).
5227
dd470960
CY
5228 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5229 spec with custom-face-get-current-spec if its :shown-value is not
5230 determined yet (Bug#9337).
4125cb8b 5231 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5232
9a69676a
CY
5233 * button.el (button-at): Minor addition to docstring.
5234
6e7e90fa
SL
52352012-03-24 Simon Leinen <simon.leinen@gmail.com>
5236
5237 * vc/vc.el (vc-merge): Fix a prompt.
5238
f06e2758
CY
52392012-03-24 Chong Yidong <cyd@gnu.org>
5240
5241 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5242 point (Bug#9623).
5243
6e7e90fa
SL
5244 * button.el (button-at): Minor addition to docstring.
5245
b9d0879b
SM
52462012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * newcomment.el (comment-choose-indent): No space after BOL.
5249
e71cebb3
SS
52502012-03-22 Sam Steingold <sds@gnu.org>
5251
5252 * window.el (switch-to-prev-buffer): Revert last patch because the
5253 bug turned out to be an advertised feature (Elisp manual 28.14).
5254
335aff35
GM
52552012-03-22 Glenn Morris <rgm@gnu.org>
5256
5257 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5258 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5259
c676576a
LMI
52602012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5261
5262 * net/network-stream.el (network-stream-open-starttls): Make error
5263 message under Windows be less misleading.
5264
126f3d39
LW
52652012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5266
5267 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5268 understands (bug#9942).
5269
64fee311
CY
52702012-03-22 Chong Yidong <cyd@gnu.org>
5271
5272 * simple.el (end-of-visible-line): Handle return value of
5273 next-single-property-change properly (Bug#9371).
5274
a640d29a
KH
52752012-03-22 Kenichi Handa <handa@m17n.org>
5276
5277 * international/quail.el (quail-insert-kbd-layout): Fix previous
5278 change. To avoid unwanted bidi reordering, use
5279 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5280
39675016
DG
52812012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5282
5283 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5284 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5285 (ruby-beginning-of-indent): Be more careful with the difference
5286 between word-boundary and symbol boundary.
5287 (ruby-mode-syntax-table): Make : a symbol constituent.
5288
0a6934fc 52892012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5290
3d008e4f
SM
5291 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5292
0a6934fc
SM
52932012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5294
af67c9d7
SM
5295 * progmodes/etags.el (tags-completion-at-point-function):
5296 Improve last fix.
5297
1acad97c
SM
5298 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5299
e298b5da
SS
53002012-03-21 Sam Steingold <sds@gnu.org>
5301
5302 * progmodes/etags.el (tags-completion-at-point-function):
5303 Avoid the error when point is inside the pattern.
5304
91d82a70
JY
53052012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5306
5307 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5308 line (Bug#10855).
5309
69188b79
CY
53102012-03-21 Drew Adams <drew.adams@oracle.com>
5311
5312 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5313
99fc91fe
AK
53142012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5315
5316 * ido.el (ido-set-current-directory, ido-read-internal)
5317 (ido-choose-completion-string, ido-completion-help): Handle nil
5318 value of ido-completion-buffer (Bug#11008).
5319
087bbb4c
SS
53202012-03-21 Sam Steingold <sds@gnu.org>
5321
5322 * window.el (switch-to-prev-buffer): Do not switch to a visible
5323 window previous buffer, just like with the frame previous buffers.
5324
fb5b8aca
CY
53252012-03-21 Chong Yidong <cyd@gnu.org>
5326
5327 * faces.el (make-face, make-empty-face, copy-face):
5328 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5329 Doc fixes.
5330
dc9924b8
SM
53312012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5334 (widget-complete): Remove broken use of it.
5335
f0bcceb9
CY
53362012-03-20 Chong Yidong <cyd@gnu.org>
5337
dc9924b8
SM
5338 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5339 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5340 characters.
5341
ee52ebf3
TH
53422012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5343
5344 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5345 to draw rectangles, not squares. (Regression introduced by revno
5346 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5347
4c5779ab
CY
53482012-03-18 Chong Yidong <cyd@gnu.org>
5349
5350 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5351 it is not yet defined (for temacs).
5352
15360934
LL
53532012-03-18 Leo Liu <sdl.web@gmail.com>
5354
dc9924b8 5355 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5356
d9a8eb66
EZ
53572012-03-17 Eli Zaretskii <eliz@gnu.org>
5358
5359 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5360 (ispell-choices-win-default-height, ispell-silently-savep)
5361 (ispell-dictionary-alist, ispell-encoding8-command)
5362 (ispell-check-version, ispell-aspell-find-dictionary)
5363 (ispell-valid-dictionary-list, ispell-words-keyword)
5364 (ispell-get-word, ispell-internal-change-dictionary)
5365 (ispell-region, ispell-skip-region-list)
5366 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5367 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5368 (ispell-message-text-end, ispell-message)
5369 (ispell-buffer-local-parsing): Doc fix.
5370
f02ff80d
J
53712012-03-13 Jambunathan K <kjambunathan@gmail.com>
5372
5373 * htmlfontify.el: Add support for code block fontification for ODT
5374 export (Bug #9914).
5375 (hfy-optimisations): Define new option
5376 `body-text-only'
5377 (hfy-fontify-buffer): Honor above setting.
5378 (hfy-begin-span, hfy-end-span): New routines factored out form
5379 `hfy-fontify-buffer'.
5380 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5381 that permit insertion of custom tags.
5382 (hfy-fontify-buffer): Use above handlers.
5383 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5384 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5385 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5386 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5387 bind a special variable `hfy-user-sheet-assoc'.
5388 (htmlfontify-string): New defun.
5389 (hfy-compile-face-map): Make sure that the last char in the
5390 buffer is correctly fontified.
5391 (hfy-face-resolve-face): Whitespace only change.
5392
9ac7a13f
EZ
53932012-03-17 Eli Zaretskii <eliz@gnu.org>
5394
5395 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5396 message more clear.
5397
e2b5bdd7
LL
53982012-03-16 Leo Liu <sdl.web@gmail.com>
5399
5400 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5401
2e492df3
AM
54022012-03-16 Alan Mackenzie <acm@muc.de>
5403
5404 Further optimise the handling of large macros.
5405
5406 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5407 limit to a call of `c-literal-limits'.
5408 (c-determine-+ve-limit): New function.
dc9924b8
SM
5409 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5410 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5411 In CASE 5B, restrict a search limit to 500.
5412 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5413
5414 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5415 Restrict macro bounds to +-500 from after-change's BEG END.
5416
50e94f0c
LL
54172012-03-16 Leo Liu <sdl.web@gmail.com>
5418
5419 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5420
6f09f6ed
AH
54212012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5422
5423 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5424 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5425
c7e73d51
GM
54262012-03-16 Glenn Morris <rgm@gnu.org>
5427
da986230
GM
5428 * view.el (view-buffer, view-buffer-other-window)
5429 (view-buffer-other-frame): Doc fixes re special mode-class.
5430
0835f01e
GM
5431 * subr.el (eval-after-load): If named feature is provided not from
5432 a file, run after-load forms. (Bug#10946)
5433
c7e73d51
GM
5434 * calendar/calendar.el (calendar-insert-at-column):
5435 Handle non-unit-width characters a bit better. (Bug#10978)
5436
3f2eafd1
CY
54372012-03-15 Chong Yidong <cyd@gnu.org>
5438
5439 * emacs-lisp/ring.el (ring-extend): New function.
5440 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5441
5442 * comint.el (comint-read-input-ring)
5443 (comint-add-to-input-history): Grow comint-input-ring lazily.
5444
103af3fe
SM
54452012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5446
663b1677
SM
5447 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5448 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5449
103af3fe
SM
5450 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5451 (imenu-add-to-menubar): Don't add a redundant index.
5452 (imenu-update-menubar): Handle a dynamically composed keymap.
5453
899cb7cb
KY
54542012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5455
5456 * mail/sendmail.el (mail-encode-header):
5457 Bind rfc2047-encode-encoded-words to nil.
5458
3809f91d
GM
54592012-03-13 Glenn Morris <rgm@gnu.org>
5460
5461 * calendar/calendar.el (calendar-string-spread):
5462 Handle non-unit-width characters a bit better. (Bug#10978)
5463
9e345a01
LL
54642012-03-13 Leo Liu <sdl.web@gmail.com>
5465
5466 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5467 directory and file as argument (Bug#10822).
5468
4a07df36
KS
54692012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5470
5471 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5472 For dynamically generated code, follow $PC.
5473 (gdb-disassembly-handler-custom): Handle no function name case.
5474
4aaa9356
TL
54752012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5476
5477 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5478 * emulation/ws-mode.el (ws-query-replace):
5479 * sort.el (sort-regexp-fields):
5480 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5481
225979da
SM
54822012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * dabbrev.el: Fix cycle completion order (bug#10963).
5485 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5486 (dabbrev-completion): Don't use an obarray; provide
5487 a cycle-sort-function.
5488
e2f1fdab
LL
54892012-03-12 Leo Liu <sdl.web@gmail.com>
5490
dc9924b8 5491 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5492 (kill-do-not-save-duplicates): Doc fix.
5493
b19490ed
SM
54942012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 * dabbrev.el: Fix cycle completion (bug#10963).
5497 Use lexical binding and wrap to 80 columns.
5498 (dabbrev-completion): Delay computing the list of completions.
5499
4b05d722
KH
55002012-03-12 Kenichi Handa <handa@m17n.org>
5501
5502 * international/quail.el (quail-insert-kbd-layout): Surround each
5503 row by LRO and PDF instead of inserting many LRMs. Pad the left
5504 and right of each non-spacing marks. Insert invisible space
5505 between lower and upper characters to prevent composition.
5506
dbbc2e69
SM
55072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * minibuffer.el (minibuffer-complete): Don't get confused when the
5510 function is run twice via different commands (bug#10958).
5511 (complete-with-action): Fix docstring.
5512
292112ed
CY
55132012-03-12 Chong Yidong <cyd@gnu.org>
5514
5d1ac394
CY
5515 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5516 (nxml-completion-at-point-function): New function.
5517 (nxml-mode): Use it.
5518 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5519
292112ed
CY
5520 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5521 Load generated autoloads file before byte compiling (Bug#10970).
5522 (package--make-autoloads-and-compile): New helper fun.
5523
4098f8f7
CS
55242012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5525
5526 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5527
8f754691
MA
55282012-03-11 Michael Albinus <michael.albinus@gmx.de>
5529
5530 * autorevert.el (auto-revert-handler): Ensure, that
5531 file-readable-p is applied only for local files or in
5532 auto-revert-tail-mode.
5533
e29ab36b
AS
55342012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5535
dbbc2e69
SM
5536 * server.el (server-eval-at): Handle non-tcp connections.
5537 Decode result string.
ad0bf5b6 5538
e29ab36b
AS
5539 * server.el (server-msg-size): New constant.
5540 (server-reply-print): New function.
5541 (server-eval-and-print): Use it.
5542 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5543 Handle -print-nonl.
5544
de5939ba
CS
55452012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5546
5547 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5548 (Bug#10987).
5549
0c93eabf
CY
55502012-03-11 Chong Yidong <cyd@gnu.org>
5551
397a688f
CY
5552 * simple.el (goto-line): Doc fix (Bug#9938).
5553
2cc775f9
CY
5554 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5555
0c93eabf
CY
5556 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5557 when finished (Bug#10963).
5558
c491fa41
MR
55592012-03-11 Martin Rudalics <rudalics@gmx.at>
5560
5561 * window.el (split-window-below): Fix bug in case where
5562 split-window-keep-point is nil (Bug#10971).
5563
300e8fa5
JL
55642012-03-11 Juri Linkov <juri@jurta.org>
5565
5566 * replace.el (replace-highlight): Set isearch-word to nil
5567 unconditionally. (Bug#10887)
5568
dbf6c5a1
EZ
55692012-03-10 Eli Zaretskii <eliz@gnu.org>
5570
5571 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5572 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5573 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5574 (mairix-widget-create-query): Add usage information about mairix
5575 search forms: negating words, searching for substrings, etc.
5576
b9e501de
JP
55772012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5578
5579 * international/fontset.el (font-encoding-alist): Add an entry for
5580 ksx1001 (Bug#5667).
5581
92795c91
RS
55822012-03-10 Richard Stallman <rms@gnu.org>
5583
1694e6c1
RS
5584 * mail/sendmail.el (mail-encode-header):
5585 Set rfc2047-encode-encoded-words.
5586
607e8555
RS
5587 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5588
de3bc99a
RS
5589 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5590 view buffer means not swapped.
5591 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5592 (rmail-write-region-annotate): Error if real text has disappeared.
5593
92795c91
RS
5594 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5595
699bd04e
CY
55962012-03-10 Chong Yidong <cyd@gnu.org>
5597
5598 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5599 * emulation/cua-base.el (cua--init-keymaps):
5600 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5601
570a1714
MR
56022012-03-10 Martin Rudalics <rudalics@gmx.at>
5603
dbbc2e69
SM
5604 * speedbar.el (speedbar-unhighlight-one-tag-line):
5605 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5606
82dcf4e4
CY
56072012-03-10 Chong Yidong <cyd@gnu.org>
5608
7a2c7ca7
CY
5609 * minibuffer.el (completion-in-region, completion-help-at-point):
5610 Give the completion field overlay a high priority (Bug#6830).
5611
82dcf4e4
CY
5612 * dired.el (dired-goto-file): Recognize absolute file name
5613 listings (Bug#7126).
5614 (dired-goto-file-1): New helper function.
5615 (dired-toggle-read-only): Inhibit warnings.
5616
052e28ac
MA
56172012-03-09 Michael Albinus <michael.albinus@gmx.de>
5618
75f1671a 5619 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5620 there are no properties.
5621
95d5e396
LL
56222012-03-09 Leo Liu <sdl.web@gmail.com>
5623
5624 * savehist.el (savehist-printable): Stricter check for string
5625 value (Bug#10937).
5626
3f018d6d
EZ
56272012-03-09 Eli Zaretskii <eliz@gnu.org>
5628
dbbc2e69
SM
5629 * mail/smtpmail.el (smtpmail-send-it):
5630 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5631 valid mbox format.
5632
f7fd3d79
GM
56332012-03-09 Glenn Morris <rgm@gnu.org>
5634
5635 * files.el (dir-locals-find-file):
5636 Don't check result is regular, readable.
5637 (dir-locals-read-from-file): Demote errors.
5638
6ff6e72f
EZ
56392012-03-08 Eli Zaretskii <eliz@gnu.org>
5640
dbbc2e69
SM
5641 * international/quail.el (quail-insert-kbd-layout):
5642 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5643 layout cell, to prevent their reordering by bidi display engine.
5644 For details, see the discussion in
5645 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5646
9cec7834
AM
56472012-03-08 Alan Mackenzie <acm@muc.de>
5648
5649 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5650 the starting position; make it extend the marked region when
5651 invoked repeatedly - all under appropriate circumstances.
5652 Fixes bugs #5525, #10906.
5653
9a40b8d4
GM
56542012-03-08 Glenn Morris <rgm@gnu.org>
5655
5656 * files.el (locate-dominating-file, dir-locals-find-file):
5657 Undo 2012-03-06 change.
5658
7a08ed35
EZ
56592012-03-07 Eli Zaretskii <eliz@gnu.org>
5660
dbbc2e69
SM
5661 * international/quail.el (quail-help):
5662 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5663 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5664 for the reason.
5665
5aca4f71 56662012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5667
5668 Avoid superfluous registering of signals. (Bug#10807)
5669
5670 * notifications.el (notifications-on-action-object)
5671 (notifications-on-close-object): New defvars.
5672 (notifications-on-action-signal, notifications-on-closed-signal):
5673 Unregister the signal if not needed any longer.
5674 (notifications-notify): Register `notifications-action-signal' or
5675 `notifications-closed-signal', if :on-action or :on-close has been
5676 passed as argument.
5677
78e8b10a
CY
56782012-03-07 Chong Yidong <cyd@gnu.org>
5679
5680 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5681 non-X platforms.
5682
69481eb8
GM
56832012-03-06 Glenn Morris <rgm@gnu.org>
5684
5685 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5686 (x-disown-selection-internal, x-get-selection-internal):
5687 Doc fix (add arglist signatures). (Bug#10783)
5688
133b8e11
KS
56892012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5690
5691 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5692 Handle breakpoints with no "type".
5693
99a83064
GM
56942012-03-06 Glenn Morris <rgm@gnu.org>
5695
5696 * files.el (locate-dominating-file): Add optional predicate argument.
5697 (dir-locals-find-file): Make use of above change.
5698
17798e78
TTN
56992012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5700
5701 * info.el (Info-insert-dir): Also try "dir.gz".
5702
eb182446
GM
57032012-03-06 Glenn Morris <rgm@gnu.org>
5704
8f2114ee
GM
5705 * files.el (dir-locals-find-file):
5706 Ignore non-readable or non-regular files. (Bug#10928)
5707
eb182446
GM
5708 * files.el (locate-dominating-file): Doc fix.
5709
24679323
AS
57102012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5711
5712 * calendar/calendar.el (calendar-set-mode-line):
5713 `getenv' returns a string. (Bug#10951)
5714
01d972a9
LL
57152012-03-05 Leo Liu <sdl.web@gmail.com>
5716
109aa8a9
LL
5717 * simple.el (backward-delete-char-untabify): Constrain point to
5718 field (Bug#10939).
5719
01d972a9
LL
5720 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5721
10607bea
CY
57222012-03-05 Chong Yidong <cyd@gnu.org>
5723
5724 * simple.el (count-words): If called from Lisp, return the word
5725 count, for symmetry with `count-lines'. Arglist changed.
5726 (count-words--message): Args changed. Consolidate counting code
5727 from count-words and count-words-region.
5728 (count-words-region): Caller changed.
5729 (count-lines-region): Make it an obsolete alias.
5730
5dd11cfe
TH
57312012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5732
5733 * saveplace.el (save-place-to-alist)
5734 (save-place-ignore-files-regexp): Allow value nil to disable this
5735 feature.
5736
c349f4e6
CY
57372012-03-04 Chong Yidong <cyd@gnu.org>
5738
5739 * faces.el (face-spec-reset-face): For the default face, reset the
5740 attributes to default values (Bug#10748).
5741
e627be4c
LMI
57422012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5743
5744 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5745 previous patch: Check `message-send-mail-function', and not the
5746 default function (bug#10897).
5747
ebeabff4
MA
57482012-03-04 Michael Albinus <michael.albinus@gmx.de>
5749
a41a6cf4
MA
5750 * notifications.el (notifications-on-action-signal)
5751 (notifications-on-closed-signal): Check for unique service name of
5752 incoming event. Fix error in removing entry.
ebeabff4 5753 (top): Register for signals with wildcard service name.
a41a6cf4 5754 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5755
c1ca42b4
CY
57562012-03-04 Chong Yidong <cyd@gnu.org>
5757
dc9924b8 5758 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5759
ea16568d
GM
57602012-03-04 Glenn Morris <rgm@gnu.org>
5761
5762 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5763 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5764 (expand-abbrev, define-abbrev-table): Doc fixes.
5765
fbae4637
LMI
57662012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5767
5768 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5769 `message-default-send-mail-function' and not `send-mail-function'
5770 when doing the prompting for `sendmail-query-once' before sending
5771 in Message buffers (bug#10897).
5772
a1e7225c
LMI
5773 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5774 This is inconsistent with all the other stream functions, which leave
5775 the setting up to the higher levels (if so wanted) (bug#10931).
5776
56d093a9
AM
57772012-03-02 Alan Mackenzie <acm@muc.de>
5778
5779 Depessimize the handling of very large macros.
5780
5781 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5782 (c-macro-cache-syntactic): New variables to implement a one
5783 element macro cache.
5784 (c-invalidate-macro-cache): New function.
5785 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5786 Adapt to use the new cache.
5787 (c-state-safe-place): Use better the cache of safe positions.
5788 (c-state-semi-nonlit-pos-cache)
5789 (c-state-semi-nonlit-pos-cache-limit):
5790 New variables for...
5791 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5792 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5793 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5794 Use c-state-semi-safe-place.
56d093a9 5795
dbbc2e69
SM
5796 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5797 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5798
817e5c3d
MA
57992012-03-02 Michael Albinus <michael.albinus@gmx.de>
5800
dbbc2e69
SM
5801 * jka-compr.el (jka-compr-call-process):
5802 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5803 not remote.
5804
a032a702
MA
58052012-03-01 Michael Albinus <michael.albinus@gmx.de>
5806
5807 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5808 access of FILE2, if FILE1 does not exist.
5809
99a54f21
MA
5810 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5811 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5812
5813 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5814 Add "PAGER=" to `process-environment'.
5815
f6561e1f
MM
58162012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5817
5818 * progmodes/sql.el: Bug fix
5819 (sql-get-login-ext): Save login values in globals.
5820 (sql-get-login): Use new version of `sql-get-login-ext'.
5821 (sql-interactive-mode): Set global `sql-connection' to nil.
5822 (sql-connect): Set global values for connection.
5823 (sql-product-interactive): Save global values as buffer local.
5824
2d44d9cc
LL
58252012-02-29 Leo Liu <sdl.web@gmail.com>
5826
5827 * abbrev.el (define-abbrevs): Reset sys to nil.
5828
96b49301 58292012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5830
bf7f9bc5
JB
5831 * files.el (file-equal-p): Rename from `files-equal-p'.
5832 Return nil when one or both files don't exist.
96b49301 5833 (file-subdir-of-p): Now only top directory must exists,
5834 return nil if it doesn't.
bf7f9bc5
JB
5835 (copy-directory): No need to test with `file-subdir-of-p' after
5836 creating dir.
5837 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5838 to `file-equal-p'.
96b49301 5839
44e97401
GM
58402012-02-28 Glenn Morris <rgm@gnu.org>
5841
5842 * shell.el (shell-mode):
5843 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5844 * play/landmark.el (landmark-font-lock-face-O):
5845 * play/handwrite.el (handwrite):
5846 * play/gomoku.el (gomoku-O):
5847 * net/browse-url.el (browse-url-browser-display):
5848 * international/mule.el (define-charset):
5849 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5850 * filesets.el (filesets-find-file-delay):
5851 * eshell/em-xtra.el (eshell-xtra):
5852 * eshell/em-unix.el (eshell-grep):
5853 * emulation/viper.el (viper-mode):
5854 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5855 * emacs-lisp/easymenu.el (easy-menu-define):
5856 * calendar/timeclock.el (timeclock-use-display-time):
5857 * bs.el (bs-mode):
5858 * bookmark.el (bookmark-save-flag):
5859 Doc fix (standardize possessive apostrophe usage).
5860
c98c6276
CY
58612012-02-27 Chong Yidong <cyd@gnu.org>
5862
bf7f9bc5
JB
5863 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5864 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5865
c98c6276
CY
5866 * font-lock.el (font-lock-specified-p): Rename from
5867 font-lock-spec-present. Callers changed.
5868
9c62cd04 58692012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5870
bf7f9bc5
JB
5871 * emacs-lisp/package.el (package-compute-transaction):
5872 Handle holding a package version to t in package-load-list.
8ac9e529 5873
530739c9
MA
58742012-02-26 Michael Albinus <michael.albinus@gmx.de>
5875
5876 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5877 (tramp-get-inode, tramp-get-device): Use cached values.
5878
487915d7
AM
58792012-02-26 Alan Mackenzie <acm@muc.de>
5880
5881 Check there is a font-lock specification before doing initial
5882 fontification.
5883
5884 * font-core.el (font-lock-mode): Move the conditional from
5885 :after-hook to font-lock-initial-fontify.
5886 (font-lock-default-function): Move the check for a specification
5887 to font-lock-spec-present.
5888
dc9924b8 5889 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5890 (font-lock-spec-present): New function.
5891
4fd96557
JB
58922012-02-26 Jim Blandy <jimb@red-bean.com>
5893
5894 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5895 (gdb-send): Apply it to the operand of the '-interpreter-exec
5896 console' command, so that we can pass arguments with (say) quotes
5897 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5898
9a4888c0
CY
58992012-02-26 Chong Yidong <cyd@gnu.org>
5900
07498861
CY
5901 * help-fns.el (describe-function-1): Clarify description of
5902 remapping (Bug#10844).
5903
9a4888c0
CY
5904 * files.el (files-equal-p): Doc fix.
5905 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5906 and quit the loop once a mismatch is found.
5907
ea8fb88d
JB
59082012-02-25 Juanma Barranquero <lekktu@gmail.com>
5909
5910 * bs.el (bs--show-with-configuration): Don't throw an error
5911 if the window cannot be split; otherwise, subsequent calls to
5912 bs-show fail, restoring a stale window config. (Bug#10882)
5913
525795c1
JD
59142012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5915
5916 * term/ns-win.el (global-map): Bind ns-drag-file to
5917 ns-find-file (Bug#5855, Bug#10050).
5918
f008086f
AS
59192012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5920
5921 * calendar/parse-time.el (parse-time-string): Allow extractor to
5922 return nil.
5923
a3fcfa99
MA
59242012-02-25 Michael Albinus <michael.albinus@gmx.de>
5925
91027d08
JB
5926 * net/tramp.el (tramp-file-name-for-operation):
5927 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5928
5929 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5930 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5931 Add COPY-CONTENTS argument.
a3fcfa99 5932
67b0de11
CY
59332012-02-25 Chong Yidong <cyd@gnu.org>
5934
5935 Add custom groups for VC backends, for consistency with vc-bzr.
5936
5937 * vc/vc-arch.el (vc-arch):
5938 * vc/vc-cvs.el (vc-cvs):
5939 * vc/vc-git.el (vc-git):
5940 * vc/vc-hg.el (vc-hg):
5941 * vc/vc-mtn.el (vc-mtn):
5942 * vc/vc-rcs.el (vc-rcs):
5943 * vc/vc-sccs.el (vc-sccs):
5944 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5945 All relevant defcustoms reassigned.
5946
3c9dfce6
CY
59472012-02-25 Chong Yidong <cyd@gnu.org>
5948
1339bf43
CY
5949 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5950
3c9dfce6
CY
5951 * term/x-win.el (x-initialize-window-system): Reduce default for
5952 x-selection-timeout to 5 seconds (Bug#8869).
5953
25b2e303 59542012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5955
ec70a47d
GM
5956 * files.el (files-equal-p, file-subdir-of-p): New functions.
5957 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5958 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5959 * dired-aux.el (dired-copy-file-recursive): Same.
5960 (dired-create-files): Modify destination when source is equal to
5961 dest when copying files.
53a46cd0 5962 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5963
914260cd
MA
59642012-02-24 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5967 (Bug#10874)
5968
2cb228f7
AM
59692012-02-23 Alan Mackenzie <acm@muc.de>
5970
5971 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5972 parameter "after-hook:" to allow the expansion to run code after
5973 the execution of the mode hooks.
5974
5975 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5976 from font-lock-mode-internal.
2cb228f7 5977
91027d08 5978 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5979 :after-hook.
5980
8f0fde21
SM
59812012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5982
3e88618b
SM
5983 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5984 (completion--cache-all-sorted-completions): New function.
5985 (completion-all-sorted-completions): Use it.
5986 (completion--do-completion, minibuffer-force-complete):
5987 Use it to re-instate the flush hook.
5988
8f0fde21
SM
5989 * icomplete.el (icomplete-completions): Replace last fix with a better
5990 one (bug#10850).
5991
8e911f6f
DG
59922012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5993
5994 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5995 when it might call us back infinitely (bug#10797).
5996
49fe4321
GM
59972012-02-23 Glenn Morris <rgm@gnu.org>
5998
5999 * minibuffer.el (completion-category-overrides): Doc fix.
6000
b291b572
SM
60012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6002
6003 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6004 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6005
31a9ef2e
GM
60062012-02-23 Glenn Morris <rgm@gnu.org>
6007
5e6e6794 6008 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6009 (authors-obsolete-files-regexps, authors-ignored-files)
6010 (authors-ambiguous-files, authors-renamed-files-alist):
6011 Add more entries.
6012
0bd1e074
JL
60132012-02-23 Juri Linkov <juri@jurta.org>
6014
6015 * isearch.el (isearch-occur): Sync interactive spec with occur's
6016 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6017
b617673c
JL
6018 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6019
19e9789e
JL
60202012-02-22 Juri Linkov <juri@jurta.org>
6021
6022 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6023 (ucs-insert): Doc fix. Check for hex digits in the string.
6024 Don't display `nil' in the error message. (Bug#10857)
6025
f41ce09d
AM
60262012-02-22 Alan Mackenzie <acm@muc.de>
6027
7a71b18d 6028 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6029
ac2eceee
GM
60302012-02-22 Glenn Morris <rgm@gnu.org>
6031
6032 * ffap.el (ffap-c-path):
6033 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6034
abd1f678
CY
60352012-02-22 Chong Yidong <cyd@gnu.org>
6036
6037 * custom.el (load-theme): Doc fix.
6038
f25aef2e
GM
60392012-02-22 Glenn Morris <rgm@gnu.org>
6040
6041 * dired-x.el (dired-guess-shell-alist-default):
6042 Remove escape sequences from nroff output. (Bug#172)
6043
5f8dc2ca
GM
60442012-02-21 Glenn Morris <rgm@gnu.org>
6045
6ff86ec4
GM
6046 * vc/emerge.el (emerge-defvar-local):
6047 Set `permanent-local' property rather than unused `preserved'.
6048
be3223a3 6049 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6050 (picture-mode-map): Use it. (Bug#10860)
6051 (picture-mode): Doc fix.
6052
3fe58f4f
JB
60532012-02-21 Juanma Barranquero <lekktu@gmail.com>
6054
6055 * newcomment.el (uncomment-region-default): Remove unused binding.
6056
f9a998c3
GM
60572012-02-21 Glenn Morris <rgm@gnu.org>
6058
6059 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6060 (picture-self-insert, picture-tab-chars): Doc fix.
6061 (picture-mode-map): Fix C-a, C-e.
6062
c6029348
GM
60632012-02-20 Glenn Morris <rgm@gnu.org>
6064
6065 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6066
ab1ce9d7
LL
60672012-02-20 Leo Liu <sdl.web@gmail.com>
6068
6069 * icomplete.el (icomplete-completions): Check FROM arg before
6070 passing to substring (Bug#10850).
6071
0fd40f89
CY
60722012-02-19 Chong Yidong <cyd@gnu.org>
6073
6074 * comint.el: Require ansi-color.
6075 (comint-output-filter-functions): Add ansi-color-process-output.
6076
6077 * ansi-color.el: Don't set comint-output-filter-functions; it is
6078 now in the initial value defined in comint.el.
6079 (ansi-color-apply-face-function): New variable.
6080 (ansi-color-apply-on-region): Use it.
6081 (ansi-color-apply-overlay-face): New function.
6082
6083 * shell.el (shell): No need to require ansi-color.
6084 (shell-mode): Use ansi-color-apply-face-function to highlight
6085 color escapes using font-lock-face property (Bug#10835).
6086
20af2394
CY
60872012-02-19 Chong Yidong <cyd@gnu.org>
6088
6089 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6090 mode-line formats (Bug#10839).
6091
e23a3fbe
GM
60922012-02-18 Glenn Morris <rgm@gnu.org>
6093
b474519e
GM
6094 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6095
6096 * mail/undigest.el (unforward-rmail-message): Doc fix.
6097
e23a3fbe
GM
6098 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6099
57939ff4
EZ
61002012-02-18 Eli Zaretskii <eliz@gnu.org>
6101
6102 * international/characters.el (script-list): Sync with the latest
6103 Unicode Character Database.
6104
0c23686e
AS
61052012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6106
6107 * international/titdic-cnv.el: Remove duplicate coding tag.
6108 * language/cham.el: Likewise.
6109 * language/tai-viet.el: Likewise.
6110
6818b449
GM
61112012-02-18 Glenn Morris <rgm@gnu.org>
6112
6113 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6114 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6115 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6116 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6117 * calendar/holidays.el (holiday-bahai-holidays)
6118 (calendar-holidays, list-holidays):
6119 Use utf-8 Bahá'í in doc-strings, menus, etc.
6120
0311a3fc
TH
61212012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6122
6123 * saveplace.el (save-place-ignore-files-regexp): New variable
6124 allowing for excluding files from saving their location of point.
6125 The default value matches the temporary commit message editing
6126 files from Git, SVN, Bazaar, and Mercurial.
6127 (save-place-to-alist): Use it.
6128
d209e2fb 61292012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
6130 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * newcomment.el (uncomment-region-default): Don't leave extra space
6133 when an arg is provided (bug#8150).
6134
ee0ce425
TZ
61352012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6136
eb864a71 6137 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6138
95ddf442
GM
61392012-02-17 Glenn Morris <rgm@gnu.org>
6140
6141 * net/socks.el: Require network-stream. (Bug#10599)
6142
48dd1e39 61432012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6144
6145 * international/charprop.el:
6146 * international/uni-name.el:
6147 * international/uni-old-name.el:
6148 * international/uni-comment.el: Regenerate.
6149
d68cd087
GM
61502012-02-16 Glenn Morris <rgm@gnu.org>
6151
6152 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6153 Interactively in calendar buffer, give an error if not on a date.
6154
13932042
GM
61552012-02-15 Glenn Morris <rgm@gnu.org>
6156
6157 * shell.el (shell-delimiter-argument-list):
6158 Revert 2011-02-17 change. (Bug#8027)
6159
c3a70e2b
CY
61602012-02-15 Chong Yidong <cyd@gnu.org>
6161
60236b0d
CY
6162 * minibuffer.el (completion-at-point-functions): Doc fix.
6163
c3a70e2b
CY
6164 * custom.el (defcustom): Doc fix; note use of defvar.
6165
9f26dc24
GM
61662012-02-15 Glenn Morris <rgm@gnu.org>
6167
6168 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6169 Doc fixes.
6170
6546b134
GM
61712012-02-14 Glenn Morris <rgm@gnu.org>
6172
6173 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6174
d29b2b4c
LI
61752012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6176
6177 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6178 way the ports list is computed.
835bdcba
LI
6179 (smtpmail-query-smtp-server): Prompt the user for a port number if
6180 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6181
08dcdbc9
TZ
61822012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6183
6184 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6185
2605051a
GM
61862012-02-13 Glenn Morris <rgm@gnu.org>
6187
6188 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6189
7ee99f32
TZ
61902012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6191
6192 * net/gnutls.el (gnutls-trustfiles): New variable.
6193 (gnutls-negotiate): Use it.
6194
5f0af64f
LI
61952012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6196
6197 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6198 does its stuff if Gnus is running.
6199
c14fcc95
AM
62002012-02-13 Alan Mackenzie <acm@muc.de>
6201
6202 Fix a loop in c-set-fl-decl-start.
6203
7a71b18d 6204 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6205 c-backward-syntactic-ws actually moves backwards.
6206
142b4d90
LL
62072012-02-13 Leo Liu <sdl.web@gmail.com>
6208
6209 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6210 beginning so that all \C-o chars are removed.
6211
fa9958a6
TZ
62122012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6213
dc9924b8 6214 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6215
0bc5886a
AM
62162012-02-12 Alan Mackenzie <acm@muc.de>
6217
6218 Fix infinite loop with long macros.
4d6769e1 6219 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6220
d4bd55e7
CY
62212012-02-12 Chong Yidong <cyd@gnu.org>
6222
6223 * window.el (display-buffer): Doc fix (Bug#10785).
6224
66f3fe22
GM
62252012-02-12 Glenn Morris <rgm@gnu.org>
6226
bd7da63e
GM
6227 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6228 (x-disown-selection-internal, x-get-selection-internal):
6229 Sync docs with the xselect.c versions.
6230
66f3fe22
GM
6231 * allout-widgets.el: Add missing license notice.
6232
3e0d2fa7
GM
62332012-02-11 Glenn Morris <rgm@gnu.org>
6234
cfecdf09
GM
6235 * select.el (x-get-selection-internal, x-own-selection-internal)
6236 (x-disown-selection-internal):
6237 * x-dnd.el (x-get-selection-internal): Update declarations.
6238
6d216d7f
GM
6239 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6240
2bed3f04
GM
6241 * window.el (window-sides-slots):
6242 * tool-bar.el (tool-bar-position):
6243 * term/xterm.el (xterm-extra-capabilities):
6244 * ses.el (ses-self-reference-early-detection):
6245 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6246 (verilog-auto-wire-type)
6247 (verilog-auto-delete-trailing-whitespace)
6248 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6249 (verilog-auto-tieoff-declaration):
6250 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6251 (sql-oracle-statement-starters, sql-oracle-scan-on):
6252 * progmodes/prolog.el (prolog-align-comments-flag)
6253 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6254 (prolog-left-indent-regexp, prolog-paren-indent-p)
6255 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6256 (prolog-types, prolog-mode-specificators)
6257 (prolog-determinism-specificators, prolog-directives)
6258 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6259 (prolog-electric-dot-flag)
6260 (prolog-electric-dot-full-predicate-template)
6261 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6262 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6263 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6264 (prolog-program-switches, prolog-prompt-regexp)
6265 (prolog-debug-on-string, prolog-debug-off-string)
6266 (prolog-trace-on-string, prolog-trace-off-string)
6267 (prolog-zip-on-string, prolog-zip-off-string)
6268 (prolog-use-standard-consult-compile-method-flag)
6269 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6270 (prolog-imenu-max-lines, prolog-info-predicate-index)
6271 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6272 (prolog-char-quote-workaround):
6273 * progmodes/cc-vars.el (c-defun-tactic):
6274 * net/tramp.el (tramp-encoding-command-interactive)
6275 (tramp-local-end-of-line):
6276 * net/soap-client.el (soap-client):
6277 * net/netrc.el (netrc-file):
6278 * net/gnutls.el (gnutls):
6279 * minibuffer.el (completion-category-overrides)
6280 (completion-cycle-threshold)
6281 (completion-pcm-complete-word-inserts-delimiters):
6282 * man.el (Man-name-local-regexp):
6283 * mail/feedmail.el (feedmail-display-full-frame):
6284 * international/characters.el (glyphless-char-display-control):
6285 * eshell/em-ls.el (eshell-ls-date-format):
6286 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6287 (lisp-lambda-list-keyword-parameter-indentation)
6288 (lisp-lambda-list-keyword-parameter-alignment):
6289 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6290 * dired-x.el (dired-omit-verbose):
6291 * cus-theme.el (custom-theme-allow-multiple-selections):
6292 * calc/calc.el (calc-highlight-selections-with-faces)
6293 (calc-lu-field-reference, calc-lu-power-reference)
6294 (calc-note-threshold):
6295 * battery.el (battery-mode-line-limit):
6296 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6297 (archive-7z-update):
6298 * allout.el (allout-prefixed-keybindings)
6299 (allout-unprefixed-keybindings)
6300 (allout-inhibit-auto-fill-on-headline)
6301 (allout-flattened-numbering-abbreviation):
6302 * allout-widgets.el (allout-widgets-auto-activation)
6303 (allout-widgets-icons-dark-subdir)
6304 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6305 (allout-widgets-theme-dark-background)
6306 (allout-widgets-theme-light-background)
6307 (allout-widgets-item-image-properties-emacs)
6308 (allout-widgets-item-image-properties-xemacs)
6309 (allout-widgets-run-unit-tests-on-load)
6310 (allout-widgets-time-decoration-activity)
6311 (allout-widgets-hook-error-post-time)
6312 (allout-widgets-track-decoration):
6313 Add missing :version tags to new defcustoms and defgroups.
6314
5fec1b8e
GM
6315 * progmodes/sql.el (sql-ansi-statement-starters)
6316 (sql-oracle-statement-starters): Add custom type.
6317
3e0d2fa7
GM
6318 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6319 (prolog-system-version): Give it a type.
6320
90b671e2
EZ
63212012-02-11 Eli Zaretskii <eliz@gnu.org>
6322
6323 * term/pc-win.el (x-select-text, x-selection-owner-p)
6324 (x-own-selection-internal, x-disown-selection-internal)
6325 (x-get-selection-internal): Sync doc strings and argument lists
6326 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6327
5eac0c02
LL
63282012-02-11 Leo Liu <sdl.web@gmail.com>
6329
6330 * progmodes/python.el (python-end-of-statement): Fix infinite
6331 loop. (Bug#10788)
6332
f82cb659
GM
63332012-02-10 Glenn Morris <rgm@gnu.org>
6334
6335 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6336 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6337
cc26d239
LI
63382012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6339
6340 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6341 about SMTP before checking the From header.
6342
91027d08 6343 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6344 into own function for reuse by emacsbug.el.
6345
1be3ca5a
LL
63462012-02-10 Leo Liu <sdl.web@gmail.com>
6347
6348 * subr.el (condition-case-unless-debug): Rename from
6349 condition-case-no-debug. All callers changed.
6350 (with-demoted-errors): Fix caller.
6351
6352 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6353 * nxml/rng-valid.el (rng-do-some-validation):
6354 * emacs-lisp/package.el (package-refresh-contents)
6355 (package-menu-execute):
6356 * desktop.el (desktop-create-buffer):
91027d08 6357 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6358
b011fbfe
GM
63592012-02-10 Glenn Morris <rgm@gnu.org>
6360
b2096d72
GM
6361 * textmodes/bibtex.el:
6362 Add missing :version tags for new/changed defcustoms.
6363
b011fbfe
GM
6364 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6365
4c7e65bf
LI
63662012-02-09 Lars Ingebrigtsen <larsi@rusty>
6367
6368 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6369 (smtpmail-via-smtp): Use it, or fall back on the From address.
6370 (smtpmail-send-it): Ditto.
6371
f3934f6f
SM
63722012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6375 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6376 (byte-compile-tmp-var): New const.
6377 (byte-compile-defvar): Use it to minimize .elc size.
6378 Just use `defvar' rather than simulate it (bug#10761).
6379
a075a2c5
GM
63802012-02-09 Glenn Morris <rgm@gnu.org>
6381
cf3aa21b
GM
6382 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6383
354998cd
GM
6384 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6385 Add :version tags.
6386
dc9924b8
SM
6387 * progmodes/compile.el (compilation-error-screen-columns)
6388 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6389
dab3703d
GM
6390 * vc/log-view.el (log-view-toggle-entry-display):
6391 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6392
3f88cd72
GM
6393 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6394 (report-emacs-bug-can-use-xdg-email):
6395 (report-emacs-bug-insert-to-mailer): Doc fixes.
6396 (report-emacs-bug): Message fix.
6397
d95b247d
GM
6398 * net/browse-url.el (browse-url-can-use-xdg-open)
6399 (browse-url-xdg-open): Doc fixes.
6400
a075a2c5
GM
6401 * electric.el (electric-indent-mode, electric-pair-mode)
6402 (electric-layout-rules, electric-layout-mode): Doc fixes.
6403 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6404
ffb6157e
MR
64052012-02-08 Martin Rudalics <rudalics@gmx.at>
6406
6407 * server.el (server-unselect-display): Don't inadvertently kill
6408 the current buffer. (Bug#10729)
6409
e1ac4066
GM
64102012-02-08 Glenn Morris <rgm@gnu.org>
6411
34e8a2da
GM
6412 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6413 (sql-list-table): Doc fixes.
6414
b4ac6e8c
GM
6415 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6416 Comment out (does nothing).
6417
e1ac4066
GM
6418 * completion.el (dynamic-completion-mode):
6419 * dirtrack.el (dirtrack-debug-mode):
6420 * electric.el (electric-layout-mode):
6421 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6422 * face-remap.el (text-scale-mode, buffer-face-mode):
6423 * iimage.el (iimage-mode):
6424 * image-mode.el (image-transform-mode):
6425 * minibuffer.el (completion-in-region-mode):
6426 * scroll-lock.el (scroll-lock-mode):
6427 * simple.el (next-error-follow-minor-mode):
6428 * tar-mode.el (tar-subfile-mode):
6429 * tooltip.el (tooltip-mode):
6430 * vcursor.el (vcursor-use-vcursor-map):
6431 * wid-browse.el (widget-minor-mode):
6432 * emulation/tpu-edt.el (tpu-edt-mode):
6433 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6434 * international/iso-ascii.el (iso-ascii-mode):
6435 * language/thai-util.el (thai-word-mode):
6436 * mail/supercite.el (sc-minor-mode):
6437 * net/goto-addr.el (goto-address-mode):
6438 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6439 * progmodes/cwarn.el (cwarn-mode):
6440 * progmodes/flymake.el (flymake-mode):
6441 * progmodes/glasses.el (glasses-mode):
6442 * progmodes/hideshow.el (hs-minor-mode):
6443 * progmodes/pascal.el (pascal-outline-mode):
6444 * textmodes/enriched.el (enriched-mode):
6445 * vc/smerge-mode.el (smerge-mode):
6446 Doc fixes (minor mode argument).
6447
5e0d957f
EZ
64482012-02-07 Eli Zaretskii <eliz@gnu.org>
6449
6450 * ls-lisp.el (ls-lisp-sanitize): New function.
6451 (ls-lisp-insert-directory): Use it to fix or remove any elements
6452 in file-alist with missing attributes. (Bug#4673)
6453
98d7371e
AM
64542012-02-07 Alan Mackenzie <acm@muc.de>
6455
6456 Fix spurious recognition of c-in-knr-argdecl.
6457
6458 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6459 putative K&R region.
6460
667ced3a
AM
64612012-02-07 Alan Mackenzie <acm@muc.de>
6462
eb864a71
LM
6463 * progmodes/cc-engine.el (c-forward-objc-directive):
6464 Prevent looping in "#pragma mark @implementation".
667ced3a 6465
5b77774d
MA
64662012-02-07 Michael Albinus <michael.albinus@gmx.de>
6467
6468 * notifications.el (notifications-on-closed-signal): Make `reason'
6469 optional. (Bug#10744)
6470
af008560
GM
64712012-02-07 Glenn Morris <rgm@gnu.org>
6472
60d47423
GM
6473 * emacs-lisp/easy-mmode.el (define-minor-mode):
6474 Doc fixes for the macro and the mode it defines.
6475
dd605cc4
GM
6476 * image.el (imagemagick-types-inhibit): Doc fix.
6477
af008560
GM
6478 * cus-start.el (imagemagick-render-type): Add it.
6479
5cc59a37
LI
64802012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6481
4d6769e1
JB
6482 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6483 Set the default at load time, too, so that `font-lock-fontify-buffer'
6484 can be called without setting up the entire mode first. This fixes
6485 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6486
9a6dd747
CY
64872012-02-06 Chong Yidong <cyd@gnu.org>
6488
2d16b285
CY
6489 * simple.el (list-processes--refresh): Delete exited processes
6490 (Bug#8094).
6491
171e9b6e
CY
6492 * comint.el (comint-next-prompt): next-single-char-property-change
6493 and prev-single-char-property-change never return nil (Bug#8657).
6494
9a6dd747
CY
6495 * custom.el (defcustom): Doc fix (Bug#9711).
6496
aa4589a7
CY
64972012-02-05 Chong Yidong <cyd@gnu.org>
6498
5c2a252f
CY
6499 * cus-edit.el (custom-variable-reset-backup): Quote the value
6500 before storing it in the customized-value property (Bug#6712).
4aab9006 6501 (custom-display): Add a customization type tag.
983b9602 6502 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6503
aa4589a7
CY
6504 * wid-edit.el (widget-field-value-get): New optional arg to
6505 suppress trailing whitespace truncation.
6506 (character): Use it (Bug#2689).
6507
1ff980ae
AS
65082012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6509
6510 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6511 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6512
03988c98
CY
65132012-02-05 Chong Yidong <cyd@gnu.org>
6514
eeb6cc88
CY
6515 * cus-edit.el (custom-variable-value-create): For mismatched
6516 types, show the current value (Bug#7600).
6517
03988c98
CY
6518 * custom.el (defcustom): Doc fix.
6519
f8cdeef0
GM
65202012-02-05 Glenn Morris <rgm@gnu.org>
6521
6522 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6523
0696d255
JB
65242012-02-05 Juanma Barranquero <lekktu@gmail.com>
6525
6526 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6527 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6528 (pp-last-sexp): Use `looking-at-p'.
6529
34c99998
GM
65302012-02-04 Glenn Morris <rgm@gnu.org>
6531
8f05da42
GM
6532 * files.el (revert-buffer):
6533 Doc fix (mention revert-buffer-in-progress-p).
6534
f160676e
GM
6535 * emacs-lisp/ert-x.el (ert-simulate-command):
6536 Check deferred-action-list (which is obsolete) is bound.
6537
c7291ad9
GM
6538 * subr.el (with-wrapper-hook): Doc fixes.
6539
34c99998
GM
6540 * simple.el (filter-buffer-substring-functions)
6541 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6542
6283a7d3
LL
65432012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6544
6545 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6546 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6547
e96e3013
LL
65482012-02-04 Leo Liu <sdl.web@gmail.com>
6549
6550 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6551
8ded50f2
GM
65522012-02-04 Glenn Morris <rgm@gnu.org>
6553
82ff1d13
GM
6554 * image.el (image-extension-data): Add obsolete alias.
6555
987a0a16
GM
6556 * isearch.el (isearch-update): Doc fix.
6557
ea32ef46
GM
6558 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6559
8ded50f2
GM
6560 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6561
eea14f31
GM
65622012-02-03 Glenn Morris <rgm@gnu.org>
6563
6564 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6565 (image-animate-timeout): Doc fix.
6566
6567 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6568
12f381b7
GM
65692012-02-02 Glenn Morris <rgm@gnu.org>
6570
953cebf5
GM
6571 * server.el (server-auth-dir): Doc fix.
6572 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6573
12f381b7
GM
6574 * subr.el (run-mode-hooks): Doc fix.
6575
953a8c3b
JL
65762012-02-02 Juri Linkov <juri@jurta.org>
6577
6578 * image-mode.el (image-toggle-display-image): Remove tautological
6579 `major-mode' from the `derived-mode-p' test.
6580
c5d3843c
KH
65812012-02-02 Kenichi Handa <handa@m17n.org>
6582
9f6e692e 6583 * composite.el (compose-region): Cancel previous change.
c5d3843c 6584
159462d4 65852012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6586
6587 * composite.el (compose-region, compose-string): Signal error for
6588 a null string component (Bug#6988).
6589
9f562668
CY
65902012-02-01 Chong Yidong <cyd@gnu.org>
6591
e2cef717
CY
6592 * view.el (view-buffer-other-window, view-buffer-other-frame):
6593 Handle special modes like view-buffer (Bug#10650).
6594 (view-buffer): Simplify.
6595
9f562668
CY
6596 * frame.el (set-frame-font): Tweak meaning of third argument.
6597
9f6e692e
JB
6598 * dynamic-setting.el (font-setting-change-default-font):
6599 Use set-frame-font (Bug#9982).
9f562668 6600
781acb9f
GM
66012012-02-01 Glenn Morris <rgm@gnu.org>
6602
6035be52
GM
6603 * progmodes/compile.el (compilation-internal-error-properties):
6604 Respect compilation-first-column in the "*compilation*" buffer.
6605
781acb9f
GM
6606 * emacs-lisp/easy-mmode.el (define-minor-mode):
6607 Relax :variable's test for a named function.
6608
abbceb00
AM
66092012-01-31 Alan Mackenzie <acm@muc.de>
6610
6611 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6612 off by one error.
6613
fce3fdeb
CY
66142012-01-31 Chong Yidong <cyd@gnu.org>
6615
6616 * frame.el (set-frame-font): New arg ALL-FRAMES.
6617
6618 * menu-bar.el (menu-set-font): Use set-frame-font.
6619
6620 * faces.el (face-spec-reset-face): Don't apply unspecified
6621 attribute values to the default face.
6622
47893581
JB
66232012-01-31 Juanma Barranquero <lekktu@gmail.com>
6624
6625 * progmodes/cwarn.el (cwarn): Remove dead link.
6626 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6627 Remove * from defcustom docstrings.
6628 (turn-on-cwarn-mode): Make obsolete.
6629 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6630 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6631
e58e988a
GM
66322012-01-31 Glenn Morris <rgm@gnu.org>
6633
60dc2671 6634 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6635 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6636 Allow named functions to be used as the cdr of :variable.
e58e988a 6637
7a3f511d
GM
66382012-01-30 Glenn Morris <rgm@gnu.org>
6639
6640 * emacs-lisp/authors.el (authors-fixed-entries):
6641 Remove reference to deleted file rnewspost.el.
6642
cb882333
JB
66432012-01-29 Juanma Barranquero <lekktu@gmail.com>
6644
6645 * window.el (window-with-parameter): Remove unused variable `windows'.
6646 (window--side-check): Remove unused variable `code'.
6647 (window--resize-siblings): Remove unused variable `first'.
6648 (adjust-window-trailing-edge): Remove unused variable `failed'.
6649 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6650 Use `let', not `let*'.
6651 (balance-windows-2): Remove unused variable `found'.
6652 (window--state-put-2): Remove unused variable `splits'.
6653 (window-state-put): Remove unused variable `selected'.
6654 (same-window-p): Use `string-match-p'.
6655 (display-buffer-assq-regexp): Remove unused variable `value'.
6656 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6657 Mark argument ALIST as ignored.
6658 (pop-to-buffer): Remove unused variable `old-window'.
6659
907201af
EZ
66602012-01-29 Eli Zaretskii <eliz@gnu.org>
6661
6662 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6663 and .lzma compressed files.
6664
ea162670
CY
66652012-01-29 Chong Yidong <cyd@gnu.org>
6666
5b95ee8a
CY
6667 * frame.el (window-system-default-frame-alist): Doc fix.
6668
ea162670
CY
6669 * dynamic-setting.el (font-setting-change-default-font): Don't
6670 change the default face if SET-FONT argument is non-nil (Bug#9982).
6671
d6e6f4b1
SB
66722012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6673
6674 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6675
0f29fa41 66762012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6677
6678 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6679 breakpoints in files outside current directory (Bug#6098).
6680
db174434
CY
66812012-01-29 Chong Yidong <cyd@gnu.org>
6682
6b25e4e2
SE
6683 * progmodes/python.el: Require ansi-color at top-level.
6684
6df6ae42
JB
6685 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6686 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6687 (lisp-mode-abbrev-table): Add doc.
6688 (lisp-mode-variables): Don't set local-abbrev-table.
6689 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6690
e70ee681
RW
66912012-01-28 Roland Winkler <winkler@gnu.org>
6692
6693 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6694
ace88aa2
RW
66952012-01-28 Roland Winkler <winkler@gnu.org>
6696
6697 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6698 (bibtex-set-dialect): Use it. Either set global values of
6699 dialect-dependent variables or bind these variables buffer-locally
6700 (Bug#10254).
6701 (bibtex-mode): Call bibtex-set-dialect via
6702 hack-local-variables-hook.
eb864a71
LM
6703 (bibtex-dialect): Update docstring.
6704 Add safe-local-variable predicate.
ace88aa2
RW
6705 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6706 bibtex-set-dialect.
6707 (bibtex-mode-map): Define menu for each dialect.
6708 (bibtex-entry): Fix docstring.
6709
93376c5b
CY
67102012-01-28 Chong Yidong <cyd@gnu.org>
6711
6712 * eshell/esh-arg.el (eshell-quote-argument): New function.
6713
6714 * eshell/esh-ext.el (eshell-invoke-batch-file):
6715 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6716 first arg to eshell-parse-command (Bug#10523).
6717
4372494f
DA
67182012-01-28 Drew Adams <drew.adams@oracle.com>
6719
6720 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6721 `default-directory' is non-nil.
6722
4d4ec1f8
EZ
67232012-01-28 Eli Zaretskii <eliz@gnu.org>
6724
6725 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6726 line that displays system-configuration-options. (Bug#9924)
6727
7c188927
DA
67282012-01-28 Drew Adams <drew.adams@oracle.com>
6729
6730 * descr-text.el (describe-char): Show information about POS, in
6731 addition to information about the character at POS. Improve and
6732 update the doc string. Change "code point" to "code point in
6733 charset", to avoid confusion with the character's Unicode code
6734 point shown above that. (Bug#10129)
6735
e0da685a
EZ
67362012-01-28 Eli Zaretskii <eliz@gnu.org>
6737
6738 * descr-text.el (describe-char): Show the raw character, not only
6739 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6740 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6741 for the reasons.
6742
70550acf
PH
67432012-01-28 Phil Hagelberg <phil@hagelb.org>
6744
eb864a71
LM
6745 * emacs-lisp/package.el (package-install):
6746 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6747
0ce8e868
CY
67482012-01-28 Chong Yidong <cyd@gnu.org>
6749
cb882333
JB
6750 * emacs-lisp/package.el (package-maybe-load-descriptor):
6751 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6752 (package-maybe-load-descriptor): Use it.
6753 (package-download-transaction): Fully load required packages
6754 inside the loop, so that `require' calls work (Bug#10593).
6755 (package-install): No need to call package-initialize now.
6756
2e7f3bea
CY
67572012-01-28 Chong Yidong <cyd@gnu.org>
6758
6e9bad14
CY
6759 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6760
f823b8ca
CY
6761 * tooltip.el (tooltip-mode): Doc fix.
6762 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6763
2680c309
CY
6764 * frame.el (set-cursor-color): Doc fix (Bug#352).
6765
d7a9e63b
CY
6766 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6767 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6768
2e7f3bea
CY
6769 * cus-edit.el (custom-buffer-create-internal): Fix search button
6770 action (Bug#10542).
2ae01800 6771 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6772
fc4f7a23
EW
67732012-01-27 Eduard Wiebe <usenet@pusto.de>
6774
6775 * dired.el (dired-mark-files-regexp):
6776 Include any subdirectory components. (Bug#10445)
6777
7dd37071
ML
67782012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6779
6780 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6781 Handle [host]:port syntax. (Bug#10533)
6782
a268160b
AH
67832012-01-27 Alex Harsanyi <harsanyi@mac.com>
6784
6785 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6786
e43273ef
GM
67872012-01-26 Glenn Morris <rgm@gnu.org>
6788
6789 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6790 * term.el (term-raw-escape-map): Use Control-X-prefix.
6791 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6792
1edf595d
MR
67932012-01-25 Martin Rudalics <rudalics@gmx.at>
6794
6795 * window.el (window-state-get, window--state-get-1): Don't deal
6796 with fixed-sizeness of windows. Simplify code.
6797
fa8eafef
JC
67982012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6799
6df6ae42
JB
6800 * window.el (window--state-get-1, window--state-put-2):
6801 Don't save and restore the mark.
fa8eafef 6802
0b21c100
CY
68032012-01-25 Chong Yidong <cyd@gnu.org>
6804
6805 * custom.el (custom-variable-p): Doc fix.
6806
5ae1a6c8
GM
68072012-01-25 Glenn Morris <rgm@gnu.org>
6808
40047858
GM
6809 * dired.el (dired-goto-file): Handle some of the more common
6810 characters that `ls -b' escapes. (Bug#10596)
6811
5ddce96c
GM
6812 * progmodes/compile.el (compilation-next-error-function):
6813 Respect compilation-first-column in the "*compilation*" buffer.
6814 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6815
5ae1a6c8
GM
6816 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6817
b559f1a9
GM
68182012-01-24 Glenn Morris <rgm@gnu.org>
6819
6820 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6821
6725d21a
JD
68222012-01-24 Julien Danjou <julien@danjou.info>
6823
6824 * color.el (color-rgb-to-hsl): Fix value computing.
6825 (color-hue-to-rgb): New function.
6826 (color-hsl-to-rgb): New function.
6827 (color-clamp, color-saturate-hsl, color-saturate-name)
6828 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6829 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6830
70df4bbe
GM
68312012-01-24 Glenn Morris <rgm@gnu.org>
6832
6833 * vc/vc-rcs.el (vc-rcs-create-tag):
6834 * vc/vc-sccs.el (vc-sccs-create-tag):
6835 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6836
802a2ae2
ML
68372012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6838
6839 * eshell/esh-util.el (eshell-read-hosts-file):
6840 Skip comment lines. (Bug#10549)
6841
d7128bb1
ML
6842 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6843
d1a5c3b4
JB
68442012-01-23 Juanma Barranquero <lekktu@gmail.com>
6845
2724d9c7
JB
6846 * subr.el (display-delayed-warnings): Doc fix.
6847 (collapse-delayed-warnings): New function to collapse identical
6848 adjacent warnings.
6849 (delayed-warnings-hook): Add it.
d1a5c3b4 6850
a5509865
MA
68512012-01-22 Michael Albinus <michael.albinus@gmx.de>
6852
6853 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6854
a5509865
MA
6855 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6856 (tramp-default-user-alist): Don't add "pscp".
6857 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6858 property "login-as", if set. (Bug#10530)
6859
cc6d5805
MA
68602012-01-21 Michael Albinus <michael.albinus@gmx.de>
6861
6862 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6863 "plink1" and "psftp". (Bug#10530)
6864
68652012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6866
6867 * international/mule-cmds.el (prefer-coding-system): Show a
6868 warning message if the default value of file-name-coding-system
6869 was not changed.
6870
f0960428
JC
68712012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6872
cb882333
JB
6873 * windmove.el (windmove-reference-loc):
6874 Fix windmove-reference-loc miscalculation.
f0960428 6875
dd6f2a63
JB
68762012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6877
6878 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6879 default unit.
6880
7b447e9b
GM
68812012-01-21 Glenn Morris <rgm@gnu.org>
6882
117a9ea1
GM
6883 * international/mule.el (auto-coding-alist): Add .tbz.
6884
7b447e9b
GM
6885 * files.el (local-enable-local-variables): Doc fix.
6886 (inhibit-local-variables-regexps): Rename from
6887 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6888 Doc fix. Add some extensions from auto-coding-alist.
6889 (inhibit-local-variables-suffixes):
6890 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6891 (inhibit-local-variables-p):
6892 New function, extracted from set-auto-mode-1.
6893 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6894 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6895 (hack-local-variables): Doc fix. Make the mode-only case
6896 respect enable-local-variables and friends.
6897 Respect inhibit-local-variables-regexps for file-locals, but
6898 not for directory-locals.
6899 (set-visited-file-name):
6900 Take account of inhibit-local-variables-regexps.
6901 Whether it applies may change as the file name is changed.
6902 * jka-cmpr-hook.el (jka-compr-install):
6903 * jka-compr.el (jka-compr-uninstall):
6904 Update for inhibit-first-line-modes-suffixes name change.
6905
dd6e3cdd
MR
69062012-01-20 Martin Rudalics <rudalics@gmx.at>
6907
6908 * help-macro.el (make-help-screen): Temporarily restore original
6909 binding for minor-mode-map-alist (Bug#10454).
6910
0d0deb38
JD
69112012-01-19 Julien Danjou <julien@danjou.info>
6912
6913 * color.el (color-name-to-rgb): Use the white color to find the max
6914 color component value and return correctly computed values.
6915 (color-name-to-rgb): Add missing float conversion for max value.
6916
34a02f46
MR
69172012-01-19 Martin Rudalics <rudalics@gmx.at>
6918
6919 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6920 special state value for window-persistent-parameters.
6921 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6922 (window--state-put-2): Reset all window parameters to nil before
6923 assigning values of persistent parameters.
6924
606c44c4
AM
69252012-01-18 Alan Mackenzie <acm@muc.de>
6926
6927 Eliminate sluggishness and hangs in fontification of "semicolon
6928 deserts".
6929
cb882333
JB
6930 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6931 Change value 10000 -> 3000.
606c44c4
AM
6932 (c-state-safe-place): Reformulate so it doesn't stack up an
6933 infinite number of wrong entries in c-state-nonlit-pos-cache.
6934 (c-determine-limit-get-base, c-determine-limit): New functions to
6935 determine backward search limits disregarding literals.
6936 (c-find-decl-spots): Amend commenting.
6937 (c-cheap-inside-bracelist-p): New function which detects "={".
6938
6939 * progmodes/cc-fonts.el
6940 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6941 backward search.
6942 (c-font-lock-declarations): Fix an occurrence of point being
6943 undefined. Check additionally for point being in a bracelist or
6944 near a macro invocation without a semicolon so as to avoid a
6945 fruitless time consuming search for a declarator. Give a more
6946 precise search limit for declarators using the new
6947 c-determine-limit.
6948
f3860cea
GM
69492012-01-18 Glenn Morris <rgm@gnu.org>
6950
6951 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6952 (set-auto-mode): Doc fixes.
6953
1db03b16
GM
69542012-01-17 Glenn Morris <rgm@gnu.org>
6955
0e6038be
GM
6956 * isearch.el (search-nonincremental-instead): Fix doc typo.
6957
1db03b16
GM
6958 * dired.el (dired-insert-directory): Handle newlines in directory name.
6959 (dired-build-subdir-alist): Unescape newlines in directory name.
6960
4cb0aa75
MA
69612012-01-17 Michael Albinus <michael.albinus@gmx.de>
6962
6963 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6964 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6965 (tramp-action-terminal): Use it. (Bug#10530)
6966
1d00653d
SM
69672012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6970
6a6ee00d
MR
69712012-01-16 Martin Rudalics <rudalics@gmx.at>
6972
6973 * window.el (window-state-ignored-parameters): Remove variable.
6974 (window--state-get-1): Rename argument MARKERS to IGNORE.
6975 Handle persistent window parameters. Make copy of clone-of
6976 parameter only if requested. (Bug#10348)
6977 (window--state-put-2): Install a window parameter only if it has
6978 a non-nil value or an existing parameter shall be overwritten.
6979
97912def
MA
69802012-01-15 Michael Albinus <michael.albinus@gmx.de>
6981
6982 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6983
688070a5
EZ
69842012-01-14 Eli Zaretskii <eliz@gnu.org>
6985
6986 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6987 don't pass the (nil) value of `upnode' to string-match.
6988
301afadc
CY
69892012-01-14 Chong Yidong <cyd@gnu.org>
6990
6991 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6992 Fix values recognized by the cursorBlink resource.
301afadc 6993
9e5788aa
PE
69942012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6995
6996 * epg.el (epg--make-temp-file): Avoid permission race condition
6997 when running on old Emacs versions (bug#10403).
6998
3cdb7f5a
GM
69992012-01-14 Glenn Morris <rgm@gnu.org>
7000
7001 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7002
8c82b1b4
AM
70032012-01-13 Alan Mackenzie <acm@muc.de>
7004
7005 Fix filling for when filladapt mode is enabled.
7006
7007 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7008 c-mask-paragraph, pass in `fill-paragraph' rather than
7009 `fill-region-as-paragraph'. (This is a reversion of a previous
7010 change.)
eb864a71
LM
7011 * progmodes/cc-mode.el (c-basic-common-init):
7012 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7013
e517eda4
GM
70142012-01-13 Glenn Morris <rgm@gnu.org>
7015
1498536e
GM
7016 * dired.el (dired-switches-escape-p): New function.
7017 (dired-insert-directory): Use dired-switches-escape-p.
7018 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7019
e517eda4
GM
7020 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7021
328f984d
GM
70222012-01-12 Glenn Morris <rgm@gnu.org>
7023
7024 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7025 changes in adaptive-fill-regexp. (Bug#10276)
7026
2cc769a8
AM
70272012-01-11 Alan Mackenzie <acm@muc.de>
7028
7029 Fix Emacs bug #10463 - put `widen's around the critical spots.
7030
1d00653d 7031 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7032 widen around each invocation of c-state-pp-to-literal. Remove an
7033 unused let variable.
7034
e52c37fa
GM
70352012-01-11 Glenn Morris <rgm@gnu.org>
7036
7037 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7038 Doc fix.
e52c37fa 7039
96f8741e
CY
70402012-01-10 Chong Yidong <cyd@gnu.org>
7041
1d00653d
SM
7042 * net/network-stream.el (network-stream-open-starttls):
7043 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7044 response to the capability command.
7045
b09a806e
GM
70462012-01-10 Glenn Morris <rgm@gnu.org>
7047
7048 * mail/unrmail.el (unrmail): Tweak previous change.
7049
7655cb66
CY
70502012-01-09 Chong Yidong <cyd@gnu.org>
7051
7052 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7053
9d5a8f0b
AM
70542012-01-08 Alan Mackenzie <acm@muc.de>
7055
7056 Optimise font locking in long enum definitions.
7057
7058 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7059 arm to a cond form to handle enums.
7060 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7061 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7062
9a0115ab 70632012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7064
7065 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7066 (Bug#10401)
6bb72cbd 7067
f186bb95
LMI
70682012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7069
29232a68
LMI
7070 * faces.el (set-face-attribute): Clarify the meaning of the nil
7071 frame (bug#10294).
7072
4e5d086d
LMI
7073 * subr.el (with-selected-frame): Mention that the selected frame
7074 is restored (bug#9980).
7075
8e66aebe
LMI
7076 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7077 (bug#9759).
7078
cd394be1 7079 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7080 (password-read): Don't autoload unused function.
7081
adf4e762
JB
70822012-01-07 Juanma Barranquero <lekktu@gmail.com>
7083
7084 * progmodes/which-func.el (which-func-mode): Turn into a
7085 non-interactive function and mark as obsolete (bug#10428).
7086
89bd9ccd
CY
70872012-01-06 Chong Yidong <cyd@gnu.org>
7088
7089 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7090 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7091 functions, along with 1 and -1.
7092
4afee9d5
EZ
70932012-01-06 Eli Zaretskii <eliz@gnu.org>
7094
7095 * time.el (display-time-load-average)
7096 (display-time-default-load-average): Doc fixes. See the thread
7097 starting at
7098 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7099 for the details.
7100
536aea70
GM
71012012-01-06 Glenn Morris <rgm@gnu.org>
7102
665ae865
GM
7103 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7104 has no messages. (Bug#10377)
7105
c869783d
GM
7106 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7107 than Info-edit. (Bug#10385)
7108
2bb4227e
GM
7109 * time.el (display-time-load-average, display-time-next-load-average):
7110 Doc fixes.
7111
7d5944b9
GM
7112 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7113 local setting of buffer-read-only to the input buffer. (Bug#10419)
7114
536aea70
GM
7115 * calendar/calendar.el (calendar-mode):
7116 Locally set scroll-margin to 0. (Bug#10379)
7117
7dccca16
UM
71182012-01-06 Ulrich Mueller <ulm@gentoo.org>
7119
7120 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7121
afbb7930
GM
71222012-01-05 Glenn Morris <rgm@gnu.org>
7123
7124 * eshell/em-unix.el (diff-no-select): Autoload it.
7125 (eshell/diff): Use diff-no-select. (Bug#10420)
7126
04482335
CY
71272012-01-05 Chong Yidong <cyd@gnu.org>
7128
7baca3bc
CY
7129 * shell.el (shell-dynamic-complete-functions): Revert last change.
7130 (shell-command-completion-function): New function.
7131 (shell-completion-vars): Use it to implement
7132 shell-completion-execonly (Bug#10417).
7133
04482335
CY
7134 * custom.el (enable-theme): Don't set custom-safe-themes.
7135
1d00653d
SM
7136 * cus-theme.el (custom-theme-merge-theme):
7137 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7138
bb5aa5d6
MM
71392012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7140
7141 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7142 first prompt in `sql-interacive-mode'.
7143 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7144 keywords.
6df6ae42 7145 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7146 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7147 context of original buffer. Invoke `sql-login-hook'.
7148
a7183d7c
EZ
71492012-01-04 Eli Zaretskii <eliz@gnu.org>
7150
7151 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7152 letters in cite-prefix.
7153
a1eacd1e
LMI
71542012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7155
7156 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7157
787cdb34
CY
71582012-01-03 Chong Yidong <cyd@gnu.org>
7159
1d00653d
SM
7160 * shell.el (shell-dynamic-complete-functions):
7161 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7162 comint-filename-completion first (Bug#10417).
7163
30710442
RS
71642012-01-02 Richard Stallman <rms@gnu.org>
7165
7166 * battery.el (battery-status-function):
7167 Detect when to use battery-yeeloong-sysfs.
7168 (battery-echo-area-format): Add string for Yeeloong.
7169 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7170 (battery-yeeloong-sysfs): New function.
7171
f75bfc33
CY
71722012-01-02 Chong Yidong <cyd@gnu.org>
7173
7174 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7175 (dirtrack): Merge code for handling relative filenames in prompt
7176 from shell-dir-cookie-watcher.
7177 (dirtrack-debug-message): New arg to avoid excess format calls.
7178
7179 * shell.el (shell-dir-cookie-re): Variable deleted.
7180 (shell-dir-cookie-watcher): Function deleted.
7181 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7182 with dirtrack-mode.
7183
651e947e
EZ
71842012-01-01 Eli Zaretskii <eliz@gnu.org>
7185
1d00653d
SM
7186 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7187 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7188 libgnutls-26.dll.
7189
94d4c7dc
AS
71902011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7191
7192 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7193
8d43f3cd
EZ
71942011-12-31 Eli Zaretskii <eliz@gnu.org>
7195
7196 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7197 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7198
98c8795a
MA
71992011-12-29 Michael Albinus <michael.albinus@gmx.de>
7200
7201 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7202 also for alternative shells.
7203 (tramp-open-connection-setup-interactive-shell): Check, whether
7204 the shell is a busybox.
7205 (tramp-send-command): Don't suppress multiple prompts for
7206 busyboxes, it hurts.
7207
51281b32
CY
72082011-12-28 Chong Yidong <cyd@gnu.org>
7209
7210 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7211 (gdb-get-source-file): Move mode line update to
7212 gdb-get-source-file (Bug#10087).
7213
2170cb53
CY
72142011-12-25 Chong Yidong <cyd@gnu.org>
7215
7216 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7217 gud-gdb-marker-filter without taking it as an argument.
7218 (gud-gdb-run-command-fetch-lines): Caller changed.
7219 (gud-gdb-completion-function): New variable.
7220 (gud-gdb-completion-at-point): Use it.
7221 (gud-gdb-completions-1): Split from gud-gdb-completions.
7222
7223 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7224 function as separate arguments.
7225 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7226 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7227 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7228 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7229 (gdb-stopped, def-gdb-auto-update-trigger)
7230 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7231 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7232 Callers changed.
2170cb53
CY
7233 (gud-gdbmi-completions): New function.
7234 (gdb): Use it for generating the completion table.
7235
be8b11bb
AM
72362011-12-24 Alan Mackenzie <acm@muc.de>
7237
7238 Introduce a mechanism to widen the region used in context font
1d00653d 7239 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7240
1d00653d
SM
7241 * progmodes/cc-langs.el (c-before-font-lock-functions):
7242 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7243 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7244 functions to be run just before context (etc.) font locking.
7245
7246 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7247 New, functionality extracted from
be8b11bb 7248 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7249 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7250 (c-after-change): Set c-in-after-change-fontification.
7251 (c-set-fl-decl-start): Rejig its interface, so it can be called
7252 from both after-change and context fontifying.
b81d40f0
JB
7253 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7254 New functions.
7255 (c-standard-font-lock-fontify-region-function): New variable.
7256 (c-font-lock-fontify-region): New function.
be8b11bb 7257
341cf6ac
JL
72582011-12-24 Juri Linkov <juri@jurta.org>
7259
7260 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7261 (Bug#10348)
7262
bffcee0a
MA
72632011-12-23 Michael Albinus <michael.albinus@gmx.de>
7264
7265 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7266 existence of source file. (Bug#10325)
7267
cb5e207c
AM
72682011-12-23 Alan Mackenzie <acm@muc.de>
7269
7270 Fix unstable fontification inside templates.
7271
b81d40f0
JB
7272 * progmodes/cc-langs.el (c-before-font-lock-functions):
7273 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7274 additionally has c-set-fl-decl-start. The other languages (apart
7275 from AWK) have that as a single entry.
7276
b81d40f0
JB
7277 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7278 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7279 c-set-fl-decl-start.
7280
b81d40f0
JB
7281 * progmodes/cc-mode.el (c-common-init, c-after-change):
7282 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7283 (c-set-fl-decl-start): New function, extracted from
7284 c-font-lock-enclosing-decls and enhanced.
7285
60ff536c
JB
72862011-12-23 Juanma Barranquero <lekktu@gmail.com>
7287
7288 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7289
1c4757d6
JL
72902011-12-22 Juri Linkov <juri@jurta.org>
7291
7292 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7293
d031f2c7
CY
72942011-12-22 Chong Yidong <cyd@gnu.org>
7295
7296 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7297
bace743a
DA
72982011-12-21 Drew Adams <drew.adams@oracle.com>
7299
7300 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7301
728a1f2b
JC
73022011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7303
7304 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7305
0d373f73
TZ
73062011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7307
fec0aaa4
TZ
7308 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7309 highlighting and support. Fix up comments for capitalization.
7310 (cfengine-mode-debug): New var.
7311 (cfengine3-mode): Change the modeline indicator to "CFE3".
7312 (cfengine3-font-lock-keywords): Improve defun highlighting.
7313 (cfengine2-actions): Rename from `cfengine-actions'.
7314 (cfengine2-font-lock-keywords): Rename from
7315 `cfengine-font-lock-keywords'.
7316 (cfengine2-imenu-expression): Rename from
7317 `cfengine-imenu-expression'.
7318 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7319 (cfengine2-beginning-of-defun): Rename from
7320 `cfengine-beginning-of-defun'.
7321 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7322 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7323 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7324 modeline indicator to "CFE2".
7325 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7326 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7327
bc86f573
CY
73282011-12-21 Chong Yidong <cyd@gnu.org>
7329
7330 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7331 filename argument.
7332
d45ba96b
MR
73332011-12-20 Martin Rudalics <rudalics@gmx.at>
7334
7335 * window.el (window-normalize-buffer-to-display): Remove.
7336 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7337
a6198c90
CY
73382011-12-19 Chong Yidong <cyd@gnu.org>
7339
7340 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7341 Don't signal an error in a predicate function; return non-nil.
7342 (vc-dir-mark-file): Move the error here.
7343 (vc-dir-mark-unmark): If acting on the region, keep going if one
7344 of the entries cannot be marked/unmarked.
7345 (vc-dir-mark-all-files): If current entry is a directory, mark
7346 only child files, as documented.
7347
34c5fb55
VB
73482011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7349
7350 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7351 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7352 addition.
7353
c803b2b7
JD
73542011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7355
7356 * term/ns-win.el (ns-get-selection-internal)
7357 (ns-store-selection-internal): Declare.
1154d12e
JB
7358 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7359 Declare as obsolete.
7360 (ns-get-pasteboard, ns-paste-secondary):
7361 Use ns-get-selection-internal.
7362 (ns-set-pasteboard, ns-copy-including-secondary):
7363 Use ns-store-selection-internal.
c803b2b7 7364
9cff91f8 73652011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7366
7367 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7368 (vc-deduce-fileset): Doc fix.
99a289d9 7369
f16c898a
AS
73702011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7371
7372 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7373
763237c4
SS
73742011-12-13 Sam Steingold <sds@gnu.org>
7375
7376 * man.el (Man-getpage-in-background): When running under a
7377 window-system, ignore $MANWIDTH and $COLUMNS.
7378
5fc1c122
KH
73792011-12-15 Kenichi Handa <handa@m17n.org>
7380
7381 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7382 (setup-ethiopic-environment-internal): Comment out key-binding for
7383 ethio-toggle-punctuation.
7384
13d49cbb
AM
73852011-12-13 Alan Mackenzie <acm@muc.de>
7386
898169a2
AM
7387 Add the switch statement to AWK Mode.
7388
7a71b18d 7389 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7390 "default" to the keywords regexp.
7391
7a71b18d 7392 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7393 expression as the rest.
1d00653d
SM
7394 (c-nonlabel-token-key): Allow string literals for AWK.
7395 Refactor for the other modes.
898169a2 7396
13d49cbb 7397 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7398 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7399 routines. Limit backward searching in c-font-lock-enclosing.decl.
7400
7401 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7402 pp-state and literal type in addition to the limits.
1d00653d 7403 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7404 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7405 (c-slow-in-literal, c-fast-in-literal): Remove.
7406 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7407
7408 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7409 being in a literal. Add a limit for backward searching.
7410
7411 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7412 c-slow-in-literal.
7413
15e0efc7
SM
74142011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7417
454592a6
MR
74182011-12-13 Martin Rudalics <rudalics@gmx.at>
7419
7420 * window.el (delete-other-windows): Use correct frame in call to
7421 window-with-parameter.
7422
87393f26
DP
74232011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7424
7425 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7426 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7427 (makefile-gmake-statements, makefile-makepp-statements):
7428 Use it and add new makepp keywords.
7429 (makefile-makepp-font-lock-keywords): Add new patterns.
7430 (makefile-match-function-end): Match new [...] and [[...]].
7431
11636b22
JB
74322011-12-11 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * ses.el (ses-call-printer-return, ses-cell-property-get)
7435 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7436 (ses-create-cell-variable, ses-reset-header-string)
7437 (ses-cell-set-formula, ses-repair-cell-reference-all)
7438 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7439 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7440 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7441 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7442 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7443 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7444 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7445 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7446 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7447 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7448 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7449 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7450
cf018193
VB
74512011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7452
7453 * ses.el: The overall change is to add cell renaming, that is
7454 setting fancy names for cell symbols other than name matching
7455 "\\`[A-Z]+[0-9]+\\'" regexp .
7456 (ses-create-cell-variable): New defun.
7457 (ses-relocate-formula): Relocate formulas only for cells the
7458 symbols of which are not renamed, i.e. symbols whose names do not
7459 match regexp "\\`[A-Z]+[0-9]+\\'".
7460 (ses-relocate-all): Relocate values only for cells the symbols of
7461 which are not renamed.
7462 (ses-load): Create cells variables as the (ses-cell ...) are read,
7463 in order to check row col consistency with cell symbol name only
7464 for cells that are not renamed.
7465 (ses-replace-name-in-formula): New defun.
7466 (ses-rename-cell): New defun.
7467
ee957461
CY
74682011-12-11 Chong Yidong <cyd@gnu.org>
7469
7470 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7471 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7472
9a9e9ef0
MR
74732011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7474
7475 * window.el (other-window): Fix docstring.
7476
92a8eba5
EZ
74772011-12-10 Eli Zaretskii <eliz@gnu.org>
7478
7479 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7480 `from' or `to' address before taking its substring.
7481 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7482 encoded name is chopped in the middle of the encoded string, and
7483 thus displayed encoded.
7484
e152e577
JB
74852011-12-10 Juanma Barranquero <lekktu@gmail.com>
7486
7487 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7488
e5d84bfe
EZ
74892011-12-10 Eli Zaretskii <eliz@gnu.org>
7490
7491 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7492 to use texinfo-update-node and commands that call it if the
7493 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7494 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7495 (texinfo-all-menus-update, texinfo-master-menu)
7496 (texinfo-update-node, texinfo-every-node-update)
7497 (texinfo-multiple-files-update): Doc fix. Warn against updating
7498 all the @node lines.
7499 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7500 argument is numeric. Explain better in the doc string what the
7501 function really does.
7502 (texinfo-insert-master-menu-list): Improve the error message
7503 displayed if there's no menu in the Top node.
7504 (Bug#2975) See also this thread:
e5d84bfe
EZ
7505 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7506
1d84e9bb
MG
75072011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7508
7509 * speedbar.el (speedbar-supported-extension-expressions):
7510 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7511
382c953b
JB
75122011-12-09 Juanma Barranquero <lekktu@gmail.com>
7513
7514 * printing.el (pr-mode-alist):
7515 * simple.el (filter-buffer-substring-functions)
7516 (completion-list-insert-choice-function):
7517 * window.el (window-with-parameter, window-atom-root)
7518 (window-sides-slots, window-size-fixed, window-min-delta)
7519 (window-max-delta, window--resize-mini-window)
7520 (window--resize-child-windows-normal, window-tree)
7521 (delete-other-windows, quit-window, split-window)
7522 (display-buffer-record-window, special-display-buffer-names)
7523 (special-display-regexps, special-display-popup-frame)
7524 (same-window-p, split-window-sensibly)
7525 (display-buffer-overriding-action, display-buffer-alist)
7526 (display-buffer-base-action, display-buffer, switch-to-buffer)
7527 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7528 (fit-window-to-buffer, recenter-positions)
7529 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7530 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7531 and remove unneeded backslashes in docstrings.
7532
39c9faef
SM
75332011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7534
98449af8
SM
7535 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7536
39c9faef
SM
7537 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7538 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7539 end in ".mk".
7540 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7541 when reading the makefile (bug#10116).
7542
86ed9fdc
SM
75432011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7546 (bug#10116).
7547
5580f89d
GM
75482011-12-06 Glenn Morris <rgm@gnu.org>
7549
7550 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7551
28d3917c
CY
75522011-12-06 Chong Yidong <cyd@gnu.org>
7553
7554 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7555
a98edce9
JB
75562011-12-06 Juanma Barranquero <lekktu@gmail.com>
7557
7558 * textmodes/table.el (table-shorten-cell): Fix typo.
7559
e65adfac
CG
75602011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7561
7562 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7563
71cc0b74
EZ
75642011-12-05 Eli Zaretskii <eliz@gnu.org>
7565
7566 * descr-text.el (describe-char): Fix display of strong
7567 right-to-left characters and directional embeddings and overrides.
7568
7569 * simple.el (what-cursor-position): Fix display of codepoints of
7570 strong right-to-left characters.
7571
315bc30d
CY
75722011-12-05 Chong Yidong <cyd@gnu.org>
7573
7574 * faces.el (read-color): Doc fix.
7575
58a70b94
GM
75762011-12-05 Glenn Morris <rgm@gnu.org>
7577
7578 * align.el (align--set-marker): Add doc-string.
7579 Don't try to move something that is not a marker. (Bug#10216)
7580
5158face
GM
75812011-12-04 Glenn Morris <rgm@gnu.org>
7582
7583 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7584 overly zealous deletion of trailing whitespace.
7585
520fca41
JB
75862011-12-04 Juanma Barranquero <lekktu@gmail.com>
7587
7588 * server.el (server-delete-client): On Windows, do not try to delete
7589 the only terminal.
7590 (server-process-filter): On Windows, treat requests for a tty frame as
7591 if they were for a GUI frame if the running server is in GUI mode.
7592
5e605a2e
GM
75932011-12-03 Glenn Morris <rgm@gnu.org>
7594
7595 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7596
5c3fe83f
SM
75972011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7598
6f5e57e7
SM
7599 * electric.el: Streamline electric-indent's hook.
7600 (electric-indent-chars): Revert to simple list.
7601 (electric-indent-functions): New var.
7602 (electric-indent-post-self-insert-function): Use it.
7603
5c3fe83f
SM
7604 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7605 there's no inferior buffer (bug#10196).
7606 (prolog-consult-compile): Don't use toggle-read-only.
7607
6bdac736
MA
76082011-12-02 Michael Albinus <michael.albinus@gmx.de>
7609
7610 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7611 interrupt. (Bug#10187)
7612
6131ba7f
SM
76132011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7614
99c79fee
SM
7615 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7616 (bug#9160).
7617
6131ba7f
SM
7618 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7619 (bug#10191).
7620
cb0a02ea
JL
76212011-12-02 Juri Linkov <juri@jurta.org>
7622
7623 * info.el (Info-search): Display "end of manual" when Isearch
7624 reaches the end of single-file Info manual. (Bug#9918)
7625
66e0570c
EZ
76262011-12-02 Eli Zaretskii <eliz@gnu.org>
7627
7628 * isearch.el (isearch-message-prefix): Run the input method part
7629 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7630
02b16839
JL
76312011-12-02 Juri Linkov <juri@jurta.org>
7632
7633 * isearch.el (isearch-occur): Use `word-search-regexp' for
7634 `isearch-word'.
7635 (isearch-search-and-update): Add condition for `isearch-word' and
7636 call `word-search-regexp'. (Bug#10145)
7637
0b950688
GM
76382011-12-01 Glenn Morris <rgm@gnu.org>
7639
7640 * eshell/em-hist.el (eshell-hist-initialize):
7641 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7642 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7643
9505c3c7
SM
76442011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7645
7646 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7647
1bbe96b2 76482011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7649
a1beca85
SM
7650 * progmodes/verilog-mode.el (verilog-pretty-expr):
7651 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7652 verilog, such as += *= and the like.
7653 (verilog-assignment-operator-re): Regular expression to find the
7654 assigment operator in a verilog assignment.
7655 (verilog-assignment-operation-re): Regular expression to find an
7656 assignment statement for pretty-expr.
7657 (verilog-in-attribute-p): Query returns true if point is in an
7658 attribute context; used to skip these for expression line up from
7659 pretty-expr.
7660 (verilog-in-parameter-p): Query returns true if point is in an
7661 parameter definition context; used to skip these for expression
7662 line up from pretty-expr.
7663 (verilog-in-parenthesis-p): Query returns true if point is in a
7664 parenthetical expression, specifically ( ) but not [ ] or { };
7665 used by pretty-expr.
7666 (verilog-just-one-space): If there is no space, don't add one.
7667 (verilog-get-lineup-indent-2): Specifically skip just attribute
7668 contexts for expression lineup, rather than skipping all
7669 parenthetical expressions.
7670 (verilog-calculate-indent): Fix comment, and fix indent.
7671 (verilog-do-indent): Indent declarations in lists (suggested by
7672 Joachim Lechner).
7673 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7674 skeleton items.
7675 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7676 by Alain Mellan).
7677
1bbe96b2 76782011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7679
7680 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7681 parameters with embedded comments. Reported by Ray Stevens.
7682 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7683 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7684 Reported by Tim Holt.
7685 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7686 instantiated by upper module causing wrong expansion until AUTOed a
7687 second time. Reported by K C Buckenmaier.
7688 (verilog-diff-auto): Fix showing .* as a difference when
7689 `verilog-auto-star-save' off. Reported by Dan Dever.
7690 (verilog-auto-reset, verilog-read-always-signals)
7691 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7692 temporary signals in reset list if
7693 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7694 style to each signal's assignment type, bug381.
7695 Reported by Thomas Esposito.
6288f0ca
WS
7696 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7697 (verilog-uvm-statement-re): Support UVM indentation and
7698 highlighting, with old OVM keywords only.
a1beca85 7699 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7700 Support AUTOTIEOFF creating non-wire data types.
7701 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7702 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7703 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7704 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7705 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7706 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7707 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7708 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7709 non-numeric vector width. Reported by Alex Reed.
7710 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7711 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7712 (verilog-auto-delete-trailing-whitespace):
7713 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7714 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7715 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7716 Fix verilog-scan-cache corruption when running user AUTO expansion
7717 hooks that call indentation routines.
7718 (verilog-simplify-range-expression): Fix typo ignoring lower case
7719 identifiers.
7720 (verilog-delete-auto): Fix delete-autos to also remove user created
7721 automatics, as long as they start with AUTO.
7722 (verilog-batch-diff-auto, verilog-diff-auto)
7723 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7724 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7725 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7726 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7727 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7728 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7729 is disabled and its cache will get corrupt, causing AUTOS not to
7730 expand. Instead use only -quick functions.
7731 (verilog-scan-region): Fix scanning over escaped quotes.
7732 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7733 (verilog-re-search-backward-quick)
7734 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7735 related functions now ignore strings, to fix misparsing of strings
7736 with magic comments embedded in them.
a1beca85
SM
7737 (verilog-read-auto-template):
7738 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7739 Reported by Brad Dobbie.
7740 (verilog-read-auto-template):
7741 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7742 Reported by Brad Dobbie.
6288f0ca
WS
7743 (verilog-auto-inst, verilog-auto-inst-param)
7744 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7745 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7746 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7747 debugging templates without merge conflicts, bug357.
7748 Reported by Brad Dobbie.
7749 (verilog-read-auto-template):
7750 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7751 Reported by Brad Dobbie.
7752 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7753 abbrevs so user won't be asked to save.
7754 (verilog-read-auto-lisp-present): Fix to start at beginning of
7755 buffer in case called outside of verilog-auto.
7756 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7757 to "X-2". Reported by Matthew Myers.
7758 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7759 all inputs from module templates. Reported by Leith Johnson.
7760 (verilog-module-inside-filename-p): Fix locating programs as with
7761 modules.
7762 (verilog-auto-inst-port): Fix vl-width expressions when using
7763 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7764 (verilog-decls-get-regs, verilog-decls-get-signals,
7765 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7766 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7767 verilog-read-decls): Combine reg and wire structures into one var
7768 structure to represent SystemVerilog concepts.
7769 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7770 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7771 (verilog-auto-wire-type, verilog-insert-definition):
7772 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7773 SystemVerilog "logic" keyword instead of "wire"/"reg".
7774 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7775 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7776 ifdef or generate if so there's not a driver conflict).
7777 Reported by Matthew Myers.
7778 (verilog-auto-declare-nettype, verilog-insert-definition):
7779 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7780 `default_nettype none. Reported by Julian Gorfajn.
7781 (verilog-read-always-signals-recurse, verilog-read-decls)
7782 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7783 malformed end statement, bug325. Reported by Joshua Wise and
7784 Andrew Drake.
7785 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7786 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7787 when expanding .* in interfaces, bug320.
7788 Reported by Pierre-David Pfister.
6288f0ca 7789 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7790 name and open parenthesis, bug317.
7791 Reported by Pierre-David Pfister.
6288f0ca
WS
7792 (verilog-simplify-range-expression): Fix simplification of
7793 multiplications inside AUTOWIRE connections, bug303.
7794 (verilog-auto-inst-port): Support parameter expansion in
7795 multidimensional arrays.
7796 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7797 after "assert property". Reported by Julian Gorfajn.
7798 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7799 with multiplication, bug303.
7800 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7801 Reported by Jan Frode Lonnum.
7802
1bbe96b2
GM
78032011-11-30 Juanma Barranquero <lekktu@gmail.com>
7804
7805 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7806 (hfy-shell-file-name, hfy-shell):
7807 * international/fontset.el (x-decompose-font-name): Fix typos.
7808
78092011-11-29 Ken Brown <kbrown@cornell.edu>
7810
7811 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7812 (gdb-version): Remove defvar.
7813 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7814 (gdb-gud-context-command, gdb-non-stop-handler)
7815 (gdb-current-context-command, gdb-stopped): Use it.
7816 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7817 (gdb-non-stop-handler): Don't enable pretty-printing here.
7818 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7819 non-stop mode. Use the following.
7820 (gdb-check-target-async): New defun.
7821 (gud-watch, gdb-stopped): Fix whitespace.
7822 (gdb-get-source-file): Don't try to display the source file if
7823 `gdb-main-file' is nil.
7824
78252011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * align.el: Try to generate fewer markers (bug#10047).
7828 (align--set-marker): New macro.
7829 (align-region): Use it.
7830
c935221f
SM
78312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7834
e70b5064
CY
78352011-11-29 Chong Yidong <cyd@gnu.org>
7836
7837 * indent.el (indent-for-tab-command, indent-according-to-mode):
7838 Doc fix.
7839 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7840
f3af92b7
MA
78412011-11-29 Michael Albinus <michael.albinus@gmx.de>
7842
7843 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7844 aware of remote file names. (Bug#10124)
7845
ed472be9
CY
78462011-11-29 Chong Yidong <cyd@gnu.org>
7847
7848 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7849
24510c22
SM
78502011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * files.el (find-file): Don't use force-same-window (bug#10144).
7853 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7854 use pop-to-buffer if the selected window can't be used.
7855 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7856
c60c3703
EZ
78572011-11-28 Eli Zaretskii <eliz@gnu.org>
7858
7859 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7860 special-mode-map.
7861
e95def75
CY
78622011-11-28 Chong Yidong <cyd@gnu.org>
7863
7864 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7865
c3f1c606
NR
78662011-11-27 Nick Roberts <nickrob@snap.net.nz>
7867
7868 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7869 gdb-get-source-file-list on gdb-create-source-file-list.
7870
00db469c
EZ
78712011-11-26 Eli Zaretskii <eliz@gnu.org>
7872
7873 * whitespace.el (whitespace-newline): Use a different foreground
7874 color for 16-color light-background displays.
7875
4ad3bc2a
CY
78762011-11-24 Chong Yidong <cyd@gnu.org>
7877
7878 * window.el (display-buffer--special-action): Doc fix.
7879
e9fce1ac
JB
78802011-11-25 Juanma Barranquero <lekktu@gmail.com>
7881
7882 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7883 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7884 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7885 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7886 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7887 (avl-tree-stack-first):
7888 * emacs-lisp/cconv.el (cconv--analyse-use):
7889 * net/gnutls.el (gnutls-negotiate): Fix typos.
7890
cb825e5d
GM
78912011-11-24 Glenn Morris <rgm@gnu.org>
7892
3adbe224
GM
7893 * lpr.el (lpr-windows-system, lpr-lp-system):
7894 * mail/binhex.el (binhex-begin-line):
7895 * progmodes/grep.el (grep-history, grep-find-history):
7896 * textmodes/flyspell.el:
7897 * vc/pcvs-defs.el (cvs-global-menu):
7898 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7899 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7900 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7901
321decc8
GM
7902 * net/tls.el: Fix case of "GnuTLS".
7903
420b63ad
GM
7904 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7905
cb825e5d
GM
7906 * version.el (emacs-build-system): Give it a doc-string.
7907
a0649f08
JL
79082011-11-24 Juri Linkov <juri@jurta.org>
7909
7910 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7911
c0bc0fd4
GM
79122011-11-24 Glenn Morris <rgm@gnu.org>
7913
7914 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7915 if called on a non-mime message just toggle the headers. (Bug#8006)
7916
20db1522
JB
79172011-11-24 Juanma Barranquero <lekktu@gmail.com>
7918
7919 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7920 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7921 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7922 (allout-rebullet-heading, allout-open-sibtopic)
7923 (allout-toggle-current-subtree-encryption)
7924 (allout-toggle-subtree-encryption, allout-encrypt-string)
7925 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7926 (allout-distinctive-bullets-string, allout-auto-activation):
7927 * window.el (window-normalize-buffer-to-display):
7928 * progmodes/verilog-mode.el (verilog-batch-indent):
7929 * textmodes/bibtex.el (bibtex-field-braces-opt)
7930 (bibtex-field-strings-opt):
7931 * vc/cvs-status.el (cvs-tree-merge):
7932 Fix typos.
7933
7262a87c
MA
79342011-11-23 Michael Albinus <michael.albinus@gmx.de>
7935
7936 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7937 `non-essential' to t, in order to avoid remote connections.
7938
283430a1
EZ
79392011-11-23 Eli Zaretskii <eliz@gnu.org>
7940
a1beca85
SM
7941 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7942 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7943 case-insensitively.
7944
d2992a38
ML
79452011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7946
7947 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7948
50419064
GM
79492011-11-23 Glenn Morris <rgm@gnu.org>
7950
da94eca1
GM
7951 * paths.el (rmail-file-name): Reformat the doc-string so that it
7952 is picked up.
7953
9aac4de2
GM
7954 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7955 (rmail-auto-file): Ignore case in the "special" field names,
7956 as mail-fetch-field does for all others.
7957
8038d2d2
GM
7958 * mail/rmail.el (rmail-forward):
7959 * mail/rmailkwd.el (rmail-set-label):
7960 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7961 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7962
f3fe222a
GM
7963 * mail/rmail.el (rmail-current-message): Doc fix.
7964
50419064
GM
7965 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7966
28109f49
SM
79672011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7970
394c65f1
GM
79712011-11-22 Glenn Morris <rgm@gnu.org>
7972
7973 * mail/rmailmm.el (test-rmail-mime-handler)
7974 (test-rmail-mime-bulk-handler)
7975 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7976
f2a0aa3a
JL
79772011-11-21 Juri Linkov <juri@jurta.org>
7978
1154d12e
JB
7979 * calc/calc.el (calc-read-key-sequence):
7980 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7981
9c34a344
LMI
79822011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7983
7984 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7985 Tell the caller that the next line needs recomputation, even
7986 though it doesn't start a sexp (bug#10094).
7987
f04a3be9
SM
79882011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7991
7978747f
SM
79922011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7993
f04a3be9
SM
7994 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7995 Use force-same-window.
7978747f 7996
fe7a3057
JB
79972011-11-20 Juanma Barranquero <lekktu@gmail.com>
7998
7999 * descr-text.el (describe-char-unicode-data):
8000 * json.el (json-string-escape):
8001 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8002 (Footnote-unicode, Footnote-style-p):
8003 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8004
24901d61
CY
80052011-11-20 Chong Yidong <cyd@gnu.org>
8006
8007 * window.el (replace-buffer-in-windows): Restore interactive spec.
8008
bac7ff22
SM
80092011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8010
24f3d7b9
SM
8011 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8012
bac7ff22
SM
8013 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8014 (byte-compile-global-not-obsolete-vars): New var.
8015 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8016 Use it.
8017 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8018
cd1181db
JB
80192011-11-20 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8022 * progmodes/pascal.el (electric-pascal-equal):
8023 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8024 * xml.el (xml-substitute-special): Fix typos.
8025
7fb18e9e
GM
80262011-11-20 Glenn Morris <rgm@gnu.org>
8027
8028 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8029 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8030 Doc fixes.
8031 (rmail-decode-mime-charset): Mark as obsolete.
8032
8033 * mail/rmailsum.el (rmail-message-regexp-p-1):
8034 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8035 Before using mime functions, check they are set. (Bug#10077)
8036
d5a6b3ba
JL
80372011-11-19 Juri Linkov <juri@jurta.org>
8038
8039 * info.el (Info-finder-find-node): Use `package--builtins' instead
8040 of `package-alist'. Use node names formed by the pattern "Keyword "
8041 and the keyword name.
8042
e981b61f
AS
80432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8044
1d00653d 8045 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8046
3ffbc301
JL
80472011-11-19 Juri Linkov <juri@jurta.org>
8048
8049 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8050 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8051 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8052 `old-history', `old-history-forward'. Add let-binding
8053 `window-selected'. Remove calls to `kill-buffer',
8054 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8055 before calling `Info-find-node', so `Info-find-node-2' will reread
8056 the Info file. Restore window positions only when `window-selected'
8057 is non-nil.
8058
30c62133
JL
80592011-11-19 Juri Linkov <juri@jurta.org>
8060
8061 * isearch.el (isearch-lazy-highlight-new-loop):
8062 Remove condition `(not isearch-error)'. (Bug#9918)
8063
8064 * misearch.el (multi-isearch-search-fun): Add condition
8065 `(not bound)' to ignore lazy-highlighting search.
8066 Add the search-failed message "end of multi" when the end of
8067 multi-sequence is reached. Uncapitalize the search-failed
8068 message "Repeat for next buffer".
8069
8070 * info.el (Info-search): Add the search-failed message
8071 "end of the manual" when the end of the manual is reached
8072 in Isearch mode.
8073
645ca9cf
JL
80742011-11-19 Juri Linkov <juri@jurta.org>
8075
8076 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8077 Use non-destructive `remove' instead of `delete' because
8078 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8079 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8080
df754f66
JL
80812011-11-19 Juri Linkov <juri@jurta.org>
8082
8083 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8084 to nil instead of binding `search-ring' and `regexp-search-ring'.
8085 (Bug#9185)
8086
0e23d96a
EZ
80872011-11-19 Eli Zaretskii <eliz@gnu.org>
8088
8089 * simple.el (line-move): Force movement by logical lines for any
8090 hscrolled window, not only when auto-hscroll-mode is on.
8091 (line-move-visual): Update doc string to that effect. (Bug#10076)
8092
8a6ccb66
AS
80932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8094
8095 * language/european.el (macintosh): Define as alias for mac-roman.
8096
49ae5b39
EZ
80972011-11-19 Eli Zaretskii <eliz@gnu.org>
8098
8099 * mail/rmailmm.el (rmail-mime-display-header)
8100 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8101 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8102 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8103 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8104 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8105 of a raw aref.
8106 (rmail-mime-entity-segment): To get past the tagline, move forward
8107 2 more lines, to account for the 2 empty lines that precede and
8108 follow the line with the buttons.
8109 (rmail-mime-update-tagline): Move one more line, to get past the
8110 empty line that follows the buttons in the tagline. (Bug#9520)
8111
c56cad4a
MR
81122011-11-19 Martin Rudalics <rudalics@gmx.at>
8113
8114 * window.el (window-max-delta-1, window-min-delta-1)
8115 (window-min-size-1, window-state-get-1, window-state-put-1)
8116 (window-state-put-2): Use "window--" prefix.
8117
cbe71af3
SM
81182011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8119
2ad52c60
SM
8120 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8121 (smie-warning-count): New var.
8122 (smie-set-prec2tab): Use it.
8123 (smie-bnf->prec2): Improve warnings. Add docstring.
8124 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8125 (smie-bnf--set-class): New function.
8126 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8127 corner case.
8128
6944dbc1
SM
8129 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8130 (compilation-error-properties, compilation-move-to-column):
8131 Handle compilation-first-column while in the target buffer.
8132
c400c4d7
SM
8133 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8134 Don't hardcode point-min==1.
8135
6dbe3e96
SM
8136 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8137 (eshell-rewrite-for-command): Remove workaround.
8138 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8139 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8140 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8141
cbe71af3
SM
8142 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8143
a8e1496d
GM
81442011-11-17 Glenn Morris <rgm@gnu.org>
8145
8146 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8147 Ignore buffer-local generated-autoload-file if it is the same
8148 as the global value. (Bug#10049)
8149
df85d315
JB
81502011-11-17 Juanma Barranquero <lekktu@gmail.com>
8151
8152 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8153 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8154 (reftex-toc-previous-heading, reftex-toc-max-level)
8155 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8156 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8157 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8158 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8159 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8160 (reftex-toc-rename-label, reftex-toc-visit-location)
8161 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8162 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8163 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8164 leaving "*toc*" only for references to the buffer.
8165
a0c2d0ae
MR
81662011-11-17 Martin Rudalics <rudalics@gmx.at>
8167
8168 * window.el (window-resize, delete-window, split-window):
8169 Replace window-splits by window-combination-resize.
1d00653d 8170 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8171
35c0bac8
GM
81722011-11-17 Glenn Morris <rgm@gnu.org>
8173
8174 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8175 Make bash entry derive from sh entry, not shell entry.
8176
d0c8fc8a
MA
81772011-11-16 Michael Albinus <michael.albinus@gmx.de>
8178
7262a87c
MA
8179 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8180 local file name.
8181
7877f373
JB
81822011-11-16 Juanma Barranquero <lekktu@gmail.com>
8183
8184 * menu-bar.el (menu-bar-file-menu):
8185 * printing.el (pr-ps-utility):
8186 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8187 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8188 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8189 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8190 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8191 (icalendar--convert-cyclic-to-ical)
8192 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8193 (icalendar--convert-ical-to-diary)
8194 (icalendar--convert-recurring-to-diary)
8195 (icalendar--convert-non-recurring-all-day-to-diary)
8196 (icalendar-import-format-sample):
8197 * progmodes/idlw-shell.el (idlwave-shell-mode):
8198 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8199 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8200 (vhdl-ps-print-init): Fix typos.
8201
10649b82
KM
82022011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8203
9d0cfcd6
GM
8204 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8205 FSF and collapse date sequence, obscure author/maintainer email address
8206 better, remove extra version line, track relocation of author's webpage.
10649b82 8207
9d0cfcd6
GM
8208 * progmodes/python.el (python-pdbtrack-input-prompt)
8209 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8210 regular python pdb prompts. Adjustments shamelessly taken exactly as
8211 suggested in EmacsWiki page (tiny change):
8212 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8213
58179cce
JB
82142011-11-16 Juanma Barranquero <lekktu@gmail.com>
8215
8216 * expand.el (expand-pos, expand-index, expand-point):
8217 Remove redundant info from docstring.
8218 (expand-add-abbrevs): Doc fix.
8219 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8220 (expand-sample-perl-mode-expand-list): Fix typos.
8221
8222 * net/dbus.el (dbus-event-member-name):
8223 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8224 * term/pc-win.el (msdos-create-frame-with-faces):
8225 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8226
b6f67890
MR
82272011-11-16 Martin Rudalics <rudalics@gmx.at>
8228
8229 * window.el (split-window, window-state-get-1)
8230 (window-state-put-1, window-state-put-2): Rename occurrences of
8231 window-nest to window-combination-limit.
1d00653d 8232 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8233
ce7ddba0
CY
82342011-11-16 Chong Yidong <cyd@gnu.org>
8235
8236 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8237 regexp (Bug#10033).
8238
3ae704f4
SM
82392011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8242 `completing-read' will remove *Completions* and will preserve
8243 current-buffer for us.
8244 (tmm-add-prompt): Users of *Completions* will always (re)set its
8245 major mode.
8246 (tmm-old-comp-map): Remove.
8247
6ad1cdde
GM
82482011-11-16 Glenn Morris <rgm@gnu.org>
8249
8250 * mail/rmailedit.el: Require rmailmm when compiling.
8251 (rmail-old-mime-state): New declaration.
8252 (rmail-edit-current-message): If editing a mime message,
8253 edit the "raw" message from the mbox buffer.
8254 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8255
d20faa20
GM
82562011-11-15 Glenn Morris <rgm@gnu.org>
8257
8258 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8259 which wasn't being used. Add optional arg to force given state.
8260 (rmail-mime): Add optional arg to force given state.
8261
c7015153
JB
82622011-11-15 Juanma Barranquero <lekktu@gmail.com>
8263
8264 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8265 * frame.el (display-mm-dimensions-alist):
8266 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8267 (outline-move-subtree-down):
8268 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8269 (newsticker--treeview-do-get-node):
8270 * net/quickurl.el (quickurl-list-buffer-name):
8271 * progmodes/dcl-mode.el (dcl-mode):
8272 * progmodes/gdb-mi.el (gdb-mapcar*):
8273 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8274
45261b50
GM
82752011-11-15 Glenn Morris <rgm@gnu.org>
8276
8277 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8278 in a boolean sense, so just make it a boolean, and fix the doc.
8279 (rmail-show-mime-function, rmail-mime-feature)
8280 (rmail-require-mime-maybe): Doc fixes.
8281 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8282
8283 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8284
0d26e0b6
JB
82852011-11-15 Juanma Barranquero <lekktu@gmail.com>
8286
8287 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8288 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8289 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8290 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8291
447f30f6
GM
82922011-11-15 Glenn Morris <rgm@gnu.org>
8293
672b871d
GM
8294 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8295 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8296 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8297 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8298 (rmail-mime, rmail-show-mime): Doc fixes.
8299
f6aa5bb1
GM
8300 * term/ns-win.el (mode-line-frame-identification):
8301 Leave it alone. (Bug#10051)
8302
947cd66b
GM
8303 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8304
447f30f6
GM
8305 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8306 Handle empty buffers. (Bug#9978)
8307
0b381c7e
JB
83082011-11-14 Juanma Barranquero <lekktu@gmail.com>
8309
8310 * international/mule.el (define-charset):
8311 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8312 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8313 * progmodes/verilog-mode.el (verilog-backward-token):
8314 * textmodes/ispell.el (lookup-words):
8315 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8316
71e027ac
GM
83172011-11-14 Glenn Morris <rgm@gnu.org>
8318
56632ce4
GM
8319 * progmodes/executable.el
8320 (executable-make-buffer-file-executable-if-script-p):
8321 Handle file-modes returning nil.
8322
40500957
GM
8323 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8324 message - not necessary, and causes problems. (Bug#9831)
8325
071c2340
GM
8326 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8327
d3cfca60
GM
8328 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8329
71e027ac
GM
8330 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8331 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8332 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8333
89d61221
MR
83342011-11-12 Martin Rudalics <rudalics@gmx.at>
8335
8336 * window.el (window-resize, delete-window): Use window-splits
8337 variable instead of function.
8338 (window-state-get-1, window-state-put-2, window-state-put):
8339 Don't deal with windows' splits status.
8340
98282f6f
GM
83412011-11-12 Glenn Morris <rgm@gnu.org>
8342
8343 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8344 (apropos-documentation): Doc fixes.
8345
40a8bdf6
JB
83462011-11-11 Juanma Barranquero <lekktu@gmail.com>
8347
8348 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8349 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8350
65bd19ff
SM
83512011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8352
8353 * electric.el (electric-indent-post-self-insert-function): Make it
8354 possible for a char to only indent in some circumstances.
8355 (electric-indent-mode): Simplify.
8356
54f9154c
MR
83572011-11-11 Martin Rudalics <rudalics@gmx.at>
8358
8359 * window.el (windows-with-parameter): Remove unused function.
8360 (windows-at-side): Rename to window-at-side-list.
8361 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8362 (window-side-check, window-size-ignore, window-size-fixed-1)
8363 (window-in-direction-2): Prefix with "window--".
8364 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8365
68cbc58b
GM
83662011-11-11 Glenn Morris <rgm@gnu.org>
8367
8368 * subr.el (eval-after-load): If FILE is already loaded,
8369 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8370
b2621720
GM
83712011-11-10 Glenn Morris <rgm@gnu.org>
8372
9a4de110
GM
8373 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8374 Call svn via vc-svn-command rather than vc-do-command.
8375 (vc-svn-command): Add --non-interactive. (Bug#9993)
8376 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8377
b2621720
GM
8378 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8379 Add toggle-read-only. (Bug#7292)
8380 * files.el (toggle-read-only): Mention that it should only
8381 be used interactively. (Bug#10006)
8382
1dce7193
SM
83832011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8384
d9ac1a1e
SM
8385 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8386 Adjust regexp for OCaml warnings.
8387
0c325082
SM
8388 * electric.el (electric-pair-post-self-insert-function): Let user
8389 turn it off buffer-locally (bug#9932).
8390
90132c14
SM
8391 * progmodes/python.el (python-beginning-of-statement):
8392 Rewrite (bug#2703).
8393
1dce7193
SM
8394 * progmodes/compile.el: Better handle TABs (bug#9749).
8395 (compilation-internal-error-properties)
8396 (compilation-next-error-function): Obey the target buffer's
8397 compilation-error-screen-columns.
8398
c4e7c63a
JB
83992011-11-09 Juanma Barranquero <lekktu@gmail.com>
8400
8401 * progmodes/meta-mode.el: Remove obsolete comments.
8402 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8403 Fix typos in docstrings.
8404
2cffd681
MR
84052011-11-09 Martin Rudalics <rudalics@gmx.at>
8406
8407 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8408 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8409 (window--resizable): New function. Make all callers of
8410 window-resizable call window--resizable instead.
8411 (window-resizable): Rewrite in terms of window--resizable.
8412
0edcba87
GM
84132011-11-08 Glenn Morris <rgm@gnu.org>
8414
8415 * progmodes/delphi.el (delphi-mode-syntax-table):
8416 Let define-derived-mode define a proper syntax table. (Bug#9994)
8417
4b0d61e3
SM
84182011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * window.el: Stay away from defsubst.
8421 (window-list-no-nils): Remove.
8422 (window-state-get-1, window-state-get): Use backquote instead.
8423
cd394be1 84242011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8425
4b0d61e3 8426 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8427 Fix incorrect use of default argument in `completing-read'.
8428
e1c2c6f2
MR
84292011-11-08 Martin Rudalics <rudalics@gmx.at>
8430
8431 * window.el (display-buffer-function, special-display-function):
8432 Mention display-buffer-record-window but do not mention
8433 help-setup parameter in doc-strings.
b3f4a882 8434 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8435
105216ed
CY
84362011-11-08 Chong Yidong <cyd@gnu.org>
8437
8438 * window.el (window-total-height, window-total-width): Doc fix.
8439 (window-body-size): Move from C.
8440 (window-body-height, window-body-width): Move to C.
8441
0a9f9ab5
SM
84422011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * window.el: Make special-display like display-buffer-alist (bug#9532).
8445 (display-buffer--special-action): New function, morphed
8446 from display-buffer--special.
8447 (display-buffer): Use it to handle special-display-buffers at higher
8448 priority (just after display-buffer-alist).
8449 (display-buffer-fallback-action, display-buffer--other-frame-action)
8450 (pop-to-buffer-same-window): Remove display-buffer--special.
8451
a769dd15
GM
84522011-11-07 Glenn Morris <rgm@gnu.org>
8453
8454 * calendar/cal-menu.el (cal-menu-set-date-title):
8455 Do nothing if not in a calendar. (Bug#9976)
8456
05a61ee3
SM
84572011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * files.el (find-file): Always use selected-window.
8460
be7f5545
MR
84612011-11-07 Martin Rudalics <rudalics@gmx.at>
8462
8463 * window.el (window-combinations): Make WINDOW argument
8464 mandatory. Rewrite doc-string.
8465 (walk-window-subtree, window-atom-check, window-min-delta)
8466 (window-max-delta, window--resize-this-window)
8467 (window--resize-root-window-vertically, window-tree)
8468 (balance-windows, window-state-put): Rewrite doc-strings as to
8469 not mention the term "subwindow".
8470 (window--resize-subwindows-skip-p): Rename to
8471 window--resize-child-windows-skip-p.
8472 (window--resize-subwindows-normal): Rename to
8473 window--resize-child-windows-normal.
8474 (window--resize-subwindows): Rename to
8475 window--resize-child-windows.
8476 (window-or-subwindow-p): Rename to window--in-subtree-p.
8477
3c6702ef
ML
84782011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8479
8480 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8481 Ensure that mbox format messages end in two newlines (Bug#9974).
8482
49745b39
CY
84832011-11-06 Chong Yidong <cyd@gnu.org>
8484
8485 * window.el (window-combination-p): Function deleted; its
8486 side-effect is not used in any existing code.
8487 (window-combinations, window-combined-p): Call window-*-child
8488 directly.
8489
24300f5f
CY
84902011-11-05 Chong Yidong <cyd@gnu.org>
8491
8492 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8493 (window-size-ignore, window-state-get): Callers changed.
8494 (window-normalize-window): Rename from window-normalize-any-window.
8495 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8496 (window-normalize-live-window): Delete.
447f16b8
CY
8497 (window-combination-p, window-combined-p, window-combinations)
8498 (walk-window-subtree, window-atom-root, window-min-size)
8499 (window-sizable, window-sizable-p, window-size-fixed-p)
8500 (window-min-delta, window-max-delta, window-resizable)
8501 (window-resizable-p, window-full-height-p, window-full-width-p)
8502 (window-current-scroll-bars, window-point-1, set-window-point-1)
8503 (window-at-side-p, window-in-direction, window-resize)
8504 (adjust-window-trailing-edge, maximize-window, minimize-window)
8505 (window-deletable-p, delete-window, delete-other-windows)
8506 (record-window-buffer, unrecord-window-buffer)
8507 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8508 (quit-window, split-window, window-state-put)
8509 (set-window-text-height, fit-window-to-buffer)
8510 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8511
89bd5ee1
EZ
85122011-11-04 Eli Zaretskii <eliz@gnu.org>
8513
53479029
EZ
8514 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8515 rfc2047-decode-string.
8516 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8517 warnings.
8518
89bd5ee1
EZ
8519 * window.el (window-body-height, window-body-width): Mention in
8520 the doc string that the return values are in frame's canonical
8521 units. (Bug#9949)
8522
bd17fdee
AM
85232011-11-03 Alan Mackenzie <acm@muc.de>
8524
8525 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8526 change in cc-engine.el.
8527
acc825c5
SM
85282011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8531
1885e5b8
MR
85322011-11-02 Martin Rudalics <rudalics@gmx.at>
8533
8534 * window.el (quit-window): Call unrecord-window-buffer after
8535 showing another buffer in the window. (Bug#9937)
acc825c5 8536 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8537
ebe06da9
JB
85382011-11-02 Juanma Barranquero <lekktu@gmail.com>
8539
8540 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8541 Accept status with more than 9 shelves. (Bug#9935)
8542 Reported by Colin D Bennett <colin@gibibit.com>.
8543
4ee88440
MR
85442011-11-01 Martin Rudalics <rudalics@gmx.at>
8545
8546 * help.el (with-help-window): Don't reference
8547 temp-buffer-show-specifiers in doc-string.
8548
08e1d82c
AS
85492011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8550
8551 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8552 menu-item.
8553
84bd6e9e
VJL
85542011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8555
8556 * whitespace.el: New version 13.2.2.
8557 (whitespace-newline-mode): Disable properly. Reported by Sarah
8558 <EmacsWiki>.
8559
dba0634a
UJ
85602011-10-30 Ulf Jasper <ulf.jasper@web.de>
8561
8562 * net/newst-treeview.el: Remove "Time-stamp".
8563 (newsticker--group-manage-orphan-feeds): Do not call
8564 newsticker--treeview-tree-update.
db22a3c2
JB
8565 (newsticker-treeview-update, newsticker-treeview):
8566 Call newsticker--treeview-tree-update if necessary.
dba0634a 8567
3d8daefe
MR
85682011-10-30 Martin Rudalics <rudalics@gmx.at>
8569
8570 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8571 (window-iso-combinations): Remove "iso-" infix.
8572 Suggested by Chong Yidong.
3d8daefe
MR
8573 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8574 (window-max-delta-1, window-resize, window--resize-siblings)
8575 (window--resize-this-window, adjust-window-trailing-edge)
8576 (split-window, balance-windows-1)
8577 (shrink-window-if-larger-than-buffer):
8578 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8579 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8580
1bc4c3ae
SM
85812011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8584 in place (bug#9907).
8585 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8586 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8587 (eshell-structure-basic-command, eshell-rewrite-while-command)
8588 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8589 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8590 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8591 (eshell-do-pipelines-synchronously, eshell-eval-command):
8592 Use backquotes and prefer setq to set.
8593 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8594 (eshell-macrop): Use functionp.
c1e2f5fa 8595 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8596
30b65d9c
CY
85972011-10-30 Chong Yidong <cyd@gnu.org>
8598
8599 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8600 instead of set-mark (Bug#9810).
8601
2d197ffb
CY
86022011-10-30 Chong Yidong <cyd@gnu.org>
8603
8604 * window.el (split-window-below, split-window-right): Rename from
8605 split-window-above-each-other and split-window-side-by-side
8606 respectively. All callers changed.
8607 (split-window-sensibly, split-window-sensibly): Use them.
8608 (split-window-keep-point): Doc fix.
8609
8610 * isearch.el: Add isearch-scroll property to split-window-below
8611 and split-window-right.
8612
8613 * follow.el (follow-mode):
8614 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8615 * progmodes/ada-xref.el (ada-gdb-application):
8616 * emulation/vip.el (vip-buffer-in-two-windows):
8617 * image-dired.el (image-dired-dired-with-window-configuration):
8618 * dired-x.el (dired-do-find-marked-files):
8619 * dired.el (dired-pop-to-buffer):
8620 * bs.el (bs--show-with-configuration):
8621 * vc/emerge.el (emerge-setup-windows):
8622 * textmodes/two-column.el (2C-two-columns):
8623 * textmodes/reftex-toc.el (reftex-toc):
8624 * progmodes/gdb-mi.el (gdb-setup-windows):
8625 * progmodes/fortran.el (fortran-window-create):
8626 * net/newst-treeview.el (newsticker--treeview-window-init):
8627 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8628 * emulation/tpu-edt.el (tpu-gold-map):
8629 * emulation/crisp.el (crisp-mode-map):
8630 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8631
38bb2ca8
CY
86322011-10-29 Chong Yidong <cyd@gnu.org>
8633
aa4de341
CY
8634 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8635
e1eb5385
CY
8636 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8637
5d2ece3c
CY
8638 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8639 forged Ispell output (Bug#7904).
8640
38bb2ca8
CY
8641 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8642
d0af9f77
SM
86432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * doc-view.el: Avoid ugly errors about not finding nil.
8646 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8647 (doc-view-dvipdf-program, doc-view-unoconv-program)
8648 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8649 Avoid nil or absolute file name as default value.
8650 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8651
52bedd34
AM
86522011-10-28 Alan Mackenzie <acm@muc.de>
8653
db22a3c2 8654 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8655
7e43cfa5
AM
86562011-10-28 Alan Mackenzie <acm@muc.de>
8657
8658 Amend the handling of c-beginning/end-of-defun in nested declaration
8659 scopes.
8660
52bedd34
AM
8661 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8662 cc-langs.el. Change it to a defcustom.
7e43cfa5 8663
52bedd34
AM
8664 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8665 cc-vars.el.
7e43cfa5 8666
d0af9f77
SM
8667 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8668 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8669
52bedd34 8670 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8671 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8672 (c-widen-to-enclosing-decl-scope): New function.
8673 (c-while-widening-to-decl-block): New macro.
8674 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8675 outward for defun boundaries, and correspondingly change symbol
8676 `respect-enclosure' to `go-outward'.
8677 (c-declaration-limits): Change algorithm to report only the "innermost"
8678 defun's boundaries.
8679
1a2ce9ee
DD
86802011-10-28 Deniz Dogan <deniz@dogan.se>
8681
8682 * net/rcirc.el (rcirc-mode): Use hard newlines.
8683
bc97a826
AM
86842011-10-28 Alan Mackenzie <acm@muc.de>
8685
8686 Amend to indent and fontify macros "which include their own semicolon"
8687 correctly, using the "virtual semicolon" mechanism.
8688
52bedd34 8689 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8690
d0af9f77 8691 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8692 Recode to scan one line at a time rather than having \n and \r
58179cce 8693 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8694 (c-forward-label): Amend for virtual semicolons.
58179cce 8695 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8696
52bedd34
AM
8697 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8698 of the new C macros.
bc97a826 8699
52bedd34 8700 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8701 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8702 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8703 (c-opt-cpp-macro-define): Make into a full language variable.
8704 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8705 AWK Mode (including \n, \r) removed, no longer needed.
8706
d0af9f77
SM
8707 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8708 Invoke c-make-macro-with-semi-re.
bc97a826 8709
52bedd34
AM
8710 * progmodes/cc-vars.el (c-macro-with-semi-re):
8711 (c-macro-names-with-semicolon): New variables.
58179cce 8712 (c-make-macro-with-semi-re): New function.
bc97a826 8713
7a6c0941
SM
87142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * vc/log-edit.el: Fill empty field rather than adding new one.
8717 (log-edit-add-field): New function.
8718 (log-edit-insert-changelog): Use it.
8719
b0c4cdcf
ML
87202011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8721
8722 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8723
ee1f1da9
SM
87242011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8727 (gdb--check-interpreter): New function.
8728 (gdb): Use it.
8729
51bc5f8b
GM
87302011-10-27 Glenn Morris <rgm@gnu.org>
8731
416a2c45
GM
8732 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8733 (least-positive-float, least-negative-float)
8734 (least-positive-normalized-float, least-negative-normalized-float)
8735 (float-epsilon, float-negative-epsilon):
8736 Remove unnecessary declarations.
8737
8738 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8739 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8740 (least-positive-float, least-negative-float)
8741 (least-positive-normalized-float, least-negative-normalized-float)
8742 (float-epsilon, float-negative-epsilon): Add doc-strings,
8743 based on those in cl.texi.
8744
51bc5f8b
GM
8745 * files.el (set-visited-file-name): If the major-mode changed,
8746 reload the local variables. (Bug#9796)
8747
15de15c6
CY
87482011-10-27 Chong Yidong <cyd@gnu.org>
8749
8750 * subr.el (change-major-mode-after-body-hook): New hook.
8751 (run-mode-hooks): Run it.
8752
ee1f1da9
SM
8753 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8754 Use change-major-mode-before-body-hook.
15de15c6
CY
8755
8756 * simple.el (fundamental-mode):
8757 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8758 change introducing fundamental-mode-hook.
8759
5430d399
JB
87602011-10-26 Juanma Barranquero <lekktu@gmail.com>
8761
acc825c5 8762 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8763
ad74a69e
MA
87642011-10-26 Michael Albinus <michael.albinus@gmx.de>
8765
8766 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8767 tramp.el explicitly. (Bug#7583)
ad74a69e 8768
71d4c2a5
SM
87692011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * progmodes/octave-mod.el:
8772 * progmodes/octave-inf.el: Update maintainer.
8773
b1f6fa26
CY
87742011-10-26 Chong Yidong <cyd@gnu.org>
8775
8776 * subr.el (with-wrapper-hook): Rewrite doc.
8777
3f04efd6
MA
87782011-10-25 Michael Albinus <michael.albinus@gmx.de>
8779
8780 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8781 filenames "/method:foo:". (Bug#9793)
3f04efd6 8782
410488d3
SM
87832011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8786 (bug#9865).
8787
c1ebb47e
GM
87882011-10-24 Glenn Morris <rgm@gnu.org>
8789
8790 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8791
7f5c46c7
MA
87922011-10-24 Michael Albinus <michael.albinus@gmx.de>
8793
8794 * notifications.el: Add the requirement of a running D-Bus session
8795 bus to the Commentary.
8796
db2440b6
JL
87972011-10-24 Juri Linkov <juri@jurta.org>
8798
8799 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8800 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8801 (Bug#9364)
8802
feecf435
JL
88032011-10-24 Juri Linkov <juri@jurta.org>
8804
8805 * info.el (Info-following-node-name-re): Add newline to the list
8806 of allowed characters for leading space. (Bug#9824)
8807
a3839de2
SM
88082011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8809
acc825c5
SM
8810 * progmodes/octave-inf.el (inferior-octave-mode-map):
8811 Fix C-c C-h binding.
a3839de2
SM
8812 * progmodes/octave-mod.el (octave-help): Remove.
8813
09388e76
MA
88142011-10-23 Michael Albinus <michael.albinus@gmx.de>
8815
8816 Sync with Tramp 2.2.3.
8817
8818 * net/tramp-cache.el (top): Pacify byte-compiler using
8819 `init-file-user' and `site-run-file'.
8820
8821 * net/trampver.el: Update release number.
8822
86c60681
CY
88232011-10-23 Chong Yidong <cyd@gnu.org>
8824
8825 * files.el (toggle-read-only): Remove obsolete comment about
8826 version control.
8827
8828 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8829 for toggle-read-only. Note that this hasn't called vc-next-action
8830 since 2008-05-02, though it wasn't documented at the time.
8831
a3839de2
SM
8832 * vc/ediff-init.el (ediff-toggle-read-only-function):
8833 Use toggle-read-only.
86c60681 8834
cd5495ff
AM
88352011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8836
8837 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8838 of c-parse-state.
8839
00b77525 8840 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8841 correct faulty logical expression.
cd5495ff
AM
8842 (c-parse-state-state, c-record-parse-state-state):
8843 (c-replay-parse-state-state): New defvar/defuns.
8844 (c-debug-parse-state): Use new functions.
8845
42ee24ed
MR
88462011-10-22 Martin Rudalics <rudalics@gmx.at>
8847
8848 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8849 last fix. Use window-in-direction correctly.
42ee24ed 8850
a7dee7e7
CY
88512011-10-21 Chong Yidong <cyd@gnu.org>
8852
8853 * progmodes/idlwave.el (idlwave-mode):
8854 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8855 require-final-newline; that's done in prog-mode.
8856 Suggested by Stefan Monnier.
a7dee7e7 8857
e07b9a6d
MR
88582011-10-21 Martin Rudalics <rudalics@gmx.at>
8859
8860 * mouse.el (mouse-drag-window-above)
8861 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8862 (mouse-drag-mode-line-1, mouse-drag-header-line)
8863 (mouse-drag-vertical-line-rightward-window): Remove.
8864 (mouse-drag-line): New function.
8865 (mouse-drag-mode-line, mouse-drag-header-line)
8866 (mouse-drag-vertical-line): Call mouse-drag-line.
8867 * window.el (window-at-side-p, windows-at-side): New functions.
8868
7e1361d9
UM
88692011-10-21 Ulrich Mueller <ulm@gentoo.org>
8870
8871 * tar-mode.el (tar-grind-file-mode):
8872 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8873
30fcaf3a
CY
88742011-10-21 Chong Yidong <cyd@gnu.org>
8875
8876 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8877 * progmodes/vera-mode.el (vera-mode):
8878 Use mode-require-final-newline.
30fcaf3a 8879
516eddb0
GM
88802011-10-20 Glenn Morris <rgm@gnu.org>
8881
db22a3c2 8882 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8883
10d5f513
CS
88842011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8885
8886 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8887
ac6c8639
CY
88882011-10-20 Chong Yidong <cyd@gnu.org>
8889
8890 * emulation/cua-base.el (cua-mode):
8891 * mail/footnote.el (footnote-mode):
8892 * mail/mailabbrev.el (mail-abbrevs-mode):
8893 * net/xesam.el (xesam-minor-mode):
8894 * progmodes/bug-reference.el (bug-reference-mode):
8895 * progmodes/cap-words.el (capitalized-words-mode):
8896 * progmodes/compile.el (compilation-minor-mode)
8897 (compilation-shell-minor-mode):
8898 * progmodes/gud.el (gud-tooltip-mode):
8899 * progmodes/hideif.el (hide-ifdef-mode):
8900 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8901 * progmodes/subword.el (subword-mode):
8902 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8903 * progmodes/which-func.el (which-function-mode):
8904 * term/tvi970.el (tvi970-set-keypad-mode):
8905 * term/vt100.el (vt100-wide-mode):
8906 * textmodes/flyspell.el (flyspell-mode):
8907 * textmodes/ispell.el (ispell-minor-mode):
8908 * textmodes/nroff-mode.el (nroff-electric-mode):
8909 * textmodes/paragraphs.el (use-hard-newlines):
8910 * textmodes/refill.el (refill-mode):
8911 * textmodes/reftex.el (reftex-mode):
8912 * textmodes/rst.el (rst-minor-mode):
8913 * textmodes/sgml-mode.el (html-autoview-mode)
8914 (sgml-electric-tag-pair-mode):
8915 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8916 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8917 * emulation/crisp.el (crisp-mode):
8918 * emacs-lisp/eldoc.el (eldoc-mode):
8919 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8920 minor mode behavior.
8921
aa42ab43
JL
89222011-10-19 Juri Linkov <juri@jurta.org>
8923
8924 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8925 the list of hard-coded chars with escape-glyph face.
8926
89400f1d
SM
89272011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8930
305c07f6
MA
89312011-10-19 Michael Albinus <michael.albinus@gmx.de>
8932
8933 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8934 running process.
8935
13754b54
GM
89362011-10-19 Glenn Morris <rgm@gnu.org>
8937
8938 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8939 Ignore ignored files. (Bug#9726)
8940
06e21633
CY
89412011-10-19 Chong Yidong <cyd@gnu.org>
8942
8943 Doc fix for minor modes, stating that an omitted argument enables
8944 the mode unconditionally when called from Lisp.
8945
8946 * abbrev.el (abbrev-mode):
8947 * allout.el (allout-mode):
8948 * autoinsert.el (auto-insert-mode):
8949 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8950 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8951 (global-auto-revert-mode):
8952 * battery.el (display-battery-mode):
8953 * composite.el (global-auto-composition-mode)
8954 (auto-composition-mode):
8955 * delsel.el (delete-selection-mode):
8956 * desktop.el (desktop-save-mode):
8957 * dired-x.el (dired-omit-mode):
8958 * dirtrack.el (dirtrack-mode):
8959 * doc-view.el (doc-view-minor-mode):
8960 * double.el (double-mode):
8961 * electric.el (electric-indent-mode, electric-pair-mode):
8962 * emacs-lock.el (emacs-lock-mode):
8963 * epa-hook.el (auto-encryption-mode):
8964 * follow.el (follow-mode):
8965 * font-core.el (font-lock-mode):
8966 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8967 * help.el (temp-buffer-resize-mode):
8968 * hilit-chg.el (highlight-changes-mode)
8969 (highlight-changes-visible-mode):
8970 * hi-lock.el (hi-lock-mode):
8971 * hl-line.el (hl-line-mode, global-hl-line-mode):
8972 * icomplete.el (icomplete-mode):
8973 * ido.el (ido-everywhere):
8974 * image-file.el (auto-image-file-mode):
8975 * image-mode.el (image-minor-mode):
8976 * iswitchb.el (iswitchb-mode):
8977 * jka-cmpr-hook.el (auto-compression-mode):
8978 * linum.el (linum-mode):
8979 * longlines.el (longlines-mode):
8980 * master.el (master-mode):
8981 * mb-depth.el (minibuffer-depth-indicate-mode):
8982 * menu-bar.el (menu-bar-mode):
8983 * minibuf-eldef.el (minibuffer-electric-default-mode):
8984 * mouse-sel.el (mouse-sel-mode):
8985 * msb.el (msb-mode):
8986 * mwheel.el (mouse-wheel-mode):
8987 * outline.el (outline-minor-mode):
8988 * paren.el (show-paren-mode):
8989 * recentf.el (recentf-mode):
8990 * reveal.el (reveal-mode, global-reveal-mode):
8991 * rfn-eshadow.el (file-name-shadow-mode):
8992 * ruler-mode.el (ruler-mode):
8993 * savehist.el (savehist-mode):
8994 * scroll-all.el (scroll-all-mode):
8995 * scroll-bar.el (scroll-bar-mode):
8996 * server.el (server-mode):
8997 * shell.el (shell-dirtrack-mode):
8998 * simple.el (auto-fill-mode, transient-mark-mode)
8999 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9000 (line-number-mode, column-number-mode, size-indication-mode)
9001 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9002 * strokes.el (strokes-mode):
9003 * time.el (display-time-mode):
9004 * t-mouse.el (gpm-mouse-mode):
9005 * tool-bar.el (tool-bar-mode):
9006 * tooltip.el (tooltip-mode):
9007 * type-break.el (type-break-mode-line-message-mode)
9008 (type-break-query-mode):
9009 * view.el (view-mode):
9010 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9011 (global-whitespace-mode, global-whitespace-newline-mode):
9012 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9013
a3839de2
SM
9014 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9015 Fix autogenerated docstring.
06e21633 9016
5214e501
JL
90172011-10-19 Juri Linkov <juri@jurta.org>
9018
9019 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9020 by checking environment variables "DESKTOP_SESSION" and
9021 "XDG_CURRENT_DESKTOP". (Bug#9779)
9022
195f8db9
JL
90232011-10-19 Juri Linkov <juri@jurta.org>
9024
9025 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9026 (browse-url-chromium-program, browse-url-chromium-arguments):
9027 New defcustoms.
9028 (browse-url-default-browser): Check for `browse-url-chromium' and
9029 call `browse-url-chromium-program'.
9030 (browse-url-chromium): New command. (Bug#9779)
9031
343a34ff
JB
90322011-10-18 Juanma Barranquero <lekktu@gmail.com>
9033
9034 * facemenu.el (list-colors-duplicates): On Windows, detect more
9035 duplicates by assuming that only colors matching "^System" are
9036 special "system colors". (Bug#9722)
9037
6978a151
SM
90382011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9041 to distinguish the author from the committer.
9042
6a80b297
MA
90432011-10-18 Michael Albinus <michael.albinus@gmx.de>
9044
9045 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9046
b31a5677
JK
90472011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9048
9049 * international/mule.el (sgml-html-meta-auto-coding-function):
9050 Add support for detecting encoding in HTML5 specified only as
9051 <meta charset="UTF-8">. Implementation just makes http-equiv and
9052 content-type parts from HTML4 encoding string optional. (Bug#9716)
9053
80c6d77f
GM
90542011-10-18 Glenn Morris <rgm@gnu.org>
9055
9056 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9057
08b0fee8
CY
90582011-10-18 Chong Yidong <cyd@gnu.org>
9059
9060 * faces.el (cursor): Doc fix.
9061
67e729a5
CY
90622011-10-17 Chong Yidong <cyd@gnu.org>
9063
9064 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9065
343a34ff 90662011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9067
9068 * dirtrack.el (dirtrack): Support shell buffers with path
9069 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9070
0bc06380
TZ
90712011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9072
9073 * json.el: Bump version to 1.3 and note change in History.
9074 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9075
8b79f3e0
SM
90762011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9077
5a7c536b
SM
9078 * comint.el (comint-insert-input, comint-send-input)
9079 (comint-get-old-input-default, comint-backward-matching-input)
9080 (comint-next-prompt): Use nil instead of `input' for field property of
9081 past user input (bug#114).
9082
96a8a0df
SM
9083 * minibuffer.el (completion--replace): Inherit surrounding properties
9084 (bug#114).
9085 (minibuffer-complete-and-exit): Use it.
9086
8b79f3e0
SM
9087 * comint.el (comint--table-subvert): Quote the all-completions output
9088 (bug#9160).
9089
b8f7ff0d
MR
90902011-10-17 Martin Rudalics <rudalics@gmx.at>
9091
8b79f3e0 9092 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9093
b8f7ff0d 9094 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9095 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9096 entries and separate them from frame entries.
9097
c235b555
GM
90982011-10-15 Glenn Morris <rgm@gnu.org>
9099
9100 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9101 Doc fixes.
9102
6bbfa6e1
CY
91032011-10-15 Chong Yidong <cyd@stupidchicken.com>
9104
8b79f3e0
SM
9105 * net/network-stream.el (network-stream-open-starttls):
9106 Improve detection of failure due to lack of TLS support.
ec5c990d 9107
6bbfa6e1
CY
9108 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9109 putting the input text in front and in bold.
9110
98488977
SM
91112011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9112
3d1337be
SM
9113 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9114
ee0b45e4
SM
9115 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9116 empty buffer.
9117
98488977
SM
9118 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9119 unread-command-events rather than pushing yet-another event.
9120
186f4720
EZ
91212011-10-14 Eli Zaretskii <eliz@gnu.org>
9122
9123 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9124 the explanation of the possible choices. Make the options passed
9125 to completing-read shorter.
9126
8b7a997c
AM
91272011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9128
9129 * textmodes/flyspell.el (flyspell-large-region): Make sure
9130 extended character mode is used if defined (Bug#1339).
9131
12587bbb
EZ
91322011-10-13 Eli Zaretskii <eliz@gnu.org>
9133
9134 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9135 character info for LRE, LRO, RLE, and RLO characters by appending
9136 an invisible PDF.
12587bbb 9137
bad41229
SM
91382011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9141 even in case of error; add debug spec; simplify data flow.
9142 (with-timeout-handler): Remove.
9143
28dbc92f
MA
91442011-10-12 Michael Albinus <michael.albinus@gmx.de>
9145
9146 Fix Bug#6019, Bug#9315.
9147
9148 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9149 complete `buffer-file-name', the local file name part could look
9150 remotely (for example on VMS).
9151
9152 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9153 `tramp-run-real-handler'.
9154 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9155 already quoted by '"'.
9156
9157 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9158 Let `file-name-handler-alist' be nil, the local file name part
9159 could look remotely (for example on VMS).
9160
e1b0b23a
SM
91612011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9164 from here...
9165 (flyspell-post-command-hook): ...to here.
9166
a120bde9
SM
91672011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9170 if not needed.
9171 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9172 using completion. Protect against "slow" callers.
9173 Remove the "message hack".
9174
7ce7717b
JL
91752011-10-11 Juri Linkov <juri@jurta.org>
9176
9177 * isearch.el (isearch-lazy-highlight-word): New variable.
9178 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9179 Use it. (Bug#9727)
9180
c02ee9d6
GM
91812011-10-11 Glenn Morris <rgm@gnu.org>
9182
9183 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9184 like f90-previous-statement does.
9185
93e616fd 91862011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9187
1f190e73 9188 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9189 only in interactive use, to avoid error.
9190
af7b6078
SM
91912011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * minibuffer.el (completion-file-name-table): Fix last change,
9194 i.e. ignore normal errors but not the other ones.
9195
0563dae9
MR
91962011-10-10 Martin Rudalics <rudalics@gmx.at>
9197
9198 * window.el (special-display-buffer-names)
9199 (special-display-regexps): Remove some remnants of earlier
9200 changes from doc-strings.
366ca7f3
MR
9201 (quit-windows-on): New function.
9202
9203 * vc/vc.el (vc-revert, vc-rollback):
9204 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9205 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9206 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9207
49677495
MR
92082011-10-09 Martin Rudalics <rudalics@gmx.at>
9209
9210 * window.el (frame-auto-hide-function): Add version tag.
9211 (Bug#9699)
9212
56f2d1e1
MA
92132011-10-09 Michael Albinus <michael.albinus@gmx.de>
9214
9215 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9216 condition.
9217
112a6592
LL
92182011-10-09 Leo Liu <sdl.web@gmail.com>
9219
9220 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9221 (Bug#9701)
9222
0812589b
GM
92232011-10-08 Glenn Morris <rgm@gnu.org>
9224
9225 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9226 before the first code statement zero indent. (Bug#9690)
9227
b2b0776e
CY
92282011-10-08 Chong Yidong <cyd@stupidchicken.com>
9229
9230 * simple.el (count-words-region): Always count in the region.
9231 Report the number of lines and characters too.
9232 (count-words): New command, which counts in the buffer if the
9233 region is inactive, as count-words-region used to.
9234 (count-words--message): New function. Handle plurals.
9235 (count-lines-region): Make it an alias for count-words-region.
9236
9237 * bindings.el (esc-map): Replace count-lines-region with
9238 count-words-region.
9239
c557cd6b
MR
92402011-10-08 Martin Rudalics <rudalics@gmx.at>
9241
9242 * window.el (window--delete): Delete dedicated frame
9243 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9244 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9245
61a57ef4 92462011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9247
3a7d293b 9248 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9249
c3833279
CY
92502011-10-07 Chong Yidong <cyd@stupidchicken.com>
9251
9252 * bindings.el ([M-left],[M-right]): Bind to left-word and
9253 right-word respectively.
9254
21ce8245
GM
92552011-10-07 Glenn Morris <rgm@gnu.org>
9256
9257 * cus-start.el (debug-on-quit): Fix custom type.
9258
6d823bb2
LMI
92592011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9260
0181e193
LMI
9261 * subr.el (define-key-after): Clarify that the function is not
9262 useful for non-menu keymaps.
9263
6d823bb2
LMI
9264 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9265
8e3459ce 92662011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9267
21ce8245 9268 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9269 in current minibuffer (Fix bug with recursive minibuffers).
9270
a1c2d21e
CY
92712011-10-06 Chong Yidong <cyd@stupidchicken.com>
9272
9273 * progmodes/gdb-mi.el (gdb): Doc fix.
9274
5a4cf282
MR
92752011-10-05 Martin Rudalics <rudalics@gmx.at>
9276
9277 * window.el (frame-auto-hide-function): New option replacing
9278 frame-auto-delete. Suggested by Stefan Monnier.
9279 (window--delete): Call frame-auto-hide-function instead of
9280 investigating frame-auto-delete.
c96111ea
MR
9281 (window-point-1, set-window-point-1): New functions.
9282 (window-in-direction, record-window-buffer, window-state-get-1)
9283 (display-buffer-record-window): Use window-point-1 instead of
9284 window-point.
9285 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9286
9854542e
SM
92872011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9288
9289 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9290
8943cfb0
GM
92912011-10-05 Glenn Morris <rgm@gnu.org>
9292
9293 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9294 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9295
647ab967
LL
92962011-10-05 Leo Liu <sdl.web@gmail.com>
9297
9298 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9299 works with buffer object.
9300
3ddfbced
SM
93012011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * mpc.el (mpc-tool-bar-map): Add labels.
9304
bdfa5dd2
GM
93052011-10-04 Glenn Morris <rgm@gnu.org>
9306
9307 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9308
0e2070b5
MR
93092011-10-04 Martin Rudalics <rudalics@gmx.at>
9310
9311 * window.el (window--delete): New function.
9312 (frame-auto-delete): Resuscitate option.
9313 (bury-buffer, replace-buffer-in-windows)
9314 (quit-window): Rewrite using window--delete.
9315 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9316 Pass display-buffer-mark-dedicated to window--display-buffer-2
9317 (Bug#9639).
9318
3dc61a09
SM
93192011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9320
915a9b64
SM
9321 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9322 returns a list (bug#9554). Add remote file name completion.
9323 * comint.el (comint--table-subvert): Curry and get quote&unquote
9324 functions as arguments.
9325 (comint--complete-file-name-data): Adjust call accordingly.
9326 * pcomplete.el (pcomplete--table-subvert): Remove.
9327 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9328
3dc61a09
SM
9329 * minibuffer.el (completion-table-case-fold): Use currying.
9330 (completion--styles-type, completion--cycling-threshold-type):
9331 New constants.
9332 (completion-styles, completion-category-overrides)
9333 (completion-cycle-threshold): Use them.
9334 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9335 completion-table-case-fold.
9336
8ea0a993
SB
93372011-10-03 Stephen Berman <stephen.berman@gmx.net>
9338
9339 * minibuffer.el (completion-category-overrides): Fix type of styles
9340 and add more user friendly tags (bug#9660).
9341
8c24b7f6
SM
93422011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9345 (mule-input-method-string): New widget.
9346 (default-input-method, language-info-custom-alist): Use it.
9347
428fe61a
SM
93482011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9349
32c1fffd
SM
9350 * pcomplete.el: Require comint.
9351 (pcomplete--common-suffix): Remove.
9352 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9353 (pcomplete--table-subvert): Sync with comint--table-subvert.
9354 (pcomplete--entries): Use comint-completion-file-name-table.
9355 * comint.el (comint-unquote-filename): Simplify.
9356 (comint-completion-file-name-table): New function (bug#9616).
9357 (comint--complete-file-name-data): Use it.
9358
428fe61a
SM
9359 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9360 (pcmpl-gnu-tar-buffer): Remove.
9361 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9362 around. Make sure pcomplete-suffix-list is only changed temporarily.
9363 Don't look inside the tar's file if it's too large.
428fe61a 9364
04c52e2f
CY
93652011-10-01 Chong Yidong <cyd@stupidchicken.com>
9366
ce3cefcc
CY
9367 * cus-edit.el (custom-mode-map):
9368 * epa.el (epa-key-list-mode-map):
9369 * man.el (Man-mode-map):
9370 * startup.el (splash-screen-keymap):
9371 * simple.el (special-mode-map): Use scroll-up-command and
9372 scroll-down-command.
9373
9374 * progmodes/idlw-help.el (idlwave-help-mode-map):
9375 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9376 * net/newst-plainview.el (newsticker-mode-map):
9377 * emulation/ws-mode.el (wordstar-mode-map):
9378 * emulation/vi.el (vi-com-map):
9379 * calc/calc-graph.el (calc-graph-show-dumb):
9380 * term/sun.el (terminal-init-sun):
9381 * term/ns-win.el (global-map):
9382 * progmodes/grep.el (grep-mode-map):
9383 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9384 * mail/rmail.el (rmail-mode-map):
9385 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9386
04c52e2f
CY
9387 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9388 custom-safe-themes as special.
9389
79adf8c8
JD
93902011-10-01 Julien Danjou <julien@danjou.info>
9391
9392 * notifications.el (notifications-notify): Fix docstring.
9393
63bd50d3
PS
93942011-10-01 Per Starbäck <per@starback.se>
9395
9396 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9397
199e4c7e
MR
93982011-09-30 Martin Rudalics <rudalics@gmx.at>
9399
9400 * startup.el (command-line-1): Fix last fix by inserting
9401 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9402 (Bug#9605) and (Bug#9636)
199e4c7e 9403
fe5f08dd
EZ
94042011-09-29 Eli Zaretskii <eliz@gnu.org>
9405
9406 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9407 window is hscrolled, move by logical lines. (Bug#9607)
9408 (line-move-visual): Update the doc string to the above effect.
9409
b5516bbd
MR
94102011-09-29 Martin Rudalics <rudalics@gmx.at>
9411
ccee00c0
MR
9412 * window.el (display-buffer-record-window): When WINDOW is the
9413 selected window use `point' instead of `window-point'. (Bug#9626)
9414
b5516bbd
MR
9415 * startup.el (command-line-1): Use insert-before-markers when
9416 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9417
b5516bbd
MR
9418 * help.el (help-window): Remove variable.
9419
52aa0014
GM
94202011-09-29 Glenn Morris <rgm@gnu.org>
9421
9422 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9423
df9a7357
JB
94242011-09-29 Juanma Barranquero <lekktu@gmail.com>
9425
9426 * descr-text.el (describe-char-categories): Accept category
9427 descriptions more than one line long.
9428
a8406c20
SM
94292011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9430
88d9610c
SM
9431 * simple.el (delete-trailing-whitespace): Fix last change.
9432
a5daf810
SM
9433 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9434 Don't confuse "y => 3" as the beginning of a `y' operation.
9435
a8406c20
SM
9436 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9437 object has more than 4 slots (bug#9613).
9438
a239d4e9
JB
94392011-09-28 Juanma Barranquero <lekktu@gmail.com>
9440
9441 * subr.el (with-output-to-temp-buffer):
9442 * net/quickurl.el (quickurl, quickurl-browse-url):
9443 Fix typos in docstrings.
9444
693fbdb6
EZ
94452011-09-27 Eli Zaretskii <eliz@gnu.org>
9446
9447 * minibuffer.el (completion-styles)
9448 (completion-category-overrides): Cross reference each other in doc
9449 strings.
9450
8b457e28
GM
94512011-09-27 Glenn Morris <rgm@gnu.org>
9452
9453 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9454 to split-string. (Bug#9606)
9455
85a16208
LMI
94562011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9457
9458 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9459 (bug#9615).
9460
502f9ebd
CY
94612011-09-27 Chong Yidong <cyd@stupidchicken.com>
9462
9463 * emacs-lisp/package.el (list-packages): Fix echo area message.
9464
7690bdea
LL
94652011-09-27 Leo Liu <sdl.web@gmail.com>
9466
9467 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9468
e2ee6f30
MA
94692011-09-25 Michael Albinus <michael.albinus@gmx.de>
9470
9471 * net/dbus.el (dbus-unregister-object): Don't release services for
9472 registered signals. (Bug#9581)
9473
f3f98342
TZ
94742011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9475
9476 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9477 function that picks between cfengine 2 and 3 support
9478 automatically. Update docs accordingly.
9479
dd7aa8dd
KH
94802011-09-22 Kenichi Handa <handa@m17n.org>
9481
9482 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9483 ZERO.
9484 (indian-itrans-v5-table-for-tamil): New variable.
9485 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9486
3f2b07f8
KM
94872011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9488
9489 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9490 that's true if the current command involved collapsing of text.
9491 It's reset to false at the beginning of the next command.
9492 (allout-post-command-business): Move the cursor to the beginning
9493 of entry if the cursor is hidden and collapsing activity just
9494 happened.
9495
371d6a61
CY
94962011-09-24 Chong Yidong <cyd@stupidchicken.com>
9497
9498 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9499 tracking (Bug#9541).
9500
2ac2721a
UJ
95012011-09-24 Ulf Jasper <ulf.jasper@web.de>
9502
9503 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9504 (newsticker-show-news): Automatically load html rendering package
9505 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9506 because w3m-fill-column is let-bound" and the error "Symbol's value
9507 as variable is void: w3m-fill-column".
2ac2721a 9508
fac7ae53
MA
95092011-09-24 Michael Albinus <michael.albinus@gmx.de>
9510
9511 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9512 Release services only if they are defined. (Bug#9581)
9513
e08b633b
RS
95142011-09-23 Richard Stallman <rms@gnu.org>
9515
e488d29c
RS
9516 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9517 distinguish start of paragraph from start of its text.
9518
19c38752
RS
9519 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9520
e08b633b
RS
9521 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9522 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9523 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9524
0a39f27e
AS
95252011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9526
9527 * international/mule-diag.el (mule-diag): Insert a newline after
9528 each fontset description.
9529
db4e950d
SM
95302011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * simple.el (delete-trailing-whitespace):
9533 Document last change; simplify.
9534
eca3f3ea
PW
95352011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9536
d68e189a
PW
9537 * simple.el (delete-trailing-whitespace): Also delete
9538 extra newlines at the end of the buffer.
9539
eca3f3ea
PW
9540 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9541 (picture-newline): Use forward-line so as to ignore fields.
9542
01c157cc
SM
95432011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * subr.el (with-wrapper-hook): Fix edebug spec.
9546
022de23e
LMI
95472011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9548
9549 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9550 (bug#4538).
9551
91683089
MA
95522011-09-23 Michael Albinus <michael.albinus@gmx.de>
9553
eca3f3ea
PW
9554 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9555 Fix nasty bug using wrong cached values.
91683089 9556
5bdd6fa4
AM
95572011-09-23 Alan Mackenzie <acm@muc.de>
9558
9559 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9560
97adfb97
CY
95612011-09-23 Chong Yidong <cyd@stupidchicken.com>
9562
9563 * window.el (pop-to-buffer): Ensure right window is selected if we
9564 chose another frame.
9565
d4ef2b50
EZ
95662011-09-22 Eli Zaretskii <eliz@gnu.org>
9567
9568 * simple.el (what-cursor-position): Use get-char-property-change
9569 and next-single-char-property-change, to be able to show display
9570 properties that come from overlays as well as text properties.
9571
72258fe5
CY
95722011-09-22 Chong Yidong <cyd@stupidchicken.com>
9573
9574 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9575
9576 * cmuscheme.el (run-scheme, switch-to-scheme):
9577 * cus-edit.el (customize-group, custom-buffer-create)
9578 (customize-browse):
9579 * info.el (info):
9580 * shell.el (shell):
9581 * mail/sendmail.el (mail):
9582 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9583
8f098516
RS
95842011-09-22 Richard Stallman <rms@gnu.org>
9585
9586 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9587 move back only to line beg, don't move back over blank lines.
9588
e74f1bb6
MA
95892011-09-22 Michael Albinus <michael.albinus@gmx.de>
9590
9591 * files.el (copy-directory): Set directory attributes only in case
9592 they could be retrieved from the source directory. (Bug#9565)
9593
bfeef8b6
DK
95942011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9595
9596 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9597 (hs-find-block-beginning, hs-hide-level-recursive):
9598 Ignore strings as well as comments. (Bug#9502)
9599
7e423bb8
AS
96002011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9601
9602 * progmodes/sql.el (sql-comint-postgres):
9603 Convert port number to a string. (Bug#9566)
9604
b4d72fcf
MR
96052011-09-22 Martin Rudalics <rudalics@gmx.at>
9606
9607 * window.el (quit-window): Undedicate window when switching to
9608 previous buffer. Reported by Thierry Volpiatto
9609 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9610 (special-display-popup-frame): When popping up a new frame reset
9611 its previous buffers to nil. Simplify code.
b4d72fcf 9612
a7b88dc6
MA
96132011-09-21 Michael Albinus <michael.albinus@gmx.de>
9614
9615 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9616 and process filter, as done also in `shell-command'.
9617
cf4eacfd
MR
96182011-09-21 Martin Rudalics <rudalics@gmx.at>
9619
eca3f3ea 9620 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9621 Call set-window-start with NOFORCE argument t.
9622 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9623 (quit-window): Reword doc-string. Handle new format of
9624 quit-restore parameter. Don't delete window if it has a
9625 previous buffer we can show instead of the present one.
9626 (display-buffer-record-window): Rewrite using a new format for
9627 the quit-restore window parameter
9628 (special-display-popup-frame, display-buffer-same-window)
9629 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9630 (display-buffer-pop-up-window, display-buffer-use-some-window):
9631 Adapt symbol passed to display-buffer-record-window.
9632 * help.el (help-window-setup): Handle new format of quit-restore
9633 parameter.
9634
8d28cb95
SM
96352011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9636
94ab793f
SM
9637 * faces.el (face-list): Fix docstring (bug#9564).
9638
8d28cb95
SM
9639 * window.el (display-buffer--action-function-custom-type):
9640 Don't include internal functions in the Custom interface.
9641
3820edeb
JL
96422011-09-20 Juri Linkov <juri@jurta.org>
9643
9644 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9645 (Info-forward-node, Info-backward-node, Info-next-preorder)
9646 (Info-last-preorder): Use it. (Bug#9528)
9647
5147931d
JL
96482011-09-20 Juri Linkov <juri@jurta.org>
9649
9650 * info.el (Info-last-preorder): Visit last menu item only when
9651 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9652
cf499a1a
JD
96532011-09-20 Julien Danjou <julien@danjou.info>
9654
9655 * password-cache.el (password-cache-remove): Remove entries even if the
9656 value is nil, so that password with a nil value (negative caching) is
9657 possible to invalidate.
9658
f84e2fe2
LM
96592011-09-20 Lawrence Mitchell <wence@gmx.li>
9660
9661 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9662 all whitespace around breakpoint. (Bug#9553)
9663 (f90-find-breakpoint): Only break at whitespace inside a comment.
9664
78054a46
SM
96652011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9666
9667 * minibuffer.el (completion-file-name-table): Keep track of errors.
9668 (completion-table-with-predicate): Handle the case where pred1 is nil.
9669 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9670
345083b2
SM
96712011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9672
e24e27be
SM
9673 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9674 (debugger-return-value): Signal an error if the debugging context does
9675 not await any return value.
9676
345083b2
SM
9677 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9678 * image-mode.el (image-toggle-display-text)
9679 (image-toggle-display-image): Stay away from evil `intangible'.
9680
08d355e3
LL
96812011-09-19 Leo Liu <sdl.web@gmail.com>
9682
9683 * replace.el (occur-revert-arguments): Make it permanent-local.
9684 (occur-mode): Don't call font-lock-defontify.
9685
f01da43f
CY
96862011-09-19 Chong Yidong <cyd@stupidchicken.com>
9687
9688 * net/ldap.el (ldap-search-internal): Don't push empty search
9689 result (Bug#9508).
9690
b6072fa6
SM
96912011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9692
9693 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9694
443d6696
MA
96952011-09-19 Michael Albinus <michael.albinus@gmx.de>
9696
9697 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9698 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9699
7cc6e154
JL
97002011-09-18 Juri Linkov <juri@jurta.org>
9701
9702 * buff-menu.el (Buffer-menu-mode-map):
9703 * dired.el (dired-mode-map):
9704 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9705 (lisp-interaction-mode-map):
9706 * emacs-lisp/package.el (package-menu-mode-map):
9707 * epa.el (epa-key-list-mode-map):
9708 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9709 (menu-bar-options-menu):
9710 * outline.el (outline-mode-menu-bar-map):
9711 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9712 * vc/vc-dir.el (vc-dir-menu-map):
9713 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9714 Capitalize non-function content words in menu item strings.
9715
9716 * dired.el (dired-mode-map): Add menu item for
9717 `image-dired-dired-toggle-marked-thumbs'.
9718
80302a81
JL
97192011-09-18 Juri Linkov <juri@jurta.org>
9720
9721 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9722 to `isearch-case-fold-search' and restore its original value
9723 after the `isearch-mode' call.
9724
46c5cf66
JL
97252011-09-18 Juri Linkov <juri@jurta.org>
9726
9727 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9728 because `zgrep' returns 1 for successful matches (bug#9226).
9729
d18b513b
JL
97302011-09-18 Juri Linkov <juri@jurta.org>
9731
9732 * info.el (Info-extract-menu-node-name): Check the second match
9733 for empty string (second test-case of bug#9528).
9734 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9735 intermediate nodes to the history (first test-case of bug#9528).
9736
72753f87
JL
97372011-09-18 Juri Linkov <juri@jurta.org>
9738
9739 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9740 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9741
c9384295
JL
97422011-09-18 Juri Linkov <juri@jurta.org>
9743
1154d12e
JB
9744 * info.el (Info-file-supports-index-cookies):
9745 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9746 outputs one more line for long file names (bug#4142).
c9384295 9747
d473dce8
CY
97482011-09-18 Chong Yidong <cyd@stupidchicken.com>
9749
9750 * newcomment.el (comment-normalize-vars): If prompting for
9751 comment-start, set comment-start-skip too (Bug#8424).
9752
2176854d
JB
97532011-09-18 Johan Bockgård <bojohan@gnu.org>
9754
9755 * icomplete.el: Fix previous fix of Bug#5849.
9756 (icomplete-mode): Don't set completion-show-inline-help.
9757 (icomplete-minibuffer-setup): Set completion-show-inline-help
9758 locally during icompletion.
9759
3aace4e4
CY
97602011-09-18 Chong Yidong <cyd@stupidchicken.com>
9761
c940224f
CY
9762 * woman.el (woman2-process-escapes): Don't delete unrecognized
9763 escapes (Bug#7843).
9764
3aace4e4
CY
9765 * files.el (inhibit-first-line-modes-regexps): Add image files.
9766 (hack-local-variables-prop-line): Return nil for malformed
9767 prop-lines (Bug#9044).
9768
710dec63
MA
97692011-09-18 Michael Albinus <michael.albinus@gmx.de>
9770
9771 * net/tramp.el (top): Don't require 'shell.
9772 (tramp-methods): Fix docstring.
9773 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9774 Return complete remote file name. Handle "smb" case.
9775 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9776 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9777
9778 * net/tramp-compat.el (top): Require 'shell.
9779
9780 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9781 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9782 `tramp-current-host'.
9783 (tramp-get-remote-tmpdir): Remove.
9784
9785 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9786 `tramp-tmpdir' entries.
9787 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9788 (tramp-smb-handle-file-attributes): Ignore errors.
9789 (tramp-smb-wait-for-output): Check also for process end.
9790
5d5ac8ec
LMI
97912011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9792
9793 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9794 when sending QUIT (bug#9312).
9795
8c0f49f0
CY
97962011-09-17 Chong Yidong <cyd@stupidchicken.com>
9797
9798 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9799 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9800 occur-mode-display-occurrence.
9801 (occur-edit-mode): Add usage message.
9802 (occur-cease-edit): New command.
9803 (occur-after-change-function): Use text properties to find the
9804 position of the prefix text.
9805 (occur-engine): Set stickiness of prefix text properties.
9806
8f1383f7
GM
98072011-09-17 Glenn Morris <rgm@gnu.org>
9808
9809 * progmodes/etags.el (complete-tag):
9810 Fix call to completion-in-region. (Bug#9526)
9811
744ba0e3
JL
98122011-09-17 Juri Linkov <juri@jurta.org>
9813
9814 * textmodes/ispell.el (ispell-word): Add to the error message
9815 the word, ispell program name and current dictionary (bug#9121).
9816 (ispell-tex-arg-end): Capitalize "error" in the error message.
9817
d9bbf400
AS
98182011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9819
9820 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9821 check. (Bug#4251)
9822
8da11505
JL
98232011-09-17 Juri Linkov <juri@jurta.org>
9824
9825 * window.el (window-safe-min-height, window-safe-min-width):
9826 Fix typos (followup to bug#9522).
9827
a91adc7e
SJ
98282011-09-17 Sven Joachim <svenjoac@gmx.de>
9829
9830 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9831
064f328a
EZ
98322011-09-16 Eli Zaretskii <eliz@gnu.org>
9833
9834 * simple.el (line-move): If goal-column is set, move by logical
9835 lines, not by display lines. (Bug#971)
9836 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9837 to reflect the above change.
9838
e69df516
SM
98392011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * image.el (imagemagick-register-types): Use regexp-opt.
9842
cbb0f9ab
CY
98432011-09-15 Chong Yidong <cyd@stupidchicken.com>
9844
9845 * window.el (display-buffer-base-action): Rename from
9846 display-buffer-default-action. Make default value empty.
9847 (display-buffer-overriding-action): Convert to defvar.
9848 (display-buffer-fallback-action): New var.
9849
25322144
CY
98502011-09-15 Chong Yidong <cyd@stupidchicken.com>
9851
9852 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9853 declaration.
9854 (package--add-to-archive-contents): If there is a duplicate entry
9855 with an older version, remove it.
9856 (package-menu-mark-delete, package-menu-mark-install)
9857 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9858 (package-menu-mark-obsolete-for-deletion):
9859 Use package-menu-get-status instead of a regexp search.
25322144
CY
9860 (package-menu-get-status): Use tabulated-list-entry.
9861 (package-menu-mark-upgrades): New command.
d770725a 9862 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9863 (package-menu-execute): Do installation before deletion.
9864 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9865 instead of checking major-mode.
9866 (package-menu--find-upgrades): New function.
9867
7520339c
LMI
98682011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9869
9870 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9871 passwords in the log buffer.
65a046c4
LMI
9872 (smtpmail-process-filter): Update the process marker so that the
9873 "broken by peer" status message is inserted in the right place.
7520339c 9874
d3c30954
SM
98752011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9876
3fe48822
SM
9877 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9878 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9879 bibtex-completion-at-point-function.
9880 (bibtex-completion-at-point-function): Use them.
9881
1b8b3954
SM
9882 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9883
d3c30954
SM
9884 * mpc.el (mpc-constraints-tag-lookup): New function.
9885 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9886 also to browser "album|playlist".
9887
72779976
JL
98882011-09-14 Juri Linkov <juri@jurta.org>
9889
9890 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9891 (isearch-edit-string): Use length of `isearch-string' when
9892 `isearch-fail-pos' returns nil.
9893 (isearch-message): Remove duplicate code and call
9894 `isearch-fail-pos' with arg `t'.
9895
a0bf2bcd
CY
98962011-09-14 Chong Yidong <cyd@stupidchicken.com>
9897
17bb0a2d
CY
9898 * replace.el (occur-mode-goto-occurrence): Don't force using other
9899 window (Bug#9499).
9900
a0bf2bcd
CY
9901 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9902
f678e0b6
MR
99032011-09-14 Martin Rudalics <rudalics@gmx.at>
9904
9905 * window.el (display-buffer-window): Remove.
9906 (display-buffer-record-window): Use help-setup window parameter
9907 instead of variable display-buffer-window.
9908 (display-buffer-function, special-display-buffer-names)
9909 (special-display-function): Mention help-setup parameter instead
9910 of display-buffer-window in doc-string.
d3c30954
SM
9911 * help.el (help-window-setup): New argument help-window.
9912 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9913 Reword some messages.
9914 (with-help-window): Pass window used for displaying the buffer
9915 to help-window-setup. Don't set display-buffer-window.
9916
8e39b2e8
GM
99172011-09-13 Glenn Morris <rgm@gnu.org>
9918
9919 * emacs-lisp/debug.el (debugger-make-xrefs):
9920 Preserve point. (Bug#9462)
9921
85e9c04b
CY
99222011-09-13 Chong Yidong <cyd@stupidchicken.com>
9923
9924 * window.el (window-deletable-p): Use next-frame.
9925
1b36ed6a
MR
99262011-09-13 Martin Rudalics <rudalics@gmx.at>
9927
9928 * window.el (window-auto-delete): Remove.
9929 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9930 dedication and previous buffers.
1b36ed6a
MR
9931 (switch-to-prev-buffer): Don't delete window.
9932 (delete-windows-on): Delete a window's frame if and only if the
9933 window is dedicated.
9934 (replace-buffer-in-windows): Delete buffer's window or frame if
9935 and only if window is dedicated.
9936 (quit-window): Handle quit-restore as before last change.
4d61f28d 9937 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9938
ef8ef9fb
CY
99392011-09-13 Chong Yidong <cyd@stupidchicken.com>
9940
9941 * window.el (window-deletable-p): Never delete the last frame on a
9942 given terminal.
9943
b2cba41e
GM
99442011-09-13 Glenn Morris <rgm@gnu.org>
9945
9946 * help.el (describe-key-briefly): Copy previous standard-output change.
9947
51553db6 99482011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9949
9950 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9951
b7556719
GM
99522011-09-13 Glenn Morris <rgm@gnu.org>
9953
9954 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9955 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9956
64b51947
CY
99572011-09-12 Chong Yidong <cyd@stupidchicken.com>
9958
9959 * dired-aux.el (dired-mark-read-string): Don't return default
9960 value on empty input (Bug#9361).
9961 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9962 Omit initial minibuffer contents.
9963 (dired-do-chmod): Signal an error on empty input.
9964 (dired-mark-read-string): Don't return default on empty input.
9965
9966 * files.el (file-modes-symbolic-to-number): Doc fix.
9967
393a301e
SM
99682011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * international/mule-cmds.el (ucs-completions): Remove.
9971 (read-char-by-name): Use complete-with-action instead; add metadata.
9972
fa5660f9
CY
99732011-09-11 Chong Yidong <cyd@stupidchicken.com>
9974
9975 * window.el (display-buffer--action-function-custom-type)
9976 (display-buffer--action-custom-type): New vars.
9977 (display-buffer-alist, display-buffer-default-action)
9978 (display-buffer-overriding-action): Add defcustom types.
9979
4a592f66
CY
9980 * frame.el (delete-other-frames): Doc fix (Bug#276).
9981
73d56dbd
LMI
99822011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9983
9984 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9985
37ac18a3
CY
99862011-09-11 Chong Yidong <cyd@stupidchicken.com>
9987
9988 Change modes that used same-window-* vars to use switch-to-buffer.
9989
9990 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9991 Use switch-to-buffer.
9992
9993 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9994 (customize-browse, custom-buffer-create-other-window):
9995 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9996
9997 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9998 (Info-prev, Info-up, Info-speedbar-goto-node)
9999 (info-display-manual): Use switch-to-buffer.
10000 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10001
10002 * mail/sendmail.el (mail): Use switch-to-buffer.
10003 (mail-recover): Use switch-to-buffer-other-window.
10004
10005 * cmuscheme.el (run-scheme, switch-to-scheme):
10006 * ielm.el (ielm):
10007 * shell.el (shell):
10008 * net/rlogin.el (rlogin):
10009 * net/telnet.el (telnet, rsh):
10010 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10011
10195bd6
AS
100122011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10013
10014 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10015
b322f63a
LMI
100162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017
39d7fed6
LMI
10018 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10019 so don't mention it (bug#9301).
ba5a81f1 10020 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10021
ee0e9f11
LMI
10022 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10023 match `x', `w32' and `ns', like the manual says (bug#9029).
10024
0b1c89c1 10025 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10026 (process-kill-buffer-query-function): Mention the buffer name in
10027 the query.
0b1c89c1 10028
77549ea8
LMI
10029 * image-mode.el (image-next-line): The line parameter is mandatory
10030 (bug#9258).
10031
803ef892
LMI
10032 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10033 which can be useful (bug#9301).
10034
12980837
LMI
10035 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10036
91054f8f
LMI
10037 * subr.el (match-string): Mention that the current buffer should
10038 be the same as the search was done in (bug#9282).
10039
b322f63a
LMI
10040 * facemenu.el: Disable the remove-* commands if the mark isn't
10041 active (bug#9162).
10042
3199b96f
CY
100432011-09-10 Chong Yidong <cyd@stupidchicken.com>
10044
10045 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10046 of display-buffer.
10047 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10048
10049 * replace.el (occur-mode-goto-occurrence)
10050 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10051 and display-buffer.
10052
10053 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10054 display-buffer.
10055
10056 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10057 special-display and same-window variables.
10058 (mail-other-window): Use switch-to-buffer-other-window.
10059 (mail-other-frame): USe switch-to-buffer-other-frame.
10060
393a301e
SM
10061 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10062 Use display-buffer-other-frame.
3199b96f
CY
10063 (gdb-display-gdb-buffer): Use pop-to-buffer.
10064
10065 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10066
10067 * progmodes/python.el: Don't set same-window-buffer-names.
10068
10069 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10070
10071 * window.el (display-buffer-alist): Add *Python*.
10072
8319e0bf
CY
100732011-09-10 Chong Yidong <cyd@stupidchicken.com>
10074
10075 * window.el (display-buffer-alist): Add entry for buffers
10076 previously handled same-window-*.
10077 (display-buffer-alist, display-buffer-default-action)
10078 (display-buffer-overriding-action): Mark as risky.
10079 (display-buffer-alist): Document action function changes.
10080 (display-buffer--same-window-action)
10081 (display-buffer--other-frame-action): New variables.
10082 (switch-to-buffer, display-buffer-other-frame): Use them.
10083 (display-buffer): Rename reuse-frame entry to reusable-frames.
10084 (display-buffer-reuse-selected-window): Function deleted.
10085 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10086 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10087 (display-buffer-special): New function.
10088 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10089 display-buffer-reuse-or-pop-window. Split off special-display
10090 part into display-buffer-special.
10091 (display-buffer-use-some-window): Don't perform any special
10092 pop-up-frames handling.
10093 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10094 (display-buffer--maybe-same-window): Rename from
0d3ff375 10095 display-buffer-maybe-same-window.
8319e0bf 10096
919a69aa
CY
10097 * info.el: Don't set same-window-regexps.
10098 (info-setup): New function.
10099 (info-other-window, info): Call it.
10100
10101 * cus-edit.el: Don't set same-window-regexps.
10102 (customize-group): New argument.
10103 (customize-group-other-window): Use it.
10104 (customize-face, customize-face-other-window): Likewise.
10105 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10106
8319e0bf
CY
10107 * net/rlogin.el:
10108 * net/telnet.el:
10109 * progmodes/gud.el: Don't set same-window-regexps.
10110
10111 * cmuscheme.el:
10112 * ielm.el:
10113 * shell.el:
10114 * mail/sendmail.el:
10115 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10116
25173000
JL
101172011-09-10 Juri Linkov <juri@jurta.org>
10118
10119 * isearch.el (isearch-edit-string): Remove obsolete mention of
10120 `C-w' (`isearch-yank-word-or-char') from docstring.
10121 (isearch-query-replace): Fix typo in docstring (bug#9466).
10122
056e44ef
JL
101232011-09-10 Juri Linkov <juri@jurta.org>
10124
10125 * paren.el (show-paren-function): Don't show escaped parens.
10126 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10127
c3760c17
EZ
101282011-09-10 Eli Zaretskii <eliz@gnu.org>
10129
10130 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10131 (mm-default-file-encoding): Remove autoload forms, they are
10132 replaced with autoload cookies in mml.el and mm-encode.el.
10133 (mail-add-attachment): New command.
10134 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10135 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10136 the doc string.
10137 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10138
fece895e
RT
101392011-09-10 Reuben Thomas <rrt@sc3d.org>
10140
e69df516
SM
10141 * simple.el (count-words-region): Use buffer if there's no region
10142 (bug#9429).
fece895e 10143
5e68ce4a
JL
101442011-09-09 Juri Linkov <juri@jurta.org>
10145
10146 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10147 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10148 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10149
0a6b9622
AM
101502011-09-09 Alan Mackenzie <acm@muc.de>
10151
10152 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10153 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10154
14a29deb
EZ
101552011-09-09 Eli Zaretskii <eliz@gnu.org>
10156
10157 Fix for Savannah bug#9392.
10158 * simple.el (mail-encode-mml): New defvar.
10159
10160 * mail/rmail.el (mail-encode-mml): Add a defvar.
10161 (rmail-enable-mime-composing): Default to t.
10162 (rmail-forward): Use MIME method of forwarding only if both
10163 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10164 Set mail-encode-mml non-nil if the MIME method was used.
10165
10166 * mail/sendmail.el (mml-to-mime): Add autoload form.
10167 (mail-encode-mml): Add a defvar.
10168 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10169 to nil.
10170 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10171 message through mml-to-mime, and reset mail-encode-mml to nil.
10172
28c45130
GM
101732011-09-09 Glenn Morris <rgm@gnu.org>
10174
10175 * woman.el (woman-if-body): When processing an .el block,
10176 do not delete the next .el block as well. (Bug#9447)
69f4b618 10177 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10178
9b1c252e
MR
101792011-09-08 Martin Rudalics <rudalics@gmx.at>
10180
10181 * window.el (window-deletable-p): Make sure window is live before
10182 invoking window-prev-buffers.
10183
567457e3
LL
101842011-09-08 Leo Liu <sdl.web@gmail.com>
10185
10186 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10187
97f05794
JL
101882011-09-08 Juri Linkov <juri@jurta.org>
10189
10190 * progmodes/compile.el (compilation-environment): Make it
10191 a defcustom (bug#8340).
10192
8b0874b5
MR
101932011-09-08 Martin Rudalics <rudalics@gmx.at>
10194
10195 * window.el (frame-auto-delete): Rename to window-auto-delete.
10196 Make it control auto-deletion of windows and/or frames.
10197 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10198 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10199 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10200 Rewrite handling of case when window/frame can be deleted.
10201 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10202 argument t. (Bug#9456)
8b0874b5 10203
4feb6e73
CY
102042011-09-07 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * help-mode.el (help-mode): Restore autoload.
10207
91ab9c13
JL
102082011-09-07 Juri Linkov <juri@jurta.org>
10209
10210 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10211 `compilation-environment'. Set buffer-local
10212 `compilation-environment' to `thisenv' later after (funcall mode).
10213 (Bug#8340)
10214
10215 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10216 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10217 instead of replacing its value. (Bug#8340)
10218
0527e251
JL
102192011-09-07 Juri Linkov <juri@jurta.org>
10220
10221 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10222 based on text properties put by `grep-filter' instead of matching
10223 escape sequences.
10224 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10225 to the value of `grep-error-screen-columns' (bug#9438).
10226
249f792c
JL
102272011-09-07 Juri Linkov <juri@jurta.org>
10228
10229 * simple.el (next-error-highlight, next-error-highlight-no-select):
10230 Doc fix (bug#9432).
10231
ff7271b9
OT
102322011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10233
10234 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10235 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10236
183fc730
LL
102372011-09-07 Leo Liu <sdl.web@gmail.com>
10238
10239 * net/rcirc.el (rcirc-mode): Conditionally initialize
10240 rcirc-input-ring.
10241
77694924
SM
102422011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10243
10244 * emacs-lisp/find-func.el (find-function-C-source): Only set
10245 find-function-C-source-directory after checking that we found a source
10246 file there (bug#9440).
10247
d809b8eb
AM
102482011-09-06 Alan Mackenzie <acm@muc.de>
10249
10250 * isearch.el (isearch-other-meta-char): Wherever a key list is
10251 unread, "unread" the prefix arg, too. This fixes bug #8901.
10252
453de99f
OG
102532011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10254
10255 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10256
90439906
JL
102572011-09-05 Juri Linkov <juri@jurta.org>
10258
10259 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10260
f62bd846
JL
102612011-09-05 Juri Linkov <juri@jurta.org>
10262
10263 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10264 keeping point where processing of grep matches begins, and
10265 continue to delete remaining escape sequences from the same point.
10266 (grep-filter): Make leading zero optional in "0?1;31m" because
10267 git-grep emits "\033[1;31m" escape sequences unlike expected
10268 "\033[01;31m" as GNU Grep does (bug#9408).
10269 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10270
045820ec
JL
102712011-09-05 Juri Linkov <juri@jurta.org>
10272
10273 * subr.el (y-or-n-p): Capitalize "yes".
10274
f5e29b9b
MA
102752011-09-04 Michael Albinus <michael.albinus@gmx.de>
10276
10277 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10278 `tramp-cache-unload-hook' where appropriate.
10279 (tramp-methods): Rename `tramp-remote-sh' to
10280 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10281 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10282
10283 * net/tramp-sh.el (top): Don't require 'shell.
10284 (tramp-methods): Add `tramp-remote-shell' and
10285 `tramp-remote-shell-args' entries.
10286 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10287 (tramp-sh-handle-shell-command): Remove.
10288 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10289 Use `tramp-remote-shell'.
10290
2784c434
CY
102912011-09-03 Chong Yidong <cyd@stupidchicken.com>
10292
393a301e 10293 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10294 (sendmail-query-once): Save directly to send-mail-function.
10295 Update message-send-mail-function too.
10296
10297 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10298
464cdf56
CS
102992011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10300
10301 * progmodes/python.el (python-mode-map): Use correct function to
10302 start python interpreter from menu-bar (as reported by Geert
10303 Kloosterman).
10304 (inferior-python-mode-map): Fix typo.
393a301e 10305 (python-shell-map): Remove.
464cdf56 10306
d37e5c87
DD
103072011-09-03 Deniz Dogan <deniz@dogan.se>
10308
10309 * net/rcirc.el (rcirc-print): Simplify code for
10310 rcirc-scroll-show-maximum-output. There is no need to walk
10311 through all windows to find the right one.
10312
f3ada0ee
CS
103132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10314
10315 * help.el (help-return-method): Doc fix.
10316
1f3c99ca
MR
103172011-09-03 Martin Rudalics <rudalics@gmx.at>
10318
10319 * window.el (window-deletable-p): Don't return a non-nil value
10320 when there's a buffer that was shown in the window before.
10321 (Bug#9419)
393a301e
SM
10322 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10323 Set window's previous buffers to nil.
1f3c99ca 10324
a3cf097f
EZ
103252011-09-03 Eli Zaretskii <eliz@gnu.org>
10326
10327 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10328 newline before and after the tag line, so it doesn't interfere
10329 with determining the paragraph direction of bidirectional text.
10330
3d03de90
LL
103312011-09-03 Leo Liu <sdl.web@gmail.com>
10332
10333 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10334
c3313451
CY
103352011-09-02 Chong Yidong <cyd@stupidchicken.com>
10336
393a301e 10337 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10338 (pop-to-buffer): Change interactive spec. Pass second argument
10339 directly to display-buffer.
10340 (display-buffer): Fix interactive spec. Use functionp to
10341 distinguish between a function and a list of functions.
10342
10343 * abbrev.el (edit-abbrevs):
10344 * arc-mode.el (archive-extract):
10345 * autoinsert.el (auto-insert):
10346 * bookmark.el (bookmark-bmenu-list):
10347 * files.el (find-file):
10348 * view.el (view-buffer):
10349 * progmodes/compile.el (compilation-goto-locus):
10350 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10351
89894cd8
CY
103522011-09-02 Chong Yidong <cyd@stupidchicken.com>
10353
10354 * window.el (display-buffer-alist): Doc fix.
10355 (display-buffer): Add docstring. Don't treat
10356 display-buffer-default specially.
10357 (display-buffer-reuse-selected-window)
10358 (display-buffer-same-window, display-buffer-maybe-same-window)
10359 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10360 (display-buffer-pop-up-window)
10361 (display-buffer-reuse-or-pop-window)
10362 (display-buffer-use-some-window): New functions.
10363 (display-buffer-default-action): Use them.
393a301e 10364 (display-buffer-default): Delete.
89894cd8
CY
10365 (pop-to-buffer-1): Fix choice of actions.
10366
ae0bc9fb
SM
103672011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * minibuffer.el (completion--insert-strings): Don't get confused by
10370 completion entries that end with an LF char.
10371
e9d90883
EZ
103722011-09-01 Eli Zaretskii <eliz@gnu.org>
10373
10374 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10375
437014c8
CY
103762011-09-01 Chong Yidong <cyd@stupidchicken.com>
10377
10378 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10379 (display-buffer-same-window, display-buffer-other-window):
10380 New functions.
437014c8
CY
10381 (pop-to-buffer-1): New function. Use the above.
10382 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10383 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10384
10385 * view.el (view-buffer-other-window, view-buffer-other-frame):
10386 Just use pop-to-buffer.
10387
a5e063d5
TV
103882011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10389
10390 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10391
793d32bb
WH
103922011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10393
10394 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10395
d65e4c15
RS
103962011-08-31 Richard Stallman <rms@gnu.org>
10397
10398 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10399 of the separation of rmail-view-buffer from rmail-buffer.
10400 If you say no to "replace original", the decrypt is in the
10401 view buffer. If you say yes, the decrypt goes into the
10402 rmail buffer also.
10403
f818cd2a
MR
104042011-08-31 Martin Rudalics <rudalics@gmx.at>
10405
10406 * window.el (display-buffer-window): Rewrite doc-string.
10407 (display-buffer-record-window): New function.
10408 (display-buffer-macro-specifiers)
10409 (display-buffer-even-window-sizes, display-buffer-set-height)
10410 (display-buffer-set-width, display-buffer-in-window)
10411 (display-buffer-reuse-window, display-buffer-split-specifiers)
10412 (display-buffer-side-specifiers, display-buffer-split-window-1)
10413 (display-buffer-split-window, display-buffer-split-atom-window)
10414 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10415 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10416 (display-buffer-other-window-means-other-frame)
10417 (display-buffer-normalize-special)
10418 (display-buffer-normalize-default)
10419 (display-buffer-normalize-argument)
10420 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10421 (display-buffer-normalize-specifiers, display-buffer-frame)
10422 (display-buffer-same-window, display-buffer-same-frame)
10423 (display-buffer-other-window)
10424 (display-buffer-same-frame-other-window)
10425 (display-buffer-other-frame, pop-to-buffer-same-window)
10426 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10427 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10428 (switch-to-buffer-same-frame)
10429 (switch-to-buffer-other-window-same-frame)
10430 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10431 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10432 (display-buffer-alist-set): Remove.
10433 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10434 (special-display-regexps, special-display-function):
10435 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10436 parameter.
10437 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10438 (special-display-frame-alist, special-display-popup-frame)
10439 (same-window-buffer-names, same-window-regexps, same-window-p)
10440 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10441 (split-window-preferred-function, split-height-threshold)
10442 (split-width-threshold, window-splittable-p)
10443 (split-window-sensibly, window--try-to-split-window)
10444 (window--frame-usable-p, even-window-heights)
10445 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10446 (window--display-buffer-2, display-buffer-other-frame):
10447 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10448 (display-buffer-default, display-buffer-assq-regexp): New functions.
10449 (display-buffer-alist): Rewrite doc-string.
10450 (display-buffer-default-action)
10451 (display-buffer-overriding-action): New variables.
10452 (display-buffer, switch-to-buffer): Rewrite.
10453 (pop-to-buffer): Restore Emacs 23 behavior but use
10454 window-normalize-buffer-to-display.
10455 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10456 Restore Emacs 23 behavior but use
10457 window-normalize-buffer-to-switch-to.
10458 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10459 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10460 Rewrite using Emacs 23 options.
f818cd2a 10461
5bc3b51d
MA
104622011-08-31 Michael Albinus <michael.albinus@gmx.de>
10463
10464 * net/tramp.el (tramp-root-regexp): Remove.
10465 (tramp-completion-file-name-regexp-unified)
10466 (tramp-completion-file-name-regexp-separate)
10467 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10468 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10469 (tramp-drop-volume-letter): Simplify definition.
10470 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10471
b1a4f8e1
SM
104722011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10475 (bug#9356).
10476
5664fa7b
RT
104772011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10478
b1a4f8e1 10479 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10480
9a45d6c3
JL
104812011-08-29 Juri Linkov <juri@jurta.org>
10482
10483 * isearch.el (isearch-done): Don't display message "Mark saved"
10484 when arg `edit' is non-nil to prevent its flicker in the echo area.
10485
fb87e0fb
CY
104862011-08-28 Chong Yidong <cyd@stupidchicken.com>
10487
10488 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10489 obsolete packages for deletion.
10490
09ac1c2a
CS
104912011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10492
10493 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10494 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10495 view-mode from help-mode.
10496 (help-xref-override-view-map): Remove.
10497 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10498 view-mode is not used anymore.
10499
7a1ff57f
CY
105002011-08-28 Chong Yidong <cyd@stupidchicken.com>
10501
10502 * server.el (server-port): Doc fix.
10503
b9696605
CY
10504 * cus-theme.el (custom-theme-choose-mode): Inherit from
10505 special-mode (Bug#9124).
10506 (custom-theme-choose-mode-map): Add special-mode to parent.
10507
ef8cdf8c
AM
105082011-08-28 Alan Mackenzie <acm@muc.de>
10509
10510 * progmodes/cc-fonts.el
10511 (c-make-font-lock-BO-decl-search-function): New function.
10512 (c-basic-matchers-after - "Fontify the clauses after various
10513 keywords"): Extract the three keyword lists for the 3 erroneous
10514 constructs from the list of four, and use the new function above
10515 in place of an old one.
10516
27de4e20
DD
105172011-08-28 Deniz Dogan <deniz@dogan.se>
10518
10519 * net/rcirc.el (rcirc-insert-prev-input)
10520 (rcirc-insert-next-input): Remove unused argument.
10521
356a3681
SM
105222011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10523
10524 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10525
3fc9b218
AM
105262011-08-27 Alan Mackenzie <acm@muc.de>
10527
10528 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10529 handle function pointer parameters properly.
10530
538a061c
MR
105312011-08-27 Martin Rudalics <rudalics@gmx.at>
10532
10533 * window.el (display-buffer-reuse-window): Fix case where
10534 selected window was reused with non-nil OTHER-WINDOW argument.
10535 (Bug#9381)
10536
35b1c40c
DD
105372011-08-27 Deniz Dogan <deniz@dogan.se>
10538
10539 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10540 oftc's NickServ messages.
10541
2f6a3e79
GM
105422011-08-27 Glenn Morris <rgm@gnu.org>
10543
10544 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10545
7254299e
CY
105462011-08-26 Chong Yidong <cyd@stupidchicken.com>
10547
10548 * emacs-lisp/package.el (package-install): Call package-initialize
10549 if called interactively.
10550
f8ccf167
LL
105512011-08-26 Leo Liu <sdl.web@gmail.com>
10552
10553 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10554
3e8cd5ce
JL
105552011-08-25 Juri Linkov <juri@jurta.org>
10556
10557 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10558 `search-whitespace-regexp' (bug#9364).
10559
93eb7113
JL
105602011-08-25 Juri Linkov <juri@jurta.org>
10561
10562 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10563 `regexp-search-ring' to their global values to protect from
10564 updating by `read-from-minibuffer' (bug#9185).
10565
f65d1611
JL
105662011-08-25 Juri Linkov <juri@jurta.org>
10567
10568 * textmodes/ispell.el (ispell-command-loop): Add newline
10569 at the end of the "Use option `i'..." line.
10570
f1cf7a31
JL
105712011-08-25 Juri Linkov <juri@jurta.org>
10572
10573 * battery.el (display-battery-mode): If `battery-status-function'
10574 or `battery-mode-line-format' is nil, display the message and set
10575 `display-battery-mode' to nil (bug#9363).
10576
0c95fcf7
EZ
105772011-08-25 Eli Zaretskii <eliz@gnu.org>
10578
10579 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10580 bidi-string-mark-left-to-right; they are unnecessary now.
10581
a2ebe600
DD
105822011-08-25 Deniz Dogan <deniz@dogan.se>
10583
10584 * net/quickurl.el: Documentation typo fixes.
10585
e4ed06f1
CY
105862011-08-25 Chong Yidong <cyd@stupidchicken.com>
10587
10588 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10589
e5f1c99e
GM
105902011-08-25 Glenn Morris <rgm@gnu.org>
10591
b2948976
GM
10592 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10593
e5f1c99e
GM
10594 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10595 (smtpmail-via-smtp): Handle nil response from smtp.
10596
f22f4808
JL
105972011-08-24 Juri Linkov <juri@jurta.org>
10598
10599 * proced.el (proced-marked): Inherit from `error' instead of
10600 `font-lock-warning-face'.
10601
10602 * ibuffer.el (ibuffer-marked-face): Change default face from
10603 `font-lock-warning-face' to `warning'.
10604 (ibuffer-deletion-face): Change default face from
10605 `font-lock-type-face' to `error'.
10606
10607 * battery.el (battery-update): Use the face `error' instead of
10608 `font-lock-warning-face' (bug#6117).
10609
6a93965e
JL
106102011-08-24 Juri Linkov <juri@jurta.org>
10611
10612 * faces.el (success): Change face color from "Green3" to
10613 "ForestGreen" on light background (bug#9353).
10614
1ed43b09
CY
106152011-08-24 Chong Yidong <cyd@stupidchicken.com>
10616
5664fa7b
RT
10617 * window.el (quit-window): Rename from quit-restore-window.
10618 Use same arglist as old quit-window.
1ed43b09
CY
10619 (frame-auto-delete): Doc fix.
10620
10621 * view.el (view-mode-exit): Use quit-window.
10622
11dcdbb2
JL
106232011-08-24 Juri Linkov <juri@jurta.org>
10624
10625 * isearch.el (isearch-ring-adjust1): Start visiting previous
10626 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10627 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10628 for empty search string (when the last search string is reused
10629 automatically) to adjust the isearch ring to the last element and
10630 prepare the correct index for further M-p commands (bug#9185).
10631
de62b4df
KH
106322011-08-24 Kenichi Handa <handa@m17n.org>
10633
10634 * international/ucs-normalize.el: If decomposition property of
10635 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10636 nil.
10637 (nfd, nfkd): Likewise.
10638
963b492b
SM
106392011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10640
10641 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10642 from process filters aren't reliably transmitted to the surrounding
10643 accept-process-output.
10644 (mpc-proc-check): New function.
10645 (mpc-proc-sync): Use it (bug#8293)
10646
93b6b5e1
SM
106472011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10648
10649 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10650 Add compatibility functions (bug#9313).
10651
bca633fb
EZ
106522011-08-23 Eli Zaretskii <eliz@gnu.org>
10653
b177498a
EZ
10654 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10655
6df6ae42 10656 * international/uni-bidi.el: Regenerate.
bca633fb 10657
0902a04e
KH
106582011-08-23 Kenichi Handa <handa@m17n.org>
10659
10660 * international/charprop.el:
10661 * international/uni-bidi.el:
10662 * international/uni-category.el:
10663 * international/uni-combining.el:
10664 * international/uni-comment.el:
10665 * international/uni-decimal.el:
10666 * international/uni-decomposition.el:
10667 * international/uni-digit.el:
10668 * international/uni-lowercase.el:
10669 * international/uni-mirrored.el:
10670 * international/uni-name.el:
10671 * international/uni-numeric.el:
10672 * international/uni-old-name.el:
10673 * international/uni-titlecase.el:
10674 * international/uni-uppercase.el: Regenerate.
10675
3bbf23bc
MR
106762011-08-23 Martin Rudalics <rudalics@gmx.at>
10677
10678 * help.el (help-window-setup): Fix message displayed when other
10679 window is reused. (Bug#9341)
10680
b3fd59bd
SM
106812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10682
1802e444
SM
10683 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10684 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10685
b3fd59bd
SM
10686 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10687 Mark obsolete.
10688 * shell.el (shell-parse-pcomplete-arguments): New function.
10689 (shell-completion-vars): Use it instead (bug#9160).
10690
4eb61348
SM
106912011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10692
867cab74
SM
10693 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10694 strings and comments (bug#9333).
10695
4eb61348
SM
10696 * emacs-lisp/debug.el (debug-arglist): New function.
10697 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10698 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10699
262a1439
JL
107002011-08-22 Juri Linkov <juri@jurta.org>
10701
56ee679c
JL
10702 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10703 Revert regexp that highlights output switches to its old
10704 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10705
262a1439
JL
10706 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10707 to check for empty output (bug#9226).
10708
f13f86fb
CY
107092011-08-22 Chong Yidong <cyd@stupidchicken.com>
10710
10711 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10712 symbol-constituent as the default, as that stops font-lock from
10713 working properly (Bug#8843).
10714
c65c9622
LMI
107152011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10716
10717 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10718 `coding-system-for-*' around the process open call to avoid
10719 auth-source side effects.
e7f2c178 10720 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10721 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10722 probe hangs.
c65c9622 10723
23a8a5ab
CY
107242011-08-21 Chong Yidong <cyd@stupidchicken.com>
10725
ff98b2dd
CY
10726 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10727
23a8a5ab
CY
10728 * emacs-lisp/find-func.el (find-function-noselect): New arg
10729 lisp-only.
10730
10731 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10732 signal an error for built-in functions (Bug#6664).
10733
f5e3c598
LMI
107342011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10735
10736 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10737 (smtpmail-try-auth-methods): Use it.
10738
a3f2468a
CY
107392011-08-21 Chong Yidong <cyd@stupidchicken.com>
10740
2c34e8da
CY
10741 * font-lock.el (font-lock-fontify-region)
10742 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10743 (font-lock-default-unfontify-buffer)
10744 (font-lock-default-fontify-region)
10745 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10746
b3fd59bd
SM
10747 * progmodes/compile.el (compilation-error-properties):
10748 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10749 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10750 `ant' regexp.
ee31aabc 10751
a3f2468a
CY
10752 * net/browse-url.el (browse-url-firefox): Don't call
10753 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10754
8e999f70
GM
107552011-08-20 Glenn Morris <rgm@gnu.org>
10756
c21a496a
GM
10757 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10758
59ee0542
GM
10759 * tutorial.el (tutorial--default-keys): Update some default bindings.
10760
8e999f70
GM
10761 * files.el (hack-local-variables): Fully ignore case for "mode:".
10762
e3715033
AM
107632011-08-20 Alan Mackenzie <acm@muc.de>
10764
10765 Resolve invalid use of a regexp in regexp-opt.
10766
4d61f28d
JB
10767 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10768 detection for a java annotation.
e3715033 10769
4d61f28d 10770 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10771 detection for a java annotation.
10772
4d61f28d
JB
10773 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10774 handling for java.
e3715033
AM
10775 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10776
04ed2e9c
CY
107772011-08-20 Chong Yidong <cyd@stupidchicken.com>
10778
10779 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10780 (Bug#9274).
10781
826cee64
AM
107822011-08-20 Alan Mackenzie <acm@muc.de>
10783
58179cce 10784 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10785 such a construct. Mainly for when jit-lock etc. starts a chunk
10786 here.
10787
58179cce 10788 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10789 variable.
58179cce 10790 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10791 c-make-font-lock-search-function.
10792 (c-make-font-lock-search-function): Use the above function.
10793 (c-make-font-lock-context-search-function): New function.
10794 (c-cpp-matchers): Enhance the preprocessor expression case with
10795 the above function
10796 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10797 which takes an expression.
10798
10799 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10800
13009bd8
MR
108012011-08-20 Martin Rudalics <rudalics@gmx.at>
10802
10803 * window.el (display-buffer-reuse-window)
10804 (display-buffer-pop-up-window): Don't reuse or split a side
10805 window.
10806
9234ff7f
GM
108072011-08-19 Glenn Morris <rgm@gnu.org>
10808
10809 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10810 Downcase "Mode:". (Bug#9331)
9234ff7f 10811
f635daa1
CY
108122011-08-18 Chong Yidong <cyd@stupidchicken.com>
10813
10814 * international/characters.el: Add L and R categories.
10815
10816 * subr.el (bidi-string-mark-left-to-right): Rename from
10817 string-mark-left-to-right. Use category search.
10818
10819 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10820
bc987f8b
JL
108212011-08-18 Juri Linkov <juri@jurta.org>
10822
10823 * faces.el (error, warning, success): New faces with definitions
10824 copied from old default values of `font-lock-warning-face',
10825 `compilation-warning', `compilation-info' (bug#6117).
10826
10827 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10828
10829 * progmodes/compile.el (compilation-error): Inherit from `error'.
10830 (compilation-warning): Inherit from `warning'.
10831 (compilation-info): Inherit from `success'.
10832
10833 * dired.el (dired-marked): Inherit from `warning'.
10834 (dired-flagged): Inherit from `error'.
10835
57173b96
LMI
108362011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10837
3e79eb87
LMI
10838 * mail/smtpmail.el (auth-source): Require to avoid problems with
10839 binding variables (bug#9298). Also clean up some unused
10840 autoloads.
10841
b3fd59bd
SM
10842 * net/network-stream.el (network-stream-open-starttls):
10843 Support using starttls.el without using gnutls-cli.
57173b96 10844
02b404de
JL
108452011-08-17 Juri Linkov <juri@jurta.org>
10846
10847 * progmodes/grep.el (rgrep): Handle the case when
10848 `grep-find-command' is a cons cell (bug#9278).
10849
8c9177f2
MR
108502011-08-17 Martin Rudalics <rudalics@gmx.at>
10851
10852 * window.el (display-buffer-pop-up-frame): Run frame creation
10853 function with BUFFER current (as special-display-popup-frame
10854 does). Reported by Drew Adams.
10855
3644a0ab
DU
108562011-08-17 Daiki Ueno <ueno@unixuser.org>
10857
10858 * epa-mail.el: Simplify GnuPG group expansion using
10859 epg-expand-group.
10860 (epa-mail-group-alist, epa-mail-group-modtime)
10861 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10862 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10863 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10864 Remove.
10865
5e617bc2 108662011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10867
10868 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10869
9c4aeabf
AM
108702011-08-16 Alan Mackenzie <acm@muc.de>
10871
10872 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10873 Correct, to avoid the inside of macros.
10874
3a99bf64
RS
108752011-08-16 Richard Stallman <rms@gnu.org>
10876
04963aa8
RS
10877 * epa-mail.el: Handle GnuPG group definitions.
10878 (epa-mail-group-alist, epa-mail-group-modtime)
10879 (epa-mail-gnupg-conf-file): New variables.
10880 (epa-mail-parse-groups, epa-mail-sync-groups)
10881 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10882 (epa-mail-expand-recipients): New functions.
10883 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10884
177549d0
RS
10885 * mail/rmail.el (rmail-epa-decrypt): New command.
10886
fe38beef
RS
10887 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10888 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10889 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10890 (epa-decrypt-armor-in-region): Make error message clearer.
10891
934eacb9
SM
108922011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10893
10894 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10895 and "a2b" to "ab" for `prefix'.
10896
d024fb4e
CY
108972011-08-14 Chong Yidong <cyd@stupidchicken.com>
10898
10899 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10900 filter groups.
de148fee
CY
10901 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10902 Fourquet (Bug#8804).
d024fb4e 10903
62f1ca49
JB
109042011-08-12 Juanma Barranquero <lekktu@gmail.com>
10905
10906 * startup.el (argi): Declare as global variable (bug#9275).
10907
9ccaaa4b
CY
109082011-08-12 Chong Yidong <cyd@stupidchicken.com>
10909
10910 * subr.el (string-mark-left-to-right): Search the entire string
10911 for RTL script, not just the terminating character. Doc fix.
10912
a3dae87a
SM
109132011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10914
6cd18349
SM
10915 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10916 New function.
10917 (js--regexp-literal, js-syntax-propertize-function): Remove.
10918 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10919 (js-mode-map): Don't rebind electric keys.
10920 (js-insert-and-indent): Remove.
10921 (js-mode): Setup electric-layout and electric-indent instead.
10922
a3dae87a
SM
10923 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10924
9d5cb631
DU
109252011-08-12 Daiki Ueno <ueno@unixuser.org>
10926
10927 * epa.el (epa-progress-callback-function): Fix the logic of
10928 displaying progress.
10929 * epa-file.el (epa-file-insert-file-contents): Make progress
10930 display more user-friendly.
10931 (epa-file-write-region): Ditto.
10932
3e26a4a2
CY
109332011-08-10 Chong Yidong <cyd@stupidchicken.com>
10934
10935 * subr.el (string-mark-left-to-right): New function.
10936
10937 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10938 Use string-mark-left-to-right.
10939 (list-buffers-noselect): Caller changed.
10940
a3dae87a
SM
10941 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10942 Use string-mark-left-to-right.
3e26a4a2
CY
10943 (tabulated-list-print): Recenter after moving point.
10944
ac8cf6e6
JL
109452011-08-10 Juri Linkov <juri@jurta.org>
10946
10947 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10948 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10949 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10950
8d96c9a4
CY
109512011-08-09 Chong Yidong <cyd@stupidchicken.com>
10952
10953 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10954 (Bug#7554).
10955
7be1c708 109562011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10957
10958 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10959 character. (Bug#6594)
10960
37e11a63
CY
109612011-08-08 Chong Yidong <cyd@stupidchicken.com>
10962
839dde57
CY
10963 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10964 (image-dired--with-db-file): New macro.
10965 (image-dired-write-tags, image-dired-remove-tag)
10966 (image-dired-create-gallery-lists, image-dired-write-comments)
10967 (image-dired-get-comment, image-dired-mark-tagged-files)
10968 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10969 (image-dired-gallery-generate): Use insert-file-contents.
10970
37e11a63
CY
10971 * time.el (display-time-world-list, display-time-world-display):
10972 * time-stamp.el (time-stamp-string):
10973 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10974 set-time-zone-rule (Bug#7337).
10975
0b4946c4
DU
109762011-08-08 Daiki Ueno <ueno@unixuser.org>
10977
10978 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10979 (epg-error-to-string, epg-errors-to-string): New function.
10980 (epg-wait-for-completion): Reverse errors list.
10981 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10982 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10983 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10984 (epg-sign-keys, epg-generate-key-from-file)
10985 (epg-generate-key-from-string): Format errors by using
10986 epg-errors-to-string (bug#9255).
10987 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10988
75bfc667
JL
109892011-08-07 Juri Linkov <juri@jurta.org>
10990
10991 * faces.el (list-faces-display): Remove extra angle bracket
10992 from `help-mode-map'.
10993
10994 * info.el (Info-history-toc-nodes): Doc fix.
10995
10996 * longlines.el (longlines-mode): Doc fix.
10997
673e08bb
SM
109982011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10999
4640dd88
SM
11000 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11001 of statements and in a few more cases (bug#9183).
11002
673e08bb
SM
11003 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11004 New functions.
11005 (cl-transform-lambda): Use them (bug#9239).
11006
89b3f019
MR
110072011-08-05 Martin Rudalics <rudalics@gmx.at>
11008
11009 * window.el (display-buffer-same-window)
11010 (display-buffer-same-frame, display-buffer-other-window)
11011 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11012 (pop-to-buffer-other-window)
11013 (pop-to-buffer-same-frame-other-window)
11014 (pop-to-buffer-other-frame): Make them defuns.
11015 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11016
640c8776
SM
110172011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * subr.el (make-composed-keymap): Move from C. Change calling
11020 convention, and improve docstring to bring attention to a subtle point.
11021 * minibuffer.el (completing-read-default): Adjust accordingly.
11022
63648a95
MA
110232011-08-03 Michael Albinus <michael.albinus@gmx.de>
11024
11025 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11026 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11027
11028 * net/trampver.el: Update release number.
11029
b796c9b7
SM
110302011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11031
11032 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11033 "in" (bug#9190).
11034
2239d7d5
LMI
110352011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11036
e07dd7c3
LMI
11037 * mail/sendmail.el (sendmail-query-once): Restore the current
11038 buffer after querying (bug#9074).
11039
0e6a2bd7
LMI
11040 * dired.el (dired-flagged): Use different faces for marked and
11041 flagged files (bug#6117).
11042
ce887515
LMI
11043 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11044 (bug#4433).
11045
92f2affc
LMI
11046 * ido.el (ido-mode): Switch off the message if called
11047 non-interactively.
11048
57d5aff0
LMI
11049 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11050 before 587, since it appears that that's more likely to work for
11051 more people.
11052
98cd6c18 11053 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11054 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11055 exist.
11056
b96dec83
LMI
11057 * info.el: Remove the `Info-beginning-of-buffer' function
11058 (bug#8325).
11059
b796c9b7
SM
11060 * net/network-stream.el (network-stream-open-starttls):
11061 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11062
d90e2ea0
MR
110632011-08-01 Martin Rudalics <rudalics@gmx.at>
11064
11065 * window.el (display-buffer-in-window): Don't set dedicated status
11066 of window here (Bug#9215).
11067 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11068 (display-buffer-pop-up-side-window)
b796c9b7 11069 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11070
cca09170
SM
110712011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11074 before binding generated-autoload-file.
11075
027b979c
DD
110762011-08-01 Deniz Dogan <deniz@dogan.se>
11077
11078 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11079
3c7ee4f3
MA
110802011-07-30 Michael Albinus <michael.albinus@gmx.de>
11081
11082 Sync with Tramp 2.2.2.
11083
11084 * net/trampver.el: Update release number.
11085
2cc8e51a
JL
110862011-07-30 Juri Linkov <juri@jurta.org>
11087
11088 * dired-aux.el (dired-touch-initial): Remove function.
11089 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11090 current time, and `default' to the last modification time of the
11091 current marked file (bug#6887).
11092
a514d856
JM
110932011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11094
11095 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11096 numeric argument to read-number (bug#9163).
a514d856 11097
8a7eddd7
MA
110982011-07-27 Michael Albinus <michael.albinus@gmx.de>
11099
11100 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11101 connection process, it could be nil.
11102
1ddd96f5
LL
111032011-07-27 Leo Liu <sdl.web@gmail.com>
11104
11105 Simplify url handling in rcirc-mode.
11106
11107 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11108 (rcirc-browse-url-at-mouse): Remove.
11109 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11110
b248a85d
AM
111112011-07-26 Alan Mackenzie <acm@muc.de>
11112
11113 Fontify bitfield declarations properly.
11114
11115 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11116 (c-symbol-chars): Now exported as a lang variable.
11117 (c-not-primitive-type-keywords): New lang variable.
11118
11119 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11120 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11121 parsed as a bitfield declaration.
b248a85d 11122
b796c9b7
SM
11123 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11124 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11125 (c-punctuation-in): New function.
11126 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11127 declarations properly.
11128
68575ab0
UJ
111292011-07-26 Ulf Jasper <ulf.jasper@web.de>
11130
11131 * calendar/icalendar.el (icalendar--all-events): Take care of
11132 multiple vcalendars in a single file.
b796c9b7 11133 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11134
0f0a88b9
DD
111352011-07-25 Deniz Dogan <deniz@dogan.se>
11136
11137 * image.el (insert-image): Clarifying docstring.
11138
0b3f36df
MA
111392011-07-24 Michael Albinus <michael.albinus@gmx.de>
11140
11141 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11142 `tramp-send-command-and-check' if there is no error.
11143 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11144
a9901f61
AM
111452011-07-22 Alan Mackenzie <acm@muc.de>
11146
11147 Prevent cc-langs.elc being loaded at run time.
11148
11149 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11150 cc-langs.
11151
4d61f28d 11152 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11153 "(require 'cc-langs)". Quote a form so it will evaluate at
11154 (cc-mode's) compilation time.
11155
11d074b2
MA
111562011-07-22 Michael Albinus <michael.albinus@gmx.de>
11157
11158 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11159 loading. (Bug#9114)
11160
938b94c8
MR
111612011-07-21 Martin Rudalics <rudalics@gmx.at>
11162
11163 * window.el (display-buffer-pop-up-window)
11164 (display-buffer-pop-up-side-window)
11165 (display-buffer-in-side-window): Call display-buffer-set-height
11166 and display-buffer-set-width after setting the new window's
b796c9b7 11167 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11168
bfa4f190
SS
111692011-07-20 Sam Steingold <sds@gnu.org>
11170
11171 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11172 (etags-tags-included-tables): Call `convert-standard-filename' on
11173 the file names contained in TAGS so that windows Emacs can handle
11174 TAGS files created by cygwin ctags.
11175
8ca42262
LMI
111762011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11177
11178 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11179 which apparently didn't work.
11180
5db2afd2 111812011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11182
5db2afd2
RW
11183 * proced.el (proced-send-signal): For *Marked Processes* buffer
11184 put point at beginning of buffer.
11185
92e15d10
SB
111862011-07-19 Stephen Berman <stephen.berman@gmx.net>
11187
11188 * proced.el (proced-format): Make header lines align with the text
11189 (bug#1779).
11190
1bfd59e5
LMI
111912011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11192
11193 * view.el (view-buffer): Allow running in `special' modes if we're
11194 visiting a file (bug#8615).
11195
f5aae37c
MR
111962011-07-19 Martin Rudalics <rudalics@gmx.at>
11197
11198 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11199 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11200 New functions.
f5aae37c
MR
11201 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11202 more accurately.
11203
bf2c1571
AM
112042011-07-18 Alan Mackenzie <acm@muc.de>
11205
11206 Fontify declarators properly when, e.g., a jit-lock chunk begins
11207 inside a declaration.
11208
11209 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11210
b796c9b7
SM
11211 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11212 New function.
bf2c1571
AM
11213 (c-complex-decl-matchers): Insert reference to
11214 c-font-lock-enclosing-decls.
11215
11216 * progmodes/cc-engine.el (c-backward-single-comment):
11217 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11218 to nil around calls to (forward-comment -1).
11219
4e190b80
LMI
112202011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11221
12dc863d
LMI
11222 * image.el (put-image): Doc typo fix.
11223
a762e966
LMI
11224 * progmodes/etags.el (tags-search): Doc typo fix.
11225
4e190b80
LMI
11226 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11227 password if we get errors 550 to 554.
11228
f019fb21
LMI
112292011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11230
b796c9b7 11231 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11232
81746738
LMI
11233 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11234 indentation character (bug#6380).
11235
3ee3a1b5
LMI
11236 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11237
c82f64de
LMI
11238 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11239 to clarify what the problem is (bug#4291).
11240
f019fb21
LMI
11241 * simple.el (current-kill): Clarify what
11242 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11243 (auto-fill-mode): Document `auto-fill-function' in relation to
11244 `auto-fill-mode' (bug#2470).
f019fb21 11245
0794775d
LM
112462011-07-16 Lawrence Mitchell <wence@gmx.li>
11247
11248 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11249 method if slot is read-only (bug#9035).
11250
be39b8cc
MR
112512011-07-16 Martin Rudalics <rudalics@gmx.at>
11252
b796c9b7 11253 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11254 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11255 selected before, see discussion of (Bug#8615), (Bug#6954).
11256 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11257
6ccf7859
GM
112582011-07-15 Glenn Morris <rgm@gnu.org>
11259
11260 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11261 Respect help-form.
6ccf7859 11262
87e86684
LM
112632011-07-09 Lawrence Mitchell <wence@gmx.li>
11264
11265 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11266 (gnutls-negotiate): Use it.
11267
d6066239
LMI
112682011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11269
b796c9b7
SM
11270 * net/gnutls.el (gnutls-negotiate):
11271 Upcase `gnutls-algorithm-priority'.
d6066239 11272
bd23ebc0
GM
112732011-07-15 Glenn Morris <rgm@gnu.org>
11274
c65bca65
GM
11275 * jka-compr.el (jka-compr-verbose): Move from here...
11276 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11277 Add missing :version tag.
11278 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11279
478615cc
LMI
112802011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11281
7b41decb
LMI
11282 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11283 (gnutls-negotiate): Use it.
11284
dbc44fcd
LMI
11285 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11286
06789f97
LMI
11287 * info.el (Info-beginning-of-buffer): New command.
11288 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11289 announcing `b' as the key (bug#8325).
ab896c37 11290 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11291
c39da690
LMI
11292 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11293
3aa5f34b
LMI
11294 * international/mule-cmds.el
11295 (describe-specified-language-support): Make the error message
11296 clearer (bug#8905).
11297
4bf0979f
LMI
11298 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11299
478615cc
LMI
11300 * isearch.el (isearch-barrier): Add a doc string, since it's
11301 mentioned in a function doc string (bug#8678).
11302
75c68aa1
MR
113032011-07-15 Martin Rudalics <rudalics@gmx.at>
11304
11305 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11306 buffer argument (Bug#9083) and self-identifying label argument.
11307
a7c33da2
GM
113082011-07-15 Glenn Morris <rgm@gnu.org>
11309
11310 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11311
2f5c6024
LMI
113122011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11313
11314 * man.el (Man-fontify-manpage): Fix message when formatting the
11315 man page (bug#7929).
11316
0bb23927 113172011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11318
11319 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11320 argument LRM; if non-nil, append an invisible LRM character to the
11321 buffer name.
11322 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11323 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11324 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11325 paragraph direction.
cce4b0a7 11326
621ef9ab
LMI
113272011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
d1583c48
LMI
11329 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11330 the man page name (bug#7929).
11331
6a57fb5f
LMI
11332 * image.el (put-image): Mention the `put-image' overlay property
11333 (bug#7834).
11334
d7956b14
LMI
11335 * scroll-bar.el (set-scroll-bar-mode): Mention that
11336 `scroll-bar-mode' lists the values (bug#7772).
11337
5b2d4a66
LMI
11338 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11339 command (bug#7729).
11340
7509a874
LMI
11341 * rect.el (apply-on-rectangle): Return the point after the last
11342 operation.
11343 (string-rectangle): Go to the point after the last operation
11344 (bug#7522).
11345
4fe74b19
LMI
11346 * printing.el (pr-toggle-region): Clarify the documentation
11347 slightly (bug#7493).
11348
b796c9b7
SM
11349 * time.el (display-time-update):
11350 Allow `display-time-mail-function' to return nil (bug#7158).
11351 Fix suggested by Detlev Zundel.
ab283561 11352
fc233c9d
LMI
11353 * vc/diff.el (diff): Clarify the order the file names are read
11354 (bug#7111).
11355
43f5740b
LMI
11356 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11357 the doc string (bug#7015).
11358
f2182a76
LMI
11359 * font-lock.el (font-lock-maximum-decoration): Mention what
11360 numeric levels mean (bug#6935).
11361
621ef9ab
LMI
11362 * startup.el (initial-buffer-choice): Don't mention the `none'
11363 selection, which is against policy.
11364
adc47434
MR
113652011-07-14 Martin Rudalics <rudalics@gmx.at>
11366
b796c9b7
SM
11367 * window.el (display-buffer-normalize-special):
11368 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11369
7e5bfb8f
EZ
113702011-07-14 Eli Zaretskii <eliz@gnu.org>
11371
11372 * subr.el (version<, version<=, version=): Mention "-CVS" and
11373 "-12345" alpha version numbers.
11374
27fa387a
CY
113752011-07-14 Chong Yidong <cyd@stupidchicken.com>
11376
11377 * bindings.el: Add advertised binding for set-mark-command
11378 (Bug#5772).
11379
8bdfa064
CY
113802011-07-14 Chong Yidong <cyd@stupidchicken.com>
11381
11382 * bindings.el (mode-line-other-buffer):
11383 * bookmark.el (bookmark-bmenu-2-window):
11384 * bs.el (bs-cycle-next, bs-cycle-previous):
11385 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11386 switch-to-buffer.
11387
11388 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11389 Delete.
8bdfa064 11390
5eba16a3
JB
113912011-07-14 Juanma Barranquero <lekktu@gmail.com>
11392
11393 * follow.el (follow-debug-message, follow-redisplay):
11394 * jka-cmpr-hook.el (with-auto-compression-mode):
11395 Fix typos in docstrings.
11396
15853710
LMI
113972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11398
a28e4607
LMI
11399 * subr.el (with-silent-modifications): Clarify somewhat what the
11400 macro inhibits (bug#6525).
11401
15853710
LMI
11402 * simple.el (eval-expression): Note what it does if called
11403 interactively (bug#6495).
11404
bee0fcef
CY
114052011-07-13 Chong Yidong <cyd@stupidchicken.com>
11406
b796c9b7
SM
11407 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11408 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11409
11410 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11411 Remove switch-to-buffer.
11412
58274504
LMI
114132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11414
bd2fcc8d
LMI
11415 * files.el (make-directory): Clarify that an error will be raised
11416 if there's an error (bug#6397).
11417
0f04b32c
LMI
11418 * startup.el (initial-buffer-choice): Add `none' as a choice
11419 (bug#6234).
11420
465c5fc8
LMI
11421 * subr.el (add-hook): Clarify section about buffer-local hooks
11422 (bug#6218).
11423
58274504
LMI
11424 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11425
bead9a43
JB
114262011-07-13 Juanma Barranquero <lekktu@gmail.com>
11427
11428 * tabify.el (untabify): Preserve the current column so that point
11429 doesn't move (bug#6032).
11430
3af98a7b
LMI
114312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11432
b796c9b7
SM
11433 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11434 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11435
6240145a
GM
114362011-07-13 Glenn Morris <rgm@gnu.org>
11437
11438 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11439 (dired-insert-directory): Give a message the first time
11440 if ls is found not to support --dired.
11441
1d8c2ccc
LMI
114422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11443
11444 * simple.el (toggle-truncate-lines): Clarify what is toggled
11445 (bug#5580). Text by Drew Adams.
11446
5fc4038e
CY
114472011-07-13 Chong Yidong <cyd@stupidchicken.com>
11448
11449 * simple.el (blink-matching-open): Make the error message from the
11450 last change less verbose.
11451
bf6012e5
DN
114522011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11453
11454 * font-lock.el (font-lock-comment-face): Use the high contrast
11455 "yellow" color for font-lock-comment-face on low color terminals
11456 using a dark background color (bug#4221).
11457
343c3b5a
LMI
114582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11459
7e9505c5
LMI
11460 * dired.el (dired-insert-set-properties): Make the doc string
11461 reflect what it does now (bug#5325).
11462
c26fdcf5
LMI
11463 * simple.el (blink-matching-open): Say that we were unable to find
11464 the match within the limit, if we're limited (bug#5122).
11465
bb388cc5
LMI
11466 * international/mule-cmds.el (prefer-coding-system): Add an
11467 example (bug#4869).
11468
343c3b5a
LMI
11469 * progmodes/etags.el (tags-search): Document `file-list-form'
11470 (bug#4731).
11471
2a517d45
LM
114722011-07-13 Lawrence Mitchell <wence@gmx.li>
11473
11474 * net/browse-url.el (browse-url-default-browser)
11475 (browse-url-browser-function): Make the default browser choice a
11476 bit more logical (bug#4300). Also clean up the doc string.
11477
b6c78ef2
JB
114782011-07-13 Juanma Barranquero <lekktu@gmail.com>
11479
11480 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11481 binary endings (bug#4440).
11482
1c4dd947
LMI
114832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11484
a2014063
LMI
11485 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11486 which can be pretty annoying (bug#8971).
11487
9c9c2d88
LMI
11488 * jka-compr.el (jka-compr-verbose): New variable, and use
11489 throughout (bug#8971).
11490
1c4dd947
LMI
11491 * info.el (Info-find-file): Fall back on the installation
11492 directory if we can't find the info node anywhere else.
11493
a1c9f41b
SO
114942011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11495
11496 * vc/vc.el (vc-revert-file):
11497 Don't set file time-stamp in the past. (Bug#5181)
11498
536f3d36
LMI
114992011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11500
7152b011
LMI
11501 * files.el (after-find-file): Give a better error message when
11502 trying to find a symlink that points to a file that doesn't exist
11503 (bug#4398).
11504
536f3d36
LMI
11505 * progmodes/cc-vars.el: Remove (probably) misleading comment
11506 (bug#4396).
11507
460c0fba
JB
115082011-07-12 Johan Bockgård <bojohan@gnu.org>
11509
11510 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11511
7a6bda45
CY
115122011-07-12 Chong Yidong <cyd@stupidchicken.com>
11513
11514 * mouse-sel.el: Hack restoring functionality, while keeping
11515 compatibility with 2010-07-03 changes to mouse selection.
11516 (mouse-sel-primary-overlay): New var.
11517 (mouse-sel-selection-alist): Use it.
11518 (mouse-sel-mode): Doc fix; remove points that are default features
11519 of mouse.el.
11520
c79598ef
JB
115212011-07-12 Johan Bockgård <bojohan@gnu.org>
11522
11523 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11524 Fix previous fix (bug#2490).
11525
ff8be6ef
RW
115262011-07-12 Roland Winkler <winkler@gnu.org>
11527
b796c9b7
SM
11528 * textmodes/bibtex.el (bibtex-initialize):
11529 Use pop-to-buffer-same-window.
ff8be6ef
RW
11530 (bibtex-search-entries): Fix interactive call.
11531
296ba3ee
LMI
115322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
f5242a02 11534 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11535 Fontise bytecomp Error lines more correctly (bug#2490).
11536 Fix suggested by Johan Bockgård.
f5242a02 11537
296ba3ee
LMI
11538 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11539
11540 * dired-x.el (dired-guess-default): Use `delete-dups'.
11541
f69fd0d2
CY
115422011-07-12 Chong Yidong <cyd@stupidchicken.com>
11543
11544 * dired.el (dired-mark-prompt):
11545 * dired-aux.el (dired-read-shell-command): Doc fix.
11546
eab5dc07
LMI
115472011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11548
b796c9b7
SM
11549 * mail/sendmail.el (sendmail-query-once):
11550 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11551 emacs -Q.
11552
11553 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11554
eab5dc07
LMI
11555 * cus-edit.el (custom-file): Take an optional no-error variable.
11556 (customize-save-variable): Set the variable, and give a warning if
11557 running under "emacs -q".
11558
a1e65d42
JB
115592011-07-11 Juanma Barranquero <lekktu@gmail.com>
11560
11561 * loadhist.el (unload-feature-special-hooks):
11562 Add `auto-coding-functions', `fill-nobreak-predicate' and
11563 `find-directory-functions' (bug#5327).
11564
1d52da10
LMI
115652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11566
be958f1d
LMI
11567 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11568
5bedb26c
LMI
11569 * cus-edit.el (custom-guess-name-alist): -alist variables should
11570 use the `alist' type (bug#3120). Suggested by Drew Adams.
11571
1d52da10
LMI
11572 * printing.el: Add documentation to all the `pr-toggle-' commands.
11573
cd394be1 115742011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11575
11576 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11577 backends where it makes sense (bug#2623).
11578
dcc88d8a
LMI
115792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11580
c3de9feb
LMI
11581 * dired-x.el (dired-guess-default): Remove duplicate shell command
11582 entries (bug#2028).
8a93078b 11583 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11584 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11585
dcc88d8a
LMI
11586 * subr.el (remove-duplicates): New conveniency function.
11587
505e3645
LMI
115882011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11589
11590 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11591 (bug#1526).
11592
115932011-07-10 Martin Rudalics <rudalics@gmx.at>
11594
11595 * window.el (display-buffer-normalize-default): Don't invert
11596 meaning of even-window-heights. Reported by Eli Zaretskii
11597 <eliz@gnu.org>.
11598
455e4fa1
BR
115992011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11600
11601 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11602
8e0bc3e9
CY
116032011-07-10 Chong Yidong <cyd@stupidchicken.com>
11604
11605 * window.el (display-buffer): Fix arguments to
11606 display-buffer-reuse-window in last change.
11607
fa7c3228
CY
11608 * faces.el (link): Use a less saturated blue on light backgrounds.
11609
11610 * startup.el (fancy-startup-text, fancy-about-text)
11611 (fancy-startup-tail): Use font-lock faces, for background safety.
11612
c0a7f300
BN
116132011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11614
b796c9b7
SM
11615 * emulation/viper-cmd.el (viper-change-state-to-vi):
11616 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11617
4dc2a129
MR
116182011-07-09 Martin Rudalics <rudalics@gmx.at>
11619
11620 * window.el (display-buffer-default-specifiers): Remove.
11621 (display-buffer-macro-specifiers): Remove default specifiers.
11622 (display-buffer-alist): Default to nil.
b796c9b7 11623 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11624 (display-buffer-pop-up-window): Allow splitting internal
11625 windows. Check whether a live window was created.
11626 (display-buffer-other-window-means-other-frame)
11627 (display-buffer-normalize-arguments): Rename to
11628 display-buffer-normalize-argument and rewrite. Set the
11629 other-window specifier.
11630 (display-buffer-normalize-special): New function.
11631 (display-buffer-normalize-options): Rename to
11632 display-buffer-normalize-default and rewrite.
11633 (display-buffer-normalize-options-inhibit): Remove.
11634 (display-buffer-normalize-specifiers): Rewrite.
11635 (display-buffer): Process other-window specifier and call
11636 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11637 more faithfully.
b796c9b7 11638 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11639 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11640 (display-buffer-in-window, display-buffer-alist-set):
11641 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11642 <tassilo@member.fsf.org>.
11643
2d43b8c9
LL
116442011-07-09 Leo Liu <sdl.web@gmail.com>
11645
11646 * register.el (insert-register): Restore accidental change on
11647 2011-06-26. (Bug#9028)
11648
7f9b7c53
GM
116492011-07-09 Glenn Morris <rgm@gnu.org>
11650
11651 * subr.el (remq): Handle the empty list. (Bug#9024)
11652
f042cfd8
AS
116532011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11654
11655 * mail/sendmail.el (send-mail-function): No longer delay custom
11656 initialization.
11657 * custom.el (custom-initialize-delay): Doc fix.
11658
856b2f11
SM
116592011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11660
11661 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11662
afae1d68
MA
116632011-07-08 Michael Albinus <michael.albinus@gmx.de>
11664
11665 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11666 human-friendly prompt.
11667
0757af94
SM
116682011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11671 provided by a particular plugin.
11672
d760b731
LMI
116732011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11674
11675 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11676 save customizations (with "emacs -Q"), just set the variable
11677 instead of erroring out.
11678
11679 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11680
cd79ce90
JL
116812011-07-08 Juri Linkov <juri@jurta.org>
11682
11683 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11684 (archive-zip-update-case): Use 7z if found by `executable-find'.
11685 The order of searching the available programs is the same as in
11686 `archive-zip-extract' (bug#8968).
11687
14cc04aa
CY
116882011-07-07 Chong Yidong <cyd@stupidchicken.com>
11689
11690 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11691 (menu-bar-options-menu): Tweak descriptions.
11692
0a1848ec
LMI
116932011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11694
11695 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11696 menu items into verb phrases (bug#1421). Also refill to fit under
11697 80 columns.
11698
f5bd0689
CY
116992011-07-07 Chong Yidong <cyd@stupidchicken.com>
11700
538e85c6
CY
11701 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11702 (Info-read-node-name): Doc fix (Bug#1084).
11703
f5bd0689
CY
11704 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11705 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11706 (end-of-sexp, beginning-of-sexp)
11707 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11708 (forward-symbol, forward-same-syntax, word-at-point)
11709 (sentence-at-point): Doc fix (Bug#1144).
11710
56ec5115
LMI
117112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11712
f3f8e37f
LMI
11713 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11714 should cover it (bug#1281).
11715
0757af94 11716 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11717
e9fce1ac 11718 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11719 negotiation fails, then possibly try again with a non-encrypted
11720 connection (bug#9017).
11721
56ec5115
LMI
11722 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11723 be used.
11724
c2f9aec8
RS
117252011-07-07 Richard Stallman <rms@gnu.org>
11726
11727 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11728 property, and handle its changed format.
11729 Look for the correct line number.
11730 Use file's line contents (but not past first =) to find
11731 correct line in message.
11732
ef7b981d 117332011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11734
11735 * international/characters.el (build-unicode-category-table):
11736 Delete it.
0757af94 11737 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11738
0757af94 11739 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11740 to src/chartab.c.
11741 (get-char-code-property): Call unicode-property-table-internal to
11742 load a file. Call get-unicode-property-internal where necessary.
11743 (put-char-code-property): Call unicode-property-table-internal to
11744 load a file. Call put-unicode-property-internal where necessary.
11745 put-unicode-property-internal where necessary.
0757af94
SM
11746 (char-code-property-description):
11747 Call unicode-property-table-internal to load a file.
c805dec0
KH
11748
11749 * international/charprop.el:
11750 * international/uni-bidi.el:
11751 * international/uni-category.el:
11752 * international/uni-combining.el:
11753 * international/uni-comment.el:
11754 * international/uni-decimal.el:
11755 * international/uni-decomposition.el:
11756 * international/uni-digit.el:
11757 * international/uni-lowercase.el:
11758 * international/uni-mirrored.el:
11759 * international/uni-name.el:
11760 * international/uni-numeric.el:
11761 * international/uni-old-name.el:
11762 * international/uni-titlecase.el:
11763 * international/uni-uppercase.el: Regenerate.
11764
11765 * loadup.el: Load international/charprop.el before
11766 international/characters.
11767
e14b388a
CY
117682011-07-07 Chong Yidong <cyd@stupidchicken.com>
11769
11770 * window.el (next-buffer, previous-buffer): Signal an error if
11771 called from a minibuffer window.
11772
11773 * bindings.el: Revert 2011-07-04 change.
11774
354cf0ba
RS
117752011-07-06 Richard Stallman <rms@gnu.org>
11776
11777 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11778 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11779 Treat markers like ints.
11780 (rmail-mime-entity): Doc fix.
11781
a48868a7
LMI
117822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11783
4906cd3d
LMI
11784 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11785 defcustom again for backwards compatibility.
11786
e0457abe
LMI
11787 * simple.el (shell-command-on-region): Fill.
11788
d67f7e1f
LMI
11789 * dired-aux.el (dired-kill-line): Add a doc string.
11790
fe204702
LMI
11791 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11792 to "\\sw\\|\\s_" (bug#358).
11793
a48868a7
LMI
11794 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11795 (dired-unmark-backward): Ditto.
11796 (dired-flag-backup-files): Ditto.
11797
11798 * dired-x.el (dired-mark-sexp): Ditto.
11799
aa8a705c
RS
118002011-07-06 Richard Stallman <rms@gnu.org>
11801
11802 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11803 (rmail-mime-entity): New arg TRUNCATED.
11804 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11805 New functions.
11806 (rmail-mime-save): Warn if entity is truncated.
11807 (rmail-mime-toggle-hidden): Likewise, for showing.
11808 (rmail-mime-process-multipart): Record when an entity is truncated.
11809
a9a936b9
RS
11810 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11811 if ENTITY is a string.
11812
1f2b92cb
LMI
118132011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11814
f4f73198 11815 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11816 of faces when `M-C-x'-ing their definitions (bug#8378).
11817 Also clean up the code slightly.
f4f73198 11818
12b16734 11819 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11820 because that makes the colors go away.
12b16734 11821
f0691d22
LMI
11822 * mail/sendmail.el (send-mail-function): Change the default to
11823 `sendmail-query-once'.
9e87df06 11824 (sendmail-query-once): Add an autoload cookie.
f0691d22 11825
1f2b92cb
LMI
11826 * net/network-stream.el (network-stream-open-starttls): Try using
11827 a plain connection even if the server offered STARTTLS, and we
11828 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11829 capability. This should make smtpmail.el work in slightly more
11830 configurations.
11831
1cdd2a1b
MA
118322011-07-06 Michael Albinus <michael.albinus@gmx.de>
11833
11834 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11835 New defun.
11836 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11837
fbcc67e2
MM
118382011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11839
11840 * progmodes/sql.el: Version 3.0
0757af94 11841 (sql-product-alist): Add product :completion-object,
fbcc67e2 11842 :completion-column, and :statement attributes.
0757af94 11843 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11844 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11845 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11846 ansi keywords.
11847 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11848 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11849 (sql-oracle-show-reserved-words): New function for development.
11850 (sql-product-font-lock): Simplify for source code buffers.
11851 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11852 New functions.
11853 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11854 (sql-mode-map): Add statement movement functions.
11855 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11856 New variable.
fbcc67e2
MM
11857 (sql-statement-regexp, sql-beginning-of-statement)
11858 (sql-end-of-statement, sql-signum): New functions.
0757af94 11859 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11860 (sql-show-sqli-buffer): Bug fix.
11861 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11862 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11863 with sql-interactive-mode.
11864 (sql-save-connection): Save buffer local settings.
0757af94 11865 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11866 (sql-product-interactive): Bug fix.
11867 (sql-preoutput-hold): New variable.
11868 (sql-interactive-remove-continuation-prompt): Bug fixes.
11869 (sql-debug-redirect): New variable.
11870 (sql-str-literal): New function.
11871 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11872 Redesign.
fbcc67e2
MM
11873 (sql-oracle-save-settings, sql-oracle-restore-settings)
11874 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11875 (sql-completion-object, sql-completion-column)
11876 (sql-completion-sqlbuf): New variables.
11877 (sql-build-completions-1, sql-build-completions)
11878 (sql-try-completion): New functions.
11879 (sql-read-table-name): Use them.
11880 (sql-contains-names): New buffer local variable.
11881 (sql-list-all, sql-list-table): Use it.
11882 (sql-oracle-completion-types): New variable.
11883 (sql-oracle-completion-object, sql-sqlite-completion-object)
11884 (sql-postgres-completion-object): New functions.
11885
d4eaeab1
GM
118862011-07-06 Glenn Morris <rgm@gnu.org>
11887
11888 * window.el (pop-to-buffer): Doc fix.
11889
322b7dab 118902011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11891
11892 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11893
322b7dab 118942011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11895
322b7dab 11896 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11897
322b7dab 11898 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11899
605dd5bf
CY
119002011-07-05 Chong Yidong <cyd@stupidchicken.com>
11901
11902 * button.el (button): Inherit from link face. Suggested by Dan
11903 Nicolaescu.
11904
7dbfa719
SM
119052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11906
3db614b0
SM
11907 * progmodes/gdb-mi.el: Fit in 80 columns.
11908 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11909 switch-to-buffer.
11910
7dbfa719
SM
11911 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11912 if imenu is simply not configured (bug#8941).
11913
919d884a
KM
119142011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11915
11916 * allout.el (allout-post-undo-hook): New allout outline-change
11917 event hook to signal undo activity.
11918 (allout-post-command-business): Run allout-post-undo-hook if an
11919 undo just occurred.
7dbfa719
SM
11920 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11921 * allout-widgets.el (allout-widgets-after-undo-function):
11922 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11923 in the vicinity of an undo.
11924 (allout-widgets-mode): Include allout-widgets-after-undo-function
11925 on the new allout-post-undo-hook.
11926
450a0f09
SM
119272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11930 Let define-derived-mode define it.
11931 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11932 cycles of abbrev-table inheritance (bug#8998).
11933
2de69e00
RW
119342011-07-05 Roland Winkler <winkler@gnu.org>
11935
11936 * textmodes/bibtex.el: Add support for biblatex.
11937 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11938 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11939 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11940 (bibtex-entry-alist, bibtex-field-alist): New variables.
11941 (bibtex-entry-field-alist): Obsolete alias for
11942 bibtex-BibTeX-entry-alist.
11943 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11944 (bibtex-set-dialect): New command.
11945 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11946 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11947 Bind via bibtex-set-dialect.
2de69e00
RW
11948 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11949 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11950 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11951 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11952 Define via bibtex-set-dialect.
450a0f09
SM
11953 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11954 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11955 (bibtex-vec-push, bibtex-vec-incr): New functions.
11956 (bibtex-format-entry, bibtex-field-list)
11957 (bibtex-print-help-message, bibtex-validate)
11958 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11959
2dcdbdd9
SM
119602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * progmodes/compile.el (compilation-goto-locus):
11963 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11964 * bs.el (bs-cycle-next, bs-cycle-previous):
11965 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11966 * bindings.el (mode-line-other-buffer):
11967 * autoinsert.el (auto-insert):
11968 * arc-mode.el (archive-extract):
11969 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11970
b27640fe
JB
119712011-07-05 Juanma Barranquero <lekktu@gmail.com>
11972
11973 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11974 Fix check of `emacs-lock-unlockable-modes'.
11975 Coerce true values of `emacs-lock--try-unlocking' to t.
11976
53bbe3ad
JB
119772011-07-05 Juanma Barranquero <lekktu@gmail.com>
11978
11979 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11980 * emacs-lock.el: New file.
11981
1d3cdbc7
JD
119822011-07-05 Julien Danjou <julien@danjou.info>
11983
11984 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11985 than `boundp' to check if face is set.
11986
9173deec
JB
119872011-07-05 Juanma Barranquero <lekktu@gmail.com>
11988
11989 * register.el (registerv-make):
11990 * window.el (window-min-height): Fix typos in docstrings.
11991
869795d6
JD
119922011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11993
9173deec 11994 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11995 Update doc string.
11996
b768cdcd
JB
119972011-07-04 Juanma Barranquero <lekktu@gmail.com>
11998
11999 * server.el (server-execute): Catch quit and call
12000 `server-return-error' to pass the error back to emacsclient and
12001 close the connection (bug#8942).
12002
13aa217b
KM
120032011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12004
12005 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12006 insecure exception for current topic. Also note that auto-saves
12007 are handled differently.
12008
5d3385a0 12009 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12010 State variables for tracking auto-save inhibition situation.
12011
12012 (allout-write-contents-hook-handler): Rename from
12013 'allout-write-file-hook-handler', and describe how it depends on
12014 write-contents-functions sensitivity to non-nil value to prevent
12015 file write.
12016
12017 (allout-auto-save-hook-handler): Remove. auto-save does not check
12018 this in individual buffers, only in the starting buffer, so this
12019 is not the right way for us to inhibit auto-save in a buffer
12020 according to its condition.
12021
12022 (allout-mode): Use new allout-write-contents-hook-handler, and
12023 only with write-contents-functions. Remove auto-save provisions -
12024 they're implemented elsewhere.
12025
12026 (allout-before-change-handler): If undo is in progress, note that
12027 for attention of allout-post-command-business.
12028
12029 (allout-post-command-business): If the command we're following was
12030 an undo, check for change in the status of encrypted items and
12031 adjust auto-save inhibitions accordingly.
12032
12033 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12034 according to whether there are or aren't any plain-text topics
12035 pending encryption.
12036
2dcdbdd9 12037 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12038 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12039 if there are plain-text topics pending encryption.
13aa217b
KM
12040
12041 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12042 buffer-saved-size and some allout state to not inhibit auto-saves
12043 if there are no longer any plain-text topics pending encryption.
12044
0757af94
SM
12045 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12046 No longer provide for exemption of the current topic.
13aa217b 12047
ac89b32c
JL
120482011-07-04 Juri Linkov <juri@jurta.org>
12049
12050 Add 7z operations to delete and save changed members (bug#8968).
12051 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12052 New defcustoms.
12053 (archive-7z-write-file-member): New function.
12054 (archive-7z-summarize): Fix the number of dashes in the
12055 listing output.
12056
8fa39615
SM
120572011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12060 (bug#8958).
12061
2f11b3f1
CY
120622011-07-04 Chong Yidong <cyd@stupidchicken.com>
12063
d66fef2b
CY
12064 * bindings.el: Ignore next-buffer and previous-buffer in
12065 minibuffer-local-map.
12066
2f11b3f1
CY
12067 * font-lock.el (font-lock-builtin-face): Change light background
12068 color to dark slate blue (Bug#6693).
12069
f932a347
WD
120702011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12071
12072 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12073
c8af70e1
SM
120742011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12075
12076 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12077 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12078 Add switch-to-buffer.
12079
f158badc
LMI
120802011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12081
12082 * isearch.el (isearch-search-fun-function): Clarify further the
12083 meaning of the function returned.
12084
6d95bd46
MA
120852011-07-04 Michael Albinus <michael.albinus@gmx.de>
12086
12087 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12088
12089 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12090 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12091 Use it.
12092 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12093 `tramp-default-remote-path' does not exist.
12094 (tramp-send-command-and-read): New optional argument NOERROR.
12095 (tramp-open-connection-setup-interactive-shell)
12096 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12097 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12098 (tramp-process-sentinel): Flush also process' connection property.
12099 (tramp-sh-handle-start-file-process): Do not set process
12100 sentinel. It is done now ...
12101 (tramp-maybe-open-connection): ... here. (Bug#8929)
12102
909e6b67
MK
121032011-07-04 MON KEY <monkey@sandpframing.com>
12104
12105 * play/animate.el (animate-string): Doc fixes and allow changing
12106 the buffer name (bug#5417).
12107
121082011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12109
c8af70e1 12110 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12111
f34755dc
PE
121122011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12113
396cec72
PE
12114 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12115 This is simpler and helps future-proof the code.
12116 (timer-until): Use time-subtract and float-time.
08235028 12117 (timer--time-less-p): Use time-less-p.
f34755dc 12118
56e6cc31
JB
121192011-07-04 Juanma Barranquero <lekktu@gmail.com>
12120
3abb79e5
JB
12121 * type-break.el (timep): Use the value of `float-time' to avoid a
12122 byte-compiler warning.
12123
56e6cc31
JB
12124 * server.el (server-eval-and-print): Return any result, even nil.
12125
7b9430b4
PE
121262011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12127
12128 * type-break.el: Accept time formats that the builtins accept.
12129 (timep, type-break-time-difference): Accept any format that
12130 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12131 This is simpler and helps future-proof the code.
12132 (type-break-time-difference): Round rather than ignoring
12133 subseconds components.
12134
3034e9e7
LMI
121352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12136
12137 * info.el (Info-apropos-matches): Make non-interactive, since it
12138 doesn't seem to do anything useful as a command (bug#8829).
12139
1485f4c0
CY
121402011-07-03 Chong Yidong <cyd@stupidchicken.com>
12141
12142 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12143 Move from faces.el.
1485f4c0
CY
12144 (frame-default-terminal-background): New function.
12145
12146 * custom.el (custom-push-theme): Don't record faces in `changed'
12147 theme; this doesn't work correctly for per-frame face settings.
12148 (disable-theme): Use face-set-after-frame-default to reset faces.
12149 (custom--frame-color-default): New function.
12150
9fa3dd45
LMI
121512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12152
c8af70e1 12153 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12154 (bug#8769).
12155
6cbbc20c
KR
121562011-03-29 Kevin Ryde <user42@zip.com.au>
12157
12158 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12159 `perl-Test2' extend to match possible "fail #N" rep count
12160 (bug#8377).
12161
c7f98048
LMI
121622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12163
65676592
LMI
12164 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12165 `smtpmail-via-smtp' now returns the error instead of nil.
12166
c7f98048
LMI
12167 * isearch.el (isearch-search-fun-function): Clarify the doc string
12168 (bug#8101).
12169
56e6cc31 121702011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12171
12172 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12173 unnecessary spaces (bug#8987).
12174
2b216704
LMI
121752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12176
12177 * net/network-stream.el (open-network-stream): Use the
12178 :end-of-capability command thoughout.
12179
121802011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12181
12182 * net/network-stream.el (open-network-stream): Add the
12183 :end-of-capability command parameter, used by pop3.el.
12184
36adf6ce
LMI
121852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12186
1ca0da0e
LMI
12187 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12188
fc00f69c
LMI
12189 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12190 for list)" (bug#6475).
12191
28fd8759 12192 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12193 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12194 an error (bug#6297).
12195
0dd8b6da
LMI
12196 * man.el (Man-reference-regexp): Allow matching possible
12197 word-wrapped references (bug#6289).
12198
ce1438d6
LMI
12199 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12200 for consistency with the other vc buffers (bug#6197).
12201 (vc-checkin): Ditto.
12202
12203 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12204
36adf6ce
LMI
12205 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12206
e83cc1f7
LMI
122072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12208
8a20ca4c
LMI
12209 * custom.el (defcustom): Clarify that :set is only used in the
12210 Customize user interface (bug#6089).
12211
83319045
LMI
12212 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12213 associated with a file, refuse to run instead of erroring out
12214 (bug#6084).
12215
a8392169
LMI
12216 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12217 the doc string, since it appears that using `fill-column' always
12218 controls the width (bug#7845).
12219
e83cc1f7
LMI
12220 * simple.el (shell-command-on-region): Say where the error output
12221 went if `shell-command-default-error-buffer' is set (bug#6857).
12222
e47ca23b
KM
122232011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12224
12225 * allout.el (allout-yank-processing): Adjust cursor position for
12226 backwards-deleted space.
12227
12228 (allout-rebullet-heading): Register changes with
12229 allout-exposure-changed-hook, so the modified topic is properly
12230 decorated.
12231
5cf56143
LMI
122322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12233
08549772
LMI
12234 * minibuffer.el (completion-in-region): Document PREDICATE
12235 (bug#7136).
12236
48e96771
LMI
12237 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12238 of keyword/argument pairs (bug#6904).
12239
c8af70e1
SM
12240 * replace.el (multi-occur):
12241 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12242
e17d05e2
LMI
122432011-07-02 Drew Adams <drew.adams@oracle.com>
12244
12245 * dired.el (dired-mark-if): Make the message about whether it's
12246 marking or unmarking clearer (bug#8523).
12247
063b0e45
LMI
122482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12249
12250 * disp-table.el (display-table-print-array): New function.
12251 (describe-display-table): Use it to print the vectors more pretty
12252 (Bug#8859).
12253
28545e04
MR
122542011-07-02 Martin Rudalics <rudalics@gmx.at>
12255
12256 * window.el (window-state-get-1): Don't assign clone numbers.
12257 Add clone-of item to list of window parameters.
12258 (window-state-put-2): Don't process clone numbers.
12259 (display-buffer-alist): Fix doc-string.
12260
3349e122
SM
122612011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * subr.el (remq): Don't allocate if it's not needed.
12264 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12265 (keymap--merge-bindings): New functions.
12266 (keymap-canonicalize): Use them to refine the canonicalization.
12267 * minibuffer.el (minibuffer-local-completion-map)
12268 (minibuffer-local-must-match-map): Move initialization from C.
12269 (minibuffer-local-filename-completion-map): Move initialization from C;
12270 don't inherit from anything here.
12271 (minibuffer-local-filename-must-match-map): Make obsolete.
12272 (completing-read-default): Use make-composed-keymap to combine
12273 minibuffer-local-filename-completion-map with either
12274 minibuffer-local-must-match-map or
12275 minibuffer-local-filename-completion-map.
12276
d224ac83
GM
122772011-07-01 Glenn Morris <rgm@gnu.org>
12278
3de63bf8
GM
12279 * type-break.el (type-break-time-sum): Use dolist.
12280
d224ac83
GM
12281 * textmodes/flyspell.el (flyspell-word-search-backward):
12282 Replace CL function.
12283
1a1e3f32
SM
122842011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12285
fe3f64d5
SM
12286 * mouse.el (mouse--strip-first-event): New function.
12287 (function-key-map): Use it to map fringe clicks to normal clicks
12288 by default.
12289
eb604e34
SM
12290 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12291 (vc-bzr-revision-completion-table): Add support for annotate and date.
12292
1a1e3f32
SM
12293 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12294 inherit from parent.
12295
5bd35902
LMI
122962011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12297
ace6c69c 12298 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12299 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12300
191e2bed
LMI
12301 * dired.el (dired-mode): Fix up the doc string as suggested by
12302 Drew Adams (bug#8817).
12303
5bd35902
LMI
12304 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12305 cookie, since the manual says that it should be possible to add
12306 this function to `find-file-hook' (bug#8709).
12307
eee8207a
TZ
123082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12309
12310 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12311 here. Noted Ted Zlatanov as the maintainer.
12312 (cfengine-common-settings, cfengine-common-syntax): New functions
12313 to set up common things between `cfengine-mode' and
12314 `cfengine3-mode'.
12315 (cfengine3-mode): New mode.
12316 (cfengine3-defuns cfengine3-defuns-regex
12317 (cfengine3-class-selector-regex cfengine3-category-regex)
12318 (cfengine3-vartypes cfengine3-font-lock-keywords)
12319 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12320 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12321
36b148cf
MA
123222011-07-01 Michael Albinus <michael.albinus@gmx.de>
12323
12324 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12325
12326 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12327
0bf4ba9a
MR
123282011-07-01 Martin Rudalics <rudalics@gmx.at>
12329
12330 * window.el (same-window-buffer-names, same-window-regexps)
12331 (same-window-p, special-display-frame-alist)
12332 (special-display-popup-frame, special-display-function)
12333 (special-display-buffer-names, special-display-regexps)
12334 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12335 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12336 (split-window-preferred-function, split-height-threshold)
12337 (split-width-threshold, even-window-heights)
12338 (display-buffer-mark-dedicated, window-splittable-p)
12339 (split-window-sensibly, window-safely-shrinkable-p):
12340 Un-obsolete.
12341 (display-buffer): Don't spread args with function specifier
12342 because special-display-popup-frame won't like it.
12343
35837f51
PE
123442011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12345
d0672f86
PE
12346 Time-stamp simplifications and fixes.
12347 These improve accuracy slightly, and future-proof the code
12348 against some potential changes to current-time format.
12349
b9444d97
PE
12350 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12351 by using time-since and float-time.
12352
0ef923dc
PE
12353 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12354 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12355 + NNN microseconds".
12356
2f81380d
PE
12357 * type-break.el (type-break-time-sum): Rewrite using time-add.
12358
845b5c3e
PE
12359 * play/hanoi.el (hanoi-current-time-float): Remove.
12360 All uses replaced by float-time.
12361
ee6f1be0
PE
12362 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12363 This yields a more-accurate answer.
12364 (rng-time-to-float): Remove; no longer needed.
12365
fe955043
PE
12366 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12367
5777162a
PE
12368 * calendar/timeclock.el (timeclock-seconds-to-time):
12369 Defalias to seconds-to-time, since they're the same thing.
12370
3103f8b6 12371 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12372 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12373 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12374
0e61a35f
SM
123752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * window.el (bury-buffer): Don't iconify the only frame.
12378 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12379 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12380
ddd63a1e
CY
123812011-07-01 Chong Yidong <cyd@stupidchicken.com>
12382
0e61a35f
SM
12383 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12384 Add mouse-yank-primary.
ddd63a1e 12385
055f4923
TZ
123862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12387
12388 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12389
6a2fb145
SM
123902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12393 (find-library-name): Use it to find relative load names when provided
12394 absolute file name (bug#8803).
12395
fd4983f2
LMI
123962011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12397
887d14ad
LMI
12398 * textmodes/flyspell.el (flyspell-word): Consider words that
12399 differ only in case as potential doublons (bug#5687).
12400
c53dc7fc
LMI
12401 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12402 Remove two rather uninteresting debugging-like messages to make
12403 debbugs.el more silent.
12404
fd4983f2
LMI
12405 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12406 a password-like phrase.
12407
7a71b18d 124082011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12409
12410 * progmodes/cc-guess.el: New file.
12411
6a2fb145 12412 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12413
12414 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12415 derived from `c-basic-common-init'.
12416
12417 * progmodes/cc-mode.el (top-level): Require cc-guess.
12418 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12419
1fa280a3
LM
124202011-06-30 Lawrence Mitchell <wence@gmx.li>
12421
12422 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12423
e6597158
AM
124242011-06-30 Alan Mackenzie <acm@muc.de>
12425
1fa280a3
LM
12426 * progmodes/cc-engine.el (c-guess-continued-construct):
12427 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12428 lock is disabled. Name this case as "CASE G".
12429
68ba37fb
KM
124302011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12431
12432 * allout.el (allout-yank-processing): Fix injection of extra space
12433 between bullet and non-whitespace character in first topic when
12434 pasting, ensuring that the actual spacing in the pasted topic
12435 following the bullet char is preserved. This extra space was
12436 causing pasted encrypted topics to get a decrypted status even
12437 when the content was actually still encrypted. Now the decryption
12438 status from before the paste is preserved.
12439
12440 (allout-flag-region): Set all allout overlays so they evaporate
12441 when reduced to zero length (evanescent), to prevent overlay
12442 leakage.
12443
887a0b34
GM
124442011-06-30 Glenn Morris <rgm@gnu.org>
12445
94b9acce
GM
12446 * w32-fns.el (w32-charset-info-alist): Declare.
12447
1d9b46d4
GM
12448 * find-dired.el (find-grep-options): Simplify.
12449
cc232200
GM
12450 * term/ns-win.el (ns-set-resource): Declare.
12451
28e77c46
GM
12452 * ses.el (row, col): Declare dynamic variables honestly.
12453
887a0b34
GM
12454 * textmodes/reftex-parse.el (index-tags): Declare.
12455
658d8eb8
CY
124562011-06-30 Chong Yidong <cyd@stupidchicken.com>
12457
12458 * cus-edit.el (customize-push-and-save): New function.
12459
12460 * files.el (hack-local-variables-confirm): Use it.
12461
1fa280a3
LM
12462 * custom.el (load-theme): New arg NO-CONFIRM.
12463 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12464 (custom-enabled-themes): Doc fix.
12465
12466 * cus-theme.el (customize-create-theme)
12467 (custom-theme-merge-theme): Callers to load-theme changed.
12468
bb617717
LMI
124692011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12470
d61bdd5d
LMI
12471 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12472 short URLs have at least one dot in them (bug #7614).
12473
bb617717
LMI
12474 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12475 nil, because using a pty is apparently too slow (bug #895).
12476
2f31f37a
LMI
124772011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12478
12479 * mail/sendmail.el (sendmail-query-once): New function.
12480 (sendmail-query-once-function): New variable.
12481
3076b24e
GM
124822011-06-29 Glenn Morris <rgm@gnu.org>
12483
faf2a174
GM
12484 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12485
3076b24e
GM
12486 * ses.el (top-level): Require cl when compiling.
12487 (ses-set-localvars): Fix error statement.
12488 Call it at compile time to silence a storm of warnings.
12489
5386012d
MR
124902011-06-29 Martin Rudalics <rudalics@gmx.at>
12491
12492 * window.el (normalize-live-buffer): Rename to
12493 window-normalize-buffer.
12494 (normalize-live-frame): Rename to window-normalize-frame.
12495 (normalize-any-window): Rename to window-normalize-any-window.
12496 (normalize-live-window): Rename to window-normalize-live-window.
12497 (make-window-atom): Rename to window-make-atom.
12498 (window-resize-reset): Rename to window--resize-reset.
12499 (window-resize-reset-1): Rename to window--resize-reset-1.
12500 (resize-mini-window): Rename to window--resize-mini-window.
12501 (resize-subwindows-skip-p): Rename to
12502 window--resize-subwindows-skip-p.
12503 (resize-subwindows-normal): Rename to
12504 window--resize-subwindows-normal.
12505 (resize-subwindows): Rename to window--resize-subwindows.
12506 (resize-other-windows): Rename to window--resize-siblings.
12507 (resize-this-window): Rename to window--resize-this-window.
12508 (resize-root-window): Rename to window--resize-root-window.
12509 (resize-root-window-vertically): Rename to
12510 window--resize-root-window-vertically.
12511 (normalize-buffer-to-display): Rename to
12512 window-normalize-buffer-to-display.
12513 (normalize-buffer-to-switch-to): Rename to
12514 window-normalize-buffer-to-switch-to.
12515 Correspondingly update all callers of the functions listed
12516 above.
12517 (display-buffer-alist, display-buffer-normalize-arguments)
12518 (display-buffer-normalize-options, display-buffer)
12519 (display-buffer-alist-set): Use "function" instead of
12520 "fun-with-args".
12521
1176868d
CY
125222011-06-28 Chong Yidong <cyd@stupidchicken.com>
12523
12524 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12525 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12526 debbugs.gnu.org. Mention acknowledgment email.
12527
20a7a65f
LMI
125282011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12529
12530 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12531 buffer multibyteness, since it shouldn't matter.
12532
5f45cca5
MR
125332011-06-28 Martin Rudalics <rudalics@gmx.at>
12534
12535 * window.el (display-buffer-in-side-window): Handle dedicated
12536 windows as in display-buffer-reuse-window.
12537 (display-buffer-normalize-alist): Use value of override
12538 specifier.
12539 (display-buffer-normalize-specifiers): Use value of
12540 other-window-means-other-frame specifier.
12541 (display-buffer-alist): Rewrite some texts in widgets.
12542 (display-buffer): Spread arguments when calling function
12543 specified by fun-with-args.
12544
ad85fe1f
DD
125452011-06-28 Deniz Dogan <deniz@dogan.se>
12546
1fa280a3
LM
12547 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12548 Unnest `let'.
da68c4c8 12549
ad85fe1f
DD
12550 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12551 selectors (Bug#5732).
ec49bd31 12552 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12553
a08cc025
JA
125542011-06-27 Jari Aalto <jari.aalto@cante.net>
12555
12556 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12557 (eshell-ls-date-format): New defcustom.
12558 (eshell-ls-file): Use it.
12559
e2b551c5
SM
125602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12563
8982b231
KY
125642011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12565
12566 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12567 (ange-ftp-make-tmp-name): New arg.
12568 (ange-ftp-file-local-copy): Use it.
12569
36c9fa27
J
125702011-06-27 Jambunathan K <kjambunathan@gmail.com>
12571
12572 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12573 no-conversion (Bug#8870).
12574
d68443dc
MR
125752011-06-27 Martin Rudalics <rudalics@gmx.at>
12576
12577 * window.el (window-right, window-left, window-child)
12578 (window-child-count, window-last-child)
12579 (window-iso-combination-p, walk-window-tree-1)
12580 (window-atom-check-1, window-tree-1, delete-window)
12581 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12582 new naming conventions - window-vchild, window-hchild,
12583 window-next and window-prev are now called window-top-child,
12584 window-left-child, window-next-sibling and window-prev-sibling
12585 respectively.
d615d6d2
MR
12586 (resize-window-reset): Rename to window-resize-reset.
12587 (resize-window-reset-1): Rename to window-resize-reset-1.
12588 (resize-window): Rename to window-resize.
12589 (window-min-height, window-min-width)
12590 (resize-mini-window, resize-this-window, resize-root-window)
12591 (resize-root-window-vertically, adjust-window-trailing-edge)
12592 (enlarge-window, shrink-window, maximize-window)
12593 (minimize-window, delete-window, quit-restore-window)
12594 (split-window, balance-windows, balance-windows-area-adjust)
12595 (balance-windows-area, window-state-put-2)
12596 (display-buffer-even-window-sizes, display-buffer-set-height)
12597 (display-buffer-set-width, set-window-text-height)
12598 (fit-window-to-buffer): Rename all "resize-window" prefixed
12599 calls to use the "window-resize" prefix convention.
12600 (display-buffer-alist): Fix symbol for label specifier.
12601 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12602 corresponding specifier.
12603 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12604
b6458526
VB
126052011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12606
12607 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12608 convention.
12609 (ses-call-printer): Does not pass an empty string to formatter when the
12610 cell is empty to keep from barking printer Calc math-format-value.
12611
d31fd9ac
RS
126122011-06-27 Richard Stallman <rms@gnu.org>
12613
43d5bf84
RS
12614 * battery.el (battery-mode-line-limit): New variable.
12615 (battery-update): Handle it.
12616
d31fd9ac
RS
12617 * mail/rmailmm.el (rmail-mime-process-multipart):
12618 Handle truncated messages.
12619
819a6054
GM
126202011-06-27 Glenn Morris <rgm@gnu.org>
12621
12622 * progmodes/flymake.el (flymake-err-line-patterns):
12623 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12624
cedc73f2
VB
126252011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12626
819a6054 12627 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12628 (ses--clean-!, ses--clean-_): New functions.
12629 (ses-range): Add configurability of readout order, and conversion
12630 to Calc vector.
12631
5e5d49b6
VB
12632 * ses.el (ses-repair-cell-reference-all): New function.
12633 (ses-cell-symbol): Set macro as safe, so that it can be used in
12634 formulas.
12635
56e6cc31 12636 * ses.el: Update cycle detection algorithm.
90ca8b49 12637 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12638 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12639 (ses-set-localvars): New function.
12640 (ses-make-cell): Add property-list as a cell element.
12641 (ses-cell-property-get-fun, ses-cell-property-get)
12642 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12643 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12644 New functions.
90ca8b49
VB
12645 (ses-cell-property-set, ses-cell-property-pop)
12646 (ses-cell-property-get-handle): New macro.
12647 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12648 New aliases, used for code readability.
12649 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12650 cycle detection.
12651 (ses-self-reference-early-detection): New defcustom.
fac916bf 12652 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12653 (ses-mode): Use ses-set-localvars.
12654 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12655 before lauching the update processing.
12656 (ses-initialize-Dijkstra-attempt): New function.
12657 (ses-recalculate-cell): Update for cycle detection based on
12658 Dijkstra algorithm.
12659
2bb63e81
VB
12660 * ses.el: Fix commenting and indenting convention.
12661
c9d29fb8
SM
126622011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * bs.el (bs-cycle-next): Complete last change.
12665
d8e4b68b
JB
126662011-06-27 Drew Adams <drew.adams@oracle.com>
12667
12668 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12669
40098786
LMI
126702011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12671
c9d29fb8
SM
12672 * net/network-stream.el (network-stream-open-starttls):
12673 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12674 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12675
40098786
LMI
12676 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12677 to binary to possibly avoid line encoding issues on Windows (among
12678 other things).
12679
468d09d4
LMI
126802011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12681
12682 * net/network-stream.el (open-network-stream): Return an :error
12683 saying what the problem was, if possible.
12684
12685 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12686 server.
12687
12688 * net/network-stream.el (network-stream-open-starttls): If we
12689 wanted to use STARTTLS, and the server offered it, but we weren't
12690 able to because we had no STARTTLS support, then close the connection.
12691 (open-network-stream): Return an :error element, if present.
12692
16f07dd7
CY
126932011-06-26 Chong Yidong <cyd@stupidchicken.com>
12694
88821ca0
CY
12695 * hl-line.el (hl-line-sticky-flag): Doc fix.
12696 (global-hl-line-sticky-flag): New option (Bug#8323).
12697 (global-hl-line-highlight): Obey it.
12698
16f07dd7
CY
12699 * vc/vc.el (vc-revert-show-diff): Default to t.
12700
6b5ccddf
KM
127012011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12702
c9d29fb8
SM
12703 * allout-widgets.el (allout-widgets-post-command-business):
12704 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12705 undecorated when an isearch is continued past, and isearch
12706 automatically collapses them. This leads to "widget leaks", where
12707 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12708 hidden widgets can slow down cursor travel, substantially.
12709 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12710 so we're doing without this nicety.
12711
12712 (allout-widgets-tally-string): Don't try to do a hash-table-count
12713 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12714 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12715 *Messages* when allout-widgets-maintain-tally is t.
12716
355f2e07
MR
127172011-06-26 Martin Rudalics <rudalics@gmx.at>
12718
12719 * window.el (display-buffer-normalize-argument): Rename to
12720 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12721 LABEL argument. Respect special-display-function when popping up
12722 a new frame. Fix code searching for a window showing the buffer
12723 on another frame.
c9d29fb8
SM
12724 (display-buffer-normalize-specifiers):
12725 Call display-buffer-normalize-arguments.
355f2e07
MR
12726 (display-buffer-in-window): Don't undedicate the window if its
12727 buffer remains the same.
12728 Reported by Drew Adams <drew.adams@oracle.com>.
12729 (display-buffer-alist): Add choice for same-window macro
12730 specfier.
12731 (display-buffer): Mention special meaning of LABEL argument in
12732 doc-string. Fix quoting. Don't pop up a new frame even as
12733 fallback.
12734
7ca8fc42
JB
127352011-06-26 Juanma Barranquero <lekktu@gmail.com>
12736
12737 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12738 avoid deleting the current window in some cases (bug#8911).
12739
bc312254
AS
127402011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12741
12742 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12743 (Bug#8934)
12744
2db18f3f
LMI
127452011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12746
c9d29fb8
SM
12747 * net/network-stream.el (network-stream-open-starttls):
12748 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12749 (network-stream-open-tls): Ditto.
12750
6302e0d3
LL
127512011-06-26 Leo Liu <sdl.web@gmail.com>
12752
12753 * register.el (registerv): New struct.
12754 (registerv-make): New function.
c9d29fb8
SM
12755 (jump-to-register, describe-register-1, insert-register):
12756 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12757 struct. (Bug#8415)
12758
5fdd4046
CY
127592011-06-26 Chong Yidong <cyd@stupidchicken.com>
12760
2afef60a
CY
12761 * vc/vc.el (vc-revert-show-diff): New defcustom.
12762 (vc-diff-internal): New arg specifying diff buffer.
12763 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12764 reuse an existing *vc-diff* buffer (Bug#8927).
12765
5fdd4046
CY
12766 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12767
e93db24a
GM
127682011-06-26 Glenn Morris <rgm@gnu.org>
12769
12770 * progmodes/f90.el (f90-critical-indent): New option.
12771 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12772 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12773 (f90-mode): Doc fix.
12774 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12775 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12776 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12777 (f90-match-end): Handle block, critical.
12778
eefff499
GM
127792011-06-25 Glenn Morris <rgm@gnu.org>
12780
f6ba4cc9
GM
12781 * calendar/diary-lib.el (diary-included-files): Doc fix.
12782 (diary-include-files): New function, extracted from
12783 diary-include-other-diary-files and diary-mark-included-diary-files.
12784 (diary-include-other-diary-files, diary-mark-included-diary-files):
12785 Just call diary-include-files.
12786 (diary-mark-entries): Reset diary-included-files on first call.
12787
16712304
GM
12788 * calendar/diary-lib.el (diary-mark-entries)
12789 (diary-mark-included-diary-files):
12790 Visit included diary-files in temp buffers.
12791
5d8e0d43
GM
12792 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12793 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12794 (f90-start-block-re, f90-imenu-generic-expression)
12795 (f90-looking-at-program-block-start, f90-no-block-limit):
12796 Add support for submodules.
12797
ccf7a5d5
GM
12798 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12799 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12800
11fdef7d 128012011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12802
12803 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12804 buffer-file-type before setting its value, to avoid disastrous
eefff499 12805 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12806
74f53697
JB
128072011-06-25 Juanma Barranquero <lekktu@gmail.com>
12808
12809 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12810
12811 * ses.el (ses-unload-function):
12812 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12813
12814 * proced.el (proced-unload-function):
12815 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12816
18a4ce5e
AR
128172011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12818
12819 * server.el (server-create-window-system-frame): Add parameters arg.
12820 (server-process-filter): Doc fix. Handle frame-parameters.
12821
519d22cc
JB
128222011-06-25 Juanma Barranquero <lekktu@gmail.com>
12823
12824 Fix bug#8730, bug#8781.
12825
12826 * loadhist.el (unload--set-major-mode): New function.
12827 (unload-feature): Use it.
12828
12829 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12830 (python-unload-function): New function.
12831
c206f5b0
SM
128322011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12835
f9ad64f3
GS
128362011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12837
12838 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12839 the candidates list.
12840
7d0da90e
JB
128412011-06-24 Juanma Barranquero <lekktu@gmail.com>
12842
12843 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12844
14b4e83d
RS
128452011-06-23 Richard Stallman <rms@gnu.org>
12846
12847 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12848 (rmail-variables): Set next-error-move-function.
12849 (rmail-what-message): Take argument POS.
12850 (rmail-next-error-move): New function.
12851
273d2baf
SM
128522011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12853
12854 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12855 messages for adjacent non-terminals.
12856
56c2cc9a
RS
128572011-06-23 Richard Stallman <rms@gnu.org>
12858
12859 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12860 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12861 (rmail-start-mail): Don't specify use of rmail-mail-return;
12862 that's done by mail-bury now.
12863 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12864
d59eb518
MA
128652011-06-23 Michael Albinus <michael.albinus@gmx.de>
12866
12867 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12868 SIZE is a number.
12869
02cfc6d6
MR
128702011-06-23 Martin Rudalics <rudalics@gmx.at>
12871
12872 * window.el (get-lru-window, get-mru-window)
12873 (get-largest-window): Never return a minibuffer window.
12874 (display-buffer-pop-up-window): Fix a bug that could lead to
12875 reusing the minibuffer window.
12876 (display-buffer): Pass original specifier argument to
12877 display-buffer-function instead of the normalized one.
12878 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12879
4e323265
LL
128802011-06-22 Leo Liu <sdl.web@gmail.com>
12881
12882 * minibuffer.el (completing-read-function)
12883 (completing-read-default): Move from minibuf.c
12884
7a70468f
RS
128852011-06-22 Richard Stallman <rms@gnu.org>
12886
50718fc2
RS
12887 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12888 to Rmail even if not started by a special Rmail command.
12889
7a70468f
RS
12890 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12891 Copy the buffer currently showing just one message.
12892
297dde5a
RW
128932011-06-22 Roland Winkler <winkler@gnu.org>
12894
12895 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12896 (bibtex-clean-entry): First delete the old key so that a
12897 customized algorithm for generating the new key does not get
12898 confused by the old key.
12899 (bibtex-url): Obey regexp of first step.
12900 (bibtex-search-entries): Do not use add-to-list with local
12901 list-var.
12902
97bb1093
LMI
129032011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12904
12905 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12906 stored a user name, then query for the password first, instead of
12907 waiting for SMTP to give an error message and the trying again.
12908
1c0f1a19
JD
129092011-06-22 Lawrence Mitchell <wence@gmx.li>
12910
12911 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12912 BUFFER in call-process.
12913
396f7c9d
LMI
129142011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12915
12916 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12917 QUIT twice.
ddb7ffee
LMI
12918 (smtpmail-try-auth-methods): Require user name and password from
12919 auth-source.
396f7c9d 12920
8998d1b3
MR
129212011-06-22 Martin Rudalics <rudalics@gmx.at>
12922
12923 * window.el (display-buffer-default-specifiers)
12924 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12925 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12926 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12927
12928 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12929 (special-display-frame-alist, special-display-popup-frame):
12930 Remove duplicate declarations. These are now in window.el.
12931
4ea31e07
LMI
129322011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12933
c9d29fb8
SM
12934 * mail/smtpmail.el (smtpmail-via-smtp):
12935 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12936 server supports it. SMTP servers that support STARTTLS commonly
12937 require it.
12938
12939 * net/network-stream.el (network-stream-open-starttls): Support
12940 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12941 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12942
95f41d9a
LMI
12943 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12944 upgrades with `open-network-stream', and rely solely on
12945 auth-source for all credentials. Big changes throughout the file,
12946 but in particular:
c9d29fb8
SM
12947 (smtpmail-auth-credentials): Remove.
12948 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12949 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12950 MAIL FROM, too.
95f41d9a 12951
c9d29fb8
SM
12952 * net/network-stream.el (network-stream-open-starttls):
12953 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12954 STARTTLS.
12955 (auth-source): Require.
12956 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12957 (network-stream-certificate): Change cert-cert to cert and
12958 cert-key to key.
4ea31e07 12959
065ec2c7
MA
129602011-06-21 Michael Albinus <michael.albinus@gmx.de>
12961
12962 * net/tramp-cache.el (top): Don't load the persistency file when
12963 "emacs -Q" has been called.
12964
cd93b359
DR
129652011-06-21 Tim Harper <timcharper@gmail.com>
12966
d8e4b68b
JB
12967 * term/ns-win.el (ns-initialize-window-system):
12968 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12969 resource to NO as it is not yet supported by the NS port.
12970
ae9c0411
JB
129712011-06-21 Juanma Barranquero <lekktu@gmail.com>
12972
12973 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12974 (list-dynamic-libraries): ...not here.
12975
7f3f739f
LL
129762011-06-21 Leo Liu <sdl.web@gmail.com>
12977
12978 * subr.el (sha1): Implement sha1 using secure-hash.
12979
327c8fb1
MR
129802011-06-21 Martin Rudalics <rudalics@gmx.at>
12981
12982 * window.el (display-buffer-alist): In default value do not
12983 enforce searching a window on any but the selected frame.
12984 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12985 (display-buffer-select-window): Remove function.
12986 (display-buffer-in-window): When a window on another frame gets
12987 reused, do not select it any more but just raise its frame if
12988 necessary (Bug#8851) and (Bug#8856).
12989 (display-buffer-normalize-options): Handle pop-up-frames related
12990 options more faithfully.
12991 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12992 window if it is on another frame.
c9d29fb8
SM
12993 (display-buffer-alist, display-buffer-default-specifiers):
12994 Don't make new frame unsplittable by default.
9e9de014
MR
12995 (display-buffer-normalize-argument): Fix doc-string typo and use
12996 'same-frame-other-window instead of 'other-window when associating
12997 with display-buffer-macro-specifiers.
327c8fb1 12998
7cf3f556
VB
129992011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13000
13001 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13002 New functions.
13003 (5x5-mode-map, 5x5-mode-menu): Bind them.
13004 (5x5-draw-grid): Tweak the solver's rendering.
13005
60a406cf
SM
130062011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13009 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13010
d8e4b68b 130112011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13012
13013 * menu-bar.el: Use function variable instead of switch-to-buffer.
13014 (menu-bar-select-buffer-function): New variable.
60a406cf 13015 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13016
478d6f95
SM
130172011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13018
13019 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13020 variable's status.
13021
ca530739
JD
130222011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13023
13024 * x-dnd.el (x-dnd-version-from-flags)
13025 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13026 and long as number (Bug#8899).
13027 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13028
bcd70d97
SM
130292011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13030
60a406cf 13031 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13032 (completion-try-completion, completion-all-completions): Compute the
13033 metadata argument if it's missing; make it optional (bug#8795).
13034
60a406cf 13035 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13036 (widget-complete): Use new :completion-function property.
13037 (widget-completions-at-point): New function.
13038 (default): Use :completion-function instead of :complete.
60a406cf
SM
13039 (widget-default-completions): Rename from widget-default-complete;
13040 Rewrite.
bcd70d97
SM
13041 (widget-string-complete, widget-file-complete, widget-color-complete):
13042 Remove functions.
13043 (file, symbol, function, variable, coding-system, color):
13044 * international/mule-cmds.el (default-input-method, charset)
13045 (language-info-custom-alist):
13046 * cus-edit.el (face): Use new property :completions.
13047
13048 * progmodes/pascal.el (pascal-completions-at-point): New function.
13049 (pascal-mode): Use it.
13050 (pascal-mode-map): Use completion-at-point.
13051 (pascal-toggle-completions): Make obsolete.
13052 (pascal-complete-word, pascal-show-completions):
13053 * progmodes/octave-mod.el (octave-complete-symbol):
13054 Redefine as obsolete alias.
13055 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13056 Signal absence of completion info for old Octave,
13057 (inferior-octave-complete): Redefine as obsolete alias.
13058 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13059 (meta-completions-at-point): Rename from meta-complete-symbol and
13060 adapt it for use on completion-at-point-functions.
13061 (meta-common-mode): Use it.
13062 (meta-looking-at-backward, meta-match-buffer): Remove.
13063 (meta-complete-symbol): Redefine as obsolete alias.
13064 (meta-common-mode-map): Use completion-at-point.
13065 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13066 (makefile-mode-map): Use completion-at-point.
13067 (makefile-completions-at-point): Rename from makefile-complete and
13068 adapt it for use on completion-at-point-functions.
13069 (makefile-mode): Use it.
13070 (makefile-complete): Redefine as obsolete alias.
13071
aebf69c8
DD
130722011-06-20 Deniz Dogan <deniz@dogan.se>
13073
13074 * net/rcirc.el: Delete trailing whitespaces once and for all.
13075
bfbbb27d
DC
130762011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13077
13078 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13079
d264a46b
CY
130802011-06-19 Chong Yidong <cyd@stupidchicken.com>
13081
4ca009e5
CY
13082 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13083
d264a46b
CY
13084 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13085
fbf5b3ce
MR
130862011-06-19 Martin Rudalics <rudalics@gmx.at>
13087
13088 * window.el (display-buffer-other-window-means-other-frame):
13089 Call display-buffer-normalize-alist.
13090 (display-buffer-normalize-specifiers-1): Rename to
13091 display-buffer-normalize-argument. New argument other-frame.
13092 Rewrite.
13093 (display-buffer-normalize-specifiers-2): Rename to
13094 display-buffer-normalize-options.
13095 (display-buffer-normalize-alist-1): New function.
13096 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13097 display-buffer-normalize-alist.
13098 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13099 (display-buffer-normalize-options-inhibit): New variable.
13100 (display-buffer-normalize-specifiers): Rewrite calling
13101 display-buffer-normalize-alist,
13102 display-buffer-normalize-argument, and
13103 display-buffer-normalize-options. Don't call the latter if
13104 display-buffer-normalize-options-inhibit is non-nil.
13105 (frame-auto-delete): New option.
13106 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13107 (window-list-no-nils, window-state-ignored-parameters)
13108 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13109 (window-state-put-1, window-state-put-2, window-state-put):
13110 New functions.
9a028c23
MR
13111 (display-buffer-normalize-options): Move special-display-p group
13112 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13113
6d10d800
CY
131142011-06-18 Chong Yidong <cyd@stupidchicken.com>
13115
6420d28b
CY
13116 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13117 groups (Bug#8776).
13118 (rx-submatch-n): New function.
13119 (rx): Document it.
13120
ddb8b596
CY
13121 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13122 (Bug#8768).
13123
13124 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13125
77080289
CY
13126 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13127
61dfb316
CY
13128 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13129 anytime existing face settings are present (Bug#8889).
13130
6d10d800
CY
13131 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13132 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13133 Remove unused argument.
13134
be3fb2b8
MR
131352011-06-18 Martin Rudalics <rudalics@gmx.at>
13136
bcd70d97
SM
13137 * window.el (display-buffer-default-specifiers):
13138 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13139 pop-up-window-min-width, and another reuse-window specifier
13140 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13141 (display-buffer-normalize-specifiers-2):
13142 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13143 pop-up-windows is unset. Add a reuse-window specifier for the
13144 case popping up a new window fails.
13145 (special-display-popup-frame): Remove double quoting.
28dec25a 13146 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13147
1c6d8c76
SM
131482011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13149
13150 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13151 according to comint-completion-addsuffix.
13152
13153 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13154 (pcomplete-suffix-list): Mark as obsolete.
13155 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13156 pcomplete-seen in the closure.
13157 (pcomplete-comint-setup): Setup completion-at-point as well.
13158 (pcomplete--entries): New function.
13159 (pcomplete--env-regexp): New var.
13160 (pcomplete-entries): Rewrite to work with partial-completion and
13161 without relying on pcomplete-suffix-list.
13162 (pcomplete-pare-list): Remove, unused.
13163
25aef8b8
MR
131642011-06-17 Martin Rudalics <rudalics@gmx.at>
13165
13166 * window.el (display-buffer-alist): Set pop-up-window-min-height
13167 and pop-up-window-min-width in default value. Reported by
13168 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13169 other-window-means-other-frame.
13170 (display-buffer-macro-specifiers): Comment out entry for
13171 other-window specifier.
13172 (display-buffer-other-window-means-other-frame): New function.
13173 (display-buffer-normalize-specifiers-1): New arguments
13174 buffer-name and label. Treat other-window case specially.
13175 (display-buffer-normalize-specifiers-2): Treat other-window case
13176 specially.
13177 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13178 (display-buffer-normalize-specifiers):
13179 Call display-buffer-normalize-specifiers-3.
25aef8b8 13180
dbad4f69
MR
131812011-06-17 Martin Rudalics <rudalics@gmx.at>
13182
13183 * window.el (same-window-p): Fix two typos introduced when
13184 adding with-no-warnings.
d1067961
MR
13185 (display-buffer-normalize-specifiers-1): Don't check
13186 pop-up-frames for 'unset initialization.
13187 (display-buffer-normalize-specifiers-2): Major rewrite using
13188 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13189 (pop-up-frames, display-buffer-reuse-frames)
13190 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13191 Suggested by David Engster <deng@randomsample.de>.
13192 (even-window-heights): Initialize to 'unset.
13193 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13194 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13195 other window case.
dbad4f69 13196
9b9c9e3a
MR
131972011-06-16 Martin Rudalics <rudalics@gmx.at>
13198
bcd70d97
SM
13199 * window.el (display-buffer-normalize-specifiers-1):
13200 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13201 second argument of display-buffer (Bug#8865).
981d5c09
MR
13202 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13203 (switch-to-buffer-other-window-same-frame)
13204 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13205 Adams (Bug#8875).
9c2755e9
MR
13206 (display-buffer): Don't check noninteractive when calling
13207 display-buffer-pop-up-frame.
13208 (display-buffer-pop-up-frame): Never pop up a frame in
13209 noninteractive mode (Bug#8857).
67222e1d
MR
13210 (enlarge-window, shrink-window): Don't report an error when the
13211 window can't be resized as requested (Bug#8862).
9b9c9e3a 13212
2b75be67
SM
132132011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13214
9ffdd3ba
SM
13215 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13216
cb581a67
SM
13217 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13218
2b75be67
SM
13219 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13220
8c0e3589
AM
132212011-06-15 Alan Mackenzie <acm@muc.de>
13222
cb581a67
SM
13223 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13224 for declarators, disable knr checking to speed up for normal files.
13225 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13226
b96e6cde
LMI
132272011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228
4bba86e6
LMI
13229 * net/network-stream.el (open-network-stream): Add the keyword
13230 :always-query-capabilities for the case where you want to force a
13231 `plain' network connection, but the protocol still requires the
13232 capabilitiy command (i.e., SMTP and EHLO).
13233
2b75be67 13234 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13235 consistency with other `-live-p' functions.
13236
efdcdbf8
SM
132372011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13238
13239 * window.el (same-window-buffer-names, same-window-regexps)
13240 (special-display-frame-alist, special-display-popup-frame)
13241 (special-display-function, special-display-buffer-names)
13242 (special-display-regexps, pop-up-frame-alist)
13243 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13244 (pop-up-windows, split-window-preferred-function)
13245 (split-height-threshold, split-width-threshold, even-window-heights)
13246 (display-buffer-mark-dedicated): Don't encourage the use of
13247 display-buffer-alist from Elisp code.
13248
c5cde042
DN
132492011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13250
13251 * progmodes/python.el (python-mode): Derive from prog-mode.
13252 * progmodes/ps-mode.el (ps-mode):
13253 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13254 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13255 * progmodes/ld-script.el (ld-script-mode): Likewise.
13256
baa1c9ab
MR
132572011-06-15 Martin Rudalics <rudalics@gmx.at>
13258
13259 * window.el (display-buffer-alist): Trim default value to avoid
13260 popping up a new frame (Bug#8857) or reusing an arbitrary window
13261 on another frame.
13262 (display-buffer): Do not fall back on popping up a new frame in
13263 batch mode (Bug#8857).
13264
c5dd5a51
CY
132652011-06-14 Chong Yidong <cyd@stupidchicken.com>
13266
13267 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13268 (custom-theme-summary): New function.
13269 (customize-themes): Use it.
13270
d647b7c4
GM
132712011-06-13 Glenn Morris <rgm@gnu.org>
13272
13273 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13274
9481c002
MR
132752011-06-13 Martin Rudalics <rudalics@gmx.at>
13276
357f93d2
MR
13277 * help.el (help-window): Remove variable.
13278 (help-window-point-marker, temp-buffer-max-height)
13279 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13280 (help-print-return-message): Don't set help-window.
13281 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13282 (help-window-setup-finish): Remove.
13283 (help-window-display-message, help-window-setup)
13284 (with-help-window): Major rewrite based on new
13285 display-buffer-window variable.
13286
13287 * help-mode.el (help-mode-finish): Remove help-window related
13288 code.
13289
13290 * view.el (view-exits-all-viewing-windows): Remove reference to
13291 view-return-to-alist in doc-string.
13292 (view-return-to-alist): Make obsolete.
13293 (view-buffer): Call pop-to-buffer-same-window and remove
13294 undo-window code.
13295 (view-buffer-other-window): Call pop-to-buffer-other-window and
13296 simplify code. Ignore second argument.
13297 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13298 simplify code. Ignore second argument.
13299 (view-return-to-alist-update): Make obsolete.
13300 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13301 Rewrite using quit-restore window parameters.
2b75be67
SM
13302 (view-mode-exit): Rename second argument to EXIT-ONLY.
13303 Rewrite using quit-restore-window.
357f93d2
MR
13304 (View-exit, View-exit-and-edit, View-leave, View-quit)
13305 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13306 appropriate arguments.
13307 (view-end-message): Use quit-restore window parameter.
13308
9481c002
MR
13309 * window.el (display-buffer-function): Rewrite doc-string.
13310 (display-buffer-window, display-buffer-alist): New variables.
13311 (display-buffer-split-specifiers)
13312 (display-buffer-side-specifiers)
13313 (display-buffer-macro-specifiers): New constants.
13314 (display-buffer-even-window-sizes, display-buffer-set-height)
13315 (display-buffer-set-width, display-buffer-select-window)
13316 (display-buffer-in-window, display-buffer-reuse-window)
13317 (display-buffer-split-window-1, display-buffer-split-window)
13318 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13319 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13320 (display-buffer-in-side-window, normalize-buffer-to-display)
13321 (display-buffer-normalize-specifiers-1)
13322 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13323 (display-buffer-normalize-specifiers, display-buffer-frame):
13324 New functions.
9481c002
MR
13325 (display-buffer): Major rewrite.
13326 (display-buffer-other-window, display-buffer-other-frame)
13327 (pop-to-buffer, switch-to-buffer-other-window)
13328 (switch-to-buffer-other-frame): Rewrite.
13329 (display-buffer-same-window, display-buffer-same-frame)
13330 (display-buffer-same-frame-other-window)
13331 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13332 (pop-to-buffer-other-window)
13333 (pop-to-buffer-same-frame-other-window)
13334 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13335 (switch-to-buffer-other-window-same-frame): New functions.
13336 (same-window-p, special-display-p): Rewrite disabling warnings.
13337 Make obsolete.
13338 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13339 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13340 Make obsolete
13341 (same-window-buffer-names, same-window-regexps)
13342 (special-display-frame-alist, special-display-popup-frame)
13343 (special-display-function, special-display-buffer-names)
13344 (special-display-regexps, pop-up-frame-alist)
13345 (pop-up-frame-function, split-window-preferred-function)
13346 (split-height-threshold, split-width-threshold)
13347 (even-window-heights): Make obsolete.
13348
9db51aca
GM
133492011-06-12 Glenn Morris <rgm@gnu.org>
13350
13351 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13352 Misc simplifications.
9db51aca 13353
39cffb44
MR
133542011-06-12 Martin Rudalics <rudalics@gmx.at>
13355
13356 * window.el (window-safely-shrinkable-p): Restore function which
13357 was inadvertently removed in change from 2011-06-11. Declare as
13358 obsolete.
13359
2b75be67
SM
13360 * calendar/calendar.el (calendar-generate-window):
13361 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13362 window-safely-shrinkable-p.
13363
a8955be7
GM
133642011-06-12 Glenn Morris <rgm@gnu.org>
13365
13366 * progmodes/fortran.el (fortran-mode-syntax-table):
13367 * progmodes/f90.el (f90-mode-syntax-table):
13368 Set % to punctuation. (Bug#8820)
13369 (f90-find-tag-default): Remove, no longer needed.
13370
f0d4059d
DC
133712011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13372
13373 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13374
1100a63c
CY
133752011-06-11 Chong Yidong <cyd@stupidchicken.com>
13376
13377 * image.el (image-animated-p): Return animation delay in seconds.
13378 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13379 (image-animate-timeout): Remove DELAY argument. Don't assume
13380 every subimage has the same delay; get it from image-animated-p.
13381 (image-animate): Caller changed.
13382
def722bf
MA
133832011-06-11 Michael Albinus <michael.albinus@gmx.de>
13384
13385 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13386 to ignored backtrace functions.
13387
0a2bb1a9
GM
133882011-06-11 Glenn Morris <rgm@gnu.org>
13389
13390 * calendar/appt.el (appt-disp-window-function): Doc fix.
13391 (appt-check): Handle overlapping appointments. (Bug#8337)
13392
6198ccd0
MR
133932011-06-11 Martin Rudalics <rudalics@gmx.at>
13394
13395 * window.el (window-tree-1, window-tree): New functions, moving
13396 the latter to window.el.
13397 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13398 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13399 (bw-refresh-edges): Remove.
13400 (balance-windows-1, balance-windows-2): New functions.
13401 (balance-windows): Rewrite in terms of window tree functions,
13402 balance-windows-1 and balance-windows-2.
13403 (bw-adjust-window): Remove.
13404 (balance-windows-area-adjust): New function with functionality of
13405 bw-adjust-window but using resize-window.
2b75be67
SM
13406 (set-window-text-height): Rewrite doc-string.
13407 Use normalize-live-window and resize-window.
13408 (enlarge-window-horizontally, shrink-window-horizontally):
13409 Rename argument to DELTA.
6198ccd0
MR
13410 (window-buffer-height): New function.
13411 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13412 Rewrite using new window resize routines.
2b75be67
SM
13413 (kill-buffer-and-window, mouse-autoselect-window-select):
13414 Use ignore-errors instead of condition-case.
6198ccd0
MR
13415 (quit-window): Call delete-frame instead of delete-windows-on
13416 for the only buffer on frame.
13417
9397e56f
MR
134182011-06-10 Martin Rudalics <rudalics@gmx.at>
13419
13420 * loadup.el (top-level): Load window before files for the sake
13421 of replace-buffer-in-windows.
13422
13423 * files.el (read-buffer-to-switch)
13424 (switch-to-buffer-other-window)
2b75be67
SM
13425 (switch-to-buffer-other-frame, display-buffer-other-frame):
13426 Move to window.el.
9397e56f
MR
13427
13428 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13429 (previous-buffer): Move to window.el.
13430
13431 * bindings.el (unbury-buffer): Move to window.el.
13432
13433 * window.el (delete-other-windows-vertically): Move after
13434 definition of delete-other-windows.
13435 (other-window, delete-windows-on, replace-buffer-in-windows):
13436 Move here from window.c.
13437 (record-window-buffer, unrecord-window-buffer)
13438 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13439 (switch-to-next-buffer): New functions.
13440 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13441 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13442 (previous-buffer): Move here from simple.el.
13443 Call switch-to-prev-buffer.
9397e56f
MR
13444 (bury-buffer): Move here from buffer.c. Switch to previous
13445 buffer when window cannot be deleted.
13446 (unbury-buffer): Move here from bindings.el.
13447 (ctl-x-map): Move binding for other-window from window.c to
13448 here.
13449 (read-buffer-to-switch, switch-to-buffer-other-window)
13450 (switch-to-buffer-other-frame): Move here from files.el.
13451 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13452 (switch-to-buffer): Move here from buffer.c.
13453 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13454
562dd5e9
MR
134552011-06-10 Martin Rudalics <rudalics@gmx.at>
13456
13457 * window.el (window-min-height, window-min-width): Move here
13458 from window.c. Add defcustoms and rewrite doc-strings.
13459 (resize-mini-window, resize-window): New functions.
13460 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13461 Move here from window.c.
13462 (maximize-window, minimize-window): New functions.
13463 (delete-window, delete-other-windows, split-window): Move here
13464 from window.c.
13465 (window-split-min-size): New function.
13466 (split-window-keep-point): Mention split-window-above-each-other
13467 instead of split-window-vertically.
2b75be67 13468 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13469 Rename split-window-vertically to split-window-above-each-other
13470 and provide defalias for old definition.
13471 (split-window-side-by-side, split-window-horizontally):
13472 Rename split-window-horizontally to split-window-side-by-side
13473 and provide defalias for the old definition.
562dd5e9
MR
13474 (ctl-x-map): Move bindings for delete-window,
13475 delete-other-windows and enlarge-window here from window.c.
13476 Replace bindings for split-window-vertically and
13477 split-window-horizontally by bindings for
13478 split-window-above-each-other and split-window-side-by-side.
13479
13480 * cus-start.el (all): Remove entries for window-min-height and
13481 window-min-width. Add entries for window-splits and
13482 window-nest.
13483
f0da764a
GM
134842011-06-09 Glenn Morris <rgm@gnu.org>
13485
80675c21
GM
13486 * calendar/appt.el (appt-mode-line): New function.
13487 (appt-check, appt-disp-window): Use it.
13488
f0da764a
GM
13489 * files.el (hack-one-local-variable-eval-safep):
13490 Allow minor-modes with explicit +/-1 arguments.
13491
59f623b7
TZ
134922011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13493
13494 * term/xterm.el (xterm): Add defgroup.
13495 (xterm-extra-capabilities): Add defcustom to supply known xterm
13496 capabilities, skip querying them, or query them (default).
13497 (terminal-init-xterm): Use it.
13498 (terminal-init-xterm-modify-other-keys): New function to set up
13499 modifyOtherKeys support to simplify `terminal-init-xterm'.
13500
9aab8e0d
MR
135012011-06-09 Martin Rudalics <rudalics@gmx.at>
13502
13503 * window.el (resize-window-reset, resize-window-reset-1)
13504 (resize-subwindows-skip-p, resize-subwindows-normal)
13505 (resize-subwindows, resize-other-windows, resize-this-window)
13506 (resize-root-window, resize-root-window-vertically)
13507 (window-deletable-p, window-or-subwindow-p)
13508 (frame-root-window-p): New functions.
13509
e8b08aee
GM
135102011-06-09 Glenn Morris <rgm@gnu.org>
13511
13512 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13513 (ange-ftp-get-files): Use it.
13514
254c37a5
AK
135152011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13516
13517 * mail/sendmail.el (mail-recover-1, mail-recover):
13518 * files.el (recover-file, recover-session):
13519 Handle dired-listing-switches not being just a single short option.
13520
35d7dbd3
GM
135212011-06-09 Glenn Morris <rgm@gnu.org>
13522
13523 * calendar/appt.el (appt-display-message, appt-disp-window):
13524 Handle lists of appointments.
13525
387522b2
MR
135262011-06-08 Martin Rudalics <rudalics@gmx.at>
13527
2b75be67
SM
13528 * window.el (one-window-p): Move down in code.
13529 Rewrite doc-string.
13530 (window-current-scroll-bars): Rewrite doc-string.
13531 Normalize live window argument.
387522b2
MR
13532 (walk-windows, get-window-with-predicate, count-windows):
13533 Rewrite doc-string. Use window-list-1.
13534 (window-in-direction-2, window-in-direction, get-mru-window):
13535 New functions.
13536
d8e4b68b 135372011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13538
13539 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13540 Doc fix (Bug#8713).
13541
135422011-06-08 Chong Yidong <cyd@stupidchicken.com>
13543
13544 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13545
135462011-06-08 Juanma Barranquero <lekktu@gmail.com>
13547
13548 * loadhist.el (unload-feature-special-hooks):
13549 Add `comint-output-filter-functions'.
13550
0de12c52
IK
135512011-06-08 Ivan Kanis <gnu@kanis.fr>
13552
13553 * calendar/appt.el (appt-check): Move some initializations into the let.
13554
f3d1777e
MR
135552011-06-08 Martin Rudalics <rudalics@gmx.at>
13556
13557 * window.el (window-height): Defalias to window-total-height.
13558 (window-width): Defalias to window-body-width.
13559
18af70d0
CY
135602011-06-07 Chong Yidong <cyd@stupidchicken.com>
13561
13562 * image-mode.el (image-toggle-animation): New command.
13563 (image-mode-map): Bind it to RET.
13564 (image-mode): Update message.
13565 (image-toggle-display-image): Avoid a spurious cache flush.
13566 (image-transform-rotation): Doc fix.
13567 (image-transform-properties): Return quickly in the normal case.
13568 (image-animate-loop): Rename from image-animate-max-time.
13569
2b75be67 13570 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13571 (create-animated-image): Remove unnecessary function.
13572 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13573 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13574 (image-animate-timer): Use car-safe.
13575 (image-animate-timeout): Rename argument.
13576
190b47e6
MR
135772011-06-07 Martin Rudalics <rudalics@gmx.at>
13578
13579 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13580 window.c. Rename first argument to ALL-FRAMES.
13581 Rephrase doc-strings.
13582 (get-buffer-window-list): Rewrite using window-list-1.
13583 Rephrase doc-string.
a1511caf
MR
13584 (window-safe-min-height, window-safe-min-width): New constants.
13585 (window-size-ignore, window-min-size, window-min-size-1)
13586 (window-sizable, window-sizable-p, window-size-fixed-1)
13587 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13588 (window-max-delta-1, window-max-delta, window-resizable)
13589 (window-resizable-p, window-total-height, window-total-width)
13590 (window-body-width): New functions.
13591 (window-full-height-p, window-full-width-p): Rewrite using
13592 window-total-size.
13593 (window-body-height): Rewrite using window-body-size.
190b47e6 13594
85cc1f11
MR
135952011-06-06 Martin Rudalics <rudalics@gmx.at>
13596
13597 * window.el (window-right, window-left, window-child)
13598 (window-child-count, window-last-child, window-any-p)
13599 (normalize-live-buffer, normalize-live-frame)
13600 (normalize-any-window, normalize-live-window)
13601 (window-iso-combination-p, window-iso-combined-p)
13602 (window-iso-combinations)
13603 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13604 (windows-with-parameter, window-with-parameter)
13605 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13606 (window-atom-check, window-side-check, window-check):
13607 New functions.
85cc1f11
MR
13608 (ignore-window-parameters, window-sides, window-sides-vertical)
13609 (window-sides-slots): New variables.
13610 (window-size-fixed): Move down in code. Minor doc-string fix.
13611
e7156492
AS
136122011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13613
13614 * comint.el (comint-dynamic-complete-as-filename)
13615 (comint-dynamic-complete-filename): Correctly call
13616 completion-in-region.
13617
7e821d0d
DD
136182011-06-05 Deniz Dogan <deniz@dogan.se>
13619
13620 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13621 in last change.
13622
ac09b8a1
DD
136232011-06-05 Deniz Dogan <deniz@dogan.se>
13624
13625 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13626 (rcirc): Use it to prompt for encryption.
13627
34699b85
RW
136282011-06-05 Roland Winkler <winkler@gnu.org>
13629
13630 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13631 (bibtex-search-entries): New command bound to C-c C-a.
13632 (bibtex-display-entries): New function.
13633
004dedd3
RW
136342011-06-05 Roland Winkler <winkler@gnu.org>
13635
13636 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13637 (bibtex-insert-kill): After yanking insert newline if necessary.
13638 (bibtex-initialize): Call bibtex-string-files-init only once.
13639 (bibtex-mode): Do not call easy-menu-add.
13640 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13641 (bibtex-yank): Set arg properly if nil.
13642
022fe7ce
RW
136432011-06-05 Roland Winkler <winkler@gnu.org>
13644
2b75be67
SM
13645 * textmodes/bibtex.el (bibtex-search-entry-globally):
13646 New variable.
022fe7ce
RW
13647 (bibtex-search-entry): Use it.
13648
b7c3692a
RW
136492011-06-05 Roland Winkler <winkler@gnu.org>
13650
13651 * textmodes/bibtex.el (bibtex-entry-format): New option
13652 sort-fields.
13653 (bibtex-format-entry, bibtex-reformat): Honor this option.
13654 (bibtex-parse-entry): Return fields in proper order.
13655
8eda563d
JB
136562011-06-05 Juanma Barranquero <lekktu@gmail.com>
13657
13658 * doc-view.el (doc-view-remove-if): Move computation of result out
13659 of `dolist' to silence misleading lexical-binding warning.
13660
7dbe3dbc
CY
136612011-06-04 Chong Yidong <cyd@stupidchicken.com>
13662
13663 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13664 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13665
0c33dd17
MA
136662011-06-04 Michael Albinus <michael.albinus@gmx.de>
13667
13668 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13669 "SunOS 5.10".
13670
f8f91c2b
MA
136712011-06-04 Michael Albinus <michael.albinus@gmx.de>
13672
13673 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13674 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13675 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13676 (tramp-parse-putty):
13677 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13678 (tramp-completion-function-alist-ssh)
13679 (tramp-completion-function-alist-telnet)
13680 (tramp-completion-function-alist-su)
13681 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13682 cookie.
13683
13684 * net/tramp-ftp.el:
13685 * net/tramp-sh.el:
13686 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13687 load "tramp.el" `tramp-set-completion-function'.
13688
e17d9003
SM
136892011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * shell.el: Require and use pcomplete.
13692 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13693 (shell-completion-vars): Set pcomplete-default-completion-function.
13694
6c4cab03
DD
136952011-06-04 Deniz Dogan <deniz@dogan.se>
13696
13697 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13698 `memq' (Bug#8799).
13699
ea9fafe0
SM
137002011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13701
13702 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13703
b3e945d3
JB
137042011-06-02 Juanma Barranquero <lekktu@gmail.com>
13705
13706 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13707 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13708 * vc/log-view.el (log-view-beginning-of-defun):
13709 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13710 (smerge-refine-forward, smerge-refine-chopup-region):
13711 Silence warning for unused `dotimes' counter variables.
13712
7d520089
SM
137132011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13714
13715 * net/tramp.el (tramp-with-progress-reporter): Rename from
13716 with-progress-reporter. Use `declare'.
13717 * net/tramp-smb.el:
13718 * net/tramp-sh.el:
13719 * net/tramp-gvfs.el: Update all uses.
13720
a1c2400f
JB
137212011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13722
13723 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13724 buffer isn't killed before making it current.
13725
2403c841
SM
137262011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13727
13728 Silence various byte-compiler warnings.
13729 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13730 `access-type' and new obsolescence format.
13731 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13732 new format.
13733 (byte-compile-check-variable): New `access-type' argument.
13734 Only warn if the access-type is obsolete.
13735 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13736 (byte-compile-variable-set): Adjust callers.
13737 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13738 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13739 setting it as obsolete.
13740 * simple.el (minibuffer-completing-symbol):
13741 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13742 access as obsolete.
13743 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13744 obsolete yet.
13745 * international/quail.el (quail-mouse-choose-completion): Remove unused
13746 code referring to obsolete var.
13747 (quail-choose-completion-string): Remove.
13748 * server.el (server-clients-with, server-kill-buffer-query-function)
13749 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13750 * proced.el (proced-send-signal):
13751 * emacs-lisp/lisp.el (lisp-complete-symbol):
13752 Replace completion-annotate-function with completion-extra-properties.
13753
2462470b
SM
137542011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13755
fb5b2591
SM
13756 * simple.el (goto-line): Use read-number.
13757 (overriding-map-is-bound): Remove.
13758 (saved-overriding-map): Change default.
13759 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13760 Take the map as argument.
13761 (universal-argument, negative-argument, digit-argument): Use it.
13762 (restore-overriding-map): Adjust.
13763 (do-auto-fill): Use fill-forward-paragraph.
13764 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13765
fd6fa53f
SM
13766 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13767 (minibuffer-inactive-mode): New major mode.
13768 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13769 the *Messages* buffer" hack.
13770 (mouse-popup-menubar): Don't burp if the event is a normal key.
13771
2462470b
SM
13772 Miscellaneous tweaks.
13773 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13774 lexical scoping as in subr.el's dolist and dotimes.
13775 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13776 Silence compiler warning.
13777 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13778 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13779 * international/ccl.el (ccl-compile): Trivial simplification.
13780 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13781 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13782 `printflag' argument.
13783 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13784 Purecopy the whole obsolescence data.
13785
108bf785
LL
137862011-06-01 Leo Liu <sdl.web@gmail.com>
13787
13788 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13789 improve doc-string as suggested by Marco Pessotto
13790 <melmothx@gmail.com>.
13791 (rcirc-print): Fix last change.
13792
30a23501
SM
137932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13794
13795 * minibuffer.el (complete-with-action): Return nil for the metadata and
13796 boundaries of non-functional tables.
13797 (completion-table-dynamic): Return nil for the metadata.
13798 (completion-table-with-terminator): Add default case, using
13799 complete-with-action.
13800 (completion--metadata): New function.
13801 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13802 to try and avoid pathological performance problems.
13803 (completion--embedded-envvar-table): Return `category' metadata.
13804
bcd54f83
LMI
138052011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13806
13807 * subr.el (process-alive-p): New tiny convenience function.
13808
e227544d
SM
138092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13812 content but also its previous major mode.
13813
e8296fdc
HE
138142011-05-31 Helmut Eller <eller.helmut@gmail.com>
13815
4d61f28d 13816 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13817 *Backtrace* buffer when we exit with C-M-c.
13818
620c53a6
SM
138192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * minibuffer.el: Add metadata method to completion tables.
13822 (completion-category-overrides): New defcustom.
13823 (completion-metadata, completion--field-metadata)
13824 (completion-metadata-get, completion--styles)
13825 (completion--cycle-threshold): New functions.
13826 (completion-try-completion, completion-all-completions):
13827 Add `metadata' argument to choose completion-styles.
13828 (completion--do-completion): Use metadata to choose cycling.
13829 (completion-all-sorted-completions): Use metadata for sorting.
13830 Remove :completion-cycle-penalty which is not needed any more.
13831 (completion--try-word-completion): Add `metadata' argument.
13832 (minibuffer-completion-help): Check metadata for annotation function
13833 and sorting.
13834 (completion-file-name-table): Return `category' metadata.
13835 (minibuffer-completing-file-name): Make obsolete.
13836 * simple.el (minibuffer-completing-symbol): Make obsolete.
13837 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13838 completion-try-completion.
13839
1257e755
SM
138402011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13843
3767e706
LL
138442011-05-30 Leo Liu <sdl.web@gmail.com>
13845
13846 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13847 (rcirc-print): Decode all incoming messages (bug#8744).
13848 (rcirc-decode-coding-system): Allow value nil for automatic coding
13849 system detection.
3767e706 13850
d1a5d56a
GM
138512011-06-01 Glenn Morris <rgm@gnu.org>
13852
13853 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13854
e8cbec34
CY
138552011-05-29 Chong Yidong <cyd@stupidchicken.com>
13856
13857 * image.el (image-animate-max-time): Allow nil and t values.
13858 Default to nil.
13859 (create-animated-image): Doc fix.
13860 (image-animate-start): Remove second arg; just use
13861 image-animate-max-time.
13862 (image-animate-timeout): Doc fix. Args changed.
13863
13864 * image-mode.el (image-toggle-display-image): Ensure that the
13865 image spec passed to the animate timer is the same object as in
58179cce 13866 the buffer's display property (Bug#6981).
e8cbec34
CY
13867 (image-transform-properties): Doc fix.
13868
13869 * image.el (image-animate-max-time): Default to nil.
13870
159daf87
MR
138712011-05-29 Martin Rudalics <rudalics@gmx.at>
13872
13873 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13874 entire buffer list (Bug#8184).
13875
d66c4c7c
CY
138762011-05-29 Chong Yidong <cyd@stupidchicken.com>
13877
13878 * image.el (imagemagick-types-inhibit)
13879 (imagemagick-register-types): Doc fix.
13880
80aec780
DD
138812011-05-29 Deniz Dogan <deniz@dogan.se>
13882
13883 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13884 default.
13885
1dd3c2d9
CY
138862011-05-29 Chong Yidong <cyd@stupidchicken.com>
13887
13888 * select.el: Don't perform clipboard-manager saving in hooks;
13889 leave the hooks empty.
13890
60e56523
LL
138912011-05-28 Leo Liu <sdl.web@gmail.com>
13892
13893 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13894 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13895 (occur-edit-mode): New major mode (Bug#8463).
13896 (occur-after-change-function): New function.
13897 (occur-engine): Give Occur tags a read-only property.
13898
2b1e1a22
KR
138992011-05-28 Kevin Ryde <user42@zip.com.au>
13900
13901 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13902
5d344e88
CY
139032011-05-28 Chong Yidong <cyd@stupidchicken.com>
13904
8e6ca83d
CY
13905 * bindings.el (help-echo): Make the initial non-indicator dash
13906 empty on graphical terminals (Bug#7295).
13907
5d344e88
CY
13908 * files.el (auto-mode-alist): Move config rule after the
13909 in-stripping one (Bug#8547).
13910
bfbbace7
CY
13911 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13912
fbeba6e2
CY
13913 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13914 setting (Bug#8740).
13915
60ed8c72
AA
139162011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13917
4ac619f0
AA
13918 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13919 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13920 (Bug#8539).
60ed8c72 13921
23db196e
CY
139222011-05-28 Chong Yidong <cyd@stupidchicken.com>
13923
13924 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13925
5012f24c
DK
139262011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13927
13928 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13929 (hs-hide-block-at-point, hs-find-block-beginning)
13930 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13931 (Bug#8279).
13932
6a639b16
GM
139332011-05-28 Glenn Morris <rgm@gnu.org>
13934
13935 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13936
d43eaf2c
CY
139372011-05-28 Chong Yidong <cyd@stupidchicken.com>
13938
5199bde1
CY
13939 * help-fns.el (describe-function-1): If the function is a derived
13940 major mode, print the parent mode.
13941
d43eaf2c
CY
13942 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13943 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13944
423428a8
SM
139452011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13946
0ff8e1ba 13947 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13948 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13949 * progmodes/etags.el (tags-completion-at-point-function):
13950 * info-look.el (info-lookup-completions-at-point): Mark as
13951 non-exclusive.
13952 (info-complete): Adjust accordingly.
13953
423428a8
SM
13954 * info-look.el: Convert to lexical-binding and completion-at-point.
13955 (info-lookup-completions-at-point): New function.
13956 (info-complete): Use it and completion-in-region.
13957
b74aa22b
DA
139582011-05-28 Drew Adams <drew.adams@oracle.com>
13959
13960 * isearch.el: Let M-e start with point at the first mismatched char.
13961 (isearch-fail-pos): New function.
13962 (isearch-edit-string): Use it.
13963
66e2e71d
DK
139642011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13965
13966 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13967
b1890b0f 139682011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13969
13970 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13971 traversal functions for avl-trees.
13972 (avl-tree--stack): New struct.
13973 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13974 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13975 (avl-tree--do-enter): Add optional `updatefun' arg.
13976 Change return value.
eb95d01d 13977 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13978 (avl-tree--do-delete): Add `test' and `nilflag' args.
13979 Change return value.
eb95d01d
TC
13980 (avl-tree-member): Add optional `nilflag'
13981 (avl-tree-member-p): New function.
13982 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13983 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13984 (avl-tree-stack-empty-p): New functions.
13985
3769ddcf
TC
13986 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13987 avl-tree--del-balance1 and make it work both ways.
13988 (avl-tree--del-balance2): Remove.
13989 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13990 make it work both ways.
13991 (avl-tree--enter-balance2): Remove.
13992 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13993 New macros.
13994 (avl-tree--mapc, avl-tree-map): Add direction argument.
13995
eb95d01d 139962011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13997
13998 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13999
a9f737ee
CY
140002011-05-27 Chong Yidong <cyd@stupidchicken.com>
14001
14002 * select.el: Support clipboard managers with built-in function
14003 x-clipboard-manager-save, via delete-frame-functions and
14004 kill-emacs-hook.
14005 (xselect-convert-to-targets): Add MULTIPLE target to list.
14006 (xselect-convert-to-save-targets): New function.
14007
c92a1e54
KH
140082011-05-27 Kenichi Handa <handa@m17n.org>
14009
14010 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14011 let-binding rfc2047-encode-encoded-words to nil.
14012
e145f188
GM
140132011-05-27 Glenn Morris <rgm@gnu.org>
14014
5ec8a862
GM
14015 * mail/emacsbug.el: Don't require url-util.
14016
4b29d9fb
GM
14017 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14018
e145f188
GM
14019 * files.el (set-auto-mode):
14020 Also respect mode: entries at the end of the file. (Bug#8586)
14021
7d15102b
GM
140222011-05-26 Glenn Morris <rgm@gnu.org>
14023
98f593b8
GM
14024 * files.el (hack-local-variables-prop-line, hack-local-variables):
14025 Downcase mode names, as seems to be traditional.
27b48e63 14026 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14027
7d15102b
GM
14028 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14029 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14030
51d5b4ec
JD
140312011-05-25 Julien Danjou <julien@danjou.info>
14032
14033 * textmodes/rst.el (rst-define-level-faces): Do not define face
14034 symbol if it is already defined.
14035
91513f63
VB
140362011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14037
14038 * play/5x5.el (5x5-new-game, 5x5-randomize):
14039 Reset 5x5-solver-output to nil when a new grid is cast.
14040 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14041 these debugging traces, as defmacro breaks the compiled code.
14042
4d90d6d0
DK
140432011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14044
14045 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14046
e1b90ef6
LL
140472011-05-24 Leo Liu <sdl.web@gmail.com>
14048
14049 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14050 (vc-bzr-sha1): Adapt.
14051
d8e4b68b 14052 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14053
14054 * bindings.el: Provide sha1 feature.
14055
db0406bb 140562011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14057
14058 * mail/sendmail.el: Require `rfc2047'.
14059 (mail-insert-from-field): Do not perform RFC2047 encoding.
14060 (mail-encode-header): New function.
14061 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14062 buffer to the return value of select-message-coding-system.
14063 Call mail-encode-header.
b8d747b9
KH
14064
14065 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14066
db0406bb 140672011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14068
4d90d6d0
DK
14069 * mail/supercite.el (sc-default-cite-frame):
14070 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14071
eb8a5e9b
GM
140722011-05-24 Glenn Morris <rgm@gnu.org>
14073
f8630703
GM
14074 * progmodes/python.el (brm-menu): Declare.
14075
8831bbed
GM
14076 * emulation/viper.el (viper-set-hooks): Declare.
14077
eb8a5e9b
GM
14078 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14079 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14080 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14081 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14082 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14083 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14084
a2a25d24
SM
140852011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 Add an :exit-function for completion-at-point.
14088
14089 * minibuffer.el (completion--done): New fun.
14090 (completion--do-completion): Use it. New arg `expect-exact'.
14091 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14092 since completion--do-completion does it for us now.
14093 (minibuffer-force-complete): Use completion--done and
14094 completion--replace. Handle sole-completion case with more care.
14095 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14096 (completion-extra-properties): New var.
14097 (completion-annotate-function): Make obsolete.
14098 (minibuffer-completion-help): Adjust accordingly.
14099 Use completion-list-insert-choice-function.
14100 (completion-at-point, completion-help-at-point):
14101 Bind completion-extra-properties.
14102 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14103 * simple.el (completion-list-insert-choice-function): New var.
14104 (completion-setup-function): Preserve it.
14105 (choose-completion): Pay attention to it, shuffle the code a bit.
14106 (choose-completion-string): New arg `insert-function'.
14107
14108 * textmodes/bibtex.el: Convert to lexical binding.
14109 (bibtex-mode-map): Use completion-at-point.
14110 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14111 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14112 (bibtex-complete): Define as obsolete alias.
14113 (bibtex-complete-internal): Remove.
14114 (bibtex-format-entry): Remove unused sub-group in regexp.
14115 * shell.el (shell--command-completion-data)
14116 (shell-environment-variable-completion):
14117 * pcomplete.el (pcomplete-completions-at-point):
14118 * comint.el (comint--complete-file-name-data): Use :exit-function
14119 instead of completion-table-with-terminator so it also works for
14120 choose-completion.
14121
e44e373d
SM
141222011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14123
4f91a816
SM
14124 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14125
782fc819
SM
14126 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14127 (bug#8710).
14128
e44e373d
SM
14129 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14130
381987c3
KM
141312011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14132
14133 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14134 customization variable and implement: If non-nil, auto-fill will
14135 be inhibited while on topic's header line.
14136
b776bc70
VB
141372011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14138
14139 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14140 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14141 always have a solution in grid size = 5 cases.
14142 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14143 (5x5-solver-output, 5x5-log-buffer): New vars.
14144 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14145 Make these variables buffer local to achieve 5x5 multi-session-ness.
14146 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14147 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14148 (5x5-solve-suggest): New funs.
14149 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14150 randomize a grid so that we ensure that there is always a solution.
14151 (5x5-make-random-grid): Allow other movement than flipping.
14152
7de88b6e
KR
141532011-05-23 Kevin Ryde <user42@zip.com.au>
14154
14155 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14156 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14157 advice and passes PREDICATE.
14158
b1ef1257
SM
141592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14160
bbca48fe
SM
14161 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14162 byte-compile-lambda if it's actually a lambda.
14163
b1ef1257
SM
14164 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14165 Fix function quoting. Use backquote better.
14166
92a9cc65
YS
141672011-05-22 Yuanle Song <sylecn@gmail.com>
14168
14169 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14170 matching (Bug#8516).
14171
f0fb8059
JA
141722011-01-22 Jari Aalto <jari.aalto@cante.net>
14173
14174 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14175 different face (Bug#8178).
14176
d5b44c93
CY
141772011-05-22 Chong Yidong <cyd@stupidchicken.com>
14178
14179 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14180 defface (Bug#8144).
14181
79106a44
SM
141822011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14183
9c848d8a
SM
14184 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14185 funcall as well (bug#8712). Warn when performing those conversions.
14186 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14187
79106a44
SM
14188 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14189
88dfa756
GM
141902011-05-22 Glenn Morris <rgm@gnu.org>
14191
14192 * files.el (hack-local-variables-prop-line): Small simplifications.
14193 (hack-local-variables, hack-local-variables-prop-line):
14194 If MODE-ONLY, return the mode, rather than just `t'.
14195
b7cf2c79
SM
141962011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14197
14198 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14199
3f1a8558
GM
142002011-05-21 Glenn Morris <rgm@gnu.org>
14201
7e4ccca3
GM
14202 * files.el (hack-local-variables-prop-line, hack-local-variables):
14203 If only interested in the mode, don't bother doing the other stuff.
14204
637d46ca
GM
14205 * image-mode.el (image-after-revert-hook):
14206 Redraw all frames on which the image is visible. (Bug#8567)
14207
973d955b
GM
14208 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14209
3f1a8558
GM
14210 * wid-edit.el (widget-checklist-match-inline):
14211 Fix 2011-04-19 change. (Bug#8649)
14212
96479927
SM
142132011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14214
1dcf791f
SM
14215 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14216 Also allow singlespace after single-letter capitals followed by a dot.
14217
96479927
SM
14218 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14219 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14220
35fd0881
N
142212011-05-20 Nix <nix@esperi.org.uk>
14222
14223 * files.el (basic-save-buffer-2):
14224 Fix handling of break-hardlink-on-save with non-existent files.
14225
82745640
DD
142262011-05-19 Deniz Dogan <deniz@dogan.se>
14227
14228 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14229 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14230
4a720484
GM
142312011-05-19 Glenn Morris <rgm@gnu.org>
14232
d1f21341
GM
14233 * progmodes/f90.el (f90-type-def-re):
14234 Handle "type, bind(c)". (Bug#8691)
14235
4a720484
GM
14236 * emacs-lisp/autoload.el (batch-update-autoloads):
14237 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14238
2fb0a219
MA
142392011-05-18 Michael Albinus <michael.albinus@gmx.de>
14240
14241 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14242 property for the correct connection in case of multihops.
14243
e565dd37
GM
142442011-05-18 Glenn Morris <rgm@gnu.org>
14245
c2571358 14246 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14247 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14248
e565dd37
GM
14249 Rationalize calendar handling of day and month abbrev-arrays.
14250 * calendar/calendar.el (calendar-customized-p): New function.
14251 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14252 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14253 Add :set function.
14254 (calendar-abbrev-length, calendar-day-abbrev-array)
14255 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14256 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14257 Elements may no longer be nil.
14258 (calendar-day-name, calendar-month-name):
14259 Update for changed nature of abbrev arrays.
14260 * calendar/diary-lib.el (diary-name-pattern):
14261 Update for changed nature of abbrev arrays.
14262 (diary-mark-entries-1): Update calendar-make-alist calls.
14263 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14264 * calendar/cal-html.el (cal-html-day-abbrev-array):
14265 Simply inherit from calendar-day-abbrev-array.
14266
1d99a745
SM
142672011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14268
14269 * progmodes/grep.el (grep-mode): Disable default
14270 compilation-directory-matcher setting (bug#8684).
14271
7c1d9aa0
MA
142722011-05-17 Michael Albinus <michael.albinus@gmx.de>
14273
14274 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14275 instead of "head" and "tail". There were problems with SunOS 5.9,
14276 and it performs better.
14277
3952e9d8
GM
142782011-05-17 Glenn Morris <rgm@gnu.org>
14279
2dd12e7f
GM
14280 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14281
e4157b9c
GM
14282 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14283 Replace obsolete function.
14284
8e249bbd
GM
14285 * shell.el (pcomplete-parse-arguments-function): Declare.
14286
3952e9d8
GM
14287 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14288 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14289 (appt-check): Doc fixes.
14290 (appt-disp-window-function, appt-delete-window-function):
14291 Remove needless special case in custom :type.
14292 (appt-display-count): Default to 0, not nil.
14293 (appt-check): Reset appt-display-count to 0, not nil.
14294
c71a0d48 142952011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14296
c71a0d48
GM
14297 * progmodes/python.el (python-font-lock-keywords):
14298 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14299
31d55be9
SM
143002011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14301
14302 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14303
3bfacb2f
KR
143042011-05-16 Kevin Ryde <user42@zip.com.au>
14305
14306 * info-look.el (makefile-automake-mode): New setups, looking in
14307 automake manual, then makefile-mode.
14308 (makefile-mode): Remove automake manual, have it just in
14309 makefile-automake-mode since there's various things different or
14310 not relevant to plain make.
14311 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14312 believe a hypothetical automake-mode would go to makefile-mode,
14313 not the other way around.
14314
c8e83751
CY
143152011-05-15 Chong Yidong <cyd@stupidchicken.com>
14316
5e9e35cd
CY
14317 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14318 hunk-end tags (Bug#8672).
14319
c8e83751
CY
14320 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14321 vc-annotate-show-diff-revision-at-line (Bug#8671).
14322
50b23e5a
GM
143232011-05-14 Glenn Morris <rgm@gnu.org>
14324
7210a739
GM
14325 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14326 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14327 (change-log-font-lock-keywords): Also handle multiple author lines
14328 with leading tabs. (Bug#8644)
7210a739 14329
4691905a
GM
14330 * calendar/appt.el (appt-check): Rename some local variables.
14331 Some simplification/reordering.
14332
50b23e5a
GM
14333 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14334 (feedmail-sendmail-f-doesnt-sell-me-out)
14335 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14336 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14337 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14338 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14339 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14340 (feedmail-binmail-gnulinuxish-template):
14341 Rename from feedmail-binmail-linuxish-template.
14342 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14343 Use insert-buffer-substring.
14344
215cda7c
BC
143452011-05-14 Bill Carpenter <bill@carpenter.org>
14346
14347 * mail/feedmail.el (feedmail-patch-level): Increase.
14348 (feedmail-debug): New custom group.
14349 (feedmail-confirm-outgoing-timeout)
14350 (feedmail-sendmail-f-doesnt-sell-me-out)
14351 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14352 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14353 (feedmail-sender-line, feedmail-from-line)
14354 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14355 (feedmail-spray-this-address)
215cda7c
BC
14356 (feedmail-spray-address-fiddle-plex-list)
14357 (feedmail-queue-use-send-time-for-date)
14358 (feedmail-queue-use-send-time-for-message-id)
14359 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14360 (feedmail-buffer-eating-function):
14361 Doc fixes.
14362 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14363 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14364 (feedmail-message-action-scroll-down): New functions.
14365 (feedmail-queue-directory, feedmail-queue-draft-directory):
14366 Use expand-file-name.
14367 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14368 Remove C-v help entry.
14369 (feedmail-queue-buffer-file-name): New variable.
14370 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14371 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14372 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14373 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14374 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14375 (feedmail-message-action-toggle-spray)
14376 (feedmail-run-the-queue-no-prompts)
14377 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14378 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14379 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14380 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14381 (feedmail-envelope-deducer, feedmail-fiddle-from)
14382 (feedmail-fiddle-sender, feedmail-default-date-generator)
14383 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14384 (feedmail-fiddle-spray-address)
14385 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14386 (feedmail-fiddle-list-of-fiddle-plexes)
14387 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14388 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14389 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14390 Change default. Doc fix.
14391 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14392 (feedmail-binmail-linuxish-template): New constant.
14393 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14394 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14395 (feedmail-send-it): Add debug call.
14396 Use feedmail-queue-buffer-file-name, and
14397 feedmail-send-it-immediately-wrapper.
14398 (feedmail-message-action-send): Add debug call.
14399 Use feedmail-send-it-immediately-wrapper.
14400 (feedmail-queue-express-to-queue): Add debug call.
14401 Run feedmail-queue-express-hook.
14402 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14403 (feedmail-message-action-help-blat):
14404 Rename from feedmail-queue-send-edit-prompt-help-first.
14405 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14406 Check line-endings. Handle errors better.
14407 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14408 Doc fix. Add debug call.
14409 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14410 Use feedmail-queue-send-edit-prompt-inner.
14411 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14412 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14413 from feedmail-queue-send-edit-prompt.
14414 (feedmail-queue-send-edit-prompt-help)
14415 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14416 (feedmail-tidy-up-slug): Add debug call.
14417 Respect feedmail-queue-slug-suspect-regexp.
14418 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14419 (feedmail-dump-message-to-queue): Add debug call.
14420 Expand queue-directory.
14421 (feedmail-dump-message-to-queue): Change message slightly.
14422 Use feedmail-say-chatter.
14423 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14424 (feedmail-send-it-immediately-wrapper): New function.
14425 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14426 Insert empty string rather than newline. Handle full-frame case.
14427 Use catch/throw. Use feedmail-say-chatter.
14428 (feedmail-fiddle-from): Try mail-host-address.
14429 (feedmail-default-message-id-generator): Doc fix.
14430 Bind system-time-locale. Handle missing end.
14431 (feedmail-fiddle-x-mailer): Add debug call.
14432 Handle feedmail-x-mailer-line being nil.
14433 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14434 Add debug call. Use buffer-substring-no-properties.
14435 (feedmail-say-debug, feedmail-say-chatter): New functions.
14436 (feedmail-find-eoh): Give an explicit error.
14437
42c7e61e
UJ
144382011-05-13 Ulf Jasper <ulf.jasper@web.de>
14439
c2571358 14440 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14441 family from helvetica to sans.
c2571358 14442 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14443 etc/images/newsticker.
14444
c2571358 14445 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14446 family from helvetica to sans.
14447
14448 * net/newst-plainview.el (newsticker-new-item-face)
14449 (newsticker-old-item-face, newsticker-immortal-item-face)
14450 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14451 (newsticker-statistics-face): Change default family from
42c7e61e 14452 helvetica to sans.
c2571358 14453 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14454 etc/images/newsticker.
14455
5d3385a0
JB
14456 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14457 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14458 auto-marking.
14459
8497a297
DV
144602011-05-13 Didier Verna <didier@xemacs.org>
14461
14462 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14463 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14464 TODO entries.
8497a297
DV
14465 (lisp-lambda-list-keyword-parameter-indentation)
14466 (lisp-lambda-list-keyword-parameter-alignment)
14467 (lisp-lambda-list-keyword-alignment): New customizable user options.
14468 (lisp-indent-defun-method): Improve docstring.
14469 (extended-loop-p): Fix comment.
14470 (lisp-indent-lambda-list-keywords-regexp): New variable.
14471 (lisp-indent-lambda-list): New function.
14472 (lisp-indent-259): Use it.
14473 (lisp-indent-defmethod): Support for more than one
14474 method qualifier and properly indent methods lambda-lists.
14475 (defgeneric): Provide a missing common-lisp-indent-function property.
14476
f278f87f
SM
144772011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14478
14479 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14480 bounds for the empty string (bug#8667).
14481
5233edd7
GM
144822011-05-13 Glenn Morris <rgm@gnu.org>
14483
5237a44f
GM
14484 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14485
8340026c 14486 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14487 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14488
5233edd7 14489 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14490 (appt-time-msg-list): Doc fix.
a5464014 14491 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14492
92d10796
AS
144932011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14494
14495 * progmodes/ld-script.el (ld-script-keywords)
14496 (ld-script-builtins): Update keywords list.
14497
914a0ae1
SM
144982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14499
c89be45f
SM
14500 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14501
914a0ae1
SM
14502 * shell.el (shell-completion-vars): New function.
14503 (shell-mode):
14504 * simple.el (read-shell-command): Use it.
14505 (blink-matching-open): No need for " [...]" in minibuffer-message.
14506
98dc3df3
GM
145072011-05-12 Glenn Morris <rgm@gnu.org>
14508
14509 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14510 (appt-check): Simplify.
14511
d2fc7e3d 145122011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14513
4d61f28d 14514 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14515 literal "/dev/null".
14516
d2fc7e3d 145172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14518
14519 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14520 Fix typo.
14521
d2fc7e3d 145222011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14523
3f254caa
SM
14524 * progmodes/which-func.el (which-function):
14525 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14526 which might not be defined (Bug#8260).
14527
d45885f7
GM
145282011-05-12 Glenn Morris <rgm@gnu.org>
14529
14530 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14531 Let byte-compile-initial-macro-environment always take precedence.
14532
488086f4
SM
145332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * net/rcirc.el: Add support for SSL/TLS connections.
14536 (rcirc-server-alist): New field `encryption'.
14537 (rcirc): Check `encryption' settings.
14538 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14539 Merge make-local-variable into `set'.
14540 (rcirc--connection-open-p): New function.
14541 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14542 the process is not a network process (e.g. running gnutls-cli).
14543 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14544 Make rcirc-(en|de)code-coding-system local here.
14545 (rcirc-mode): Merge make-local-variable into `set'.
14546 (rcirc-parent-buffer): Make permanent buffer-local.
14547 (rcirc-multiline-minor-mode): Don't do it here.
14548 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14549 there's no server buffer.
14550
7d3b9d44
GM
145512011-05-11 Glenn Morris <rgm@gnu.org>
14552
f64049c6
GM
14553 * newcomment.el (comment-kill): Prefix "unused" local.
14554
93c9df73
GM
14555 * term/w32console.el (get-screen-color): Declare.
14556
7d3b9d44
GM
14557 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14558 Handle symbol elements of byte-compile-initial-macro-environment.
14559
9e2dd53f
LL
145602011-05-10 Leo Liu <sdl.web@gmail.com>
14561
488086f4
SM
14562 * bookmark.el (bookmark-bmenu-mode-map):
14563 Bind bookmark-bmenu-search to `/'.
8b340240 14564
9e2dd53f 14565 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14566 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14567 (Footnote-unicode): New function.
14568 (footnote-style-alist): Add unicode style to the list.
14569 (footnote-style): Doc fix.
9e2dd53f 14570
79b70037
GM
145712011-05-10 Jim Meyering <meyering@redhat.com>
14572
14573 Fix doubled-word typos.
14574 * international/quail.el (quail-insert-kbd-layout): and and -> and
14575 * kermit.el: and and -> and
14576 * net/ldap.el (ldap-search-internal): to to -> to
14577 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14578 * progmodes/js.el (js-mode): and and -> and
14579 * textmodes/artist.el (artist-move-to-xy): at at -> at
14580 (artist-draw-region-trim-line-endings): if if -> if
14581 And Safetyc -> Safety.
14582 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14583
b8f82dc1 145842011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14585 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14586
14587 * files.el (hack-one-local-variable-eval-safep):
14588 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14589
4f99f44b
GM
145902011-05-10 Glenn Morris <rgm@gnu.org>
14591
14592 * calendar/diary-lib.el (diary-list-entries-hook)
14593 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14594 (diary-nongregorian-marking-hook, diary-list-entries)
14595 (diary-include-other-diary-files, diary-mark-entries)
14596 (diary-mark-included-diary-files): Doc fixes.
14597
84f29e6b
JB
145982011-05-09 Juanma Barranquero <lekktu@gmail.com>
14599
14600 * misc.el: Require tabulated-list.el during compilation.
14601
9bedd73a
CY
146022011-05-09 Chong Yidong <cyd@stupidchicken.com>
14603
488086f4
SM
14604 * progmodes/compile.el (compilation-start):
14605 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14606 (compilation-filter-hook): Doc fix.
14607
797c735c
DD
146082011-05-09 Deniz Dogan <deniz@dogan.se>
14609
14610 * wdired.el: Remove outdated installation comment. Fix usage
14611 comment.
14612
5f4b1dfe
JB
146132011-05-09 Juanma Barranquero <lekktu@gmail.com>
14614
14615 * misc.el: Implement new command `list-dynamic-libraries'.
14616 (list-dynamic-libraries--loaded-only-p): New variable.
14617 (list-dynamic-libraries--refresh): New function.
14618 (list-dynamic-libraries): New command.
14619
4c44026c
CY
146202011-05-09 Chong Yidong <cyd@stupidchicken.com>
14621
488086f4
SM
14622 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14623 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14624 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14625 higher priority to avoid clobbering by gnu.
14626
027f966d
CY
146272011-05-08 Chong Yidong <cyd@stupidchicken.com>
14628
14629 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14630 if the face has existing theme settings (Bug#8454).
14631
085f5d7d
CY
146322011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14633
488086f4
SM
14634 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14635 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14636
2a86a00c
RS
14637 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14638 special file names `.' and `..' (Bug#8259).
14639
d9c54a06
CY
146402011-05-08 Chong Yidong <cyd@stupidchicken.com>
14641
488086f4
SM
14642 * progmodes/grep.el (grep-mode-font-lock-keywords):
14643 Remove buffer-changing entries.
d9c54a06
CY
14644 (grep-filter): New function.
14645 (grep-mode): Add it to compilation-filter-hook.
14646
14647 * progmodes/compile.el (compilation-filter-hook)
14648 (compilation-filter-start): New defvars.
14649 (compilation-filter): Call compilation-filter-hook prior to
14650 updating the process mark.
14651
c4662635
SM
146522011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14653
14654 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14655
b0512a1d
EZ
146562011-05-07 Eli Zaretskii <eliz@gnu.org>
14657
605c9376
EZ
14658 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14659 mailclient-send-it even if window-system is nil. (Bug#8595)
14660
c4662635
SM
14661 * term/w32console.el (terminal-init-w32console):
14662 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14663 background-mode. (Bug#8597)
14664
d1dc2cc2
SM
146652011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14668 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14669 New functions.
14670 (defgeneric, eieio--defmethod): Use them.
14671 (eieio-defgeneric): Remove.
14672 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14673
915d1300
GM
146742011-05-07 Glenn Morris <rgm@gnu.org>
14675
a3961c3e
GM
14676 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14677 Use let rather than let*.
14678 (timeclock-find-discrep): Remove unused local.
14679
314347b9
GM
14680 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14681
915d1300
GM
14682 * calendar/appt.el (appt-time-msg-list): Doc fix.
14683
275b59b0
NF
146842011-05-06 Noah Friedman <friedman@splode.com>
14685
14686 * apropos.el (apropos-print-doc): Only use
14687 emacs-lisp-docstring-fill-column when it is bound to an integer,
14688 per that variable's documentation.
14689
6c19f744
SM
146902011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14691
14692 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14693 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14694
60f884b2
GM
146952011-05-06 Glenn Morris <rgm@gnu.org>
14696
5006e634
GM
14697 * calendar/appt.el (appt-message-warning-time): Doc fix.
14698 (appt-warning-time-regexp): New option.
14699 (appt-make-list): Respect appt-message-warning-time.
14700
548d0a63
GM
14701 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14702 New options.
14703 (diary-add-to-list): Strip comments from the displayed string.
14704 (diary-mode): Set comment-start and comment-end.
14705
60f884b2
GM
14706 * vc/diff-mode.el (smerge-refine-subst): Declare.
14707 (diff-refine-hunk): Don't require smerge-mode when compiling.
14708
989681bb
JB
147092011-05-06 Juanma Barranquero <lekktu@gmail.com>
14710
14711 * simple.el (list-processes): Return nil as the docstring says.
14712
a6bc05e1
MA
147132011-05-05 Michael Albinus <michael.albinus@gmx.de>
14714
14715 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14716 to "".
14717 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14718 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14719 determining of binary transfer. (Bug#7383)
14720
23c22e9a
MA
147212011-05-05 Michael Albinus <michael.albinus@gmx.de>
14722
c4662635
SM
14723 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14724 Fix port computation bug. (Bug#8618)
23c22e9a 14725
0bff894f
GM
147262011-05-05 Glenn Morris <rgm@gnu.org>
14727
b8296902
GM
14728 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14729
1f522ce8
GM
14730 * simple.el (shell-dynamic-complete-functions)
14731 (comint-dynamic-complete-functions): Declare.
14732
cf5bee67
GM
14733 * net/network-stream.el (gnutls-negotiate):
14734 * simple.el (tabulated-list-print): Fix declarations.
14735
14736 * progmodes/gud.el (syntax-symbol, syntax-point):
14737 Remove unnecessary and incorrect declarations.
14738
0bff894f
GM
14739 * emacs-lisp/check-declare.el (check-declare-scan):
14740 Handle byte-compile-initial-macro-environment in bytecomp.el
14741
9869b3ae
SM
147422011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14743
14744 Fix earlier half-done eieio-defmethod change (bug#8338).
14745 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14746 Streamline and change calling convention.
14747 (defmethod): Adjust accordingly and simplify.
14748 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14749 new eieio--defmethod.
14750 (slot-boundp): Minor CSE simplification.
14751
9c1d5ac5
MZ
147522011-05-05 Milan Zamazal <pdm@zamazal.org>
14753
14754 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14755 (glasses-make-readable): Use glasses-separate-capital-groups.
14756
455c834e
JB
147572011-05-05 Juanma Barranquero <lekktu@gmail.com>
14758
14759 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14760 (warning-series): Doc fix.
14761 (display-warning): Don't try to create the buffer if we just found it.
14762
9ed7c8cb
CY
147632011-05-04 Chong Yidong <cyd@stupidchicken.com>
14764
14765 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14766 (autoload-find-generated-file): New function.
14767 (generate-file-autoloads): Bind generated-autoload-file to
14768 buffer-file-name.
9869b3ae
SM
14769 (update-file-autoloads, update-directory-autoloads):
14770 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14771 output file (Bug#7989).
14772 (batch-update-autoloads): Doc fix.
14773
0898ca10
JB
147742011-05-04 Juanma Barranquero <lekktu@gmail.com>
14775
14776 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14777
31dfb76c
GM
147782011-05-04 Glenn Morris <rgm@gnu.org>
14779
f330b642
GM
14780 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14781 function, so it follows changes in calendar-date-style.
14782 (diary-fancy-date-matcher): New function.
14783 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14784 (diary-fancy-font-lock-fontify-region-function):
14785 Use diary-fancy-date-pattern as a function.
14786
31dfb76c
GM
14787 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14788 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14789
48e79d6a
TZ
147902011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14791
14792 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14793 instead of positional arguments. Allow :keylist and :crlfiles
14794 arguments.
14795 (open-gnutls-stream): Call it.
14796
14797 * net/network-stream.el (network-stream-open-starttls): Adjust to
14798 call `gnutls-negotiate' with :process and :hostname arguments.
14799
dd5a5ee0
SM
148002011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14801
ef80fc09
SM
14802 * minibuffer.el (completion--message): New function.
14803 (completion--do-completion, minibuffer-complete)
14804 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14805 (completion--do-completion): Don't ignore completion-auto-help when in
14806 icomplete-mode.
14807
dd5a5ee0
SM
14808 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14809 internal encoding (e.g. tibetan zero is not whitespace).
14810 (global-whitespace-mode): Prefer save-current-buffer.
14811 (whitespace-trailing-regexp): Remove useless save-match-data.
14812 (whitespace-empty-at-bob-regexp): Minor simplification.
14813
b7d22a83
CY
148142011-05-03 Chong Yidong <cyd@stupidchicken.com>
14815
14816 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14817
5192af46
AM
148182011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14819
14820 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14821 Use `concat' to create string for insertion.
5192af46 14822
5767d190
SM
148232011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14824
14825 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14826 Avoid open-line which runs post-self-insert-hook.
14827 (bibtex-fill-entry): Remove unused `end' var.
14828
bf242939
AM
148292011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14830
5767d190
SM
14831 * textmodes/ispell.el (ispell-add-per-file-word-list):
14832 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14833
25666126
LL
148342011-05-03 Leo Liu <sdl.web@gmail.com>
14835
14836 * isearch.el (isearch-yank-pop): New command.
5767d190 14837 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14838 (isearch-forward): Mention it.
14839
52d3c2d0
SM
148402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14841
1bcace58
SM
14842 * simple.el (minibuffer-complete-shell-command): Remove.
14843 (minibuffer-local-shell-command-map): Use completion-at-point.
14844 (read-shell-command): Setup completion vars here instead.
14845 (read-expression-map): Bind TAB to symbol completion.
14846
52d3c2d0
SM
14847 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14848 error directly rather via storing it into `results'.
14849
35813471
LL
148502011-05-02 Leo Liu <sdl.web@gmail.com>
14851
14852 * vc/diff.el: Fix description.
14853
e793a940
LMI
148542011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14855
14856 * server.el (server-eval-at): New function.
14857
8de66e05
LMI
148582011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14859
14860 * net/network-stream.el (open-network-stream): Take a :nowait
14861 parameter and pass it on to `make-network-process'.
14862 (network-stream-open-plain): Ditto.
14863
dcb79f20
AS
148642011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14865
14866 * faces.el (face-spec-set-match-display): Don't match toolkit
14867 options on terminal frames.
14868
14a7fbd8
SM
148692011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14870
7eabc1be
SM
14871 * progmodes/pascal.el: Use lexical binding.
14872 (pascal-mode-map): Remove author preferences.
14873
14a7fbd8
SM
14874 * pcomplete.el (pcomplete-std-complete): Don't abuse
14875 completion-at-point.
14876
50f84510
JB
148772011-04-28 Juanma Barranquero <lekktu@gmail.com>
14878
6e087a44
JB
14879 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14880 removing code that has been dead since 1991 or so.
14881
50f84510
JB
14882 * startup.el (command-line): When warning about "_emacs", use a
14883 delayed warning to allow the user to filter it out.
14884
0ba690bd
DD
148852011-04-28 Deniz Dogan <deniz@dogan.se>
14886
14887 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14888 user has not joined.
14889
08abfaad
SM
148902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14891
14892 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14893 aren't any completions at point.
14894
638f053a
JB
148952011-04-28 Juanma Barranquero <lekktu@gmail.com>
14896
14897 * subr.el (display-delayed-warnings): New function.
14898 (delayed-warnings-hook): New variable.
14899
8fff8daa
SM
149002011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14901
08abfaad
SM
14902 * minibuffer.el (completion-at-point, completion-help-at-point):
14903 Don't presume that a given completion-at-point-function will always
14904 use the same calling convention.
14905
8fff8daa
SM
14906 * pcomplete.el (pcomplete-completions-at-point):
14907 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14908 pcomplete-seen is non-nil.
14909 (pcomplete-comint-setup): Also recognize the new comint/shell
14910 completion functions.
14911 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14912 pcomplete-seen is non-nil.
14913
841a1577 149142011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14915
841a1577 14916 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14917 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14918 the first character in the entry. This allows for code to add its
211ec907
UJ
14919 own uid to the entry.
14920 (icalendar--convert-float-to-ical): Add export of
14921 `diary-float'-entries save for those with the optional DAY
14922 argument.
14923
2a782793
DC
149242011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14925
14926 * subr.el (shell-quote-argument): Use alternate escaping strategy
14927 when we spot a variable reference in a string.
14928
0438ce91
DC
149292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14930
14931 * cus-start.el (all): Define customization for debug-on-event.
14932
841a1577 149332011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14934
14935 * subr.el (shell-quote-argument): Escape correctly under Windows.
14936
d090ed6c
SM
149372011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14938
14939 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14940
bfd31217
MA
149412011-04-25 Michael Albinus <michael.albinus@gmx.de>
14942
d090ed6c
SM
14943 * net/tramp.el (tramp-process-actions): Add POS argument.
14944 Delete region between POS and (pos).
bfd31217 14945
d090ed6c
SM
14946 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14947 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14948 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14949
14950 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14951 position in `tramp-process-actions' call.
14952
14953 * net/trampver.el: Update release number.
14954
e92f3bd3
SM
149552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14956
850256b5
SM
14957 * custom.el (defcustom): Obey lexical-binding.
14958
e92f3bd3
SM
14959 Fix octave-inf completion problems reported by Alexander Klimov.
14960 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14961 Inherit from octave-mode-syntax-table.
14962 (inferior-octave-mode): Set info-lookup-mode.
14963 (inferior-octave-completion-at-point): New function.
14964 (inferior-octave-complete): Use it and completion-in-region.
14965 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14966 comint-filename-completion.
14967 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14968 symbol elements which shouldn't be word elements.
14969 (octave-font-lock-keywords, octave-beginning-of-defun)
14970 (octave-function-header-regexp): Adjust regexps accordingly.
14971 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14972
cd22b309
JB
149732011-04-25 Juanma Barranquero <lekktu@gmail.com>
14974
14975 * net/gnutls.el (gnutls-errorp): Declare before first use.
14976
8b492194
TZ
149772011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14978
14979 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14980 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14981 default trustfile exists before going to use it. Add missing
5a5fa834 14982 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14983 Reported by Claudio Bley <claudio.bley@gmail.com>.
14984 (open-gnutls-stream): Add usage example.
14985
14986 * net/network-stream.el (network-stream-open-starttls): Give host
14987 parameter to `gnutls-negotiate'.
14988 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14989 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14990
841a1577 149912011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14992
cd22b309
JB
14993 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14994 Use correct match group (bug#8438).
05842630 14995
3ba7869c
CY
149962011-04-24 Chong Yidong <cyd@stupidchicken.com>
14997
512e3ae1
CY
14998 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14999 (package-menu--generate): New arg specifying packages to show.
15000 (package-menu-refresh, package-menu-execute, list-packages):
15001 Callers changed.
15002 (package-show-package-list): New function, replacing deleted
15003 package--list-packages (renamed because it is non-internal).
15004
15005 * finder.el (finder-list-matches): Use package-show-package-list
15006 instead of deleted package--list-packages.
15007
e92f3bd3
SM
15008 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15009 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15010 (vc-annotate-mode-map): Bind it to RET.
15011
7031be6d
UR
150122011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15013
15014 * progmodes/etags.el (next-file): Don't use set-buffer to change
15015 buffers (Bug#8478).
15016
4ef177aa
CY
150172011-04-24 Chong Yidong <cyd@stupidchicken.com>
15018
c8d173eb
CY
15019 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15020
4ef177aa
CY
15021 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15022 (apropos-accumulator): Doc fix.
15023 (apropos-function, apropos-macro, apropos-command)
15024 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15025 (apropos-plist): Add face property.
15026 (apropos-symbols-internal): Fix indentation.
15027 (apropos-print): Simplify help, and recognize apropos-multi-type.
15028 (apropos-print-doc): Use button-type-get to extract the button's
15029 face property. Fill docstring (Bug#8352).
15030
4ffd0d6b 150312011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15032
15033 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15034
c6c32125 15035 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15036 (mpuz-mode-map): Use mapc.
c6c32125
JB
15037 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15038 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15039 Fix typos in docstrings.
15040
58d468b4
JB
15041 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15042 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15043
6470c3c6
JB
15044 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15045
4ffd0d6b 150462011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15047
15048 * minibuffer.el (completion--do-completion): Avoid the "Next char
15049 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15050
3ad8bad0
CY
15051 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15052 mouse-2 into unread-command-events, it is interpreted correctly.
15053
71d73c9c 15054 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15055 (image-toggle-display): Doc fix.
71d73c9c 15056
841a1577 150572011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15058
4ffd0d6b
GM
15059 * textmodes/page.el (what-page): Use line-number-at-pos to
15060 calculate line number (Bug#6825).
6e1dbaa9 15061
c2fb1b60
JB
150622011-04-22 Juanma Barranquero <lekktu@gmail.com>
15063
15064 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15065 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15066 Pass argument NO-DEFAULT to `find-tag-interactive'.
15067
e02f48d7
JB
150682011-04-22 Juanma Barranquero <lekktu@gmail.com>
15069
15070 Lexical-binding cleanup.
15071
15072 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15073 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15074 * progmodes/ada-prj.el (ada-prj-initialize-values)
15075 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15076 (ada-prj-show-value):
15077 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15078 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15079 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15080 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15081 * progmodes/bug-reference.el (bug-reference-push-button):
15082 * progmodes/fortran.el (fortran-line-length):
15083 * progmodes/glasses.el (glasses-change):
15084 * progmodes/octave-mod.el (octave-fill-paragraph):
15085 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15086 (python-pdbtrack-grub-for-buffer, python-sentinel):
15087 * progmodes/sql.el (sql-save-connection):
15088 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15089 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15090 Mark unused parameters.
15091
15092 * progmodes/compile.el (compilation--flush-directory-cache)
15093 (compilation--flush-parse, compile-internal): Mark unused parameters.
15094 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15095 (compilation-next-error-function): Remove unused variable `timestamp'.
15096
15097 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15098 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15099
15100 * progmodes/dcl-mode.el (dcl-end-of-command):
15101 Remove unused variable `start'.
15102 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15103 (dcl-option-value-basic, dcl-option-value-offset)
15104 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15105 Mark unused parameters.
15106 (dcl-save-local-variable): Remove unused variable `val'.
15107 (mode): Declare.
15108
15109 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15110 Mark unused parameters.
15111 (delphi-ignore-changes): Move before first use.
15112 (delphi-charset-token-at): Remove unused variable `start'.
15113 (delphi-else-start): Remove unused variable `if-count'.
15114 (delphi-comment-block-start, delphi-comment-block-end):
15115 Remove unused variable `kind'.
15116 (delphi-indent-line): Remove unused variable `new-point'.
15117
15118 * progmodes/ebrowse.el (ebrowse-files-list)
15119 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15120 Mark unused parameters. Don't quote `lambda'.
15121 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15122 Don't quote `lambda'.
15123 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15124 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15125 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15126 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15127 Use `ignore-errors'.
15128 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15129 (ebrowse-view/find-file-and-search-pattern)
15130 (ebrowse-view/find-member-declaration/definition):
15131 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15132 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15133 Rename parameter PREFIX-ARG to PREFIX.
15134 (ebrowse-tags-read-name): Remove unused variables `start' and
15135 `member-info'.
15136 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15137 to `tags-file'.
15138
15139 * progmodes/etags.el (local-find-tag-hook): Declare.
15140 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15141 Mark unused parameters.
15142
15143 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15144 (executable-interpret): Mark unused parameter.
15145
15146 * progmodes/flymake.el (flymake-process-sentinel)
15147 (flymake-after-change-function)
15148 (flymake-create-temp-with-folder-structure)
15149 (flymake-get-include-dirs-dot): Mark unused parameters.
15150 (flymake-safe-delete-directory): Remove unused variable `err'.
15151
15152 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15153 (speedbar-timer-fn, speedbar-line-text)
15154 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15155 (speedbar-center-buffer-smartly): Declare functions.
15156 (gdb-find-watch-expression): Remove unused variable `array'.
15157 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15158 (gdb-starting): Mark unused parameters.
15159 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15160 (gdb-table-string): Remove unused variable `res'.
15161 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15162 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15163 (gdb-display-buffer): Remove unused variable `cur-size'.
15164
15165 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15166 allow lexical-binding compilation.
15167 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15168 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15169 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15170 Mark unused parameters.
15171 (gud-gdb-marker-filter): Remove unused variable `match'.
15172 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15173 lambda expressions and funcall them, instead of using `fset'.
15174
15175 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15176 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15177
15178 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15179 variable `header-beg'; use `let'.
15180
15181 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15182 `restart', `last-sexp' and `at-do'.
15183
15184 * progmodes/js.el (js--debug): Mark unused parameter.
15185 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15186 (js--splice-into-items): Remove unused variable `item'.
15187 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15188
15189 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15190 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15191 (makefile-complete): Remove unused variable `try'.
15192 (makefile-fill-paragraph, makefile-match-function-end):
15193 Mark unused parameters.
15194
15195 * progmodes/octave-inf.el (inferior-octave-complete):
15196 Remove unused variable `proc'.
15197 (inferior-octave-output-digest): Mark unused parameter.
15198
15199 * progmodes/perl-mode.el (perl-calculate-indent):
15200 Remove unused variable `err'.
15201
15202 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15203 (prolog-indent-line): Mark unused parameters.
15204 (prolog-indent-line): Remove unused variable `beg'.
15205
15206 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15207 (reporter-dont-compact-list): Declare.
15208
15209 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15210 Remove unused variable `char'.
15211 (sh-debug): Mark unused parameter.
15212 (sh-get-indent-info): Remove unused variable `start'.
15213 (sh-calculate-indent): Remove unused variable `var'.
15214
15215 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15216 (simula-electric-keyword): Remove unused variable `null'.
15217 (simula-search-backward, simula-search-forward): Remove unused
15218 variables `begin' and `end'.
15219
15220 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15221 Remove unused variable `pos'.
15222 (vera-electric-tab, vera-comment-uncomment-region):
15223 Mark unused parameters.
15224 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15225
7ede3b65
CY
152262011-04-22 Chong Yidong <cyd@stupidchicken.com>
15227
15228 * emacs-lisp/package.el (package--builtins, package-alist)
15229 (package-load-descriptor, package-built-in-p, package-activate)
15230 (define-package, package-installed-p)
15231 (package-compute-transaction, package-buffer-info)
15232 (package--push): Doc fix. Distinguish more clearly between
15233 version strings and version lists.
15234
121656e9
JB
152352011-04-21 Juanma Barranquero <lekktu@gmail.com>
15236
15237 Lexical-binding cleanup.
15238
15239 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15240 (5x5-make-mutate-best):
15241 * play/fortune.el (fortune-in-buffer):
15242 * play/gomoku.el (gomoku-init-display):
15243 * play/solitaire.el (solitaire, solitaire-do-check):
15244 * play/tetris.el (tetris-default-update-speed-function):
15245 Mark unused parameters.
15246
15247 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15248 (bubbles--shift): Remove unused variable `char-org'.
15249 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15250 (bubbles--show-images): Remove unused variable `char'.
15251
15252 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15253 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15254 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15255 (decipher-analyze-buffer): Use ?\s.
15256 (decipher-make-checkpoint): Remove unused variable `mapping'.
15257
15258 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15259
15260 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15261 Remove unused variable `result'; use `let'.
15262
15263 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15264 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15265 (gametree-children-shown-p, gametree-compute-reduced-score):
15266 Use `ignore-errors'.
15267
15268 * play/handwrite.el (ps-lpr-switches): Declare.
15269 (handwrite): Remove unused variables `pmin' and `lastp'.
15270
15271 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15272
15273 * play/landmark.el (landmark-init-display)
15274 (landmark-update-naught-weights): Mark unused parameters.
15275 (landmark-y): Remove unused variable `noise'. Simplify.
15276 (landmark-human-plays): Remove unused variable `score'.
15277
15278 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15279 (mpuz-try-proposal): Remove unused variable `game'.
15280
15281 * play/zone.el (life-patterns): Declare.
15282
80f499c7
JB
152832011-04-20 Juanma Barranquero <lekktu@gmail.com>
15284
15285 * vc/vc.el (ediff-vc-internal): Declare function.
15286
024ff170
SM
152872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15288
c0a193ea
SM
15289 * shell.el: Use lexical-binding and std completion UI.
15290 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15291 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15292 comint-preoutput-filter-functions rather than on
15293 comint-output-filter-functions.
15294 (shell-command-completion, shell--command-completion-data)
15295 (shell-filename-completion, shell-environment-variable-completion)
15296 (shell-c-a-p-replace-by-expanded-directory): New functions.
15297 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15298 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15299 (shell-dynamic-complete-environment-variable): Use them.
15300 (shell-dynamic-complete-as-environment-variable)
15301 (shell-dynamic-complete-as-command): Remove.
15302 (shell-match-partial-variable): Match past point.
15303 * comint.el: Clean up use of completion-at-point-functions.
15304 (comint-completion-at-point): New function.
15305 (comint-mode): Use it completion-at-point-functions.
15306 (comint-dynamic-complete): Make it obsolete.
15307 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15308 (comint-c-a-p-replace-by-expanded-history): New function.
15309 (comint-dynamic-complete-functions)
15310 (comint-replace-by-expanded-history): Use it.
15311 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15312 termination strings. Try harder to avoid second try-completion.
15313 (completion-in-region-mode-map): Disable bindings that don't work yet.
15314
2dbaa080
SM
15315 * comint.el: Use lexical-binding. Require CL.
15316 (comint-dynamic-complete-functions): Use comint-filename-completion.
15317 (comint-completion-addsuffix): Tweak custom type.
15318 (comint-filename-completion, comint--common-suffix)
15319 (comint--common-quoted-suffix, comint--table-subvert)
15320 (comint--complete-file-name-data): New functions.
15321 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15322 (comint-dynamic-list-filename-completions): Use them.
15323 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15324
2dbaa080
SM
15325 * minibuffer.el (completion-in-region-mode):
15326 Keep completion-in-region-mode--predicate global.
15327 (completion-in-region--postch):
15328 Assume completion-in-region-mode--predicate is not null.
15329
c79a6f38
SM
15330 * progmodes/flymake.el (flymake-start-syntax-check-process):
15331 Obey `dir'. Simplify.
15332
024ff170
SM
15333 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15334 we're in VC after all.
15335
1c6c854e
CS
153362011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15337
15338 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15339 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15340 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15341
bed7f140
SM
153422011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15343
332e62ab
SM
15344 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15345 add sanity check.
15346
bed7f140
SM
15347 * obsolete/erc-hecomplete.el: Make obsolete.
15348 * obsolete/: Standardize obsolescence info in the header.
15349
f195c582
GM
153502011-04-20 Glenn Morris <rgm@gnu.org>
15351
15352 * calendar/solar.el (solar-horizontal-coordinates):
15353 Use the longitude argument rather than `calendar-longitude'.
15354 (solar-date-next-longitude): Remove unused locals.
15355
cb79b8c0
VJL
153562011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15357
15358 * whitespace.el: New version 13.2.1.
15359
153602011-04-20 felix <EmacsWiki> (tiny change)
15361
d8e4b68b 15362 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15363 switching between major modes on a file.
15364
602ea69d
SM
153652011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15368 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15369 multi-line comments as well.
15370
06b60517
JB
153712011-04-19 Juanma Barranquero <lekktu@gmail.com>
15372
15373 Lexical-binding cleanup.
15374
15375 * arc-mode.el (archive-mode-revert):
15376 * cmuscheme.el (scheme-interactively-start-process):
15377 * custom.el (custom-initialize-delay):
15378 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15379 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15380 * emacs-lock.el (emacs-lock-clear-sentinel):
15381 * ezimage.el (defezimage):
15382 * follow.el (follow-avoid-tail-recenter):
15383 * fringe.el (set-fringe-mode-1):
15384 * generic-x.el (bat-generic-mode-compile):
15385 * help-mode.el (help-info-variable, help-do-xref)
15386 (help-mode-revert-buffer):
15387 * help.el (view-emacs-todo):
15388 * iswitchb.el (iswitchb-completion-help):
15389 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15390 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15391 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15392 * locate.el (locate-update):
15393 * longlines.el (longlines-encode-region)
15394 (longlines-after-change-function):
15395 * outline.el (outline-isearch-open-invisible):
15396 * ps-def.el (declare-function, charset-dimension, char-width)
15397 (encode-char):
15398 * ps-mule.el (ps-mule-plot-string):
15399 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15400 (recentf-edit-list-select, recentf-edit-list-validate)
15401 (recentf-open-files-action):
15402 * rect.el (delete-whitespace-rectangle-line)
15403 (rectangle-number-line-callback):
15404 * register.el (window-configuration-to-register)
15405 (frame-configuration-to-register):
15406 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15407 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15408 (xselect-convert-to-targets, xselect-convert-to-delete)
15409 (xselect-convert-to-filename, xselect-convert-to-charpos)
15410 (xselect-convert-to-lineno, xselect-convert-to-colno)
15411 (xselect-convert-to-os, xselect-convert-to-host)
15412 (xselect-convert-to-user, xselect-convert-to-class)
15413 (xselect-convert-to-name, xselect-convert-to-integer)
15414 (xselect-convert-to-atom, xselect-convert-to-identity):
15415 * subr.el (declare, ignore, process-kill-without-query)
15416 (text-clone-maintain):
15417 * terminal.el (te-get-char, te-tic-sentinel):
15418 * tool-bar.el (tool-bar-make-keymap):
15419 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15420 * type-break.el (type-break-mode, type-break-noninteractive-query):
15421 * view.el (View-back-to-mark):
15422 * wid-browse.el (widget-browse-action, widget-browse-widget)
15423 (widget-browse-widgets, widget-browse-sexp):
15424 * widget.el (define-widget-keywords):
15425 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15426 Mark unused parameters.
15427
15428 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15429 (align-areas): Remove unused variable `look'.
15430 (align-region): Remove unused variables `real-end' and `pos-list'.
15431
15432 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15433
15434 * bindings.el (mode-line-modified, mode-line-remote):
15435 Mark unused parameters.
15436 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15437
15438 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15439 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15440
15441 * comint.el (comint-history-isearch-pop-state)
15442 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15443 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15444 (comint-substitute-in-file-name): Doc fix.
15445
15446 * completion.el (cmpl-statistics-block): Mark unused parameter.
15447 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15448 (save-completions-to-file, load-completions-from-file):
15449 Remove unused local variable `e'.
15450
15451 * composite.el (compose-chars): Remove unused variable `len'.
15452 (lgstring-insert-glyph): Remove unused variable `g'.
15453 (compose-glyph-string): Remove unused variables `ascent',
15454 `descent', `lbearing' and `rbearing'.
15455 (compose-glyph-string-relative): Remove unused variables
15456 `lbearing', `rbearing' and `wadjust'.
15457 (compose-gstring-for-graphic): Remove unused variables `header',
15458 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15459 (compose-gstring-for-terminal): Remove unused variables `header'
15460 and `nchars'. Use `let', not `let*'.
15461
15462 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15463 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15464 (Custom-buffer-done, custom-buffer-create-internal)
15465 (custom-browse-visibility-action, custom-browse-group-tag-action)
15466 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15467 (widget-magic-mouse-down-action, custom-toggle-parent)
15468 (custom-add-parent-links, custom-toggle-hide-variable)
15469 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15470 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15471 (custom-face-menu-create, custom-variable-menu-create, get)
15472 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15473 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15474 (customize-apropos): Remove unused variable `tests'.
15475 (custom-group-value-create): Remove unused variable `hidden-p'.
15476 (sort-fold-case): Declare.
15477
15478 * cus-theme.el (custom-reset-standard-faces-list)
15479 (custom-reset-standard-variables-list): Declare.
15480 (customize-create-theme, custom-theme-revert, custom-theme-write)
15481 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15482 Mark unused parameters.
15483
15484 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15485
15486 * delim-col.el (delimit-columns-max): Move defvar before first use.
15487
15488 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15489 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15490
15491 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15492 (auto-insert): Declare.
15493 (desktop-restore-file-buffer): Rename desktop-* parameters;
15494 mark unused ones.
15495 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15496 (desktop-buffer): Rename desktop-* parameters.
15497
15498 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15499 (dframe-reposition-frame-xemacs, dframe-help-echo)
15500 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15501 Mark unused parameters.
15502
15503 * dired-aux.el (backup-extract-version-start, overwrite-query)
15504 (overwrite-backup-query, rename-regexp-query)
15505 (rename-non-directory-query): Declare.
15506 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15507 (dired-add-entry): Remove unused variable `orig-file-name'.
15508 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15509 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15510 `dired-copy-preserve-time' directly.
15511 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15512 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15513
15514 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15515 (dired-virtual-revert, dired-make-relative-symlink):
15516 Mark unused parameters.
15517 (manual-program): Declare.
15518 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15519 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15520 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15521
15522 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15523
15524 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15525
15526 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15527 Declare.
15528
15529 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15530
15531 * electric.el (Electric-command-loop): Rename parameter
15532 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15533
15534 * expand.el (expand-in-literal): Remove unused variable `here'.
15535
15536 * facemenu.el (facemenu-add-new-color):
15537 Remove unused variable `docstring'.
15538
15539 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15540 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15541 (face-attr-construct): Mark unused parameter. Doc fix.
15542 (read-color): Remove unused variable `hex-string'.
15543
15544 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15545 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15546 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15547 (display-buffer-other-frame): Remove unused variable `old-window'.
15548 (kill-buffer-hook): Declare.
15549 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15550 Mark unused parameters.
15551 (after-find-file): Pass 1 to `auto-save-mode', not t.
15552
15553 * files-x.el (auto-insert): Declare.
15554 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15555
15556 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15557 variable `buf'. Mark unused parameter.
06b60517
JB
15558 (find-lisp-insert-directory): Mark unused parameter.
15559
15560 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15561 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15562 (format-common-tail): Remove, unused.
15563 (format-deannotate-region): Remove unused variable `loc'.
15564 (format-annotate-region): Remove unused variable `p'.
15565 (format-annotate-single-property-change): Remove unused variables
15566 `default' and `tail'.
15567
15568 * forms.el (read-file-filter): Declare.
15569 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15570
15571 * frame.el (frame-creation-function-alist): Mark unused parameter.
15572 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15573
15574 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15575 Remove unused parameters.
15576 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15577 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15578
15579 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15580 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15581 (hfy-prepare-tag-map): Mark unused parameters.
15582 (htmlfontify-buffer): Use `called-interactively-p'.
15583
15584 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15585 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15586 (ibuffer-do-occur): Mark unused parameters.
15587 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15588 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15589
15590 * ibuffer.el: Don't quote `lambda'.
15591 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15592 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15593 Mark unused parameters.
15594
15595 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15596 (ido-completing-read): Mark unused parameters.
15597 (ido-copy-current-word): Mark unused parameters;
15598 remove unused variable `name'.
15599 (ido-sort-merged-list): Remove unused parameter `dirs'.
15600
15601 * ielm.el (ielm-input-sender): Mark unused parameter.
15602 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15603 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15604 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15605 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15606 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15607
15608 * image-dired.el (image-dired-display-thumbs): Remove unused
15609 variables `curr-file' and `count'.
15610 (image-dired-remove-tag): Remove unused variable `start'.
15611 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15612 variable `curr-file'
15613 (image-dired-rotate-original): Remove unused variable `temp-file'.
15614 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15615 Remove unused variable `file'.
15616 (image-dired-gallery-generate): Remove unused variable `curr'.
15617 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15618
15619 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15620
15621 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15622
15623 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15624
15625 * isearch.el (minibuffer-history-symbol): Declare.
15626 (isearch-edit-string): Remove unused variable `err'.
15627 (isearch-message-prefix, isearch-message-suffix):
15628 Mark unused parameters.
15629
15630 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15631
15632 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15633
15634 * makesum.el (double-column): Remove unused variable `cnt'.
15635
15636 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15637 (ido-ignore-item-temp-list): Declare.
15638
15639 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15640 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15641 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15642 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15643 `mouse-col-delta'.
15644
15645 * mouse-sel.el (mouse-extend-internal):
15646 Remove unused variable `orig-window-frame'.
15647
15648 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15649 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15650 Move declarations before first use.
15651 (pcomplete-opt): Mark unused parameters; doc fix.
15652
15653 * proced.el (proced-revert): Mark unused parameter.
15654 (proced-send-signal): Remove unused variable `err'.
15655
15656 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15657 Rename parameter PREFIX-ARG to ARG.
15658 (ps-basic-plot-string, ps-basic-plot-whitespace):
15659 Mark unused parameters.
15660
15661 * replace.el (replace-count): Define.
15662 (occur-revert-function): Mark unused parameters.
15663 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15664 (isearch-case-fold-search, isearch-string): Declare.
15665 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15666 bind `case-fold-search'. Remove unused variables `beg' and `end',
15667 and simplify.
15668 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15669 COUNT and bind `replace-count'.
15670 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15671 to COUNT.
15672
15673 * savehist.el (print-readably, print-string-length): Declare.
15674
15675 * shadowfile.el (shadow-expand-cluster-in-file-name):
15676 Remove unused variable `cluster'.
15677 (shadow-copy-file): Remove unused variable `i'.
15678 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15679 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15680 (shadow-define-literal-group, shadow-define-regexp-group)
15681 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15682
15683 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15684 (shell): Use `called-interactively-p'.
15685 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15686
15687 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15688 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15689 (delete-backward-char): Remove unused variable `ocol'.
15690 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15691 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15692 (event-apply-hyper-modifier, event-apply-shift-modifier)
15693 (event-apply-control-modifier, event-apply-meta-modifier):
15694 Mark unused parameters.
15695 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15696 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15697
15698 * speedbar.el (speedbar-ignored-directory-expressions)
15699 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15700 (speedbar-find-file, speedbar-dir-follow)
15701 (speedbar-directory-buttons-follow, speedbar-tag-find)
15702 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15703 (speedbar-buffers-line-directory, speedbar-buffer-click):
15704 Mark unused parameters.
15705 (speedbar-tag-file): Remove unused variable `mode'.
15706 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15707
15708 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15709
15710 * talk.el (talk): Remove unused variable `display'.
15711
15712 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15713 (tar-write-region-annotate): Mark unused parameter.
15714
15715 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15716 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15717 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15718 warning by another.
15719
15720 * time-stamp.el (time-stamp-string-preprocess):
15721 Remove unused variable `require-padding'.
15722
15723 * tree-widget.el (widget-glyph-enable): Declare.
15724 (tree-widget-action): Mark unused parameter.
15725
15726 * w32-fns.el (x-get-selection): Mark unused parameter.
15727 (autoload-make-program, generated-autoload-file): Declare.
15728
15729 * wdired.el (wdired-revert): Mark unused parameters.
15730 (wdired-xcase-word): Remove unused variable `err'.
15731
15732 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15733 (whitespace-help-scroll): Remove unused variable `data-help'.
15734
15735 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15736 (widget-image-insert, widget-after-change, default)
15737 (widget-default-format-handler, widget-default-notify)
15738 (widget-default-prompt-value, widget-info-link-action)
15739 (widget-url-link-action, widget-function-link-action)
15740 (widget-variable-link-action, widget-file-link-action)
15741 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15742 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15743 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15744 (widget-insert-button-action, widget-delete-button-action, visibility)
15745 (widget-documentation-link-action, widget-documentation-string-action)
15746 (widget-const-prompt-value, widget-regexp-match, symbol)
15747 (widget-coding-system-prompt-value)
15748 (widget-key-sequence-value-to-external, sexp)
15749 (widget-sexp-value-to-internal, character, vector, cons)
15750 (widget-choice-prompt-value, widget-boolean-prompt-value)
15751 (widget-color--choose-action): Mark unused parameters.
15752 (widget-item-match-inline, widget-choice-match-inline)
15753 (widget-checklist-match, widget-checklist-match-inline)
15754 (widget-group-match): Rename parameter VALUES to VALS.
15755 (widget-field-value-set): Remove unused variable `size'.
15756 (widget-color-action): Remove unused variables `value' and `start'.
15757
15758 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15759 variable `dir'. Doc fix.
06b60517
JB
15760 (windmove-find-other-window): Don't pass it.
15761
15762 * window.el (count-windows): Mark unused parameter.
15763 (bw-adjust-window): Remove unused variable `err'.
15764
15765 * woman.el (woman-file-name): Remove unused variable `default'.
15766 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15767 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15768 (global-font-lock-mode): Declare.
15769 (woman-decode-region): Mark unused parameter.
15770 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15771
15772 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15773 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15774 (x-dnd-handle-moz-url): Remove unused variable `title'.
15775 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15776
15777 * xml.el (xml-parse-tag, xml-parse-attlist):
15778 Remove unused variable `pos'.
15779
bc4f7f3d
GM
157802011-04-19 Glenn Morris <rgm@gnu.org>
15781
15782 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15783 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15784 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15785 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15786 * calendar/cal-html.el (cal-html-insert-minical):
15787 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15788 (calendar-mark-date-pattern):
15789 Prefix "unused" locals.
15790
15791 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15792 optional argument `style'.
15793
15794 * calendar/appt.el (appt-make-list):
15795 * calendar/cal-china.el (calendar-chinese-date-string):
15796 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15797 (diary-hebrew-yahrzeit):
15798 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15799 * calendar/calendar.el (calendar-generate-window):
15800 * calendar/time-date.el (time-to-days):
15801 Remove unused local variables.
15802
16a43933
CY
158032011-04-18 Chong Yidong <cyd@stupidchicken.com>
15804
15805 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15806 glyphless-char-display table.
15807 (tabulated-list-glyphless-char-display): New var.
15808
7eed1860
SS
158092011-04-18 Sam Steingold <sds@gnu.org>
15810
15811 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15812 to acknowledgments.
15813
4d2d1ccd
GM
158142011-04-17 Glenn Morris <rgm@gnu.org>
15815
15816 * calendar/diary-lib.el (diary-sexp-entry):
15817 * calendar/holidays.el (holiday-sexp):
15818 Set debug-on-error rather than the removed stack-trace-on-error.
15819
239da61d
GM
158202011-04-16 Glenn Morris <rgm@gnu.org>
15821
15822 * progmodes/f90.el: Use lexical-binding.
15823 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15824
8b05752a
SM
158252011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15826
daca8ba5
SM
15827 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15828 (mail-mode): Setup mailalias completion here instead.
15829 * mail/mailalias.el: Use lexical-binding.
15830 (pattern, mailalias-done): Declare dynamic.
15831 (mail-completion-at-point-function): New function, from mail-complete.
15832 (mail-complete): Use it.
15833 (mail-completion-expand): New function.
15834 (mail-get-names): Use it.
15835 (mail-directory, mail-directory-process, mail-directory-stream):
15836 Don't use `pattern' for lexically bound arg.
15837
6f542485
SM
15838 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15839
037e7c3f
SM
15840 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15841 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15842 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15843
8b05752a
SM
15844 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15845 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15846 (byte-interactive-p): Define them again, for use when inlining
15847 old code.
15848
49093f60
JB
158492011-04-15 Juanma Barranquero <lekktu@gmail.com>
15850
15851 * loadup.el: Use `string-to-number', not `string-to-int'.
15852
b5b8e7de
SM
158532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15854
15855 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15856 gud-gdb-complete-command.
15857 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15858 (gud-gdb-completion-at-point): New function.
15859 (gud-gdb-completions): Remove.
15860
f42efeb5
MA
158612011-04-14 Michael Albinus <michael.albinus@gmx.de>
15862
49093f60
JB
15863 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15864 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15865 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15866 whether `executable-find' is bound.
f42efeb5
MA
15867
15868 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15869
e240cc21
SM
158702011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15871
15872 * minibuffer.el (completion-in-region-mode-predicate)
15873 (completion-in-region-mode--predicate): New vars.
15874 (completion-in-region, completion-in-region--postch)
15875 (completion-in-region-mode): Use them.
15876 (completion--capf-wrapper): Also return the hook function.
15877 (completion-at-point, completion-help-at-point):
15878 Adjust and provide a predicate.
c2bd2ab0
SM
15879
15880 Preserve arg names for advice of subr and lexical functions (bug#8457).
15881 * help-fns.el (help-function-arglist): Consolidate the subr and
15882 new-byte-code cases. Add argument `preserve-names' to extract names
15883 from the docstring when needed.
15884 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15885 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15886 (ad-arglist): Use help-function-arglist's new arg.
15887 (ad-definition-type): Use cond.
15888
c183f693
JB
158892011-04-13 Juanma Barranquero <lekktu@gmail.com>
15890
06641a47
JB
15891 * autorevert.el (auto-revert-handler):
15892 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15893 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15894 Don't quote lambda.
15895
c183f693
JB
15896 * image-mode.el (image-transform-set-scale):
15897 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15898
1e3b6001
G
158992011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15900
15901 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15902 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15903 Upgrades via gnutls-cli are too slow to be done opportunistically.
15904
2d6af8dd
JB
159052011-04-12 Juanma Barranquero <lekktu@gmail.com>
15906
15907 * dframe.el (dframe-current-frame): Remove spurious quote.
15908
c0749a51
GM
159092011-04-12 Glenn Morris <rgm@gnu.org>
15910
088d0d61
GM
15911 * calendar/cal-tex.el (cal-tex-end-document):
15912 Try to automatically use latin1 input if needed.
15913
c0749a51
GM
15914 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15915 Don't try to cons a mark onto an empty element.
15916
5c90fde0
LL
159172011-04-11 Leo Liu <sdl.web@gmail.com>
15918
15919 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15920 buffers.
15921 (ido-kill-buffer-at-head): Support killing virtual buffers.
15922
369e974d
CY
159232011-04-10 Chong Yidong <cyd@stupidchicken.com>
15924
15925 * minibuffer.el (completion-show-inline-help): New var.
15926 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15927 (minibuffer-force-complete, minibuffer-complete-word):
15928 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15929
15930 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15931 to avoid interference from inline help (Bug#5849).
15932
37f1c930
LL
159332011-04-10 Leo Liu <sdl.web@gmail.com>
15934
099c39a4
JB
15935 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15936 Fix typo.
37f1c930 15937
a32d4040
CY
159382011-04-09 Chong Yidong <cyd@stupidchicken.com>
15939
15940 * image-mode.el (image-toggle-display-image): Signal an error if
15941 not in Image mode.
15942 (image-transform-mode, image-transform-resize)
15943 (image-transform-set-rotation): Doc fix.
daca8ba5 15944 (image-transform-set-resize): Delete.
a32d4040
CY
15945 (image-transform-set-scale, image-transform-fit-to-height)
15946 (image-transform-fit-to-width): Handle image-toggle-display-image
15947 and image-transform-resize directly.
15948
099c39a4 159492011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15950
15951 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15952 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15953 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15954 (doc-view-mode-map): Add bindings for the new functions.
15955
099c39a4 159562011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15957
4d61f28d 15958 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15959 Fix typo in docstring.
15960
3726838a
EZ
159612011-04-08 Eli Zaretskii <eliz@gnu.org>
15962
04f33f1e
EZ
15963 * files.el (file-size-human-readable): Produce one digit after
15964 decimal, like "ls -lh" does.
15965
15966 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15967 the file size representation.
15968
3726838a
EZ
15969 * simple.el (list-processes): If async subprocesses are not
15970 available, error out with a clear error message.
15971
cbb59342
CY
159722011-04-08 Chong Yidong <cyd@stupidchicken.com>
15973
15974 * help.el (help-form-show): New function, to be called from C.
15975 Put help-form output in a buffer named differently than *Help*.
15976
e3971c44
EZ
159772011-04-08 Eli Zaretskii <eliz@gnu.org>
15978
15979 * files.el (file-size-human-readable): New function.
15980
15981 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15982 computing the representation inline. Don't require `cl'.
15983
12544bbe
GM
159842011-04-08 Glenn Morris <rgm@gnu.org>
15985
a1de6c6a
GM
15986 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15987
3c4671f4
GM
15988 * net/browse-url.el (browse-url-firefox):
15989 Test system-type, not system-configuration.
15990
b605679c
GM
15991 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15992 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15993 Use log-edit-empty-buffer-p. (Bug#7598)
15994
56442f0c
GM
15995 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15996 (rlogin-mode-map): Initialize in the defvar.
15997 (rlogin): Use ignore-errors.
15998
12544bbe
GM
15999 * replace.el (occur-mode-map): Some fixes for menu items.
16000
eb237b0f
AH
160012011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16002
16003 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16004
7d668f2c
CY
160052011-04-06 Chong Yidong <cyd@stupidchicken.com>
16006
e67a13ab
CY
16007 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16008 issuing unused warnings.
16009
16010 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16011 macro directly.
16012
7d668f2c
CY
16013 * simple.el: Lisp reimplement of list-processes. Based on an
16014 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16015 (process-menu-mode): New major mode.
16016 (list-processes--refresh, list-processes):
16017 (process-menu-visit-buffer): New functions.
16018
16019 * files.el (save-buffers-kill-emacs): Don't assume any return
16020 value of list-processes, which is undocumented anyway.
16021
a83ec3c9
CY
160222011-04-06 Chong Yidong <cyd@stupidchicken.com>
16023
16024 * emacs-lisp/tabulated-list.el: New file.
16025
e91a96fe
CY
16026 * emacs-lisp/package.el: Use Tabulated List mode.
16027 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16028 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16029 table format using Tabulated List mode variables.
16030 (package--push): New macro, replacing package-list-maybe-add.
16031 (package-menu--generate): Use package--push. Renamed from
16032 package--generate-package-list.
16033 (package-menu-refresh, list-packages): Use it.
daca8ba5 16034 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16035 Return insertion data instead of inserting it directly.
099c39a4
JB
16036 (package-menu-describe-package, package-menu-execute):
16037 Use tabulated-list-get-id.
e91a96fe
CY
16038 (package-menu-mark-delete, package-menu-mark-install)
16039 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16040 (package-menu-mark-obsolete-for-deletion):
16041 Use tabulated-list-put-tag.
e91a96fe
CY
16042 (package--list-packages, package-menu-revert)
16043 (package-menu-get-package, package-menu-get-version)
16044 (package-menu-sort-by-column): Functions deleted.
16045 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16046 (package-menu--status-predicate, package-menu--version-predicate)
16047 (package-menu--name-predicate)
16048 (package-menu--description-predicate): Handle arguments in the
16049 Tabulated List format.
16050 (package-list-packages-no-fetch): Call list-packages.
16051
3e214b50
JB
160522011-04-06 Juanma Barranquero <lekktu@gmail.com>
16053
16054 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16055 (after-find-file): Don't bind it.
3e214b50
JB
16056 (revert-buffer-in-progress-p): New variable.
16057 (revert-buffer): Bind it.
16058 Pass nil for `after-find-file-from-revert-buffer'.
16059
16060 * saveplace.el (save-place-find-file-hook): Use new variable
16061 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16062
3f0f1700
GM
160632011-04-06 Glenn Morris <rgm@gnu.org>
16064
c0274801
GM
16065 * Makefile.in (AUTOGEN_VCS): New variable.
16066 (autoloads): Use $AUTOGEN_VCS.
16067
3f0f1700
GM
16068 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16069 * calendar/calendar.el (calendar-mode-map):
16070 Check for toolkit scroll bars. (Bug#8305)
16071
41ea9e48
CY
160722011-04-05 Chong Yidong <cyd@stupidchicken.com>
16073
16074 * minibuffer.el (completion-in-region--postch)
16075 (completion-in-region-mode): Remove unnecessary messages.
16076
6194c800
JB
160772011-04-05 Juanma Barranquero <lekktu@gmail.com>
16078
33256f14
JB
16079 * font-lock.el (font-lock-refresh-defaults):
16080 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16081 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16082
6194c800
JB
16083 * info.el (Info-directory-list, Info-read-node-name-2)
16084 (Info-split-parameter-string): Doc fixes.
16085 (Info-virtual-nodes): Reflow docstring.
16086 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16087 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16088 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16089 Fix typos in docstrings.
16090 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16091 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16092 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16093 (Info-restore-desktop-buffer): Mark unused parameters.
16094 (Info-directory-find-file, Info-directory-find-node)
16095 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16096 (Info-virtual-index-find-node, Info-apropos-find-file)
16097 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16098 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16099 (Info-virtual-index): Remove unused local variable `nodename'.
16100
b87a8200 161012011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16102
b87a8200
DD
16103 * net/rcirc.el: Update my e-mail address.
16104 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16105
3b2ff876
CY
161062011-04-05 Chong Yidong <cyd@stupidchicken.com>
16107
16108 * startup.el (command-line): Save the cursor's theme-face
16109 directly, instead of using face-override-spec.
16110
16111 * custom.el (load-theme): Minor optimization in assigning faces.
16112
8d17e7ca
JB
161132011-04-04 Juanma Barranquero <lekktu@gmail.com>
16114
16115 * help-fns.el (describe-variable): Complete all variables having
16116 documentation, including keywords.
16117 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16118
2fbc1934
JB
161192011-04-04 Juanma Barranquero <lekktu@gmail.com>
16120
16121 Convert to lexical-binding.
16122
16123 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16124 (bs--get-marked-string, bs--get-modified-string)
16125 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16126 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16127 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16128
16129 * ehelp.el (electric-help-execute-extended)
16130 (electric-help-ctrl-x-prefix):
16131 * hexl.el (hexl-revert-buffer-function):
16132 * linum.el (linum-after-change, linum-after-scroll):
16133 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16134
16135 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16136
74f50695
DU
161372011-04-04 Daiki Ueno <ueno@unixuser.org>
16138
16139 * epa-dired.el:
16140 * epa-mail.el:
16141 * epa-hook.el:
16142 * epa-file.el:
16143 * epa.el:
16144 * epg.el: Use lexical binding.
16145
c11325f7
CY
161462011-04-03 Chong Yidong <cyd@stupidchicken.com>
16147
0d9e9a12
CY
16148 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16149
c11325f7 16150 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16151 dictionary case for flyspell-mark-duplications-exceptions.
16152 Use regexp matching for languages.
c11325f7
CY
16153 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16154 default dictionary (Bug#7926).
16155
da91b5f2
CY
161562011-04-02 Chong Yidong <cyd@stupidchicken.com>
16157
099c39a4
JB
16158 * emacs-lisp/package.el (package--with-work-buffer):
16159 Recognize https URLs.
da91b5f2 16160
099c39a4
JB
16161 * net/network-stream.el: Move from gnus/proto-stream.el.
16162 Change prefix to network-stream throughout.
da91b5f2
CY
16163 (open-protocol-stream): Merge into open-network-stream, leaving
16164 open-protocol-stream as an alias. Handle nil BUFFER args.
16165
16166 * subr.el (open-network-stream): Move to net/network-stream.el.
16167
afa8e9f6
GM
161682011-04-02 Glenn Morris <rgm@gnu.org>
16169
1d2e369d
GM
16170 * find-dired.el (find-exec-terminator): New option.
16171 (find-ls-option): Test for -ls support.
16172 (find-ls-subdir-switches): Test for -b in find-ls-option.
16173 (find-dired, find-grep-dired): Doc fixes.
16174 (find-dired): Use find-exec-terminator.
16175
8abb7da8 16176 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16177 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16178 (find-name-arg): Remove purecopy.
8abb7da8 16179
f3ca7378
GM
16180 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16181 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16182 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16183 accordingly. Don't add the null-device if not needed.
16184
afa8e9f6
GM
16185 * files.el (save-some-buffers): Doc fix.
16186
35eae264
EZ
161872011-04-02 Eli Zaretskii <eliz@gnu.org>
16188
16189 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16190
26b51db5
JB
161912011-04-01 Juanma Barranquero <lekktu@gmail.com>
16192
16193 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16194 Use `dolist' rather than `mapcar'.
16195
7200d79c
SM
161962011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16197
03408648 16198 Add lexical binding.
7200d79c 16199
03408648
SM
16200 * subr.el (apply-partially): Use new closures rather than CL.
16201 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16202 (dolist, dotimes): Use slightly different expansion for lexical code.
16203 (functionp): Move to C.
16204 (letrec): New macro.
16205 (with-wrapper-hook): Use it and apply-partially instead of CL.
16206 (eval-after-load): Preserve lexical-binding.
16207 (save-window-excursion, with-output-to-temp-buffer): Turn them
16208 into macros.
7200d79c 16209
03408648
SM
16210 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16211
16212 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16213 than the arglist.
16214 (help-add-fundoc-usage): Don't add `Not documented'.
16215 (help-function-arglist): Handle closures, subroutines, and new
16216 byte-code-functions.
16217 (help-make-usage): Remove leading underscores.
16218 (describe-function-1): Handle closures.
16219 (describe-variable): Use special-variable-p for completion.
16220
16221 * files.el (lexical-binding): Declare safe.
f488fb65 16222
03408648
SM
16223 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16224 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16225 (pcase): Add `let' pattern.
16226 Change memoization so it actually works.
16227 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16228 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16229 <let>: New case.
f488fb65 16230
03408648
SM
16231 * emacs-lisp/macroexp.el: Use lexical binding.
16232 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16233 Don't convert ' to #' without checking that it's indeed quoting
16234 a lambda.
16235
16236 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16237 Use eval-sexp-add-defvars.
03408648
SM
16238 (eval-sexp-add-defvars): New fun.
16239
16240 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16241
16242 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16243 Don't autoload.
16244 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16245 than the internal `byte-compile-lambda'.
16246 (defmethod): Don't hide code under quotes.
16247 (eieio-defmethod): New `code' argument.
16248
16249 * emacs-lisp/eieio-comp.el: Remove.
16250
16251 * emacs-lisp/edebug.el (edebug-eval-defun)
16252 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16253 (edebug-toggle): Avoid `eval'.
16254
16255 * emacs-lisp/disass.el (disassemble-internal): Handle new
16256 `closure' objects.
16257 (disassemble-1): Handle new byte codes.
16258
16259 * emacs-lisp/cl.el (pushnew): Silence warning.
16260
16261 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16262 (cl-byte-compile-throw): Remove.
16263 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16264
16265 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16266 closures.
16267
16268 * emacs-lisp/cconv.el: New file.
16269
16270 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16271 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16272 (byte-compile-initial-macro-environment):
16273 Handle declare-function here.
16274 (byte-compile--lexical-environment): New var.
16275 (byte-stack-ref, byte-stack-set, byte-discardN)
16276 (byte-discardN-preserve-tos): New lap codes.
16277 (byte-interactive-p): Don't use any more.
16278 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16279 New macros.
16280 (byte-compile-lapcode): Use them and handle new lap codes.
16281 (byte-compile-obsolete): Remove.
16282 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16283 (byte-compile-arglist-warn): Check late def of inlinable funs.
16284 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16285 since they should have been expanded by now.
16286 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16287 (byte-compile-from-buffer): Remove unused second arg.
16288 (byte-compile-preprocess): New function.
16289 (byte-compile-toplevel-file-form): New function to distinguish
16290 file-form calls from outside from file-form calls from hunk-handlers.
16291 (byte-compile-file-form): Simplify.
16292 (byte-compile-file-form-defsubst): Remove.
16293 (byte-compile-file-form-defmumble): Simplify now that
16294 byte-compile-lambda always returns a byte-code-function.
16295 (byte-compile): Preprocess.
16296 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16297 Remove, not used any more.
16298 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16299 (byte-compile-make-args-desc): New funs.
16300 (byte-compile-lambda): Handle lexical functions. Always return
16301 a byte-code-function.
16302 (byte-compile-reserved-constants): New var, to make up room for
16303 closed-over variables.
16304 (byte-compile-constants-vector): Obey it.
16305 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16306 (byte-compile-macroexpand-declare-function): New function.
16307 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16308 byte-code-functions.
16309 (byte-compile-form): Check obsolescence here.
16310 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16311 (byte-compile-variable-ref): Remove.
16312 (byte-compile-dynamic-variable-op): New fun.
16313 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16314 (byte-compile-variable-set): New funs.
16315 (byte-compile-discard): Add 2 args.
16316 (byte-compile-stack-ref, byte-compile-stack-set)
16317 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16318 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16319 macroexpand-all instead.
16320 (byte-compile-quote-form): Remove.
16321 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16322 (byte-compile-bind, byte-compile-unbind): New funs.
16323 (byte-compile-let): Handle let* and lexical binding.
16324 (byte-compile-let*): Remove.
16325 (byte-compile-catch, byte-compile-unwind-protect)
16326 (byte-compile-track-mouse, byte-compile-condition-case):
16327 Handle a new :fun-body form, used for lexical scoping.
16328 (byte-compile-save-window-excursion)
16329 (byte-compile-with-output-to-temp-buffer): Remove.
16330 (byte-compile-defun): Simplify.
16331 (byte-compile-stack-adjustment): New fun.
16332 (byte-compile-out): Use it.
16333 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16334
16335 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16336 handler any more.
16337
16338 * emacs-lisp/byte-opt.el: Use lexical binding.
16339 (byte-inline-lapcode): Remove (to bytecomp).
16340 (byte-compile-inline-expand): Pay attention to inlining to/from
16341 lexically bound code.
16342 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16343 any more.
16344 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16345 any more and don't call compiler-macros.
16346 (byte-compile-splice-in-already-compiled-code): Remove.
16347 (byte-code): Don't inline any more.
16348 (disassemble-offset): Receive `bytes' as argument rather than via
16349 dynamic scoping.
16350 (byte-compile-tag-number): Declare before first use.
16351 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16352 `return' even if make-spliceable.
16353 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16354 obsolete interactive-p.
16355 (byte-optimize-lapcode): Optimize new lap-codes.
16356 Don't trip up on new form of `byte-constant' lap code.
16357
16358 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16359
16360 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16361
16362 * custom.el (custom-initialize-default, custom-declare-variable):
16363 Use `defvar'.
16364
16365 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16366 New variables.
16367 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16368 (COMPILE_FIRST): Add macroexp and cconv.
16369 * makefile.w32-in: Mirror changes in Makefile.in.
16370
16371 * vc/cvs-status.el:
16372 * vc/diff-mode.el:
16373 * vc/log-edit.el:
16374 * vc/log-view.el:
16375 * vc/smerge-mode.el:
16376 * textmodes/bibtex-style.el:
090bd7cb 16377 * textmodes/css-mode.el:
03408648
SM
16378 * startup.el:
16379 * uniquify.el:
da91b5f2
CY
16380 * minibuffer.el:
16381 * newcomment.el:
16382 * reveal.el:
16383 * server.el:
16384 * mpc.el:
16385 * emacs-lisp/smie.el:
16386 * doc-view.el:
16387 * dired.el:
03408648
SM
16388 * abbrev.el: Use lexical binding.
16389
0f0c1f27
EZ
163902011-04-01 Eli Zaretskii <eliz@gnu.org>
16391
16392 * info.el (info-display-manual): New function.
16393
c82b2579
SM
163942011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16395
16396 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16397
221ddf68
TH
163982011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16399
16400 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16401 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16402
cba6e77e
GM
164032011-03-31 Glenn Morris <rgm@gnu.org>
16404
e040639f
GM
16405 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16406
cba6e77e
GM
16407 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16408
6d0f1c9e
CS
164092011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16410
16411 * progmodes/python.el (python-default-interpreter)
16412 (python-python-command-args, python-jython-command-args)
16413 (python-which-shell, python-which-args, python-which-bufname)
16414 (python-file-queue, python-comint-output-filter-function)
16415 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16416 variables and functions.
16417
3e2d70fd
SM
164182011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16419
16420 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16421 (completion-in-region-mode): New minor mode.
16422 (completion-in-region): Use it.
16423 (completion-in-region--data, completion-in-region-mode-map): New vars.
16424 (completion-in-region--postch): New function.
16425 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16426 New vars.
16427 (completion--capf-wrapper): New function.
16428 (completion-at-point): Use it to track well-behavedness of
16429 hook functions.
16430 (completion-help-at-point): New command.
16431
f3e4086c
JM
164322011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16433
16434 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16435 syntax class to search for whitespace on a single line
16436 (Message-ID: <4D938140.4030905@redhat.com>).
16437
eb7ffc14
LL
164382011-03-30 Leo Liu <sdl.web@gmail.com>
16439
16440 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16441 New commands.
16442 (edit-abbrevs-map): Bind them here.
16443 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16444
d806ab68
KM
164452011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16446
16447 * allout.el (allout-hide-by-annotation, allout-flag-region):
16448 Reduce possibility of overlay leakage by making them volatile.
16449
16450 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16451 hash is not shared between buffers. Mode initialization is
16452 responsible for giving it a useful starting value.
16453 (allout-item-span): Reduce possibility of overlay leakage by
16454 making them volatile.
16455 (allout-widgets-count-buttons-in-region): Add diagnostic function
16456 for tracking down button overlay leaks.
16457
ea622834
LL
164582011-03-29 Leo Liu <sdl.web@gmail.com>
16459
16460 * ido.el (ido-read-internal): Use the default history var
16461 minibuffer-history if no HISTORY is specified.
16462
b62f8267
G
164632011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16464
03408648
SM
16465 * net/imap.el (imap-shell-open, imap-process-connection-type):
16466 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16467 Kerberos, SSL, other subprocesses.
16468
947b6566
LL
164692011-03-28 Leo Liu <sdl.web@gmail.com>
16470
16471 * abbrev.el (abbrev-table-empty-p): New function.
16472 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16473 nonempty ones. (Bug#5937)
16474
5ffb62aa
JD
164752011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16476
16477 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16478
7a097943
LL
164792011-03-27 Leo Liu <sdl.web@gmail.com>
16480
16481 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16482 for foreground and background colors.
16483 (ansi-color-make-color-map): Adapt.
16484
c5b40130
LL
164852011-03-25 Leo Liu <sdl.web@gmail.com>
16486
1f48f7d2
LL
16487 * midnight.el (midnight-time-float): Remove. Note it calculates
16488 the microsecond component incorrectly and seconds-to-time does the
16489 same job.
625897ec 16490 Remove redundant (require 'timer).
1f48f7d2 16491
c5b40130
LL
16492 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16493 (ido-completions): Remove unused arguments. (Bug#8329)
16494
d86d2721
SM
164952011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16496
16497 * minibuffer.el (completion--flush-all-sorted-completions):
16498 Remove itself from hook.
16499 (completion-at-point): Let the functions perform the completion
16500 immediately and return nil or t.
16501 * comint.el (comint-dynamic-complete-functions): Now identical to
16502 completion-at-point-functions.
16503 (comint-dynamic-list-input-ring): Remove unused var `index'.
16504 (comint--match-partial-filename, comint--unquote&expand-filename):
16505 New funs, split from comint-match-partial-filename.
16506 (comint-dynamic-complete): Use completion-at-point.
16507 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16508
e8974c48
DA
165092011-03-24 Drew Adams <drew.adams@oracle.com>
16510
16511 * thingatpt.el: Support `defun'.
16512
def71b5e
LL
165132011-03-23 Leo Liu <sdl.web@gmail.com>
16514
cb5af48e
LL
16515 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16516
def71b5e
LL
16517 * help-mode.el (help-mode-finish): Tweak regexp.
16518
927c53e7
GM
165192011-03-23 Glenn Morris <rgm@gnu.org>
16520
18d05bed
GM
16521 * eshell/esh-opt.el (eshell-eval-using-options):
16522 Do not bind unused local variable `eshell-option-stub'.
16523
927c53e7
GM
16524 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16525
9d0da923
JB
165262011-03-22 Juanma Barranquero <lekktu@gmail.com>
16527
16528 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16529 keymap variable in `with-no-warnings' to avoid a warning when the
16530 keymap has been already `defconst'ed.
16531
4b978a67
LL
165322011-03-22 Leo Liu <sdl.web@gmail.com>
16533
16534 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16535 encode all chars in abbrevs; otherwise use emacs-mule or
16536 utf-8-emacs. (Bug#8308)
16537
5fd62452
JB
165382011-03-22 Juanma Barranquero <lekktu@gmail.com>
16539
0b1596c6
JB
16540 * simple.el (backward-delete-char-untabify):
16541 Avoid warning about using `delete-backward-char'.
16542
5fd62452
JB
16543 * image.el (image-type-file-name-regexps): Make it variable.
16544 `imagemagick-register-types' modifies it, and the user may want
16545 to add new extensions for known image types.
16546 (imagemagick-register-types): Throw error if not using ImageMagick.
16547
0b4e93f1
LL
165482011-03-22 Leo Liu <sdl.web@gmail.com>
16549
16550 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16551 located before rcirc-prompt-end-marker.
16552 (rcirc-complete): Error if point is not after rcirc prompt.
16553 Handle the case when table is nil.
9882e214 16554 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16555
fccee4ab
CY
165562011-03-22 Chong Yidong <cyd@stupidchicken.com>
16557
16558 * custom.el (custom--inhibit-theme-enable): Make it affect only
16559 custom-theme-set-variables and custom-theme-set-faces.
16560 (provide-theme): Ignore custom--inhibit-theme-enable.
16561 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16562 (custom-enabling-themes): Delete variable.
d86d2721
SM
16563 (enable-theme): Accept only loaded themes as arguments.
16564 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16565 (custom-enabled-themes): Forbid themes from setting this.
16566 Eliminate use of custom-enabling-themes.
16567 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16568
af896da6
LL
165692011-03-21 Leo Liu <sdl.web@gmail.com>
16570
16571 * ido.el (ido-read-internal): Add ido-selected to history instead
16572 of user input.
16573
78f64af0
SM
165742011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16575
16576 * subr.el (deferred-action-list, deferred-action-function):
16577 Mark obsolete.
16578
b16ac1ec
LL
165792011-03-21 Leo Liu <sdl.web@gmail.com>
16580
810f7698
LL
16581 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16582 change on 2011-02-13 (bug#8309).
16583
b16ac1ec
LL
16584 * minibuffer.el (read-file-name-function): Change default value.
16585 (read-file-name--defaults): Rename from read-file-name-defaults.
16586 (read-file-name-default): Rename from read-file-name.
16587 (read-file-name): Call read-file-name-function.
16588
4e05e67e
GM
165892011-03-21 Glenn Morris <rgm@gnu.org>
16590
16591 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16592 Doc fixes.
16593
4359915b
CY
165942011-03-21 Chong Yidong <cyd@stupidchicken.com>
16595
16596 * cus-theme.el: Add missing provide statement.
16597 (customize-create-theme): Extract theme value correctly.
16598 (custom-theme-visit-theme): Autoload.
16599 (customize-create-theme): Prompt before inserting default faces.
16600
1fe275ee
JB
166012011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16602
16603 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16604 units and musical notes.
16605
cd394be1 166062011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16607
16608 * ido.el (ido-read-internal): Use completing-read-default.
16609 (ido-completing-read): Fix compatibility with completing-read.
16610
7d476bde
CO
166112011-03-20 Christian Ohler <ohler@gnu.org>
16612
16613 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16614 (ert-delete-all-tests): Use `called-interactively-p' rather than
16615 `interactive-p'.
16616 (ert--make-xrefs-region): Respect END.
16617
fe0fb33e
CY
166182011-03-19 Chong Yidong <cyd@stupidchicken.com>
16619
ff854b0b
CY
16620 * dired-aux.el (dired-create-directory): Signal an error if the
16621 directory already exists (Bug#8246).
16622
fe0fb33e
CY
16623 * facemenu.el (list-colors-display): Call list-faces-display
16624 inside with-help-window.
16625 (list-colors-print): Use display property to align the final
16626 column, instead of checking window-width.
16627
576bce32
EZ
166282011-03-19 Eli Zaretskii <eliz@gnu.org>
16629
4d61f28d 16630 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16631 windows-nt systems.
16632 (emerge-protect-metachars): Quote correctly for ms-dos and
16633 windows-nt systems.
16634
89c41d68 166352011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16636
16637 * info.el (info-initialize): Replace all uses of `:' with
16638 path-separator for compatibility with non-Unix systems.
16639 Cache quoting of path-separator. (Bug#8258)
16640
b14e3e21 166412011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16642
16643 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16644 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16645 (mouse-avoidance-mode): Fix typos in docstrings.
16646
4525ce3e
CY
166472011-03-19 Chong Yidong <cyd@stupidchicken.com>
16648
16649 * startup.el (package-subdirectory-regexp): Move from package.el.
16650 Omit \\` and \\', and let callers add them.
16651
16652 * emacs-lisp/package.el (package-strip-version)
16653 (package-load-all-descriptors): Add \\` and \\' to
16654 package-subdirectory-regexp before using it.
16655 (package-untar-buffer): New arg DIR; ensure that file untars only
16656 into this expected directory. Remove superfluous delete-region.
16657 (package-unpack): Caller changed.
16658 (package-tar-file-info): Use package-subdirectory-regexp.
16659
a904a09a 166602011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16661
a904a09a
SM
16662 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16663 diff-mode-shared-map (bug#8284).
16664 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16665
166662011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16667
16668 * calendar/time-date.el (format-seconds): Use assoc instead of
16669 assoc-string, since assoc-string doesn't exist in XEmacs.
16670
171fc304
JB
166712011-03-17 Juanma Barranquero <lekktu@gmail.com>
16672
16673 * custom.el (custom-known-themes): Reflow docstring.
16674 (custom-theme-load-path): Fix typo in docstring.
16675 (load-theme): Fix typo in error message.
16676 (custom-available-themes, custom-variable-theme-value):
16677 Use `let', not `let*'.
16678
d71990a1
JB
166792011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16680
16681 * calc/README: Mention inclusion of musical notes.
16682
16683 * calc/calc-units.el (calc-lu-quant): Rename from
16684 `calc-logunits-quantity'.
16685 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16686 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16687 (calc-db): Rename from `calc-dblevel'.
16688 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16689 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16690 (calc-np): Rename from `calc-nplevel'.
16691 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16692 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16693 (calc-lu-plus): Rename from `calc-logunits-add'.
16694 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16695 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16696 (calc-lu-minus): Rename from `calc-logunits-sub'.
16697 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16698 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16699 (calc-lu-times): Rename from `calc-logunits-mul'.
16700 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16701 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16702 (calc-lu-divide): Rename from `calc-logunits-div'.
16703 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16704 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16705
16706 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16707 functions being autoloaded.
16708
16709 * calc/calc.el (calc-lu-power-reference): Rename from
16710 `calc-logunits-power-reference'.
16711 (calc-lu-field-reference): Rename from
16712 `calc-logunits-field-reference'.
16713
7a71b18d
GM
16714 * calc/calc-help.el (calc-l-prefix-help):
16715 Mention musical note functions.
d71990a1 16716
40c2934b
SM
167172011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16718
16719 * minibuffer.el (completion-all-sorted-completions):
16720 Use :completion-cycle-penalty text property if present.
16721
b0911414
KM
167222011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16723
16724 * allout.el (allout-yank-processing): Adjust for new rebulleting
16725 regime so bullet being yanked is used without prompting the user
16726 for a choice.
16727
8a05b668
JB
167282011-03-16 Juanma Barranquero <lekktu@gmail.com>
16729
16730 * startup.el (command-line): Warn the user that _emacs is deprecated.
16731
5ba5fb81
JB
167322011-03-16 Juanma Barranquero <lekktu@gmail.com>
16733
16734 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16735 (delphi-verbose, delphi-comment-face, delphi-string-face)
16736 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16737 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16738 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16739 (delphi-new-comment-line, delphi-font-lock-defaults)
16740 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16741 Fix typos in docstrings.
16742
2dab465b
KM
167432011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16744
5ba5fb81 16745 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16746 Invert the roles of character and string values for INSTEAD, so a
16747 string is used for the more common case of a defaulting prompt.
16748
0adf5618
SM
167492011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16750
16751 * progmodes/ruby-mode.el (ruby-backward-sexp):
16752 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16753 * play/gamegrid.el (gamegrid-make-face):
16754 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16755 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16756 * notifications.el (notifications-notify):
16757 * net/xesam.el (xesam-search-engines):
16758 * net/quickurl.el (quickurl-list-insert):
16759 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16760
d72700e5
CY
167612011-03-15 Chong Yidong <cyd@stupidchicken.com>
16762
16763 * startup.el (command-line): Update package subdirectory regexp.
16764
49c5410a
SM
167652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16766
c6eee9aa
SM
16767 * allout.el (allout-abbreviate-flattened-numbering)
16768 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16769
49c5410a
SM
16770 * subr.el (read-char-choice): Only show the cursor after the prompt,
16771 not after the answer.
16772
047b2bb9
KR
167732011-03-15 Kevin Ryde <user42@zip.com.au>
16774
16775 * help-fns.el (variable-at-point): Skip leading quotes, if any
16776 (bug#8253).
16777
0a57d256
SM
167782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16779
16780 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16781 warning message.
16782
77c992bc
MA
167832011-03-14 Michael Albinus <michael.albinus@gmx.de>
16784
16785 * shell.el (shell): When called interactively, offer to change the
16786 shell file name on remote hosts.
16787
eebc475d
TZ
167882011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16789
16790 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16791 integration for LDAP parameters. The host, base, user or binddn,
16792 and secret tokens can be specified in a netrc file, for instance.
16793 This is optional because an `auth-source' parameter must be
16794 specified in the search attributes.
16795
9d05d1ba
JB
167962011-03-13 Juanma Barranquero <lekktu@gmail.com>
16797
16798 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16799
09d9db2c
GM
168002011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16801
16802 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16803 into declaration. Remove redundant and harmful binding.
16804
168052011-03-12 Eli Zaretskii <eliz@gnu.org>
16806
16807 * files.el (file-ownership-preserved-p): Pass `integer' as an
16808 explicit 2nd argument to `file-attributes'. If the file's owner
16809 is the Administrators group on Windows, and the current user is
16810 Administrator, consider that a match.
16811
16812 * server.el (server-ensure-safe-dir): Consider server directory
16813 safe on MS-Windows if its owner is the Administrators group while
16814 the current Emacs user is Administrator. Use `=' to compare
16815 numerical UIDs, since they could be integers or floats.
16816
219bd536
JB
168172011-03-12 Juanma Barranquero <lekktu@gmail.com>
16818
16819 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16820
f3afd36b
MA
168212011-03-12 Michael Albinus <michael.albinus@gmx.de>
16822
16823 Sync with Tramp 2.2.1.
16824
16825 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16826
16827 * net/trampver.el: Update release number.
16828
3aaaa6f1
SM
168292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16830
94642599
SM
16831 * progmodes/compile.el (compilation--previous-directory): Fix up
16832 various nil/dead-marker mismatches (bug#8014).
16833 (compilation-directory-properties, compilation-error-properties):
16834 Don't call it at a position past the one we're about to change.
16835
3aaaa6f1
SM
16836 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16837 Disable obsolescence warnings in the file that declares it.
16838
14239447
KM
168392011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16840
099c39a4
JB
16841 * allout-widgets.el (allout-widgets-tally):
16842 Initialize allout-widgets-tally as a hash table rather than nil to
16843 prevent mode-line redisplay warnings. Also, clarify the module
16844 description and fix a comment typo.
14239447 16845
135e287c
JB
168462011-03-11 Juanma Barranquero <lekktu@gmail.com>
16847
16848 * help-fns.el (describe-variable): Don't complete keywords.
16849 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16850
ffbf300e
CY
168512011-03-10 Chong Yidong <cyd@stupidchicken.com>
16852
ba08b241
CY
16853 * emacs-lisp/package.el (package-version-join): Impose a standard
16854 string representation for pre/alpha/beta version lists.
16855 (package-unpack-single): Standardize the directory name by passing
16856 it through package-version-join.
16857 (package-strip-rcs-id): Accept any version string that does not
16858 signal an error in version-to-list.
ffbf300e 16859
f346fd6b
MA
168602011-03-10 Michael Albinus <michael.albinus@gmx.de>
16861
16862 * simple.el (delete-trailing-whitespace): Return nil for the
16863 benefit of `write-file-functions'.
16864
ccb55d27
GM
168652011-03-10 Glenn Morris <rgm@gnu.org>
16866
5ceaac0c
GM
16867 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16868
02da65ff
GM
16869 * vc/vc-git.el (vc-git-program): New option.
16870 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16871 (vc-git--call): Use it.
16872
b2f603cc
GM
16873 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16874
5772caab
GM
16875 * cus-edit.el (Custom-newline): If no button at point, look
16876 for a subgroup button at start-of-line. (Bug#2298)
16877
ccb55d27
GM
16878 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16879
ec6ecaed
JD
168802011-03-10 Julien Danjou <julien@danjou.info>
16881
16882 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16883 `cursor-type' is nil.
16884
9d5aa01d
JB
168852011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16886
16887 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16888
b6a5875b
KM
168892011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16890
7a71b18d 16891 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16892 preserves the existing header prefix, rebulleting it if necessary,
16893 rather than replacing it. This is necessary for proper operation
16894 of cooperative addons like allout-widgets.
1154d12e
JB
16895 (allout-make-topic-prefix, allout-rebullet-heading):
16896 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16897 value as alternate bullet to be used, instead of prompting the user
16898 for a bullet character.
b6a5875b 16899
ee545c35
MA
169002011-03-09 Michael Albinus <michael.albinus@gmx.de>
16901
d86d2721
SM
16902 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16903 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16904 `tramp-default-port'.
16905
c47971d7
DD
169062011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16907
16908 * net/rcirc.el (rcirc-handler-001): Remove useless
16909 with-rcirc-process-buffer.
16910 (rcirc-check-auth-status): Swap arguments to string-match.
16911
13522cb4
GM
169122011-03-09 Glenn Morris <rgm@gnu.org>
16913
0be6f4f1
GM
16914 * shell.el (shell-mode):
16915 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16916
13522cb4
GM
16917 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16918 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16919
515de2e3
CY
169202011-03-08 Chong Yidong <cyd@stupidchicken.com>
16921
16922 * emacs-lisp/package.el (package-refresh-contents)
16923 (package-menu-execute): Use condition-case-no-debug.
16924
b511b994
MA
169252011-03-08 Michael Albinus <michael.albinus@gmx.de>
16926
16927 * simple.el (shell-command-to-string): Use `process-file'.
16928
16929 * emacs-lisp/package.el (package-tar-file-info): Handle also
16930 remote files.
16931
d86d2721
SM
16932 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16933 Use `equal' for upload base check.
b511b994 16934
25bbfb31
AM
169352011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16936
16937 * textmodes/texinfo.el (texinfo-environments):
16938 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16939
be996521
GM
169402011-03-08 Glenn Morris <rgm@gnu.org>
16941
e9c8529f
GM
16942 * cus-start.el (cursor-in-non-selected-windows):
16943 Fix :set quoting oddness. (Bug#8192)
16944
be996521
GM
16945 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16946 in some setf expressions. (Bug#2159)
16947
2bb5649e
CY
169482011-03-08 Chong Yidong <cyd@stupidchicken.com>
16949
16950 * custom.el (custom-available-themes): Return themes in
16951 alphabetical order.
16952
33383987 16953See ChangeLog.15 for earlier changes.
e3d51b27
MR
16954
16955;; Local Variables:
16956;; coding: utf-8
e3d51b27
MR
16957;; End:
16958
acaf905b 16959 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16960
16961 This file is part of GNU Emacs.
16962
16963 GNU Emacs is free software: you can redistribute it and/or modify
16964 it under the terms of the GNU General Public License as published by
16965 the Free Software Foundation, either version 3 of the License, or
16966 (at your option) any later version.
16967
16968 GNU Emacs is distributed in the hope that it will be useful,
16969 but WITHOUT ANY WARRANTY; without even the implied warranty of
16970 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16971 GNU General Public License for more details.
16972
16973 You should have received a copy of the GNU General Public License
16974 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.