Rename OS_WINDOWS_95 to OS_9X.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
72b255c7
PE
12012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2
3 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4 * emulation/viper-init.el (viper-deactivate-input-method-action):
5 Rename from viper-inactivate-input-method-action.
6 (viper-deactivate-input-method):
7 Rename from viper-inactivate-input-method.
8 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9 * international/mule-cmds.el (deactivate-input-method):
10 Rename from inactivate-input-method.
11 Also run input-method-deactivate-hook.
12 (deactivate-current-input-method-function):
13 Rename from inactivate-current-input-method-function.
14 (input-method-deactivate-hook): New hook.
15 (input-method-inactivate-hook): Mark obsolete.
16 * international/quail.el (quail-activate):
17 Also run quail-deactivate-hook.
18 (quail-deactivate): Rename from quail-inactivate.
19 * international/robin.el (robin-activate):
20 Also run robin-deactivate-hook.
21 (robin-deactivate): Rename from robin-inactivate.
22
2549c068
CY
232012-07-29 Chong Yidong <cyd@gnu.org>
24
25 * simple.el (indicate-copied-region): New function.
26 (kill-ring-save): Split off from here.
27
28 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
29 (kill-rectangle): Set deactivate-mark to t on read-only error.
30
31 * register.el (copy-to-register, copy-rectangle-to-register):
32 Deactivate the mark, and use indicate-copied-region (Bug#10056).
33 (append-to-register, prepend-to-register): Call
34
17711ed9
JL
352012-07-29 Juri Linkov <juri@jurta.org>
36
37 * simple.el (async-shell-command-buffer): New defcustom.
38 (shell-command): Use it. (Bug#4719)
39
01bd1b0d
EZ
402012-07-28 Eli Zaretskii <eliz@gnu.org>
41
42 * international/mule-cmds.el (set-locale-environment): In a
43 console session on MS-Windows, set up keyboard and terminal
44 encoding from the OEM codepage, not the ANSI codepage.
45 (Bug#12055)
46
a55739d3
CY
472012-07-28 Chong Yidong <cyd@gnu.org>
48
49 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
50 gdb-get-location.
51
9a0f8f2e
LL
522012-07-25 Leo Liu <sdl.web@gmail.com>
53
54 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
55 the alist (bug#12029).
56
20329d73
EZ
572012-07-28 Eli Zaretskii <eliz@gnu.org>
58
59 * makefile.w32-in (custom-deps, finder-data, updates, compile)
60 (compile-always, compile-first)
61 ($(lisp)/calendar/cal-loaddefs.el)
62 ($(lisp)/calendar/diary-loaddefs.el)
63 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
64 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
65 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
66 instead of on update-subdirs.
67 (bootstrap-clean): Delete $(lisp)/subdirs.el.
68
345a2258
CY
692012-07-28 Chong Yidong <cyd@gnu.org>
70
1eee6341
CY
71 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
72 directory if vc-deduce-backend returns nil (Bug#7350).
73
345a2258
CY
74 * simple.el (delete-trailing-lines): New option.
75 (delete-trailing-whitespace): Obey it (Bug#11879).
76
049a0936
DE
772012-07-28 David Engster <deng@randomsample.de>
78
79 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
80 Explanation of new 'symbol-qnames feature in doc-strings.
81 (xml-maybe-do-ns): Return expanded names as plain symbols if
82 'symbol-qnames was provided in XML-NS argument (Bug#11916).
83 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
84
aa81af71
FEG
852012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
86
87 Consistent completion in inferior python with emacs -nw.
88 * progmodes/python.el (inferior-python-mode): replace "<tab>"
89 binding in inferior-python-mode-map with "\t".
90 (python-shell-completion-complete-at-point)
91 (python-completion-complete-at-point): Remove interactive spec.
92
e827b1eb
JB
932012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
94
95 * calc/calccomp.el (math-compose-expr): Undo previous change.
96
a90dfb95
FEG
972012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
98
99 * progmodes/python.el (python-mode-map): Added keybinding for
100 run-python.
101 (python-shell-make-comint): Fix pop-to-buffer call.
102 (run-python): Autoload. New arg SHOW.
103 (python-shell-get-or-create-process): Do not pop python process
104 buffer.
105
32770973 1062012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
107
108 * notifications.el (notifications-on-action-signal)
109 (notifications-on-closed-signal): Use also the bus address for the map.
110 (notifications-notify, notifications-close-notification)
111 (notifications-get-capabilities): Add optional argument BUS.
112
86332df2
TH
1132012-07-27 Tassilo Horn <tsdh@gnu.org>
114
115 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
116 support for the lstlisting and minted environments, and for the
117 ctable macro.
118 * textmodes/reftex.el (reftex-compile-variables): Also recognize
119 labels written in keyvals syntax.
120
ca1302a4
JB
1212012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
122
123 * calc/calccomp.el (math-compose-expr): Use parentheses when
124 there is a product in the denominator of a fraction.
125
f8b91036
EZ
1262012-07-26 Eli Zaretskii <eliz@gnu.org>
127
128 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
129 ($(lisp)/calendar/diary-loaddefs.el)
130 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
131 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
132 failures in parallel bootstrap because subdirs.el is being
133 rewritten while the autoload files are built at the same time,
134 which needs to load subdirs.el.
135
c8e5a42c
MR
1362012-07-26 Martin Rudalics <rudalics@gmx.at>
137
138 * mouse.el (popup-menu): Fix doc-string and re-indent code.
139 (mouse-drag-line): Don't exit tracking when a switch-frame or
140 switch-window event occurs (Bug#12006).
141
670d85ea
SM
1422012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * mouse.el (popup-menu): Fix last change.
145
7abaf5cc
SM
1462012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 Autoload from Lisp with more care. Follow aliases when looking for
149 function properties.
150 * subr.el (autoloadp): New function.
151 (symbol-file): Use it.
152 (function-get): New function.
153 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
154 autoload-do-load.
155 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
156 (lisp-indent-function):
157 * emacs-lisp/gv.el (gv-get):
158 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
159 * emacs-lisp/byte-opt.el (byte-optimize-form):
160 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
161 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
162 Use function-get.
163 * emacs-lisp/cl.el: Don't propagate function properties any more.
164
165 * speedbar.el (speedbar-add-localized-speedbar-support):
166 * emacs-lisp/disass.el (disassemble-internal):
167 * desktop.el (desktop-load-file):
168 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
169 (describe-function-1):
170 * emacs-lisp/find-func.el (find-function-noselect):
171 * emacs-lisp/elp.el (elp-instrument-function):
172 * emacs-lisp/advice.el (ad-has-proper-definition):
173 * apropos.el (apropos-safe-documentation, apropos-macrop):
174 * emacs-lisp/debug.el (debug-on-entry):
175 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
176 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
177 * calc/calc.el (name): Use autoloadp & autoload-do-load.
178
b1364986
AA
1792012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
180
181 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
182 function, not an obsolete variable (Bug#12046).
183
67ada220
AS
1842012-07-25 Andreas Schwab <schwab@linux-m68k.org>
185
186 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
187
f08088e3
CS
1882012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
189
190 * emacs-lisp/pp.el (pp-display-expression): Select old selected
191 window only if it is still live (Bug#12034).
192
8137e7b3
MR
1932012-07-25 Martin Rudalics <rudalics@gmx.at>
194
195 * subr.el (redirect-frame-focus): Add advertised calling
196 convention (Bug#12030).
197
09ae5da1
PE
1982012-07-25 Paul Eggert <eggert@cs.ucla.edu>
199
200 Prefer typical American spelling for "acknowledgment".
201 * vc/add-log.el (change-log-acknowledgment): Rename from
202 change-log-acknowledgement, with an alias for the old name.
203
3cc5a3a8
JB
2042012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
205
206 * calc-alg.el (math-simplify-divide): Don't cross multiply
207 in an equation when the lhs is a variable.
208
b7af7f62
JD
2092012-07-24 Julien Danjou <julien@danjou.info>
210
211 * net/netrc.el (netrc-find-service-number, netrc-store-data):
212 Remove, unused.
213
ec1b09b1
EZ
2142012-07-23 Eli Zaretskii <eliz@gnu.org>
215
216 * startup.el (command-line): Don't display an empty user name in
217 the error message about non-existent home directory, when
218 init-file-user was set to an empty string. See
219 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
220 for the details and context.
221
b525fd8a
VB
2222012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
223
224 * ses.el (ses-cell-formula-aset): New macro.
225 (ses-cell-references-aset): New macro.
226 (ses-cell-p): New function.
227 (ses-rename-cell): Do no longer rely on complex operations like
228 ses-cell-set-formula or ses-set-cell to change the cell and handle
229 the undo at the same time, but rather use lower level new macros
230 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
231 the undo directly. Refresh the mode line.
232
2c73e345
LL
2332012-07-21 Leo Liu <sdl.web@gmail.com>
234
670d85ea
SM
235 * progmodes/cc-cmds.el (c-defun-name):
236 Use match-string-no-properties instead for consistency.
2c73e345 237
542dfbde
LL
2382012-07-20 Leo Liu <sdl.web@gmail.com>
239
3646bcd6
LL
240 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
241 (Bug#7879)
242
542dfbde
LL
243 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
244
25721031
CY
2452012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
246
247 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
248 * progmodes/bug-reference.el, misearch.el: Provide themselves
249 (bug#11915).
250
251 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
252 of narrowed buffer (bug#11966).
253
316e68a7
VB
2542012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
255
256 * ses.el (ses-rename-cell): Set new name also in reference list of
257 cells of which the renamed cell depends.
258
bbf0e7d9
MY
2592012-07-20 Masatake YAMATO <yamato@redhat.com>
260
261 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
262 to check whether menu-bar is shown or not. If not shown,
263 show the menu-bar as a popup menu instead of using tmm.
264 * mouse.el (popup-menu): Accept `point' as `position' argument.
265
c28662a8
DG
2662012-07-20 Dmitry Gutov <dgutov@yandex.ru>
267
268 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
269 up inside string symbol literal (bug#11923).
270
87ab808f
EZ
2712012-07-20 Eli Zaretskii <eliz@gnu.org>
272
273 * startup.el (fancy-startup-text): Read the whole tutorial, not
274 just its first 256 bytes. Prevents gibberish in display of the
275 tutorial title.
276
89dea803
DA
2772012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
278
279 Drop idle buffer compaction due to an absence of the
280 proved efficiency.
281 * compact.el: Remove.
282
8a4e6db8
SS
2832012-07-19 Sam Steingold <sds@gnu.org>
284
285 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
286 vc-bzr-pull & vc-bzr-merge-branch.
287 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
288 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
289 for consistency with compilation-error-regexp-alist.
290 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
291 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
292 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
293 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
294
5db81e33
SM
2952012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * emacs-lisp/chart.el: Use lexical-binding.
298 (chart-emacs-storage): Don't hardcode the list of entries.
299
5b835e1d
DA
3002012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
301
302 Next round of tweaks caused by Fgarbage_collect changes.
303 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
304
9cd47b72
DA
3052012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
306
307 Compact buffers when idle.
308 * compact.el: New file.
309
1d6fc0df
SM
3102012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * subr.el (eventp): Presume that if it looks vaguely like an event,
313 it's an event (bug#10190).
314
1d29cc7d
FEG
3152012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
316
317 Enhancements to ppss related code (thanks Stefan).
318 * progmodes/python.el (python-indent-context)
319 (python-indent-calculate-indentation, python-indent-dedent-line)
320 (python-indent-electric-colon, python-nav-forward-block)
321 (python-mode-abbrev-table)
1d6fc0df 322 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
323 for ppss context.
324 (python-info-continuation-line-p): Cleanup.
325 (python-info-ppss-context): Do not catch 'quote.
326 (python-info-ppss-context-type)
327 (python-info-ppss-comment-or-string-p): Simplify.
328
d583cbe6
FEG
3292012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
330
331 * progmodes/python.el: Enhancements to eldoc support.
332 (python-info-current-symbol): New function.
333 (python-eldoc-at-point): Use python-info-current-symbol.
334 (python-info-current-defun): Fix cornercase on first defun scan.
335 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
336 and signal error when no inferior python process is available.
337
eceb6feb
DG
3382012-07-18 Dmitry Gutov <dgutov@yandex.ru>
339
340 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
341 assume it's always t.
342 (vc-git-registered): Remove caching, the function is only called
343 once.
344 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
345
4c8ff0fe
CY
3462012-07-18 Chong Yidong <cyd@gnu.org>
347
19fb7186
CY
348 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
349
9587c688
CY
350 * simple.el (count-words): Report on narrowing (Bug#9959).
351
0fe776a1
CY
352 * bindings.el: Bind M-= to count-words.
353
4c8ff0fe
CY
354 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
355
7f5331cc
MY
3562012-07-18 Masatake YAMATO <yamato@redhat.com>
357
358 * progmodes/sh-script.el (sh-imenu-generic-expression):
359 Capture a function with `function' keyword and without parentheses
360 like "function FOO" (bug#11856).
361
2dc2a609
TH
3622012-07-18 Tassilo Horn <tassilo@member.fsf.org>
363
364 * window.el (split-window-sensibly): Make WINDOW argument
365 optional.
366
439f7677
CY
3672012-07-18 Chong Yidong <cyd@gnu.org>
368
9aeb25a6
CY
369 * subr.el (keyboard-translate): Doc fix (Bug#7261).
370
439f7677
CY
371 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
372 and make C-x 8 RET exit isearch (Bug#11439).
373
374 * international/iso-transl.el: Move isearch-mode-map key
375 definitions to isearch.el.
376
12999ea8
SM
3772012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
380 (eieio-defclass): Use gv-define-setter when possible.
381
3ab6e069
DA
3822012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
383
384 Reflect recent changes in Fgarbage_collect.
385 * emacs-lisp/chart.el (chart-emacs-storage): Change to
386 reflect new format of data returned by Fgarbage_collect.
387
0a60bc10
FEG
3882012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
389
390 New utility functions + python-info-ppss-context fix (Bug#11910).
391 * progmodes/python.el (python-info-beginning-of-block-statement-p)
392 (python-info-ppss-comment-or-string-p): New functions.
393 (python-info-ppss-context): Small fix for string check.
394
6dafa0d5
JL
3952012-07-17 Juri Linkov <juri@jurta.org>
396
397 * dired-aux.el (dired-do-async-shell-command): Doc fix.
398 (dired-do-async-shell-command): Don't add `*' at the end of the
399 command (Bug#11815).
400 (dired-do-shell-command): Doc fix.
401 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
402 Join the individual commands using either "&" or ";" as the
403 separator depending on the values of these trailing characters.
404 At the end re-add the trailing "&". (Bug#10598)
405
406 * simple.el (async-shell-command): Sync the interactive spec with
407 `shell-command'. Doc fix.
408 (shell-command): Doc fix.
409
b19dd9d1
JL
4102012-07-17 Juri Linkov <juri@jurta.org>
411
412 * descr-text.el (describe-char): Fix format args. (Bug#10129)
413
bcdc27d7 4142012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 415
bcdc27d7 416 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
417 * progmodes/python.el (python-nav-beginning-of-statement):
418 Rename from python-nav-statement-start.
bcdc27d7
FEG
419 (python-nav-end-of-statement): Rename from
420 python-nav-statement-end.
421 (python-nav-beginning-of-block): Rename from
422 python-nav-block-start.
423 (python-nav-end-of-block): Rename from python-nav-block-end.
424
191da00e
FEG
4252012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
426
7f5331cc
MY
427 * progmodes/python.el (python-shell-send-string-no-output):
428 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
429 future interactions (Bug#11868).
430
4dc7c8d5 4312012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 432
88ecaf8f
SM
433 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
434
ef501ef0
SM
435 * emacs-lisp/elint.el (elint-find-args-in-code):
436 Use help-function-arglist, so as to handle lexical byte-code.
437
aa7aaf8f
SM
438 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
439 change (bug#11826).
440
45fd731c
SM
4412012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
442
2143fa32
SM
443 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
444 Avoid spuriously marking the buffer as modified because of c-is-sws.
445
efc26dbe
SM
446 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
447 as not-a-comment (bug#11946).
448
f5695c9a
SM
449 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
450 for uninterned vars.
451
452 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
453 Use read-event since we don't really want to read chars but bytes.
454
45fd731c
SM
455 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
456 $$..$$ but also $..$ using regexps (bug#11953).
457 Use tex-verbatim for \url and \path.
458 (tex-font-lock-keywords): Define as defconst like the others.
459 (tex-common-initialization): Don't use font-lock-syntax-table any more.
460
ddfc8813
RK
4612012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
462
463 * international/mule-cmds.el (ucs-insert): Make it an obsolete
464 alias for insert-char.
465
758e556a
FEG
4662012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
467
468 * progmodes/python.el: Simplified imenu implementation.
469 (python-nav-jump-to-defun): Remove command.
470 (python-mode-map): Use `imenu' instead.
471 (python-nav-list-defun-positions-cache)
472 (python-imenu-include-defun-type, python-imenu-make-tree)
473 (python-imenu-subtree-root-label, python-imenu-index-alist):
474 Remove vars.
475 (python-nav-list-defun-positions, python-nav-read-defun)
476 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
477 (python-imenu-make-tree, python-imenu-create-index):
478 Remove functions.
758e556a
FEG
479 (python-mode): Update to interact with imenu by setting
480 `imenu-extract-index-name-function' only.
481
032d23ab
FEG
4822012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
483
484 * progmodes/python.el: Enhancements to navigation commands.
485 (python-nav-backward-sentence)
486 (python-nav-forward-sentence): Remove.
487 (python-nav-backward-statement, python-nav-forward-statement)
488 (python-nav-statement-start, python-nav-statement-end)
489 (python-nav-backward-block, python-nav-forward-block)
490 (python-nav-block-start, python-nav-block-end)
491 (python-nav-forward-sexp-function)
492 (python-info-current-line-comment-p)
493 (python-info-current-line-empty-p): New functions.
494 (python-indent-context): Use `python-nav-statement-start'.
495
01795a1b
MA
4962012-07-16 Michael Albinus <michael.albinus@gmx.de>
497
9328d9aa
MA
498 * eshell/em-ls.el (eshell/ls): Use `apply'.
499
500 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
501 multi-hops, instead of Tramp internals.
502
01795a1b
MA
503 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
504
505 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
506 when F1 and F2 are located on different hosts.
507
63408057
CY
5082012-07-14 Chong Yidong <cyd@gnu.org>
509
510 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
511 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
512 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
513 (xterm-mouse--read-event-sequence-1000)
514 (xterm-mouse--read-event-sequence-1006): New functions. For old
515 mouse protocol, handle M-mouse-X events correctly.
516 (xterm-mouse-event): New arg specifying mouse protocol.
517 (turn-on-xterm-mouse-tracking-on-terminal)
518 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
519 sequence to toggle extended coordinates on newer XTerms.
520 This appears to be harmless on terminals which do not support this.
63408057 521
cd276f6e
LL
5222012-07-14 Leo Liu <sdl.web@gmail.com>
523
28ca98ac
LL
524 Add fringe bitmap indicators for flymake. (Bug#11253)
525 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
526 (flymake-make-overlay): New arg BITMAP.
527 (flymake-error-bitmap, flymake-warning-bitmap)
528 (flymake-fringe-indicator-position): New user variables.
529
cd276f6e
LL
530 * fringe.el: New bitmap exclamation-mark.
531
04408072
JD
5322012-07-14 Jan Djärv <jan.h.d@swipnet.se>
533
534 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
535 also (Bug#7879).
536
b5cf7fc4
CY
5372012-07-14 Chong Yidong <cyd@gnu.org>
538
539 * electric.el (electric-pair-post-self-insert-function): Fix pair
540 insertion in empty-region case (Bug#11520).
541
be755c79
RT
5422012-07-14 Chong Yidong <cyd@gnu.org>
543
45fd731c
SM
544 * bindings.el: Consolidate ctl-x-r-map bindings.
545 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
546
547 * rect.el, register.el: Move bindings to bindings.el.
548
5492012-07-14 Reuben Thomas <rrt@sc3d.org>
550
551 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
552
7f5b3198
AS
5532012-07-13 Andreas Schwab <schwab@linux-m68k.org>
554
555 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
556
97662200
JB
5572012-07-13 Juanma Barranquero <lekktu@gmail.com>
558
80185fed
JB
559 * bindings.el (top): Use `mapc' instead of `mapcar'.
560
97662200
JB
561 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
562
2bb1ae55
MA
5632012-07-13 Michael Albinus <michael.albinus@gmx.de>
564
565 * progmodes/sql.el (sql-comint): Suppress the check for program on
566 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
567 (Bug#11908)
568
dea31bd3
CY
5692012-07-13 Chong Yidong <cyd@gnu.org>
570
571 * bindings.el: Assign a non-nil permanent-local property to
572 per-buffer variables which lack a default value (Bug#11930).
573
574 * help-fns.el (describe-variable): In the "automatically becomes
575 local" notice, take note of permanent-local variables.
576
b68b3337
CY
5772012-07-13 Chong Yidong <cyd@gnu.org>
578
579 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
580 to allow printing the message when called from Lisp.
581
582 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
583 Remove toggle-read-only.
584
585 * bs.el (bs-toggle-readonly):
45fd731c
SM
586 * buff-menu.el (Buffer-menu-toggle-read-only):
587 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
588
589 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
590 Remove with-no-warnings around toggle-read-only.
591 (ffap-read-only, ffap-read-only-other-window)
592 (ffap-read-only-other-frame): Callers changed.
593
594 * help-mode.el: Don't require view package.
595 (help-mode-finish): Set buffer-read-only instead of calling
596 toggle-read-only.
597
598 * bindings.el (mode-line-toggle-read-only):
599 * dired.el (dired-toggle-read-only):
600 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
601 with non-nil second arg.
602
603 * emacs-lisp/eieio-custom.el (eieio-customize-object):
604 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
605 directly.
606
56bc1586
EZ
6072012-07-12 Eli Zaretskii <eliz@gnu.org>
608
609 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
610 not incf.
611
a464a6c7
SM
6122012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 More CL cleanups and reduction of use of cl.el.
615 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
616 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
617 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
618 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
619 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
620 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
621 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
622 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
623 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
624 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
625 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
626 * eshell/em-cmpl.el, eshell/em-banner.el:
627 * calendar/parse-time.el: Use cl-lib.
628 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
629 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
630 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
631 * term/ns-win.el, term.el, shell.el, ps-samp.el:
632 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
633 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
634 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
635 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
636 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
637 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
638 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
639 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
640 `lambda' rather than with `quote'.
641 (eshell-do-opt): Adjust accordingly.
642 (eshell-process-option): Simplify.
643 * eshell/esh-var.el:
644 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
645 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
646 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
647 to `pcase--dontcare'.
648 * emacs-lisp/cl.el (labels): Mark obsolete.
649 (cl--letf, letf): Move to cl-lib.
650 (cl--letf*, letf*): Remove.
651 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
652 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
653 (cl-progv): Rewrite.
654 (cl--letf, cl-letf): Move from cl.el.
655 (cl-letf*): New macro.
656 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
657
7ad4afe1
MA
6582012-07-11 Michael Albinus <michael.albinus@gmx.de>
659
660 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
661
9af57756
CY
6622012-07-11 Chong Yidong <cyd@gnu.org>
663
664 * vc/log-edit.el (log-edit-vc-backend): New variable.
665 (log-edit): Doc fix.
666
667 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
668 argument of log-edit to set up all local variables.
669 (vc-start-logentry): New optional arg specifying VC backend.
670
671 * vc/vc.el (vc-checkin): Use it.
672 (vc-deduce-fileset): Handle Log Edit buffers.
673 (vc-diff): Make first argument optional too.
674
675 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
676
8477cc7a
MA
6772012-07-10 Michael Albinus <michael.albinus@gmx.de>
678
679 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
680 command, just in case. The function is not needed anymore.
681 (eshell-external-command): Do not call `eshell-remote-command'.
682
19faa8e8
SM
6832012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
684
f58e0fd5
SM
685 Reduce use of (require 'cl).
686 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
687 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
688 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
689 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
690 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
691 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
692 * battery.el, avoid.el, abbrev.el: Use cl-lib.
693 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
694 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
695 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
696 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
697 * calculator.el, autorevert.el, apropos.el: Don't require CL.
698 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
699 (byte-compile-unfold-bcf, byte-compile-check-variable):
700 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
701 (byte-compile-nilconstp):
702 * emacs-lisp/autoload.el (make-autoload): Use pcase.
703 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
704
2519d43a
SM
705 * emacs-lisp/gv.el (cond): Make it a valid place.
706 (if): Simplify slightly.
707
19faa8e8
SM
708 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
709 (pcase--self-quoting-p): New function.
710 (pcase--u1): Use it.
711
c4907a5e
GM
7122012-07-10 Glenn Morris <rgm@gnu.org>
713
714 * emacs-lisp/authors.el (authors-fixed-entries):
715 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
716
c4444d16
PE
7172012-07-09 Paul Eggert <eggert@cs.ucla.edu>
718
719 Rename configure.in to configure.ac (Bug#11603).
720 * emacs-lisp/authors.el (authors-canonical-file-name):
721 * progmodes/autoconf.el (autoconf-mode):
722 Prefer configure.ac to configure.in.
723
d75be97d
CY
7242012-07-08 Chong Yidong <cyd@gnu.org>
725
01ac65bd
CY
726 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
727 Implement the mouse-1-click-follows-link handling properly.
728
729 * info.el (Info-link-keymap): Use follow-link mechanism for
730 header-line links (Bug#374).
731
d75be97d
CY
732 * simple.el (deactivate-mark): Do not set the primary selection
733 if another program has acquired it (Bug#11772).
734
87a92845 7352012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
736
737 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
738 (woman-decode-region): Replace escaped-escapes without destroying
739 bold or underline (Bug#11552).
87a92845 740 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 741
621b9d6c
CY
7422012-07-07 Chong Yidong <cyd@gnu.org>
743
744 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
745 (interprogram-cut-function, interprogram-paste-function):
746 Mention that we typically mean the clipboard.
621b9d6c 747
133a11fc
GM
7482012-07-06 Glenn Morris <rgm@gnu.org>
749
0d27a45e
GM
750 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
751
133a11fc
GM
752 * files.el (toggle-read-only): Restrict message to interactive use.
753
07b151f1
MA
7542012-07-06 Michael Albinus <michael.albinus@gmx.de>
755
756 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
757
758 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
759
211b896b
GM
7602012-07-06 Glenn Morris <rgm@gnu.org>
761
50394322
GM
762 * Makefile.in (compile-one-process): Rename from "recompile".
763
211b896b
GM
764 * Makefile.in (bzr-update): "compile" is the same as "recompile
765 autoloads", but parallelizable, so use that instead.
766
4737eec9
DG
7672012-07-06 Dmitry Gutov <dgutov@yandex.ru>
768
769 * window.el (quit-window): Always restore window height when
8137e7b3 770 it's saved in quit-restore parameter (Bug#11810).
4737eec9 771
226c3633 7722012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
773
774 * simple.el (kill-whole-line): Doc tweak.
775
226c3633 7762012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
777
778 * files.el (file-relative-name): Compare file names
779 case-insensitively if on MS-Windows or MS-DOS, or if
780 read-file-name-completion-ignore-case is non-nil. Don't use
781 case-fold-search for this purpose. (Bug#11827)
782
4dc7c8d5
SM
7832012-07-17 Andreas Schwab <schwab@linux-m68k.org>
784
785 * calendar/cal-dst.el (calendar-current-time-zone):
786 Return calendar-current-time-zone-cache if non-nil.
787
7882012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 7892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 790
19faa8e8
SM
791 * calendar/cal-dst.el (calendar-current-time-zone):
792 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 793
60198fc9
GM
7942012-07-06 Glenn Morris <rgm@gnu.org>
795
796 * Makefile.in (cvs-update): Remove old alias.
797
957b3189
MA
7982012-07-05 Michael Albinus <michael.albinus@gmx.de>
799
800 Sync with Tramp 2.2.6-pre.
801
802 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
803 compatible declaration.
804
19faa8e8
SM
805 * net/tramp-cmds.el (tramp-append-tramp-buffers):
806 Protect `list-load-path-shadows' call.
957b3189
MA
807
808 * net/tramp-compat.el (top): Require packages, which aren't
809 autoloaded anymore for XEmacs. Protect call of
810 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
811 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
812 it hurts at least for SXEmacs.
813 (tramp-compat-temporary-file-directory): In XEmacs, there is no
814 standard-value for `temporary-file-directory'.
815
816 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
817 Redirect stderr to /dev/null.
818 (tramp-sh-handle-write-region): uid and gid can be floats.
819 Reported by Russell Sim <russell.sim@gmail.com>.
820 (tramp-sh-handle-vc-registered): Hide errors.
821 (tramp-vc-file-name-handler): Use dummy results for `process-file'
822 and `start-file-process'.
823 (tramp-maybe-open-connection): Check also whether `non-essential'
824 is bound.
825
566df3fc
CY
8262012-07-04 Chong Yidong <cyd@gnu.org>
827
828 * xml.el (xml--parse-buffer): Use xml-syntax-table.
829 (xml-parse-tag): Likewise, and avoid changing entity tables.
830 (xml-syntax-table): Define from scratch, making sure not to give
831 x2000 and other Unicode spaces whitespace syntax, since those are
832 not spaces in XML.
833 (xml-parse-fragment): Delete unused function.
834 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
835 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
836 (xml-entity-ref, xml-pe-reference-re)
837 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
838 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
839 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
840 (xml-entity-value-re): Use syntax references in regexps where
841 possible; no need to define inside a let-binding.
842 (xml-parse-dtd): Use xml-pe-reference-re.
843 (xml-entity-or-char-ref-re): New defconst.
844 (xml-parse-string, xml-substitute-special): Use it.
845
30eabd7a
SM
8462012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
847
0781098a
SM
848 * files.el (locate-dominating-file): Allow `name' to be a predicate.
849 (find-file--read-only): New function.
850 (find-file-read-only, find-file-read-only-other-window)
851 (find-file-read-only-other-frame): Use it.
852 (insert-file-contents-literally): Don't `fset'.
853 (get-free-disk-space): Use locate-dominating-file.
854
b5771c0d
SM
855 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
856 function is already compiled.
857
30eabd7a
SM
858 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
859
b4886f6e
MA
8602012-07-03 Michael Albinus <michael.albinus@gmx.de>
861
862 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
863 files on the same host.
864
b9d82339
AS
8652012-07-03 Andreas Schwab <schwab@linux-m68k.org>
866
867 * help-fns.el (describe-function-1): Only call
868 help-fns--autoloaded-p when we have a file name. (Bug#11848)
869
a76e6535
CY
8702012-07-03 Chong Yidong <cyd@gnu.org>
871
872 * xml.el: Protect parser against XML bombs.
873 (xml-entity-expansion-limit): New variable.
874 (xml-parse-string, xml-substitute-special): Use it.
875 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
876
b544fef2
GM
8772012-07-03 Glenn Morris <rgm@gnu.org>
878
879 * progmodes/bug-reference.el (bug-reference-bug-regexp):
880 Allow linking to specific messages in debbugs reports (eg 123#5).
881
a7aef6f5
CY
8822012-07-02 Chong Yidong <cyd@gnu.org>
883
884 * xml.el: Fix entity and character reference expansion, allowing
885 them to expand into markup as per XML spec.
886 (xml-default-ns): New variable.
887 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
888 (xml-parse-region): Make first two arguments optional.
889 Discard text properties.
890 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
891 All callers changed.
a7aef6f5
CY
892 (xml-parse-tag): Call xml-parse-tag-1. For backward
893 compatibility, this function should not modify buffer contents.
894 (xml-parse-tag-1): Fix opening-tag regexp.
895 (xml-parse-string): Rewrite, handling entity and character
896 references properly.
897 (xml--entity-replacement-text): Signal an error if a parameter
898 entity is undefined.
899
3df31c9f
SM
9002012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
901
2b5208f1
SM
902 * comint.el (comint-output-filter): Filter out repeated prompts.
903
3df31c9f
SM
904 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
905 and file-name-absolute-p.
906 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
907 internal calls.
908
e3ac1281
PE
9092012-07-02 Paul Eggert <eggert@cs.ucla.edu>
910
911 Spelling fixes.
912 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
913 Rename from byte-compile--refiy-function. All uses changed.
914
fbf2e7ad
CY
9152012-07-01 Chong Yidong <cyd@gnu.org>
916
917 * xml.el (xml--parse-buffer): New function. Move most of
918 xml-parse-region here.
919 (xml-parse-region): Copy region into a temporary buffer, since
920 parameter entity substitution requires changing buffer contents.
921 Use xml--parse-buffer.
922 (xml-parse-file): Use xml--parse-buffer.
923 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 924 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 925
9bf0aa15
GM
9262012-06-30 Glenn Morris <rgm@gnu.org>
927
bbce2853
GM
928 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
929
9bf0aa15
GM
930 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
931 Remove outdated and unnecessary dbus declarations.
932
0d23c240
EZ
9332012-06-30 Eli Zaretskii <eliz@gnu.org>
934
935 * emacs-lisp/timer.el (timer-until): Subtract results of
936 float-time, instead of taking float-time of the result of
937 time-subtract, since float-time signals an error for negative time
938 arguments.
939
b3218de1
CY
9402012-06-30 Chong Yidong <cyd@gnu.org>
941
942 * xml.el (xml-*-re): Convert defvars into defconsts, and
943 eval-and-compile them so eval-and-compile works on derivatives.
944 (xml--entity-replacement-text): Use eval-and-comple.
945
a40c87a0
MA
9462012-06-30 Michael Albinus <michael.albinus@gmx.de>
947
948 * vc/vc-git.el (vc-git-registered): Use cache property
949 `git-registered'.
950 (vc-git-mode-line-string): Call `vc-working-revision' instead of
951 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 952 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 953
ac87de97
DG
9542012-06-30 Dmitry Gutov <dgutov@yandex.ru>
955
956 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 957 removed (likely outside Emacs). (Bug#11757)
ac87de97 958
ac10fe06
SM
9592012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
960
3df31c9f 961 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 962
7f3fbd5d
CY
9632012-06-30 Chong Yidong <cyd@gnu.org>
964
965 * xml.el: Implement XML parameter entities.
966 (xml-parameter-entity-alist): New variable.
967 (xml-parse-region, xml-parse-fragment): Preserve previous values
968 of xml-entity-alist and xml-parameter-entity-alist, so that
969 repeated calls on different documents do not change them.
970 (xml-parse-tag): Fix doctype regexp.
971 (xml--entity-replacement-text): New function.
972 (xml-parse-dtd): Use it. Don't handle system entities; doing that
973 properly requires url retrieval which is unimplemented.
974 (xml-escape-string): Doc fix.
975
3cfbebba
SM
9762012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
979
2af3565e
DA
9802012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
981
982 * fringe.el (fringe-mode): Doc fix.
983
929df0e7
MA
9842012-06-29 Michael Albinus <michael.albinus@gmx.de>
985
986 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
987 is non-nil.
988 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
989 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
990
c8d3a25c 9912012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 992
c8d3a25c
GM
993 * calendar/cal-dst.el (calendar-current-time-zone):
994 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 995
c8d3a25c 9962012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
997
998 * progmodes/which-func.el (which-func-format):
999 Add mouse-face. (Bug#11698)
1000
c8d3a25c
GM
10012012-06-29 Leo Liu <sdl.web@gmail.com>
1002
1003 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1004
10052012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * minibuffer.el (minibuffer-confirm-exit-commands):
1008 Add completion-at-point (bug#11725).
1009
10102012-06-29 Glenn Morris <rgm@gnu.org>
1011
1012 * progmodes/f90.el (f90-font-lock-keywords-2):
1013 Add some preprocessor elements. (Bug#10499)
1014
10152012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1016
1017 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1018 Use syntax-propertize (bug#11739).
1019
2badeec4
JB
10202012-06-28 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1023
ae4969c2
JD
10242012-06-28 Julien Danjou <julien@danjou.info>
1025
1026 * term.el (term-handle-colors-array): Use a set of new faces to
1027 color the terminal. Also uses :inverse-video property.
1028 (term-default-fg-color): Set to nil by default, deprecate in favor
1029 of `term-face'.
1030 (term-default-bg-color): Set to nil by default, deprecate in favor
1031 of `term-face'.
1032 (term-current-face): Use `term-face' by default.
1033 (term-bold-attribute): Variable deleted.
1034
1c9bd870
GM
10352012-06-28 Glenn Morris <rgm@gnu.org>
1036
1037 * simple.el (completion-list-mode-finish):
1038 Don't use toggle-read-only. (Since completion-list-mode has
1039 a special mode-class, it wasn't doing anything extra anyway.)
1040
c207708c
SM
10412012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 Make inlining of other-mode interpreted functions work (bug#11799).
1044 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1045 (byte-compile): Use it to fix compilation of lexical-binding closures.
1046 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1047 function, if needed.
1048
3fd56834
SM
10492012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1050
04901786
SM
1051 * help-mode.el (help-make-xrefs): Don't just withstand
1052 cyclic-variable-indirection but any error in documentation-property.
1053
1ec4b7b2
SM
1054 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1055 memory use.
1056 * bindings.el (bindings--define-key): New function.
1057 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1058 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1059 * bindings.el: Use it to purecopy define-key bindings.
1060
e309e2a5
SM
1061 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1062
d5c6faf9
SM
1063 * emacs-lisp/cl.el (flet): Mark obsolete.
1064 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1065 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1066 * progmodes/js.el (js-c-fill-paragraph):
1067 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1068 (ebrowse-switch-member-buffer-to-derived-class):
1069 * play/5x5.el (5x5-solver): Use cl-flet.
1070
6e9590e2
SM
1071 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1072 (cl--symbol-function): New macro.
1073 (cl--letf, cl--letf*): Use it.
1074
3fd56834
SM
1075 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1076 Strip "toggle-" if any.
1077
35ff222c
GM
10782012-06-27 Glenn Morris <rgm@gnu.org>
1079
1ba6038a
GM
1080 * info.el (Info-default-directory-list): Move here from paths.el.
1081 * paths.el: Remove file, which is now empty.
1082 * loadup.el: No longer load "paths".
1083
0ea0e51b
GM
1084 * custom.el (custom-initialize-delay): Doc fix.
1085
35ff222c
GM
1086 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1087 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1088 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1089 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1090 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1091 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1092 * eshell/eshell.el (eshell-defgroup): Remove alias.
1093
c89926a5
CY
10942012-06-27 Chong Yidong <cyd@gnu.org>
1095
1096 * help.el (help-enable-auto-load): New variable.
1097
1098 * help-fns.el (help-fns--autoloaded-p): New function.
1099 (describe-function-1): Refer to a function as "autoloaded" if it
1100 was autoloaded at any time in the past. Perform autoloading if
1101 help-enable-auto-load is non-nil.
1102
cc06e7e7
EZ
11032012-06-26 Eli Zaretskii <eliz@gnu.org>
1104
1105 * makefile.w32-in (compile, compile-always): Depend on
1106 update-subdirs, not on subdirs.el. Otherwise, several different
1107 sub-targets of 'bootstrap' running in parallel could
1108 simultaneously write to subdirs.el, producing a garbled file.
1109
d2c32364
SS
11102012-06-26 Sam Steingold <sds@gnu.org>
1111
1112 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1113 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1114 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1115 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1116 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1117 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1118 * textmodes/tex-mode.el: Use it.
1119 Did not touch cedet and org because they are maintained elsewhere.
1120
5cf983b2
MR
11212012-06-26 Martin Rudalics <rudalics@gmx.at>
1122
1123 * calendar/calendar.el (calendar-exit): Don't try to delete or
1124 iconify last frame. See:
1125 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1126
8c4f2952
JD
11272012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1128
1129 * server.el (server-process-filter): Remember dir in the
1130 process's `server-client-directory' properties.
1131
772b2e2c
CY
11322012-06-24 Chong Yidong <cyd@gnu.org>
1133
1134 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1135 non-tag text.
1136
711b11e1
JB
11372012-06-23 Juanma Barranquero <lekktu@gmail.com>
1138
1139 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1140
dc5d230c
SM
11412012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * help-fns.el (describe-variable): Don't croak when doc is not found.
1144 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1145 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1146 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1147 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1148 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1149 ((lambda ..) ..).
1150 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1151
136e1c1d
CY
11522012-06-23 Chong Yidong <cyd@gnu.org>
1153
e8c1cabf
CY
1154 * info.el (Info-mouse-follow-link): Accept symbol values of
1155 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1156 (Info-fontify-node): Use Info-link-keymap for all navigation
1157 buttons, with link-args property to perform the desired action.
1158 (Info-link-keymap): Doc fix.
1159 (Info-next-link-keymap, Info-prev-link-keymap)
1160 (Info-up-link-keymap): Delete now-unused keymaps.
1161
0e9e6c6a
CY
11622012-06-23 Chong Yidong <cyd@gnu.org>
1163
05e89fea
CY
1164 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1165
0e9e6c6a
CY
1166 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1167 system abbrevs.
1168
1169 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1170
e33c6771
SM
11712012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1172
b68581e2
SM
1173 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1174 (bug#11719).
1175
e33c6771
SM
1176 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1177 the requote function doesn't work properly (bug#11714).
1178
7117e105
GM
11792012-06-23 Glenn Morris <rgm@gnu.org>
1180
1181 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1182
36cec983
SM
11832012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 Further GV/CL cleanups.
1186 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1187 gv-expander.
1188 (gv--defun-declaration): New function.
1189 (defun-declarations-alist): Use it.
1190 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1191 (gv-place): Autoload.
1192 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1193 original definition of dotimes and dolist.
1194 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1195 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1196 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1197 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1198 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1199 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1200 to the function's definition.
1201 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1202 * window.el:
1203 * files.el:
1204 * faces.el:
1205 * env.el: Don't use CL.
1206
d35af63c
PE
12072012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1208
1209 Support higher-resolution time stamps (Bug#9000).
1210
1211 * calendar/time-date.el (with-decoded-time-value): New arg
1212 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1213 (encode-time-value): New optional arg PICO. New type 3.
1214 (time-to-seconds) [!float-time]: Support the new picoseconds
1215 component if it's used.
1216 (seconds-to-time, time-subtract, time-add):
1217 Support ps-resolution time stamps as well.
1218
1219 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1220 (timerp): Timer vectors now have length 9, not 8.
1221 (timer--time): Support new-style (4-part) time stamps.
1222 (timer-next-integral-multiple-of-time): Time stamps now have
1223 picosecond resolution, so take a bit more care about rounding.
1224 (timer-relative-time, timer-inc-time): New optional arg psecs.
1225 (timer-set-time-with-usecs): Set psecs to 0.
1226 (timer--activate): Check psecs component, too.
1227
1228 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1229
ac77b21a
SM
12302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1231
f143bfe3
SM
1232 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1233 Move the non-essential binding to the post/pre-command-hook where it is
1234 more obviously correct.
1235
ac77b21a
SM
1236 * subr.el (read-passwd): Don't use a history at all.
1237 * savehist.el (savehist-save): Remove password saved accidentally
1238 because of the above bug.
1239
76386c5a
BG
12402012-06-22 Bastien Guerry <bzg@gnu.org>
1241
1242 * files.el (toggle-read-only): Display a message telling whether
1243 the buffer is read-only or not (bug#11726).
1244
2ee3d7f0
SM
12452012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * emacs-lisp/gv.el: New file.
1248 * subr.el (push, pop): Extend to generalized variables.
1249 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1250 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1251 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1252 gv-define-simple-setter, and gv-define-expander.
1253 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1254 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1255 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1256 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1257 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1258 gv-letplace.
1259 (cl-defstruct): Don't define setf-method any more.
1260 * emacs-lisp/cl.el (flet): Don't autoload.
1261 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1262 (define-setf-expander, defsetf, define-modify-macro)
1263 (cl-struct-setf-expander): Move from cl-lib.el.
1264 * emacs-lisp/syntax.el:
1265 * emacs-lisp/ewoc.el:
1266 * emacs-lisp/smie.el:
1267 * emacs-lisp/cconv.el:
1268 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1269 (timer--time): Use gv-define-simple-setter.
1270 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1271 to avoid coding-system problems in subr.el. Adjust all users.
1272 (macroexp--maxsize, macroexp-small-p): New functions.
1273 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1274 * scroll-bar.el (scroll-bar-mode):
1275 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1276 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1277 * winner.el (winner-configuration, winner-make-point-alist)
1278 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1279 * files.el (locate-file-completion-table): Avoid list*.
1280
c5695d1d
CY
12812012-06-22 Chong Yidong <cyd@gnu.org>
1282
1283 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1284 (dired-create-files): Doc fix (Bug#11329).
1285 (dired-do-copy): Doc fix (Bug#11334).
1286 (dired-mark-read-string): Doc fix (Bug#11553).
1287
2ee3d7f0
SM
1288 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1289 Doc fix (Bug#11326).
c5695d1d
CY
1290 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1291 (dired-dwim-target): Doc fix.
1292
1293 * wdired.el (wdired-mode): Doc fix.
1294
89b5595a
GM
12952012-06-22 Glenn Morris <rgm@gnu.org>
1296
575db3f1
GM
1297 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1298 (pcmpl-rpm-cache-stamp-file): New constant.
1299 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1300 (pcmpl-rpm-packages): Optionally cache list of packages.
1301
a4c8dd51
GM
1302 * pcmpl-rpm.el (pcmpl-rpm): New group.
1303 (pcmpl-rpm-query-options): New option.
1304 (pcmpl-rpm-packages): No need to inline it.
1305 Use pcmpl-rpm-query-options.
1306
89b5595a
GM
1307 * calendar/calendar.el (calendar-in-read-only-buffer):
1308 Avoid some needless mode changes.
1309
e76f0800
CY
13102012-06-21 Chong Yidong <cyd@gnu.org>
1311
1312 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1313 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1314 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1315
297a8f1d
CY
13162012-06-20 Chong Yidong <cyd@gnu.org>
1317
1318 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1319
d34c18b1
DR
13202012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1321
1322 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1323 (bug#11201).
1324
32f7f28e
CY
13252012-06-20 Chong Yidong <cyd@gnu.org>
1326
1327 * term.el (term-window-width): Handle the case of a missing right
1328 fringe (Bug#8837).
1329 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1330 (term-mode): Use define-derived-mode. Minor cleanups.
1331 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1332 (term-move-columns, term-insert-char, term-emulate-terminal)
1333 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1334
493c6688
MA
13352012-06-20 Michael Albinus <michael.albinus@gmx.de>
1336
d34c18b1
DR
1337 * net/ange-ftp.el (ange-ftp-get-passwd):
1338 Bind `enable-recursive-minibuffers'.
493c6688
MA
1339 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1340
3f06ecf4
DR
13412012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1342
1343 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1344
68f12411
GM
13452012-06-19 Glenn Morris <rgm@gnu.org>
1346
1347 * progmodes/python.el (python-mode): Derive from prog-mode.
1348
b3820318
KG
13492012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1350
1351 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1352 (edt-user-menu-bar-update-buffers): New functions.
1353 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1354
c6bf3022
CY
13552012-06-19 Chong Yidong <cyd@gnu.org>
1356
1357 * subr.el (with-selected-window): Preserve the selected window's
1358 terminal's top-frame (Bug#4702).
1359
1360 * window.el (save-selected-window): Likewise.
1361
25f09295
SM
13622012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * progmodes/python.el (python-rx-constituents): Move backquote.
1365 (python-skeleton-define, python-define-auxiliary-skeleton):
1366 Use `declare'.
1367
6b11952a
MA
13682012-06-18 Michael Albinus <michael.albinus@gmx.de>
1369
1370 * minibuffer.el (read-file-name-default): Revert the patch from
1371 2012-06-17.
1372
ee4b1330
SM
13732012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1376 (pcase--u1, pcase--q1): Don't use apply-partially.
1377
35647f79
GM
13782012-06-18 Glenn Morris <rgm@gnu.org>
1379
1380 * progmodes/python.el (python-proc, python-buffer)
1381 (python-send-receive, python-send-string): Fix obsolete versions.
1382
24b0cff0
MR
13832012-06-18 Martin Rudalics <rudalics@gmx.at>
1384
1385 * window.el (special-display-p): Completely remove stringp
1386 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1387
29855149
MA
13882012-06-17 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1391
1392 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1393
1394 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1395 * net/tramp-sh.el (tramp-maybe-open-connection):
1396 Throw if `non-essential' is non-nil.
1397
07463363
MR
13982012-06-17 Martin Rudalics <rudalics@gmx.at>
1399
1400 * window.el (special-display-p): Signal an error if BUFFER-NAME
1401 is not a string (Bug#11713).
1402
48d1354e
PE
14032012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1404
1405 * progmodes/python.el (python-info-beginning-of-backslash):
1406 Rename from python-info-beginning-of-backlash, as a spelling fix.
1407
eb4a8a9a
CY
14082012-06-17 Chong Yidong <cyd@gnu.org>
1409
1410 * term.el (term-emulate-terminal): If term-check-size is called,
1411 move point to the process mark without resetting point (Bug#4635).
1412
ddfbf826 14132012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1414
1415 * international/mule-cmds.el (mule-menu-keymap)
1416 (set-language-environment, set-locale-environment): Doc tweaks.
1417
9b0e3eba
AA
14182012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1419
1420 * cus-face.el (custom-face-attributes): Add wave-style underline
1421 attribute.
1422 * faces.el (set-face-attribute): Update docstring to describe
1423 wave-style underline attribute.
1424
771e3eae
CY
14252012-06-16 Chong Yidong <cyd@gnu.org>
1426
1427 * term/xterm.el (terminal-init-xterm): Discard input before
1428 querying background mode (Bug#10959).
1429
7ae2ea10
SM
14302012-06-16 Stefan Merten <smerten@oekonux.de>
1431
1432 * textmodes/rst.el: Added and corrected some comments.
1433 (rst-re-alist-def): Improve symbol syntax.
1434 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1435 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1436 (rst-official-version, rst-official-cvs-rev): Update version
1437 information.
7ae2ea10 1438
b6974efa
JB
14392012-06-15 Juanma Barranquero <lekktu@gmail.com>
1440
1441 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1442 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1443
8826d473
GM
14442012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1445
1446 * progmodes/python.el: New python.el merge.
1447 (python-guess-indent): Obsolete var.
1448 (python-indent-guess-indent-offset): New defcustom.
1449 (python-indent): Obsolete var.
1450 (python-indent-offset): New defcustom.
1451 (python-python-command, python-jython-command): Delete var.
1452 (python-shell-interpreter): New defcustom.
1453 (python-pdbtrack-do-tracking-p): Delete var.
1454 (python-pdbtrack-activate): New defcustom.
1455 (python-use-skeletons): Obsolete var.
1456 (python-skeleton-autoinsert): New defcustom.
1457 (inferior-python-filter-regexp, python-continuation-offset)
1458 (python-honour-comment-indentation, python-indent-string-contents)
1459 (python-jython-packages, python-mode-hook)
1460 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1461 (python-shell-prompt-alist)
1462 (python-source-modes): Delete defcustoms.
1463 (python-check-buffer-name, python-eldoc-setup-code)
1464 (python-eldoc-string-code, python-ffap-setup-code)
1465 (python-ffap-string-code, python-fill-comment-function)
1466 (python-fill-decorator-function, python-fill-paren-function)
1467 (python-fill-string-function, python-imenu-include-defun-type)
1468 (python-imenu-make-tree, python-imenu-subtree-root-label)
1469 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1470 (python-shell-compilation-regexp-alist)
1471 (python-shell-completion-module-string-code)
1472 (python-shell-completion-pdb-string-code)
1473 (python-shell-completion-setup-code)
1474 (python-shell-completion-string-code)
1475 (python-shell-enable-font-lock, python-shell-exec-path)
1476 (python-shell-extra-pythonpaths)
1477 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1478 (python-shell-process-environment)
1479 (python-shell-prompt-block-regexp)
1480 (python-shell-prompt-output-regexp)
1481 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1482 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1483 (python-shell-virtualenv-path): New defcustoms.
1484 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1485 (inferior-python-mode-syntax-table, python--prompt-regexp)
1486 (python-buffer, python-command python-python-command)
1487 (python-default-template, python-imports, python-indent-index)
1488 (python-indent-list, python-indent-list-length)
1489 (python-mode-running, python-pdbtrack-is-tracking-p)
1490 (python-preoutput-continuation, python-preoutput-leftover)
1491 (python-preoutput-result, python-preoutput-skip-next-prompt)
1492 (python-prev-dir/file, python-recursing)
1493 (python-saved-check-command, python-version-checked)
1494 (python-which-func-length-limit)
1495 (view-return-to-alist): Delete vars.
1496 (python-check-custom-command, python-dotty-syntax-table)
1497 (python-imenu-index-alist, python-indent-current-level)
1498 (python-indent-dedenters, python-indent-levels)
1499 (python-nav-beginning-of-defun-regexp)
1500 (python-nav-list-defun-positions-cache)
1501 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1502 (python-shell-internal-buffer)
1503 (python-skeleton-available): New vars.
1504 (def-python-skeleton): Delete macro.
1505 (python-skeleton-define): New macro.
1506 (python-define-auxiliary-skeleton, python-rx): New macros.
1507 (python-insert-class): Delete command.
1508 (python-skeleton-class): New command.
1509 (python-insert-def): Delete command.
1510 (python-skeleton-def): New command.
1511 (python-insert-for): Delete command.
1512 (python-skeleton-for): New command.
1513 (python-insert-if): Delete command.
1514 (python-skeleton-if): New command.
1515 (python-insert-try/except, python-insert-try/finally): Delete commands.
1516 (python-skeleton-try): New command.
1517 (python-insert-while): Delete command.
1518 (python-skeleton-while): New command.
1519 (python-backspace): Delete command.
1520 (python-indent-dedent-line-backspace): New command.
1521 (python-electric-colon): Delete command.
1522 (python-indent-electric-colon): New command.
1523 (python-guess-indent): Delete command.
1524 (python-indent-guess-indent-offset): New command.
1525 (python-shift-left): Delete command.
1526 (python-indent-shift-left): New command.
1527 (python-shift-right): Delete command.
1528 (python-indent-shift-right): New command.
1529 (python-find-function): Delete command.
1530 (python-nav-jump-to-defun): New command.
1531 (python-next-statement): Delete command.
1532 (python-nav-forward-sentence): New command.
1533 (python-previous-statement): Delete command.
1534 (python-nav-backward-sentence): New command.
1535 (python-fill-paragraph): Delete command.
1536 (python-fill-paragraph-function): New command.
1537 (python-send-buffer): Delete command.
1538 (python-shell-send-buffer): New command.
1539 (python-send-defun): Delete command.
1540 (python-shell-send-defun): New command.
1541 (python-send-region, python-send-region-and-go): Delete commands.
1542 (python-shell-send-region)
1543 (python-shell-switch-to-shell): New commands.
1544 (python-send-string): Delete command.
1545 (python-shell-send-string): New command.
1546 (python-switch-to-python): Delete command.
1547 (python-shell-switch-to-shell): New command.
1548 (python-describe-symbol): Delete command.
1549 (python-eldoc-at-point): New command.
1550 (python--set-prompt-regexp, python-args-to-list)
1551 (python-after-info-look, python-check-version)
1552 (python-check-comint-prompt, python-find-imports)
1553 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1554 (python-unload-function, python-expand-template)
1555 (python-maybe-jython, python-preoutput-filter)
1556 (python-pdbtrack-get-source-buffer)
1557 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1558 (python-pdbtrack-toggle-stack-tracking)
1559 (python-pdbtrack-track-stack-file, python-initial-text)
1560 (python-first-word, python-comment-line-p, python-send-command)
1561 (python-setup-brm, python-sentinel, python-set-proc)
1562 (python-skip-out, python-input-filter, python-outdent-p)
1563 (python-outline-level, python-backslash-continuation-line-p)
1564 (python-end-of-block, python-end-of-statement, python-mark-block)
1565 (python-beginning-of-block, python-beginning-of-statement)
1566 (python-blank-line-p, python-beginning-of-string)
1567 (python-open-block-statement-p): Delete functions.
1568 (python-indent-line, python-indent-line-1): Delete functions.
1569 (python-indent-line): New function.
1570 (python-indentation-levels): Delete function.
1571 (python-indent-calculate-levels): New function.
1572 (python-proc): Delete function.
1573 (python-shell-get-process): New function.
1574 (python-send-receive): Delete function.
1575 (python-shell-send-string-no-output): New function.
1576 (python-module-path): Delete function.
1577 (python-ffap-module-path): New function.
1578 (python-completion-at-point)
1579 (python-symbol-completions): Delete functions.
1580 (python-completion-complete-at-point): New function.
1581 (python-load-file): Delete function.
1582 (python-shell-send-file): New function.
1583 (python-calculate-indentation): Delete function.
1584 (python-indent-calculate-indentation): New function.
1585 (python-skip-comments/blanks): Delete function.
1586 (python-util-forward-comment): New function.
1587 (python-continuation-line-p): Delete function.
1588 (python-info-continuation-line-p): New function.
1589 (python-which-func, python-current-defun): Delete function.
1590 (python-info-current-defun): New function.
1591 (python-beginning-of-defun): Delete function.
1592 (python-nav-beginning-of-defun): New function.
1593 (python-close-block-statement-p)
1594 (python-block-end-p): Delete function.
1595 (python-info-closing-block): New function.
1596 (python-comint-output-filter-function)
1597 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1598 (python-fill-comment, python-fill-decorator, python-fill-paren)
1599 (python-fill-string, python-imenu-make-element-tree)
1600 (python-imenu-make-tree, python-imenu-tree-assoc)
1601 (python-indent-context, python-indent-dedent-line)
1602 (python-indent-line-function)
1603 (python-indent-post-self-insert-function)
1604 (python-indent-toggle-levels)
1605 (python-info-assignment-continuation-line-p)
1606 (python-info-beginning-of-backlash)
1607 (python-info-block-continuation-line-p)
1608 (python-info-closing-block-message)
1609 (python-info-line-ends-backslash-p)
1610 (python-info-looking-at-beginning-of-defun)
1611 (python-info-ppss-context, python-info-ppss-context-type)
1612 (python-nav-list-defun-positions, python-nav-read-defun)
1613 (python-nav-sentence-end, python-nav-sentence-start)
1614 (python-pdbtrack-comint-output-filter-function)
1615 (python-pdbtrack-set-tracked-buffer)
1616 (python-shell-calculate-exec-path)
1617 (python-shell-calculate-process-environment)
1618 (python-shell-completion--do-completion-at-point)
1619 (python-shell-completion--get-completions)
1620 (python-shell-completion-complete-at-point)
1621 (python-shell-completion-complete-or-indent)
1622 (python-shell-get-or-create-process)
1623 (python-shell-get-process-name)
1624 (python-shell-internal-get-or-create-process)
1625 (python-shell-internal-get-process-name)
1626 (python-shell-internal-send-string, python-shell-make-comint)
1627 (python-shell-parse-command, python-shell-send-setup-code)
1628 (python-skeleton-add-menu-items)
1629 (python-util-clone-local-variables, python-util-position)
1630 (run-python-internal, python-indentation-levels)
1631 (python-nav-beginning-of-defun)
1632 (python-completion-complete-at-point): New functions.
1633 (run-python): Change arguments. New API requirements.
1634
4302f5ba
SM
16352012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1636
f38ea36d
SM
1637 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1638 (bug#11649).
1639
1640 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1641 (macroexp--expand-all): Use it.
1642
4302f5ba
SM
1643 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1644 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1645 Use `cl-function' instead.
1646
33377562
JB
16472012-06-14 Juanma Barranquero <lekktu@gmail.com>
1648
1649 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1650 Suggested by Stefan Monnier while discussing bug#11657.
1651
54c5ba1a
SS
16522012-06-14 Sam Steingold <sds@gnu.org>
1653
1654 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1655
f9f1b1fe
AS
16562012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1657
1658 * play/doctor.el (doctor-doc): Remove parameter and use
1659 doctor-sent instead of sent.
1660 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1661
a81068ba
SM
16622012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1663
5a315f9c
SM
1664 * files.el: Require cl-lib.
1665 (file-name-non-special): Replace case -> cl-case.
1666
1667 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1668
a81068ba
SM
1669 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1670 mapping from #' to function*.
1671
8cca9703
CY
16722012-06-13 Chong Yidong <cyd@gnu.org>
1673
1674 * mouse.el (mouse-drag-track): Do not set the mark if the user
1675 releases the mouse without selecting anything (Bug#11588).
1676
a12ac9d7
SM
16772012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1678
ccf1dc18
SM
1679 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1680 as well (bug#11646).
1681
ef62b23d
SM
1682 * loadup.el: Count byte-code functions as well.
1683
c4c8444a
SM
1684 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1685 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1686
a12ac9d7
SM
1687 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1688 (bug#11649). Add cl-defun and cl-defmacro.
1689
87e6e64f
DA
16902012-06-13 Drew Adams <drew.adams@oracle.com>
1691
1692 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1693 Fix last change.
1694
682cefaf
MA
16952012-06-13 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1698 Otherwise, it blocks in batch mode.
1699
773e1f08
JB
17002012-06-13 Juanma Barranquero <lekktu@gmail.com>
1701
1702 * help-mode.el (bookmark-make-record-default): Declare.
1703
60057926
CY
17042012-06-13 Chong Yidong <cyd@gnu.org>
1705
1706 * emacs-lisp/package.el (list-packages): Compute a list of
1707 packages that are newly-available since the last list-packages
1708 invocation.
1709 (package-menu--new-package-list): New var.
1710 (package-menu--generate, package-menu--print-info)
1711 (package-menu--status-predicate, package-menu-mark-install):
1712 Handle new status label "new".
1713
ad4d226c
SM
17142012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1717 conversion to backquotes.
1718
f1a4e679
CY
17192012-06-12 Chong Yidong <cyd@gnu.org>
1720
1721 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1722 Rename from gud-inhibit-global-bindings.
1723
1724 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1725
1726 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1727 hook from nxml-glyph-set-hook.
1728
1729 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1730 declaration.
1731
1732 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1733
1734 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1735 Convert to defcustom.
1736
0c9e42b5
DA
17372012-06-12 Drew Adams <drew.adams@oracle.com>
1738
1739 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1740 New functions.
1741 (help-mode): Use them.
1742
09e06855
GM
17432012-06-11 Glenn Morris <rgm@gnu.org>
1744
1745 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1746 Use preprocessor face for directives.
1747 (fortran-directive-re): Doc fix.
1748
71adb94b
SM
17492012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1750
2eb87922
SM
1751 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1752 conversion to backquotes (bug#11652).
1753
71adb94b
SM
1754 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1755 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1756 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1757 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1758 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1759 (cl-ninth, cl-tenth): Mark them as inlinable.
1760 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1761 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1762 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1763 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1764 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1765 (cl-list*, cl-adjoin): Don't put an autoload manually.
1766 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1767 (cl--compiler-macro-list*): Add autoload cookie.
1768 (cl--compiler-macro-cXXr): New function.
2eb87922 1769
71adb94b
SM
1770 * help-fns.el (help-fns--compiler-macro): New function extracted from
1771 describe-function-1; follow aliases and use `compiler-macro' property.
1772 (describe-function-1): Use it.
1773
a6674402
CY
17742012-06-11 Chong Yidong <cyd@gnu.org>
1775
1776 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1777 is uninstalled, if imagemagick is installed.
1778
bb3faf5b
SM
17792012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * emacs-lisp/cl-lib.el: Use lexical-binding.
1782 (cl-map-extents, cl-maclisp-member): Remove.
1783 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1784 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1785 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1786 * emacs-lisp/cl-extra.el: Use lexical-binding.
1787 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1788 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1789 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1790 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1791 * emacs-lisp/cl-seq.el: Use lexical-binding.
1792 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1793 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1794 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1795 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1796 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1797 CL's internals.
1798
2fe4b125
MA
17992012-06-11 Michael Albinus <michael.albinus@gmx.de>
1800
1801 Sync with Tramp 2.2.6-pre.
1802
1803 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1804 `print-length' and `print-level' to nil, in order to avoid
1805 truncation. Reported by Christopher Schmidt
1806 <christopher@ristopher.com>.
1807
1808 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1809
1810 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1811 New defmacro.
1812 (tramp-compat-copy-directory): Add optional argument
1813 COPY-CONTENTS. It is not handled yet.
1814
1815 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1816 (tramp-ftp-file-name-p): Simplify.
1817
1818 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1819 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1820 connection vector.
1821
1822 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1823 (tramp-methods): Do not use `tramp-password-end-of-line'.
1824 (tramp-completion-function-alist-putty): Handle UNIX case.
1825 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1826 (tramp-do-file-attributes-with-stat)
1827 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1828 gid as real numbers. They could run out of integer range on cygwin.
1829 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1830 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1831 (tramp-open-connection-setup-interactive-shell):
1832 Use `tramp-cleanup'. Move check for busyboxes ...
1833 (tramp-find-shell): ... here. Simplify implementation.
1834 Set "remote-shell" property also for alternative shells.
1835 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1836 If failing, a regular file would be written otherwise.
1837 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1838 (tramp-find-inline-encoding): Cache the coding commands in the
1839 process cache. Apply test command on the remote side, if defined.
1840 (tramp-find-inline-compress): Cache the compress commands in the
1841 process cache.
1842 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1843 when requested. Handle hops.
1844 (tramp-current-connection): New defvar.
87e6e64f
DA
1845 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1846 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1847 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1848 (tramp-get-inline-compress, tramp-get-inline-coding):
1849 Read connection properties from the process cache.
2fe4b125
MA
1850
1851 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1852 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1853 New defconsts.
2fe4b125
MA
1854 (tramp-smb-prompt): Extend for powershell prompt.
1855 (tramp-smb-file-name-handler-alist): Add handlers for
1856 `process-file', `shell-command' and `start-file-process'.
1857 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1858 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1859 (tramp-smb-file-name-p): Simplify.
1860 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1861 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1862 (tramp-smb-shell-quote-argument): New defuns.
1863 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1864 Implement using "tar". By this, time-stamps are preserved.
1865 (tramp-smb-handle-copy-file): Handle also the case of directories.
1866 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1867 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1868 Use `tramp-get-connection-buffer').
2fe4b125
MA
1869 (tramp-smb-handle-rename-file): Use "rename", when source and
1870 target are on the same share.
87e6e64f
DA
1871 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1872 Use `tramp-smb-server-version'.
2fe4b125
MA
1873 (tramp-smb-wait-for-output): Remove prompt.
1874
1875 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1876 (tramp-methods, tramp-rsh-end-of-line):
1877 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1878 (tramp-save-ad-hoc-proxies): New defcustom.
1879 (tramp-completion-function-alist): Adapt docstring.
1880 (tramp-default-password-end-of-line): Remove defcustom.
1881 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1882 (tramp-user-regexp, tramp-file-name-regexp-unified)
1883 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1884 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1885 (tramp-remote-file-name-spec-regexp): New defconst.
1886 (tramp-file-name-structure): Extend structure for hops.
1887 (tramp-get-method-parameter): Move up.
1888 (tramp-file-name-p, tramp-dissect-file-name)
1889 (with-parsed-tramp-file-name): Handle hops.
1890 (tramp-file-name-hop): New defun.
1891 (tramp-make-tramp-file-name): New optional arg HOP.
1892 (tramp-message-show-progress-reporter-message): New defvar.
1893 (tramp-with-progress-reporter): Use it. We cannot use
1894 `tramp-message-show-message' here, because this suppresses also
1895 error buffers.
1896 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1897 `tramp-message-show-message' is nil.
1898 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1899 (tramp-cleanup): New defun.
1900 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1901 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1902 an error unchanged.
1903 (tramp-completion-handle-file-name-all-completions): Handle hops.
1904 Fix an error when called from ido.
1905 (tramp-completion-dissect-file-name): Use better local variable
1906 name. Add hop to the vector.
1907 (tramp-handle-insert-file-contents): Use progress-reporter for the
1908 whole scenario.
1909 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1910 to `t'.
1911 (tramp-check-for-regexp): Simplify search.
1912 (tramp-enter-password): Remove it. Move implementation ...
1913 (tramp-action-password): ... here.
1914 (tramp-mode-string-to-int, tramp-local-host-p)
1915 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1916 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1917 Set tramp-autoload cookie.
2fe4b125
MA
1918
1919 * net/trampver.el: Update release number.
1920
19212012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1922 Michael Albinus <michael.albinus@gmx.de>
1923
1924 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1925 (tramp-parse-group, tramp-parse-file)
1926 (tramp-parse-shostkeys-sknownhosts): New defuns.
1927 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1928 (tramp-parse-shosts-group, tramp-parse-sconfig)
1929 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1930 (tramp-parse-sknownhosts, tramp-parse-hosts)
1931 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1932 Use them.
1933 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1934 (tramp-parse-putty-group): Don't narrow.
1935 (tramp-parse-putty): Make a loop.
1936 (tramp-file-name-handler): Catch the `suppress' signal.
1937
72834e10
CY
19382012-06-11 Chong Yidong <cyd@gnu.org>
1939
1940 * image.el (imagemagick-register-types): Put the ImageMagick entry
1941 at the end of image-type-file-name-regexps.
1942
a4712e11
JB
19432012-06-11 Johan Bockgård <bojohan@gnu.org>
1944
1945 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1946 (pcase, pcase-let*, pcase-dolist): Use them.
1947
82ad98e3
SM
19482012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * emacs-lisp/pcase.el (pcase--let*): New function.
1951 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1952 (pcase--expand): Use macroexp-let².
1953
f80efb86
SM
19542012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1955
1956 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1957 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1958 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1959 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1960 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1961 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1962
31ca4639 19632012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1964
31ca4639
CY
1965 * mail/rmail.el (rmail-yank-current-message): Leave point at
1966 correct position. (Bug#11660)
94f0aa34 1967
31ca4639 19682012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1969
31ca4639 1970 * allout-widgets.el: Fix code header.
9e1b8ec4 1971
31ca4639 19722012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1973
f80efb86
SM
1974 * cus-edit.el (customize-changed-options-previous-release):
1975 Bump to 24.1.
31ca4639 1976
642b6d30
AS
19772012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1980
4f5d2ba1
CY
19812012-06-09 Chong Yidong <cyd@gnu.org>
1982
1983 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1984
e75852fd
MR
19852012-06-09 Martin Rudalics <rudalics@gmx.at>
1986
1987 * window.el (special-display-popup-frame): Don't use
1988 window--display-buffer (Bug#11651).
1989
1e48e282
EZ
19902012-06-09 Eli Zaretskii <eliz@gnu.org>
1991
8a26b487
EZ
1992 Fix parallel builds: make sure loaddefs.el is not being written
1993 while Lisp files are compiled.
1994 (compile): Don't depend on 'mh-autoloads'.
1995 (compile-CMD, compile-SH): Depend on 'autoloads'.
1996 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1997
1e48e282
EZ
1998 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1999
6175e34b
CY
20002012-06-09 Chong Yidong <cyd@gnu.org>
2001
2002 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2003 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2004 Doc fixes (Bug#11225).
2005
d9857e53
SM
20062012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2009 a function if there's a clear indication that it has a compiler-macro.
2010 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2011 (macro-declarations-alist): Add arglist to declaration functions.
2012 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2013 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2014 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2015 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2016 Also add autoload to find the compiler macro.
2017 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2018 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2019 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2020 (cl--compiler-macro-get): New functions, replacing calls to
2021 cl-define-compiler-macro.
2022 (cl-typep) [compiler-macro]: Use macroexp-let².
2023
f81298f8 20242012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2025
2026 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2027 string properly, fixes Bug#11473.
2028
4b56d0fe
CY
20292012-06-08 Chong Yidong <cyd@gnu.org>
2030
2031 * faces.el (set-face-attribute): Doc fix.
2032 (modify-face): Don't use :bold and :italic.
2033 (error, warning, success): Tweak definitions.
2034
2035 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2036 (custom-modified, custom-set, custom-changed, custom-themed)
2037 (custom-saved, custom-button, custom-button-mouse)
2038 (custom-button-pressed, custom-state, custom-comment-tag)
2039 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2040 (custom-group-subtitle): Use new-style face specs.
2041 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2042 (custom-set-face, custom-changed-face, custom-saved-face)
2043 (custom-button-face, custom-button-pressed-face)
2044 (custom-documentation-face, custom-state-face)
2045 (custom-comment-face, custom-comment-tag-face)
2046 (custom-variable-tag-face, custom-variable-button-face)
2047 (custom-face-tag-face, custom-group-tag-face-1)
2048 (custom-group-tag-face): Remove obsolete face alias.
2049
2050 * epa.el (epa-validity-high, epa-validity-medium)
2051 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2052 (epa-field-name, epa-field-body):
2053 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2054 (font-lock-keyword-face, font-lock-builtin-face)
2055 (font-lock-function-name-face, font-lock-variable-name-face)
2056 (font-lock-type-face, font-lock-constant-face):
2057 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2058 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2059 * speedbar.el (speedbar-button-face, speedbar-file-face)
2060 (speedbar-directory-face, speedbar-tag-face)
2061 (speedbar-selected-face, speedbar-highlight-face)
2062 (speedbar-separator-face):
2063 * whitespace.el (whitespace-newline, whitespace-space)
2064 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2065 (whitespace-line, whitespace-space-before-tab)
2066 (whitespace-space-after-tab, whitespace-indentation)
2067 (whitespace-empty):
2068 * emulation/cua-base.el (cua-global-mark):
2069 * eshell/em-prompt.el (eshell-prompt):
2070 * net/newst-plainview.el (newsticker-new-item-face)
2071 (newsticker-old-item-face, newsticker-immortal-item-face)
2072 (newsticker-obsolete-item-face, newsticker-date-face)
2073 (newsticker-statistics-face, newsticker-default-face):
2074 * net/newst-reader.el (newsticker-feed-face)
2075 (newsticker-extra-face, newsticker-enclosure-face):
2076 * net/newst-treeview.el (newsticker-treeview-face)
2077 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2078 (newsticker-treeview-immortal-face)
2079 (newsticker-treeview-obsolete-face)
2080 (newsticker-treeview-selection-face):
2081 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2082 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2083 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2084 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2085 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2086 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2087 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2088 (mpuz-text):
2089 * progmodes/vera-mode.el (vera-font-lock-number)
2090 (vera-font-lock-function, vera-font-lock-interface):
2091 * textmodes/table.el (table-cell): Use new-style face specs, and
2092 don't use the old :bold and :italic attributes.
2093
2094 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2095 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2096 (ebrowse-member-class, ebrowse-progress): Likewise.
2097 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2098 (ebrowse-file-name-face, ebrowse-default-face)
2099 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2100 (ebrowse-progress-face): Remove obsolete faces.
2101
2102 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2103 Inherit from error and warning faces respectively.
2104
2105 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2106 Likewise.
f80efb86
SM
2107 (flyspell-incorrect-face, flyspell-duplicate-face):
2108 Remove obsolete aliases.
4b56d0fe 2109
03310646
MA
21102012-06-08 Michael Albinus <michael.albinus@gmx.de>
2111
2112 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2113 Avoid infloop.
2114
513749ee
SM
21152012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2116
2117 * startup.el (argv, argi): Make lexically scoped.
2118 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2119 * emacs-lisp/cl-macs.el: Use lexical-binding.
2120 Rename cl-bind-* to cl--bind-*.
2121 * files.el: Don't require `cl' since it doesn't use it.
2122 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2123
595ef4ad
JB
21242012-06-08 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2127 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2128 instead of calling external sort utility.
2129 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2130
e9f66fcb
EZ
21312012-06-08 Eli Zaretskii <eliz@gnu.org>
2132
2133 * descr-text.el (describe-char): Mention how to insert the
2134 character, if the current input method doesn't support it.
2135 See the discussion in this thread for the details:
2136 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2137
3d10db47
SS
21382012-06-08 Sam Steingold <sds@gnu.org>
2139
2140 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2141 XF86Back to previous-buffer.
2142 (minibuffer-local-map): Bind them to next-history-element and
2143 previous-history-element respectively.
2144 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2145 help-go-back respectively.
2146 * info.el (Info-mode-map): Bind them to Info-history-forward and
2147 Info-history-back respectively.
2148 These are the keys next to Up on the ThinkPad keyboard.
2149
de7e2b36
SM
21502012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2153 * emacs-lisp/cl-macs.el: Provide itself.
2154 (cl--labels-convert-cache): New var.
2155 (cl--labels-convert): New function.
2156 (cl-flet, cl-labels): New implementation with new semantics, relying on
2157 lexical-binding.
2158 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2159 (cl-closure-vars, cl--function-convert-cache)
2160 (cl--function-convert): Move from cl-macs.el.
2161 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2162 rename by removing the "cl-" prefix.
2163 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2164
6fa6c4ae
SM
21652012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2168 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2169 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2170 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2171 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2172 (cl-hash-table-count): Add old compatibility aliases.
2173
2174 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2175 Use macroexpand-all-environment instead.
2176 (cl--old-macroexpand): New var.
2177 (cl--sm-macroexpand): New function.
2178 (cl-symbol-macrolet): Use it during macro expansion.
2179 (cl--function-convert-cache): New var.
2180 (cl--function-convert): New function, extracted from
2181 cl-macroexpand-all.
2182 (cl-lexical-let): Use it.
2183
2184 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2185 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2186 (cl-member): Remove old alias.
2187
2188 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2189 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2190 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2191 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2192 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2193 (cl-macroexpand-cmacs): Remove var.
2194 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2195 Use macroexpand-all instead.
2196
4dd1c416
SM
21972012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2198
2199 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2200 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2201 (macroexp-copyable-p): New functions and macros.
2202 * emacs-lisp/edebug.el (edebug-unwrap):
2203 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2204 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2205 (pcase--let*): Remove.
2206 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2207 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2208 macroexp-const-p instead.
2209 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2210
2211 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2212 instead of "cl-" for internal definitions. Use macroexp-const-p.
2213 (cl-old-bc-file-form): Remove var.
2214 (cl-const-exprs-p): Remove fun.
2215 (cl-labels, cl-macrolet): Use backquote.
2216 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2217 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2218 (cl-define-setf-expander): Rename from cl-define-setf-method.
2219 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2220
2221 * international/mule-cmds.el: Don't require CL.
2222 (view-hello-file): Don't use `letf'.
2223
ed8bd4d7
SM
22242012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2225
7287f2f3
SM
2226 * tmm.el (tmm-prompt): Use string-prefix-p.
2227 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2228 (tmm-add-prompt): Use minibuffer-completion-help.
2229 (tmm-delete-map): Remove.
2230
ed8bd4d7
SM
2231 * subr.el (kbd): Make it its own function.
2232
7b4cdbf4
SM
22332012-06-07 Stefan Merten <smerten@oekonux.de>
2234
2235 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2236 Silence compiler warnings. Fix versions.
ed8bd4d7 2237 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2238 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2239 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2240 (rst-package-emacs-version-alist): Correct Emacs version to
2241 represent major merge with upstream.
ed8bd4d7 2242 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2243
2b48d721
GM
22442012-06-06 Glenn Morris <rgm@gnu.org>
2245
2246 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2247 Only print environment variables if set.
2248
fa779ab0
SM
22492012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2252 (macroexp--cons): Rename from maybe-cons.
2253 (macroexp--accumulate): Rename from macroexp-accumulate.
2254 (macroexp--all-forms): Rename from macroexpand-all-forms.
2255 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2256 (macroexp--expand-all): Rename from macroexpand-all-1.
2257
628299e0
SS
22582012-06-06 Sam Steingold <sds@gnu.org>
2259
2260 * calendar/calendar.el (calendar-in-read-only-buffer):
2261 Call `special-mode' to enable the standard read-only keybindings.
2262
b7bb5838
SM
22632012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2266 with "loading" messages (bug#11635).
2267
dfb308ba
MA
22682012-06-06 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * files.el (enable-remote-dir-locals): New option.
2271 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2272
0372ee92
MA
2273 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2274 Ensure, that the temp directory is local.
2275
2276 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2277 `temporary-file-directory'.
2278
eed0bb91
MA
2279 * progmodes/python.el (python-send-region): Ensure, that the
2280 temporary file is created also in the remote case.
2281
7a58f64d
GM
22822012-06-06 Glenn Morris <rgm@gnu.org>
2283
f7dd4e98
GM
2284 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2285 (vc-rcs-update-changelog): Use it.
2286
090bd7cb 2287 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2288
7a58f64d
GM
2289 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2290 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2291 (vc-sccs-diff): Replace use of the external vcdiff script.
2292
daed4003
GM
22932012-06-05 Glenn Morris <rgm@gnu.org>
2294
2295 * ledit.el: Move to obsolete/.
2296
48c455c7
SS
22972012-06-05 Sam Steingold <sds@gnu.org>
2298
ed9265fc 2299 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2300 patch (Bug#11140).
2301
57a7d507
SM
23022012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2303
090bd7cb 2304 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2305
53aacf21
SM
2306 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2307 compiler-macro expansion.
2308
57a7d507
SM
2309 Add native compiler-macro support.
2310 * emacs-lisp/macroexp.el (macroexpand-all-1):
2311 Support compiler-macros directly. Properly follow aliases and apply
2312 the compiler macros more thoroughly.
2313 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2314 macroexpand now properly follows aliases.
2315 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2316 (cl-compiler-macroexpand): Use new prop.
2317 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2318
2319 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2320
51a5f9d8
MR
23212012-06-05 Martin Rudalics <rudalics@gmx.at>
2322
2323 * window.el (get-lru-window, get-mru-window, get-largest-window):
2324 New argument NOT-SELECTED to avoid picking the selected window.
2325 (window--display-buffer-1, window--display-buffer-2): Replace by
2326 new function window--display-buffer
2327 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2328 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2329 Use window--display-buffer.
51a5f9d8
MR
2330 (display-buffer-use-some-window): Remove temporary dedication
2331 hack by calling get-lru-window and get-largest-window with
2332 NOT-SELECTED argument non-nil. Call window--display-buffer.
2333
08f9f738
GM
23342012-06-05 Glenn Morris <rgm@gnu.org>
2335
2336 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2337 Replace external vcdiff script.
2338
e364a2b7
SM
23392012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2342
041df390
CY
23432012-06-04 Chong Yidong <cyd@gnu.org>
2344
e364a2b7
SM
2345 * image.el (imagemagick-types-inhibit): Revert last change.
2346 Add INFO and M.
47b36b94 2347 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2348
7c1898a7
SM
23492012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * emacs-lisp/cl-lib.el: Rename from cl.el.
2352 * emacs-lisp/cl.el: New compatibility file.
2353 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2354 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2355 to obey the "cl-" prefix.
2356 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2357
0c3461de
GM
23582012-06-03 Glenn Morris <rgm@gnu.org>
2359
1e266c88
GM
2360 * emacs-lisp/authors.el (authors-aliases): Addition.
2361
0c3461de
GM
2362 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2363 Fix :version.
2364
d8a52e15
SM
23652012-06-03 Stefan Merten <smerten@oekonux.de>
2366
2367 * textmodes/rst.el: Add comments.
2368 (rst-transition, rst-adornment): New faces.
2369 (rst-adornment-faces-alist): Make default safe to reevaluate.
2370 Fixes
2371 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2372 Improve customization tags.
2373 (rst-define-level-faces): Clarify meaning.
2374
5205d6f6
CY
23752012-06-03 Chong Yidong <cyd@gnu.org>
2376
2377 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2378 (compilation-mode-line-run, compilation-mode-line-exit):
2379 New faces.
5205d6f6
CY
2380 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2381
757ee657
JD
23822012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2383
7c1898a7
SM
2384 * progmodes/which-func.el (which-func-update-ediff-windows):
2385 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2386
5f2c76c6
CY
23872012-06-03 Chong Yidong <cyd@gnu.org>
2388
2389 * bindings.el: Remove explicit help text from format-mode-line.
2390 It is now supplied by mode-line-default-help-echo.
2391 (mode-line-front-space, mode-line-end-spaces)
2392 (mode-line-misc-info): New variables.
2393 (mode-line-modes, mode-line-position): Move the default value to
2394 the variable definition.
2395 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2396 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2397 (mode-line-modified-help-echo): New functions.
2398 (mode-line-mule-info, mode-line-modified): Use them.
2399 (mode-line-eol-desc, propertized-buffer-identification):
2400 Consistency fixes for help text.
cbe46e5f
CY
2401 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2402 set-buffer-file-coding-system (Bug#289).
2403 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2404
f2d6a3df
SM
24052012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * simple.el (execute-extended-command): Set real-this-command
2408 (bug#11506).
2409
37269466
CY
24102012-06-02 Chong Yidong <cyd@gnu.org>
2411
2412 Remove incorrect uses of "modeline" in comments, docstrings, and
2413 function/variable names (Bug#10329).
2414
2415 * cus-edit.el (mode-line):
2416 * dframe.el (dframe-mouse-hscroll):
2417 * emacs-lisp/re-builder.el:
2418 * emacs-lisp/easy-mmode.el (define-minor-mode):
2419 * frame.el (set-frame-name):
2420 * help.el (lookup-minor-mode-from-indicator):
2421 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2422 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2423 (c-toggle-hungry-state):
2424 * progmodes/antlr-mode.el (antlr-language-alist):
2425 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2426 * progmodes/vhdl-mode.el (vhdl-mode):
2427 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2428 * term/ns-win.el (ns-face-at-pos):
2429 * term/sup-mouse.el (sup-mouse-report):
2430 * textmodes/flyspell.el (flyspell-mode-line-string):
2431 * textmodes/ispell.el (ispell-highlight-face):
2432 * textmodes/reftex-global.el:
2433 * vc/vc-arch.el (vc-arch-mode-line-string):
2434 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2435 * vc/vc-git.el (vc-git-mode-line-string):
2436 * vc/vc-hooks.el (vc-display-status)
2437 (vc-default-mode-line-string):
2438 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2439
2440 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2441
2442 * dired.el (dired-sort-set-mode-line): Rename from
2443 dired-sort-set-modeline. All callers changed.
2444
2445 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2446 eshell-status-in-modeline.
2447
2448 * foldout.el (foldout-mode-line-string): Rename from
2449 foldout-modeline-string. All callers changed.
2450 (foldout-update-mode-line): Rename from foldout-update-modeline.
2451
2452 * subr.el (redraw-modeline): Make into obsolete alias.
2453
2454 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2455 timeclock-modeline-display. Make old name an alias.
2456 (timeclock-update-mode-line): Likewise. All callers changed.
2457 (timeclock-mode-line-display): No need to check before using
2458 add-hook.
2459 (timeclock-relative, timeclock-day-over-hook)
2460 (timeclock-use-elapsed, timeclock-mode-string)
2461 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2462
2463 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2464 crisp-mode-modeline-string.
2465
2466 * play/solitaire.el (solitaire-build-mode-line): Rename from
2467 solitaire-build-modeline. All callers changed.
2468
2469 * play/zone.el (zone-hiding-mode-line): Rename from
2470 zone-hiding-modeline. All callers changed.
2471 (zone): Remove unusued `modeline-hidden-level' property.
2472
2473 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2474 xscheme-modeline-initialize. All callers changed.
2475
2476 * strokes.el (strokes-lighter): Rename from
2477 strokes-modeline-string.
2478
2479 * textmodes/sgml-mode.el (html-face-tag-alist)
2480 (html-tag-face-alist): Use mode-line face instead of obsolete
2481 alias modeline.
2482
42152ee4
SM
24832012-06-02 Stefan Merten <smerten@oekonux.de>
2484
2485 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2486 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2487
95f520b5
CY
24882012-06-02 Chong Yidong <cyd@gnu.org>
2489
2490 * image.el (imagemagick-enabled-types): Rename from
2491 imagemagick-types-enable. Add many more types.
2492 (imagemagick-types-inhibit): Change default to nil.
2493 (imagemagick-filter-types): Caller changed.
2494
4a5f187a
SM
24952012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2496
03fef3e6
SM
2497 * emacs-lisp/cl-macs.el: Use backquotes.
2498 (cl-transform-function-property): Use eval-and-compile rather than
2499 abusing `require'.
2500 (defstruct): Use declare-function instead of with-no-warnings.
2501
4a5f187a
SM
2502 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2503 (byte-compile-output-docform): Re-add the print-circle bindings.
2504 (byte-compile-fix-header): Use #$ just because it's shorter.
2505 (byte-compile-output-file-form): Remove defun/defmacro.
2506
bd56924f
MR
25072012-06-01 Martin Rudalics <rudalics@gmx.at>
2508
2509 * simple.el (choose-completion): Remove now obsolete binding for
2510 owindow.
2511
046e38ce
MA
25122012-06-01 Michael Albinus <michael.albinus@gmx.de>
2513
2514 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2515 in order to avoid "Stack overflow in regexp matcher".
2516
32d72c2f
GM
25172012-05-31 Glenn Morris <rgm@gnu.org>
2518
2519 * image.el: For clarity, call imagemagick-register-types at
2520 top-level, rather than relying on a custom :initialize.
2521 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2522 (imagemagick-filter-types): New function. (Bug#7406)
2523 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2524 If disabling support, remove elements altogether rather
2525 than using an impossible regexp.
2526 (imagemagick-types-inhibit): Give it the default init function.
2527
dd41169b
SM
25282012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2529
4a5f187a
SM
2530 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2531 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2532
efc00ab1 25332012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2534
2535 * desktop.el (desktop-read): Clear previous and next buffers for
2536 all windows and bury *Messages* buffer (bug#11556).
2537
500fcedc
SM
25382012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 Add `declare' for `defun'. Align `defmacro's with it.
2541 * emacs-lisp/easy-mmode.el (define-minor-mode)
2542 (define-globalized-minor-mode): Don't autoload the var definitions.
2543 * emacs-lisp/byte-run.el: Use lexical-binding.
2544 (defun-declarations-alist, macro-declarations-alist): New vars.
2545 (defmacro, defun): Use them.
2546 (make-obsolete, define-obsolete-function-alias)
2547 (make-obsolete-variable, define-obsolete-variable-alias):
2548 Use `declare'.
2549 (macro-declaration-function): Mark obsolete.
2550 * emacs-lisp/autoload.el: Use lexical-binding.
2551 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2552
6e8a1786
AM
25532012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2554
2555 * textmodes/ispell.el (ispell-with-no-warnings):
2556 Define as a macro.
500fcedc
SM
2557 (ispell-kill-ispell, ispell-change-dictionary):
2558 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2559 `interactive-p'.
2560
61b108cc
SM
25612012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2564 (macro-declaration-function): Move var from C code.
2565 (macro-declaration-function): Define function with defalias.
2566 * emacs-lisp/macroexp.el (macroexpand-all-1):
2567 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2569 defun/defmacro any more.
2570 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2571 Provide fallback for unknown arglist.
2572 (byte-compile-arglist-warn): Change calling convention.
2573 (byte-compile-output-file-form): Move print-vars binding.
2574 (byte-compile-output-docform): Simplify accordingly.
2575 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2576 (byte-compile-defmacro-declaration): Remove.
2577 (byte-compile-file-form-defmumble): Generalize to defalias.
2578 (byte-compile-output-as-comment): Return byte-positions.
2579 Simplify callers accordingly.
2580 (byte-compile-lambda): Use `assert'.
2581 (byte-compile-defun, byte-compile-defmacro): Remove.
2582 (byte-compile-file-form-defalias):
2583 Use byte-compile-file-form-defmumble.
2584 (byte-compile-defalias-warn): Remove.
2585
6d3f7c2f
SM
25862012-05-29 Stefan Merten <smerten@oekonux.de>
2587
2588 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2589 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2590
2591 (rst-mode-abbrev-table): Merge definition.
2592 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2593 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2594
6dbaa1c7
UJ
25952012-05-29 Ulf Jasper <ulf.jasper@web.de>
2596
2597 * calendar/icalendar.el
2598 (icalendar-export-region): Export UID properly.
2599
d209e2fb 26002012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2601 * calendar/icalendar.el (icalendar-import-format):
2602 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2603 (icalendar-import-format-uid): New.
2604 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2605 Export UID.
2606
6876a58d
SM
26072012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2610 different alternative patterns.
2611 (pcase-codegen): Be more careful to preserve identity.
2612 (pcase--u1): Don't forget to mark vars as used.
2613
2614 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2615 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2616 (byte-compile-from-buffer): ...rather than here.
2617
2618 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2619 functions from byte-compile-function-environment.
2620
46b7967e
TN
26212012-05-29 Troels Nielsen <bn.troels@gmail.com>
2622
2623 * window.el (window-deletable-p): Avoid deleting the root window
2624 of a frame with an active minibuffer.
2625
69d565e2
MR
26262012-05-29 Martin Rudalics <rudalics@gmx.at>
2627
2628 * simple.el (choose-completion): Use quit-window (Bug#11567).
2629
a149fa51
CY
26302012-05-29 Chong Yidong <cyd@gnu.org>
2631
2632 * whitespace.el (whitespace-cleanup): Fix usage of
2633 whitespace-empty-at-bob-regexp (Bug#11492).
2634
2b311310
AH
26352012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2636
2637 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2638 revert (Bug#11488).
2639
b9cb2387
JL
26402012-05-29 Juri Linkov <juri@jurta.org>
2641
2642 * isearch.el (isearch-mode-map): Bind `M-s _' to
2643 `isearch-toggle-symbol'. Bind `M-s c' to
2644 `isearch-toggle-case-fold'.
2645 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2646 (isearch-forward): Add `M-s _' to the docstring.
2647 (isearch-forward-symbol, isearch-toggle-case-fold)
2648 (isearch-symbol-regexp): New functions. (Bug#11381)
2649
d5e61c1c
JL
26502012-05-29 Juri Linkov <juri@jurta.org>
2651
2652 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2653 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2654 a function, call it to get the regexp.
2655 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2656 property `isearch-message-prefix' instead of the string "word ".
2657 (isearch-search-fun-default): For the case of `isearch-word',
2658 return a lambda that calls re-search-forward/re-search-backward
2659 with a regexp returned by `word-search-regexp' or by the function
2660 in `isearch-word'.
2661
8cbd80f7
JL
26622012-05-29 Juri Linkov <juri@jurta.org>
2663
2664 * isearch.el (isearch-search-fun-default): New function.
2665 (isearch-search-fun): Move default part to the new function
2666 `isearch-search-fun-default'.
2667 (isearch-search-fun-function): Set the default value to
2668 `isearch-search-fun-default'. (Bug#11381)
2669
2670 * comint.el (comint-history-isearch-end):
2671 Use `isearch-search-fun-default'.
2672 (comint-history-isearch-search): Use `isearch-search-fun-default'
2673 and remove spacial case for `isearch-word'.
2674 (comint-history-isearch-wrap): Remove spacial case for
2675 `isearch-word'.
2676
2677 * hexl.el (hexl-isearch-search-function):
2678 Use `isearch-search-fun-default'.
2679
2680 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2681 Use `word-search-regexp' for `isearch-word'.
2682
2683 * misearch.el (multi-isearch-search-fun):
2684 Use `isearch-search-fun-default'.
2685
2686 * simple.el (minibuffer-history-isearch-search):
2687 Use `isearch-search-fun-default' and remove spacial case for
2688 `isearch-word'.
2689 (minibuffer-history-isearch-wrap): Remove spacial case for
2690 `isearch-word'.
2691
2692 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2693 Remove spacial case for `isearch-word'.
2694 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2695
85c8c5b6
AM
26962012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2697
2698 Decrease XEmacs incompatibilities.
2699 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2700 Use `string-match'.
2701 (flyspell-delete-region-overlays): Use alternative definition for
2702 XEmacs.
2703 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2704 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2705 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2706 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2707 `define-obsolete-face-alias' under XEmacs, but old method.
2708
2709 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2710 `with-no-warnings' definition or Emacs alias.
2711 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2712 (ispell-word): Do not use `region-p' if XEmacs.
2713
8cab9efc
AM
27142012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2715
2716 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2717 Check for `ispell-dictionary-base-alist' instead of full
2718 `ispell-dictionary-alist'.
2719 (ispell-init-process): Show spellchecker when starting new Ispell
2720 process.
2721
fda91268
RZ
27222012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2723
2724 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2725 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2726
694ea8e3
JB
27272012-05-27 Juanma Barranquero <lekktu@gmail.com>
2728
2729 * version.el (motif-version-string, gtk-version-string)
2730 (ns-version-string): Declare.
2731
e4d4f539
JL
27322012-05-27 Juri Linkov <juri@jurta.org>
2733
2734 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2735 after the `eval-defun-1' specialcaseing
2736 like in `edebug-eval-defun' (bug#10181).
2737
2738 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2739 like in `eval-defun-1'.
2740
33017faf 27412012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2742
fda91268
RZ
2743 * mail/sendmail.el (mail-yank-region):
2744 Recognize rmail-yank-current-message in addition to insert-buffer.
2745 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2746 a *mail* buffer created through rmail-start-mail with sendmail as
2747 mail-user-agent.
2748
33017faf
GM
27492012-05-27 Chong Yidong <cyd@gnu.org>
2750
2751 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2752 Default to 256 (Bug#11267).
2753
2754 * help.el (describe-mode): Doc fix.
2755
04188bb9
GM
27562012-05-26 Glenn Morris <rgm@gnu.org>
2757
38264cc9
GM
2758 * w32-fns.el (w32-init-info): Remove.
2759 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2760
eb7afdad
GM
2761 * info.el (info-initialize): For self-contained NS builds, put the
2762 included info/ directory at the front. (Bug#2791)
2763
04188bb9
GM
2764 * paths.el (Info-default-directory-list): Make it a defcustom,
2765 mainly so that we can use custom-initialize-delay.
2766
a179e3f7
SM
27672012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2768
43416392
SM
2769 * subr.el (buffer-has-markers-at): Mark obsolete.
2770
a179e3f7 2771 * subr.el (lambda): Use declare.
43416392 2772
a179e3f7
SM
2773 * emacs-lisp/lisp-mode.el (lambda):
2774 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2775
34a008d9
AH
27762012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2777
2778 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2779
0a3b289f
GM
27802012-05-26 Glenn Morris <rgm@gnu.org>
2781
2782 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2783
758c81e8
GM
27842012-05-25 Glenn Morris <rgm@gnu.org>
2785
f9f334f0
GM
2786 * paths.el: Remove no-byte-compile.
2787 * loadup.el: No need to load paths.el uncompiled.
2788
87eb79c2
GM
2789 * image.el (imagemagick-types-inhibit): Doc fix.
2790
758c81e8
GM
2791 * version.el: Remove no-byte-compile and associated formatting.
2792 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2793 is ancient code from when there was an "inc-vers.el".
2794
e7e85dc0
SM
27952012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * progmodes/gdb-mi.el: Minor style changes.
2798 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2799 Turn into minor modes.
2800 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2801 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2802 (gdb-shell): Remove unneeded let-binding.
2803 (gdb-get-many-fields): Eliminate O(n²) behavior.
2804
f31237a4
EZ
28052012-05-25 Eli Zaretskii <eliz@gnu.org>
2806
2807 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2808 platforms that don't link in fontset.c.
2809
bc1b21bb
JL
28102012-05-25 Juri Linkov <juri@jurta.org>
2811
2812 Use the same diff color scheme as in modern VCSes (bug#10181).
2813
2814 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2815 to avoid confusion with `diff-added' that now uses green colors.
2816 (diff-removed): Use shades of red.
2817 (diff-added): Use shades of green.
2818 (diff-changed): Leave just the yellow color.
2819 (diff-use-changed-face): New variable.
2820 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2821 how to highlight context diff changes.
2822 (diff-refine-change): Use shades of yellow.
2823 (diff-refine-removed): New face that uses shades of red.
2824 (diff-refine-added): New face that uses shades of green.
2825 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2826 `diff-refine-removed' in the call to `smerge-refine-subst'
2827 depending on the value of `diff-use-changed-face'.
2828
2829 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2830 (smerge-other): Use shades of green.
2831 (smerge-base): Use shades of yellow.
2832 (smerge-refined-change): Empty face.
2833 (smerge-refined-removed): New face that uses shades of red.
2834 (smerge-refined-added): New face that uses shades of green.
2835 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2836 args `props-r' and `props-a', and use them. Doc fix.
2837 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2838 on its value use different faces `smerge-refined-change',
2839 `smerge-refined-removed', `smerge-refined-added' in the call to
2840 `smerge-refine-subst'.
2841
2842 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2843 Add face condition `min-colors 88' with shades of red.
2844 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2845 `min-colors 88' with shades of green.
2846 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2847 `min-colors 88' with shades of yellow.
2848
6df9112c
GM
28492012-05-24 Glenn Morris <rgm@gnu.org>
2850
ead5edc0
GM
2851 * paths.el (prune-directory-list, remote-shell-program): Move to...
2852 * files.el (prune-directory-list, remote-shell-program): ...here.
2853 For the latter, delay initialization, prefer ssh, just search PATH.
2854
f18b81e6
GM
2855 * paths.el (term-file-prefix): Move to faces.el (the only user).
2856 * faces.el (term-file-prefix): Move here, make it a defcustom.
2857
ee2f89a6
GM
2858 * paths.el (news-directory, news-path, news-inews-program):
2859 Move to gnus/nnspool.el.
61a583ca 2860
f8815e4c
GM
2861 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2862
c8f3b42c
GM
2863 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2864 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2865 Make the latter a defcustom, with a delayed initialization.
2866
6df9112c
GM
2867 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2868 These were deleted from Gnus itself late 2010.
2869
5dadff36
JB
28702012-05-22 Juanma Barranquero <lekktu@gmail.com>
2871
9e1701c6
JB
2872 * progmodes/which-func.el (which-func-ff-hook):
2873 Check against user-error, not error.
2874
bd7239f5 2875 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2876 cl-specs.el, which no longer exists.
2877
3290526d
GM
28782012-05-22 Glenn Morris <rgm@gnu.org>
2879
2880 * info.el (info-emacs-bug): New command.
2881 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2882 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2883
ff0c3cfb
GM
28842012-05-21 Glenn Morris <rgm@gnu.org>
2885
2886 * makefile.w32-in (update-subdirs-SH):
2887 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2888
5814f126
SM
28892012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2890
a52c0aa0
SM
2891 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2892
5814f126
SM
2893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2894 Simplify Maven regexp, and make sure the file can't start with a space
2895 (bug#11517).
2896
b847032c
GM
28972012-05-21 Glenn Morris <rgm@gnu.org>
2898
2899 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2900 Scrap superfluous subshells.
2901
3858bfe7
SM
29022012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2903
2904 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2905 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2906
d14b0029
JB
29072012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2908
2909 * calc/calc.el (calc-ensure-consistent-units): New variable.
2910
a52c0aa0
SM
2911 * calc/calc-units.el (math-consistent-units-p)
2912 (math-check-unit-consistency): New functions.
2913 (calc-quick-units, calc-convert-units):
2914 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2915 is non-nil.
d14b0029
JB
2916 (calc-extract-units): Fix typo.
2917
60c4db3a
SM
29182012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2919
77f3b62e
SM
2920 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2921
60c4db3a
SM
2922 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2923 (flyspell-default-deplacement-commands): Don't spell check after
2924 repeated window/frame switches (e.g. triggered by mouse-movement).
2925 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2926 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2927 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2928 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2929 Remove unused vars.
2930 (flyspell-get-casechars, flyspell-get-not-casechars):
2931 Simplify; Don't bother removing a ] just to add it back.
2932 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2933
d209e2fb 29342012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2935
2936 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2937 New functions.
bd7239f5 2938 (math-function-table): Add support for more C functions.
b1a10716 2939
3f1b25b5
AM
29402012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2941
090bd7cb
JB
2942 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2943 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2944 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2945
b581bb5c
SM
29462012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2947
2948 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2949 their respective macro declarations.
2950 * skeleton.el (define-skeleton):
2951 * progmodes/compile.el (define-compilation-mode):
2952 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2953 (define-ibuffer-filter):
2954 * emacs-lisp/generic.el (define-generic-mode):
2955 * emacs-lisp/easy-mmode.el (define-minor-mode)
2956 (define-globalized-minor-mode):
2957 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2958 * emacs-lisp/byte-run.el (defsubst):
2959 * custom.el (deftheme): Add doc-string metadata.
2960
70b8ef8f
SM
29612012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2964
b1198e17
SM
29652012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2966
9abdc45d
SM
2967 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2968
b1198e17
SM
2969 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2970 * emacs-lisp/cl-macs.el: Idem.
2971 * emacs-lisp/cl-specs.el: Remove.
2972
4735906a
SM
29732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 Minor renaming of internal CL functions and variables.
2976 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2977 (cl--position): Rename from cl-position.
2978 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2979 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2980 (cl--random-state): Rename from *random-state*.
2981
ac348012
SM
29822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2985 parens around the arg list (bug#11499).
2986
a0a79cde
JL
29872012-05-17 Juri Linkov <juri@jurta.org>
2988
2989 * isearch.el (word-search-regexp, word-search-backward)
2990 (word-search-forward, word-search-backward-lax)
2991 (word-search-forward-lax): Move functions from search.c
2992 (bug#10145, bug#11381).
2993
65034a51
AM
29942012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2995
090bd7cb
JB
2996 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2997 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2998 Delay for otherchars as for normal word components.
65034a51 2999
1a72a195
SM
30002012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * minibuffer.el (completion--sifn-requote): Fix last change.
3003 (minibuffer-local-must-match-filename-map):
3004 Move define-obsolete-variable-alias before its var.
3005
fdb058c2
SM
30062012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3007
c41045e6
SM
3008 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3009
036dfb8b
SM
3010 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3011 behavior.
3012 (completion--string-equal-p): New function.
3013 (completion--twq-all): Use it to get better assertion failure data.
3014
2473256d
SM
3015 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3016 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3017 (shell--requote-argument): New functions.
3018 (shell-completion-vars): Use them.
3019 (shell--parse-pcomplete-arguments): Rename from
3020 shell-parse-pcomplete-arguments.
3021 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3022 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3023 Obey comint-file-name-quote-list.
3024
fdb058c2
SM
3025 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3026 (smie-indent-keyword): Use it.
3027
51fa99f1
SM
30282012-05-14 Stefan Merten <smerten@oekonux.de>
3029
3030 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3031
e18afed7 30322012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3033
3034 * net/rlogin.el (rlogin-mode-map): Fix last change.
3035
e18afed7 30362012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3037
3038 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3039 the following \r\n using a single `process-send-string', since the
3040 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3041 with two `process-send-string's (Bug#11444).
8633b1f4 3042
e18afed7 30432012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3044
fdb058c2
SM
3045 * shell.el (shell-parse-pcomplete-arguments):
3046 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3047
2d21d7f6
WJ
30482012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3049
e18afed7 3050 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3051 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3052 (image-transform-width, image-transform-fit-width): New functions.
3053 (image-transform-properties): Use them.
3054 (image-transform-check-size): New function.
3055 (image-toggle-display-image): Use it (for testing).
3056 (image-transform-set-rotation): Reduce angle mod 360.
3057 Delete obsolete comment.
3058
7102e6d0
WJ
30592012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3060
3061 * image-mode.el: Fix scaling (bug#11399).
3062 (image-transform-resize): Doc fix.
3063 (image-transform-properties): Default scale is 1 and height should
3064 be an integer.
3065
06bc5e6e
SM
30662012-05-13 Johan Bockgård <bojohan@gnu.org>
3067
3068 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3069 than hard-coding `car', to fix misbehavior when moving forward.
3070
0ae03b6a
CY
30712012-05-13 Chong Yidong <cyd@gnu.org>
3072
3073 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3074 (tabulated-list-entries, tabulated-list-padding)
3075 (tabulated-list-sort-key): Make permanent-local.
3076
3077 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3078 (electric-buffer-list): Put electric buffer menu
3079 command descriptions in this docstring, instead of the docstring
3080 of electric-buffer-menu-mode. Code cleanups.
3081 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3082 Electric-buffer-menu-mode.
3083 (electric-buffer-update-highlight): Minor code cleanup.
3084
205a7391
MA
30852012-05-13 Michael Albinus <michael.albinus@gmx.de>
3086
3087 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3088 (Bug#11447)
3089
e5bd0a28
SM
30902012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 Move define-obsolete-variable-alias before the var's definition.
3093 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3094 * tooltip.el (tooltip-hook):
3095 * textmodes/reftex-toc.el (reftex-toc-map):
3096 * textmodes/reftex-sel.el (reftex-select-label-map)
3097 (reftex-select-bib-map):
3098 * textmodes/reftex-index.el (reftex-index-map)
3099 (reftex-index-phrases-map):
3100 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3101 * progmodes/meta-mode.el (meta-mode-map):
3102 * novice.el (disabled-command-hook):
3103 * loadhist.el (unload-hook-features-list):
3104 * frame.el (blink-cursor):
3105 * files.el (find-file-not-found-hooks, write-file-hooks)
3106 (write-contents-hooks):
3107 * emulation/tpu-edt.el (GOLD-map):
3108 * emacs-lock.el (emacs-lock-from-exiting):
3109 * emacs-lisp/generic.el (generic-font-lock-defaults):
3110 * emacs-lisp/chart.el (chart-map):
3111 * dos-fns.el (register-name-alist):
3112 * dired-x.el (dired-omit-files-p):
3113 * desktop.el (desktop-enable):
3114 * cus-edit.el (custom-mode-hook):
3115 * buff-menu.el (buffer-menu-mode-hook):
3116 * bookmark.el (bookmark-read-annotation-text-func)
3117 (bookmark-exit-hooks):
3118 * allout.el (allout-mode-deactivate-hook)
3119 (allout-exposure-change-hook, allout-structure-added-hook)
3120 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3121 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3122 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3123 comes before the corresponding variable's definition.
3124
ac59c2f6
CY
31252012-05-12 Chong Yidong <cyd@gnu.org>
3126
3127 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3128 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3129 (Buffer-menu-mode-map): Bind it.
3130 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3131
dee6c9a3
SM
31322012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3133
2171cea5
SM
3134 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3135 (prolog-upper-case-string, prolog-lower-case-string)
3136 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3137 (prolog-use-smie, prolog-smie-grammar): New vars.
3138 (prolog-smie-forward-token, prolog-smie-backward-token)
3139 (prolog-smie-rules): New funs.
3140 (prolog-comment-indent): Remove.
3141 (prolog-mode-variables): Use default comment indentation instead.
3142 Setup SMIE.
3143 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3144 (prolog-mode): Don't call them any more.
3145 (prolog-electric-colon, prolog-electric-dash)
3146 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3147
aa0382bd
SM
3148 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3149
dbacb4bd
SM
3150 * minibuffer.el (completion--twq-all): Again, allow case differences.
3151
13bdd94c
SM
3152 * term.el: Move keymap initialization code to be more idiomatic.
3153 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3154 (term-terminal-menu): Move initialization into declaration.
3155 (term-escape-char): Let the user set it in her .emacs.
3156
ff46c759
SM
3157 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3158 Provide SMIE-based indentation (not enabled by default yet).
3159 (sh-mode-map): Don't bind electric keys.
3160 Use electric-pair-mode instead of skeleton-pair.
3161 (sh-assignment-regexp): Fit within 80 columns.
3162 (sh-indent-supported): Specify actual shell name instead of boolean.
3163 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3164 (sh-maybe-here-document): Use it. Make obsolete.
3165 (sh-electric-here-document-mode) New minor mode.
3166 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3167 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3168 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3169 (sh-smie-rc-grammar, sh-use-smie): New vars.
3170 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3171 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3172 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3173 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3174 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3175 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3176 (sh-set-shell): Use smie-setup if requested.
3177
dee6c9a3
SM
3178 * term.el (term-set-escape-char): Properly set term-escape-char.
3179 See http://stackoverflow.com/questions/10524656.
3180
9f9aa044
CY
31812012-05-10 Chong Yidong <cyd@gnu.org>
3182
3183 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3184 Use url-generic-parse-url, and handle host names and Windows
3185 filenames properly.
3186 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3187 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3188 URL schemes to work on.
3189 (ffap--toggle-read-only): New function.
3190 (ffap-read-only, ffap-read-only-other-window)
3191 (ffap-read-only-other-frame): Use it.
3192 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3193 necessary for ffap-url-unwrap-remote.
3194
836d29b3
DA
31952012-05-10 Dave Abrahams <dave@boostpro.com>
3196
3197 * cus-start.el (create-lockfiles): Add it.
3198
00fd78ed
CY
31992012-05-09 Chong Yidong <cyd@gnu.org>
3200
3201 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3202 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3203
666b903b 32042012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3205
3206 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3207
666b903b 32082012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3209
3210 * ansi-color.el (ansi-color-process-output): Check for validity of
3211 comint-last-output-start before using it. This avoids a bad
3212 interaction with gdb-mi's input/output buffer.
3213
666b903b 32142012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3215
3216 * files.el (dir-locals-read-from-file):
3217 Mention dir-locals in any error message.
3218
666b903b 32192012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3220
3221 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3222 package (Bug#11410).
3223
f677562b
CY
3224 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3225 variables into description.
3226
666b903b 32272012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3228
3229 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3230 shell-delimiter-argument-list (bug#11348).
3231 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3232
b499d8d0
JB
32332012-05-09 Juanma Barranquero <lekktu@gmail.com>
3234
8f6b6da8
JB
3235 * textmodes/rst.el: Silence byte-compiler warnings.
3236 (rst-re-alist, rst-reset-section-caches): Move around.
3237 (rst-re): Use `characterp', not `char-valid-p'.
3238 (font-lock-beg, font-lock-end): Declare.
3239
4824146a
JB
3240 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3241 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3242
b499d8d0
JB
3243 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3244
ad89bb83
GM
32452012-05-08 Glenn Morris <rgm@gnu.org>
3246
3247 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3248
8bba5a75
SM
32492012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3250
49ed9c8e
SM
3251 * vc/log-edit.el: Add GNU coding standards highlighting.
3252 (log-edit-font-lock-gnu-style)
3253 (log-edit-font-lock-gnu-keywords): New vars.
3254 (log-edit-font-lock-keywords): New fun.
3255 (log-edit-mode): Don't fold case in font-lock.
3256 (log-edit-font-lock-keywords): Do not assume case-folding.
3257
07d00b56
SM
3258 * imenu.el: Misc cleanup. Make docstrings out of comments.
3259 Use lexical-binding.
3260 (imenu--index-alist, imenu--last-menubar-index-alist)
3261 (imenu-menubar-modified-tick): Use defvar-local.
3262 (imenu--split-menu): Remove unused var.
3263 (imenu--cleanup-seen): Declare as global.
3264 (imenu--cleanup): Use dolist.
3265
8bba5a75
SM
3266 * subr.el (defvar-local): Add debug spec and doc-string position.
3267
5075bdb5
GM
32682012-05-08 Glenn Morris <rgm@gnu.org>
3269
090bd7cb 3270 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3271 * language/english.el, language/georgian.el, language/greek.el:
3272 * language/japanese.el, language/khmer.el, language/korean.el:
3273 * language/lao.el, language/misc-lang.el, language/romanian.el:
3274 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3275 * language/thai.el, language/utf-8-lang.el:
3276 Remove no-byte-compile setting.
3277
5075bdb5
GM
3278 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3279
06f679a7
AH
32802012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3281
3282 * progmodes/make-mode.el (makefile-browse):
3283 Remove unnecessary interactive. (Bug#11324)
3284
03794570
GM
32852012-05-07 Glenn Morris <rgm@gnu.org>
3286
af8630f4
GM
3287 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3288
03794570
GM
3289 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3290
f0809a9d
SM
32912012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3292
28be5ce7
SM
3293 * loadup.el: Preload newcomment.el.
3294 * newcomment.el: Move autoload-only code to toplevel.
3295
f0809a9d
SM
3296 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3297 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3298 Handle new :right-align column property.
3299 (tabulated-list-print-col): Idem, plus use `display' text-property to
3300 try and preserve alignment for variable pitch fonts.
3301
1241b724
CY
33022012-05-07 Chong Yidong <cyd@gnu.org>
3303
3304 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3305 (tabulated-list-use-header-line): New var.
3306 (tabulated-list-init-header): Use it.
3307 (tabulated-list-print-fake-header): New function.
3308 (tabulated-list-print): Use it.
3309 (tabulated-list-sort-button-map): Add non-header-line commands.
3310 (tabulated-list-init-header): Add column name property to basic
3311 labels as well.
3312 (tabulated-list-col-sort): Handle non-header-line button case.
3313 (tabulated-list--sort-by-column-name): Fix a corner case.
3314
f0809a9d
SM
3315 * buff-menu.el (list-buffers--refresh):
3316 Handle Buffer-menu-use-header-line.
1241b724 3317
e5f9458f
CY
33182012-05-06 Chong Yidong <cyd@gnu.org>
3319
3320 * buff-menu.el: Convert to Tabulated List mode.
3321 (Buffer-menu-buffer+size-width): Make obsolete.
3322 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3323 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3324 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3325 documentation into docstring of buffer-menu.
3326 (Buffer-menu-toggle-files-only): Add an informative message.
3327 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3328 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3329 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3330 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3331 (Buffer-menu-execute, Buffer-menu-select)
3332 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3333 (Buffer-menu-bury): Use Tabulated List machinery.
3334 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3335 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3336 Delete.
e5f9458f
CY
3337 (list-buffers--refresh): New function.
3338 (list-buffers-noselect): Use it.
3339 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3340 (Buffer-menu--pretty-file-name): New helper functions.
3341
3342 * loadup.el: Preload tabulated-list.
3343
3344 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3345 tabulated-list-sort-column.
3346 (tabulated-list-init-header): Add the initial aligning space even
3347 if tabulated-list-padding is zero.
3348
e129292c
CS
33492012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3350
3351 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3352 whose cdr is not a cons cell correctly (bug#11038).
3353
6632d361
CY
33542012-05-06 Chong Yidong <cyd@gnu.org>
3355
e129292c
CS
3356 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3357 Accept additional plist in column descriptors.
6632d361
CY
3358 (tabulated-list-init-header): Obey it.
3359 (tabulated-list-get-entry): New function.
3360 (tabulated-list-put-tag): Use it. Use string-width instead of
3361 length.
3362 (tabulated-list--column-number): New function.
3363 (tabulated-list-print): Use it.
e129292c
CS
3364 (tabulated-list-print-col): New function.
3365 Set `tabulated-list-column-name' property on each column's text.
6632d361 3366 (tabulated-list-print-entry): Use it.
e129292c
CS
3367 (tabulated-list-delete-entry, tabulated-list-set-col):
3368 New functions.
6632d361
CY
3369 (tabulated-list-sort-column): New command (Bug#11337).
3370
3cc99f68
CY
3371 * buff-menu.el (list-buffers): Move C-x C-b binding from
3372 buff-menu.el to bindings.el.
3373
3374 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3375 :advertised-binding feature.
3376
52b61776
TN
33772012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3378
3379 * progmodes/compile.el (compilation-internal-error-properties):
3380 Calculate start position correctly when end-col is set but
3381 end-line is not (Bug#11382).
3382
ebfe2597
WJ
33832012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3384
3385 * man.el (Man-unindent): Use text-property-default-nonsticky to
3386 prevent untabify from inheriting face properties (Bug#11408).
3387
6d3f7c2f
SM
33882012-05-05 Stefan Merten <smerten@oekonux.de>
3389
3390 * textmodes/rst.el: Major merge with upstream development up to
3391 Docutils SVN r7399 / rst.el V1.2.1.
3392
3393 Clarify maintainership and authors.
3394
3395 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3396 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3397 (rst-official-version, rst-official-cvs-rev, rst-version)
3398 (rst-package-emacs-version-alist): New functions and variables
3399 for version information.
3400
3401 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3402 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3403 (rst-mode-syntax-table, rst-mode): New and corrected functions
3404 and variables representing reStructuredText features.
3405
3406 (rst-re): New function for reStructuredText regexes. Use in
3407 many places.
3408
3409 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3410 (rst-mode-map): Rebind keys.
3411
3412 (rst-mode-lazy, rst-font-lock-keywords)
3413 (rst-font-lock-extend-region)
3414 (rst-font-lock-extend-region-internal)
3415 (rst-font-lock-extend-region-extend)
3416 (rst-font-lock-find-unindented-line-limit)
3417 (rst-font-lock-find-unindented-line-match)
3418 (rst-adornment-level, rst-font-lock-adornment-level)
3419 (rst-font-lock-adornment-match)
3420 (rst-font-lock-handle-adornment-pre-match-form)
3421 (rst-font-lock-handle-adornment-matcher): Major revision of
3422 font-locking. Integrate with other code. Use `jit-lock-mode'.
3423
3424 (rst-preferred-adornments, rst-adjust-hook)
3425 (rst-new-adornment-down, rst-preferred-bullets)
3426 (rst-preferred-bullets, rst-indent, rst-indent-width)
3427 (rst-indent-field, rst-indent-literal-normal)
3428 (rst-indent-literal-minimized, rst-indent-comment): Change,
3429 extend and improve customization.
3430
3431 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3432 (rst-normalize-cursor-position, rst-get-decoration)
3433 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3434 (rst-rstrip, rst-toc-insert-find-delete-contents)
3435 (rst-shift-fill-region, rst-compute-bullet-tabs)
3436 (rst-debug-print-tabs, rst-debug-mark-found)
3437 (rst-shift-region-guts, rst-shift-region-right)
3438 (rst-shift-region-left, rst-use-char-classes)
3439 (rst-font-lock-keywords-function)
3440 (rst-font-lock-indentation-point)
3441 (rst-font-lock-find-unindented-line-begin)
3442 (rst-font-lock-find-unindented-line-end)
3443 (rst-font-lock-find-unindented-line)
3444 (rst-font-lock-adornment-point, rst-font-lock-level)
3445 (rst-adornment-level-alist): Remove functions and variables.
3446
3447 (rst-compare-adornments, rst-get-adornment-match)
3448 (rst-suggest-new-adornment, rst-get-adornments-around)
3449 (rst-adornment-complete-p, rst-get-next-adornment)
3450 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3451 (rst-straighten-adornments): Standardize function names to
3452 use "adornment" instead of "decoration". Correct callers.
3453 Similar standardizing in many places.
3454
3455 (rst-update-section, rst-adjust, rst-promote-region)
3456 (rst-enumerate-region, rst-bullet-list-region)
3457 (rst-repeat-last-character): Correct use of `interactive'.
3458
3459 (rst-classify-adornment, rst-find-all-adornments)
3460 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3461 (rst-find-leftmost-column, rst-repeat-last-character):
3462 Refactor functions.
3463
3464 (rst-find-title-line, rst-reset-section-caches)
3465 (rst-get-adornments-around, rst-adjust-adornment-work)
3466 (rst-arabic-to-roman, rst-roman-to-arabic)
3467 (rst-insert-list-pos, rst-insert-list-new-item)
3468 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3469 New functions.
3470
3471 (rst-all-sections, rst-section-hierarchy)
3472 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3473 New variables.
3474
3475 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3476 configuration instead of only buffer. Change where necessary.
3477
3478 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3479 (rst-shift-region, rst-adaptive-fill): New functions for
3480 indentation and filling.
3481
3482 (rst-comment-line-break, rst-comment-indent)
3483 (rst-comment-insert-comment, rst-comment-region)
3484 (rst-uncomment-region): New functions for handling comments.
3485
3486 (rst-compile): Quote shell arguments.
3487
3488 (rst-compile-pdf-preview, rst-compile-slides-preview):
3489 Delete temporary files after use.
3490
a43f98b3
GM
34912012-05-05 Glenn Morris <rgm@gnu.org>
3492
48176e8b
GM
3493 * calendar/cal-html.el: Optionally include holidays in the output.
3494 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3495 (cal-html-holidays): New option.
3496 (cal-html-css-default): Add holiday entry.
3497 (holiday-in-range): Autoload it.
3498 (cal-html-htmlify-entry): Add optional class argument.
3499 (cal-html-htmlify-list): Add optional holidays argument.
3500 (cal-html-insert-agenda-days): Include holidays in the output.
3501 (cal-html-one-month): Maybe include holidays.
3502
a43f98b3
GM
3503 * calendar/holidays.el (holiday-in-range):
3504 Move here from cal-tex-list-holidays.
3505 * calendar/cal-tex.el (cal-tex-list-holidays):
3506 Make it an obsolete alias for holiday-in-range. Update all callers.
3507
fef9d149 35082012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3509
3510 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3511 Nextstep.
3512
248da2f4
RW
35132012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3514
3515 * files.el (file-auto-mode-skip): New var.
3516 (set-auto-mode-1): Use it.
3517
f95e9344
SM
35182012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3519
df96ab1e
SM
3520 * repeat.el: Use lexical-binding.
3521 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3522 (repeat-undo-count): Remove.
3523 (repeat):
3524 * progmodes/octave-mod.el (octave-abbrev-start):
3525 * progmodes/f90.el (f90-abbrev-start):
3526 * face-remap.el (text-scale-adjust):
3527 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3528
5342bb06
SM
3529 * emacs-lisp/pcase.el (pcase--let*): New function.
3530 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3531 a bit more.
3532 (pcase--split-pred): Be more clever about ruling out overlap between
3533 a predicate and some constant pattern.
3534 (pcase--q1): Use `null' instead of (eq foo nil).
3535
f95e9344
SM
3536 * subr.el (setq-local, defvar-local): New macros.
3537 (kbd): Redefine as an alias.
3538 (with-selected-window): Leave unrelated frames alone.
3539 (set-temporary-overlay-map): New function.
3540
71873e2b
SM
35412012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * subr.el (user-error): New function.
3544 * window.el (switch-to-buffer):
3545 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3546 (smerge-match-conflict):
3547 * simple.el (previous-matching-history-element)
3548 (next-matching-history-element, goto-history-element, undo-more)
3549 (undo-start):
3550 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3551 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3552 (next-file, tags-loop-scan, list-tags, complete-tag):
3553 * progmodes/compile.el (compilation-loop):
3554 * mouse.el (mouse-minibuffer-check):
3555 * man.el (Man-bgproc-sentinel, Man-goto-page):
3556 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3557 (Info-history-forward, Info-follow-reference, Info-menu)
3558 (Info-extract-menu-item, Info-extract-menu-counting)
3559 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3560 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3561 (Info-next-reference, Info-prev-reference, Info-index)
3562 (Info-index-next, Info-follow-nearest-node)
3563 (Info-copy-current-node-name):
3564 * imenu.el (imenu--make-index-alist)
3565 (imenu-default-create-index-function, imenu-add-to-menubar):
3566 * files.el (basic-save-buffer, recover-file):
3567 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3568 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3569 (checkdoc-message-text, checkdoc-defun):
3570 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3571 * cus-edit.el (customize-changed-options, customize-rogue)
3572 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3573 (custom-variable-mark-to-reset-standard)
3574 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3575 (custom-file):
3576 * completion.el (check-completion-length):
3577 * comint.el (comint-search-arg)
3578 (comint-previous-matching-input-string-position)
3579 (comint-previous-matching-input)
3580 (comint-replace-by-expanded-history-before-point, comint-send-input)
3581 (comint-copy-old-input, comint-backward-matching-input)
3582 (comint-goto-process-mark, comint-set-process-mark):
3583 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3584 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3585
8a61ee22
SM
35862012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3587
66408d1e
SM
3588 * dabbrev.el (dabbrev--ignore-case-p): New function.
3589 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3590 Use it.
3591
8a61ee22
SM
3592 * files.el (automount-dir-prefix): Mark as obsolete.
3593
3c74813a
GM
35942012-05-04 Glenn Morris <rgm@gnu.org>
3595
3596 * patcomp.el, play/bruce.el: Move to obsolete/.
3597
0bfcf5c5
PE
35982012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3599
3600 Fix minor Y10k bugs.
3601 * arc-mode.el (archive-unixdate):
3602 * autoinsert.el (auto-insert-alist):
3603 * calc/calc-forms.el (math-this-year):
3604 * emacs-lisp/copyright.el (copyright-current-year)
3605 (copyright-update-year, copyright):
3606 * tar-mode.el (tar-clip-time-string):
3607 * time.el (display-time-update):
3608 Don't assume years have 4 digits.
3609
78f3273a
CY
36102012-05-04 Chong Yidong <cyd@gnu.org>
3611
3612 * dos-w32.el (file-name-buffer-file-type-alist)
3613 (direct-print-region-use-command-dot-com):
3614 * ffap.el (ffap-menu-regexp):
3615 * find-file.el (ff-special-constructs):
3616 * follow.el (follow-debug):
3617 * forms.el (forms--debug):
3618 * iswitchb.el (iswitchb-all-frames):
3619 * ido.el (ido-all-frames):
3620 * emacs-lisp/timer.el (timer-max-repeats):
3621 * mail/feedmail.el (feedmail-mail-send-hook)
3622 (feedmail-mail-send-hook-queued):
3623 * mail/footnote.el (footnote-signature-separator):
3624 * mail/mailabbrev.el (mail-alias-separator-string)
3625 (mail-abbrev-mode-regexp):
3626 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3627 * progmodes/idlwave.el (idlwave-libinfo-file)
3628 (idlwave-default-completion-case-is-down)
3629 (idlwave-library-routines): Convert defvars to defcustoms.
3630
3631 * mail/rmail.el (rmail-decode-mime-charset):
3632 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3633 (idlwave-shell-fix-inserted-breaks)
3634 (idlwave-shell-activate-alt-keybindings)
3635 (idlwave-shell-use-breakpoint-glyph):
3636 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3637
f7ae6719
SM
36382012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3641
47086495
WS
36422012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3643
3644 * progmodes/verilog-mode.el (font-lock-keywords):
3645 Fix mis-highligting auto. Reported by Craig Barner.
3646 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3647 defines from global name space. Reported by Dan Dever.
3648 (verilog-auto-reset, verilog-auto-reset-widths)
3649 (verilog-auto-tieoff): Support using unbased numbers for
3650 AUTORESET and AUTOTIEOFF.
3651 (verilog-submit-bug-report): Update variable list.
3652 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3653 parenthesis from not matching. Reported by Michael Rytting.
3654 (verilog-auto-template-lint): Fix hash error when linting modules
3655 with no used templates.
3656 (verilog-warn, verilog-warn-error)
3657 (verilog-warn-fatal): When non-interactive report multiple
3658 warnings before exiting. Suggested by Brad Dobbie.
3659 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3660 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3661 to report unused template errors. Reported by Brad Dobbie.
3662 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3663 nets, bug438. Reported by Vns Blore.
3664 (verilog-auto-inout-module, verilog-auto-reg)
3665 (verilog-read-decls, verilog-read-sub-decls-sig)
3666 (verilog-signals-edit-wire-reg, verilog-signals-with):
3667 Fix passing of Verilog data types in ANSI input/output ports
3668 such as "output logic" into the AUTOs. Special case "wire" and
3669 "reg" for backwards compatibility presuming Verilog 2001.
3670 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3671 (verilog-preprocess): Fix replication of preprocess output.
3672 Reported by Brad Dobbie.
3673 (verilog-auto-inst-interfaced-ports):
3674 Create verilog-auto-inst-interfaced-ports, bug429.
3675 Reported by Julian Gorfajn.
3676 (verilog-after-save-font-hook)
3677 (verilog-before-save-font-hook): New variable.
3678 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3679 (verilog-save-font-mods): Wrap disabling fontification, reported
3680 by David Rogoff.
3681 (verilog-do-indent, verilog-pretty-declarations-auto)
3682 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3683 Reported by Pierre-David Pfister.
3684 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3685 of class declarations, bug292. Reported by Kevin Heilman.
3686 (verilog-read-decls): Fix 'parameter type' not appearing in
3687 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3688 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3689 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3690 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3691 Reported by David Kravitz.
3692
36932012-05-03 Michael McNamara <mac@mail.brushroad.com>
3694
3695 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3696 assignment with tests in ifs and for loops.
3697 (verilog-extended-complete-re, verilog-complete-reg): Change so
3698 that DPI inport functions don't look like fuction declarations.
3699 (verilog-pretty-expr): Don't line up assignment
3700 operations to the test and increment in if and for loops
3701 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3702 that DPI inport functions don't look like fuction declarations.
47086495 3703
2e51d4b5
KH
37042012-05-03 Kenichi Handa <handa@m17n.org>
3705
3706 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3707 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3708 (Bug#11282).
3709
2bd785a2
SM
37102012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * emacs-lisp/bytecomp.el
3713 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3714 since cconv.el might have introduced :fun-body, internal-make-closure,
3715 and friends for bytecomp to handle (bug#11391).
3716 * custom.el (defcustom): Avoid ((λ ..) ..).
3717
99d27583
SM
37182012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3721
55a71479
JB
37222012-05-02 Juanma Barranquero <lekktu@gmail.com>
3723
3724 * notifications.el (dbus-debug):
3725 * term/linux.el (gpm-mouse-enable):
3726 * term/screen.el (xterm-register-default-colors): Declare.
3727
7b97c764
CY
37282012-05-02 Chong Yidong <cyd@gnu.org>
3729
2bc356d7
CY
3730 * cus-start.el (gc-cons-percentage, exec-suffixes)
3731 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3732 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3733 (make-cursor-line-fully-visible, void-text-area-pointer)
3734 (font-list-limit): Add customization data.
3735
7b97c764
CY
3736 * allout.el (allout-exposure-change-functions)
3737 (allout-structure-added-functions)
3738 (allout-structure-deleted-functions)
3739 (allout-structure-shifted-functions): Rename abnormal hooks from
3740 *-hook, and convert to defcustoms.
5d3385a0
JB
3741 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3742 Convert to defcustoms.
7b97c764
CY
3743 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3744
3745 * allout-widgets.el: Hook callers changed.
3746
90207a15 37472012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3748
3749 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3750 the yanked message in preference to the default value of
3751 buffer-file-coding-system.
3752
90207a15 37532012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3754
5d3385a0
JB
3755 * window.el (display-buffer--action-function-custom-type):
3756 Fix entry.
d9558cad 3757
90207a15 37582012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3759
3760 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3761
d80ac57b
GM
37622012-05-01 Glenn Morris <rgm@gnu.org>
3763
976f7668
GM
3764 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3765
beb83b5a
GM
3766 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3767
d80ac57b
GM
3768 * cus-edit.el (custom-variable-documentation): Simplify with format.
3769
b593d6a9
AH
37702012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3771 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * simple.el (suggest-key-bindings, execute-extended-command):
3774 Move from keyboard.c.
3775
782fbf2a
CY
37762012-05-01 Chong Yidong <cyd@gnu.org>
3777
3778 * follow.el: Eliminate advice.
3779 (set-process-filter, process-filter, sit-for): Advice deleted.
3780 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3781 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3782 Vars deleted.
782fbf2a
CY
3783 (follow-auto): Use a :set function.
3784 (follow-mode): Rewritten. Don't advise process filters.
3785 (follow-switch-to-current-buffer-all, follow-scroll-up)
3786 (follow-scroll-down): Assume follow-mode is bound.
3787 (follow-comint-scroll-to-bottom)
3788 (follow-align-compilation-windows): New functions.
3789 (follow--window-sorter): New function.
3790 (follow-all-followers): Use it to explicitly sort windows by their
3791 positions; don't make assumptions about next-window order.
3792 (follow-windows-start-end, follow-delete-other-windows-and-split)
3793 (follow-calc-win-start): Doc fix.
3794 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3795 vertical-motion unnecessarily.
3796 (follow-adjust-window): New function.
3797 (follow-post-command-hook): Use it.
3798 (follow-call-set-process-filter, follow-call-process-filter)
3799 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3800 (follow-stop-intercept-process-output, follow-generic-filter):
3801 Functions deleted.
3802 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3803 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3804 New functions, replacing advice on scroll-bar-* commands.
87233a14 3805 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3806
3807 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3808 (comint-postoutput-scroll-to-bottom): Use it.
3809 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3810
290af740
GM
38112012-05-01 Glenn Morris <rgm@gnu.org>
3812
3813 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3814 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3815 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3816 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3817 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3818 Remove no-byte-compile setting.
3819
6eac8dc9
SM
38202012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3823 all-completions code to not return a number in the last cdr.
3824
9cc7819c
LL
38252012-04-30 Leo Liu <sdl.web@gmail.com>
3826
3827 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3828 read-only error.
3829
c93b886f
CY
38302012-04-29 Chong Yidong <cyd@gnu.org>
3831
3832 * follow.el (follow-calc-win-end): Rewrite to handle partial
3833 screen lines correctly (Bug#8390).
3834 (follow-avoid-tail-recenter): Minor cleanup.
3835
8b6c19f4
SM
38362012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 Avoid the obsolete `assoc' package.
3839 * speedbar.el (speedbar-refresh): Avoid adelete.
3840 (speedbar-file-lists): Simplify and avoid aput.
3841 * man.el (Man--sections, Man--refpages): New vars, replacing
3842 Man-sections-alist and Man-refpages-alist.
3843 (Man-build-section-alist, Man-build-references-alist):
3844 Use them; avoid aput.
3845 (Man--last-section, Man--last-refpage): New vars.
3846 (Man-follow-manual-reference): Use them.
3847 Use the `default' arg of completing-read.
3848 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3849
c5bb7569
CY
38502012-04-27 Chong Yidong <cyd@gnu.org>
3851
d1d2e2e8
CY
3852 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3853
15cd8efd
CY
3854 * startup.el (x-apply-session-resources): New function.
3855
3856 * term/ns-win.el (ns-initialize-window-system):
3857 * term/w32-win.el (w32-initialize-window-system):
3858 * term/x-win.el (x-initialize-window-system): Use it to properly
3859 set menu-bar-mode and other vars from X resources, even if the
3860 initial frame is not a window-system frame (Bug#2299).
3861
c5bb7569
CY
3862 * subr.el (read-key): Avoid running filter function when setting
3863 up temporary tool bar entries (Bug#9922).
3864
a8e7d6d7 38652012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3866
3867 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3868 (Bug#11344)
3869
a8e7d6d7 38702012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3871
3872 * select.el (xselect--encode-string): New function, split from
3873 xselect-convert-to-string.
3874 (xselect-convert-to-string): Use it.
3875 (xselect-convert-to-filename, xselect-convert-to-os)
3876 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3877 returned strings are properly encoded (Bug#11315).
3878
a8e7d6d7 38792012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3880
3881 * simple.el (delete-active-region): Move to killing custom group.
3882
a8e7d6d7 38832012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3884
3885 * progmodes/which-func.el (which-func-current): Quote %
3886 characters for mode-line processing.
3887
578c1d4b 38882012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3889
3890 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3891 reaching eob (Bug#11286).
3892
a8e7d6d7 38932012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3894
3895 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3896 (gdb): Make it buffer-local and init to zero.
3897 (gdb-control-commands-regexp): New variable.
3898 (gdb-send): Don't wrap in "-interpreter-exec console" if
3899 gdb-control-level is positive. Increment gdb-control-level
3900 whenever the command matches gdb-control-commands-regexp, and
3901 decrement it each time the command is "end". (Bug#11279)
3902
a8e7d6d7 39032012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3904
3905 * window.el (adjust-window-trailing-edge, enlarge-window)
3906 (shrink-window, window-resize):
3907 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3908 windows (Bug#11276).
3909
b3608390
CY
39102012-04-27 Chong Yidong <cyd@gnu.org>
3911
3912 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3913 fix "missing prefix" warning. All callers changed.
b3608390 3914
797e6e88
SM
39152012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3916
3917 * emacs-lisp/assoc.el: Move to obsolete/.
3918
e95a67dc
SM
39192012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3920
657c21e4 3921 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3922
3923 * term/ns-win.el (ns-define-service):
3924 * progmodes/pascal.el (pascal-goto-defun):
3925 * progmodes/js.el (js--read-tab):
3926 * progmodes/etags.el (tags-lazy-completion-table):
3927 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3928 * emacs-lisp/ewoc.el (ewoc--wrap):
3929 * emacs-lisp/assoc.el (aput, adelete, amake):
3930 * doc-view.el (doc-view-convert-current-doc):
3931 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3932
cb3e7ae0
CY
39332012-04-26 Chong Yidong <cyd@gnu.org>
3934
dce04f7f
CY
3935 * image.el (image-type-from-buffer): Only return supported image
3936 type (Bug#9045).
3937
cb3e7ae0
CY
3938 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3939 value, for symmetry with diff-end-of-hunk.
3940 (diff-split-hunk, diff-find-source-location)
3941 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3942 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3943 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3944 compute the relevant hunk or file properly (Bug#6005).
3945 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3946
0d42eb3e
SM
39472012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * vc/vc-mtn.el:
3950 * vc/vc-hg.el:
3951 * vc/vc-git.el:
3952 * vc/vc-dir.el:
3953 * vc/vc-cvs.el:
3954 * vc/vc-bzr.el:
3955 * vc/vc-arch.el:
3956 * vc/vc.el: Replace lexical-let by lexical-binding.
3957 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3958 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3959 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3960
f08ae1c9
CY
39612012-04-26 Chong Yidong <cyd@gnu.org>
3962
8b71081d
CY
3963 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3964 (diff-mode-shared-map): Bind it to / and [remap undo].
3965
f08ae1c9
CY
3966 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3967 (ediff-window-setup-function): Use it as the default, to set up
3968 windows based on whether the current frame is graphical (Bug#2138).
3969 (ediff-choose-window-setup-function-automatically): Make obsolete.
3970
3971 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3972
ef24141c
SM
39732012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3974
cc356a5d
SM
3975 * ffap.el: Remove old code for obsolete package.
3976 (ffap-complete-as-file-p): Remove.
3977
b4ff4f1f
SM
3978 Use completion-table-with-quoting for comint and pcomplete.
3979 * comint.el (comint--unquote&requote-argument)
3980 (comint--unquote-argument, comint--requote-argument): New functions.
3981 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3982 (comint-quote-filename): Use regexp-opt-charset.
3983 (comint--common-suffix, comint--common-quoted-suffix)
3984 (comint--table-subvert): Remove.
3985 (comint-unquote-function, comint-requote-function): New vars.
3986 (comint--complete-file-name-data): Use them with
3987 completion-table-with-quoting.
3988 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3989 * pcomplete.el (pcomplete-arg-quote-list)
3990 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3991 (pcomplete-unquote-argument-function): Default to non-nil.
3992 (pcomplete-unquote-argument): Simplify.
3993 (pcomplete--common-quoted-suffix): Remove.
3994 (pcomplete-requote-argument-function): New var.
3995 (pcomplete--common-suffix): New function.
3996 (pcomplete-completions-at-point): Use completion-table-with-quoting
3997 and completion-table-subvert.
3998
79c4eeb4
SM
3999 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4000 (minibuffer--double-dollars): Preserve properties.
4001 (completion--sifn-requote): New function.
4002 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4003
ef24141c
SM
4004 * minibuffer.el: Add support for completion of quoted/escaped data.
4005 (completion-table-with-quoting, completion-table-subvert): New funs.
4006 (completion--twq-try, completion--twq-all): New functions.
4007 (completion--nth-completion): New function.
4008 (completion-try-completion, completion-all-completions): Use it.
4009
784e7d6e
LL
40102012-04-25 Leo Liu <sdl.web@gmail.com>
4011
dd2ac746
SM
4012 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4013 Use compilation-message if available to find real filename.
784e7d6e 4014
07875ee7
CY
40152012-04-25 Chong Yidong <cyd@gnu.org>
4016
4017 * vc/diff-mode.el (diff-setup-whitespace): New function.
4018 (diff-mode): Use it.
4019
4020 * vc/diff.el (diff-sentinel):
4021 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4022 Whitespace mode variables based on diff style (Bug#8612).
4023
5055880d
LL
40242012-04-25 Leo Liu <sdl.web@gmail.com>
4025
daf75653
LL
4026 * progmodes/python.el (python-send-region): Add suffix .py to the
4027 temp file.
4028
5055880d
LL
4029 * files.el (auto-mode-alist): Use javascript-mode instead.
4030
db9b177b
AH
40312012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4032
ef24141c 4033 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4034
090bd7cb 4035 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4036 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4037 references, see Bug#9.
ef24141c 4038 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4039 when receiving a fault reply.
ef24141c 4040 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4041
090bd7cb 4042 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4043 (soap-inspect-simple-type): New function.
db9b177b 4044
090bd7cb 4045 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4046 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4047 (soap-decode-basic-type, soap-encode-basic-type):
4048 support unsignedInt and double basic types.
db9b177b 4049 (soap-resolve-references-for-simple-type)
ef24141c
SM
4050 (soap-parse-simple-type, soap-encode-simple-type): New function.
4051 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4052
090bd7cb 4053 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4054 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4055 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4056 the local name of "soapenc:Array".
4057 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4058 decoding integer, byte and anyURI xsd types.
4059
1fc6097b
CY
40602012-04-25 Chong Yidong <cyd@gnu.org>
4061
4062 * cus-edit.el (custom-buffer-create-internal): Update header text.
4063
afc6df87
EZ
40642012-04-25 Eli Zaretskii <eliz@gnu.org>
4065
4066 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4067 settings on 'system-type', not on 'window-system'. On MS-Windows,
4068 set interactive-mode on in GDB.
4069
dfbd787f
SM
40702012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4073 (ruby-syntax-propertize-regexp): Remove.
4074 (ruby-syntax-propertize-function): Split regexp into chunks.
4075 Match following code directly.
4076
85222d44
DG
40772012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4078
51a8ea2a
DG
4079 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4080 (ruby-syntax-propertize-regexp): New function.
4081 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4082 by a special keyword.
4083
85222d44
DG
4084 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4085 (ruby-syntax-general-delimiters-goto-beg)
4086 (ruby-syntax-propertize-general-delimiters): New functions.
4087 (ruby-syntax-propertize-function): Use them to handle GDL.
4088 (ruby-font-lock-keywords): Move old handling of GDL...
4089 (ruby-font-lock-syntactic-keywords): .. to here.
4090 (ruby-calculate-indent): Adjust indentation for GDL.
4091
b613912b
MA
40922012-04-24 Michael Albinus <michael.albinus@gmx.de>
4093
b5380639
MA
4094 * notifications.el (top): Remove unneeded declarations.
4095 (notifications-specification-version): Change to "1.2".
e43042fe 4096 (notifications-interface, notifications-notify-method)
b613912b
MA
4097 (notifications-close-notification-method): Fix docstring.
4098 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4099 (notifications-notify): Add :action-items, :resident and
4100 :transient hints. Change "image_data" to "image-data" and
4101 "image_path" to "image-path".
b613912b
MA
4102 (notifications-get-capabilities): New defun.
4103
257440aa
LL
41042012-04-24 Leo Liu <sdl.web@gmail.com>
4105
4106 * progmodes/python.el: Move hideshow setup to the end.
4107
b1bac16e
MR
41082012-04-24 Martin Rudalics <rudalics@gmx.at>
4109
4110 * window.el (handle-select-window): Clear echo area since this is
4111 no more done by read_char (Bug#11304).
4112
d81bd059
SM
41132012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4116 and `/ M' to filter-derived-mode.
4117 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4118 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4119 (ibuffer-mark-by-mode): Use default rather than initial-input.
4120 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4121
c4cf6d91
IA
41222012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4123
4124 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4125 (ibuffer-filter-by-derived-mode): New filter.
4126 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4127
7511ded8
CY
41282012-04-23 Andreas Politz <politza@fh-trier.de>
4129
4130 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4131
775c916b
CY
41322012-04-23 Chong Yidong <cyd@gnu.org>
4133
4134 * cus-edit.el (customize-apropos, customize-apropos-options):
4135 Disable matching of non-option variables (Bug#11176).
4136 (customize-option, customize-option-other-window)
4137 (customize-changed-options): Doc fix.
4138 (customize-apropos-options, customize-apropos-faces)
4139 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4140
4141 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4142 Fix word list splitting (Bug#11132).
46c71e23
CY
4143 (apropos-symbol, apropos-keybinding, apropos-label)
4144 (apropos-property, apropos-function-button)
4145 (apropos-variable-button, apropos-misc-button): New faces.
4146 (apropos-symbol-face, apropos-keybinding-face)
4147 (apropos-label-face, apropos-property-face, apropos-match-face):
4148 Variables removed (Bug#8396).
4149 (apropos-library-button, apropos-format-plist, apropos-print)
4150 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4151
2df41f9c
MA
41522012-04-23 Michael Albinus <michael.albinus@gmx.de>
4153
4154 * net/xesam.el (xesam-mode-map): Use let-bound map in
4155 initialization. (Bug#11292)
4156
da00640a
AM
41572012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4158
4159 Preserve ispell session localwords when switching back to
4160 original buffer.
4161
090bd7cb
JB
4162 * textmodes/ispell.el (ispell-buffer-session-localwords):
4163 New buffer-local variable to hold buffer session localwords.
ed9265fc 4164 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4165 localwords.
4166 (ispell-command-loop, ispell-change-dictionary)
4167 (ispell-buffer-local-words): Preserve session localwords when
4168 needed.
4169
090bd7cb
JB
4170 * textmodes/flyspell.el (flyspell-process-localwords)
4171 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4172
f621ccf5
AM
41732012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4174
090bd7cb
JB
4175 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4176 using obsolete `translation-table-for-input'.
ef24141c
SM
4177 (ispell-word, ispell-process-line, ispell-complete-word):
4178 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4179
c2d1019e
CY
41802012-04-22 Chong Yidong <cyd@gnu.org>
4181
4182 * cus-edit.el (custom-variable-menu)
4183 (custom-variable-reset-saved, custom-face-menu)
4184 (custom-face-reset-saved): If there is no saved value, make the
4185 "reset-saved" operation bring back the default (Bug#9509).
4186 (custom-face-state): Properly detect themed faces.
4187
eeddc531
CY
4188 * faces.el (face-spec-set): Stop supporting deprecated form of
4189 third arg.
4190
dcbf5805
MA
41912012-04-22 Michael Albinus <michael.albinus@gmx.de>
4192
4193 Move functions from C to Lisp. Make non-blocking method calls
4194 the default. Implement further D-Bus standard interfaces.
4195
ef24141c
SM
4196 * net/dbus.el (dbus-message-internal): Declare function.
4197 Remove unneeded function declarations.
dcbf5805
MA
4198 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4199 (dbus-message-type-method-return, dbus-message-type-error)
4200 (dbus-message-type-signal): Declare variables. Remove local
4201 definitions.
4202 (dbus-interface-dbus, dbus-interface-peer)
4203 (dbus-interface-introspectable, dbus-interface-properties)
4204 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4205 Adapt docstring.
4206 (dbus-interface-objectmanager): New defconst.
4207 (dbus-call-method, dbus-call-method-asynchronously)
4208 (dbus-send-signal, dbus-method-return-internal)
4209 (dbus-method-error-internal, dbus-register-service)
4210 (dbus-register-signal, dbus-register-method): New defuns, moved
4211 from dbusbind.c
4212 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4213 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4214 New defuns.
dcbf5805
MA
4215 (dbus-call-method-non-blocking): Make it an obsolete function.
4216 (dbus-unregister-object, dbus-unregister-service)
4217 (dbus-handle-event, dbus-register-property)
4218 (dbus-property-handler): Obey the new structure of
4219 `bus-registered-objects'.
4220 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4221 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4222 Use `dbus-call-method'.
4223
cf20dee0
CY
42242012-04-22 Chong Yidong <cyd@gnu.org>
4225
4226 * cus-edit.el (custom-commands, custom-reset-menu)
4227 (Custom-reset-standard): Tweak labels.
4228 (custom-reset-button-menu): Change default to t.
4229 (custom-buffer-create-internal): For the custom-reset-button-menu
4230 case, put the revert button first.
4231 (custom-group-subtitle): New face.
4232 (custom-group-value-create): Align docstring to a specific column.
4233
4234 * wid-edit.el (widget-documentation-link-add): Don't handle
4235 indentation in this function.
4236 (widget-documentation-string-indent-to): New function.
4237 (widget-documentation-string-value-create): Use it.
4238
4239 * autorevert.el (auto-revert):
4240 * epg-config.el (epg):
4241 * ibuffer.el (ibuffer):
4242 * mpc.el (mpc):
4243 * ses.el (ses):
4244 * eshell/eshell.el (eshell):
4245 * net/ange-ftp.el (ange-ftp):
4246 * progmodes/ebnf2ps.el (postscript):
4247 * progmodes/flymake.el (flymake):
4248 * progmodes/prolog.el (prolog):
4249 * progmodes/verilog-mode.el (verilog-mode):
4250 * progmodes/which-func.el (which-func):
4251 * term/xterm.el (xterm):
4252 * textmodes/picture.el (picture):
4253 * textmodes/tildify.el (tildify):
4254 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4255 customization buffers.
4256
583e23bd
AM
42572012-04-22 Alan Mackenzie <acm@muc.de>
4258
4259 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4260 Adding a ) can hide the resulting (..) from searches. Fix it.
4261 Bound the backward search to the position of the existing (.
4262
7dd51bf1
JB
42632012-04-21 Juanma Barranquero <lekktu@gmail.com>
4264
4265 * progmodes/verilog-mode.el (verilog-mode): Check whether
4266 which-func-modes is t before adding verilog-mode.
4267 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4268
d64a438f
LL
42692012-04-21 Leo Liu <sdl.web@gmail.com>
4270
7dd51bf1 4271 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4272
081e8d65
MV
42732012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4274
4275 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4276 filling of the last column of a table (Bug#5635).
4277 (woman-find-next-control-line): New arg, specifying an additional
4278 regexp component for the control line.
4279 (woman2-roff-buffer): Use it.
4280 (woman-break-table): New function.
4281 (woman2-TS): Use it.
4282
42832012-04-21 Chong Yidong <cyd@gnu.org>
4284
4285 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4286 (woman-horizontal-escapes, woman-negative-vertical-space)
4287 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4288 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4289
ed571ccb
SM
42902012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * minibuffer.el (completion-file-name-table): Complete user names.
4293
39773899
LL
42942012-04-20 Leo Liu <sdl.web@gmail.com>
4295
4296 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4297 and pcase-let*.
4298
de6ff46d
CY
42992012-04-20 Chong Yidong <cyd@gnu.org>
4300
4301 * server.el (server-execute): Respect initial-buffer-choice if it
4302 is a string and there are no files to open (Bug#2825).
4303 (server-create-window-system-frame, server-create-tty-frame):
4304 Don't switch buffers here.
2d0e8e61
CY
4305 (server-process-filter): Only try to open a window system frame if
4306 compiled with graphical support (Bug#8314).
de6ff46d 4307
54071013
DN
43082012-04-20 Dan Nicolaescu <dann@gnu.org>
4309
4310 * battery.el (battery-echo-area-format): Display remaining time
4311 for sysfs backend too (Bug#11269).
4312 (battery-linux-sysfs): Fix conditional for the charge.
4313
f30d612a
CY
43142012-04-20 Chong Yidong <cyd@gnu.org>
4315
c07a4c0b 4316 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4317 (gdb-inferior-io--init-proc): New function.
4318 (gdb-init-1): Use it.
4319 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4320 responsible for allocating a new pty and hooking it to gdb when
4321 the old pty gets an EIO due to process exit.
4322 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4323 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4324 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4325
2116e93c
EZ
43262012-04-20 Eli Zaretskii <eliz@gnu.org>
4327
4328 * window.el (window-min-size, window-sizable, window-min-delta)
4329 (window-max-delta, window--resizable, window-resizable)
4330 (window-total-size, window-full-height-p, window-full-width-p)
4331 (window-in-direction, window--resize-mini-window, window-resize)
4332 (window--resize-child-windows-normal)
4333 (window--resize-child-windows, window--resize-siblings)
4334 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4335 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4336
c07a4c0b 43372012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4338
ef24141c
SM
4339 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4340 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4341 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4342 pty process (Bug#11273).
4343 (gdb-update): New arg to suppress talking to the gdb process.
4344 (gdb-done-or-error): Use it.
4345 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4346 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4347 sentinel not being called.
4348
4349 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4350
d02766ab
CY
4351 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4352
c07a4c0b 43532012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4354
4355 * net/network-stream.el (open-network-stream): Doc fix.
4356
c07a4c0b 43572012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4358
4359 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4360
c07a4c0b 43612012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4362
4363 Ensure searching for keywords is case sensitive.
4364
4365 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4366 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4367 (c-defun-name, c-mark-function, c-cpp-define-name)
4368 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4369 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4370
ef24141c
SM
4371 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4372 Bind case-fold-search to nil.
f0f6bc35 4373
c07a4c0b 43742012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4375
4376 * mail/sendmail.el (mail-bury): Call return action with the right
4377 Rmail buffer (Bug#11242).
4378
9a864fa2
CY
4379 * server.el (server-process-filter): Handle corner case where both
4380 tty and nowait options are present (Bug#11102).
4381
539aa513
EZ
43822012-04-20 Eli Zaretskii <eliz@gnu.org>
4383
4384 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4385 (top level): Put into the executable the ident-style '$Id:' tag on
4386 windows-nt as well.
539aa513 4387
cfc7d5da
SM
43882012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * electric.el (electric-indent-post-self-insert-function): Check that
4391 electric-indent-mode is enabled in current buffer.
4392
5b01685c
JB
43932012-04-19 Juanma Barranquero <lekktu@gmail.com>
4394
4395 * imenu.el (imenu-progress-message): Restore; it is "used" in
4396 erc/erc-imenu.el and net/snmp-mode.el.
4397
4d6769e1
JB
43982012-04-19 Juanma Barranquero <lekktu@gmail.com>
4399
4400 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4401 (mouse-avoidance-nudge-mouse): Remove unused binding.
4402
4403 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4404
4405 * descr-text.el (describe-char):
4406 * progmodes/python.el (python-describe-symbol):
4407 Don't call `toggle-read-only', set `buffer-read-only'.
4408
4409 * imenu.el (imenu-default-goto-function): Mark unused args.
4410 (imenu-progress-message): Remove obsolete macro; all callers changed.
4411
4412 * subr.el (keymap-canonicalize): Remove unused binding.
4413 (read-passwd): Mark unused arg.
4414
4415 * tutorial.el (tutorial--display-changes): Remove unused binding.
4416 (tutorial--save-tutorial-to): Remove unused variable.
4417
4418 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4419 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4420 (package-generate-autoloads, package-menu--generate)
4421 (package-menu--find-upgrades): Remove unused bindings.
4422
4423 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4424 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4425 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4426 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4427 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4428 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4429 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4430 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4431 (cua-delete-char-rectangle): Mark unused args.
4432 (cua-align-rectangle): Remove unused binding.
4433
4434 * mail/rmail.el (compilation--message->loc)
4435 (epa--find-coding-system-for-mime-charset): Declare.
4436
4437 * net/dbus.el (dbus-register-service): Declare.
4438 (dbus-name-owner-changed-handler): Remove unused binding.
4439
4440 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4441 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4442 (nxml-scan-backward-within): Mark unused arg.
4443 (nxml-dynamic-markup-word): Remove unused binding.
4444
4445 * mouse.el (mouse-menu-major-mode-map):
4446 * emacs-lisp/authors.el (authors-scan-change-log)
4447 (authors-add-to-author-list):
4448 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4449 * emacs-lisp/smie.el (smie-auto-fill):
4450 * mail/sendmail.el (mail-bury):
4451 * mail/unrmail.el (unrmail):
4452 * net/tls.el (open-tls-stream):
4453 * textmodes/picture.el (picture-mouse-set-point):
4454 Remove unused bindings.
4455
8c8fc5df
MA
44562012-04-19 Michael Albinus <michael.albinus@gmx.de>
4457
4458 * net/tramp.el (tramp-action-password): Let-bind
4459 `enable-recursive-minibuffers' to t.
4460
a77b0ac9
SS
44612012-04-18 Sam Steingold <sds@gnu.org>
4462
4463 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4464 instead of 'string to accommodate values like [f11].
4465 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4466 * progmodes/gdb-mi.el: Likewise.
4467
12a106a9
LL
44682012-04-18 Leo Liu <sdl.web@gmail.com>
4469
4470 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4471 current buffer.
4472 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4473 LOCAL is nil.
4474
bc6494ef
CY
44752012-04-18 Chong Yidong <cyd@gnu.org>
4476
4477 * simple.el (line-move): Use forward-line if in batch mode
4478 (Bug#11053).
4479
c09c46b2
CS
44802012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4481
4482 * files.el (after-find-file): Do not try to add a final newline if
4483 the buffer is read-only (Bug#11156).
4484
5f6530ea
RS
44852012-04-17 Richard Stallman <rms@gnu.org>
4486
4487 * mail/rmail.el (rmail-start-mail):
4488 Pass (rmail-mail-return...) for the return-action.
4489 Pass (rmail-yank-current-message...) for the yank-action.
4490 (rmail-yank-current-message): New function.
4491 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4492 (rmail-reply): Likewise.
4493 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4494
4495 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4496 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4497 buffer, not newbuf.
4498
197b6f3c
JB
44992012-04-17 Juanma Barranquero <lekktu@gmail.com>
4500
4501 * server.el (server-ensure-safe-dir): Simplify.
4502
2311d8e5 45032012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4504
2311d8e5
GM
4505 * emacs-lisp/smie.el: Provide smarter auto-filling.
4506 (smie-auto-fill): New function.
4507 (smie-setup): Use it.
98fb480e 4508
2311d8e5
GM
4509 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4510
45112012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4512
4513 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4514 (comment-indent): Use it.
4515
2311d8e5 45162012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4517
4518 * ses.el: The overall change is to add cell renaming, that is
4519 setting fancy names for cell symbols other than name matching
4520 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4521 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4522 (ses-create-cell-variable): New defun.
2311d8e5 4523 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4524 (ses-relocate-formula): Relocate formulas only for cells the
4525 symbols of which are not renamed, i.e. symbols whose names do not
4526 match regexp "\\`[A-Z]+[0-9]+\\'".
4527 (ses-relocate-all): Relocate values only for cells the symbols of
4528 which are not renamed.
4529 (ses-load): Create cells variables as the (ses-cell ...) are read,
4530 in order to check row col consistency with cell symbol name only
4531 for cells that are not renamed.
4532 (ses-replace-name-in-formula): New defun.
4533 (ses-rename-cell): New defun.
4bdf2ad2 4534
fc72b15c
PO
45352012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4536
4537 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4538 New option (bug#11118).
4539 (perl-calculate-indent): Respect it.
4540
12e10e61
GM
45412012-04-17 Glenn Morris <rgm@gnu.org>
4542
4543 * dired-aux.el (dired-mark-read-string): Doc fix.
4544
30009afd
DA
45452012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4546
4547 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4548 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4549
41f03f4d
GM
45502012-04-17 Glenn Morris <rgm@gnu.org>
4551
4552 * mouse.el (mouse-drag-track):
4553 * speedbar.el (speedbar-frame-mode):
4554 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4555
f45f90f3
LL
45562012-04-16 Leo Liu <sdl.web@gmail.com>
4557
4558 * progmodes/python.el: Trivial cleanup.
4559
94ee8db5
GM
45602012-04-16 Glenn Morris <rgm@gnu.org>
4561
121b8917
GM
4562 * vc/vc.el (vc-string-prefix-p):
4563 * vc/pcvs-util.el (cvs-string-prefix-p):
4564 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4565 * mpc.el (mpc-string-prefix-p):
4566 Make all of these into obsolete aliases for string-prefix-p.
4567 Update callers.
4568 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4569
1197ecfa
GM
4570 * textmodes/two-column.el: Move custom options to the start.
4571 (frame-width): Remove compat definition.
4572 (2C-associate-buffer, 2C-dissociate):
4573 Use with-current-buffer rather than save-excursion.
4574 (2C-dissociate): Force a mode-line update.
4575 (2C-autoscroll): Use ignore-errors.
4576
099e7202
GM
4577 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4578 Autoload trivia.
4579
bf350d6a
GM
4580 * emacs-lisp/cl-extra.el (*random-state*):
4581 Remove unnecessary declaration.
4582
0e829eab
GM
4583 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4584
e3ad7552
GM
4585 * play/cookie1.el (cookie-snarf):
4586 Give an explicit error if input file cannot be read.
4587
68892d27
GM
4588 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4589
20f0c46d
GM
4590 * progmodes/perl-mode.el (c-macro-expand):
4591 Remove unnecessary autoload (it is in loaddefs.el).
4592
5a0978ce
GM
4593 * textmodes/picture.el (picture-desired-column)
4594 (picture-update-desired-column): Convert comments to doc-strings.
4595 (picture-substitute): Remove function.
4596 (picture-mode-map): Initialize in the defvar.
4597
6b955486
GM
4598 * woman.el: Remove eval-after-load for tar-mode.
4599 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4600 (woman-tar-extract-file): Autoload it.
4601
94ee8db5
GM
4602 * frame.el (automatic-hscrolling): Make this alias obsolete.
4603
177eca34
AM
46042012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4605
090bd7cb 4606 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4607 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4608 (ispell-dictionary-base-alist): Revert to original XEmacs
4609 friendly version for default. [:alpha:] will be added in
090bd7cb 4610 `ispell-set-spellchecker-params' if needed.
177eca34 4611
c505aaeb
CY
46122012-04-16 Chong Yidong <cyd@gnu.org>
4613
b19dd9d1 4614 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4615 (imagemagick-register-types): Use it.
4616 (imagemagick-types-inhibit): Add :set function. Allow new value
4617 of t to inhibit all types.
4618
4619 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4620 so we can preload it.
4621
4622 * loadup.el (fboundp): Preload regexp-opt, needed by
4623 imagemagick-register-types.
4624
60efac0f
CY
46252012-04-15 Chong Yidong <cyd@gnu.org>
4626
4627 * frame.el (scrolling): Remove nearly unused customization group.
4628
4629 * scroll-all.el (scroll-all-mode): Move to windows group.
4630
5dd1713e
CY
46312012-04-15 Chong Yidong <cyd@gnu.org>
4632
4633 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4634
e6fd457e
CY
46352012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4638 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4639
e153c136
GM
46402012-04-15 Glenn Morris <rgm@gnu.org>
4641
4642 * simple.el (process-file-side-effects): Doc fix.
4643
e6fd457e 46442012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4645
4646 * international/mule-cmds.el (set-language-environment): Doc fix.
4647
3603c3b1
JB
46482012-04-14 Juanma Barranquero <lekktu@gmail.com>
4649
4650 * server.el (server-auth-key, server-generate-key): Doc fixes.
4651 (server-get-auth-key): Doc fix. Use `string-match-p'.
4652 (server-start): Reflow docstring.
4653
e6de100c
LI
46542012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4655
4656 * server.el (server-generate-key): `called-interactively-p'
4657 requires a parameter.
4658
29734c21
MN
46592012-04-14 Michal Nazarewicz <mina86@mina86.com>
4660
4661 * server.el (server-auth-key): New variable.
75f1671a 4662 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4663 (server-start): Use the new variable and functions to allow
4664 setting a permanent server key (bug#9423).
4665
d65c9521
LL
46662012-04-14 Leo Liu <sdl.web@gmail.com>
4667
4668 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4669
5ae255c7
PE
46702012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4671
4672 Spelling fixes.
4673 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4674 Emacs uses American spelling.
4675
d5e6342e
JB
46762012-04-14 Juanma Barranquero <lekktu@gmail.com>
4677
4678 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4679 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4680 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4681 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4682
ab036cd7
SM
46832012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * progmodes/which-func.el (which-func-modes): Change default.
4686
35dc09a1 46872012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4688
4689 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4690 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4691
35dc09a1 46922012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4693
4694 * custom.el (custom-theme-set-variables): Doc fix.
4695
35dc09a1 46962012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4697
4698 * international/mule.el (set-auto-coding-for-load): Doc fix.
4699
35dc09a1 47002012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4701
35dc09a1
GM
4702 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4703 imenu work again for Objective C Mode. Correct the *-index values,
4704 these having been disturbed by a previous change in 2011-08.
57f845ee 4705
0de3da9f
AM
4706 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4707 Correct two search limits.
4708
35dc09a1 47092012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4710
4711 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4712
35dc09a1 47132012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4714
4715 * international/characters.el: Fix sorting.
4716
35dc09a1 47172012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4718
4719 * international/characters.el: Add more missing Latin case pairs.
4720
35dc09a1 47212012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4722
4723 * files.el (dir-locals-set-class-variables): Doc fix.
4724
35dc09a1 47252012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4726
3f1b5bf8
EZ
4727 * international/characters.el: Add set-case-syntax-pair call for
4728 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4729 counterpart. (Bug#11209)
4730
9f847f41
EZ
4731 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4732
35dc09a1 47332012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4734
4735 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4736
35dc09a1 47372012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4738
35dc09a1
GM
4739 * textmodes/ispell.el (ispell-dictionary-base-alist):
4740 Add data for Hebrew.
e2627d21 4741
35dc09a1 47422012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4743
35dc09a1
GM
4744 * net/rcirc.el (rcirc-cmd-quit):
4745 Revert 2012-03-18 change (Bug#11192).
5c14e333 4746
35dc09a1 47472012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4748
4749 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4750
35dc09a1 47512012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4752
4517fe3a
SM
4753 * minibuffer.el (completion-in-region-mode-map):
4754 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4755
b472a594
VD
47562012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4757
4758 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4759
09b95ce3
MY
47602012-04-13 Masatake YAMATO <yamato@redhat.com>
4761
4762 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4763 to allow `C-M-f' and `C-M-b' to move to the nearest path
4764 separator (bug#9511).
4765
4b63a9ca
LI
47662012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4767
4768 * avoid.el: Require cl when compiling. And also move the
4769 `provide' to the end.
4770
7b55b8bf
TV
47712012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4772
4773 * avoid.el (mouse-avoidance-banish-position): New variable.
4774 (mouse-avoidance-banish-destination): Use it (bug#10165).
4775
adedaa1f
LL
47762012-04-13 Leo Liu <sdl.web@gmail.com>
4777
4778 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4779
70e74021
KB
47802012-04-13 Ken Brown <kbrown@cornell.edu>
4781
4782 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4783 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4784 (browse-url-filename-alist): For the same reason, don't modify
4785 file:// URLs on Cygwin.
4786
e75e89ba
SM
47872012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4788
4789 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4790 the region on shift if the binding is already shifted (bug#11221).
4791
82f289a4
GM
47922012-04-12 Glenn Morris <rgm@gnu.org>
4793
4794 * mail/mailpost.el: Move to obsolete/.
4795
d333dc4c
DA
47962012-04-12 Drew Adams <drew.adams@oracle.com>
4797
4798 * imenu.el (imenu--generic-function): Ignore invisible definitions
4799 (bug#10123).
4800
0d15b5ba
VD
48012012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4802
4803 * hexl.el (hexl-bits): New variable.
4804 (hexl-options): Mention the variable in the doc string.
75f1671a 4805 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4806 (hexl-mode): Mention the new variable.
75f1671a
JB
4807 (hexl-mode, hexl-current-address, hexl-current-address):
4808 Use the displen.
0d15b5ba
VD
4809 (hexl-ascii-start-column): New function.
4810 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4811 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4812
64a440db
AM
48132012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4814
4815 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4816 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4817 the encoding, as expected by hunspell.
4818
6decb6c2
SM
48192012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * battery.el (battery--linux-sysfs-regexp): New const.
4822 (battery-status-function): Use it. Remove yeeloong special case.
4823 (battery-yeeloong-sysfs): Remove.
4824 (battery-echo-area-format): Remove yeeloong special case.
4825
088be6fb
SM
48262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4827
6622e416
SM
4828 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4829 Reported by Noah Friedman.
4830
088be6fb
SM
4831 * subr.el (read-passwd): Use read-string.
4832
b49f886e
LMI
48332012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4834
4835 * vcursor.el (vcursor-move): Increase the priority of the overlay
4836 (bug#9663).
4837
a63067fc
DD
48382012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4839
4840 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4841 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4842
ac3cf14a
WS
48432012-04-11 William Stevenson <yhvh2000@gmail.com>
4844
4845 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4846 define-minor-mode (bug#10760).
4847
c4fc691b 48482012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4849
4d6769e1 4850 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4851 that directories matching `grep-find-ignored-files' won't be
4852 pruned (bug#10351).
4853
af23e2e5
CY
48542012-04-11 Chong Yidong <cyd@gnu.org>
4855
4856 * startup.el (command-line): Remove support for long-obsolete
4857 variable font-lock-face-attributes.
4858
ab7ce8c1
GM
48592012-04-11 Glenn Morris <rgm@gnu.org>
4860
4861 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4862
de8c03dc
SM
48632012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 * window.el (window--state-get-1): Obey window-point-insertion-type.
4866
050cc68b
LB
48672012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4868
4869 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4870 to previous function when point is on the first character of a
75f1671a 4871 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4872
a38c310c
GM
48732012-04-11 Glenn Morris <rgm@gnu.org>
4874
effed0c2
GM
4875 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4876 not just file-errors.
4877
a38c310c
GM
4878 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4879 (vc-bzr-sha1): Use internal sha1.
4880
0221e323
SM
48812012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4884
43956923
SG
48852012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4886
4887 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4888 that start in the middle of the line (bug#10496).
4889
6a8c9eaf
DN
48902012-04-10 Dan Nicolaescu <dann@gnu.org>
4891
4892 * battery.el (battery-linux-proc-acpi): Only one battery is
4893 discharged at a time, but that seems to confuse battery.el when
4894 computing `rate-type' for the battery not being discharged
4895 (bug#10332).
4896
1930bf5d
SM
48972012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4898
2a718f6f
SM
4899 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4900
599430d0
SM
4901 * international/quail.el: Use dolist and simplify.
4902 (quail-define-package, quail-update-keyboard-layout)
4903 (quail-define-rules): Use dolist.
4904 (quail-insert-kbd-layout, quail-get-translation): CSE.
4905
a2754b6c
SM
4906 * tmm.el: Use dolist, remove left over hook.
4907 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4908 Use dolist.
4909 (calendar-load-hook): Don't mess with it.
4910
1930bf5d
SM
4911 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4912 Use derived-mode-p. Run the diff asynchronously.
4913
9f67961c
LMI
49142012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4915
4916 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4917
2a8ce227
JB
49182012-04-10 Juanma Barranquero <lekktu@gmail.com>
4919
4920 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4921 (list-dynamic-libraries--loaded): New function.
4922 (list-dynamic-libraries--refresh): Use it.
4923
8f33b5f8
NW
49242012-04-10 Nathan Weizenbaum <nweiz@google.com>
4925
1930bf5d
SM
4926 * progmodes/python.el (python-fill-paragraph):
4927 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4928 disabled (bug#7018).
4929
b12f0439
L
49302012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4931
1930bf5d 4932 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4933 DOS/MS Windows for the Baltic languages. There are still plenty
4934 of texts written in this encoding/codepage (bug#6519).
b12f0439 4935
57c3bd01
GM
49362012-04-10 Glenn Morris <rgm@gnu.org>
4937
4938 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4939 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4940
6c3eab30
FA
49412012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4942
1930bf5d 4943 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4944 next-line "n" and previous-line "p" in order to make recentf more
4945 consistent with ibuffer, dired or org-mode (bug#9387).
4946
24d78a88
LMI
49472012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4948
bc72b5d9
LMI
4949 * image.el (put-image): Return the overlay created instead of the
4950 optional input string (bug#7834). Note that this may break code
4951 that is (for some reason or other) depending on `put-image'
4952 returning the string.
4953
bd2dba5a
LMI
4954 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4955
74beb59f
LMI
4956 * simple.el (zap-to-char): Allow zapping using input methods
4957 (bug#1580).
4958
24d78a88
LMI
4959 * textmodes/fill.el (fill-region): Leave point and mark where they
4960 were before filling (bug#5399).
4961
263f20cd
GM
49622012-04-09 Glenn Morris <rgm@gnu.org>
4963
4964 * version.el (emacs-bzr-get-version):
4965 Handle lightweight checkouts of local branches.
4966
58d1f797
AS
49672012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4968
263f20cd 4969 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4970
b4d3bc10
CY
49712012-04-09 Chong Yidong <cyd@gnu.org>
4972
4973 * custom.el (custom-variable-p): Return nil for non-symbol
4974 arguments instead of signaling an error.
4975 (user-variable-p): Obsolete alias for custom-variable-p.
4976
4977 * apropos.el (apropos-variable):
4978 * files-x.el (read-file-local-variable):
4979 * simple.el (set-variable):
4980 * woman.el (woman-mini-help):
4981 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4982
fd06db5d
GM
49832012-04-09 Glenn Morris <rgm@gnu.org>
4984
e5fcdb5e
GM
4985 * startup.el (normal-top-level): Don't look for leim-list.el
4986 in places where it will not be found. (Bug#910)
4987
fd06db5d
GM
4988 * international/mule-cmds.el (set-default-coding-systems):
4989 * files.el (normal-mode):
4990 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4991 This function was removed with ucs-tables.el in 2008.
4992
b39bb7e1
EZ
49932012-04-08 Eli Zaretskii <eliz@gnu.org>
4994
4995 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4996 ispell-encoding8-command to "-i", without a trailing space.
4997 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4998 separate command-line arguments, to specify the encoding, since
4999 that's how hunspell expects it.
5000
5c5b8e23
GM
50012012-04-08 Glenn Morris <rgm@gnu.org>
5002
5003 * loadup.el: Load bindings before cus-start.
5004 This reduces somewhat the number of "rogue" settings in emacs -Q.
5005
a1ed8b05
GM
50062012-04-07 Glenn Morris <rgm@gnu.org>
5007
5008 * version.el (emacs-bzr-get-version): New function.
dfae128a 5009 (emacs-bzr-version): New variable.
a1ed8b05
GM
5010 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5011 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5012
b142f158
EZ
50132012-04-07 Eli Zaretskii <eliz@gnu.org>
5014
dfae128a
GM
5015 * international/uni-bidi.el, international/uni-category.el:
5016 * international/uni-combining.el, international/uni-decimal.el:
5017 * international/uni-decomposition.el, international/uni-digit.el:
5018 * international/uni-lowercase.el, international/uni-mirrored.el:
5019 * international/uni-name.el, international/uni-numeric.el:
5020 * international/uni-titlecase.el, international/uni-uppercase.el:
5021 Update for Unicode 6.1.
b142f158 5022
9078ead6
EZ
50232012-04-07 Eli Zaretskii <eliz@gnu.org>
5024
5025 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5026
f23d2c7d
LMI
50272012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5028
5029 * window.el (shrink-window): Mention the `window-min-height'
5030 variable in the doc string.
5031
0a0a3573
BG
50322012-04-05 Bastien Guerry <bzg@altern.org>
5033
5034 * color.el (color-lighten-name): Fix typo.
5035
e5248ac9
SM
50362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * server.el (server--on-display-p): New function.
5039 (server--on-display-p): Use it.
5040
b4243e22
GV
50412012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5042
5043 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5044 (bug#11145).
5045
305d9f44
SM
50462012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * comint.el (comint--common-quoted-suffix): Check string boundary
5049 before comparing (bug#11158).
5050 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5051
3d439cd1
CY
50522012-04-04 Chong Yidong <cyd@gnu.org>
5053
321cc491
CY
5054 * minibuffer.el (completion-extra-properties): Doc fix.
5055
3d439cd1
CY
5056 * subr.el (delayed-warnings-hook): Doc fix.
5057
2d562c0f
DU
50582012-04-04 Daiki Ueno <ueno@unixuser.org>
5059
5060 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5061 selection (Bug#11159).
5062 (epa-insert-keys): Inform that the default public key will be
5063 exported if no key is selected.
5064
4443f204
RS
50652012-04-04 Richard Stallman <rms@gnu.org>
5066
5067 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5068
529c06b6
CY
50692012-04-03 Chong Yidong <cyd@gnu.org>
5070
5071 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5072 mail-insert-file, not its obsolete alias mail-attach-file.
5073
66b907dc
MA
50742012-04-03 Michael Albinus <michael.albinus@gmx.de>
5075
5076 * notifications.el (notifications-notify): Fix docstring.
5077
c0ea195d
GM
50782012-04-02 Glenn Morris <rgm@gnu.org>
5079
5080 * emacs-lisp/authors.el (authors-aliases): Another addition.
5081
5ca64e00
MA
50822012-04-02 Michael Albinus <michael.albinus@gmx.de>
5083
5084 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5085 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5086 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5087
42ee526b
CY
50882012-04-01 Chong Yidong <cyd@gnu.org>
5089
5090 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5091 Handle root directory properly.
5092 (copy-directory): Caller changed.
5093
5094 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5095 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5096
0b021094
GM
50972012-03-31 Glenn Morris <rgm@gnu.org>
5098
40f86458
GM
5099 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5100
7019c177
GM
5101 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5102
a1daddd6
GM
5103 * calendar/calendar.el (calendar-window-list)
5104 (calendar-hide-window): Restore. (Bug#11140)
5105 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5106
0b021094
GM
5107 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5108
40311efc
TV
51092012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5110
5111 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5112 Check if file is a symlink (Bug#10489).
5113
5114 * files.el (copy-directory): Likewise.
5115
5319014e
CY
51162012-03-30 Chong Yidong <cyd@gnu.org>
5117
5118 * image.el (imagemagick-types-inhibit)
5119 (imagemagick-register-types): Doc fix.
5120
935d1290
AM
51212012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5122
090bd7cb 5123 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5124 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5125 and treats ~word as ordinary words in pipe mode.
935d1290 5126
61c6e8fd
GM
51272012-03-30 Glenn Morris <rgm@gnu.org>
5128
5129 * tutorial.el (help-with-tutorial): Ensure local variables don't
5130 happen to make the buffer read-only. (Bug#11127)
5131
81fdff00
SM
51322012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5135 (perl-calculate-indent): Return `noindent' in strings.
5136
6e7a6ec0
SS
51372012-03-28 Sam Steingold <sds@gnu.org>
5138
5139 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5140 instead of the broken adhockery which does not prevent calendar
5141 buffers from being displayed at random after exit.
5142 (calendar-window-list, calendar-hide-window): Remove the broken
5143 adhockery.
5144
fee88ca0
GM
51452012-03-28 Glenn Morris <rgm@gnu.org>
5146
5147 * replace.el (query-replace-map): Doc fix.
5148
38de3354
AS
51492012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5150
5151 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5152 contents. (Bug#11109)
5153
b973155e
SM
51542012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5157 (bug#11077).
5158 (avl-tree--check, avl-tree--check-node): New funs.
5159
dcb6e7b3
MR
51602012-03-27 Martin Rudalics <rudalics@gmx.at>
5161
5162 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5163 (switch-to-prev-buffer, switch-to-next-buffer):
5164 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5165 showing a buffer already is done on the same frame.
5166
b4fa35fa
GM
51672012-03-27 Glenn Morris <rgm@gnu.org>
5168
5169 * startup.el (mail-host-address): Doc fix.
5170
f9210e18
SM
51712012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5174 than 197 variables.
5175
c0bf7753
AF
51762012-03-26 Ami Fischman <ami@fischman.org>
5177
5178 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5179
33da7b16
GM
51802012-03-26 Glenn Morris <rgm@gnu.org>
5181
02243d9d
GM
5182 * files.el (save-buffers-kill-emacs): Doc fix.
5183
33da7b16
GM
5184 * startup.el (normal-top-level, command-line, command-line-1):
5185 Give them doc strings.
5186
e5a69fd0
EZ
51872012-03-25 Eli Zaretskii <eliz@gnu.org>
5188
5189 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5190 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5191
9a69676a
CY
51922012-03-25 Chong Yidong <cyd@gnu.org>
5193
4125cb8b
CY
5194 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5195 theme if it was previously enabled before (Bug#11031).
5196
dd470960
CY
5197 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5198 spec with custom-face-get-current-spec if its :shown-value is not
5199 determined yet (Bug#9337).
4125cb8b 5200 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5201
9a69676a
CY
5202 * button.el (button-at): Minor addition to docstring.
5203
6e7e90fa
SL
52042012-03-24 Simon Leinen <simon.leinen@gmail.com>
5205
5206 * vc/vc.el (vc-merge): Fix a prompt.
5207
f06e2758
CY
52082012-03-24 Chong Yidong <cyd@gnu.org>
5209
5210 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5211 point (Bug#9623).
5212
6e7e90fa
SL
5213 * button.el (button-at): Minor addition to docstring.
5214
b9d0879b
SM
52152012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * newcomment.el (comment-choose-indent): No space after BOL.
5218
e71cebb3
SS
52192012-03-22 Sam Steingold <sds@gnu.org>
5220
5221 * window.el (switch-to-prev-buffer): Revert last patch because the
5222 bug turned out to be an advertised feature (Elisp manual 28.14).
5223
335aff35
GM
52242012-03-22 Glenn Morris <rgm@gnu.org>
5225
5226 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5227 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5228
c676576a
LMI
52292012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5230
5231 * net/network-stream.el (network-stream-open-starttls): Make error
5232 message under Windows be less misleading.
5233
126f3d39
LW
52342012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5235
5236 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5237 understands (bug#9942).
5238
64fee311
CY
52392012-03-22 Chong Yidong <cyd@gnu.org>
5240
5241 * simple.el (end-of-visible-line): Handle return value of
5242 next-single-property-change properly (Bug#9371).
5243
a640d29a
KH
52442012-03-22 Kenichi Handa <handa@m17n.org>
5245
5246 * international/quail.el (quail-insert-kbd-layout): Fix previous
5247 change. To avoid unwanted bidi reordering, use
5248 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5249
39675016
DG
52502012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5251
5252 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5253 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5254 (ruby-beginning-of-indent): Be more careful with the difference
5255 between word-boundary and symbol boundary.
5256 (ruby-mode-syntax-table): Make : a symbol constituent.
5257
0a6934fc 52582012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5259
3d008e4f
SM
5260 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5261
0a6934fc
SM
52622012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5263
af67c9d7
SM
5264 * progmodes/etags.el (tags-completion-at-point-function):
5265 Improve last fix.
5266
1acad97c
SM
5267 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5268
e298b5da
SS
52692012-03-21 Sam Steingold <sds@gnu.org>
5270
5271 * progmodes/etags.el (tags-completion-at-point-function):
5272 Avoid the error when point is inside the pattern.
5273
91d82a70
JY
52742012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5275
5276 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5277 line (Bug#10855).
5278
69188b79
CY
52792012-03-21 Drew Adams <drew.adams@oracle.com>
5280
5281 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5282
99fc91fe
AK
52832012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5284
5285 * ido.el (ido-set-current-directory, ido-read-internal)
5286 (ido-choose-completion-string, ido-completion-help): Handle nil
5287 value of ido-completion-buffer (Bug#11008).
5288
087bbb4c
SS
52892012-03-21 Sam Steingold <sds@gnu.org>
5290
5291 * window.el (switch-to-prev-buffer): Do not switch to a visible
5292 window previous buffer, just like with the frame previous buffers.
5293
fb5b8aca
CY
52942012-03-21 Chong Yidong <cyd@gnu.org>
5295
5296 * faces.el (make-face, make-empty-face, copy-face):
5297 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5298 Doc fixes.
5299
dc9924b8
SM
53002012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5302 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5303 (widget-complete): Remove broken use of it.
5304
f0bcceb9
CY
53052012-03-20 Chong Yidong <cyd@gnu.org>
5306
dc9924b8
SM
5307 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5308 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5309 characters.
5310
ee52ebf3
TH
53112012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5312
5313 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5314 to draw rectangles, not squares. (Regression introduced by revno
5315 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5316
4c5779ab
CY
53172012-03-18 Chong Yidong <cyd@gnu.org>
5318
5319 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5320 it is not yet defined (for temacs).
5321
15360934
LL
53222012-03-18 Leo Liu <sdl.web@gmail.com>
5323
dc9924b8 5324 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5325
d9a8eb66
EZ
53262012-03-17 Eli Zaretskii <eliz@gnu.org>
5327
5328 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5329 (ispell-choices-win-default-height, ispell-silently-savep)
5330 (ispell-dictionary-alist, ispell-encoding8-command)
5331 (ispell-check-version, ispell-aspell-find-dictionary)
5332 (ispell-valid-dictionary-list, ispell-words-keyword)
5333 (ispell-get-word, ispell-internal-change-dictionary)
5334 (ispell-region, ispell-skip-region-list)
5335 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5336 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5337 (ispell-message-text-end, ispell-message)
5338 (ispell-buffer-local-parsing): Doc fix.
5339
f02ff80d
J
53402012-03-13 Jambunathan K <kjambunathan@gmail.com>
5341
5342 * htmlfontify.el: Add support for code block fontification for ODT
5343 export (Bug #9914).
5344 (hfy-optimisations): Define new option
5345 `body-text-only'
5346 (hfy-fontify-buffer): Honor above setting.
5347 (hfy-begin-span, hfy-end-span): New routines factored out form
5348 `hfy-fontify-buffer'.
5349 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5350 that permit insertion of custom tags.
5351 (hfy-fontify-buffer): Use above handlers.
5352 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5353 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5354 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5355 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5356 bind a special variable `hfy-user-sheet-assoc'.
5357 (htmlfontify-string): New defun.
5358 (hfy-compile-face-map): Make sure that the last char in the
5359 buffer is correctly fontified.
5360 (hfy-face-resolve-face): Whitespace only change.
5361
9ac7a13f
EZ
53622012-03-17 Eli Zaretskii <eliz@gnu.org>
5363
5364 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5365 message more clear.
5366
e2b5bdd7
LL
53672012-03-16 Leo Liu <sdl.web@gmail.com>
5368
5369 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5370
2e492df3
AM
53712012-03-16 Alan Mackenzie <acm@muc.de>
5372
5373 Further optimise the handling of large macros.
5374
5375 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5376 limit to a call of `c-literal-limits'.
5377 (c-determine-+ve-limit): New function.
dc9924b8
SM
5378 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5379 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5380 In CASE 5B, restrict a search limit to 500.
5381 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5382
5383 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5384 Restrict macro bounds to +-500 from after-change's BEG END.
5385
50e94f0c
LL
53862012-03-16 Leo Liu <sdl.web@gmail.com>
5387
5388 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5389
6f09f6ed
AH
53902012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5391
5392 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5393 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5394
c7e73d51
GM
53952012-03-16 Glenn Morris <rgm@gnu.org>
5396
da986230
GM
5397 * view.el (view-buffer, view-buffer-other-window)
5398 (view-buffer-other-frame): Doc fixes re special mode-class.
5399
0835f01e
GM
5400 * subr.el (eval-after-load): If named feature is provided not from
5401 a file, run after-load forms. (Bug#10946)
5402
c7e73d51
GM
5403 * calendar/calendar.el (calendar-insert-at-column):
5404 Handle non-unit-width characters a bit better. (Bug#10978)
5405
3f2eafd1
CY
54062012-03-15 Chong Yidong <cyd@gnu.org>
5407
5408 * emacs-lisp/ring.el (ring-extend): New function.
5409 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5410
5411 * comint.el (comint-read-input-ring)
5412 (comint-add-to-input-history): Grow comint-input-ring lazily.
5413
103af3fe
SM
54142012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5415
663b1677
SM
5416 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5417 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5418
103af3fe
SM
5419 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5420 (imenu-add-to-menubar): Don't add a redundant index.
5421 (imenu-update-menubar): Handle a dynamically composed keymap.
5422
899cb7cb
KY
54232012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5424
5425 * mail/sendmail.el (mail-encode-header):
5426 Bind rfc2047-encode-encoded-words to nil.
5427
3809f91d
GM
54282012-03-13 Glenn Morris <rgm@gnu.org>
5429
5430 * calendar/calendar.el (calendar-string-spread):
5431 Handle non-unit-width characters a bit better. (Bug#10978)
5432
9e345a01
LL
54332012-03-13 Leo Liu <sdl.web@gmail.com>
5434
5435 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5436 directory and file as argument (Bug#10822).
5437
4a07df36
KS
54382012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5439
5440 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5441 For dynamically generated code, follow $PC.
5442 (gdb-disassembly-handler-custom): Handle no function name case.
5443
4aaa9356
TL
54442012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5445
5446 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5447 * emulation/ws-mode.el (ws-query-replace):
5448 * sort.el (sort-regexp-fields):
5449 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5450
225979da
SM
54512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * dabbrev.el: Fix cycle completion order (bug#10963).
5454 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5455 (dabbrev-completion): Don't use an obarray; provide
5456 a cycle-sort-function.
5457
e2f1fdab
LL
54582012-03-12 Leo Liu <sdl.web@gmail.com>
5459
dc9924b8 5460 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5461 (kill-do-not-save-duplicates): Doc fix.
5462
b19490ed
SM
54632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * dabbrev.el: Fix cycle completion (bug#10963).
5466 Use lexical binding and wrap to 80 columns.
5467 (dabbrev-completion): Delay computing the list of completions.
5468
4b05d722
KH
54692012-03-12 Kenichi Handa <handa@m17n.org>
5470
5471 * international/quail.el (quail-insert-kbd-layout): Surround each
5472 row by LRO and PDF instead of inserting many LRMs. Pad the left
5473 and right of each non-spacing marks. Insert invisible space
5474 between lower and upper characters to prevent composition.
5475
dbbc2e69
SM
54762012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * minibuffer.el (minibuffer-complete): Don't get confused when the
5479 function is run twice via different commands (bug#10958).
5480 (complete-with-action): Fix docstring.
5481
292112ed
CY
54822012-03-12 Chong Yidong <cyd@gnu.org>
5483
5d1ac394
CY
5484 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5485 (nxml-completion-at-point-function): New function.
5486 (nxml-mode): Use it.
5487 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5488
292112ed
CY
5489 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5490 Load generated autoloads file before byte compiling (Bug#10970).
5491 (package--make-autoloads-and-compile): New helper fun.
5492
4098f8f7
CS
54932012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5494
5495 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5496
8f754691
MA
54972012-03-11 Michael Albinus <michael.albinus@gmx.de>
5498
5499 * autorevert.el (auto-revert-handler): Ensure, that
5500 file-readable-p is applied only for local files or in
5501 auto-revert-tail-mode.
5502
e29ab36b
AS
55032012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5504
dbbc2e69
SM
5505 * server.el (server-eval-at): Handle non-tcp connections.
5506 Decode result string.
ad0bf5b6 5507
e29ab36b
AS
5508 * server.el (server-msg-size): New constant.
5509 (server-reply-print): New function.
5510 (server-eval-and-print): Use it.
5511 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5512 Handle -print-nonl.
5513
de5939ba
CS
55142012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5515
5516 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5517 (Bug#10987).
5518
0c93eabf
CY
55192012-03-11 Chong Yidong <cyd@gnu.org>
5520
397a688f
CY
5521 * simple.el (goto-line): Doc fix (Bug#9938).
5522
2cc775f9
CY
5523 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5524
0c93eabf
CY
5525 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5526 when finished (Bug#10963).
5527
c491fa41
MR
55282012-03-11 Martin Rudalics <rudalics@gmx.at>
5529
5530 * window.el (split-window-below): Fix bug in case where
5531 split-window-keep-point is nil (Bug#10971).
5532
300e8fa5
JL
55332012-03-11 Juri Linkov <juri@jurta.org>
5534
5535 * replace.el (replace-highlight): Set isearch-word to nil
5536 unconditionally. (Bug#10887)
5537
dbf6c5a1
EZ
55382012-03-10 Eli Zaretskii <eliz@gnu.org>
5539
5540 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5541 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5542 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5543 (mairix-widget-create-query): Add usage information about mairix
5544 search forms: negating words, searching for substrings, etc.
5545
b9e501de
JP
55462012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5547
5548 * international/fontset.el (font-encoding-alist): Add an entry for
5549 ksx1001 (Bug#5667).
5550
92795c91
RS
55512012-03-10 Richard Stallman <rms@gnu.org>
5552
1694e6c1
RS
5553 * mail/sendmail.el (mail-encode-header):
5554 Set rfc2047-encode-encoded-words.
5555
607e8555
RS
5556 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5557
de3bc99a
RS
5558 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5559 view buffer means not swapped.
5560 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5561 (rmail-write-region-annotate): Error if real text has disappeared.
5562
92795c91
RS
5563 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5564
699bd04e
CY
55652012-03-10 Chong Yidong <cyd@gnu.org>
5566
5567 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5568 * emulation/cua-base.el (cua--init-keymaps):
5569 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5570
570a1714
MR
55712012-03-10 Martin Rudalics <rudalics@gmx.at>
5572
dbbc2e69
SM
5573 * speedbar.el (speedbar-unhighlight-one-tag-line):
5574 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5575
82dcf4e4
CY
55762012-03-10 Chong Yidong <cyd@gnu.org>
5577
7a2c7ca7
CY
5578 * minibuffer.el (completion-in-region, completion-help-at-point):
5579 Give the completion field overlay a high priority (Bug#6830).
5580
82dcf4e4
CY
5581 * dired.el (dired-goto-file): Recognize absolute file name
5582 listings (Bug#7126).
5583 (dired-goto-file-1): New helper function.
5584 (dired-toggle-read-only): Inhibit warnings.
5585
052e28ac
MA
55862012-03-09 Michael Albinus <michael.albinus@gmx.de>
5587
75f1671a 5588 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5589 there are no properties.
5590
95d5e396
LL
55912012-03-09 Leo Liu <sdl.web@gmail.com>
5592
5593 * savehist.el (savehist-printable): Stricter check for string
5594 value (Bug#10937).
5595
3f018d6d
EZ
55962012-03-09 Eli Zaretskii <eliz@gnu.org>
5597
dbbc2e69
SM
5598 * mail/smtpmail.el (smtpmail-send-it):
5599 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5600 valid mbox format.
5601
f7fd3d79
GM
56022012-03-09 Glenn Morris <rgm@gnu.org>
5603
5604 * files.el (dir-locals-find-file):
5605 Don't check result is regular, readable.
5606 (dir-locals-read-from-file): Demote errors.
5607
6ff6e72f
EZ
56082012-03-08 Eli Zaretskii <eliz@gnu.org>
5609
dbbc2e69
SM
5610 * international/quail.el (quail-insert-kbd-layout):
5611 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5612 layout cell, to prevent their reordering by bidi display engine.
5613 For details, see the discussion in
5614 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5615
9cec7834
AM
56162012-03-08 Alan Mackenzie <acm@muc.de>
5617
5618 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5619 the starting position; make it extend the marked region when
5620 invoked repeatedly - all under appropriate circumstances.
5621 Fixes bugs #5525, #10906.
5622
9a40b8d4
GM
56232012-03-08 Glenn Morris <rgm@gnu.org>
5624
5625 * files.el (locate-dominating-file, dir-locals-find-file):
5626 Undo 2012-03-06 change.
5627
7a08ed35
EZ
56282012-03-07 Eli Zaretskii <eliz@gnu.org>
5629
dbbc2e69
SM
5630 * international/quail.el (quail-help):
5631 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5632 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5633 for the reason.
5634
5aca4f71 56352012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5636
5637 Avoid superfluous registering of signals. (Bug#10807)
5638
5639 * notifications.el (notifications-on-action-object)
5640 (notifications-on-close-object): New defvars.
5641 (notifications-on-action-signal, notifications-on-closed-signal):
5642 Unregister the signal if not needed any longer.
5643 (notifications-notify): Register `notifications-action-signal' or
5644 `notifications-closed-signal', if :on-action or :on-close has been
5645 passed as argument.
5646
78e8b10a
CY
56472012-03-07 Chong Yidong <cyd@gnu.org>
5648
5649 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5650 non-X platforms.
5651
69481eb8
GM
56522012-03-06 Glenn Morris <rgm@gnu.org>
5653
5654 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5655 (x-disown-selection-internal, x-get-selection-internal):
5656 Doc fix (add arglist signatures). (Bug#10783)
5657
133b8e11
KS
56582012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5659
5660 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5661 Handle breakpoints with no "type".
5662
99a83064
GM
56632012-03-06 Glenn Morris <rgm@gnu.org>
5664
5665 * files.el (locate-dominating-file): Add optional predicate argument.
5666 (dir-locals-find-file): Make use of above change.
5667
17798e78
TTN
56682012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5669
5670 * info.el (Info-insert-dir): Also try "dir.gz".
5671
eb182446
GM
56722012-03-06 Glenn Morris <rgm@gnu.org>
5673
8f2114ee
GM
5674 * files.el (dir-locals-find-file):
5675 Ignore non-readable or non-regular files. (Bug#10928)
5676
eb182446
GM
5677 * files.el (locate-dominating-file): Doc fix.
5678
24679323
AS
56792012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5680
5681 * calendar/calendar.el (calendar-set-mode-line):
5682 `getenv' returns a string. (Bug#10951)
5683
01d972a9
LL
56842012-03-05 Leo Liu <sdl.web@gmail.com>
5685
109aa8a9
LL
5686 * simple.el (backward-delete-char-untabify): Constrain point to
5687 field (Bug#10939).
5688
01d972a9
LL
5689 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5690
10607bea
CY
56912012-03-05 Chong Yidong <cyd@gnu.org>
5692
5693 * simple.el (count-words): If called from Lisp, return the word
5694 count, for symmetry with `count-lines'. Arglist changed.
5695 (count-words--message): Args changed. Consolidate counting code
5696 from count-words and count-words-region.
5697 (count-words-region): Caller changed.
5698 (count-lines-region): Make it an obsolete alias.
5699
5dd11cfe
TH
57002012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5701
5702 * saveplace.el (save-place-to-alist)
5703 (save-place-ignore-files-regexp): Allow value nil to disable this
5704 feature.
5705
c349f4e6
CY
57062012-03-04 Chong Yidong <cyd@gnu.org>
5707
5708 * faces.el (face-spec-reset-face): For the default face, reset the
5709 attributes to default values (Bug#10748).
5710
e627be4c
LMI
57112012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712
5713 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5714 previous patch: Check `message-send-mail-function', and not the
5715 default function (bug#10897).
5716
ebeabff4
MA
57172012-03-04 Michael Albinus <michael.albinus@gmx.de>
5718
a41a6cf4
MA
5719 * notifications.el (notifications-on-action-signal)
5720 (notifications-on-closed-signal): Check for unique service name of
5721 incoming event. Fix error in removing entry.
ebeabff4 5722 (top): Register for signals with wildcard service name.
a41a6cf4 5723 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5724
c1ca42b4
CY
57252012-03-04 Chong Yidong <cyd@gnu.org>
5726
dc9924b8 5727 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5728
ea16568d
GM
57292012-03-04 Glenn Morris <rgm@gnu.org>
5730
5731 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5732 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5733 (expand-abbrev, define-abbrev-table): Doc fixes.
5734
fbae4637
LMI
57352012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5736
5737 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5738 `message-default-send-mail-function' and not `send-mail-function'
5739 when doing the prompting for `sendmail-query-once' before sending
5740 in Message buffers (bug#10897).
5741
a1e7225c
LMI
5742 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5743 This is inconsistent with all the other stream functions, which leave
5744 the setting up to the higher levels (if so wanted) (bug#10931).
5745
56d093a9
AM
57462012-03-02 Alan Mackenzie <acm@muc.de>
5747
5748 Depessimize the handling of very large macros.
5749
5750 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5751 (c-macro-cache-syntactic): New variables to implement a one
5752 element macro cache.
5753 (c-invalidate-macro-cache): New function.
5754 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5755 Adapt to use the new cache.
5756 (c-state-safe-place): Use better the cache of safe positions.
5757 (c-state-semi-nonlit-pos-cache)
5758 (c-state-semi-nonlit-pos-cache-limit):
5759 New variables for...
5760 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5761 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5762 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5763 Use c-state-semi-safe-place.
56d093a9 5764
dbbc2e69
SM
5765 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5766 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5767
817e5c3d
MA
57682012-03-02 Michael Albinus <michael.albinus@gmx.de>
5769
dbbc2e69
SM
5770 * jka-compr.el (jka-compr-call-process):
5771 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5772 not remote.
5773
a032a702
MA
57742012-03-01 Michael Albinus <michael.albinus@gmx.de>
5775
5776 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5777 access of FILE2, if FILE1 does not exist.
5778
99a54f21
MA
5779 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5780 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5781
5782 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5783 Add "PAGER=" to `process-environment'.
5784
f6561e1f
MM
57852012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5786
5787 * progmodes/sql.el: Bug fix
5788 (sql-get-login-ext): Save login values in globals.
5789 (sql-get-login): Use new version of `sql-get-login-ext'.
5790 (sql-interactive-mode): Set global `sql-connection' to nil.
5791 (sql-connect): Set global values for connection.
5792 (sql-product-interactive): Save global values as buffer local.
5793
2d44d9cc
LL
57942012-02-29 Leo Liu <sdl.web@gmail.com>
5795
5796 * abbrev.el (define-abbrevs): Reset sys to nil.
5797
96b49301 57982012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5799
bf7f9bc5
JB
5800 * files.el (file-equal-p): Rename from `files-equal-p'.
5801 Return nil when one or both files don't exist.
96b49301 5802 (file-subdir-of-p): Now only top directory must exists,
5803 return nil if it doesn't.
bf7f9bc5
JB
5804 (copy-directory): No need to test with `file-subdir-of-p' after
5805 creating dir.
5806 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5807 to `file-equal-p'.
96b49301 5808
44e97401
GM
58092012-02-28 Glenn Morris <rgm@gnu.org>
5810
5811 * shell.el (shell-mode):
5812 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5813 * play/landmark.el (landmark-font-lock-face-O):
5814 * play/handwrite.el (handwrite):
5815 * play/gomoku.el (gomoku-O):
5816 * net/browse-url.el (browse-url-browser-display):
5817 * international/mule.el (define-charset):
5818 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5819 * filesets.el (filesets-find-file-delay):
5820 * eshell/em-xtra.el (eshell-xtra):
5821 * eshell/em-unix.el (eshell-grep):
5822 * emulation/viper.el (viper-mode):
5823 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5824 * emacs-lisp/easymenu.el (easy-menu-define):
5825 * calendar/timeclock.el (timeclock-use-display-time):
5826 * bs.el (bs-mode):
5827 * bookmark.el (bookmark-save-flag):
5828 Doc fix (standardize possessive apostrophe usage).
5829
c98c6276
CY
58302012-02-27 Chong Yidong <cyd@gnu.org>
5831
bf7f9bc5
JB
5832 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5833 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5834
c98c6276
CY
5835 * font-lock.el (font-lock-specified-p): Rename from
5836 font-lock-spec-present. Callers changed.
5837
9c62cd04 58382012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5839
bf7f9bc5
JB
5840 * emacs-lisp/package.el (package-compute-transaction):
5841 Handle holding a package version to t in package-load-list.
8ac9e529 5842
530739c9
MA
58432012-02-26 Michael Albinus <michael.albinus@gmx.de>
5844
5845 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5846 (tramp-get-inode, tramp-get-device): Use cached values.
5847
487915d7
AM
58482012-02-26 Alan Mackenzie <acm@muc.de>
5849
5850 Check there is a font-lock specification before doing initial
5851 fontification.
5852
5853 * font-core.el (font-lock-mode): Move the conditional from
5854 :after-hook to font-lock-initial-fontify.
5855 (font-lock-default-function): Move the check for a specification
5856 to font-lock-spec-present.
5857
dc9924b8 5858 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5859 (font-lock-spec-present): New function.
5860
4fd96557
JB
58612012-02-26 Jim Blandy <jimb@red-bean.com>
5862
5863 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5864 (gdb-send): Apply it to the operand of the '-interpreter-exec
5865 console' command, so that we can pass arguments with (say) quotes
5866 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5867
9a4888c0
CY
58682012-02-26 Chong Yidong <cyd@gnu.org>
5869
07498861
CY
5870 * help-fns.el (describe-function-1): Clarify description of
5871 remapping (Bug#10844).
5872
9a4888c0
CY
5873 * files.el (files-equal-p): Doc fix.
5874 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5875 and quit the loop once a mismatch is found.
5876
ea8fb88d
JB
58772012-02-25 Juanma Barranquero <lekktu@gmail.com>
5878
5879 * bs.el (bs--show-with-configuration): Don't throw an error
5880 if the window cannot be split; otherwise, subsequent calls to
5881 bs-show fail, restoring a stale window config. (Bug#10882)
5882
525795c1
JD
58832012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5884
5885 * term/ns-win.el (global-map): Bind ns-drag-file to
5886 ns-find-file (Bug#5855, Bug#10050).
5887
f008086f
AS
58882012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5889
5890 * calendar/parse-time.el (parse-time-string): Allow extractor to
5891 return nil.
5892
a3fcfa99
MA
58932012-02-25 Michael Albinus <michael.albinus@gmx.de>
5894
91027d08
JB
5895 * net/tramp.el (tramp-file-name-for-operation):
5896 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5897
5898 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5899 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5900 Add COPY-CONTENTS argument.
a3fcfa99 5901
67b0de11
CY
59022012-02-25 Chong Yidong <cyd@gnu.org>
5903
5904 Add custom groups for VC backends, for consistency with vc-bzr.
5905
5906 * vc/vc-arch.el (vc-arch):
5907 * vc/vc-cvs.el (vc-cvs):
5908 * vc/vc-git.el (vc-git):
5909 * vc/vc-hg.el (vc-hg):
5910 * vc/vc-mtn.el (vc-mtn):
5911 * vc/vc-rcs.el (vc-rcs):
5912 * vc/vc-sccs.el (vc-sccs):
5913 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5914 All relevant defcustoms reassigned.
5915
3c9dfce6
CY
59162012-02-25 Chong Yidong <cyd@gnu.org>
5917
1339bf43
CY
5918 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5919
3c9dfce6
CY
5920 * term/x-win.el (x-initialize-window-system): Reduce default for
5921 x-selection-timeout to 5 seconds (Bug#8869).
5922
25b2e303 59232012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5924
ec70a47d
GM
5925 * files.el (files-equal-p, file-subdir-of-p): New functions.
5926 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5927 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5928 * dired-aux.el (dired-copy-file-recursive): Same.
5929 (dired-create-files): Modify destination when source is equal to
5930 dest when copying files.
53a46cd0 5931 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5932
914260cd
MA
59332012-02-24 Michael Albinus <michael.albinus@gmx.de>
5934
5935 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5936 (Bug#10874)
5937
2cb228f7
AM
59382012-02-23 Alan Mackenzie <acm@muc.de>
5939
5940 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5941 parameter "after-hook:" to allow the expansion to run code after
5942 the execution of the mode hooks.
5943
5944 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5945 from font-lock-mode-internal.
2cb228f7 5946
91027d08 5947 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5948 :after-hook.
5949
8f0fde21
SM
59502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5951
3e88618b
SM
5952 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5953 (completion--cache-all-sorted-completions): New function.
5954 (completion-all-sorted-completions): Use it.
5955 (completion--do-completion, minibuffer-force-complete):
5956 Use it to re-instate the flush hook.
5957
8f0fde21
SM
5958 * icomplete.el (icomplete-completions): Replace last fix with a better
5959 one (bug#10850).
5960
8e911f6f
DG
59612012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5962
5963 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5964 when it might call us back infinitely (bug#10797).
5965
49fe4321
GM
59662012-02-23 Glenn Morris <rgm@gnu.org>
5967
5968 * minibuffer.el (completion-category-overrides): Doc fix.
5969
b291b572
SM
59702012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5973 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5974
31a9ef2e
GM
59752012-02-23 Glenn Morris <rgm@gnu.org>
5976
5e6e6794 5977 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5978 (authors-obsolete-files-regexps, authors-ignored-files)
5979 (authors-ambiguous-files, authors-renamed-files-alist):
5980 Add more entries.
5981
0bd1e074
JL
59822012-02-23 Juri Linkov <juri@jurta.org>
5983
5984 * isearch.el (isearch-occur): Sync interactive spec with occur's
5985 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5986
b617673c
JL
5987 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5988
19e9789e
JL
59892012-02-22 Juri Linkov <juri@jurta.org>
5990
5991 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5992 (ucs-insert): Doc fix. Check for hex digits in the string.
5993 Don't display `nil' in the error message. (Bug#10857)
5994
f41ce09d
AM
59952012-02-22 Alan Mackenzie <acm@muc.de>
5996
7a71b18d 5997 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5998
ac2eceee
GM
59992012-02-22 Glenn Morris <rgm@gnu.org>
6000
6001 * ffap.el (ffap-c-path):
6002 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6003
abd1f678
CY
60042012-02-22 Chong Yidong <cyd@gnu.org>
6005
6006 * custom.el (load-theme): Doc fix.
6007
f25aef2e
GM
60082012-02-22 Glenn Morris <rgm@gnu.org>
6009
6010 * dired-x.el (dired-guess-shell-alist-default):
6011 Remove escape sequences from nroff output. (Bug#172)
6012
5f8dc2ca
GM
60132012-02-21 Glenn Morris <rgm@gnu.org>
6014
6ff86ec4
GM
6015 * vc/emerge.el (emerge-defvar-local):
6016 Set `permanent-local' property rather than unused `preserved'.
6017
be3223a3 6018 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6019 (picture-mode-map): Use it. (Bug#10860)
6020 (picture-mode): Doc fix.
6021
3fe58f4f
JB
60222012-02-21 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * newcomment.el (uncomment-region-default): Remove unused binding.
6025
f9a998c3
GM
60262012-02-21 Glenn Morris <rgm@gnu.org>
6027
6028 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6029 (picture-self-insert, picture-tab-chars): Doc fix.
6030 (picture-mode-map): Fix C-a, C-e.
6031
c6029348
GM
60322012-02-20 Glenn Morris <rgm@gnu.org>
6033
6034 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6035
ab1ce9d7
LL
60362012-02-20 Leo Liu <sdl.web@gmail.com>
6037
6038 * icomplete.el (icomplete-completions): Check FROM arg before
6039 passing to substring (Bug#10850).
6040
0fd40f89
CY
60412012-02-19 Chong Yidong <cyd@gnu.org>
6042
6043 * comint.el: Require ansi-color.
6044 (comint-output-filter-functions): Add ansi-color-process-output.
6045
6046 * ansi-color.el: Don't set comint-output-filter-functions; it is
6047 now in the initial value defined in comint.el.
6048 (ansi-color-apply-face-function): New variable.
6049 (ansi-color-apply-on-region): Use it.
6050 (ansi-color-apply-overlay-face): New function.
6051
6052 * shell.el (shell): No need to require ansi-color.
6053 (shell-mode): Use ansi-color-apply-face-function to highlight
6054 color escapes using font-lock-face property (Bug#10835).
6055
20af2394
CY
60562012-02-19 Chong Yidong <cyd@gnu.org>
6057
6058 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6059 mode-line formats (Bug#10839).
6060
e23a3fbe
GM
60612012-02-18 Glenn Morris <rgm@gnu.org>
6062
b474519e
GM
6063 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6064
6065 * mail/undigest.el (unforward-rmail-message): Doc fix.
6066
e23a3fbe
GM
6067 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6068
57939ff4
EZ
60692012-02-18 Eli Zaretskii <eliz@gnu.org>
6070
6071 * international/characters.el (script-list): Sync with the latest
6072 Unicode Character Database.
6073
0c23686e
AS
60742012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6075
6076 * international/titdic-cnv.el: Remove duplicate coding tag.
6077 * language/cham.el: Likewise.
6078 * language/tai-viet.el: Likewise.
6079
6818b449
GM
60802012-02-18 Glenn Morris <rgm@gnu.org>
6081
6082 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6083 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6084 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6085 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6086 * calendar/holidays.el (holiday-bahai-holidays)
6087 (calendar-holidays, list-holidays):
6088 Use utf-8 Bahá'í in doc-strings, menus, etc.
6089
0311a3fc
TH
60902012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6091
6092 * saveplace.el (save-place-ignore-files-regexp): New variable
6093 allowing for excluding files from saving their location of point.
6094 The default value matches the temporary commit message editing
6095 files from Git, SVN, Bazaar, and Mercurial.
6096 (save-place-to-alist): Use it.
6097
d209e2fb 60982012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
6099 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * newcomment.el (uncomment-region-default): Don't leave extra space
6102 when an arg is provided (bug#8150).
6103
ee0ce425
TZ
61042012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6105
eb864a71 6106 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6107
95ddf442
GM
61082012-02-17 Glenn Morris <rgm@gnu.org>
6109
6110 * net/socks.el: Require network-stream. (Bug#10599)
6111
48dd1e39 61122012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6113
6114 * international/charprop.el:
6115 * international/uni-name.el:
6116 * international/uni-old-name.el:
6117 * international/uni-comment.el: Regenerate.
6118
d68cd087
GM
61192012-02-16 Glenn Morris <rgm@gnu.org>
6120
6121 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6122 Interactively in calendar buffer, give an error if not on a date.
6123
13932042
GM
61242012-02-15 Glenn Morris <rgm@gnu.org>
6125
6126 * shell.el (shell-delimiter-argument-list):
6127 Revert 2011-02-17 change. (Bug#8027)
6128
c3a70e2b
CY
61292012-02-15 Chong Yidong <cyd@gnu.org>
6130
60236b0d
CY
6131 * minibuffer.el (completion-at-point-functions): Doc fix.
6132
c3a70e2b
CY
6133 * custom.el (defcustom): Doc fix; note use of defvar.
6134
9f26dc24
GM
61352012-02-15 Glenn Morris <rgm@gnu.org>
6136
6137 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6138 Doc fixes.
6139
6546b134
GM
61402012-02-14 Glenn Morris <rgm@gnu.org>
6141
6142 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6143
d29b2b4c
LI
61442012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6145
6146 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6147 way the ports list is computed.
835bdcba
LI
6148 (smtpmail-query-smtp-server): Prompt the user for a port number if
6149 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6150
08dcdbc9
TZ
61512012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6152
6153 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6154
2605051a
GM
61552012-02-13 Glenn Morris <rgm@gnu.org>
6156
6157 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6158
7ee99f32
TZ
61592012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6160
6161 * net/gnutls.el (gnutls-trustfiles): New variable.
6162 (gnutls-negotiate): Use it.
6163
5f0af64f
LI
61642012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6165
6166 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6167 does its stuff if Gnus is running.
6168
c14fcc95
AM
61692012-02-13 Alan Mackenzie <acm@muc.de>
6170
6171 Fix a loop in c-set-fl-decl-start.
6172
7a71b18d 6173 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6174 c-backward-syntactic-ws actually moves backwards.
6175
142b4d90
LL
61762012-02-13 Leo Liu <sdl.web@gmail.com>
6177
6178 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6179 beginning so that all \C-o chars are removed.
6180
fa9958a6
TZ
61812012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6182
dc9924b8 6183 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6184
0bc5886a
AM
61852012-02-12 Alan Mackenzie <acm@muc.de>
6186
6187 Fix infinite loop with long macros.
4d6769e1 6188 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6189
d4bd55e7
CY
61902012-02-12 Chong Yidong <cyd@gnu.org>
6191
6192 * window.el (display-buffer): Doc fix (Bug#10785).
6193
66f3fe22
GM
61942012-02-12 Glenn Morris <rgm@gnu.org>
6195
bd7da63e
GM
6196 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6197 (x-disown-selection-internal, x-get-selection-internal):
6198 Sync docs with the xselect.c versions.
6199
66f3fe22
GM
6200 * allout-widgets.el: Add missing license notice.
6201
3e0d2fa7
GM
62022012-02-11 Glenn Morris <rgm@gnu.org>
6203
cfecdf09
GM
6204 * select.el (x-get-selection-internal, x-own-selection-internal)
6205 (x-disown-selection-internal):
6206 * x-dnd.el (x-get-selection-internal): Update declarations.
6207
6d216d7f
GM
6208 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6209
2bed3f04
GM
6210 * window.el (window-sides-slots):
6211 * tool-bar.el (tool-bar-position):
6212 * term/xterm.el (xterm-extra-capabilities):
6213 * ses.el (ses-self-reference-early-detection):
6214 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6215 (verilog-auto-wire-type)
6216 (verilog-auto-delete-trailing-whitespace)
6217 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6218 (verilog-auto-tieoff-declaration):
6219 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6220 (sql-oracle-statement-starters, sql-oracle-scan-on):
6221 * progmodes/prolog.el (prolog-align-comments-flag)
6222 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6223 (prolog-left-indent-regexp, prolog-paren-indent-p)
6224 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6225 (prolog-types, prolog-mode-specificators)
6226 (prolog-determinism-specificators, prolog-directives)
6227 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6228 (prolog-electric-dot-flag)
6229 (prolog-electric-dot-full-predicate-template)
6230 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6231 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6232 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6233 (prolog-program-switches, prolog-prompt-regexp)
6234 (prolog-debug-on-string, prolog-debug-off-string)
6235 (prolog-trace-on-string, prolog-trace-off-string)
6236 (prolog-zip-on-string, prolog-zip-off-string)
6237 (prolog-use-standard-consult-compile-method-flag)
6238 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6239 (prolog-imenu-max-lines, prolog-info-predicate-index)
6240 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6241 (prolog-char-quote-workaround):
6242 * progmodes/cc-vars.el (c-defun-tactic):
6243 * net/tramp.el (tramp-encoding-command-interactive)
6244 (tramp-local-end-of-line):
6245 * net/soap-client.el (soap-client):
6246 * net/netrc.el (netrc-file):
6247 * net/gnutls.el (gnutls):
6248 * minibuffer.el (completion-category-overrides)
6249 (completion-cycle-threshold)
6250 (completion-pcm-complete-word-inserts-delimiters):
6251 * man.el (Man-name-local-regexp):
6252 * mail/feedmail.el (feedmail-display-full-frame):
6253 * international/characters.el (glyphless-char-display-control):
6254 * eshell/em-ls.el (eshell-ls-date-format):
6255 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6256 (lisp-lambda-list-keyword-parameter-indentation)
6257 (lisp-lambda-list-keyword-parameter-alignment):
6258 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6259 * dired-x.el (dired-omit-verbose):
6260 * cus-theme.el (custom-theme-allow-multiple-selections):
6261 * calc/calc.el (calc-highlight-selections-with-faces)
6262 (calc-lu-field-reference, calc-lu-power-reference)
6263 (calc-note-threshold):
6264 * battery.el (battery-mode-line-limit):
6265 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6266 (archive-7z-update):
6267 * allout.el (allout-prefixed-keybindings)
6268 (allout-unprefixed-keybindings)
6269 (allout-inhibit-auto-fill-on-headline)
6270 (allout-flattened-numbering-abbreviation):
6271 * allout-widgets.el (allout-widgets-auto-activation)
6272 (allout-widgets-icons-dark-subdir)
6273 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6274 (allout-widgets-theme-dark-background)
6275 (allout-widgets-theme-light-background)
6276 (allout-widgets-item-image-properties-emacs)
6277 (allout-widgets-item-image-properties-xemacs)
6278 (allout-widgets-run-unit-tests-on-load)
6279 (allout-widgets-time-decoration-activity)
6280 (allout-widgets-hook-error-post-time)
6281 (allout-widgets-track-decoration):
6282 Add missing :version tags to new defcustoms and defgroups.
6283
5fec1b8e
GM
6284 * progmodes/sql.el (sql-ansi-statement-starters)
6285 (sql-oracle-statement-starters): Add custom type.
6286
3e0d2fa7
GM
6287 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6288 (prolog-system-version): Give it a type.
6289
90b671e2
EZ
62902012-02-11 Eli Zaretskii <eliz@gnu.org>
6291
6292 * term/pc-win.el (x-select-text, x-selection-owner-p)
6293 (x-own-selection-internal, x-disown-selection-internal)
6294 (x-get-selection-internal): Sync doc strings and argument lists
6295 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6296
5eac0c02
LL
62972012-02-11 Leo Liu <sdl.web@gmail.com>
6298
6299 * progmodes/python.el (python-end-of-statement): Fix infinite
6300 loop. (Bug#10788)
6301
f82cb659
GM
63022012-02-10 Glenn Morris <rgm@gnu.org>
6303
6304 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6305 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6306
cc26d239
LI
63072012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6308
6309 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6310 about SMTP before checking the From header.
6311
91027d08 6312 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6313 into own function for reuse by emacsbug.el.
6314
1be3ca5a
LL
63152012-02-10 Leo Liu <sdl.web@gmail.com>
6316
6317 * subr.el (condition-case-unless-debug): Rename from
6318 condition-case-no-debug. All callers changed.
6319 (with-demoted-errors): Fix caller.
6320
6321 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6322 * nxml/rng-valid.el (rng-do-some-validation):
6323 * emacs-lisp/package.el (package-refresh-contents)
6324 (package-menu-execute):
6325 * desktop.el (desktop-create-buffer):
91027d08 6326 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6327
b011fbfe
GM
63282012-02-10 Glenn Morris <rgm@gnu.org>
6329
b2096d72
GM
6330 * textmodes/bibtex.el:
6331 Add missing :version tags for new/changed defcustoms.
6332
b011fbfe
GM
6333 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6334
4c7e65bf
LI
63352012-02-09 Lars Ingebrigtsen <larsi@rusty>
6336
6337 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6338 (smtpmail-via-smtp): Use it, or fall back on the From address.
6339 (smtpmail-send-it): Ditto.
6340
f3934f6f
SM
63412012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6344 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6345 (byte-compile-tmp-var): New const.
6346 (byte-compile-defvar): Use it to minimize .elc size.
6347 Just use `defvar' rather than simulate it (bug#10761).
6348
a075a2c5
GM
63492012-02-09 Glenn Morris <rgm@gnu.org>
6350
cf3aa21b
GM
6351 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6352
354998cd
GM
6353 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6354 Add :version tags.
6355
dc9924b8
SM
6356 * progmodes/compile.el (compilation-error-screen-columns)
6357 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6358
dab3703d
GM
6359 * vc/log-view.el (log-view-toggle-entry-display):
6360 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6361
3f88cd72
GM
6362 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6363 (report-emacs-bug-can-use-xdg-email):
6364 (report-emacs-bug-insert-to-mailer): Doc fixes.
6365 (report-emacs-bug): Message fix.
6366
d95b247d
GM
6367 * net/browse-url.el (browse-url-can-use-xdg-open)
6368 (browse-url-xdg-open): Doc fixes.
6369
a075a2c5
GM
6370 * electric.el (electric-indent-mode, electric-pair-mode)
6371 (electric-layout-rules, electric-layout-mode): Doc fixes.
6372 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6373
ffb6157e
MR
63742012-02-08 Martin Rudalics <rudalics@gmx.at>
6375
6376 * server.el (server-unselect-display): Don't inadvertently kill
6377 the current buffer. (Bug#10729)
6378
e1ac4066
GM
63792012-02-08 Glenn Morris <rgm@gnu.org>
6380
34e8a2da
GM
6381 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6382 (sql-list-table): Doc fixes.
6383
b4ac6e8c
GM
6384 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6385 Comment out (does nothing).
6386
e1ac4066
GM
6387 * completion.el (dynamic-completion-mode):
6388 * dirtrack.el (dirtrack-debug-mode):
6389 * electric.el (electric-layout-mode):
6390 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6391 * face-remap.el (text-scale-mode, buffer-face-mode):
6392 * iimage.el (iimage-mode):
6393 * image-mode.el (image-transform-mode):
6394 * minibuffer.el (completion-in-region-mode):
6395 * scroll-lock.el (scroll-lock-mode):
6396 * simple.el (next-error-follow-minor-mode):
6397 * tar-mode.el (tar-subfile-mode):
6398 * tooltip.el (tooltip-mode):
6399 * vcursor.el (vcursor-use-vcursor-map):
6400 * wid-browse.el (widget-minor-mode):
6401 * emulation/tpu-edt.el (tpu-edt-mode):
6402 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6403 * international/iso-ascii.el (iso-ascii-mode):
6404 * language/thai-util.el (thai-word-mode):
6405 * mail/supercite.el (sc-minor-mode):
6406 * net/goto-addr.el (goto-address-mode):
6407 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6408 * progmodes/cwarn.el (cwarn-mode):
6409 * progmodes/flymake.el (flymake-mode):
6410 * progmodes/glasses.el (glasses-mode):
6411 * progmodes/hideshow.el (hs-minor-mode):
6412 * progmodes/pascal.el (pascal-outline-mode):
6413 * textmodes/enriched.el (enriched-mode):
6414 * vc/smerge-mode.el (smerge-mode):
6415 Doc fixes (minor mode argument).
6416
5e0d957f
EZ
64172012-02-07 Eli Zaretskii <eliz@gnu.org>
6418
6419 * ls-lisp.el (ls-lisp-sanitize): New function.
6420 (ls-lisp-insert-directory): Use it to fix or remove any elements
6421 in file-alist with missing attributes. (Bug#4673)
6422
98d7371e
AM
64232012-02-07 Alan Mackenzie <acm@muc.de>
6424
6425 Fix spurious recognition of c-in-knr-argdecl.
6426
6427 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6428 putative K&R region.
6429
667ced3a
AM
64302012-02-07 Alan Mackenzie <acm@muc.de>
6431
eb864a71
LM
6432 * progmodes/cc-engine.el (c-forward-objc-directive):
6433 Prevent looping in "#pragma mark @implementation".
667ced3a 6434
5b77774d
MA
64352012-02-07 Michael Albinus <michael.albinus@gmx.de>
6436
6437 * notifications.el (notifications-on-closed-signal): Make `reason'
6438 optional. (Bug#10744)
6439
af008560
GM
64402012-02-07 Glenn Morris <rgm@gnu.org>
6441
60d47423
GM
6442 * emacs-lisp/easy-mmode.el (define-minor-mode):
6443 Doc fixes for the macro and the mode it defines.
6444
dd605cc4
GM
6445 * image.el (imagemagick-types-inhibit): Doc fix.
6446
af008560
GM
6447 * cus-start.el (imagemagick-render-type): Add it.
6448
5cc59a37
LI
64492012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6450
4d6769e1
JB
6451 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6452 Set the default at load time, too, so that `font-lock-fontify-buffer'
6453 can be called without setting up the entire mode first. This fixes
6454 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6455
9a6dd747
CY
64562012-02-06 Chong Yidong <cyd@gnu.org>
6457
2d16b285
CY
6458 * simple.el (list-processes--refresh): Delete exited processes
6459 (Bug#8094).
6460
171e9b6e
CY
6461 * comint.el (comint-next-prompt): next-single-char-property-change
6462 and prev-single-char-property-change never return nil (Bug#8657).
6463
9a6dd747
CY
6464 * custom.el (defcustom): Doc fix (Bug#9711).
6465
aa4589a7
CY
64662012-02-05 Chong Yidong <cyd@gnu.org>
6467
5c2a252f
CY
6468 * cus-edit.el (custom-variable-reset-backup): Quote the value
6469 before storing it in the customized-value property (Bug#6712).
4aab9006 6470 (custom-display): Add a customization type tag.
983b9602 6471 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6472
aa4589a7
CY
6473 * wid-edit.el (widget-field-value-get): New optional arg to
6474 suppress trailing whitespace truncation.
6475 (character): Use it (Bug#2689).
6476
1ff980ae
AS
64772012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6478
6479 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6480 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6481
03988c98
CY
64822012-02-05 Chong Yidong <cyd@gnu.org>
6483
eeb6cc88
CY
6484 * cus-edit.el (custom-variable-value-create): For mismatched
6485 types, show the current value (Bug#7600).
6486
03988c98
CY
6487 * custom.el (defcustom): Doc fix.
6488
f8cdeef0
GM
64892012-02-05 Glenn Morris <rgm@gnu.org>
6490
6491 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6492
0696d255
JB
64932012-02-05 Juanma Barranquero <lekktu@gmail.com>
6494
6495 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6496 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6497 (pp-last-sexp): Use `looking-at-p'.
6498
34c99998
GM
64992012-02-04 Glenn Morris <rgm@gnu.org>
6500
8f05da42
GM
6501 * files.el (revert-buffer):
6502 Doc fix (mention revert-buffer-in-progress-p).
6503
f160676e
GM
6504 * emacs-lisp/ert-x.el (ert-simulate-command):
6505 Check deferred-action-list (which is obsolete) is bound.
6506
c7291ad9
GM
6507 * subr.el (with-wrapper-hook): Doc fixes.
6508
34c99998
GM
6509 * simple.el (filter-buffer-substring-functions)
6510 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6511
6283a7d3
LL
65122012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6513
6514 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6515 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6516
e96e3013
LL
65172012-02-04 Leo Liu <sdl.web@gmail.com>
6518
6519 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6520
8ded50f2
GM
65212012-02-04 Glenn Morris <rgm@gnu.org>
6522
82ff1d13
GM
6523 * image.el (image-extension-data): Add obsolete alias.
6524
987a0a16
GM
6525 * isearch.el (isearch-update): Doc fix.
6526
ea32ef46
GM
6527 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6528
8ded50f2
GM
6529 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6530
eea14f31
GM
65312012-02-03 Glenn Morris <rgm@gnu.org>
6532
6533 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6534 (image-animate-timeout): Doc fix.
6535
6536 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6537
12f381b7
GM
65382012-02-02 Glenn Morris <rgm@gnu.org>
6539
953cebf5
GM
6540 * server.el (server-auth-dir): Doc fix.
6541 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6542
12f381b7
GM
6543 * subr.el (run-mode-hooks): Doc fix.
6544
953a8c3b
JL
65452012-02-02 Juri Linkov <juri@jurta.org>
6546
6547 * image-mode.el (image-toggle-display-image): Remove tautological
6548 `major-mode' from the `derived-mode-p' test.
6549
c5d3843c
KH
65502012-02-02 Kenichi Handa <handa@m17n.org>
6551
9f6e692e 6552 * composite.el (compose-region): Cancel previous change.
c5d3843c 6553
159462d4 65542012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6555
6556 * composite.el (compose-region, compose-string): Signal error for
6557 a null string component (Bug#6988).
6558
9f562668
CY
65592012-02-01 Chong Yidong <cyd@gnu.org>
6560
e2cef717
CY
6561 * view.el (view-buffer-other-window, view-buffer-other-frame):
6562 Handle special modes like view-buffer (Bug#10650).
6563 (view-buffer): Simplify.
6564
9f562668
CY
6565 * frame.el (set-frame-font): Tweak meaning of third argument.
6566
9f6e692e
JB
6567 * dynamic-setting.el (font-setting-change-default-font):
6568 Use set-frame-font (Bug#9982).
9f562668 6569
781acb9f
GM
65702012-02-01 Glenn Morris <rgm@gnu.org>
6571
6035be52
GM
6572 * progmodes/compile.el (compilation-internal-error-properties):
6573 Respect compilation-first-column in the "*compilation*" buffer.
6574
781acb9f
GM
6575 * emacs-lisp/easy-mmode.el (define-minor-mode):
6576 Relax :variable's test for a named function.
6577
abbceb00
AM
65782012-01-31 Alan Mackenzie <acm@muc.de>
6579
6580 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6581 off by one error.
6582
fce3fdeb
CY
65832012-01-31 Chong Yidong <cyd@gnu.org>
6584
6585 * frame.el (set-frame-font): New arg ALL-FRAMES.
6586
6587 * menu-bar.el (menu-set-font): Use set-frame-font.
6588
6589 * faces.el (face-spec-reset-face): Don't apply unspecified
6590 attribute values to the default face.
6591
47893581
JB
65922012-01-31 Juanma Barranquero <lekktu@gmail.com>
6593
6594 * progmodes/cwarn.el (cwarn): Remove dead link.
6595 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6596 Remove * from defcustom docstrings.
6597 (turn-on-cwarn-mode): Make obsolete.
6598 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6599 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6600
e58e988a
GM
66012012-01-31 Glenn Morris <rgm@gnu.org>
6602
60dc2671 6603 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6604 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6605 Allow named functions to be used as the cdr of :variable.
e58e988a 6606
7a3f511d
GM
66072012-01-30 Glenn Morris <rgm@gnu.org>
6608
6609 * emacs-lisp/authors.el (authors-fixed-entries):
6610 Remove reference to deleted file rnewspost.el.
6611
cb882333
JB
66122012-01-29 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * window.el (window-with-parameter): Remove unused variable `windows'.
6615 (window--side-check): Remove unused variable `code'.
6616 (window--resize-siblings): Remove unused variable `first'.
6617 (adjust-window-trailing-edge): Remove unused variable `failed'.
6618 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6619 Use `let', not `let*'.
6620 (balance-windows-2): Remove unused variable `found'.
6621 (window--state-put-2): Remove unused variable `splits'.
6622 (window-state-put): Remove unused variable `selected'.
6623 (same-window-p): Use `string-match-p'.
6624 (display-buffer-assq-regexp): Remove unused variable `value'.
6625 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6626 Mark argument ALIST as ignored.
6627 (pop-to-buffer): Remove unused variable `old-window'.
6628
907201af
EZ
66292012-01-29 Eli Zaretskii <eliz@gnu.org>
6630
6631 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6632 and .lzma compressed files.
6633
ea162670
CY
66342012-01-29 Chong Yidong <cyd@gnu.org>
6635
5b95ee8a
CY
6636 * frame.el (window-system-default-frame-alist): Doc fix.
6637
ea162670
CY
6638 * dynamic-setting.el (font-setting-change-default-font): Don't
6639 change the default face if SET-FONT argument is non-nil (Bug#9982).
6640
d6e6f4b1
SB
66412012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6642
6643 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6644
0f29fa41 66452012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6646
6647 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6648 breakpoints in files outside current directory (Bug#6098).
6649
db174434
CY
66502012-01-29 Chong Yidong <cyd@gnu.org>
6651
6b25e4e2
SE
6652 * progmodes/python.el: Require ansi-color at top-level.
6653
6df6ae42
JB
6654 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6655 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6656 (lisp-mode-abbrev-table): Add doc.
6657 (lisp-mode-variables): Don't set local-abbrev-table.
6658 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6659
e70ee681
RW
66602012-01-28 Roland Winkler <winkler@gnu.org>
6661
6662 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6663
ace88aa2
RW
66642012-01-28 Roland Winkler <winkler@gnu.org>
6665
6666 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6667 (bibtex-set-dialect): Use it. Either set global values of
6668 dialect-dependent variables or bind these variables buffer-locally
6669 (Bug#10254).
6670 (bibtex-mode): Call bibtex-set-dialect via
6671 hack-local-variables-hook.
eb864a71
LM
6672 (bibtex-dialect): Update docstring.
6673 Add safe-local-variable predicate.
ace88aa2
RW
6674 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6675 bibtex-set-dialect.
6676 (bibtex-mode-map): Define menu for each dialect.
6677 (bibtex-entry): Fix docstring.
6678
93376c5b
CY
66792012-01-28 Chong Yidong <cyd@gnu.org>
6680
6681 * eshell/esh-arg.el (eshell-quote-argument): New function.
6682
6683 * eshell/esh-ext.el (eshell-invoke-batch-file):
6684 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6685 first arg to eshell-parse-command (Bug#10523).
6686
4372494f
DA
66872012-01-28 Drew Adams <drew.adams@oracle.com>
6688
6689 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6690 `default-directory' is non-nil.
6691
4d4ec1f8
EZ
66922012-01-28 Eli Zaretskii <eliz@gnu.org>
6693
6694 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6695 line that displays system-configuration-options. (Bug#9924)
6696
7c188927
DA
66972012-01-28 Drew Adams <drew.adams@oracle.com>
6698
6699 * descr-text.el (describe-char): Show information about POS, in
6700 addition to information about the character at POS. Improve and
6701 update the doc string. Change "code point" to "code point in
6702 charset", to avoid confusion with the character's Unicode code
6703 point shown above that. (Bug#10129)
6704
e0da685a
EZ
67052012-01-28 Eli Zaretskii <eliz@gnu.org>
6706
6707 * descr-text.el (describe-char): Show the raw character, not only
6708 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6709 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6710 for the reasons.
6711
70550acf
PH
67122012-01-28 Phil Hagelberg <phil@hagelb.org>
6713
eb864a71
LM
6714 * emacs-lisp/package.el (package-install):
6715 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6716
0ce8e868
CY
67172012-01-28 Chong Yidong <cyd@gnu.org>
6718
cb882333
JB
6719 * emacs-lisp/package.el (package-maybe-load-descriptor):
6720 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6721 (package-maybe-load-descriptor): Use it.
6722 (package-download-transaction): Fully load required packages
6723 inside the loop, so that `require' calls work (Bug#10593).
6724 (package-install): No need to call package-initialize now.
6725
2e7f3bea
CY
67262012-01-28 Chong Yidong <cyd@gnu.org>
6727
6e9bad14
CY
6728 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6729
f823b8ca
CY
6730 * tooltip.el (tooltip-mode): Doc fix.
6731 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6732
2680c309
CY
6733 * frame.el (set-cursor-color): Doc fix (Bug#352).
6734
d7a9e63b
CY
6735 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6736 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6737
2e7f3bea
CY
6738 * cus-edit.el (custom-buffer-create-internal): Fix search button
6739 action (Bug#10542).
2ae01800 6740 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6741
fc4f7a23
EW
67422012-01-27 Eduard Wiebe <usenet@pusto.de>
6743
6744 * dired.el (dired-mark-files-regexp):
6745 Include any subdirectory components. (Bug#10445)
6746
7dd37071
ML
67472012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6748
6749 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6750 Handle [host]:port syntax. (Bug#10533)
6751
a268160b
AH
67522012-01-27 Alex Harsanyi <harsanyi@mac.com>
6753
6754 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6755
e43273ef
GM
67562012-01-26 Glenn Morris <rgm@gnu.org>
6757
6758 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6759 * term.el (term-raw-escape-map): Use Control-X-prefix.
6760 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6761
1edf595d
MR
67622012-01-25 Martin Rudalics <rudalics@gmx.at>
6763
6764 * window.el (window-state-get, window--state-get-1): Don't deal
6765 with fixed-sizeness of windows. Simplify code.
6766
fa8eafef
JC
67672012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6768
6df6ae42
JB
6769 * window.el (window--state-get-1, window--state-put-2):
6770 Don't save and restore the mark.
fa8eafef 6771
0b21c100
CY
67722012-01-25 Chong Yidong <cyd@gnu.org>
6773
6774 * custom.el (custom-variable-p): Doc fix.
6775
5ae1a6c8
GM
67762012-01-25 Glenn Morris <rgm@gnu.org>
6777
40047858
GM
6778 * dired.el (dired-goto-file): Handle some of the more common
6779 characters that `ls -b' escapes. (Bug#10596)
6780
5ddce96c
GM
6781 * progmodes/compile.el (compilation-next-error-function):
6782 Respect compilation-first-column in the "*compilation*" buffer.
6783 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6784
5ae1a6c8
GM
6785 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6786
b559f1a9
GM
67872012-01-24 Glenn Morris <rgm@gnu.org>
6788
6789 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6790
6725d21a
JD
67912012-01-24 Julien Danjou <julien@danjou.info>
6792
6793 * color.el (color-rgb-to-hsl): Fix value computing.
6794 (color-hue-to-rgb): New function.
6795 (color-hsl-to-rgb): New function.
6796 (color-clamp, color-saturate-hsl, color-saturate-name)
6797 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6798 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6799
70df4bbe
GM
68002012-01-24 Glenn Morris <rgm@gnu.org>
6801
6802 * vc/vc-rcs.el (vc-rcs-create-tag):
6803 * vc/vc-sccs.el (vc-sccs-create-tag):
6804 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6805
802a2ae2
ML
68062012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6807
6808 * eshell/esh-util.el (eshell-read-hosts-file):
6809 Skip comment lines. (Bug#10549)
6810
d7128bb1
ML
6811 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6812
d1a5c3b4
JB
68132012-01-23 Juanma Barranquero <lekktu@gmail.com>
6814
2724d9c7
JB
6815 * subr.el (display-delayed-warnings): Doc fix.
6816 (collapse-delayed-warnings): New function to collapse identical
6817 adjacent warnings.
6818 (delayed-warnings-hook): Add it.
d1a5c3b4 6819
a5509865
MA
68202012-01-22 Michael Albinus <michael.albinus@gmx.de>
6821
6822 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6823
a5509865
MA
6824 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6825 (tramp-default-user-alist): Don't add "pscp".
6826 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6827 property "login-as", if set. (Bug#10530)
6828
cc6d5805
MA
68292012-01-21 Michael Albinus <michael.albinus@gmx.de>
6830
6831 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6832 "plink1" and "psftp". (Bug#10530)
6833
68342012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6835
6836 * international/mule-cmds.el (prefer-coding-system): Show a
6837 warning message if the default value of file-name-coding-system
6838 was not changed.
6839
f0960428
JC
68402012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6841
cb882333
JB
6842 * windmove.el (windmove-reference-loc):
6843 Fix windmove-reference-loc miscalculation.
f0960428 6844
dd6f2a63
JB
68452012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6846
6847 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6848 default unit.
6849
7b447e9b
GM
68502012-01-21 Glenn Morris <rgm@gnu.org>
6851
117a9ea1
GM
6852 * international/mule.el (auto-coding-alist): Add .tbz.
6853
7b447e9b
GM
6854 * files.el (local-enable-local-variables): Doc fix.
6855 (inhibit-local-variables-regexps): Rename from
6856 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6857 Doc fix. Add some extensions from auto-coding-alist.
6858 (inhibit-local-variables-suffixes):
6859 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6860 (inhibit-local-variables-p):
6861 New function, extracted from set-auto-mode-1.
6862 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6863 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6864 (hack-local-variables): Doc fix. Make the mode-only case
6865 respect enable-local-variables and friends.
6866 Respect inhibit-local-variables-regexps for file-locals, but
6867 not for directory-locals.
6868 (set-visited-file-name):
6869 Take account of inhibit-local-variables-regexps.
6870 Whether it applies may change as the file name is changed.
6871 * jka-cmpr-hook.el (jka-compr-install):
6872 * jka-compr.el (jka-compr-uninstall):
6873 Update for inhibit-first-line-modes-suffixes name change.
6874
dd6e3cdd
MR
68752012-01-20 Martin Rudalics <rudalics@gmx.at>
6876
6877 * help-macro.el (make-help-screen): Temporarily restore original
6878 binding for minor-mode-map-alist (Bug#10454).
6879
0d0deb38
JD
68802012-01-19 Julien Danjou <julien@danjou.info>
6881
6882 * color.el (color-name-to-rgb): Use the white color to find the max
6883 color component value and return correctly computed values.
6884 (color-name-to-rgb): Add missing float conversion for max value.
6885
34a02f46
MR
68862012-01-19 Martin Rudalics <rudalics@gmx.at>
6887
6888 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6889 special state value for window-persistent-parameters.
6890 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6891 (window--state-put-2): Reset all window parameters to nil before
6892 assigning values of persistent parameters.
6893
606c44c4
AM
68942012-01-18 Alan Mackenzie <acm@muc.de>
6895
6896 Eliminate sluggishness and hangs in fontification of "semicolon
6897 deserts".
6898
cb882333
JB
6899 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6900 Change value 10000 -> 3000.
606c44c4
AM
6901 (c-state-safe-place): Reformulate so it doesn't stack up an
6902 infinite number of wrong entries in c-state-nonlit-pos-cache.
6903 (c-determine-limit-get-base, c-determine-limit): New functions to
6904 determine backward search limits disregarding literals.
6905 (c-find-decl-spots): Amend commenting.
6906 (c-cheap-inside-bracelist-p): New function which detects "={".
6907
6908 * progmodes/cc-fonts.el
6909 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6910 backward search.
6911 (c-font-lock-declarations): Fix an occurrence of point being
6912 undefined. Check additionally for point being in a bracelist or
6913 near a macro invocation without a semicolon so as to avoid a
6914 fruitless time consuming search for a declarator. Give a more
6915 precise search limit for declarators using the new
6916 c-determine-limit.
6917
f3860cea
GM
69182012-01-18 Glenn Morris <rgm@gnu.org>
6919
6920 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6921 (set-auto-mode): Doc fixes.
6922
1db03b16
GM
69232012-01-17 Glenn Morris <rgm@gnu.org>
6924
0e6038be
GM
6925 * isearch.el (search-nonincremental-instead): Fix doc typo.
6926
1db03b16
GM
6927 * dired.el (dired-insert-directory): Handle newlines in directory name.
6928 (dired-build-subdir-alist): Unescape newlines in directory name.
6929
4cb0aa75
MA
69302012-01-17 Michael Albinus <michael.albinus@gmx.de>
6931
6932 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6933 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6934 (tramp-action-terminal): Use it. (Bug#10530)
6935
1d00653d
SM
69362012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6939
6a6ee00d
MR
69402012-01-16 Martin Rudalics <rudalics@gmx.at>
6941
6942 * window.el (window-state-ignored-parameters): Remove variable.
6943 (window--state-get-1): Rename argument MARKERS to IGNORE.
6944 Handle persistent window parameters. Make copy of clone-of
6945 parameter only if requested. (Bug#10348)
6946 (window--state-put-2): Install a window parameter only if it has
6947 a non-nil value or an existing parameter shall be overwritten.
6948
97912def
MA
69492012-01-15 Michael Albinus <michael.albinus@gmx.de>
6950
6951 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6952
688070a5
EZ
69532012-01-14 Eli Zaretskii <eliz@gnu.org>
6954
6955 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6956 don't pass the (nil) value of `upnode' to string-match.
6957
301afadc
CY
69582012-01-14 Chong Yidong <cyd@gnu.org>
6959
6960 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6961 Fix values recognized by the cursorBlink resource.
301afadc 6962
9e5788aa
PE
69632012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6964
6965 * epg.el (epg--make-temp-file): Avoid permission race condition
6966 when running on old Emacs versions (bug#10403).
6967
3cdb7f5a
GM
69682012-01-14 Glenn Morris <rgm@gnu.org>
6969
6970 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6971
8c82b1b4
AM
69722012-01-13 Alan Mackenzie <acm@muc.de>
6973
6974 Fix filling for when filladapt mode is enabled.
6975
6976 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6977 c-mask-paragraph, pass in `fill-paragraph' rather than
6978 `fill-region-as-paragraph'. (This is a reversion of a previous
6979 change.)
eb864a71
LM
6980 * progmodes/cc-mode.el (c-basic-common-init):
6981 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6982
e517eda4
GM
69832012-01-13 Glenn Morris <rgm@gnu.org>
6984
1498536e
GM
6985 * dired.el (dired-switches-escape-p): New function.
6986 (dired-insert-directory): Use dired-switches-escape-p.
6987 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6988
e517eda4
GM
6989 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6990
328f984d
GM
69912012-01-12 Glenn Morris <rgm@gnu.org>
6992
6993 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6994 changes in adaptive-fill-regexp. (Bug#10276)
6995
2cc769a8
AM
69962012-01-11 Alan Mackenzie <acm@muc.de>
6997
6998 Fix Emacs bug #10463 - put `widen's around the critical spots.
6999
1d00653d 7000 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7001 widen around each invocation of c-state-pp-to-literal. Remove an
7002 unused let variable.
7003
e52c37fa
GM
70042012-01-11 Glenn Morris <rgm@gnu.org>
7005
7006 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7007 Doc fix.
e52c37fa 7008
96f8741e
CY
70092012-01-10 Chong Yidong <cyd@gnu.org>
7010
1d00653d
SM
7011 * net/network-stream.el (network-stream-open-starttls):
7012 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7013 response to the capability command.
7014
b09a806e
GM
70152012-01-10 Glenn Morris <rgm@gnu.org>
7016
7017 * mail/unrmail.el (unrmail): Tweak previous change.
7018
7655cb66
CY
70192012-01-09 Chong Yidong <cyd@gnu.org>
7020
7021 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7022
9d5a8f0b
AM
70232012-01-08 Alan Mackenzie <acm@muc.de>
7024
7025 Optimise font locking in long enum definitions.
7026
7027 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7028 arm to a cond form to handle enums.
7029 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7030 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7031
9a0115ab 70322012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7033
7034 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7035 (Bug#10401)
6bb72cbd 7036
f186bb95
LMI
70372012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7038
29232a68
LMI
7039 * faces.el (set-face-attribute): Clarify the meaning of the nil
7040 frame (bug#10294).
7041
4e5d086d
LMI
7042 * subr.el (with-selected-frame): Mention that the selected frame
7043 is restored (bug#9980).
7044
8e66aebe
LMI
7045 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7046 (bug#9759).
7047
cd394be1 7048 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7049 (password-read): Don't autoload unused function.
7050
adf4e762
JB
70512012-01-07 Juanma Barranquero <lekktu@gmail.com>
7052
7053 * progmodes/which-func.el (which-func-mode): Turn into a
7054 non-interactive function and mark as obsolete (bug#10428).
7055
89bd9ccd
CY
70562012-01-06 Chong Yidong <cyd@gnu.org>
7057
7058 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7059 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7060 functions, along with 1 and -1.
7061
4afee9d5
EZ
70622012-01-06 Eli Zaretskii <eliz@gnu.org>
7063
7064 * time.el (display-time-load-average)
7065 (display-time-default-load-average): Doc fixes. See the thread
7066 starting at
7067 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7068 for the details.
7069
536aea70
GM
70702012-01-06 Glenn Morris <rgm@gnu.org>
7071
665ae865
GM
7072 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7073 has no messages. (Bug#10377)
7074
c869783d
GM
7075 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7076 than Info-edit. (Bug#10385)
7077
2bb4227e
GM
7078 * time.el (display-time-load-average, display-time-next-load-average):
7079 Doc fixes.
7080
7d5944b9
GM
7081 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7082 local setting of buffer-read-only to the input buffer. (Bug#10419)
7083
536aea70
GM
7084 * calendar/calendar.el (calendar-mode):
7085 Locally set scroll-margin to 0. (Bug#10379)
7086
7dccca16
UM
70872012-01-06 Ulrich Mueller <ulm@gentoo.org>
7088
7089 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7090
afbb7930
GM
70912012-01-05 Glenn Morris <rgm@gnu.org>
7092
7093 * eshell/em-unix.el (diff-no-select): Autoload it.
7094 (eshell/diff): Use diff-no-select. (Bug#10420)
7095
04482335
CY
70962012-01-05 Chong Yidong <cyd@gnu.org>
7097
7baca3bc
CY
7098 * shell.el (shell-dynamic-complete-functions): Revert last change.
7099 (shell-command-completion-function): New function.
7100 (shell-completion-vars): Use it to implement
7101 shell-completion-execonly (Bug#10417).
7102
04482335
CY
7103 * custom.el (enable-theme): Don't set custom-safe-themes.
7104
1d00653d
SM
7105 * cus-theme.el (custom-theme-merge-theme):
7106 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7107
bb5aa5d6
MM
71082012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7109
7110 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7111 first prompt in `sql-interacive-mode'.
7112 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7113 keywords.
6df6ae42 7114 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7115 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7116 context of original buffer. Invoke `sql-login-hook'.
7117
a7183d7c
EZ
71182012-01-04 Eli Zaretskii <eliz@gnu.org>
7119
7120 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7121 letters in cite-prefix.
7122
a1eacd1e
LMI
71232012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7124
7125 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7126
787cdb34
CY
71272012-01-03 Chong Yidong <cyd@gnu.org>
7128
1d00653d
SM
7129 * shell.el (shell-dynamic-complete-functions):
7130 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7131 comint-filename-completion first (Bug#10417).
7132
30710442
RS
71332012-01-02 Richard Stallman <rms@gnu.org>
7134
7135 * battery.el (battery-status-function):
7136 Detect when to use battery-yeeloong-sysfs.
7137 (battery-echo-area-format): Add string for Yeeloong.
7138 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7139 (battery-yeeloong-sysfs): New function.
7140
f75bfc33
CY
71412012-01-02 Chong Yidong <cyd@gnu.org>
7142
7143 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7144 (dirtrack): Merge code for handling relative filenames in prompt
7145 from shell-dir-cookie-watcher.
7146 (dirtrack-debug-message): New arg to avoid excess format calls.
7147
7148 * shell.el (shell-dir-cookie-re): Variable deleted.
7149 (shell-dir-cookie-watcher): Function deleted.
7150 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7151 with dirtrack-mode.
7152
651e947e
EZ
71532012-01-01 Eli Zaretskii <eliz@gnu.org>
7154
1d00653d
SM
7155 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7156 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7157 libgnutls-26.dll.
7158
94d4c7dc
AS
71592011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7160
7161 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7162
8d43f3cd
EZ
71632011-12-31 Eli Zaretskii <eliz@gnu.org>
7164
7165 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7166 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7167
98c8795a
MA
71682011-12-29 Michael Albinus <michael.albinus@gmx.de>
7169
7170 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7171 also for alternative shells.
7172 (tramp-open-connection-setup-interactive-shell): Check, whether
7173 the shell is a busybox.
7174 (tramp-send-command): Don't suppress multiple prompts for
7175 busyboxes, it hurts.
7176
51281b32
CY
71772011-12-28 Chong Yidong <cyd@gnu.org>
7178
7179 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7180 (gdb-get-source-file): Move mode line update to
7181 gdb-get-source-file (Bug#10087).
7182
2170cb53
CY
71832011-12-25 Chong Yidong <cyd@gnu.org>
7184
7185 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7186 gud-gdb-marker-filter without taking it as an argument.
7187 (gud-gdb-run-command-fetch-lines): Caller changed.
7188 (gud-gdb-completion-function): New variable.
7189 (gud-gdb-completion-at-point): Use it.
7190 (gud-gdb-completions-1): Split from gud-gdb-completions.
7191
7192 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7193 function as separate arguments.
7194 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7195 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7196 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7197 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7198 (gdb-stopped, def-gdb-auto-update-trigger)
7199 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7200 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7201 Callers changed.
2170cb53
CY
7202 (gud-gdbmi-completions): New function.
7203 (gdb): Use it for generating the completion table.
7204
be8b11bb
AM
72052011-12-24 Alan Mackenzie <acm@muc.de>
7206
7207 Introduce a mechanism to widen the region used in context font
1d00653d 7208 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7209
1d00653d
SM
7210 * progmodes/cc-langs.el (c-before-font-lock-functions):
7211 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7212 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7213 functions to be run just before context (etc.) font locking.
7214
7215 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7216 New, functionality extracted from
be8b11bb 7217 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7218 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7219 (c-after-change): Set c-in-after-change-fontification.
7220 (c-set-fl-decl-start): Rejig its interface, so it can be called
7221 from both after-change and context fontifying.
b81d40f0
JB
7222 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7223 New functions.
7224 (c-standard-font-lock-fontify-region-function): New variable.
7225 (c-font-lock-fontify-region): New function.
be8b11bb 7226
341cf6ac
JL
72272011-12-24 Juri Linkov <juri@jurta.org>
7228
7229 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7230 (Bug#10348)
7231
bffcee0a
MA
72322011-12-23 Michael Albinus <michael.albinus@gmx.de>
7233
7234 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7235 existence of source file. (Bug#10325)
7236
cb5e207c
AM
72372011-12-23 Alan Mackenzie <acm@muc.de>
7238
7239 Fix unstable fontification inside templates.
7240
b81d40f0
JB
7241 * progmodes/cc-langs.el (c-before-font-lock-functions):
7242 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7243 additionally has c-set-fl-decl-start. The other languages (apart
7244 from AWK) have that as a single entry.
7245
b81d40f0
JB
7246 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7247 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7248 c-set-fl-decl-start.
7249
b81d40f0
JB
7250 * progmodes/cc-mode.el (c-common-init, c-after-change):
7251 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7252 (c-set-fl-decl-start): New function, extracted from
7253 c-font-lock-enclosing-decls and enhanced.
7254
60ff536c
JB
72552011-12-23 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7258
1c4757d6
JL
72592011-12-22 Juri Linkov <juri@jurta.org>
7260
7261 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7262
d031f2c7
CY
72632011-12-22 Chong Yidong <cyd@gnu.org>
7264
7265 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7266
bace743a
DA
72672011-12-21 Drew Adams <drew.adams@oracle.com>
7268
7269 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7270
728a1f2b
JC
72712011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7272
7273 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7274
0d373f73
TZ
72752011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7276
fec0aaa4
TZ
7277 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7278 highlighting and support. Fix up comments for capitalization.
7279 (cfengine-mode-debug): New var.
7280 (cfengine3-mode): Change the modeline indicator to "CFE3".
7281 (cfengine3-font-lock-keywords): Improve defun highlighting.
7282 (cfengine2-actions): Rename from `cfengine-actions'.
7283 (cfengine2-font-lock-keywords): Rename from
7284 `cfengine-font-lock-keywords'.
7285 (cfengine2-imenu-expression): Rename from
7286 `cfengine-imenu-expression'.
7287 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7288 (cfengine2-beginning-of-defun): Rename from
7289 `cfengine-beginning-of-defun'.
7290 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7291 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7292 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7293 modeline indicator to "CFE2".
7294 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7295 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7296
bc86f573
CY
72972011-12-21 Chong Yidong <cyd@gnu.org>
7298
7299 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7300 filename argument.
7301
d45ba96b
MR
73022011-12-20 Martin Rudalics <rudalics@gmx.at>
7303
7304 * window.el (window-normalize-buffer-to-display): Remove.
7305 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7306
a6198c90
CY
73072011-12-19 Chong Yidong <cyd@gnu.org>
7308
7309 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7310 Don't signal an error in a predicate function; return non-nil.
7311 (vc-dir-mark-file): Move the error here.
7312 (vc-dir-mark-unmark): If acting on the region, keep going if one
7313 of the entries cannot be marked/unmarked.
7314 (vc-dir-mark-all-files): If current entry is a directory, mark
7315 only child files, as documented.
7316
34c5fb55
VB
73172011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7318
7319 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7320 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7321 addition.
7322
c803b2b7
JD
73232011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7324
7325 * term/ns-win.el (ns-get-selection-internal)
7326 (ns-store-selection-internal): Declare.
1154d12e
JB
7327 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7328 Declare as obsolete.
7329 (ns-get-pasteboard, ns-paste-secondary):
7330 Use ns-get-selection-internal.
7331 (ns-set-pasteboard, ns-copy-including-secondary):
7332 Use ns-store-selection-internal.
c803b2b7 7333
9cff91f8 73342011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7335
7336 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7337 (vc-deduce-fileset): Doc fix.
99a289d9 7338
f16c898a
AS
73392011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7340
7341 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7342
763237c4
SS
73432011-12-13 Sam Steingold <sds@gnu.org>
7344
7345 * man.el (Man-getpage-in-background): When running under a
7346 window-system, ignore $MANWIDTH and $COLUMNS.
7347
5fc1c122
KH
73482011-12-15 Kenichi Handa <handa@m17n.org>
7349
7350 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7351 (setup-ethiopic-environment-internal): Comment out key-binding for
7352 ethio-toggle-punctuation.
7353
13d49cbb
AM
73542011-12-13 Alan Mackenzie <acm@muc.de>
7355
898169a2
AM
7356 Add the switch statement to AWK Mode.
7357
7a71b18d 7358 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7359 "default" to the keywords regexp.
7360
7a71b18d 7361 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7362 expression as the rest.
1d00653d
SM
7363 (c-nonlabel-token-key): Allow string literals for AWK.
7364 Refactor for the other modes.
898169a2 7365
13d49cbb 7366 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7367 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7368 routines. Limit backward searching in c-font-lock-enclosing.decl.
7369
7370 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7371 pp-state and literal type in addition to the limits.
1d00653d 7372 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7373 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7374 (c-slow-in-literal, c-fast-in-literal): Remove.
7375 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7376
7377 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7378 being in a literal. Add a limit for backward searching.
7379
7380 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7381 c-slow-in-literal.
7382
15e0efc7
SM
73832011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7386
454592a6
MR
73872011-12-13 Martin Rudalics <rudalics@gmx.at>
7388
7389 * window.el (delete-other-windows): Use correct frame in call to
7390 window-with-parameter.
7391
87393f26
DP
73922011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7393
7394 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7395 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7396 (makefile-gmake-statements, makefile-makepp-statements):
7397 Use it and add new makepp keywords.
7398 (makefile-makepp-font-lock-keywords): Add new patterns.
7399 (makefile-match-function-end): Match new [...] and [[...]].
7400
11636b22
JB
74012011-12-11 Juanma Barranquero <lekktu@gmail.com>
7402
7403 * ses.el (ses-call-printer-return, ses-cell-property-get)
7404 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7405 (ses-create-cell-variable, ses-reset-header-string)
7406 (ses-cell-set-formula, ses-repair-cell-reference-all)
7407 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7408 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7409 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7410 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7411 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7412 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7413 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7414 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7415 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7416 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7417 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7418 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7419
cf018193
VB
74202011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7421
7422 * ses.el: The overall change is to add cell renaming, that is
7423 setting fancy names for cell symbols other than name matching
7424 "\\`[A-Z]+[0-9]+\\'" regexp .
7425 (ses-create-cell-variable): New defun.
7426 (ses-relocate-formula): Relocate formulas only for cells the
7427 symbols of which are not renamed, i.e. symbols whose names do not
7428 match regexp "\\`[A-Z]+[0-9]+\\'".
7429 (ses-relocate-all): Relocate values only for cells the symbols of
7430 which are not renamed.
7431 (ses-load): Create cells variables as the (ses-cell ...) are read,
7432 in order to check row col consistency with cell symbol name only
7433 for cells that are not renamed.
7434 (ses-replace-name-in-formula): New defun.
7435 (ses-rename-cell): New defun.
7436
ee957461
CY
74372011-12-11 Chong Yidong <cyd@gnu.org>
7438
7439 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7440 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7441
9a9e9ef0
MR
74422011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7443
7444 * window.el (other-window): Fix docstring.
7445
92a8eba5
EZ
74462011-12-10 Eli Zaretskii <eliz@gnu.org>
7447
7448 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7449 `from' or `to' address before taking its substring.
7450 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7451 encoded name is chopped in the middle of the encoded string, and
7452 thus displayed encoded.
7453
e152e577
JB
74542011-12-10 Juanma Barranquero <lekktu@gmail.com>
7455
7456 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7457
e5d84bfe
EZ
74582011-12-10 Eli Zaretskii <eliz@gnu.org>
7459
7460 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7461 to use texinfo-update-node and commands that call it if the
7462 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7463 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7464 (texinfo-all-menus-update, texinfo-master-menu)
7465 (texinfo-update-node, texinfo-every-node-update)
7466 (texinfo-multiple-files-update): Doc fix. Warn against updating
7467 all the @node lines.
7468 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7469 argument is numeric. Explain better in the doc string what the
7470 function really does.
7471 (texinfo-insert-master-menu-list): Improve the error message
7472 displayed if there's no menu in the Top node.
7473 (Bug#2975) See also this thread:
e5d84bfe
EZ
7474 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7475
1d84e9bb
MG
74762011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7477
7478 * speedbar.el (speedbar-supported-extension-expressions):
7479 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7480
382c953b
JB
74812011-12-09 Juanma Barranquero <lekktu@gmail.com>
7482
7483 * printing.el (pr-mode-alist):
7484 * simple.el (filter-buffer-substring-functions)
7485 (completion-list-insert-choice-function):
7486 * window.el (window-with-parameter, window-atom-root)
7487 (window-sides-slots, window-size-fixed, window-min-delta)
7488 (window-max-delta, window--resize-mini-window)
7489 (window--resize-child-windows-normal, window-tree)
7490 (delete-other-windows, quit-window, split-window)
7491 (display-buffer-record-window, special-display-buffer-names)
7492 (special-display-regexps, special-display-popup-frame)
7493 (same-window-p, split-window-sensibly)
7494 (display-buffer-overriding-action, display-buffer-alist)
7495 (display-buffer-base-action, display-buffer, switch-to-buffer)
7496 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7497 (fit-window-to-buffer, recenter-positions)
7498 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7499 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7500 and remove unneeded backslashes in docstrings.
7501
39c9faef
SM
75022011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7503
98449af8
SM
7504 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7505
39c9faef
SM
7506 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7507 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7508 end in ".mk".
7509 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7510 when reading the makefile (bug#10116).
7511
86ed9fdc
SM
75122011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7515 (bug#10116).
7516
5580f89d
GM
75172011-12-06 Glenn Morris <rgm@gnu.org>
7518
7519 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7520
28d3917c
CY
75212011-12-06 Chong Yidong <cyd@gnu.org>
7522
7523 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7524
a98edce9
JB
75252011-12-06 Juanma Barranquero <lekktu@gmail.com>
7526
7527 * textmodes/table.el (table-shorten-cell): Fix typo.
7528
e65adfac
CG
75292011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7530
7531 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7532
71cc0b74
EZ
75332011-12-05 Eli Zaretskii <eliz@gnu.org>
7534
7535 * descr-text.el (describe-char): Fix display of strong
7536 right-to-left characters and directional embeddings and overrides.
7537
7538 * simple.el (what-cursor-position): Fix display of codepoints of
7539 strong right-to-left characters.
7540
315bc30d
CY
75412011-12-05 Chong Yidong <cyd@gnu.org>
7542
7543 * faces.el (read-color): Doc fix.
7544
58a70b94
GM
75452011-12-05 Glenn Morris <rgm@gnu.org>
7546
7547 * align.el (align--set-marker): Add doc-string.
7548 Don't try to move something that is not a marker. (Bug#10216)
7549
5158face
GM
75502011-12-04 Glenn Morris <rgm@gnu.org>
7551
7552 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7553 overly zealous deletion of trailing whitespace.
7554
520fca41
JB
75552011-12-04 Juanma Barranquero <lekktu@gmail.com>
7556
7557 * server.el (server-delete-client): On Windows, do not try to delete
7558 the only terminal.
7559 (server-process-filter): On Windows, treat requests for a tty frame as
7560 if they were for a GUI frame if the running server is in GUI mode.
7561
5e605a2e
GM
75622011-12-03 Glenn Morris <rgm@gnu.org>
7563
7564 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7565
5c3fe83f
SM
75662011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7567
6f5e57e7
SM
7568 * electric.el: Streamline electric-indent's hook.
7569 (electric-indent-chars): Revert to simple list.
7570 (electric-indent-functions): New var.
7571 (electric-indent-post-self-insert-function): Use it.
7572
5c3fe83f
SM
7573 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7574 there's no inferior buffer (bug#10196).
7575 (prolog-consult-compile): Don't use toggle-read-only.
7576
6bdac736
MA
75772011-12-02 Michael Albinus <michael.albinus@gmx.de>
7578
7579 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7580 interrupt. (Bug#10187)
7581
6131ba7f
SM
75822011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7583
99c79fee
SM
7584 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7585 (bug#9160).
7586
6131ba7f
SM
7587 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7588 (bug#10191).
7589
cb0a02ea
JL
75902011-12-02 Juri Linkov <juri@jurta.org>
7591
7592 * info.el (Info-search): Display "end of manual" when Isearch
7593 reaches the end of single-file Info manual. (Bug#9918)
7594
66e0570c
EZ
75952011-12-02 Eli Zaretskii <eliz@gnu.org>
7596
7597 * isearch.el (isearch-message-prefix): Run the input method part
7598 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7599
02b16839
JL
76002011-12-02 Juri Linkov <juri@jurta.org>
7601
7602 * isearch.el (isearch-occur): Use `word-search-regexp' for
7603 `isearch-word'.
7604 (isearch-search-and-update): Add condition for `isearch-word' and
7605 call `word-search-regexp'. (Bug#10145)
7606
0b950688
GM
76072011-12-01 Glenn Morris <rgm@gnu.org>
7608
7609 * eshell/em-hist.el (eshell-hist-initialize):
7610 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7611 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7612
9505c3c7
SM
76132011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7616
1bbe96b2 76172011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7618
a1beca85
SM
7619 * progmodes/verilog-mode.el (verilog-pretty-expr):
7620 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7621 verilog, such as += *= and the like.
7622 (verilog-assignment-operator-re): Regular expression to find the
7623 assigment operator in a verilog assignment.
7624 (verilog-assignment-operation-re): Regular expression to find an
7625 assignment statement for pretty-expr.
7626 (verilog-in-attribute-p): Query returns true if point is in an
7627 attribute context; used to skip these for expression line up from
7628 pretty-expr.
7629 (verilog-in-parameter-p): Query returns true if point is in an
7630 parameter definition context; used to skip these for expression
7631 line up from pretty-expr.
7632 (verilog-in-parenthesis-p): Query returns true if point is in a
7633 parenthetical expression, specifically ( ) but not [ ] or { };
7634 used by pretty-expr.
7635 (verilog-just-one-space): If there is no space, don't add one.
7636 (verilog-get-lineup-indent-2): Specifically skip just attribute
7637 contexts for expression lineup, rather than skipping all
7638 parenthetical expressions.
7639 (verilog-calculate-indent): Fix comment, and fix indent.
7640 (verilog-do-indent): Indent declarations in lists (suggested by
7641 Joachim Lechner).
7642 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7643 skeleton items.
7644 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7645 by Alain Mellan).
7646
1bbe96b2 76472011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7648
7649 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7650 parameters with embedded comments. Reported by Ray Stevens.
7651 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7652 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7653 Reported by Tim Holt.
7654 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7655 instantiated by upper module causing wrong expansion until AUTOed a
7656 second time. Reported by K C Buckenmaier.
7657 (verilog-diff-auto): Fix showing .* as a difference when
7658 `verilog-auto-star-save' off. Reported by Dan Dever.
7659 (verilog-auto-reset, verilog-read-always-signals)
7660 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7661 temporary signals in reset list if
7662 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7663 style to each signal's assignment type, bug381.
7664 Reported by Thomas Esposito.
6288f0ca
WS
7665 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7666 (verilog-uvm-statement-re): Support UVM indentation and
7667 highlighting, with old OVM keywords only.
a1beca85 7668 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7669 Support AUTOTIEOFF creating non-wire data types.
7670 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7671 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7672 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7673 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7674 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7675 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7676 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7677 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7678 non-numeric vector width. Reported by Alex Reed.
7679 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7680 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7681 (verilog-auto-delete-trailing-whitespace):
7682 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7683 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7684 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7685 Fix verilog-scan-cache corruption when running user AUTO expansion
7686 hooks that call indentation routines.
7687 (verilog-simplify-range-expression): Fix typo ignoring lower case
7688 identifiers.
7689 (verilog-delete-auto): Fix delete-autos to also remove user created
7690 automatics, as long as they start with AUTO.
7691 (verilog-batch-diff-auto, verilog-diff-auto)
7692 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7693 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7694 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7695 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7696 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7697 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7698 is disabled and its cache will get corrupt, causing AUTOS not to
7699 expand. Instead use only -quick functions.
7700 (verilog-scan-region): Fix scanning over escaped quotes.
7701 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7702 (verilog-re-search-backward-quick)
7703 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7704 related functions now ignore strings, to fix misparsing of strings
7705 with magic comments embedded in them.
a1beca85
SM
7706 (verilog-read-auto-template):
7707 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7708 Reported by Brad Dobbie.
7709 (verilog-read-auto-template):
7710 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7711 Reported by Brad Dobbie.
6288f0ca
WS
7712 (verilog-auto-inst, verilog-auto-inst-param)
7713 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7714 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7715 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7716 debugging templates without merge conflicts, bug357.
7717 Reported by Brad Dobbie.
7718 (verilog-read-auto-template):
7719 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7720 Reported by Brad Dobbie.
7721 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7722 abbrevs so user won't be asked to save.
7723 (verilog-read-auto-lisp-present): Fix to start at beginning of
7724 buffer in case called outside of verilog-auto.
7725 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7726 to "X-2". Reported by Matthew Myers.
7727 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7728 all inputs from module templates. Reported by Leith Johnson.
7729 (verilog-module-inside-filename-p): Fix locating programs as with
7730 modules.
7731 (verilog-auto-inst-port): Fix vl-width expressions when using
7732 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7733 (verilog-decls-get-regs, verilog-decls-get-signals,
7734 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7735 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7736 verilog-read-decls): Combine reg and wire structures into one var
7737 structure to represent SystemVerilog concepts.
7738 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7739 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7740 (verilog-auto-wire-type, verilog-insert-definition):
7741 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7742 SystemVerilog "logic" keyword instead of "wire"/"reg".
7743 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7744 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7745 ifdef or generate if so there's not a driver conflict).
7746 Reported by Matthew Myers.
7747 (verilog-auto-declare-nettype, verilog-insert-definition):
7748 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7749 `default_nettype none. Reported by Julian Gorfajn.
7750 (verilog-read-always-signals-recurse, verilog-read-decls)
7751 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7752 malformed end statement, bug325. Reported by Joshua Wise and
7753 Andrew Drake.
7754 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7755 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7756 when expanding .* in interfaces, bug320.
7757 Reported by Pierre-David Pfister.
6288f0ca 7758 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7759 name and open parenthesis, bug317.
7760 Reported by Pierre-David Pfister.
6288f0ca
WS
7761 (verilog-simplify-range-expression): Fix simplification of
7762 multiplications inside AUTOWIRE connections, bug303.
7763 (verilog-auto-inst-port): Support parameter expansion in
7764 multidimensional arrays.
7765 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7766 after "assert property". Reported by Julian Gorfajn.
7767 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7768 with multiplication, bug303.
7769 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7770 Reported by Jan Frode Lonnum.
7771
1bbe96b2
GM
77722011-11-30 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7775 (hfy-shell-file-name, hfy-shell):
7776 * international/fontset.el (x-decompose-font-name): Fix typos.
7777
77782011-11-29 Ken Brown <kbrown@cornell.edu>
7779
7780 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7781 (gdb-version): Remove defvar.
7782 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7783 (gdb-gud-context-command, gdb-non-stop-handler)
7784 (gdb-current-context-command, gdb-stopped): Use it.
7785 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7786 (gdb-non-stop-handler): Don't enable pretty-printing here.
7787 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7788 non-stop mode. Use the following.
7789 (gdb-check-target-async): New defun.
7790 (gud-watch, gdb-stopped): Fix whitespace.
7791 (gdb-get-source-file): Don't try to display the source file if
7792 `gdb-main-file' is nil.
7793
77942011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * align.el: Try to generate fewer markers (bug#10047).
7797 (align--set-marker): New macro.
7798 (align-region): Use it.
7799
c935221f
SM
78002011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7803
e70b5064
CY
78042011-11-29 Chong Yidong <cyd@gnu.org>
7805
7806 * indent.el (indent-for-tab-command, indent-according-to-mode):
7807 Doc fix.
7808 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7809
f3af92b7
MA
78102011-11-29 Michael Albinus <michael.albinus@gmx.de>
7811
7812 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7813 aware of remote file names. (Bug#10124)
7814
ed472be9
CY
78152011-11-29 Chong Yidong <cyd@gnu.org>
7816
7817 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7818
24510c22
SM
78192011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * files.el (find-file): Don't use force-same-window (bug#10144).
7822 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7823 use pop-to-buffer if the selected window can't be used.
7824 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7825
c60c3703
EZ
78262011-11-28 Eli Zaretskii <eliz@gnu.org>
7827
7828 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7829 special-mode-map.
7830
e95def75
CY
78312011-11-28 Chong Yidong <cyd@gnu.org>
7832
7833 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7834
c3f1c606
NR
78352011-11-27 Nick Roberts <nickrob@snap.net.nz>
7836
7837 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7838 gdb-get-source-file-list on gdb-create-source-file-list.
7839
00db469c
EZ
78402011-11-26 Eli Zaretskii <eliz@gnu.org>
7841
7842 * whitespace.el (whitespace-newline): Use a different foreground
7843 color for 16-color light-background displays.
7844
4ad3bc2a
CY
78452011-11-24 Chong Yidong <cyd@gnu.org>
7846
7847 * window.el (display-buffer--special-action): Doc fix.
7848
e9fce1ac
JB
78492011-11-25 Juanma Barranquero <lekktu@gmail.com>
7850
7851 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7852 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7853 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7854 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7855 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7856 (avl-tree-stack-first):
7857 * emacs-lisp/cconv.el (cconv--analyse-use):
7858 * net/gnutls.el (gnutls-negotiate): Fix typos.
7859
cb825e5d
GM
78602011-11-24 Glenn Morris <rgm@gnu.org>
7861
3adbe224
GM
7862 * lpr.el (lpr-windows-system, lpr-lp-system):
7863 * mail/binhex.el (binhex-begin-line):
7864 * progmodes/grep.el (grep-history, grep-find-history):
7865 * textmodes/flyspell.el:
7866 * vc/pcvs-defs.el (cvs-global-menu):
7867 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7868 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7869 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7870
321decc8
GM
7871 * net/tls.el: Fix case of "GnuTLS".
7872
420b63ad
GM
7873 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7874
cb825e5d
GM
7875 * version.el (emacs-build-system): Give it a doc-string.
7876
a0649f08
JL
78772011-11-24 Juri Linkov <juri@jurta.org>
7878
7879 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7880
c0bc0fd4
GM
78812011-11-24 Glenn Morris <rgm@gnu.org>
7882
7883 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7884 if called on a non-mime message just toggle the headers. (Bug#8006)
7885
20db1522
JB
78862011-11-24 Juanma Barranquero <lekktu@gmail.com>
7887
7888 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7889 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7890 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7891 (allout-rebullet-heading, allout-open-sibtopic)
7892 (allout-toggle-current-subtree-encryption)
7893 (allout-toggle-subtree-encryption, allout-encrypt-string)
7894 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7895 (allout-distinctive-bullets-string, allout-auto-activation):
7896 * window.el (window-normalize-buffer-to-display):
7897 * progmodes/verilog-mode.el (verilog-batch-indent):
7898 * textmodes/bibtex.el (bibtex-field-braces-opt)
7899 (bibtex-field-strings-opt):
7900 * vc/cvs-status.el (cvs-tree-merge):
7901 Fix typos.
7902
7262a87c
MA
79032011-11-23 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7906 `non-essential' to t, in order to avoid remote connections.
7907
283430a1
EZ
79082011-11-23 Eli Zaretskii <eliz@gnu.org>
7909
a1beca85
SM
7910 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7911 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7912 case-insensitively.
7913
d2992a38
ML
79142011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7915
7916 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7917
50419064
GM
79182011-11-23 Glenn Morris <rgm@gnu.org>
7919
da94eca1
GM
7920 * paths.el (rmail-file-name): Reformat the doc-string so that it
7921 is picked up.
7922
9aac4de2
GM
7923 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7924 (rmail-auto-file): Ignore case in the "special" field names,
7925 as mail-fetch-field does for all others.
7926
8038d2d2
GM
7927 * mail/rmail.el (rmail-forward):
7928 * mail/rmailkwd.el (rmail-set-label):
7929 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7930 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7931
f3fe222a
GM
7932 * mail/rmail.el (rmail-current-message): Doc fix.
7933
50419064
GM
7934 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7935
28109f49
SM
79362011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7939
394c65f1
GM
79402011-11-22 Glenn Morris <rgm@gnu.org>
7941
7942 * mail/rmailmm.el (test-rmail-mime-handler)
7943 (test-rmail-mime-bulk-handler)
7944 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7945
f2a0aa3a
JL
79462011-11-21 Juri Linkov <juri@jurta.org>
7947
1154d12e
JB
7948 * calc/calc.el (calc-read-key-sequence):
7949 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7950
9c34a344
LMI
79512011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7952
7953 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7954 Tell the caller that the next line needs recomputation, even
7955 though it doesn't start a sexp (bug#10094).
7956
f04a3be9
SM
79572011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7958
7959 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7960
7978747f
SM
79612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7962
f04a3be9
SM
7963 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7964 Use force-same-window.
7978747f 7965
fe7a3057
JB
79662011-11-20 Juanma Barranquero <lekktu@gmail.com>
7967
7968 * descr-text.el (describe-char-unicode-data):
7969 * json.el (json-string-escape):
7970 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7971 (Footnote-unicode, Footnote-style-p):
7972 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7973
24901d61
CY
79742011-11-20 Chong Yidong <cyd@gnu.org>
7975
7976 * window.el (replace-buffer-in-windows): Restore interactive spec.
7977
bac7ff22
SM
79782011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7979
24f3d7b9
SM
7980 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7981
bac7ff22
SM
7982 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7983 (byte-compile-global-not-obsolete-vars): New var.
7984 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7985 Use it.
7986 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7987
cd1181db
JB
79882011-11-20 Juanma Barranquero <lekktu@gmail.com>
7989
7990 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7991 * progmodes/pascal.el (electric-pascal-equal):
7992 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7993 * xml.el (xml-substitute-special): Fix typos.
7994
7fb18e9e
GM
79952011-11-20 Glenn Morris <rgm@gnu.org>
7996
7997 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7998 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7999 Doc fixes.
8000 (rmail-decode-mime-charset): Mark as obsolete.
8001
8002 * mail/rmailsum.el (rmail-message-regexp-p-1):
8003 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8004 Before using mime functions, check they are set. (Bug#10077)
8005
d5a6b3ba
JL
80062011-11-19 Juri Linkov <juri@jurta.org>
8007
8008 * info.el (Info-finder-find-node): Use `package--builtins' instead
8009 of `package-alist'. Use node names formed by the pattern "Keyword "
8010 and the keyword name.
8011
e981b61f
AS
80122011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8013
1d00653d 8014 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8015
3ffbc301
JL
80162011-11-19 Juri Linkov <juri@jurta.org>
8017
8018 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8019 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8020 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8021 `old-history', `old-history-forward'. Add let-binding
8022 `window-selected'. Remove calls to `kill-buffer',
8023 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8024 before calling `Info-find-node', so `Info-find-node-2' will reread
8025 the Info file. Restore window positions only when `window-selected'
8026 is non-nil.
8027
30c62133
JL
80282011-11-19 Juri Linkov <juri@jurta.org>
8029
8030 * isearch.el (isearch-lazy-highlight-new-loop):
8031 Remove condition `(not isearch-error)'. (Bug#9918)
8032
8033 * misearch.el (multi-isearch-search-fun): Add condition
8034 `(not bound)' to ignore lazy-highlighting search.
8035 Add the search-failed message "end of multi" when the end of
8036 multi-sequence is reached. Uncapitalize the search-failed
8037 message "Repeat for next buffer".
8038
8039 * info.el (Info-search): Add the search-failed message
8040 "end of the manual" when the end of the manual is reached
8041 in Isearch mode.
8042
645ca9cf
JL
80432011-11-19 Juri Linkov <juri@jurta.org>
8044
8045 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8046 Use non-destructive `remove' instead of `delete' because
8047 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8048 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8049
df754f66
JL
80502011-11-19 Juri Linkov <juri@jurta.org>
8051
8052 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8053 to nil instead of binding `search-ring' and `regexp-search-ring'.
8054 (Bug#9185)
8055
0e23d96a
EZ
80562011-11-19 Eli Zaretskii <eliz@gnu.org>
8057
8058 * simple.el (line-move): Force movement by logical lines for any
8059 hscrolled window, not only when auto-hscroll-mode is on.
8060 (line-move-visual): Update doc string to that effect. (Bug#10076)
8061
8a6ccb66
AS
80622011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8063
8064 * language/european.el (macintosh): Define as alias for mac-roman.
8065
49ae5b39
EZ
80662011-11-19 Eli Zaretskii <eliz@gnu.org>
8067
8068 * mail/rmailmm.el (rmail-mime-display-header)
8069 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8070 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8071 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8072 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8073 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8074 of a raw aref.
8075 (rmail-mime-entity-segment): To get past the tagline, move forward
8076 2 more lines, to account for the 2 empty lines that precede and
8077 follow the line with the buttons.
8078 (rmail-mime-update-tagline): Move one more line, to get past the
8079 empty line that follows the buttons in the tagline. (Bug#9520)
8080
c56cad4a
MR
80812011-11-19 Martin Rudalics <rudalics@gmx.at>
8082
8083 * window.el (window-max-delta-1, window-min-delta-1)
8084 (window-min-size-1, window-state-get-1, window-state-put-1)
8085 (window-state-put-2): Use "window--" prefix.
8086
cbe71af3
SM
80872011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8088
2ad52c60
SM
8089 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8090 (smie-warning-count): New var.
8091 (smie-set-prec2tab): Use it.
8092 (smie-bnf->prec2): Improve warnings. Add docstring.
8093 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8094 (smie-bnf--set-class): New function.
8095 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8096 corner case.
8097
6944dbc1
SM
8098 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8099 (compilation-error-properties, compilation-move-to-column):
8100 Handle compilation-first-column while in the target buffer.
8101
c400c4d7
SM
8102 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8103 Don't hardcode point-min==1.
8104
6dbe3e96
SM
8105 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8106 (eshell-rewrite-for-command): Remove workaround.
8107 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8108 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8109 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8110
cbe71af3
SM
8111 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8112
a8e1496d
GM
81132011-11-17 Glenn Morris <rgm@gnu.org>
8114
8115 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8116 Ignore buffer-local generated-autoload-file if it is the same
8117 as the global value. (Bug#10049)
8118
df85d315
JB
81192011-11-17 Juanma Barranquero <lekktu@gmail.com>
8120
8121 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8122 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8123 (reftex-toc-previous-heading, reftex-toc-max-level)
8124 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8125 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8126 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8127 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8128 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8129 (reftex-toc-rename-label, reftex-toc-visit-location)
8130 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8131 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8132 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8133 leaving "*toc*" only for references to the buffer.
8134
a0c2d0ae
MR
81352011-11-17 Martin Rudalics <rudalics@gmx.at>
8136
8137 * window.el (window-resize, delete-window, split-window):
8138 Replace window-splits by window-combination-resize.
1d00653d 8139 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8140
35c0bac8
GM
81412011-11-17 Glenn Morris <rgm@gnu.org>
8142
8143 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8144 Make bash entry derive from sh entry, not shell entry.
8145
d0c8fc8a
MA
81462011-11-16 Michael Albinus <michael.albinus@gmx.de>
8147
7262a87c
MA
8148 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8149 local file name.
8150
7877f373
JB
81512011-11-16 Juanma Barranquero <lekktu@gmail.com>
8152
8153 * menu-bar.el (menu-bar-file-menu):
8154 * printing.el (pr-ps-utility):
8155 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8156 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8157 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8158 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8159 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8160 (icalendar--convert-cyclic-to-ical)
8161 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8162 (icalendar--convert-ical-to-diary)
8163 (icalendar--convert-recurring-to-diary)
8164 (icalendar--convert-non-recurring-all-day-to-diary)
8165 (icalendar-import-format-sample):
8166 * progmodes/idlw-shell.el (idlwave-shell-mode):
8167 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8168 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8169 (vhdl-ps-print-init): Fix typos.
8170
10649b82
KM
81712011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8172
9d0cfcd6
GM
8173 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8174 FSF and collapse date sequence, obscure author/maintainer email address
8175 better, remove extra version line, track relocation of author's webpage.
10649b82 8176
9d0cfcd6
GM
8177 * progmodes/python.el (python-pdbtrack-input-prompt)
8178 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8179 regular python pdb prompts. Adjustments shamelessly taken exactly as
8180 suggested in EmacsWiki page (tiny change):
8181 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8182
58179cce
JB
81832011-11-16 Juanma Barranquero <lekktu@gmail.com>
8184
8185 * expand.el (expand-pos, expand-index, expand-point):
8186 Remove redundant info from docstring.
8187 (expand-add-abbrevs): Doc fix.
8188 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8189 (expand-sample-perl-mode-expand-list): Fix typos.
8190
8191 * net/dbus.el (dbus-event-member-name):
8192 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8193 * term/pc-win.el (msdos-create-frame-with-faces):
8194 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8195
b6f67890
MR
81962011-11-16 Martin Rudalics <rudalics@gmx.at>
8197
8198 * window.el (split-window, window-state-get-1)
8199 (window-state-put-1, window-state-put-2): Rename occurrences of
8200 window-nest to window-combination-limit.
1d00653d 8201 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8202
ce7ddba0
CY
82032011-11-16 Chong Yidong <cyd@gnu.org>
8204
8205 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8206 regexp (Bug#10033).
8207
3ae704f4
SM
82082011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8211 `completing-read' will remove *Completions* and will preserve
8212 current-buffer for us.
8213 (tmm-add-prompt): Users of *Completions* will always (re)set its
8214 major mode.
8215 (tmm-old-comp-map): Remove.
8216
6ad1cdde
GM
82172011-11-16 Glenn Morris <rgm@gnu.org>
8218
8219 * mail/rmailedit.el: Require rmailmm when compiling.
8220 (rmail-old-mime-state): New declaration.
8221 (rmail-edit-current-message): If editing a mime message,
8222 edit the "raw" message from the mbox buffer.
8223 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8224
d20faa20
GM
82252011-11-15 Glenn Morris <rgm@gnu.org>
8226
8227 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8228 which wasn't being used. Add optional arg to force given state.
8229 (rmail-mime): Add optional arg to force given state.
8230
c7015153
JB
82312011-11-15 Juanma Barranquero <lekktu@gmail.com>
8232
8233 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8234 * frame.el (display-mm-dimensions-alist):
8235 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8236 (outline-move-subtree-down):
8237 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8238 (newsticker--treeview-do-get-node):
8239 * net/quickurl.el (quickurl-list-buffer-name):
8240 * progmodes/dcl-mode.el (dcl-mode):
8241 * progmodes/gdb-mi.el (gdb-mapcar*):
8242 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8243
45261b50
GM
82442011-11-15 Glenn Morris <rgm@gnu.org>
8245
8246 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8247 in a boolean sense, so just make it a boolean, and fix the doc.
8248 (rmail-show-mime-function, rmail-mime-feature)
8249 (rmail-require-mime-maybe): Doc fixes.
8250 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8251
8252 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8253
0d26e0b6
JB
82542011-11-15 Juanma Barranquero <lekktu@gmail.com>
8255
8256 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8257 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8258 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8259 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8260
447f30f6
GM
82612011-11-15 Glenn Morris <rgm@gnu.org>
8262
672b871d
GM
8263 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8264 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8265 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8266 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8267 (rmail-mime, rmail-show-mime): Doc fixes.
8268
f6aa5bb1
GM
8269 * term/ns-win.el (mode-line-frame-identification):
8270 Leave it alone. (Bug#10051)
8271
947cd66b
GM
8272 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8273
447f30f6
GM
8274 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8275 Handle empty buffers. (Bug#9978)
8276
0b381c7e
JB
82772011-11-14 Juanma Barranquero <lekktu@gmail.com>
8278
8279 * international/mule.el (define-charset):
8280 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8281 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8282 * progmodes/verilog-mode.el (verilog-backward-token):
8283 * textmodes/ispell.el (lookup-words):
8284 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8285
71e027ac
GM
82862011-11-14 Glenn Morris <rgm@gnu.org>
8287
56632ce4
GM
8288 * progmodes/executable.el
8289 (executable-make-buffer-file-executable-if-script-p):
8290 Handle file-modes returning nil.
8291
40500957
GM
8292 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8293 message - not necessary, and causes problems. (Bug#9831)
8294
071c2340
GM
8295 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8296
d3cfca60
GM
8297 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8298
71e027ac
GM
8299 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8300 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8301 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8302
89d61221
MR
83032011-11-12 Martin Rudalics <rudalics@gmx.at>
8304
8305 * window.el (window-resize, delete-window): Use window-splits
8306 variable instead of function.
8307 (window-state-get-1, window-state-put-2, window-state-put):
8308 Don't deal with windows' splits status.
8309
98282f6f
GM
83102011-11-12 Glenn Morris <rgm@gnu.org>
8311
8312 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8313 (apropos-documentation): Doc fixes.
8314
40a8bdf6
JB
83152011-11-11 Juanma Barranquero <lekktu@gmail.com>
8316
8317 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8318 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8319
65bd19ff
SM
83202011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * electric.el (electric-indent-post-self-insert-function): Make it
8323 possible for a char to only indent in some circumstances.
8324 (electric-indent-mode): Simplify.
8325
54f9154c
MR
83262011-11-11 Martin Rudalics <rudalics@gmx.at>
8327
8328 * window.el (windows-with-parameter): Remove unused function.
8329 (windows-at-side): Rename to window-at-side-list.
8330 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8331 (window-side-check, window-size-ignore, window-size-fixed-1)
8332 (window-in-direction-2): Prefix with "window--".
8333 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8334
68cbc58b
GM
83352011-11-11 Glenn Morris <rgm@gnu.org>
8336
8337 * subr.el (eval-after-load): If FILE is already loaded,
8338 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8339
b2621720
GM
83402011-11-10 Glenn Morris <rgm@gnu.org>
8341
9a4de110
GM
8342 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8343 Call svn via vc-svn-command rather than vc-do-command.
8344 (vc-svn-command): Add --non-interactive. (Bug#9993)
8345 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8346
b2621720
GM
8347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8348 Add toggle-read-only. (Bug#7292)
8349 * files.el (toggle-read-only): Mention that it should only
8350 be used interactively. (Bug#10006)
8351
1dce7193
SM
83522011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8353
d9ac1a1e
SM
8354 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8355 Adjust regexp for OCaml warnings.
8356
0c325082
SM
8357 * electric.el (electric-pair-post-self-insert-function): Let user
8358 turn it off buffer-locally (bug#9932).
8359
90132c14
SM
8360 * progmodes/python.el (python-beginning-of-statement):
8361 Rewrite (bug#2703).
8362
1dce7193
SM
8363 * progmodes/compile.el: Better handle TABs (bug#9749).
8364 (compilation-internal-error-properties)
8365 (compilation-next-error-function): Obey the target buffer's
8366 compilation-error-screen-columns.
8367
c4e7c63a
JB
83682011-11-09 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * progmodes/meta-mode.el: Remove obsolete comments.
8371 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8372 Fix typos in docstrings.
8373
2cffd681
MR
83742011-11-09 Martin Rudalics <rudalics@gmx.at>
8375
8376 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8377 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8378 (window--resizable): New function. Make all callers of
8379 window-resizable call window--resizable instead.
8380 (window-resizable): Rewrite in terms of window--resizable.
8381
0edcba87
GM
83822011-11-08 Glenn Morris <rgm@gnu.org>
8383
8384 * progmodes/delphi.el (delphi-mode-syntax-table):
8385 Let define-derived-mode define a proper syntax table. (Bug#9994)
8386
4b0d61e3
SM
83872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * window.el: Stay away from defsubst.
8390 (window-list-no-nils): Remove.
8391 (window-state-get-1, window-state-get): Use backquote instead.
8392
cd394be1 83932011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8394
4b0d61e3 8395 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8396 Fix incorrect use of default argument in `completing-read'.
8397
e1c2c6f2
MR
83982011-11-08 Martin Rudalics <rudalics@gmx.at>
8399
8400 * window.el (display-buffer-function, special-display-function):
8401 Mention display-buffer-record-window but do not mention
8402 help-setup parameter in doc-strings.
b3f4a882 8403 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8404
105216ed
CY
84052011-11-08 Chong Yidong <cyd@gnu.org>
8406
8407 * window.el (window-total-height, window-total-width): Doc fix.
8408 (window-body-size): Move from C.
8409 (window-body-height, window-body-width): Move to C.
8410
0a9f9ab5
SM
84112011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * window.el: Make special-display like display-buffer-alist (bug#9532).
8414 (display-buffer--special-action): New function, morphed
8415 from display-buffer--special.
8416 (display-buffer): Use it to handle special-display-buffers at higher
8417 priority (just after display-buffer-alist).
8418 (display-buffer-fallback-action, display-buffer--other-frame-action)
8419 (pop-to-buffer-same-window): Remove display-buffer--special.
8420
a769dd15
GM
84212011-11-07 Glenn Morris <rgm@gnu.org>
8422
8423 * calendar/cal-menu.el (cal-menu-set-date-title):
8424 Do nothing if not in a calendar. (Bug#9976)
8425
05a61ee3
SM
84262011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * files.el (find-file): Always use selected-window.
8429
be7f5545
MR
84302011-11-07 Martin Rudalics <rudalics@gmx.at>
8431
8432 * window.el (window-combinations): Make WINDOW argument
8433 mandatory. Rewrite doc-string.
8434 (walk-window-subtree, window-atom-check, window-min-delta)
8435 (window-max-delta, window--resize-this-window)
8436 (window--resize-root-window-vertically, window-tree)
8437 (balance-windows, window-state-put): Rewrite doc-strings as to
8438 not mention the term "subwindow".
8439 (window--resize-subwindows-skip-p): Rename to
8440 window--resize-child-windows-skip-p.
8441 (window--resize-subwindows-normal): Rename to
8442 window--resize-child-windows-normal.
8443 (window--resize-subwindows): Rename to
8444 window--resize-child-windows.
8445 (window-or-subwindow-p): Rename to window--in-subtree-p.
8446
3c6702ef
ML
84472011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8448
8449 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8450 Ensure that mbox format messages end in two newlines (Bug#9974).
8451
49745b39
CY
84522011-11-06 Chong Yidong <cyd@gnu.org>
8453
8454 * window.el (window-combination-p): Function deleted; its
8455 side-effect is not used in any existing code.
8456 (window-combinations, window-combined-p): Call window-*-child
8457 directly.
8458
24300f5f
CY
84592011-11-05 Chong Yidong <cyd@gnu.org>
8460
8461 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8462 (window-size-ignore, window-state-get): Callers changed.
8463 (window-normalize-window): Rename from window-normalize-any-window.
8464 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8465 (window-normalize-live-window): Delete.
447f16b8
CY
8466 (window-combination-p, window-combined-p, window-combinations)
8467 (walk-window-subtree, window-atom-root, window-min-size)
8468 (window-sizable, window-sizable-p, window-size-fixed-p)
8469 (window-min-delta, window-max-delta, window-resizable)
8470 (window-resizable-p, window-full-height-p, window-full-width-p)
8471 (window-current-scroll-bars, window-point-1, set-window-point-1)
8472 (window-at-side-p, window-in-direction, window-resize)
8473 (adjust-window-trailing-edge, maximize-window, minimize-window)
8474 (window-deletable-p, delete-window, delete-other-windows)
8475 (record-window-buffer, unrecord-window-buffer)
8476 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8477 (quit-window, split-window, window-state-put)
8478 (set-window-text-height, fit-window-to-buffer)
8479 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8480
89bd5ee1
EZ
84812011-11-04 Eli Zaretskii <eliz@gnu.org>
8482
53479029
EZ
8483 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8484 rfc2047-decode-string.
8485 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8486 warnings.
8487
89bd5ee1
EZ
8488 * window.el (window-body-height, window-body-width): Mention in
8489 the doc string that the return values are in frame's canonical
8490 units. (Bug#9949)
8491
bd17fdee
AM
84922011-11-03 Alan Mackenzie <acm@muc.de>
8493
8494 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8495 change in cc-engine.el.
8496
acc825c5
SM
84972011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8500
1885e5b8
MR
85012011-11-02 Martin Rudalics <rudalics@gmx.at>
8502
8503 * window.el (quit-window): Call unrecord-window-buffer after
8504 showing another buffer in the window. (Bug#9937)
acc825c5 8505 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8506
ebe06da9
JB
85072011-11-02 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8510 Accept status with more than 9 shelves. (Bug#9935)
8511 Reported by Colin D Bennett <colin@gibibit.com>.
8512
4ee88440
MR
85132011-11-01 Martin Rudalics <rudalics@gmx.at>
8514
8515 * help.el (with-help-window): Don't reference
8516 temp-buffer-show-specifiers in doc-string.
8517
08e1d82c
AS
85182011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8519
8520 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8521 menu-item.
8522
84bd6e9e
VJL
85232011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8524
8525 * whitespace.el: New version 13.2.2.
8526 (whitespace-newline-mode): Disable properly. Reported by Sarah
8527 <EmacsWiki>.
8528
dba0634a
UJ
85292011-10-30 Ulf Jasper <ulf.jasper@web.de>
8530
8531 * net/newst-treeview.el: Remove "Time-stamp".
8532 (newsticker--group-manage-orphan-feeds): Do not call
8533 newsticker--treeview-tree-update.
db22a3c2
JB
8534 (newsticker-treeview-update, newsticker-treeview):
8535 Call newsticker--treeview-tree-update if necessary.
dba0634a 8536
3d8daefe
MR
85372011-10-30 Martin Rudalics <rudalics@gmx.at>
8538
8539 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8540 (window-iso-combinations): Remove "iso-" infix.
8541 Suggested by Chong Yidong.
3d8daefe
MR
8542 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8543 (window-max-delta-1, window-resize, window--resize-siblings)
8544 (window--resize-this-window, adjust-window-trailing-edge)
8545 (split-window, balance-windows-1)
8546 (shrink-window-if-larger-than-buffer):
8547 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8548 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8549
1bc4c3ae
SM
85502011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8553 in place (bug#9907).
8554 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8555 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8556 (eshell-structure-basic-command, eshell-rewrite-while-command)
8557 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8558 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8559 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8560 (eshell-do-pipelines-synchronously, eshell-eval-command):
8561 Use backquotes and prefer setq to set.
8562 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8563 (eshell-macrop): Use functionp.
c1e2f5fa 8564 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8565
30b65d9c
CY
85662011-10-30 Chong Yidong <cyd@gnu.org>
8567
8568 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8569 instead of set-mark (Bug#9810).
8570
2d197ffb
CY
85712011-10-30 Chong Yidong <cyd@gnu.org>
8572
8573 * window.el (split-window-below, split-window-right): Rename from
8574 split-window-above-each-other and split-window-side-by-side
8575 respectively. All callers changed.
8576 (split-window-sensibly, split-window-sensibly): Use them.
8577 (split-window-keep-point): Doc fix.
8578
8579 * isearch.el: Add isearch-scroll property to split-window-below
8580 and split-window-right.
8581
8582 * follow.el (follow-mode):
8583 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8584 * progmodes/ada-xref.el (ada-gdb-application):
8585 * emulation/vip.el (vip-buffer-in-two-windows):
8586 * image-dired.el (image-dired-dired-with-window-configuration):
8587 * dired-x.el (dired-do-find-marked-files):
8588 * dired.el (dired-pop-to-buffer):
8589 * bs.el (bs--show-with-configuration):
8590 * vc/emerge.el (emerge-setup-windows):
8591 * textmodes/two-column.el (2C-two-columns):
8592 * textmodes/reftex-toc.el (reftex-toc):
8593 * progmodes/gdb-mi.el (gdb-setup-windows):
8594 * progmodes/fortran.el (fortran-window-create):
8595 * net/newst-treeview.el (newsticker--treeview-window-init):
8596 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8597 * emulation/tpu-edt.el (tpu-gold-map):
8598 * emulation/crisp.el (crisp-mode-map):
8599 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8600
38bb2ca8
CY
86012011-10-29 Chong Yidong <cyd@gnu.org>
8602
aa4de341
CY
8603 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8604
e1eb5385
CY
8605 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8606
5d2ece3c
CY
8607 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8608 forged Ispell output (Bug#7904).
8609
38bb2ca8
CY
8610 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8611
d0af9f77
SM
86122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * doc-view.el: Avoid ugly errors about not finding nil.
8615 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8616 (doc-view-dvipdf-program, doc-view-unoconv-program)
8617 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8618 Avoid nil or absolute file name as default value.
8619 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8620
52bedd34
AM
86212011-10-28 Alan Mackenzie <acm@muc.de>
8622
db22a3c2 8623 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8624
7e43cfa5
AM
86252011-10-28 Alan Mackenzie <acm@muc.de>
8626
8627 Amend the handling of c-beginning/end-of-defun in nested declaration
8628 scopes.
8629
52bedd34
AM
8630 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8631 cc-langs.el. Change it to a defcustom.
7e43cfa5 8632
52bedd34
AM
8633 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8634 cc-vars.el.
7e43cfa5 8635
d0af9f77
SM
8636 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8637 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8638
52bedd34 8639 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8640 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8641 (c-widen-to-enclosing-decl-scope): New function.
8642 (c-while-widening-to-decl-block): New macro.
8643 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8644 outward for defun boundaries, and correspondingly change symbol
8645 `respect-enclosure' to `go-outward'.
8646 (c-declaration-limits): Change algorithm to report only the "innermost"
8647 defun's boundaries.
8648
1a2ce9ee
DD
86492011-10-28 Deniz Dogan <deniz@dogan.se>
8650
8651 * net/rcirc.el (rcirc-mode): Use hard newlines.
8652
bc97a826
AM
86532011-10-28 Alan Mackenzie <acm@muc.de>
8654
8655 Amend to indent and fontify macros "which include their own semicolon"
8656 correctly, using the "virtual semicolon" mechanism.
8657
52bedd34 8658 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8659
d0af9f77 8660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8661 Recode to scan one line at a time rather than having \n and \r
58179cce 8662 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8663 (c-forward-label): Amend for virtual semicolons.
58179cce 8664 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8665
52bedd34
AM
8666 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8667 of the new C macros.
bc97a826 8668
52bedd34 8669 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8670 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8671 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8672 (c-opt-cpp-macro-define): Make into a full language variable.
8673 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8674 AWK Mode (including \n, \r) removed, no longer needed.
8675
d0af9f77
SM
8676 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8677 Invoke c-make-macro-with-semi-re.
bc97a826 8678
52bedd34
AM
8679 * progmodes/cc-vars.el (c-macro-with-semi-re):
8680 (c-macro-names-with-semicolon): New variables.
58179cce 8681 (c-make-macro-with-semi-re): New function.
bc97a826 8682
7a6c0941
SM
86832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * vc/log-edit.el: Fill empty field rather than adding new one.
8686 (log-edit-add-field): New function.
8687 (log-edit-insert-changelog): Use it.
8688
b0c4cdcf
ML
86892011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8690
8691 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8692
ee1f1da9
SM
86932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8696 (gdb--check-interpreter): New function.
8697 (gdb): Use it.
8698
51bc5f8b
GM
86992011-10-27 Glenn Morris <rgm@gnu.org>
8700
416a2c45
GM
8701 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8702 (least-positive-float, least-negative-float)
8703 (least-positive-normalized-float, least-negative-normalized-float)
8704 (float-epsilon, float-negative-epsilon):
8705 Remove unnecessary declarations.
8706
8707 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8708 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8709 (least-positive-float, least-negative-float)
8710 (least-positive-normalized-float, least-negative-normalized-float)
8711 (float-epsilon, float-negative-epsilon): Add doc-strings,
8712 based on those in cl.texi.
8713
51bc5f8b
GM
8714 * files.el (set-visited-file-name): If the major-mode changed,
8715 reload the local variables. (Bug#9796)
8716
15de15c6
CY
87172011-10-27 Chong Yidong <cyd@gnu.org>
8718
8719 * subr.el (change-major-mode-after-body-hook): New hook.
8720 (run-mode-hooks): Run it.
8721
ee1f1da9
SM
8722 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8723 Use change-major-mode-before-body-hook.
15de15c6
CY
8724
8725 * simple.el (fundamental-mode):
8726 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8727 change introducing fundamental-mode-hook.
8728
5430d399
JB
87292011-10-26 Juanma Barranquero <lekktu@gmail.com>
8730
acc825c5 8731 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8732
ad74a69e
MA
87332011-10-26 Michael Albinus <michael.albinus@gmx.de>
8734
8735 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8736 tramp.el explicitly. (Bug#7583)
ad74a69e 8737
71d4c2a5
SM
87382011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * progmodes/octave-mod.el:
8741 * progmodes/octave-inf.el: Update maintainer.
8742
b1f6fa26
CY
87432011-10-26 Chong Yidong <cyd@gnu.org>
8744
8745 * subr.el (with-wrapper-hook): Rewrite doc.
8746
3f04efd6
MA
87472011-10-25 Michael Albinus <michael.albinus@gmx.de>
8748
8749 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8750 filenames "/method:foo:". (Bug#9793)
3f04efd6 8751
410488d3
SM
87522011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8755 (bug#9865).
8756
c1ebb47e
GM
87572011-10-24 Glenn Morris <rgm@gnu.org>
8758
8759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8760
7f5c46c7
MA
87612011-10-24 Michael Albinus <michael.albinus@gmx.de>
8762
8763 * notifications.el: Add the requirement of a running D-Bus session
8764 bus to the Commentary.
8765
db2440b6
JL
87662011-10-24 Juri Linkov <juri@jurta.org>
8767
8768 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8769 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8770 (Bug#9364)
8771
feecf435
JL
87722011-10-24 Juri Linkov <juri@jurta.org>
8773
8774 * info.el (Info-following-node-name-re): Add newline to the list
8775 of allowed characters for leading space. (Bug#9824)
8776
a3839de2
SM
87772011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8778
acc825c5
SM
8779 * progmodes/octave-inf.el (inferior-octave-mode-map):
8780 Fix C-c C-h binding.
a3839de2
SM
8781 * progmodes/octave-mod.el (octave-help): Remove.
8782
09388e76
MA
87832011-10-23 Michael Albinus <michael.albinus@gmx.de>
8784
8785 Sync with Tramp 2.2.3.
8786
8787 * net/tramp-cache.el (top): Pacify byte-compiler using
8788 `init-file-user' and `site-run-file'.
8789
8790 * net/trampver.el: Update release number.
8791
86c60681
CY
87922011-10-23 Chong Yidong <cyd@gnu.org>
8793
8794 * files.el (toggle-read-only): Remove obsolete comment about
8795 version control.
8796
8797 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8798 for toggle-read-only. Note that this hasn't called vc-next-action
8799 since 2008-05-02, though it wasn't documented at the time.
8800
a3839de2
SM
8801 * vc/ediff-init.el (ediff-toggle-read-only-function):
8802 Use toggle-read-only.
86c60681 8803
cd5495ff
AM
88042011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8805
8806 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8807 of c-parse-state.
8808
00b77525 8809 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8810 correct faulty logical expression.
cd5495ff
AM
8811 (c-parse-state-state, c-record-parse-state-state):
8812 (c-replay-parse-state-state): New defvar/defuns.
8813 (c-debug-parse-state): Use new functions.
8814
42ee24ed
MR
88152011-10-22 Martin Rudalics <rudalics@gmx.at>
8816
8817 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8818 last fix. Use window-in-direction correctly.
42ee24ed 8819
a7dee7e7
CY
88202011-10-21 Chong Yidong <cyd@gnu.org>
8821
8822 * progmodes/idlwave.el (idlwave-mode):
8823 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8824 require-final-newline; that's done in prog-mode.
8825 Suggested by Stefan Monnier.
a7dee7e7 8826
e07b9a6d
MR
88272011-10-21 Martin Rudalics <rudalics@gmx.at>
8828
8829 * mouse.el (mouse-drag-window-above)
8830 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8831 (mouse-drag-mode-line-1, mouse-drag-header-line)
8832 (mouse-drag-vertical-line-rightward-window): Remove.
8833 (mouse-drag-line): New function.
8834 (mouse-drag-mode-line, mouse-drag-header-line)
8835 (mouse-drag-vertical-line): Call mouse-drag-line.
8836 * window.el (window-at-side-p, windows-at-side): New functions.
8837
7e1361d9
UM
88382011-10-21 Ulrich Mueller <ulm@gentoo.org>
8839
8840 * tar-mode.el (tar-grind-file-mode):
8841 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8842
30fcaf3a
CY
88432011-10-21 Chong Yidong <cyd@gnu.org>
8844
8845 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8846 * progmodes/vera-mode.el (vera-mode):
8847 Use mode-require-final-newline.
30fcaf3a 8848
516eddb0
GM
88492011-10-20 Glenn Morris <rgm@gnu.org>
8850
db22a3c2 8851 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8852
10d5f513
CS
88532011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8854
8855 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8856
ac6c8639
CY
88572011-10-20 Chong Yidong <cyd@gnu.org>
8858
8859 * emulation/cua-base.el (cua-mode):
8860 * mail/footnote.el (footnote-mode):
8861 * mail/mailabbrev.el (mail-abbrevs-mode):
8862 * net/xesam.el (xesam-minor-mode):
8863 * progmodes/bug-reference.el (bug-reference-mode):
8864 * progmodes/cap-words.el (capitalized-words-mode):
8865 * progmodes/compile.el (compilation-minor-mode)
8866 (compilation-shell-minor-mode):
8867 * progmodes/gud.el (gud-tooltip-mode):
8868 * progmodes/hideif.el (hide-ifdef-mode):
8869 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8870 * progmodes/subword.el (subword-mode):
8871 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8872 * progmodes/which-func.el (which-function-mode):
8873 * term/tvi970.el (tvi970-set-keypad-mode):
8874 * term/vt100.el (vt100-wide-mode):
8875 * textmodes/flyspell.el (flyspell-mode):
8876 * textmodes/ispell.el (ispell-minor-mode):
8877 * textmodes/nroff-mode.el (nroff-electric-mode):
8878 * textmodes/paragraphs.el (use-hard-newlines):
8879 * textmodes/refill.el (refill-mode):
8880 * textmodes/reftex.el (reftex-mode):
8881 * textmodes/rst.el (rst-minor-mode):
8882 * textmodes/sgml-mode.el (html-autoview-mode)
8883 (sgml-electric-tag-pair-mode):
8884 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8885 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8886 * emulation/crisp.el (crisp-mode):
8887 * emacs-lisp/eldoc.el (eldoc-mode):
8888 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8889 minor mode behavior.
8890
aa42ab43
JL
88912011-10-19 Juri Linkov <juri@jurta.org>
8892
8893 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8894 the list of hard-coded chars with escape-glyph face.
8895
89400f1d
SM
88962011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8899
305c07f6
MA
89002011-10-19 Michael Albinus <michael.albinus@gmx.de>
8901
8902 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8903 running process.
8904
13754b54
GM
89052011-10-19 Glenn Morris <rgm@gnu.org>
8906
8907 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8908 Ignore ignored files. (Bug#9726)
8909
06e21633
CY
89102011-10-19 Chong Yidong <cyd@gnu.org>
8911
8912 Doc fix for minor modes, stating that an omitted argument enables
8913 the mode unconditionally when called from Lisp.
8914
8915 * abbrev.el (abbrev-mode):
8916 * allout.el (allout-mode):
8917 * autoinsert.el (auto-insert-mode):
8918 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8919 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8920 (global-auto-revert-mode):
8921 * battery.el (display-battery-mode):
8922 * composite.el (global-auto-composition-mode)
8923 (auto-composition-mode):
8924 * delsel.el (delete-selection-mode):
8925 * desktop.el (desktop-save-mode):
8926 * dired-x.el (dired-omit-mode):
8927 * dirtrack.el (dirtrack-mode):
8928 * doc-view.el (doc-view-minor-mode):
8929 * double.el (double-mode):
8930 * electric.el (electric-indent-mode, electric-pair-mode):
8931 * emacs-lock.el (emacs-lock-mode):
8932 * epa-hook.el (auto-encryption-mode):
8933 * follow.el (follow-mode):
8934 * font-core.el (font-lock-mode):
8935 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8936 * help.el (temp-buffer-resize-mode):
8937 * hilit-chg.el (highlight-changes-mode)
8938 (highlight-changes-visible-mode):
8939 * hi-lock.el (hi-lock-mode):
8940 * hl-line.el (hl-line-mode, global-hl-line-mode):
8941 * icomplete.el (icomplete-mode):
8942 * ido.el (ido-everywhere):
8943 * image-file.el (auto-image-file-mode):
8944 * image-mode.el (image-minor-mode):
8945 * iswitchb.el (iswitchb-mode):
8946 * jka-cmpr-hook.el (auto-compression-mode):
8947 * linum.el (linum-mode):
8948 * longlines.el (longlines-mode):
8949 * master.el (master-mode):
8950 * mb-depth.el (minibuffer-depth-indicate-mode):
8951 * menu-bar.el (menu-bar-mode):
8952 * minibuf-eldef.el (minibuffer-electric-default-mode):
8953 * mouse-sel.el (mouse-sel-mode):
8954 * msb.el (msb-mode):
8955 * mwheel.el (mouse-wheel-mode):
8956 * outline.el (outline-minor-mode):
8957 * paren.el (show-paren-mode):
8958 * recentf.el (recentf-mode):
8959 * reveal.el (reveal-mode, global-reveal-mode):
8960 * rfn-eshadow.el (file-name-shadow-mode):
8961 * ruler-mode.el (ruler-mode):
8962 * savehist.el (savehist-mode):
8963 * scroll-all.el (scroll-all-mode):
8964 * scroll-bar.el (scroll-bar-mode):
8965 * server.el (server-mode):
8966 * shell.el (shell-dirtrack-mode):
8967 * simple.el (auto-fill-mode, transient-mark-mode)
8968 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8969 (line-number-mode, column-number-mode, size-indication-mode)
8970 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8971 * strokes.el (strokes-mode):
8972 * time.el (display-time-mode):
8973 * t-mouse.el (gpm-mouse-mode):
8974 * tool-bar.el (tool-bar-mode):
8975 * tooltip.el (tooltip-mode):
8976 * type-break.el (type-break-mode-line-message-mode)
8977 (type-break-query-mode):
8978 * view.el (view-mode):
8979 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8980 (global-whitespace-mode, global-whitespace-newline-mode):
8981 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8982
a3839de2
SM
8983 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8984 Fix autogenerated docstring.
06e21633 8985
5214e501
JL
89862011-10-19 Juri Linkov <juri@jurta.org>
8987
8988 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8989 by checking environment variables "DESKTOP_SESSION" and
8990 "XDG_CURRENT_DESKTOP". (Bug#9779)
8991
195f8db9
JL
89922011-10-19 Juri Linkov <juri@jurta.org>
8993
8994 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8995 (browse-url-chromium-program, browse-url-chromium-arguments):
8996 New defcustoms.
8997 (browse-url-default-browser): Check for `browse-url-chromium' and
8998 call `browse-url-chromium-program'.
8999 (browse-url-chromium): New command. (Bug#9779)
9000
343a34ff
JB
90012011-10-18 Juanma Barranquero <lekktu@gmail.com>
9002
9003 * facemenu.el (list-colors-duplicates): On Windows, detect more
9004 duplicates by assuming that only colors matching "^System" are
9005 special "system colors". (Bug#9722)
9006
6978a151
SM
90072011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9010 to distinguish the author from the committer.
9011
6a80b297
MA
90122011-10-18 Michael Albinus <michael.albinus@gmx.de>
9013
9014 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9015
b31a5677
JK
90162011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9017
9018 * international/mule.el (sgml-html-meta-auto-coding-function):
9019 Add support for detecting encoding in HTML5 specified only as
9020 <meta charset="UTF-8">. Implementation just makes http-equiv and
9021 content-type parts from HTML4 encoding string optional. (Bug#9716)
9022
80c6d77f
GM
90232011-10-18 Glenn Morris <rgm@gnu.org>
9024
9025 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9026
08b0fee8
CY
90272011-10-18 Chong Yidong <cyd@gnu.org>
9028
9029 * faces.el (cursor): Doc fix.
9030
67e729a5
CY
90312011-10-17 Chong Yidong <cyd@gnu.org>
9032
9033 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9034
343a34ff 90352011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9036
9037 * dirtrack.el (dirtrack): Support shell buffers with path
9038 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9039
0bc06380
TZ
90402011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9041
9042 * json.el: Bump version to 1.3 and note change in History.
9043 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9044
8b79f3e0
SM
90452011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9046
5a7c536b
SM
9047 * comint.el (comint-insert-input, comint-send-input)
9048 (comint-get-old-input-default, comint-backward-matching-input)
9049 (comint-next-prompt): Use nil instead of `input' for field property of
9050 past user input (bug#114).
9051
96a8a0df
SM
9052 * minibuffer.el (completion--replace): Inherit surrounding properties
9053 (bug#114).
9054 (minibuffer-complete-and-exit): Use it.
9055
8b79f3e0
SM
9056 * comint.el (comint--table-subvert): Quote the all-completions output
9057 (bug#9160).
9058
b8f7ff0d
MR
90592011-10-17 Martin Rudalics <rudalics@gmx.at>
9060
8b79f3e0 9061 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9062
b8f7ff0d 9063 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9064 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9065 entries and separate them from frame entries.
9066
c235b555
GM
90672011-10-15 Glenn Morris <rgm@gnu.org>
9068
9069 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9070 Doc fixes.
9071
6bbfa6e1
CY
90722011-10-15 Chong Yidong <cyd@stupidchicken.com>
9073
8b79f3e0
SM
9074 * net/network-stream.el (network-stream-open-starttls):
9075 Improve detection of failure due to lack of TLS support.
ec5c990d 9076
6bbfa6e1
CY
9077 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9078 putting the input text in front and in bold.
9079
98488977
SM
90802011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9081
3d1337be
SM
9082 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9083
ee0b45e4
SM
9084 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9085 empty buffer.
9086
98488977
SM
9087 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9088 unread-command-events rather than pushing yet-another event.
9089
186f4720
EZ
90902011-10-14 Eli Zaretskii <eliz@gnu.org>
9091
9092 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9093 the explanation of the possible choices. Make the options passed
9094 to completing-read shorter.
9095
8b7a997c
AM
90962011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9097
9098 * textmodes/flyspell.el (flyspell-large-region): Make sure
9099 extended character mode is used if defined (Bug#1339).
9100
12587bbb
EZ
91012011-10-13 Eli Zaretskii <eliz@gnu.org>
9102
9103 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9104 character info for LRE, LRO, RLE, and RLO characters by appending
9105 an invisible PDF.
12587bbb 9106
bad41229
SM
91072011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9110 even in case of error; add debug spec; simplify data flow.
9111 (with-timeout-handler): Remove.
9112
28dbc92f
MA
91132011-10-12 Michael Albinus <michael.albinus@gmx.de>
9114
9115 Fix Bug#6019, Bug#9315.
9116
9117 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9118 complete `buffer-file-name', the local file name part could look
9119 remotely (for example on VMS).
9120
9121 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9122 `tramp-run-real-handler'.
9123 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9124 already quoted by '"'.
9125
9126 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9127 Let `file-name-handler-alist' be nil, the local file name part
9128 could look remotely (for example on VMS).
9129
e1b0b23a
SM
91302011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9133 from here...
9134 (flyspell-post-command-hook): ...to here.
9135
a120bde9
SM
91362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9139 if not needed.
9140 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9141 using completion. Protect against "slow" callers.
9142 Remove the "message hack".
9143
7ce7717b
JL
91442011-10-11 Juri Linkov <juri@jurta.org>
9145
9146 * isearch.el (isearch-lazy-highlight-word): New variable.
9147 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9148 Use it. (Bug#9727)
9149
c02ee9d6
GM
91502011-10-11 Glenn Morris <rgm@gnu.org>
9151
9152 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9153 like f90-previous-statement does.
9154
93e616fd 91552011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9156
1f190e73 9157 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9158 only in interactive use, to avoid error.
9159
af7b6078
SM
91602011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9161
9162 * minibuffer.el (completion-file-name-table): Fix last change,
9163 i.e. ignore normal errors but not the other ones.
9164
0563dae9
MR
91652011-10-10 Martin Rudalics <rudalics@gmx.at>
9166
9167 * window.el (special-display-buffer-names)
9168 (special-display-regexps): Remove some remnants of earlier
9169 changes from doc-strings.
366ca7f3
MR
9170 (quit-windows-on): New function.
9171
9172 * vc/vc.el (vc-revert, vc-rollback):
9173 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9174 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9175 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9176
49677495
MR
91772011-10-09 Martin Rudalics <rudalics@gmx.at>
9178
9179 * window.el (frame-auto-hide-function): Add version tag.
9180 (Bug#9699)
9181
56f2d1e1
MA
91822011-10-09 Michael Albinus <michael.albinus@gmx.de>
9183
9184 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9185 condition.
9186
112a6592
LL
91872011-10-09 Leo Liu <sdl.web@gmail.com>
9188
9189 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9190 (Bug#9701)
9191
0812589b
GM
91922011-10-08 Glenn Morris <rgm@gnu.org>
9193
9194 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9195 before the first code statement zero indent. (Bug#9690)
9196
b2b0776e
CY
91972011-10-08 Chong Yidong <cyd@stupidchicken.com>
9198
9199 * simple.el (count-words-region): Always count in the region.
9200 Report the number of lines and characters too.
9201 (count-words): New command, which counts in the buffer if the
9202 region is inactive, as count-words-region used to.
9203 (count-words--message): New function. Handle plurals.
9204 (count-lines-region): Make it an alias for count-words-region.
9205
9206 * bindings.el (esc-map): Replace count-lines-region with
9207 count-words-region.
9208
c557cd6b
MR
92092011-10-08 Martin Rudalics <rudalics@gmx.at>
9210
9211 * window.el (window--delete): Delete dedicated frame
9212 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9213 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9214
61a57ef4 92152011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9216
3a7d293b 9217 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9218
c3833279
CY
92192011-10-07 Chong Yidong <cyd@stupidchicken.com>
9220
9221 * bindings.el ([M-left],[M-right]): Bind to left-word and
9222 right-word respectively.
9223
21ce8245
GM
92242011-10-07 Glenn Morris <rgm@gnu.org>
9225
9226 * cus-start.el (debug-on-quit): Fix custom type.
9227
6d823bb2
LMI
92282011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
0181e193
LMI
9230 * subr.el (define-key-after): Clarify that the function is not
9231 useful for non-menu keymaps.
9232
6d823bb2
LMI
9233 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9234
8e3459ce 92352011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9236
21ce8245 9237 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9238 in current minibuffer (Fix bug with recursive minibuffers).
9239
a1c2d21e
CY
92402011-10-06 Chong Yidong <cyd@stupidchicken.com>
9241
9242 * progmodes/gdb-mi.el (gdb): Doc fix.
9243
5a4cf282
MR
92442011-10-05 Martin Rudalics <rudalics@gmx.at>
9245
9246 * window.el (frame-auto-hide-function): New option replacing
9247 frame-auto-delete. Suggested by Stefan Monnier.
9248 (window--delete): Call frame-auto-hide-function instead of
9249 investigating frame-auto-delete.
c96111ea
MR
9250 (window-point-1, set-window-point-1): New functions.
9251 (window-in-direction, record-window-buffer, window-state-get-1)
9252 (display-buffer-record-window): Use window-point-1 instead of
9253 window-point.
9254 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9255
9854542e
SM
92562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9259
8943cfb0
GM
92602011-10-05 Glenn Morris <rgm@gnu.org>
9261
9262 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9263 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9264
647ab967
LL
92652011-10-05 Leo Liu <sdl.web@gmail.com>
9266
9267 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9268 works with buffer object.
9269
3ddfbced
SM
92702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9271
9272 * mpc.el (mpc-tool-bar-map): Add labels.
9273
bdfa5dd2
GM
92742011-10-04 Glenn Morris <rgm@gnu.org>
9275
9276 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9277
0e2070b5
MR
92782011-10-04 Martin Rudalics <rudalics@gmx.at>
9279
9280 * window.el (window--delete): New function.
9281 (frame-auto-delete): Resuscitate option.
9282 (bury-buffer, replace-buffer-in-windows)
9283 (quit-window): Rewrite using window--delete.
9284 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9285 Pass display-buffer-mark-dedicated to window--display-buffer-2
9286 (Bug#9639).
9287
3dc61a09
SM
92882011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9289
915a9b64
SM
9290 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9291 returns a list (bug#9554). Add remote file name completion.
9292 * comint.el (comint--table-subvert): Curry and get quote&unquote
9293 functions as arguments.
9294 (comint--complete-file-name-data): Adjust call accordingly.
9295 * pcomplete.el (pcomplete--table-subvert): Remove.
9296 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9297
3dc61a09
SM
9298 * minibuffer.el (completion-table-case-fold): Use currying.
9299 (completion--styles-type, completion--cycling-threshold-type):
9300 New constants.
9301 (completion-styles, completion-category-overrides)
9302 (completion-cycle-threshold): Use them.
9303 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9304 completion-table-case-fold.
9305
8ea0a993
SB
93062011-10-03 Stephen Berman <stephen.berman@gmx.net>
9307
9308 * minibuffer.el (completion-category-overrides): Fix type of styles
9309 and add more user friendly tags (bug#9660).
9310
8c24b7f6
SM
93112011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9314 (mule-input-method-string): New widget.
9315 (default-input-method, language-info-custom-alist): Use it.
9316
428fe61a
SM
93172011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9318
32c1fffd
SM
9319 * pcomplete.el: Require comint.
9320 (pcomplete--common-suffix): Remove.
9321 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9322 (pcomplete--table-subvert): Sync with comint--table-subvert.
9323 (pcomplete--entries): Use comint-completion-file-name-table.
9324 * comint.el (comint-unquote-filename): Simplify.
9325 (comint-completion-file-name-table): New function (bug#9616).
9326 (comint--complete-file-name-data): Use it.
9327
428fe61a
SM
9328 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9329 (pcmpl-gnu-tar-buffer): Remove.
9330 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9331 around. Make sure pcomplete-suffix-list is only changed temporarily.
9332 Don't look inside the tar's file if it's too large.
428fe61a 9333
04c52e2f
CY
93342011-10-01 Chong Yidong <cyd@stupidchicken.com>
9335
ce3cefcc
CY
9336 * cus-edit.el (custom-mode-map):
9337 * epa.el (epa-key-list-mode-map):
9338 * man.el (Man-mode-map):
9339 * startup.el (splash-screen-keymap):
9340 * simple.el (special-mode-map): Use scroll-up-command and
9341 scroll-down-command.
9342
9343 * progmodes/idlw-help.el (idlwave-help-mode-map):
9344 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9345 * net/newst-plainview.el (newsticker-mode-map):
9346 * emulation/ws-mode.el (wordstar-mode-map):
9347 * emulation/vi.el (vi-com-map):
9348 * calc/calc-graph.el (calc-graph-show-dumb):
9349 * term/sun.el (terminal-init-sun):
9350 * term/ns-win.el (global-map):
9351 * progmodes/grep.el (grep-mode-map):
9352 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9353 * mail/rmail.el (rmail-mode-map):
9354 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9355
04c52e2f
CY
9356 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9357 custom-safe-themes as special.
9358
79adf8c8
JD
93592011-10-01 Julien Danjou <julien@danjou.info>
9360
9361 * notifications.el (notifications-notify): Fix docstring.
9362
63bd50d3
PS
93632011-10-01 Per Starbäck <per@starback.se>
9364
9365 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9366
199e4c7e
MR
93672011-09-30 Martin Rudalics <rudalics@gmx.at>
9368
9369 * startup.el (command-line-1): Fix last fix by inserting
9370 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9371 (Bug#9605) and (Bug#9636)
199e4c7e 9372
fe5f08dd
EZ
93732011-09-29 Eli Zaretskii <eliz@gnu.org>
9374
9375 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9376 window is hscrolled, move by logical lines. (Bug#9607)
9377 (line-move-visual): Update the doc string to the above effect.
9378
b5516bbd
MR
93792011-09-29 Martin Rudalics <rudalics@gmx.at>
9380
ccee00c0
MR
9381 * window.el (display-buffer-record-window): When WINDOW is the
9382 selected window use `point' instead of `window-point'. (Bug#9626)
9383
b5516bbd
MR
9384 * startup.el (command-line-1): Use insert-before-markers when
9385 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9386
b5516bbd
MR
9387 * help.el (help-window): Remove variable.
9388
52aa0014
GM
93892011-09-29 Glenn Morris <rgm@gnu.org>
9390
9391 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9392
df9a7357
JB
93932011-09-29 Juanma Barranquero <lekktu@gmail.com>
9394
9395 * descr-text.el (describe-char-categories): Accept category
9396 descriptions more than one line long.
9397
a8406c20
SM
93982011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9399
88d9610c
SM
9400 * simple.el (delete-trailing-whitespace): Fix last change.
9401
a5daf810
SM
9402 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9403 Don't confuse "y => 3" as the beginning of a `y' operation.
9404
a8406c20
SM
9405 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9406 object has more than 4 slots (bug#9613).
9407
a239d4e9
JB
94082011-09-28 Juanma Barranquero <lekktu@gmail.com>
9409
9410 * subr.el (with-output-to-temp-buffer):
9411 * net/quickurl.el (quickurl, quickurl-browse-url):
9412 Fix typos in docstrings.
9413
693fbdb6
EZ
94142011-09-27 Eli Zaretskii <eliz@gnu.org>
9415
9416 * minibuffer.el (completion-styles)
9417 (completion-category-overrides): Cross reference each other in doc
9418 strings.
9419
8b457e28
GM
94202011-09-27 Glenn Morris <rgm@gnu.org>
9421
9422 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9423 to split-string. (Bug#9606)
9424
85a16208
LMI
94252011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426
9427 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9428 (bug#9615).
9429
502f9ebd
CY
94302011-09-27 Chong Yidong <cyd@stupidchicken.com>
9431
9432 * emacs-lisp/package.el (list-packages): Fix echo area message.
9433
7690bdea
LL
94342011-09-27 Leo Liu <sdl.web@gmail.com>
9435
9436 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9437
e2ee6f30
MA
94382011-09-25 Michael Albinus <michael.albinus@gmx.de>
9439
9440 * net/dbus.el (dbus-unregister-object): Don't release services for
9441 registered signals. (Bug#9581)
9442
f3f98342
TZ
94432011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9444
9445 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9446 function that picks between cfengine 2 and 3 support
9447 automatically. Update docs accordingly.
9448
dd7aa8dd
KH
94492011-09-22 Kenichi Handa <handa@m17n.org>
9450
9451 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9452 ZERO.
9453 (indian-itrans-v5-table-for-tamil): New variable.
9454 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9455
3f2b07f8
KM
94562011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9457
9458 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9459 that's true if the current command involved collapsing of text.
9460 It's reset to false at the beginning of the next command.
9461 (allout-post-command-business): Move the cursor to the beginning
9462 of entry if the cursor is hidden and collapsing activity just
9463 happened.
9464
371d6a61
CY
94652011-09-24 Chong Yidong <cyd@stupidchicken.com>
9466
9467 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9468 tracking (Bug#9541).
9469
2ac2721a
UJ
94702011-09-24 Ulf Jasper <ulf.jasper@web.de>
9471
9472 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9473 (newsticker-show-news): Automatically load html rendering package
9474 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9475 because w3m-fill-column is let-bound" and the error "Symbol's value
9476 as variable is void: w3m-fill-column".
2ac2721a 9477
fac7ae53
MA
94782011-09-24 Michael Albinus <michael.albinus@gmx.de>
9479
9480 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9481 Release services only if they are defined. (Bug#9581)
9482
e08b633b
RS
94832011-09-23 Richard Stallman <rms@gnu.org>
9484
e488d29c
RS
9485 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9486 distinguish start of paragraph from start of its text.
9487
19c38752
RS
9488 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9489
e08b633b
RS
9490 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9491 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9492 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9493
0a39f27e
AS
94942011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9495
9496 * international/mule-diag.el (mule-diag): Insert a newline after
9497 each fontset description.
9498
db4e950d
SM
94992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * simple.el (delete-trailing-whitespace):
9502 Document last change; simplify.
9503
eca3f3ea
PW
95042011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9505
d68e189a
PW
9506 * simple.el (delete-trailing-whitespace): Also delete
9507 extra newlines at the end of the buffer.
9508
eca3f3ea
PW
9509 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9510 (picture-newline): Use forward-line so as to ignore fields.
9511
01c157cc
SM
95122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * subr.el (with-wrapper-hook): Fix edebug spec.
9515
022de23e
LMI
95162011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9517
9518 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9519 (bug#4538).
9520
91683089
MA
95212011-09-23 Michael Albinus <michael.albinus@gmx.de>
9522
eca3f3ea
PW
9523 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9524 Fix nasty bug using wrong cached values.
91683089 9525
5bdd6fa4
AM
95262011-09-23 Alan Mackenzie <acm@muc.de>
9527
9528 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9529
97adfb97
CY
95302011-09-23 Chong Yidong <cyd@stupidchicken.com>
9531
9532 * window.el (pop-to-buffer): Ensure right window is selected if we
9533 chose another frame.
9534
d4ef2b50
EZ
95352011-09-22 Eli Zaretskii <eliz@gnu.org>
9536
9537 * simple.el (what-cursor-position): Use get-char-property-change
9538 and next-single-char-property-change, to be able to show display
9539 properties that come from overlays as well as text properties.
9540
72258fe5
CY
95412011-09-22 Chong Yidong <cyd@stupidchicken.com>
9542
9543 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9544
9545 * cmuscheme.el (run-scheme, switch-to-scheme):
9546 * cus-edit.el (customize-group, custom-buffer-create)
9547 (customize-browse):
9548 * info.el (info):
9549 * shell.el (shell):
9550 * mail/sendmail.el (mail):
9551 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9552
8f098516
RS
95532011-09-22 Richard Stallman <rms@gnu.org>
9554
9555 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9556 move back only to line beg, don't move back over blank lines.
9557
e74f1bb6
MA
95582011-09-22 Michael Albinus <michael.albinus@gmx.de>
9559
9560 * files.el (copy-directory): Set directory attributes only in case
9561 they could be retrieved from the source directory. (Bug#9565)
9562
bfeef8b6
DK
95632011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9564
9565 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9566 (hs-find-block-beginning, hs-hide-level-recursive):
9567 Ignore strings as well as comments. (Bug#9502)
9568
7e423bb8
AS
95692011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9570
9571 * progmodes/sql.el (sql-comint-postgres):
9572 Convert port number to a string. (Bug#9566)
9573
b4d72fcf
MR
95742011-09-22 Martin Rudalics <rudalics@gmx.at>
9575
9576 * window.el (quit-window): Undedicate window when switching to
9577 previous buffer. Reported by Thierry Volpiatto
9578 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9579 (special-display-popup-frame): When popping up a new frame reset
9580 its previous buffers to nil. Simplify code.
b4d72fcf 9581
a7b88dc6
MA
95822011-09-21 Michael Albinus <michael.albinus@gmx.de>
9583
9584 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9585 and process filter, as done also in `shell-command'.
9586
cf4eacfd
MR
95872011-09-21 Martin Rudalics <rudalics@gmx.at>
9588
eca3f3ea 9589 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9590 Call set-window-start with NOFORCE argument t.
9591 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9592 (quit-window): Reword doc-string. Handle new format of
9593 quit-restore parameter. Don't delete window if it has a
9594 previous buffer we can show instead of the present one.
9595 (display-buffer-record-window): Rewrite using a new format for
9596 the quit-restore window parameter
9597 (special-display-popup-frame, display-buffer-same-window)
9598 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9599 (display-buffer-pop-up-window, display-buffer-use-some-window):
9600 Adapt symbol passed to display-buffer-record-window.
9601 * help.el (help-window-setup): Handle new format of quit-restore
9602 parameter.
9603
8d28cb95
SM
96042011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9605
94ab793f
SM
9606 * faces.el (face-list): Fix docstring (bug#9564).
9607
8d28cb95
SM
9608 * window.el (display-buffer--action-function-custom-type):
9609 Don't include internal functions in the Custom interface.
9610
3820edeb
JL
96112011-09-20 Juri Linkov <juri@jurta.org>
9612
9613 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9614 (Info-forward-node, Info-backward-node, Info-next-preorder)
9615 (Info-last-preorder): Use it. (Bug#9528)
9616
5147931d
JL
96172011-09-20 Juri Linkov <juri@jurta.org>
9618
9619 * info.el (Info-last-preorder): Visit last menu item only when
9620 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9621
cf499a1a
JD
96222011-09-20 Julien Danjou <julien@danjou.info>
9623
9624 * password-cache.el (password-cache-remove): Remove entries even if the
9625 value is nil, so that password with a nil value (negative caching) is
9626 possible to invalidate.
9627
f84e2fe2
LM
96282011-09-20 Lawrence Mitchell <wence@gmx.li>
9629
9630 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9631 all whitespace around breakpoint. (Bug#9553)
9632 (f90-find-breakpoint): Only break at whitespace inside a comment.
9633
78054a46
SM
96342011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * minibuffer.el (completion-file-name-table): Keep track of errors.
9637 (completion-table-with-predicate): Handle the case where pred1 is nil.
9638 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9639
345083b2
SM
96402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9641
e24e27be
SM
9642 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9643 (debugger-return-value): Signal an error if the debugging context does
9644 not await any return value.
9645
345083b2
SM
9646 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9647 * image-mode.el (image-toggle-display-text)
9648 (image-toggle-display-image): Stay away from evil `intangible'.
9649
08d355e3
LL
96502011-09-19 Leo Liu <sdl.web@gmail.com>
9651
9652 * replace.el (occur-revert-arguments): Make it permanent-local.
9653 (occur-mode): Don't call font-lock-defontify.
9654
f01da43f
CY
96552011-09-19 Chong Yidong <cyd@stupidchicken.com>
9656
9657 * net/ldap.el (ldap-search-internal): Don't push empty search
9658 result (Bug#9508).
9659
b6072fa6
SM
96602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9663
443d6696
MA
96642011-09-19 Michael Albinus <michael.albinus@gmx.de>
9665
9666 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9667 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9668
7cc6e154
JL
96692011-09-18 Juri Linkov <juri@jurta.org>
9670
9671 * buff-menu.el (Buffer-menu-mode-map):
9672 * dired.el (dired-mode-map):
9673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9674 (lisp-interaction-mode-map):
9675 * emacs-lisp/package.el (package-menu-mode-map):
9676 * epa.el (epa-key-list-mode-map):
9677 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9678 (menu-bar-options-menu):
9679 * outline.el (outline-mode-menu-bar-map):
9680 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9681 * vc/vc-dir.el (vc-dir-menu-map):
9682 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9683 Capitalize non-function content words in menu item strings.
9684
9685 * dired.el (dired-mode-map): Add menu item for
9686 `image-dired-dired-toggle-marked-thumbs'.
9687
80302a81
JL
96882011-09-18 Juri Linkov <juri@jurta.org>
9689
9690 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9691 to `isearch-case-fold-search' and restore its original value
9692 after the `isearch-mode' call.
9693
46c5cf66
JL
96942011-09-18 Juri Linkov <juri@jurta.org>
9695
9696 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9697 because `zgrep' returns 1 for successful matches (bug#9226).
9698
d18b513b
JL
96992011-09-18 Juri Linkov <juri@jurta.org>
9700
9701 * info.el (Info-extract-menu-node-name): Check the second match
9702 for empty string (second test-case of bug#9528).
9703 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9704 intermediate nodes to the history (first test-case of bug#9528).
9705
72753f87
JL
97062011-09-18 Juri Linkov <juri@jurta.org>
9707
9708 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9709 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9710
c9384295
JL
97112011-09-18 Juri Linkov <juri@jurta.org>
9712
1154d12e
JB
9713 * info.el (Info-file-supports-index-cookies):
9714 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9715 outputs one more line for long file names (bug#4142).
c9384295 9716
d473dce8
CY
97172011-09-18 Chong Yidong <cyd@stupidchicken.com>
9718
9719 * newcomment.el (comment-normalize-vars): If prompting for
9720 comment-start, set comment-start-skip too (Bug#8424).
9721
2176854d
JB
97222011-09-18 Johan Bockgård <bojohan@gnu.org>
9723
9724 * icomplete.el: Fix previous fix of Bug#5849.
9725 (icomplete-mode): Don't set completion-show-inline-help.
9726 (icomplete-minibuffer-setup): Set completion-show-inline-help
9727 locally during icompletion.
9728
3aace4e4
CY
97292011-09-18 Chong Yidong <cyd@stupidchicken.com>
9730
c940224f
CY
9731 * woman.el (woman2-process-escapes): Don't delete unrecognized
9732 escapes (Bug#7843).
9733
3aace4e4
CY
9734 * files.el (inhibit-first-line-modes-regexps): Add image files.
9735 (hack-local-variables-prop-line): Return nil for malformed
9736 prop-lines (Bug#9044).
9737
710dec63
MA
97382011-09-18 Michael Albinus <michael.albinus@gmx.de>
9739
9740 * net/tramp.el (top): Don't require 'shell.
9741 (tramp-methods): Fix docstring.
9742 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9743 Return complete remote file name. Handle "smb" case.
9744 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9745 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9746
9747 * net/tramp-compat.el (top): Require 'shell.
9748
9749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9750 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9751 `tramp-current-host'.
9752 (tramp-get-remote-tmpdir): Remove.
9753
9754 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9755 `tramp-tmpdir' entries.
9756 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9757 (tramp-smb-handle-file-attributes): Ignore errors.
9758 (tramp-smb-wait-for-output): Check also for process end.
9759
5d5ac8ec
LMI
97602011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9761
9762 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9763 when sending QUIT (bug#9312).
9764
8c0f49f0
CY
97652011-09-17 Chong Yidong <cyd@stupidchicken.com>
9766
9767 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9768 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9769 occur-mode-display-occurrence.
9770 (occur-edit-mode): Add usage message.
9771 (occur-cease-edit): New command.
9772 (occur-after-change-function): Use text properties to find the
9773 position of the prefix text.
9774 (occur-engine): Set stickiness of prefix text properties.
9775
8f1383f7
GM
97762011-09-17 Glenn Morris <rgm@gnu.org>
9777
9778 * progmodes/etags.el (complete-tag):
9779 Fix call to completion-in-region. (Bug#9526)
9780
744ba0e3
JL
97812011-09-17 Juri Linkov <juri@jurta.org>
9782
9783 * textmodes/ispell.el (ispell-word): Add to the error message
9784 the word, ispell program name and current dictionary (bug#9121).
9785 (ispell-tex-arg-end): Capitalize "error" in the error message.
9786
d9bbf400
AS
97872011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9788
9789 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9790 check. (Bug#4251)
9791
8da11505
JL
97922011-09-17 Juri Linkov <juri@jurta.org>
9793
9794 * window.el (window-safe-min-height, window-safe-min-width):
9795 Fix typos (followup to bug#9522).
9796
a91adc7e
SJ
97972011-09-17 Sven Joachim <svenjoac@gmx.de>
9798
9799 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9800
064f328a
EZ
98012011-09-16 Eli Zaretskii <eliz@gnu.org>
9802
9803 * simple.el (line-move): If goal-column is set, move by logical
9804 lines, not by display lines. (Bug#971)
9805 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9806 to reflect the above change.
9807
e69df516
SM
98082011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * image.el (imagemagick-register-types): Use regexp-opt.
9811
cbb0f9ab
CY
98122011-09-15 Chong Yidong <cyd@stupidchicken.com>
9813
9814 * window.el (display-buffer-base-action): Rename from
9815 display-buffer-default-action. Make default value empty.
9816 (display-buffer-overriding-action): Convert to defvar.
9817 (display-buffer-fallback-action): New var.
9818
25322144
CY
98192011-09-15 Chong Yidong <cyd@stupidchicken.com>
9820
9821 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9822 declaration.
9823 (package--add-to-archive-contents): If there is a duplicate entry
9824 with an older version, remove it.
9825 (package-menu-mark-delete, package-menu-mark-install)
9826 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9827 (package-menu-mark-obsolete-for-deletion):
9828 Use package-menu-get-status instead of a regexp search.
25322144
CY
9829 (package-menu-get-status): Use tabulated-list-entry.
9830 (package-menu-mark-upgrades): New command.
d770725a 9831 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9832 (package-menu-execute): Do installation before deletion.
9833 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9834 instead of checking major-mode.
9835 (package-menu--find-upgrades): New function.
9836
7520339c
LMI
98372011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9838
9839 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9840 passwords in the log buffer.
65a046c4
LMI
9841 (smtpmail-process-filter): Update the process marker so that the
9842 "broken by peer" status message is inserted in the right place.
7520339c 9843
d3c30954
SM
98442011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9845
3fe48822
SM
9846 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9847 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9848 bibtex-completion-at-point-function.
9849 (bibtex-completion-at-point-function): Use them.
9850
1b8b3954
SM
9851 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9852
d3c30954
SM
9853 * mpc.el (mpc-constraints-tag-lookup): New function.
9854 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9855 also to browser "album|playlist".
9856
72779976
JL
98572011-09-14 Juri Linkov <juri@jurta.org>
9858
9859 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9860 (isearch-edit-string): Use length of `isearch-string' when
9861 `isearch-fail-pos' returns nil.
9862 (isearch-message): Remove duplicate code and call
9863 `isearch-fail-pos' with arg `t'.
9864
a0bf2bcd
CY
98652011-09-14 Chong Yidong <cyd@stupidchicken.com>
9866
17bb0a2d
CY
9867 * replace.el (occur-mode-goto-occurrence): Don't force using other
9868 window (Bug#9499).
9869
a0bf2bcd
CY
9870 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9871
f678e0b6
MR
98722011-09-14 Martin Rudalics <rudalics@gmx.at>
9873
9874 * window.el (display-buffer-window): Remove.
9875 (display-buffer-record-window): Use help-setup window parameter
9876 instead of variable display-buffer-window.
9877 (display-buffer-function, special-display-buffer-names)
9878 (special-display-function): Mention help-setup parameter instead
9879 of display-buffer-window in doc-string.
d3c30954
SM
9880 * help.el (help-window-setup): New argument help-window.
9881 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9882 Reword some messages.
9883 (with-help-window): Pass window used for displaying the buffer
9884 to help-window-setup. Don't set display-buffer-window.
9885
8e39b2e8
GM
98862011-09-13 Glenn Morris <rgm@gnu.org>
9887
9888 * emacs-lisp/debug.el (debugger-make-xrefs):
9889 Preserve point. (Bug#9462)
9890
85e9c04b
CY
98912011-09-13 Chong Yidong <cyd@stupidchicken.com>
9892
9893 * window.el (window-deletable-p): Use next-frame.
9894
1b36ed6a
MR
98952011-09-13 Martin Rudalics <rudalics@gmx.at>
9896
9897 * window.el (window-auto-delete): Remove.
9898 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9899 dedication and previous buffers.
1b36ed6a
MR
9900 (switch-to-prev-buffer): Don't delete window.
9901 (delete-windows-on): Delete a window's frame if and only if the
9902 window is dedicated.
9903 (replace-buffer-in-windows): Delete buffer's window or frame if
9904 and only if window is dedicated.
9905 (quit-window): Handle quit-restore as before last change.
4d61f28d 9906 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9907
ef8ef9fb
CY
99082011-09-13 Chong Yidong <cyd@stupidchicken.com>
9909
9910 * window.el (window-deletable-p): Never delete the last frame on a
9911 given terminal.
9912
b2cba41e
GM
99132011-09-13 Glenn Morris <rgm@gnu.org>
9914
9915 * help.el (describe-key-briefly): Copy previous standard-output change.
9916
51553db6 99172011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9918
9919 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9920
b7556719
GM
99212011-09-13 Glenn Morris <rgm@gnu.org>
9922
9923 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9924 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9925
64b51947
CY
99262011-09-12 Chong Yidong <cyd@stupidchicken.com>
9927
9928 * dired-aux.el (dired-mark-read-string): Don't return default
9929 value on empty input (Bug#9361).
9930 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9931 Omit initial minibuffer contents.
9932 (dired-do-chmod): Signal an error on empty input.
9933 (dired-mark-read-string): Don't return default on empty input.
9934
9935 * files.el (file-modes-symbolic-to-number): Doc fix.
9936
393a301e
SM
99372011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * international/mule-cmds.el (ucs-completions): Remove.
9940 (read-char-by-name): Use complete-with-action instead; add metadata.
9941
fa5660f9
CY
99422011-09-11 Chong Yidong <cyd@stupidchicken.com>
9943
9944 * window.el (display-buffer--action-function-custom-type)
9945 (display-buffer--action-custom-type): New vars.
9946 (display-buffer-alist, display-buffer-default-action)
9947 (display-buffer-overriding-action): Add defcustom types.
9948
4a592f66
CY
9949 * frame.el (delete-other-frames): Doc fix (Bug#276).
9950
73d56dbd
LMI
99512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9952
9953 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9954
37ac18a3
CY
99552011-09-11 Chong Yidong <cyd@stupidchicken.com>
9956
9957 Change modes that used same-window-* vars to use switch-to-buffer.
9958
9959 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9960 Use switch-to-buffer.
9961
9962 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9963 (customize-browse, custom-buffer-create-other-window):
9964 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9965
9966 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9967 (Info-prev, Info-up, Info-speedbar-goto-node)
9968 (info-display-manual): Use switch-to-buffer.
9969 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9970
9971 * mail/sendmail.el (mail): Use switch-to-buffer.
9972 (mail-recover): Use switch-to-buffer-other-window.
9973
9974 * cmuscheme.el (run-scheme, switch-to-scheme):
9975 * ielm.el (ielm):
9976 * shell.el (shell):
9977 * net/rlogin.el (rlogin):
9978 * net/telnet.el (telnet, rsh):
9979 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9980
10195bd6
AS
99812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9982
9983 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9984
b322f63a
LMI
99852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9986
39d7fed6
LMI
9987 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9988 so don't mention it (bug#9301).
ba5a81f1 9989 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9990
ee0e9f11
LMI
9991 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9992 match `x', `w32' and `ns', like the manual says (bug#9029).
9993
0b1c89c1 9994 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9995 (process-kill-buffer-query-function): Mention the buffer name in
9996 the query.
0b1c89c1 9997
77549ea8
LMI
9998 * image-mode.el (image-next-line): The line parameter is mandatory
9999 (bug#9258).
10000
803ef892
LMI
10001 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10002 which can be useful (bug#9301).
10003
12980837
LMI
10004 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10005
91054f8f
LMI
10006 * subr.el (match-string): Mention that the current buffer should
10007 be the same as the search was done in (bug#9282).
10008
b322f63a
LMI
10009 * facemenu.el: Disable the remove-* commands if the mark isn't
10010 active (bug#9162).
10011
3199b96f
CY
100122011-09-10 Chong Yidong <cyd@stupidchicken.com>
10013
10014 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10015 of display-buffer.
10016 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10017
10018 * replace.el (occur-mode-goto-occurrence)
10019 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10020 and display-buffer.
10021
10022 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10023 display-buffer.
10024
10025 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10026 special-display and same-window variables.
10027 (mail-other-window): Use switch-to-buffer-other-window.
10028 (mail-other-frame): USe switch-to-buffer-other-frame.
10029
393a301e
SM
10030 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10031 Use display-buffer-other-frame.
3199b96f
CY
10032 (gdb-display-gdb-buffer): Use pop-to-buffer.
10033
10034 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10035
10036 * progmodes/python.el: Don't set same-window-buffer-names.
10037
10038 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10039
10040 * window.el (display-buffer-alist): Add *Python*.
10041
8319e0bf
CY
100422011-09-10 Chong Yidong <cyd@stupidchicken.com>
10043
10044 * window.el (display-buffer-alist): Add entry for buffers
10045 previously handled same-window-*.
10046 (display-buffer-alist, display-buffer-default-action)
10047 (display-buffer-overriding-action): Mark as risky.
10048 (display-buffer-alist): Document action function changes.
10049 (display-buffer--same-window-action)
10050 (display-buffer--other-frame-action): New variables.
10051 (switch-to-buffer, display-buffer-other-frame): Use them.
10052 (display-buffer): Rename reuse-frame entry to reusable-frames.
10053 (display-buffer-reuse-selected-window): Function deleted.
10054 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10055 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10056 (display-buffer-special): New function.
10057 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10058 display-buffer-reuse-or-pop-window. Split off special-display
10059 part into display-buffer-special.
10060 (display-buffer-use-some-window): Don't perform any special
10061 pop-up-frames handling.
10062 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10063 (display-buffer--maybe-same-window): Rename from
0d3ff375 10064 display-buffer-maybe-same-window.
8319e0bf 10065
919a69aa
CY
10066 * info.el: Don't set same-window-regexps.
10067 (info-setup): New function.
10068 (info-other-window, info): Call it.
10069
10070 * cus-edit.el: Don't set same-window-regexps.
10071 (customize-group): New argument.
10072 (customize-group-other-window): Use it.
10073 (customize-face, customize-face-other-window): Likewise.
10074 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10075
8319e0bf
CY
10076 * net/rlogin.el:
10077 * net/telnet.el:
10078 * progmodes/gud.el: Don't set same-window-regexps.
10079
10080 * cmuscheme.el:
10081 * ielm.el:
10082 * shell.el:
10083 * mail/sendmail.el:
10084 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10085
25173000
JL
100862011-09-10 Juri Linkov <juri@jurta.org>
10087
10088 * isearch.el (isearch-edit-string): Remove obsolete mention of
10089 `C-w' (`isearch-yank-word-or-char') from docstring.
10090 (isearch-query-replace): Fix typo in docstring (bug#9466).
10091
056e44ef
JL
100922011-09-10 Juri Linkov <juri@jurta.org>
10093
10094 * paren.el (show-paren-function): Don't show escaped parens.
10095 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10096
c3760c17
EZ
100972011-09-10 Eli Zaretskii <eliz@gnu.org>
10098
10099 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10100 (mm-default-file-encoding): Remove autoload forms, they are
10101 replaced with autoload cookies in mml.el and mm-encode.el.
10102 (mail-add-attachment): New command.
10103 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10104 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10105 the doc string.
10106 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10107
fece895e
RT
101082011-09-10 Reuben Thomas <rrt@sc3d.org>
10109
e69df516
SM
10110 * simple.el (count-words-region): Use buffer if there's no region
10111 (bug#9429).
fece895e 10112
5e68ce4a
JL
101132011-09-09 Juri Linkov <juri@jurta.org>
10114
10115 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10116 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10117 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10118
0a6b9622
AM
101192011-09-09 Alan Mackenzie <acm@muc.de>
10120
10121 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10122 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10123
14a29deb
EZ
101242011-09-09 Eli Zaretskii <eliz@gnu.org>
10125
10126 Fix for Savannah bug#9392.
10127 * simple.el (mail-encode-mml): New defvar.
10128
10129 * mail/rmail.el (mail-encode-mml): Add a defvar.
10130 (rmail-enable-mime-composing): Default to t.
10131 (rmail-forward): Use MIME method of forwarding only if both
10132 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10133 Set mail-encode-mml non-nil if the MIME method was used.
10134
10135 * mail/sendmail.el (mml-to-mime): Add autoload form.
10136 (mail-encode-mml): Add a defvar.
10137 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10138 to nil.
10139 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10140 message through mml-to-mime, and reset mail-encode-mml to nil.
10141
28c45130
GM
101422011-09-09 Glenn Morris <rgm@gnu.org>
10143
10144 * woman.el (woman-if-body): When processing an .el block,
10145 do not delete the next .el block as well. (Bug#9447)
69f4b618 10146 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10147
9b1c252e
MR
101482011-09-08 Martin Rudalics <rudalics@gmx.at>
10149
10150 * window.el (window-deletable-p): Make sure window is live before
10151 invoking window-prev-buffers.
10152
567457e3
LL
101532011-09-08 Leo Liu <sdl.web@gmail.com>
10154
10155 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10156
97f05794
JL
101572011-09-08 Juri Linkov <juri@jurta.org>
10158
10159 * progmodes/compile.el (compilation-environment): Make it
10160 a defcustom (bug#8340).
10161
8b0874b5
MR
101622011-09-08 Martin Rudalics <rudalics@gmx.at>
10163
10164 * window.el (frame-auto-delete): Rename to window-auto-delete.
10165 Make it control auto-deletion of windows and/or frames.
10166 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10167 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10168 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10169 Rewrite handling of case when window/frame can be deleted.
10170 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10171 argument t. (Bug#9456)
8b0874b5 10172
4feb6e73
CY
101732011-09-07 Chong Yidong <cyd@stupidchicken.com>
10174
10175 * help-mode.el (help-mode): Restore autoload.
10176
91ab9c13
JL
101772011-09-07 Juri Linkov <juri@jurta.org>
10178
10179 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10180 `compilation-environment'. Set buffer-local
10181 `compilation-environment' to `thisenv' later after (funcall mode).
10182 (Bug#8340)
10183
10184 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10185 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10186 instead of replacing its value. (Bug#8340)
10187
0527e251
JL
101882011-09-07 Juri Linkov <juri@jurta.org>
10189
10190 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10191 based on text properties put by `grep-filter' instead of matching
10192 escape sequences.
10193 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10194 to the value of `grep-error-screen-columns' (bug#9438).
10195
249f792c
JL
101962011-09-07 Juri Linkov <juri@jurta.org>
10197
10198 * simple.el (next-error-highlight, next-error-highlight-no-select):
10199 Doc fix (bug#9432).
10200
ff7271b9
OT
102012011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10202
10203 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10204 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10205
183fc730
LL
102062011-09-07 Leo Liu <sdl.web@gmail.com>
10207
10208 * net/rcirc.el (rcirc-mode): Conditionally initialize
10209 rcirc-input-ring.
10210
77694924
SM
102112011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * emacs-lisp/find-func.el (find-function-C-source): Only set
10214 find-function-C-source-directory after checking that we found a source
10215 file there (bug#9440).
10216
d809b8eb
AM
102172011-09-06 Alan Mackenzie <acm@muc.de>
10218
10219 * isearch.el (isearch-other-meta-char): Wherever a key list is
10220 unread, "unread" the prefix arg, too. This fixes bug #8901.
10221
453de99f
OG
102222011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10223
10224 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10225
90439906
JL
102262011-09-05 Juri Linkov <juri@jurta.org>
10227
10228 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10229
f62bd846
JL
102302011-09-05 Juri Linkov <juri@jurta.org>
10231
10232 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10233 keeping point where processing of grep matches begins, and
10234 continue to delete remaining escape sequences from the same point.
10235 (grep-filter): Make leading zero optional in "0?1;31m" because
10236 git-grep emits "\033[1;31m" escape sequences unlike expected
10237 "\033[01;31m" as GNU Grep does (bug#9408).
10238 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10239
045820ec
JL
102402011-09-05 Juri Linkov <juri@jurta.org>
10241
10242 * subr.el (y-or-n-p): Capitalize "yes".
10243
f5e29b9b
MA
102442011-09-04 Michael Albinus <michael.albinus@gmx.de>
10245
10246 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10247 `tramp-cache-unload-hook' where appropriate.
10248 (tramp-methods): Rename `tramp-remote-sh' to
10249 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10250 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10251
10252 * net/tramp-sh.el (top): Don't require 'shell.
10253 (tramp-methods): Add `tramp-remote-shell' and
10254 `tramp-remote-shell-args' entries.
10255 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10256 (tramp-sh-handle-shell-command): Remove.
10257 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10258 Use `tramp-remote-shell'.
10259
2784c434
CY
102602011-09-03 Chong Yidong <cyd@stupidchicken.com>
10261
393a301e 10262 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10263 (sendmail-query-once): Save directly to send-mail-function.
10264 Update message-send-mail-function too.
10265
10266 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10267
464cdf56
CS
102682011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10269
10270 * progmodes/python.el (python-mode-map): Use correct function to
10271 start python interpreter from menu-bar (as reported by Geert
10272 Kloosterman).
10273 (inferior-python-mode-map): Fix typo.
393a301e 10274 (python-shell-map): Remove.
464cdf56 10275
d37e5c87
DD
102762011-09-03 Deniz Dogan <deniz@dogan.se>
10277
10278 * net/rcirc.el (rcirc-print): Simplify code for
10279 rcirc-scroll-show-maximum-output. There is no need to walk
10280 through all windows to find the right one.
10281
f3ada0ee
CS
102822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10283
10284 * help.el (help-return-method): Doc fix.
10285
1f3c99ca
MR
102862011-09-03 Martin Rudalics <rudalics@gmx.at>
10287
10288 * window.el (window-deletable-p): Don't return a non-nil value
10289 when there's a buffer that was shown in the window before.
10290 (Bug#9419)
393a301e
SM
10291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10292 Set window's previous buffers to nil.
1f3c99ca 10293
a3cf097f
EZ
102942011-09-03 Eli Zaretskii <eliz@gnu.org>
10295
10296 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10297 newline before and after the tag line, so it doesn't interfere
10298 with determining the paragraph direction of bidirectional text.
10299
3d03de90
LL
103002011-09-03 Leo Liu <sdl.web@gmail.com>
10301
10302 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10303
c3313451
CY
103042011-09-02 Chong Yidong <cyd@stupidchicken.com>
10305
393a301e 10306 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10307 (pop-to-buffer): Change interactive spec. Pass second argument
10308 directly to display-buffer.
10309 (display-buffer): Fix interactive spec. Use functionp to
10310 distinguish between a function and a list of functions.
10311
10312 * abbrev.el (edit-abbrevs):
10313 * arc-mode.el (archive-extract):
10314 * autoinsert.el (auto-insert):
10315 * bookmark.el (bookmark-bmenu-list):
10316 * files.el (find-file):
10317 * view.el (view-buffer):
10318 * progmodes/compile.el (compilation-goto-locus):
10319 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10320
89894cd8
CY
103212011-09-02 Chong Yidong <cyd@stupidchicken.com>
10322
10323 * window.el (display-buffer-alist): Doc fix.
10324 (display-buffer): Add docstring. Don't treat
10325 display-buffer-default specially.
10326 (display-buffer-reuse-selected-window)
10327 (display-buffer-same-window, display-buffer-maybe-same-window)
10328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10329 (display-buffer-pop-up-window)
10330 (display-buffer-reuse-or-pop-window)
10331 (display-buffer-use-some-window): New functions.
10332 (display-buffer-default-action): Use them.
393a301e 10333 (display-buffer-default): Delete.
89894cd8
CY
10334 (pop-to-buffer-1): Fix choice of actions.
10335
ae0bc9fb
SM
103362011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * minibuffer.el (completion--insert-strings): Don't get confused by
10339 completion entries that end with an LF char.
10340
e9d90883
EZ
103412011-09-01 Eli Zaretskii <eliz@gnu.org>
10342
10343 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10344
437014c8
CY
103452011-09-01 Chong Yidong <cyd@stupidchicken.com>
10346
10347 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10348 (display-buffer-same-window, display-buffer-other-window):
10349 New functions.
437014c8
CY
10350 (pop-to-buffer-1): New function. Use the above.
10351 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10352 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10353
10354 * view.el (view-buffer-other-window, view-buffer-other-frame):
10355 Just use pop-to-buffer.
10356
a5e063d5
TV
103572011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10358
10359 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10360
793d32bb
WH
103612011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10362
10363 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10364
d65e4c15
RS
103652011-08-31 Richard Stallman <rms@gnu.org>
10366
10367 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10368 of the separation of rmail-view-buffer from rmail-buffer.
10369 If you say no to "replace original", the decrypt is in the
10370 view buffer. If you say yes, the decrypt goes into the
10371 rmail buffer also.
10372
f818cd2a
MR
103732011-08-31 Martin Rudalics <rudalics@gmx.at>
10374
10375 * window.el (display-buffer-window): Rewrite doc-string.
10376 (display-buffer-record-window): New function.
10377 (display-buffer-macro-specifiers)
10378 (display-buffer-even-window-sizes, display-buffer-set-height)
10379 (display-buffer-set-width, display-buffer-in-window)
10380 (display-buffer-reuse-window, display-buffer-split-specifiers)
10381 (display-buffer-side-specifiers, display-buffer-split-window-1)
10382 (display-buffer-split-window, display-buffer-split-atom-window)
10383 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10384 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10385 (display-buffer-other-window-means-other-frame)
10386 (display-buffer-normalize-special)
10387 (display-buffer-normalize-default)
10388 (display-buffer-normalize-argument)
10389 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10390 (display-buffer-normalize-specifiers, display-buffer-frame)
10391 (display-buffer-same-window, display-buffer-same-frame)
10392 (display-buffer-other-window)
10393 (display-buffer-same-frame-other-window)
10394 (display-buffer-other-frame, pop-to-buffer-same-window)
10395 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10396 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10397 (switch-to-buffer-same-frame)
10398 (switch-to-buffer-other-window-same-frame)
10399 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10400 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10401 (display-buffer-alist-set): Remove.
10402 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10403 (special-display-regexps, special-display-function):
10404 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10405 parameter.
10406 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10407 (special-display-frame-alist, special-display-popup-frame)
10408 (same-window-buffer-names, same-window-regexps, same-window-p)
10409 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10410 (split-window-preferred-function, split-height-threshold)
10411 (split-width-threshold, window-splittable-p)
10412 (split-window-sensibly, window--try-to-split-window)
10413 (window--frame-usable-p, even-window-heights)
10414 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10415 (window--display-buffer-2, display-buffer-other-frame):
10416 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10417 (display-buffer-default, display-buffer-assq-regexp): New functions.
10418 (display-buffer-alist): Rewrite doc-string.
10419 (display-buffer-default-action)
10420 (display-buffer-overriding-action): New variables.
10421 (display-buffer, switch-to-buffer): Rewrite.
10422 (pop-to-buffer): Restore Emacs 23 behavior but use
10423 window-normalize-buffer-to-display.
10424 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10425 Restore Emacs 23 behavior but use
10426 window-normalize-buffer-to-switch-to.
10427 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10428 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10429 Rewrite using Emacs 23 options.
f818cd2a 10430
5bc3b51d
MA
104312011-08-31 Michael Albinus <michael.albinus@gmx.de>
10432
10433 * net/tramp.el (tramp-root-regexp): Remove.
10434 (tramp-completion-file-name-regexp-unified)
10435 (tramp-completion-file-name-regexp-separate)
10436 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10437 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10438 (tramp-drop-volume-letter): Simplify definition.
10439 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10440
b1a4f8e1
SM
104412011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10442
10443 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10444 (bug#9356).
10445
5664fa7b
RT
104462011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10447
b1a4f8e1 10448 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10449
9a45d6c3
JL
104502011-08-29 Juri Linkov <juri@jurta.org>
10451
10452 * isearch.el (isearch-done): Don't display message "Mark saved"
10453 when arg `edit' is non-nil to prevent its flicker in the echo area.
10454
fb87e0fb
CY
104552011-08-28 Chong Yidong <cyd@stupidchicken.com>
10456
10457 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10458 obsolete packages for deletion.
10459
09ac1c2a
CS
104602011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10461
10462 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10463 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10464 view-mode from help-mode.
10465 (help-xref-override-view-map): Remove.
10466 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10467 view-mode is not used anymore.
10468
7a1ff57f
CY
104692011-08-28 Chong Yidong <cyd@stupidchicken.com>
10470
10471 * server.el (server-port): Doc fix.
10472
b9696605
CY
10473 * cus-theme.el (custom-theme-choose-mode): Inherit from
10474 special-mode (Bug#9124).
10475 (custom-theme-choose-mode-map): Add special-mode to parent.
10476
ef8cdf8c
AM
104772011-08-28 Alan Mackenzie <acm@muc.de>
10478
10479 * progmodes/cc-fonts.el
10480 (c-make-font-lock-BO-decl-search-function): New function.
10481 (c-basic-matchers-after - "Fontify the clauses after various
10482 keywords"): Extract the three keyword lists for the 3 erroneous
10483 constructs from the list of four, and use the new function above
10484 in place of an old one.
10485
27de4e20
DD
104862011-08-28 Deniz Dogan <deniz@dogan.se>
10487
10488 * net/rcirc.el (rcirc-insert-prev-input)
10489 (rcirc-insert-next-input): Remove unused argument.
10490
356a3681
SM
104912011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10494
3fc9b218
AM
104952011-08-27 Alan Mackenzie <acm@muc.de>
10496
10497 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10498 handle function pointer parameters properly.
10499
538a061c
MR
105002011-08-27 Martin Rudalics <rudalics@gmx.at>
10501
10502 * window.el (display-buffer-reuse-window): Fix case where
10503 selected window was reused with non-nil OTHER-WINDOW argument.
10504 (Bug#9381)
10505
35b1c40c
DD
105062011-08-27 Deniz Dogan <deniz@dogan.se>
10507
10508 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10509 oftc's NickServ messages.
10510
2f6a3e79
GM
105112011-08-27 Glenn Morris <rgm@gnu.org>
10512
10513 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10514
7254299e
CY
105152011-08-26 Chong Yidong <cyd@stupidchicken.com>
10516
10517 * emacs-lisp/package.el (package-install): Call package-initialize
10518 if called interactively.
10519
f8ccf167
LL
105202011-08-26 Leo Liu <sdl.web@gmail.com>
10521
10522 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10523
3e8cd5ce
JL
105242011-08-25 Juri Linkov <juri@jurta.org>
10525
10526 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10527 `search-whitespace-regexp' (bug#9364).
10528
93eb7113
JL
105292011-08-25 Juri Linkov <juri@jurta.org>
10530
10531 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10532 `regexp-search-ring' to their global values to protect from
10533 updating by `read-from-minibuffer' (bug#9185).
10534
f65d1611
JL
105352011-08-25 Juri Linkov <juri@jurta.org>
10536
10537 * textmodes/ispell.el (ispell-command-loop): Add newline
10538 at the end of the "Use option `i'..." line.
10539
f1cf7a31
JL
105402011-08-25 Juri Linkov <juri@jurta.org>
10541
10542 * battery.el (display-battery-mode): If `battery-status-function'
10543 or `battery-mode-line-format' is nil, display the message and set
10544 `display-battery-mode' to nil (bug#9363).
10545
0c95fcf7
EZ
105462011-08-25 Eli Zaretskii <eliz@gnu.org>
10547
10548 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10549 bidi-string-mark-left-to-right; they are unnecessary now.
10550
a2ebe600
DD
105512011-08-25 Deniz Dogan <deniz@dogan.se>
10552
10553 * net/quickurl.el: Documentation typo fixes.
10554
e4ed06f1
CY
105552011-08-25 Chong Yidong <cyd@stupidchicken.com>
10556
10557 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10558
e5f1c99e
GM
105592011-08-25 Glenn Morris <rgm@gnu.org>
10560
b2948976
GM
10561 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10562
e5f1c99e
GM
10563 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10564 (smtpmail-via-smtp): Handle nil response from smtp.
10565
f22f4808
JL
105662011-08-24 Juri Linkov <juri@jurta.org>
10567
10568 * proced.el (proced-marked): Inherit from `error' instead of
10569 `font-lock-warning-face'.
10570
10571 * ibuffer.el (ibuffer-marked-face): Change default face from
10572 `font-lock-warning-face' to `warning'.
10573 (ibuffer-deletion-face): Change default face from
10574 `font-lock-type-face' to `error'.
10575
10576 * battery.el (battery-update): Use the face `error' instead of
10577 `font-lock-warning-face' (bug#6117).
10578
6a93965e
JL
105792011-08-24 Juri Linkov <juri@jurta.org>
10580
10581 * faces.el (success): Change face color from "Green3" to
10582 "ForestGreen" on light background (bug#9353).
10583
1ed43b09
CY
105842011-08-24 Chong Yidong <cyd@stupidchicken.com>
10585
5664fa7b
RT
10586 * window.el (quit-window): Rename from quit-restore-window.
10587 Use same arglist as old quit-window.
1ed43b09
CY
10588 (frame-auto-delete): Doc fix.
10589
10590 * view.el (view-mode-exit): Use quit-window.
10591
11dcdbb2
JL
105922011-08-24 Juri Linkov <juri@jurta.org>
10593
10594 * isearch.el (isearch-ring-adjust1): Start visiting previous
10595 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10596 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10597 for empty search string (when the last search string is reused
10598 automatically) to adjust the isearch ring to the last element and
10599 prepare the correct index for further M-p commands (bug#9185).
10600
de62b4df
KH
106012011-08-24 Kenichi Handa <handa@m17n.org>
10602
10603 * international/ucs-normalize.el: If decomposition property of
10604 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10605 nil.
10606 (nfd, nfkd): Likewise.
10607
963b492b
SM
106082011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10611 from process filters aren't reliably transmitted to the surrounding
10612 accept-process-output.
10613 (mpc-proc-check): New function.
10614 (mpc-proc-sync): Use it (bug#8293)
10615
93b6b5e1
SM
106162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10619 Add compatibility functions (bug#9313).
10620
bca633fb
EZ
106212011-08-23 Eli Zaretskii <eliz@gnu.org>
10622
b177498a
EZ
10623 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10624
6df6ae42 10625 * international/uni-bidi.el: Regenerate.
bca633fb 10626
0902a04e
KH
106272011-08-23 Kenichi Handa <handa@m17n.org>
10628
10629 * international/charprop.el:
10630 * international/uni-bidi.el:
10631 * international/uni-category.el:
10632 * international/uni-combining.el:
10633 * international/uni-comment.el:
10634 * international/uni-decimal.el:
10635 * international/uni-decomposition.el:
10636 * international/uni-digit.el:
10637 * international/uni-lowercase.el:
10638 * international/uni-mirrored.el:
10639 * international/uni-name.el:
10640 * international/uni-numeric.el:
10641 * international/uni-old-name.el:
10642 * international/uni-titlecase.el:
10643 * international/uni-uppercase.el: Regenerate.
10644
3bbf23bc
MR
106452011-08-23 Martin Rudalics <rudalics@gmx.at>
10646
10647 * help.el (help-window-setup): Fix message displayed when other
10648 window is reused. (Bug#9341)
10649
b3fd59bd
SM
106502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10651
1802e444
SM
10652 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10653 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10654
b3fd59bd
SM
10655 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10656 Mark obsolete.
10657 * shell.el (shell-parse-pcomplete-arguments): New function.
10658 (shell-completion-vars): Use it instead (bug#9160).
10659
4eb61348
SM
106602011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10661
867cab74
SM
10662 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10663 strings and comments (bug#9333).
10664
4eb61348
SM
10665 * emacs-lisp/debug.el (debug-arglist): New function.
10666 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10667 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10668
262a1439
JL
106692011-08-22 Juri Linkov <juri@jurta.org>
10670
56ee679c
JL
10671 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10672 Revert regexp that highlights output switches to its old
10673 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10674
262a1439
JL
10675 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10676 to check for empty output (bug#9226).
10677
f13f86fb
CY
106782011-08-22 Chong Yidong <cyd@stupidchicken.com>
10679
10680 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10681 symbol-constituent as the default, as that stops font-lock from
10682 working properly (Bug#8843).
10683
c65c9622
LMI
106842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10685
10686 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10687 `coding-system-for-*' around the process open call to avoid
10688 auth-source side effects.
e7f2c178 10689 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10690 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10691 probe hangs.
c65c9622 10692
23a8a5ab
CY
106932011-08-21 Chong Yidong <cyd@stupidchicken.com>
10694
ff98b2dd
CY
10695 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10696
23a8a5ab
CY
10697 * emacs-lisp/find-func.el (find-function-noselect): New arg
10698 lisp-only.
10699
10700 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10701 signal an error for built-in functions (Bug#6664).
10702
f5e3c598
LMI
107032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10704
10705 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10706 (smtpmail-try-auth-methods): Use it.
10707
a3f2468a
CY
107082011-08-21 Chong Yidong <cyd@stupidchicken.com>
10709
2c34e8da
CY
10710 * font-lock.el (font-lock-fontify-region)
10711 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10712 (font-lock-default-unfontify-buffer)
10713 (font-lock-default-fontify-region)
10714 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10715
b3fd59bd
SM
10716 * progmodes/compile.el (compilation-error-properties):
10717 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10718 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10719 `ant' regexp.
ee31aabc 10720
a3f2468a
CY
10721 * net/browse-url.el (browse-url-firefox): Don't call
10722 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10723
8e999f70
GM
107242011-08-20 Glenn Morris <rgm@gnu.org>
10725
c21a496a
GM
10726 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10727
59ee0542
GM
10728 * tutorial.el (tutorial--default-keys): Update some default bindings.
10729
8e999f70
GM
10730 * files.el (hack-local-variables): Fully ignore case for "mode:".
10731
e3715033
AM
107322011-08-20 Alan Mackenzie <acm@muc.de>
10733
10734 Resolve invalid use of a regexp in regexp-opt.
10735
4d61f28d
JB
10736 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10737 detection for a java annotation.
e3715033 10738
4d61f28d 10739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10740 detection for a java annotation.
10741
4d61f28d
JB
10742 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10743 handling for java.
e3715033
AM
10744 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10745
04ed2e9c
CY
107462011-08-20 Chong Yidong <cyd@stupidchicken.com>
10747
10748 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10749 (Bug#9274).
10750
826cee64
AM
107512011-08-20 Alan Mackenzie <acm@muc.de>
10752
58179cce 10753 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10754 such a construct. Mainly for when jit-lock etc. starts a chunk
10755 here.
10756
58179cce 10757 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10758 variable.
58179cce 10759 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10760 c-make-font-lock-search-function.
10761 (c-make-font-lock-search-function): Use the above function.
10762 (c-make-font-lock-context-search-function): New function.
10763 (c-cpp-matchers): Enhance the preprocessor expression case with
10764 the above function
10765 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10766 which takes an expression.
10767
10768 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10769
13009bd8
MR
107702011-08-20 Martin Rudalics <rudalics@gmx.at>
10771
10772 * window.el (display-buffer-reuse-window)
10773 (display-buffer-pop-up-window): Don't reuse or split a side
10774 window.
10775
9234ff7f
GM
107762011-08-19 Glenn Morris <rgm@gnu.org>
10777
10778 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10779 Downcase "Mode:". (Bug#9331)
9234ff7f 10780
f635daa1
CY
107812011-08-18 Chong Yidong <cyd@stupidchicken.com>
10782
10783 * international/characters.el: Add L and R categories.
10784
10785 * subr.el (bidi-string-mark-left-to-right): Rename from
10786 string-mark-left-to-right. Use category search.
10787
10788 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10789
bc987f8b
JL
107902011-08-18 Juri Linkov <juri@jurta.org>
10791
10792 * faces.el (error, warning, success): New faces with definitions
10793 copied from old default values of `font-lock-warning-face',
10794 `compilation-warning', `compilation-info' (bug#6117).
10795
10796 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10797
10798 * progmodes/compile.el (compilation-error): Inherit from `error'.
10799 (compilation-warning): Inherit from `warning'.
10800 (compilation-info): Inherit from `success'.
10801
10802 * dired.el (dired-marked): Inherit from `warning'.
10803 (dired-flagged): Inherit from `error'.
10804
57173b96
LMI
108052011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10806
3e79eb87
LMI
10807 * mail/smtpmail.el (auth-source): Require to avoid problems with
10808 binding variables (bug#9298). Also clean up some unused
10809 autoloads.
10810
b3fd59bd
SM
10811 * net/network-stream.el (network-stream-open-starttls):
10812 Support using starttls.el without using gnutls-cli.
57173b96 10813
02b404de
JL
108142011-08-17 Juri Linkov <juri@jurta.org>
10815
10816 * progmodes/grep.el (rgrep): Handle the case when
10817 `grep-find-command' is a cons cell (bug#9278).
10818
8c9177f2
MR
108192011-08-17 Martin Rudalics <rudalics@gmx.at>
10820
10821 * window.el (display-buffer-pop-up-frame): Run frame creation
10822 function with BUFFER current (as special-display-popup-frame
10823 does). Reported by Drew Adams.
10824
3644a0ab
DU
108252011-08-17 Daiki Ueno <ueno@unixuser.org>
10826
10827 * epa-mail.el: Simplify GnuPG group expansion using
10828 epg-expand-group.
10829 (epa-mail-group-alist, epa-mail-group-modtime)
10830 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10831 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10832 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10833 Remove.
10834
5e617bc2 108352011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10836
10837 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10838
9c4aeabf
AM
108392011-08-16 Alan Mackenzie <acm@muc.de>
10840
10841 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10842 Correct, to avoid the inside of macros.
10843
3a99bf64
RS
108442011-08-16 Richard Stallman <rms@gnu.org>
10845
04963aa8
RS
10846 * epa-mail.el: Handle GnuPG group definitions.
10847 (epa-mail-group-alist, epa-mail-group-modtime)
10848 (epa-mail-gnupg-conf-file): New variables.
10849 (epa-mail-parse-groups, epa-mail-sync-groups)
10850 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10851 (epa-mail-expand-recipients): New functions.
10852 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10853
177549d0
RS
10854 * mail/rmail.el (rmail-epa-decrypt): New command.
10855
fe38beef
RS
10856 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10857 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10858 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10859 (epa-decrypt-armor-in-region): Make error message clearer.
10860
934eacb9
SM
108612011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10864 and "a2b" to "ab" for `prefix'.
10865
d024fb4e
CY
108662011-08-14 Chong Yidong <cyd@stupidchicken.com>
10867
10868 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10869 filter groups.
de148fee
CY
10870 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10871 Fourquet (Bug#8804).
d024fb4e 10872
62f1ca49
JB
108732011-08-12 Juanma Barranquero <lekktu@gmail.com>
10874
10875 * startup.el (argi): Declare as global variable (bug#9275).
10876
9ccaaa4b
CY
108772011-08-12 Chong Yidong <cyd@stupidchicken.com>
10878
10879 * subr.el (string-mark-left-to-right): Search the entire string
10880 for RTL script, not just the terminating character. Doc fix.
10881
a3dae87a
SM
108822011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10883
6cd18349
SM
10884 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10885 New function.
10886 (js--regexp-literal, js-syntax-propertize-function): Remove.
10887 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10888 (js-mode-map): Don't rebind electric keys.
10889 (js-insert-and-indent): Remove.
10890 (js-mode): Setup electric-layout and electric-indent instead.
10891
a3dae87a
SM
10892 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10893
9d5cb631
DU
108942011-08-12 Daiki Ueno <ueno@unixuser.org>
10895
10896 * epa.el (epa-progress-callback-function): Fix the logic of
10897 displaying progress.
10898 * epa-file.el (epa-file-insert-file-contents): Make progress
10899 display more user-friendly.
10900 (epa-file-write-region): Ditto.
10901
3e26a4a2
CY
109022011-08-10 Chong Yidong <cyd@stupidchicken.com>
10903
10904 * subr.el (string-mark-left-to-right): New function.
10905
10906 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10907 Use string-mark-left-to-right.
10908 (list-buffers-noselect): Caller changed.
10909
a3dae87a
SM
10910 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10911 Use string-mark-left-to-right.
3e26a4a2
CY
10912 (tabulated-list-print): Recenter after moving point.
10913
ac8cf6e6
JL
109142011-08-10 Juri Linkov <juri@jurta.org>
10915
10916 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10917 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10918 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10919
8d96c9a4
CY
109202011-08-09 Chong Yidong <cyd@stupidchicken.com>
10921
10922 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10923 (Bug#7554).
10924
7be1c708 109252011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10926
10927 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10928 character. (Bug#6594)
10929
37e11a63
CY
109302011-08-08 Chong Yidong <cyd@stupidchicken.com>
10931
839dde57
CY
10932 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10933 (image-dired--with-db-file): New macro.
10934 (image-dired-write-tags, image-dired-remove-tag)
10935 (image-dired-create-gallery-lists, image-dired-write-comments)
10936 (image-dired-get-comment, image-dired-mark-tagged-files)
10937 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10938 (image-dired-gallery-generate): Use insert-file-contents.
10939
37e11a63
CY
10940 * time.el (display-time-world-list, display-time-world-display):
10941 * time-stamp.el (time-stamp-string):
10942 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10943 set-time-zone-rule (Bug#7337).
10944
0b4946c4
DU
109452011-08-08 Daiki Ueno <ueno@unixuser.org>
10946
10947 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10948 (epg-error-to-string, epg-errors-to-string): New function.
10949 (epg-wait-for-completion): Reverse errors list.
10950 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10951 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10952 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10953 (epg-sign-keys, epg-generate-key-from-file)
10954 (epg-generate-key-from-string): Format errors by using
10955 epg-errors-to-string (bug#9255).
10956 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10957
75bfc667
JL
109582011-08-07 Juri Linkov <juri@jurta.org>
10959
10960 * faces.el (list-faces-display): Remove extra angle bracket
10961 from `help-mode-map'.
10962
10963 * info.el (Info-history-toc-nodes): Doc fix.
10964
10965 * longlines.el (longlines-mode): Doc fix.
10966
673e08bb
SM
109672011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10968
4640dd88
SM
10969 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10970 of statements and in a few more cases (bug#9183).
10971
673e08bb
SM
10972 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10973 New functions.
10974 (cl-transform-lambda): Use them (bug#9239).
10975
89b3f019
MR
109762011-08-05 Martin Rudalics <rudalics@gmx.at>
10977
10978 * window.el (display-buffer-same-window)
10979 (display-buffer-same-frame, display-buffer-other-window)
10980 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10981 (pop-to-buffer-other-window)
10982 (pop-to-buffer-same-frame-other-window)
10983 (pop-to-buffer-other-frame): Make them defuns.
10984 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10985
640c8776
SM
109862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * subr.el (make-composed-keymap): Move from C. Change calling
10989 convention, and improve docstring to bring attention to a subtle point.
10990 * minibuffer.el (completing-read-default): Adjust accordingly.
10991
63648a95
MA
109922011-08-03 Michael Albinus <michael.albinus@gmx.de>
10993
10994 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10995 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10996
10997 * net/trampver.el: Update release number.
10998
b796c9b7
SM
109992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11002 "in" (bug#9190).
11003
2239d7d5
LMI
110042011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11005
e07dd7c3
LMI
11006 * mail/sendmail.el (sendmail-query-once): Restore the current
11007 buffer after querying (bug#9074).
11008
0e6a2bd7
LMI
11009 * dired.el (dired-flagged): Use different faces for marked and
11010 flagged files (bug#6117).
11011
ce887515
LMI
11012 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11013 (bug#4433).
11014
92f2affc
LMI
11015 * ido.el (ido-mode): Switch off the message if called
11016 non-interactively.
11017
57d5aff0
LMI
11018 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11019 before 587, since it appears that that's more likely to work for
11020 more people.
11021
98cd6c18 11022 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11023 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11024 exist.
11025
b96dec83
LMI
11026 * info.el: Remove the `Info-beginning-of-buffer' function
11027 (bug#8325).
11028
b796c9b7
SM
11029 * net/network-stream.el (network-stream-open-starttls):
11030 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11031
d90e2ea0
MR
110322011-08-01 Martin Rudalics <rudalics@gmx.at>
11033
11034 * window.el (display-buffer-in-window): Don't set dedicated status
11035 of window here (Bug#9215).
11036 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11037 (display-buffer-pop-up-side-window)
b796c9b7 11038 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11039
cca09170
SM
110402011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11041
11042 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11043 before binding generated-autoload-file.
11044
027b979c
DD
110452011-08-01 Deniz Dogan <deniz@dogan.se>
11046
11047 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11048
3c7ee4f3
MA
110492011-07-30 Michael Albinus <michael.albinus@gmx.de>
11050
11051 Sync with Tramp 2.2.2.
11052
11053 * net/trampver.el: Update release number.
11054
2cc8e51a
JL
110552011-07-30 Juri Linkov <juri@jurta.org>
11056
11057 * dired-aux.el (dired-touch-initial): Remove function.
11058 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11059 current time, and `default' to the last modification time of the
11060 current marked file (bug#6887).
11061
a514d856
JM
110622011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11063
11064 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11065 numeric argument to read-number (bug#9163).
a514d856 11066
8a7eddd7
MA
110672011-07-27 Michael Albinus <michael.albinus@gmx.de>
11068
11069 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11070 connection process, it could be nil.
11071
1ddd96f5
LL
110722011-07-27 Leo Liu <sdl.web@gmail.com>
11073
11074 Simplify url handling in rcirc-mode.
11075
11076 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11077 (rcirc-browse-url-at-mouse): Remove.
11078 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11079
b248a85d
AM
110802011-07-26 Alan Mackenzie <acm@muc.de>
11081
11082 Fontify bitfield declarations properly.
11083
11084 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11085 (c-symbol-chars): Now exported as a lang variable.
11086 (c-not-primitive-type-keywords): New lang variable.
11087
11088 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11089 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11090 parsed as a bitfield declaration.
b248a85d 11091
b796c9b7
SM
11092 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11093 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11094 (c-punctuation-in): New function.
11095 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11096 declarations properly.
11097
68575ab0
UJ
110982011-07-26 Ulf Jasper <ulf.jasper@web.de>
11099
11100 * calendar/icalendar.el (icalendar--all-events): Take care of
11101 multiple vcalendars in a single file.
b796c9b7 11102 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11103
0f0a88b9
DD
111042011-07-25 Deniz Dogan <deniz@dogan.se>
11105
11106 * image.el (insert-image): Clarifying docstring.
11107
0b3f36df
MA
111082011-07-24 Michael Albinus <michael.albinus@gmx.de>
11109
11110 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11111 `tramp-send-command-and-check' if there is no error.
11112 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11113
a9901f61
AM
111142011-07-22 Alan Mackenzie <acm@muc.de>
11115
11116 Prevent cc-langs.elc being loaded at run time.
11117
11118 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11119 cc-langs.
11120
4d61f28d 11121 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11122 "(require 'cc-langs)". Quote a form so it will evaluate at
11123 (cc-mode's) compilation time.
11124
11d074b2
MA
111252011-07-22 Michael Albinus <michael.albinus@gmx.de>
11126
11127 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11128 loading. (Bug#9114)
11129
938b94c8
MR
111302011-07-21 Martin Rudalics <rudalics@gmx.at>
11131
11132 * window.el (display-buffer-pop-up-window)
11133 (display-buffer-pop-up-side-window)
11134 (display-buffer-in-side-window): Call display-buffer-set-height
11135 and display-buffer-set-width after setting the new window's
b796c9b7 11136 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11137
bfa4f190
SS
111382011-07-20 Sam Steingold <sds@gnu.org>
11139
11140 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11141 (etags-tags-included-tables): Call `convert-standard-filename' on
11142 the file names contained in TAGS so that windows Emacs can handle
11143 TAGS files created by cygwin ctags.
11144
8ca42262
LMI
111452011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11146
11147 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11148 which apparently didn't work.
11149
5db2afd2 111502011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11151
5db2afd2
RW
11152 * proced.el (proced-send-signal): For *Marked Processes* buffer
11153 put point at beginning of buffer.
11154
92e15d10
SB
111552011-07-19 Stephen Berman <stephen.berman@gmx.net>
11156
11157 * proced.el (proced-format): Make header lines align with the text
11158 (bug#1779).
11159
1bfd59e5
LMI
111602011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11161
11162 * view.el (view-buffer): Allow running in `special' modes if we're
11163 visiting a file (bug#8615).
11164
f5aae37c
MR
111652011-07-19 Martin Rudalics <rudalics@gmx.at>
11166
11167 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11168 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11169 New functions.
f5aae37c
MR
11170 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11171 more accurately.
11172
bf2c1571
AM
111732011-07-18 Alan Mackenzie <acm@muc.de>
11174
11175 Fontify declarators properly when, e.g., a jit-lock chunk begins
11176 inside a declaration.
11177
11178 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11179
b796c9b7
SM
11180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11181 New function.
bf2c1571
AM
11182 (c-complex-decl-matchers): Insert reference to
11183 c-font-lock-enclosing-decls.
11184
11185 * progmodes/cc-engine.el (c-backward-single-comment):
11186 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11187 to nil around calls to (forward-comment -1).
11188
4e190b80
LMI
111892011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11190
12dc863d
LMI
11191 * image.el (put-image): Doc typo fix.
11192
a762e966
LMI
11193 * progmodes/etags.el (tags-search): Doc typo fix.
11194
4e190b80
LMI
11195 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11196 password if we get errors 550 to 554.
11197
f019fb21
LMI
111982011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11199
b796c9b7 11200 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11201
81746738
LMI
11202 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11203 indentation character (bug#6380).
11204
3ee3a1b5
LMI
11205 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11206
c82f64de
LMI
11207 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11208 to clarify what the problem is (bug#4291).
11209
f019fb21
LMI
11210 * simple.el (current-kill): Clarify what
11211 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11212 (auto-fill-mode): Document `auto-fill-function' in relation to
11213 `auto-fill-mode' (bug#2470).
f019fb21 11214
0794775d
LM
112152011-07-16 Lawrence Mitchell <wence@gmx.li>
11216
11217 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11218 method if slot is read-only (bug#9035).
11219
be39b8cc
MR
112202011-07-16 Martin Rudalics <rudalics@gmx.at>
11221
b796c9b7 11222 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11223 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11224 selected before, see discussion of (Bug#8615), (Bug#6954).
11225 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11226
6ccf7859
GM
112272011-07-15 Glenn Morris <rgm@gnu.org>
11228
11229 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11230 Respect help-form.
6ccf7859 11231
87e86684
LM
112322011-07-09 Lawrence Mitchell <wence@gmx.li>
11233
11234 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11235 (gnutls-negotiate): Use it.
11236
d6066239
LMI
112372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11238
b796c9b7
SM
11239 * net/gnutls.el (gnutls-negotiate):
11240 Upcase `gnutls-algorithm-priority'.
d6066239 11241
bd23ebc0
GM
112422011-07-15 Glenn Morris <rgm@gnu.org>
11243
c65bca65
GM
11244 * jka-compr.el (jka-compr-verbose): Move from here...
11245 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11246 Add missing :version tag.
11247 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11248
478615cc
LMI
112492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11250
7b41decb
LMI
11251 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11252 (gnutls-negotiate): Use it.
11253
dbc44fcd
LMI
11254 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11255
06789f97
LMI
11256 * info.el (Info-beginning-of-buffer): New command.
11257 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11258 announcing `b' as the key (bug#8325).
ab896c37 11259 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11260
c39da690
LMI
11261 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11262
3aa5f34b
LMI
11263 * international/mule-cmds.el
11264 (describe-specified-language-support): Make the error message
11265 clearer (bug#8905).
11266
4bf0979f
LMI
11267 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11268
478615cc
LMI
11269 * isearch.el (isearch-barrier): Add a doc string, since it's
11270 mentioned in a function doc string (bug#8678).
11271
75c68aa1
MR
112722011-07-15 Martin Rudalics <rudalics@gmx.at>
11273
11274 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11275 buffer argument (Bug#9083) and self-identifying label argument.
11276
a7c33da2
GM
112772011-07-15 Glenn Morris <rgm@gnu.org>
11278
11279 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11280
2f5c6024
LMI
112812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11282
11283 * man.el (Man-fontify-manpage): Fix message when formatting the
11284 man page (bug#7929).
11285
0bb23927 112862011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11287
11288 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11289 argument LRM; if non-nil, append an invisible LRM character to the
11290 buffer name.
11291 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11292 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11293 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11294 paragraph direction.
cce4b0a7 11295
621ef9ab
LMI
112962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11297
d1583c48
LMI
11298 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11299 the man page name (bug#7929).
11300
6a57fb5f
LMI
11301 * image.el (put-image): Mention the `put-image' overlay property
11302 (bug#7834).
11303
d7956b14
LMI
11304 * scroll-bar.el (set-scroll-bar-mode): Mention that
11305 `scroll-bar-mode' lists the values (bug#7772).
11306
5b2d4a66
LMI
11307 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11308 command (bug#7729).
11309
7509a874
LMI
11310 * rect.el (apply-on-rectangle): Return the point after the last
11311 operation.
11312 (string-rectangle): Go to the point after the last operation
11313 (bug#7522).
11314
4fe74b19
LMI
11315 * printing.el (pr-toggle-region): Clarify the documentation
11316 slightly (bug#7493).
11317
b796c9b7
SM
11318 * time.el (display-time-update):
11319 Allow `display-time-mail-function' to return nil (bug#7158).
11320 Fix suggested by Detlev Zundel.
ab283561 11321
fc233c9d
LMI
11322 * vc/diff.el (diff): Clarify the order the file names are read
11323 (bug#7111).
11324
43f5740b
LMI
11325 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11326 the doc string (bug#7015).
11327
f2182a76
LMI
11328 * font-lock.el (font-lock-maximum-decoration): Mention what
11329 numeric levels mean (bug#6935).
11330
621ef9ab
LMI
11331 * startup.el (initial-buffer-choice): Don't mention the `none'
11332 selection, which is against policy.
11333
adc47434
MR
113342011-07-14 Martin Rudalics <rudalics@gmx.at>
11335
b796c9b7
SM
11336 * window.el (display-buffer-normalize-special):
11337 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11338
7e5bfb8f
EZ
113392011-07-14 Eli Zaretskii <eliz@gnu.org>
11340
11341 * subr.el (version<, version<=, version=): Mention "-CVS" and
11342 "-12345" alpha version numbers.
11343
27fa387a
CY
113442011-07-14 Chong Yidong <cyd@stupidchicken.com>
11345
11346 * bindings.el: Add advertised binding for set-mark-command
11347 (Bug#5772).
11348
8bdfa064
CY
113492011-07-14 Chong Yidong <cyd@stupidchicken.com>
11350
11351 * bindings.el (mode-line-other-buffer):
11352 * bookmark.el (bookmark-bmenu-2-window):
11353 * bs.el (bs-cycle-next, bs-cycle-previous):
11354 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11355 switch-to-buffer.
11356
11357 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11358 Delete.
8bdfa064 11359
5eba16a3
JB
113602011-07-14 Juanma Barranquero <lekktu@gmail.com>
11361
11362 * follow.el (follow-debug-message, follow-redisplay):
11363 * jka-cmpr-hook.el (with-auto-compression-mode):
11364 Fix typos in docstrings.
11365
15853710
LMI
113662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11367
a28e4607
LMI
11368 * subr.el (with-silent-modifications): Clarify somewhat what the
11369 macro inhibits (bug#6525).
11370
15853710
LMI
11371 * simple.el (eval-expression): Note what it does if called
11372 interactively (bug#6495).
11373
bee0fcef
CY
113742011-07-13 Chong Yidong <cyd@stupidchicken.com>
11375
b796c9b7
SM
11376 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11377 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11378
11379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11380 Remove switch-to-buffer.
11381
58274504
LMI
113822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
bd2fcc8d
LMI
11384 * files.el (make-directory): Clarify that an error will be raised
11385 if there's an error (bug#6397).
11386
0f04b32c
LMI
11387 * startup.el (initial-buffer-choice): Add `none' as a choice
11388 (bug#6234).
11389
465c5fc8
LMI
11390 * subr.el (add-hook): Clarify section about buffer-local hooks
11391 (bug#6218).
11392
58274504
LMI
11393 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11394
bead9a43
JB
113952011-07-13 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * tabify.el (untabify): Preserve the current column so that point
11398 doesn't move (bug#6032).
11399
3af98a7b
LMI
114002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11401
b796c9b7
SM
11402 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11403 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11404
6240145a
GM
114052011-07-13 Glenn Morris <rgm@gnu.org>
11406
11407 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11408 (dired-insert-directory): Give a message the first time
11409 if ls is found not to support --dired.
11410
1d8c2ccc
LMI
114112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11412
11413 * simple.el (toggle-truncate-lines): Clarify what is toggled
11414 (bug#5580). Text by Drew Adams.
11415
5fc4038e
CY
114162011-07-13 Chong Yidong <cyd@stupidchicken.com>
11417
11418 * simple.el (blink-matching-open): Make the error message from the
11419 last change less verbose.
11420
bf6012e5
DN
114212011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11422
11423 * font-lock.el (font-lock-comment-face): Use the high contrast
11424 "yellow" color for font-lock-comment-face on low color terminals
11425 using a dark background color (bug#4221).
11426
343c3b5a
LMI
114272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11428
7e9505c5
LMI
11429 * dired.el (dired-insert-set-properties): Make the doc string
11430 reflect what it does now (bug#5325).
11431
c26fdcf5
LMI
11432 * simple.el (blink-matching-open): Say that we were unable to find
11433 the match within the limit, if we're limited (bug#5122).
11434
bb388cc5
LMI
11435 * international/mule-cmds.el (prefer-coding-system): Add an
11436 example (bug#4869).
11437
343c3b5a
LMI
11438 * progmodes/etags.el (tags-search): Document `file-list-form'
11439 (bug#4731).
11440
2a517d45
LM
114412011-07-13 Lawrence Mitchell <wence@gmx.li>
11442
11443 * net/browse-url.el (browse-url-default-browser)
11444 (browse-url-browser-function): Make the default browser choice a
11445 bit more logical (bug#4300). Also clean up the doc string.
11446
b6c78ef2
JB
114472011-07-13 Juanma Barranquero <lekktu@gmail.com>
11448
11449 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11450 binary endings (bug#4440).
11451
1c4dd947
LMI
114522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11453
a2014063
LMI
11454 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11455 which can be pretty annoying (bug#8971).
11456
9c9c2d88
LMI
11457 * jka-compr.el (jka-compr-verbose): New variable, and use
11458 throughout (bug#8971).
11459
1c4dd947
LMI
11460 * info.el (Info-find-file): Fall back on the installation
11461 directory if we can't find the info node anywhere else.
11462
a1c9f41b
SO
114632011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11464
11465 * vc/vc.el (vc-revert-file):
11466 Don't set file time-stamp in the past. (Bug#5181)
11467
536f3d36
LMI
114682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11469
7152b011
LMI
11470 * files.el (after-find-file): Give a better error message when
11471 trying to find a symlink that points to a file that doesn't exist
11472 (bug#4398).
11473
536f3d36
LMI
11474 * progmodes/cc-vars.el: Remove (probably) misleading comment
11475 (bug#4396).
11476
460c0fba
JB
114772011-07-12 Johan Bockgård <bojohan@gnu.org>
11478
11479 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11480
7a6bda45
CY
114812011-07-12 Chong Yidong <cyd@stupidchicken.com>
11482
11483 * mouse-sel.el: Hack restoring functionality, while keeping
11484 compatibility with 2010-07-03 changes to mouse selection.
11485 (mouse-sel-primary-overlay): New var.
11486 (mouse-sel-selection-alist): Use it.
11487 (mouse-sel-mode): Doc fix; remove points that are default features
11488 of mouse.el.
11489
c79598ef
JB
114902011-07-12 Johan Bockgård <bojohan@gnu.org>
11491
11492 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11493 Fix previous fix (bug#2490).
11494
ff8be6ef
RW
114952011-07-12 Roland Winkler <winkler@gnu.org>
11496
b796c9b7
SM
11497 * textmodes/bibtex.el (bibtex-initialize):
11498 Use pop-to-buffer-same-window.
ff8be6ef
RW
11499 (bibtex-search-entries): Fix interactive call.
11500
296ba3ee
LMI
115012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11502
f5242a02 11503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11504 Fontise bytecomp Error lines more correctly (bug#2490).
11505 Fix suggested by Johan Bockgård.
f5242a02 11506
296ba3ee
LMI
11507 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11508
11509 * dired-x.el (dired-guess-default): Use `delete-dups'.
11510
f69fd0d2
CY
115112011-07-12 Chong Yidong <cyd@stupidchicken.com>
11512
11513 * dired.el (dired-mark-prompt):
11514 * dired-aux.el (dired-read-shell-command): Doc fix.
11515
eab5dc07
LMI
115162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11517
b796c9b7
SM
11518 * mail/sendmail.el (sendmail-query-once):
11519 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11520 emacs -Q.
11521
11522 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11523
eab5dc07
LMI
11524 * cus-edit.el (custom-file): Take an optional no-error variable.
11525 (customize-save-variable): Set the variable, and give a warning if
11526 running under "emacs -q".
11527
a1e65d42
JB
115282011-07-11 Juanma Barranquero <lekktu@gmail.com>
11529
11530 * loadhist.el (unload-feature-special-hooks):
11531 Add `auto-coding-functions', `fill-nobreak-predicate' and
11532 `find-directory-functions' (bug#5327).
11533
1d52da10
LMI
115342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11535
be958f1d
LMI
11536 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11537
5bedb26c
LMI
11538 * cus-edit.el (custom-guess-name-alist): -alist variables should
11539 use the `alist' type (bug#3120). Suggested by Drew Adams.
11540
1d52da10
LMI
11541 * printing.el: Add documentation to all the `pr-toggle-' commands.
11542
cd394be1 115432011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11544
11545 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11546 backends where it makes sense (bug#2623).
11547
dcc88d8a
LMI
115482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549
c3de9feb
LMI
11550 * dired-x.el (dired-guess-default): Remove duplicate shell command
11551 entries (bug#2028).
8a93078b 11552 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11553 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11554
dcc88d8a
LMI
11555 * subr.el (remove-duplicates): New conveniency function.
11556
505e3645
LMI
115572011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11558
11559 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11560 (bug#1526).
11561
115622011-07-10 Martin Rudalics <rudalics@gmx.at>
11563
11564 * window.el (display-buffer-normalize-default): Don't invert
11565 meaning of even-window-heights. Reported by Eli Zaretskii
11566 <eliz@gnu.org>.
11567
455e4fa1
BR
115682011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11569
11570 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11571
8e0bc3e9
CY
115722011-07-10 Chong Yidong <cyd@stupidchicken.com>
11573
11574 * window.el (display-buffer): Fix arguments to
11575 display-buffer-reuse-window in last change.
11576
fa7c3228
CY
11577 * faces.el (link): Use a less saturated blue on light backgrounds.
11578
11579 * startup.el (fancy-startup-text, fancy-about-text)
11580 (fancy-startup-tail): Use font-lock faces, for background safety.
11581
c0a7f300
BN
115822011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11583
b796c9b7
SM
11584 * emulation/viper-cmd.el (viper-change-state-to-vi):
11585 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11586
4dc2a129
MR
115872011-07-09 Martin Rudalics <rudalics@gmx.at>
11588
11589 * window.el (display-buffer-default-specifiers): Remove.
11590 (display-buffer-macro-specifiers): Remove default specifiers.
11591 (display-buffer-alist): Default to nil.
b796c9b7 11592 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11593 (display-buffer-pop-up-window): Allow splitting internal
11594 windows. Check whether a live window was created.
11595 (display-buffer-other-window-means-other-frame)
11596 (display-buffer-normalize-arguments): Rename to
11597 display-buffer-normalize-argument and rewrite. Set the
11598 other-window specifier.
11599 (display-buffer-normalize-special): New function.
11600 (display-buffer-normalize-options): Rename to
11601 display-buffer-normalize-default and rewrite.
11602 (display-buffer-normalize-options-inhibit): Remove.
11603 (display-buffer-normalize-specifiers): Rewrite.
11604 (display-buffer): Process other-window specifier and call
11605 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11606 more faithfully.
b796c9b7 11607 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11608 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11609 (display-buffer-in-window, display-buffer-alist-set):
11610 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11611 <tassilo@member.fsf.org>.
11612
2d43b8c9
LL
116132011-07-09 Leo Liu <sdl.web@gmail.com>
11614
11615 * register.el (insert-register): Restore accidental change on
11616 2011-06-26. (Bug#9028)
11617
7f9b7c53
GM
116182011-07-09 Glenn Morris <rgm@gnu.org>
11619
11620 * subr.el (remq): Handle the empty list. (Bug#9024)
11621
f042cfd8
AS
116222011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11623
11624 * mail/sendmail.el (send-mail-function): No longer delay custom
11625 initialization.
11626 * custom.el (custom-initialize-delay): Doc fix.
11627
856b2f11
SM
116282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11631
afae1d68
MA
116322011-07-08 Michael Albinus <michael.albinus@gmx.de>
11633
11634 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11635 human-friendly prompt.
11636
0757af94
SM
116372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11640 provided by a particular plugin.
11641
d760b731
LMI
116422011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11643
11644 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11645 save customizations (with "emacs -Q"), just set the variable
11646 instead of erroring out.
11647
11648 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11649
cd79ce90
JL
116502011-07-08 Juri Linkov <juri@jurta.org>
11651
11652 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11653 (archive-zip-update-case): Use 7z if found by `executable-find'.
11654 The order of searching the available programs is the same as in
11655 `archive-zip-extract' (bug#8968).
11656
14cc04aa
CY
116572011-07-07 Chong Yidong <cyd@stupidchicken.com>
11658
11659 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11660 (menu-bar-options-menu): Tweak descriptions.
11661
0a1848ec
LMI
116622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11663
11664 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11665 menu items into verb phrases (bug#1421). Also refill to fit under
11666 80 columns.
11667
f5bd0689
CY
116682011-07-07 Chong Yidong <cyd@stupidchicken.com>
11669
538e85c6
CY
11670 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11671 (Info-read-node-name): Doc fix (Bug#1084).
11672
f5bd0689
CY
11673 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11674 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11675 (end-of-sexp, beginning-of-sexp)
11676 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11677 (forward-symbol, forward-same-syntax, word-at-point)
11678 (sentence-at-point): Doc fix (Bug#1144).
11679
56ec5115
LMI
116802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11681
f3f8e37f
LMI
11682 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11683 should cover it (bug#1281).
11684
0757af94 11685 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11686
e9fce1ac 11687 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11688 negotiation fails, then possibly try again with a non-encrypted
11689 connection (bug#9017).
11690
56ec5115
LMI
11691 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11692 be used.
11693
c2f9aec8
RS
116942011-07-07 Richard Stallman <rms@gnu.org>
11695
11696 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11697 property, and handle its changed format.
11698 Look for the correct line number.
11699 Use file's line contents (but not past first =) to find
11700 correct line in message.
11701
ef7b981d 117022011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11703
11704 * international/characters.el (build-unicode-category-table):
11705 Delete it.
0757af94 11706 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11707
0757af94 11708 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11709 to src/chartab.c.
11710 (get-char-code-property): Call unicode-property-table-internal to
11711 load a file. Call get-unicode-property-internal where necessary.
11712 (put-char-code-property): Call unicode-property-table-internal to
11713 load a file. Call put-unicode-property-internal where necessary.
11714 put-unicode-property-internal where necessary.
0757af94
SM
11715 (char-code-property-description):
11716 Call unicode-property-table-internal to load a file.
c805dec0
KH
11717
11718 * international/charprop.el:
11719 * international/uni-bidi.el:
11720 * international/uni-category.el:
11721 * international/uni-combining.el:
11722 * international/uni-comment.el:
11723 * international/uni-decimal.el:
11724 * international/uni-decomposition.el:
11725 * international/uni-digit.el:
11726 * international/uni-lowercase.el:
11727 * international/uni-mirrored.el:
11728 * international/uni-name.el:
11729 * international/uni-numeric.el:
11730 * international/uni-old-name.el:
11731 * international/uni-titlecase.el:
11732 * international/uni-uppercase.el: Regenerate.
11733
11734 * loadup.el: Load international/charprop.el before
11735 international/characters.
11736
e14b388a
CY
117372011-07-07 Chong Yidong <cyd@stupidchicken.com>
11738
11739 * window.el (next-buffer, previous-buffer): Signal an error if
11740 called from a minibuffer window.
11741
11742 * bindings.el: Revert 2011-07-04 change.
11743
354cf0ba
RS
117442011-07-06 Richard Stallman <rms@gnu.org>
11745
11746 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11747 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11748 Treat markers like ints.
11749 (rmail-mime-entity): Doc fix.
11750
a48868a7
LMI
117512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11752
4906cd3d
LMI
11753 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11754 defcustom again for backwards compatibility.
11755
e0457abe
LMI
11756 * simple.el (shell-command-on-region): Fill.
11757
d67f7e1f
LMI
11758 * dired-aux.el (dired-kill-line): Add a doc string.
11759
fe204702
LMI
11760 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11761 to "\\sw\\|\\s_" (bug#358).
11762
a48868a7
LMI
11763 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11764 (dired-unmark-backward): Ditto.
11765 (dired-flag-backup-files): Ditto.
11766
11767 * dired-x.el (dired-mark-sexp): Ditto.
11768
aa8a705c
RS
117692011-07-06 Richard Stallman <rms@gnu.org>
11770
11771 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11772 (rmail-mime-entity): New arg TRUNCATED.
11773 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11774 New functions.
11775 (rmail-mime-save): Warn if entity is truncated.
11776 (rmail-mime-toggle-hidden): Likewise, for showing.
11777 (rmail-mime-process-multipart): Record when an entity is truncated.
11778
a9a936b9
RS
11779 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11780 if ENTITY is a string.
11781
1f2b92cb
LMI
117822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11783
f4f73198 11784 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11785 of faces when `M-C-x'-ing their definitions (bug#8378).
11786 Also clean up the code slightly.
f4f73198 11787
12b16734 11788 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11789 because that makes the colors go away.
12b16734 11790
f0691d22
LMI
11791 * mail/sendmail.el (send-mail-function): Change the default to
11792 `sendmail-query-once'.
9e87df06 11793 (sendmail-query-once): Add an autoload cookie.
f0691d22 11794
1f2b92cb
LMI
11795 * net/network-stream.el (network-stream-open-starttls): Try using
11796 a plain connection even if the server offered STARTTLS, and we
11797 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11798 capability. This should make smtpmail.el work in slightly more
11799 configurations.
11800
1cdd2a1b
MA
118012011-07-06 Michael Albinus <michael.albinus@gmx.de>
11802
11803 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11804 New defun.
11805 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11806
fbcc67e2
MM
118072011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11808
11809 * progmodes/sql.el: Version 3.0
0757af94 11810 (sql-product-alist): Add product :completion-object,
fbcc67e2 11811 :completion-column, and :statement attributes.
0757af94 11812 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11813 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11814 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11815 ansi keywords.
11816 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11817 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11818 (sql-oracle-show-reserved-words): New function for development.
11819 (sql-product-font-lock): Simplify for source code buffers.
11820 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11821 New functions.
11822 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11823 (sql-mode-map): Add statement movement functions.
11824 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11825 New variable.
fbcc67e2
MM
11826 (sql-statement-regexp, sql-beginning-of-statement)
11827 (sql-end-of-statement, sql-signum): New functions.
0757af94 11828 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11829 (sql-show-sqli-buffer): Bug fix.
11830 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11831 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11832 with sql-interactive-mode.
11833 (sql-save-connection): Save buffer local settings.
0757af94 11834 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11835 (sql-product-interactive): Bug fix.
11836 (sql-preoutput-hold): New variable.
11837 (sql-interactive-remove-continuation-prompt): Bug fixes.
11838 (sql-debug-redirect): New variable.
11839 (sql-str-literal): New function.
11840 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11841 Redesign.
fbcc67e2
MM
11842 (sql-oracle-save-settings, sql-oracle-restore-settings)
11843 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11844 (sql-completion-object, sql-completion-column)
11845 (sql-completion-sqlbuf): New variables.
11846 (sql-build-completions-1, sql-build-completions)
11847 (sql-try-completion): New functions.
11848 (sql-read-table-name): Use them.
11849 (sql-contains-names): New buffer local variable.
11850 (sql-list-all, sql-list-table): Use it.
11851 (sql-oracle-completion-types): New variable.
11852 (sql-oracle-completion-object, sql-sqlite-completion-object)
11853 (sql-postgres-completion-object): New functions.
11854
d4eaeab1
GM
118552011-07-06 Glenn Morris <rgm@gnu.org>
11856
11857 * window.el (pop-to-buffer): Doc fix.
11858
322b7dab 118592011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11860
11861 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11862
322b7dab 118632011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11864
322b7dab 11865 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11866
322b7dab 11867 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11868
605dd5bf
CY
118692011-07-05 Chong Yidong <cyd@stupidchicken.com>
11870
11871 * button.el (button): Inherit from link face. Suggested by Dan
11872 Nicolaescu.
11873
7dbfa719
SM
118742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11875
3db614b0
SM
11876 * progmodes/gdb-mi.el: Fit in 80 columns.
11877 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11878 switch-to-buffer.
11879
7dbfa719
SM
11880 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11881 if imenu is simply not configured (bug#8941).
11882
919d884a
KM
118832011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11884
11885 * allout.el (allout-post-undo-hook): New allout outline-change
11886 event hook to signal undo activity.
11887 (allout-post-command-business): Run allout-post-undo-hook if an
11888 undo just occurred.
7dbfa719
SM
11889 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11890 * allout-widgets.el (allout-widgets-after-undo-function):
11891 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11892 in the vicinity of an undo.
11893 (allout-widgets-mode): Include allout-widgets-after-undo-function
11894 on the new allout-post-undo-hook.
11895
450a0f09
SM
118962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11899 Let define-derived-mode define it.
11900 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11901 cycles of abbrev-table inheritance (bug#8998).
11902
2de69e00
RW
119032011-07-05 Roland Winkler <winkler@gnu.org>
11904
11905 * textmodes/bibtex.el: Add support for biblatex.
11906 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11907 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11908 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11909 (bibtex-entry-alist, bibtex-field-alist): New variables.
11910 (bibtex-entry-field-alist): Obsolete alias for
11911 bibtex-BibTeX-entry-alist.
11912 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11913 (bibtex-set-dialect): New command.
11914 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11915 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11916 Bind via bibtex-set-dialect.
2de69e00
RW
11917 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11918 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11919 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11920 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11921 Define via bibtex-set-dialect.
450a0f09
SM
11922 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11923 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11924 (bibtex-vec-push, bibtex-vec-incr): New functions.
11925 (bibtex-format-entry, bibtex-field-list)
11926 (bibtex-print-help-message, bibtex-validate)
11927 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11928
2dcdbdd9
SM
119292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * progmodes/compile.el (compilation-goto-locus):
11932 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11933 * bs.el (bs-cycle-next, bs-cycle-previous):
11934 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11935 * bindings.el (mode-line-other-buffer):
11936 * autoinsert.el (auto-insert):
11937 * arc-mode.el (archive-extract):
11938 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11939
b27640fe
JB
119402011-07-05 Juanma Barranquero <lekktu@gmail.com>
11941
11942 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11943 Fix check of `emacs-lock-unlockable-modes'.
11944 Coerce true values of `emacs-lock--try-unlocking' to t.
11945
53bbe3ad
JB
119462011-07-05 Juanma Barranquero <lekktu@gmail.com>
11947
11948 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11949 * emacs-lock.el: New file.
11950
1d3cdbc7
JD
119512011-07-05 Julien Danjou <julien@danjou.info>
11952
11953 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11954 than `boundp' to check if face is set.
11955
9173deec
JB
119562011-07-05 Juanma Barranquero <lekktu@gmail.com>
11957
11958 * register.el (registerv-make):
11959 * window.el (window-min-height): Fix typos in docstrings.
11960
869795d6
JD
119612011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11962
9173deec 11963 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11964 Update doc string.
11965
b768cdcd
JB
119662011-07-04 Juanma Barranquero <lekktu@gmail.com>
11967
11968 * server.el (server-execute): Catch quit and call
11969 `server-return-error' to pass the error back to emacsclient and
11970 close the connection (bug#8942).
11971
13aa217b
KM
119722011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11973
11974 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11975 insecure exception for current topic. Also note that auto-saves
11976 are handled differently.
11977
5d3385a0 11978 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11979 State variables for tracking auto-save inhibition situation.
11980
11981 (allout-write-contents-hook-handler): Rename from
11982 'allout-write-file-hook-handler', and describe how it depends on
11983 write-contents-functions sensitivity to non-nil value to prevent
11984 file write.
11985
11986 (allout-auto-save-hook-handler): Remove. auto-save does not check
11987 this in individual buffers, only in the starting buffer, so this
11988 is not the right way for us to inhibit auto-save in a buffer
11989 according to its condition.
11990
11991 (allout-mode): Use new allout-write-contents-hook-handler, and
11992 only with write-contents-functions. Remove auto-save provisions -
11993 they're implemented elsewhere.
11994
11995 (allout-before-change-handler): If undo is in progress, note that
11996 for attention of allout-post-command-business.
11997
11998 (allout-post-command-business): If the command we're following was
11999 an undo, check for change in the status of encrypted items and
12000 adjust auto-save inhibitions accordingly.
12001
12002 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12003 according to whether there are or aren't any plain-text topics
12004 pending encryption.
12005
2dcdbdd9 12006 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12007 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12008 if there are plain-text topics pending encryption.
13aa217b
KM
12009
12010 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12011 buffer-saved-size and some allout state to not inhibit auto-saves
12012 if there are no longer any plain-text topics pending encryption.
12013
0757af94
SM
12014 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12015 No longer provide for exemption of the current topic.
13aa217b 12016
ac89b32c
JL
120172011-07-04 Juri Linkov <juri@jurta.org>
12018
12019 Add 7z operations to delete and save changed members (bug#8968).
12020 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12021 New defcustoms.
12022 (archive-7z-write-file-member): New function.
12023 (archive-7z-summarize): Fix the number of dashes in the
12024 listing output.
12025
8fa39615
SM
120262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12029 (bug#8958).
12030
2f11b3f1
CY
120312011-07-04 Chong Yidong <cyd@stupidchicken.com>
12032
d66fef2b
CY
12033 * bindings.el: Ignore next-buffer and previous-buffer in
12034 minibuffer-local-map.
12035
2f11b3f1
CY
12036 * font-lock.el (font-lock-builtin-face): Change light background
12037 color to dark slate blue (Bug#6693).
12038
f932a347
WD
120392011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12040
12041 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12042
c8af70e1
SM
120432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12044
12045 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12047 Add switch-to-buffer.
12048
f158badc
LMI
120492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12050
12051 * isearch.el (isearch-search-fun-function): Clarify further the
12052 meaning of the function returned.
12053
6d95bd46
MA
120542011-07-04 Michael Albinus <michael.albinus@gmx.de>
12055
12056 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12057
12058 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12059 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12060 Use it.
12061 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12062 `tramp-default-remote-path' does not exist.
12063 (tramp-send-command-and-read): New optional argument NOERROR.
12064 (tramp-open-connection-setup-interactive-shell)
12065 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12066 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12067 (tramp-process-sentinel): Flush also process' connection property.
12068 (tramp-sh-handle-start-file-process): Do not set process
12069 sentinel. It is done now ...
12070 (tramp-maybe-open-connection): ... here. (Bug#8929)
12071
909e6b67
MK
120722011-07-04 MON KEY <monkey@sandpframing.com>
12073
12074 * play/animate.el (animate-string): Doc fixes and allow changing
12075 the buffer name (bug#5417).
12076
120772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12078
c8af70e1 12079 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12080
f34755dc
PE
120812011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12082
396cec72
PE
12083 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12084 This is simpler and helps future-proof the code.
12085 (timer-until): Use time-subtract and float-time.
08235028 12086 (timer--time-less-p): Use time-less-p.
f34755dc 12087
56e6cc31
JB
120882011-07-04 Juanma Barranquero <lekktu@gmail.com>
12089
3abb79e5
JB
12090 * type-break.el (timep): Use the value of `float-time' to avoid a
12091 byte-compiler warning.
12092
56e6cc31
JB
12093 * server.el (server-eval-and-print): Return any result, even nil.
12094
7b9430b4
PE
120952011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12096
12097 * type-break.el: Accept time formats that the builtins accept.
12098 (timep, type-break-time-difference): Accept any format that
12099 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12100 This is simpler and helps future-proof the code.
12101 (type-break-time-difference): Round rather than ignoring
12102 subseconds components.
12103
3034e9e7
LMI
121042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12105
12106 * info.el (Info-apropos-matches): Make non-interactive, since it
12107 doesn't seem to do anything useful as a command (bug#8829).
12108
1485f4c0
CY
121092011-07-03 Chong Yidong <cyd@stupidchicken.com>
12110
12111 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12112 Move from faces.el.
1485f4c0
CY
12113 (frame-default-terminal-background): New function.
12114
12115 * custom.el (custom-push-theme): Don't record faces in `changed'
12116 theme; this doesn't work correctly for per-frame face settings.
12117 (disable-theme): Use face-set-after-frame-default to reset faces.
12118 (custom--frame-color-default): New function.
12119
9fa3dd45
LMI
121202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12121
c8af70e1 12122 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12123 (bug#8769).
12124
6cbbc20c
KR
121252011-03-29 Kevin Ryde <user42@zip.com.au>
12126
12127 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12128 `perl-Test2' extend to match possible "fail #N" rep count
12129 (bug#8377).
12130
c7f98048
LMI
121312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12132
65676592
LMI
12133 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12134 `smtpmail-via-smtp' now returns the error instead of nil.
12135
c7f98048
LMI
12136 * isearch.el (isearch-search-fun-function): Clarify the doc string
12137 (bug#8101).
12138
56e6cc31 121392011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12140
12141 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12142 unnecessary spaces (bug#8987).
12143
2b216704
LMI
121442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12145
12146 * net/network-stream.el (open-network-stream): Use the
12147 :end-of-capability command thoughout.
12148
121492011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12150
12151 * net/network-stream.el (open-network-stream): Add the
12152 :end-of-capability command parameter, used by pop3.el.
12153
36adf6ce
LMI
121542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12155
1ca0da0e
LMI
12156 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12157
fc00f69c
LMI
12158 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12159 for list)" (bug#6475).
12160
28fd8759 12161 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12162 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12163 an error (bug#6297).
12164
0dd8b6da
LMI
12165 * man.el (Man-reference-regexp): Allow matching possible
12166 word-wrapped references (bug#6289).
12167
ce1438d6
LMI
12168 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12169 for consistency with the other vc buffers (bug#6197).
12170 (vc-checkin): Ditto.
12171
12172 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12173
36adf6ce
LMI
12174 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12175
e83cc1f7
LMI
121762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12177
8a20ca4c
LMI
12178 * custom.el (defcustom): Clarify that :set is only used in the
12179 Customize user interface (bug#6089).
12180
83319045
LMI
12181 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12182 associated with a file, refuse to run instead of erroring out
12183 (bug#6084).
12184
a8392169
LMI
12185 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12186 the doc string, since it appears that using `fill-column' always
12187 controls the width (bug#7845).
12188
e83cc1f7
LMI
12189 * simple.el (shell-command-on-region): Say where the error output
12190 went if `shell-command-default-error-buffer' is set (bug#6857).
12191
e47ca23b
KM
121922011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12193
12194 * allout.el (allout-yank-processing): Adjust cursor position for
12195 backwards-deleted space.
12196
12197 (allout-rebullet-heading): Register changes with
12198 allout-exposure-changed-hook, so the modified topic is properly
12199 decorated.
12200
5cf56143
LMI
122012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12202
08549772
LMI
12203 * minibuffer.el (completion-in-region): Document PREDICATE
12204 (bug#7136).
12205
48e96771
LMI
12206 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12207 of keyword/argument pairs (bug#6904).
12208
c8af70e1
SM
12209 * replace.el (multi-occur):
12210 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12211
e17d05e2
LMI
122122011-07-02 Drew Adams <drew.adams@oracle.com>
12213
12214 * dired.el (dired-mark-if): Make the message about whether it's
12215 marking or unmarking clearer (bug#8523).
12216
063b0e45
LMI
122172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12218
12219 * disp-table.el (display-table-print-array): New function.
12220 (describe-display-table): Use it to print the vectors more pretty
12221 (Bug#8859).
12222
28545e04
MR
122232011-07-02 Martin Rudalics <rudalics@gmx.at>
12224
12225 * window.el (window-state-get-1): Don't assign clone numbers.
12226 Add clone-of item to list of window parameters.
12227 (window-state-put-2): Don't process clone numbers.
12228 (display-buffer-alist): Fix doc-string.
12229
3349e122
SM
122302011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * subr.el (remq): Don't allocate if it's not needed.
12233 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12234 (keymap--merge-bindings): New functions.
12235 (keymap-canonicalize): Use them to refine the canonicalization.
12236 * minibuffer.el (minibuffer-local-completion-map)
12237 (minibuffer-local-must-match-map): Move initialization from C.
12238 (minibuffer-local-filename-completion-map): Move initialization from C;
12239 don't inherit from anything here.
12240 (minibuffer-local-filename-must-match-map): Make obsolete.
12241 (completing-read-default): Use make-composed-keymap to combine
12242 minibuffer-local-filename-completion-map with either
12243 minibuffer-local-must-match-map or
12244 minibuffer-local-filename-completion-map.
12245
d224ac83
GM
122462011-07-01 Glenn Morris <rgm@gnu.org>
12247
3de63bf8
GM
12248 * type-break.el (type-break-time-sum): Use dolist.
12249
d224ac83
GM
12250 * textmodes/flyspell.el (flyspell-word-search-backward):
12251 Replace CL function.
12252
1a1e3f32
SM
122532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12254
fe3f64d5
SM
12255 * mouse.el (mouse--strip-first-event): New function.
12256 (function-key-map): Use it to map fringe clicks to normal clicks
12257 by default.
12258
eb604e34
SM
12259 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12260 (vc-bzr-revision-completion-table): Add support for annotate and date.
12261
1a1e3f32
SM
12262 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12263 inherit from parent.
12264
5bd35902
LMI
122652011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12266
ace6c69c 12267 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12268 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12269
191e2bed
LMI
12270 * dired.el (dired-mode): Fix up the doc string as suggested by
12271 Drew Adams (bug#8817).
12272
5bd35902
LMI
12273 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12274 cookie, since the manual says that it should be possible to add
12275 this function to `find-file-hook' (bug#8709).
12276
eee8207a
TZ
122772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12278
12279 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12280 here. Noted Ted Zlatanov as the maintainer.
12281 (cfengine-common-settings, cfengine-common-syntax): New functions
12282 to set up common things between `cfengine-mode' and
12283 `cfengine3-mode'.
12284 (cfengine3-mode): New mode.
12285 (cfengine3-defuns cfengine3-defuns-regex
12286 (cfengine3-class-selector-regex cfengine3-category-regex)
12287 (cfengine3-vartypes cfengine3-font-lock-keywords)
12288 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12289 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12290
36b148cf
MA
122912011-07-01 Michael Albinus <michael.albinus@gmx.de>
12292
12293 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12294
12295 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12296
0bf4ba9a
MR
122972011-07-01 Martin Rudalics <rudalics@gmx.at>
12298
12299 * window.el (same-window-buffer-names, same-window-regexps)
12300 (same-window-p, special-display-frame-alist)
12301 (special-display-popup-frame, special-display-function)
12302 (special-display-buffer-names, special-display-regexps)
12303 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12304 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12305 (split-window-preferred-function, split-height-threshold)
12306 (split-width-threshold, even-window-heights)
12307 (display-buffer-mark-dedicated, window-splittable-p)
12308 (split-window-sensibly, window-safely-shrinkable-p):
12309 Un-obsolete.
12310 (display-buffer): Don't spread args with function specifier
12311 because special-display-popup-frame won't like it.
12312
35837f51
PE
123132011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12314
d0672f86
PE
12315 Time-stamp simplifications and fixes.
12316 These improve accuracy slightly, and future-proof the code
12317 against some potential changes to current-time format.
12318
b9444d97
PE
12319 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12320 by using time-since and float-time.
12321
0ef923dc
PE
12322 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12323 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12324 + NNN microseconds".
12325
2f81380d
PE
12326 * type-break.el (type-break-time-sum): Rewrite using time-add.
12327
845b5c3e
PE
12328 * play/hanoi.el (hanoi-current-time-float): Remove.
12329 All uses replaced by float-time.
12330
ee6f1be0
PE
12331 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12332 This yields a more-accurate answer.
12333 (rng-time-to-float): Remove; no longer needed.
12334
fe955043
PE
12335 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12336
5777162a
PE
12337 * calendar/timeclock.el (timeclock-seconds-to-time):
12338 Defalias to seconds-to-time, since they're the same thing.
12339
3103f8b6 12340 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12341 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12342 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12343
0e61a35f
SM
123442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * window.el (bury-buffer): Don't iconify the only frame.
12347 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12348 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12349
ddd63a1e
CY
123502011-07-01 Chong Yidong <cyd@stupidchicken.com>
12351
0e61a35f
SM
12352 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12353 Add mouse-yank-primary.
ddd63a1e 12354
055f4923
TZ
123552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12356
12357 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12358
6a2fb145
SM
123592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12362 (find-library-name): Use it to find relative load names when provided
12363 absolute file name (bug#8803).
12364
fd4983f2
LMI
123652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12366
887d14ad
LMI
12367 * textmodes/flyspell.el (flyspell-word): Consider words that
12368 differ only in case as potential doublons (bug#5687).
12369
c53dc7fc
LMI
12370 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12371 Remove two rather uninteresting debugging-like messages to make
12372 debbugs.el more silent.
12373
fd4983f2
LMI
12374 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12375 a password-like phrase.
12376
7a71b18d 123772011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12378
12379 * progmodes/cc-guess.el: New file.
12380
6a2fb145 12381 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12382
12383 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12384 derived from `c-basic-common-init'.
12385
12386 * progmodes/cc-mode.el (top-level): Require cc-guess.
12387 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12388
1fa280a3
LM
123892011-06-30 Lawrence Mitchell <wence@gmx.li>
12390
12391 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12392
e6597158
AM
123932011-06-30 Alan Mackenzie <acm@muc.de>
12394
1fa280a3
LM
12395 * progmodes/cc-engine.el (c-guess-continued-construct):
12396 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12397 lock is disabled. Name this case as "CASE G".
12398
68ba37fb
KM
123992011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12400
12401 * allout.el (allout-yank-processing): Fix injection of extra space
12402 between bullet and non-whitespace character in first topic when
12403 pasting, ensuring that the actual spacing in the pasted topic
12404 following the bullet char is preserved. This extra space was
12405 causing pasted encrypted topics to get a decrypted status even
12406 when the content was actually still encrypted. Now the decryption
12407 status from before the paste is preserved.
12408
12409 (allout-flag-region): Set all allout overlays so they evaporate
12410 when reduced to zero length (evanescent), to prevent overlay
12411 leakage.
12412
887a0b34
GM
124132011-06-30 Glenn Morris <rgm@gnu.org>
12414
94b9acce
GM
12415 * w32-fns.el (w32-charset-info-alist): Declare.
12416
1d9b46d4
GM
12417 * find-dired.el (find-grep-options): Simplify.
12418
cc232200
GM
12419 * term/ns-win.el (ns-set-resource): Declare.
12420
28e77c46
GM
12421 * ses.el (row, col): Declare dynamic variables honestly.
12422
887a0b34
GM
12423 * textmodes/reftex-parse.el (index-tags): Declare.
12424
658d8eb8
CY
124252011-06-30 Chong Yidong <cyd@stupidchicken.com>
12426
12427 * cus-edit.el (customize-push-and-save): New function.
12428
12429 * files.el (hack-local-variables-confirm): Use it.
12430
1fa280a3
LM
12431 * custom.el (load-theme): New arg NO-CONFIRM.
12432 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12433 (custom-enabled-themes): Doc fix.
12434
12435 * cus-theme.el (customize-create-theme)
12436 (custom-theme-merge-theme): Callers to load-theme changed.
12437
bb617717
LMI
124382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12439
d61bdd5d
LMI
12440 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12441 short URLs have at least one dot in them (bug #7614).
12442
bb617717
LMI
12443 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12444 nil, because using a pty is apparently too slow (bug #895).
12445
2f31f37a
LMI
124462011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12447
12448 * mail/sendmail.el (sendmail-query-once): New function.
12449 (sendmail-query-once-function): New variable.
12450
3076b24e
GM
124512011-06-29 Glenn Morris <rgm@gnu.org>
12452
faf2a174
GM
12453 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12454
3076b24e
GM
12455 * ses.el (top-level): Require cl when compiling.
12456 (ses-set-localvars): Fix error statement.
12457 Call it at compile time to silence a storm of warnings.
12458
5386012d
MR
124592011-06-29 Martin Rudalics <rudalics@gmx.at>
12460
12461 * window.el (normalize-live-buffer): Rename to
12462 window-normalize-buffer.
12463 (normalize-live-frame): Rename to window-normalize-frame.
12464 (normalize-any-window): Rename to window-normalize-any-window.
12465 (normalize-live-window): Rename to window-normalize-live-window.
12466 (make-window-atom): Rename to window-make-atom.
12467 (window-resize-reset): Rename to window--resize-reset.
12468 (window-resize-reset-1): Rename to window--resize-reset-1.
12469 (resize-mini-window): Rename to window--resize-mini-window.
12470 (resize-subwindows-skip-p): Rename to
12471 window--resize-subwindows-skip-p.
12472 (resize-subwindows-normal): Rename to
12473 window--resize-subwindows-normal.
12474 (resize-subwindows): Rename to window--resize-subwindows.
12475 (resize-other-windows): Rename to window--resize-siblings.
12476 (resize-this-window): Rename to window--resize-this-window.
12477 (resize-root-window): Rename to window--resize-root-window.
12478 (resize-root-window-vertically): Rename to
12479 window--resize-root-window-vertically.
12480 (normalize-buffer-to-display): Rename to
12481 window-normalize-buffer-to-display.
12482 (normalize-buffer-to-switch-to): Rename to
12483 window-normalize-buffer-to-switch-to.
12484 Correspondingly update all callers of the functions listed
12485 above.
12486 (display-buffer-alist, display-buffer-normalize-arguments)
12487 (display-buffer-normalize-options, display-buffer)
12488 (display-buffer-alist-set): Use "function" instead of
12489 "fun-with-args".
12490
1176868d
CY
124912011-06-28 Chong Yidong <cyd@stupidchicken.com>
12492
12493 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12494 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12495 debbugs.gnu.org. Mention acknowledgment email.
12496
20a7a65f
LMI
124972011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12498
12499 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12500 buffer multibyteness, since it shouldn't matter.
12501
5f45cca5
MR
125022011-06-28 Martin Rudalics <rudalics@gmx.at>
12503
12504 * window.el (display-buffer-in-side-window): Handle dedicated
12505 windows as in display-buffer-reuse-window.
12506 (display-buffer-normalize-alist): Use value of override
12507 specifier.
12508 (display-buffer-normalize-specifiers): Use value of
12509 other-window-means-other-frame specifier.
12510 (display-buffer-alist): Rewrite some texts in widgets.
12511 (display-buffer): Spread arguments when calling function
12512 specified by fun-with-args.
12513
ad85fe1f
DD
125142011-06-28 Deniz Dogan <deniz@dogan.se>
12515
1fa280a3
LM
12516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12517 Unnest `let'.
da68c4c8 12518
ad85fe1f
DD
12519 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12520 selectors (Bug#5732).
ec49bd31 12521 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12522
a08cc025
JA
125232011-06-27 Jari Aalto <jari.aalto@cante.net>
12524
12525 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12526 (eshell-ls-date-format): New defcustom.
12527 (eshell-ls-file): Use it.
12528
e2b551c5
SM
125292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12530
12531 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12532
8982b231
KY
125332011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12534
12535 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12536 (ange-ftp-make-tmp-name): New arg.
12537 (ange-ftp-file-local-copy): Use it.
12538
36c9fa27
J
125392011-06-27 Jambunathan K <kjambunathan@gmail.com>
12540
12541 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12542 no-conversion (Bug#8870).
12543
d68443dc
MR
125442011-06-27 Martin Rudalics <rudalics@gmx.at>
12545
12546 * window.el (window-right, window-left, window-child)
12547 (window-child-count, window-last-child)
12548 (window-iso-combination-p, walk-window-tree-1)
12549 (window-atom-check-1, window-tree-1, delete-window)
12550 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12551 new naming conventions - window-vchild, window-hchild,
12552 window-next and window-prev are now called window-top-child,
12553 window-left-child, window-next-sibling and window-prev-sibling
12554 respectively.
d615d6d2
MR
12555 (resize-window-reset): Rename to window-resize-reset.
12556 (resize-window-reset-1): Rename to window-resize-reset-1.
12557 (resize-window): Rename to window-resize.
12558 (window-min-height, window-min-width)
12559 (resize-mini-window, resize-this-window, resize-root-window)
12560 (resize-root-window-vertically, adjust-window-trailing-edge)
12561 (enlarge-window, shrink-window, maximize-window)
12562 (minimize-window, delete-window, quit-restore-window)
12563 (split-window, balance-windows, balance-windows-area-adjust)
12564 (balance-windows-area, window-state-put-2)
12565 (display-buffer-even-window-sizes, display-buffer-set-height)
12566 (display-buffer-set-width, set-window-text-height)
12567 (fit-window-to-buffer): Rename all "resize-window" prefixed
12568 calls to use the "window-resize" prefix convention.
12569 (display-buffer-alist): Fix symbol for label specifier.
12570 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12571 corresponding specifier.
12572 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12573
b6458526
VB
125742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12575
12576 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12577 convention.
12578 (ses-call-printer): Does not pass an empty string to formatter when the
12579 cell is empty to keep from barking printer Calc math-format-value.
12580
d31fd9ac
RS
125812011-06-27 Richard Stallman <rms@gnu.org>
12582
43d5bf84
RS
12583 * battery.el (battery-mode-line-limit): New variable.
12584 (battery-update): Handle it.
12585
d31fd9ac
RS
12586 * mail/rmailmm.el (rmail-mime-process-multipart):
12587 Handle truncated messages.
12588
819a6054
GM
125892011-06-27 Glenn Morris <rgm@gnu.org>
12590
12591 * progmodes/flymake.el (flymake-err-line-patterns):
12592 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12593
cedc73f2
VB
125942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12595
819a6054 12596 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12597 (ses--clean-!, ses--clean-_): New functions.
12598 (ses-range): Add configurability of readout order, and conversion
12599 to Calc vector.
12600
5e5d49b6
VB
12601 * ses.el (ses-repair-cell-reference-all): New function.
12602 (ses-cell-symbol): Set macro as safe, so that it can be used in
12603 formulas.
12604
56e6cc31 12605 * ses.el: Update cycle detection algorithm.
90ca8b49 12606 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12607 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12608 (ses-set-localvars): New function.
12609 (ses-make-cell): Add property-list as a cell element.
12610 (ses-cell-property-get-fun, ses-cell-property-get)
12611 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12612 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12613 New functions.
90ca8b49
VB
12614 (ses-cell-property-set, ses-cell-property-pop)
12615 (ses-cell-property-get-handle): New macro.
12616 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12617 New aliases, used for code readability.
12618 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12619 cycle detection.
12620 (ses-self-reference-early-detection): New defcustom.
fac916bf 12621 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12622 (ses-mode): Use ses-set-localvars.
12623 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12624 before lauching the update processing.
12625 (ses-initialize-Dijkstra-attempt): New function.
12626 (ses-recalculate-cell): Update for cycle detection based on
12627 Dijkstra algorithm.
12628
2bb63e81
VB
12629 * ses.el: Fix commenting and indenting convention.
12630
c9d29fb8
SM
126312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 * bs.el (bs-cycle-next): Complete last change.
12634
d8e4b68b
JB
126352011-06-27 Drew Adams <drew.adams@oracle.com>
12636
12637 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12638
40098786
LMI
126392011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12640
c9d29fb8
SM
12641 * net/network-stream.el (network-stream-open-starttls):
12642 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12643 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12644
40098786
LMI
12645 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12646 to binary to possibly avoid line encoding issues on Windows (among
12647 other things).
12648
468d09d4
LMI
126492011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12650
12651 * net/network-stream.el (open-network-stream): Return an :error
12652 saying what the problem was, if possible.
12653
12654 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12655 server.
12656
12657 * net/network-stream.el (network-stream-open-starttls): If we
12658 wanted to use STARTTLS, and the server offered it, but we weren't
12659 able to because we had no STARTTLS support, then close the connection.
12660 (open-network-stream): Return an :error element, if present.
12661
16f07dd7
CY
126622011-06-26 Chong Yidong <cyd@stupidchicken.com>
12663
88821ca0
CY
12664 * hl-line.el (hl-line-sticky-flag): Doc fix.
12665 (global-hl-line-sticky-flag): New option (Bug#8323).
12666 (global-hl-line-highlight): Obey it.
12667
16f07dd7
CY
12668 * vc/vc.el (vc-revert-show-diff): Default to t.
12669
6b5ccddf
KM
126702011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12671
c9d29fb8
SM
12672 * allout-widgets.el (allout-widgets-post-command-business):
12673 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12674 undecorated when an isearch is continued past, and isearch
12675 automatically collapses them. This leads to "widget leaks", where
12676 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12677 hidden widgets can slow down cursor travel, substantially.
12678 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12679 so we're doing without this nicety.
12680
12681 (allout-widgets-tally-string): Don't try to do a hash-table-count
12682 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12683 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12684 *Messages* when allout-widgets-maintain-tally is t.
12685
355f2e07
MR
126862011-06-26 Martin Rudalics <rudalics@gmx.at>
12687
12688 * window.el (display-buffer-normalize-argument): Rename to
12689 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12690 LABEL argument. Respect special-display-function when popping up
12691 a new frame. Fix code searching for a window showing the buffer
12692 on another frame.
c9d29fb8
SM
12693 (display-buffer-normalize-specifiers):
12694 Call display-buffer-normalize-arguments.
355f2e07
MR
12695 (display-buffer-in-window): Don't undedicate the window if its
12696 buffer remains the same.
12697 Reported by Drew Adams <drew.adams@oracle.com>.
12698 (display-buffer-alist): Add choice for same-window macro
12699 specfier.
12700 (display-buffer): Mention special meaning of LABEL argument in
12701 doc-string. Fix quoting. Don't pop up a new frame even as
12702 fallback.
12703
7ca8fc42
JB
127042011-06-26 Juanma Barranquero <lekktu@gmail.com>
12705
12706 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12707 avoid deleting the current window in some cases (bug#8911).
12708
bc312254
AS
127092011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12712 (Bug#8934)
12713
2db18f3f
LMI
127142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12715
c9d29fb8
SM
12716 * net/network-stream.el (network-stream-open-starttls):
12717 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12718 (network-stream-open-tls): Ditto.
12719
6302e0d3
LL
127202011-06-26 Leo Liu <sdl.web@gmail.com>
12721
12722 * register.el (registerv): New struct.
12723 (registerv-make): New function.
c9d29fb8
SM
12724 (jump-to-register, describe-register-1, insert-register):
12725 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12726 struct. (Bug#8415)
12727
5fdd4046
CY
127282011-06-26 Chong Yidong <cyd@stupidchicken.com>
12729
2afef60a
CY
12730 * vc/vc.el (vc-revert-show-diff): New defcustom.
12731 (vc-diff-internal): New arg specifying diff buffer.
12732 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12733 reuse an existing *vc-diff* buffer (Bug#8927).
12734
5fdd4046
CY
12735 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12736
e93db24a
GM
127372011-06-26 Glenn Morris <rgm@gnu.org>
12738
12739 * progmodes/f90.el (f90-critical-indent): New option.
12740 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12741 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12742 (f90-mode): Doc fix.
12743 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12744 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12745 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12746 (f90-match-end): Handle block, critical.
12747
eefff499
GM
127482011-06-25 Glenn Morris <rgm@gnu.org>
12749
f6ba4cc9
GM
12750 * calendar/diary-lib.el (diary-included-files): Doc fix.
12751 (diary-include-files): New function, extracted from
12752 diary-include-other-diary-files and diary-mark-included-diary-files.
12753 (diary-include-other-diary-files, diary-mark-included-diary-files):
12754 Just call diary-include-files.
12755 (diary-mark-entries): Reset diary-included-files on first call.
12756
16712304
GM
12757 * calendar/diary-lib.el (diary-mark-entries)
12758 (diary-mark-included-diary-files):
12759 Visit included diary-files in temp buffers.
12760
5d8e0d43
GM
12761 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12762 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12763 (f90-start-block-re, f90-imenu-generic-expression)
12764 (f90-looking-at-program-block-start, f90-no-block-limit):
12765 Add support for submodules.
12766
ccf7a5d5
GM
12767 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12768 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12769
11fdef7d 127702011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12771
12772 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12773 buffer-file-type before setting its value, to avoid disastrous
eefff499 12774 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12775
74f53697
JB
127762011-06-25 Juanma Barranquero <lekktu@gmail.com>
12777
12778 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12779
12780 * ses.el (ses-unload-function):
12781 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12782
12783 * proced.el (proced-unload-function):
12784 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12785
18a4ce5e
AR
127862011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12787
12788 * server.el (server-create-window-system-frame): Add parameters arg.
12789 (server-process-filter): Doc fix. Handle frame-parameters.
12790
519d22cc
JB
127912011-06-25 Juanma Barranquero <lekktu@gmail.com>
12792
12793 Fix bug#8730, bug#8781.
12794
12795 * loadhist.el (unload--set-major-mode): New function.
12796 (unload-feature): Use it.
12797
12798 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12799 (python-unload-function): New function.
12800
c206f5b0
SM
128012011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12804
f9ad64f3
GS
128052011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12806
12807 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12808 the candidates list.
12809
7d0da90e
JB
128102011-06-24 Juanma Barranquero <lekktu@gmail.com>
12811
12812 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12813
14b4e83d
RS
128142011-06-23 Richard Stallman <rms@gnu.org>
12815
12816 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12817 (rmail-variables): Set next-error-move-function.
12818 (rmail-what-message): Take argument POS.
12819 (rmail-next-error-move): New function.
12820
273d2baf
SM
128212011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12824 messages for adjacent non-terminals.
12825
56c2cc9a
RS
128262011-06-23 Richard Stallman <rms@gnu.org>
12827
12828 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12829 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12830 (rmail-start-mail): Don't specify use of rmail-mail-return;
12831 that's done by mail-bury now.
12832 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12833
d59eb518
MA
128342011-06-23 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12837 SIZE is a number.
12838
02cfc6d6
MR
128392011-06-23 Martin Rudalics <rudalics@gmx.at>
12840
12841 * window.el (get-lru-window, get-mru-window)
12842 (get-largest-window): Never return a minibuffer window.
12843 (display-buffer-pop-up-window): Fix a bug that could lead to
12844 reusing the minibuffer window.
12845 (display-buffer): Pass original specifier argument to
12846 display-buffer-function instead of the normalized one.
12847 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12848
4e323265
LL
128492011-06-22 Leo Liu <sdl.web@gmail.com>
12850
12851 * minibuffer.el (completing-read-function)
12852 (completing-read-default): Move from minibuf.c
12853
7a70468f
RS
128542011-06-22 Richard Stallman <rms@gnu.org>
12855
50718fc2
RS
12856 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12857 to Rmail even if not started by a special Rmail command.
12858
7a70468f
RS
12859 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12860 Copy the buffer currently showing just one message.
12861
297dde5a
RW
128622011-06-22 Roland Winkler <winkler@gnu.org>
12863
12864 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12865 (bibtex-clean-entry): First delete the old key so that a
12866 customized algorithm for generating the new key does not get
12867 confused by the old key.
12868 (bibtex-url): Obey regexp of first step.
12869 (bibtex-search-entries): Do not use add-to-list with local
12870 list-var.
12871
97bb1093
LMI
128722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12873
12874 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12875 stored a user name, then query for the password first, instead of
12876 waiting for SMTP to give an error message and the trying again.
12877
1c0f1a19
JD
128782011-06-22 Lawrence Mitchell <wence@gmx.li>
12879
12880 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12881 BUFFER in call-process.
12882
396f7c9d
LMI
128832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12884
12885 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12886 QUIT twice.
ddb7ffee
LMI
12887 (smtpmail-try-auth-methods): Require user name and password from
12888 auth-source.
396f7c9d 12889
8998d1b3
MR
128902011-06-22 Martin Rudalics <rudalics@gmx.at>
12891
12892 * window.el (display-buffer-default-specifiers)
12893 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12894 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12895 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12896
12897 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12898 (special-display-frame-alist, special-display-popup-frame):
12899 Remove duplicate declarations. These are now in window.el.
12900
4ea31e07
LMI
129012011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12902
c9d29fb8
SM
12903 * mail/smtpmail.el (smtpmail-via-smtp):
12904 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12905 server supports it. SMTP servers that support STARTTLS commonly
12906 require it.
12907
12908 * net/network-stream.el (network-stream-open-starttls): Support
12909 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12910 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12911
95f41d9a
LMI
12912 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12913 upgrades with `open-network-stream', and rely solely on
12914 auth-source for all credentials. Big changes throughout the file,
12915 but in particular:
c9d29fb8
SM
12916 (smtpmail-auth-credentials): Remove.
12917 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12918 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12919 MAIL FROM, too.
95f41d9a 12920
c9d29fb8
SM
12921 * net/network-stream.el (network-stream-open-starttls):
12922 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12923 STARTTLS.
12924 (auth-source): Require.
12925 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12926 (network-stream-certificate): Change cert-cert to cert and
12927 cert-key to key.
4ea31e07 12928
065ec2c7
MA
129292011-06-21 Michael Albinus <michael.albinus@gmx.de>
12930
12931 * net/tramp-cache.el (top): Don't load the persistency file when
12932 "emacs -Q" has been called.
12933
cd93b359
DR
129342011-06-21 Tim Harper <timcharper@gmail.com>
12935
d8e4b68b
JB
12936 * term/ns-win.el (ns-initialize-window-system):
12937 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12938 resource to NO as it is not yet supported by the NS port.
12939
ae9c0411
JB
129402011-06-21 Juanma Barranquero <lekktu@gmail.com>
12941
12942 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12943 (list-dynamic-libraries): ...not here.
12944
7f3f739f
LL
129452011-06-21 Leo Liu <sdl.web@gmail.com>
12946
12947 * subr.el (sha1): Implement sha1 using secure-hash.
12948
327c8fb1
MR
129492011-06-21 Martin Rudalics <rudalics@gmx.at>
12950
12951 * window.el (display-buffer-alist): In default value do not
12952 enforce searching a window on any but the selected frame.
12953 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12954 (display-buffer-select-window): Remove function.
12955 (display-buffer-in-window): When a window on another frame gets
12956 reused, do not select it any more but just raise its frame if
12957 necessary (Bug#8851) and (Bug#8856).
12958 (display-buffer-normalize-options): Handle pop-up-frames related
12959 options more faithfully.
12960 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12961 window if it is on another frame.
c9d29fb8
SM
12962 (display-buffer-alist, display-buffer-default-specifiers):
12963 Don't make new frame unsplittable by default.
9e9de014
MR
12964 (display-buffer-normalize-argument): Fix doc-string typo and use
12965 'same-frame-other-window instead of 'other-window when associating
12966 with display-buffer-macro-specifiers.
327c8fb1 12967
7cf3f556
VB
129682011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12969
12970 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12971 New functions.
12972 (5x5-mode-map, 5x5-mode-menu): Bind them.
12973 (5x5-draw-grid): Tweak the solver's rendering.
12974
60a406cf
SM
129752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12978 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12979
d8e4b68b 129802011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12981
12982 * menu-bar.el: Use function variable instead of switch-to-buffer.
12983 (menu-bar-select-buffer-function): New variable.
60a406cf 12984 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12985
478d6f95
SM
129862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12989 variable's status.
12990
ca530739
JD
129912011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12992
12993 * x-dnd.el (x-dnd-version-from-flags)
12994 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12995 and long as number (Bug#8899).
12996 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12997
bcd70d97
SM
129982011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12999
60a406cf 13000 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13001 (completion-try-completion, completion-all-completions): Compute the
13002 metadata argument if it's missing; make it optional (bug#8795).
13003
60a406cf 13004 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13005 (widget-complete): Use new :completion-function property.
13006 (widget-completions-at-point): New function.
13007 (default): Use :completion-function instead of :complete.
60a406cf
SM
13008 (widget-default-completions): Rename from widget-default-complete;
13009 Rewrite.
bcd70d97
SM
13010 (widget-string-complete, widget-file-complete, widget-color-complete):
13011 Remove functions.
13012 (file, symbol, function, variable, coding-system, color):
13013 * international/mule-cmds.el (default-input-method, charset)
13014 (language-info-custom-alist):
13015 * cus-edit.el (face): Use new property :completions.
13016
13017 * progmodes/pascal.el (pascal-completions-at-point): New function.
13018 (pascal-mode): Use it.
13019 (pascal-mode-map): Use completion-at-point.
13020 (pascal-toggle-completions): Make obsolete.
13021 (pascal-complete-word, pascal-show-completions):
13022 * progmodes/octave-mod.el (octave-complete-symbol):
13023 Redefine as obsolete alias.
13024 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13025 Signal absence of completion info for old Octave,
13026 (inferior-octave-complete): Redefine as obsolete alias.
13027 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13028 (meta-completions-at-point): Rename from meta-complete-symbol and
13029 adapt it for use on completion-at-point-functions.
13030 (meta-common-mode): Use it.
13031 (meta-looking-at-backward, meta-match-buffer): Remove.
13032 (meta-complete-symbol): Redefine as obsolete alias.
13033 (meta-common-mode-map): Use completion-at-point.
13034 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13035 (makefile-mode-map): Use completion-at-point.
13036 (makefile-completions-at-point): Rename from makefile-complete and
13037 adapt it for use on completion-at-point-functions.
13038 (makefile-mode): Use it.
13039 (makefile-complete): Redefine as obsolete alias.
13040
aebf69c8
DD
130412011-06-20 Deniz Dogan <deniz@dogan.se>
13042
13043 * net/rcirc.el: Delete trailing whitespaces once and for all.
13044
bfbbb27d
DC
130452011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13046
13047 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13048
d264a46b
CY
130492011-06-19 Chong Yidong <cyd@stupidchicken.com>
13050
4ca009e5
CY
13051 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13052
d264a46b
CY
13053 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13054
fbf5b3ce
MR
130552011-06-19 Martin Rudalics <rudalics@gmx.at>
13056
13057 * window.el (display-buffer-other-window-means-other-frame):
13058 Call display-buffer-normalize-alist.
13059 (display-buffer-normalize-specifiers-1): Rename to
13060 display-buffer-normalize-argument. New argument other-frame.
13061 Rewrite.
13062 (display-buffer-normalize-specifiers-2): Rename to
13063 display-buffer-normalize-options.
13064 (display-buffer-normalize-alist-1): New function.
13065 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13066 display-buffer-normalize-alist.
13067 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13068 (display-buffer-normalize-options-inhibit): New variable.
13069 (display-buffer-normalize-specifiers): Rewrite calling
13070 display-buffer-normalize-alist,
13071 display-buffer-normalize-argument, and
13072 display-buffer-normalize-options. Don't call the latter if
13073 display-buffer-normalize-options-inhibit is non-nil.
13074 (frame-auto-delete): New option.
13075 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13076 (window-list-no-nils, window-state-ignored-parameters)
13077 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13078 (window-state-put-1, window-state-put-2, window-state-put):
13079 New functions.
9a028c23
MR
13080 (display-buffer-normalize-options): Move special-display-p group
13081 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13082
6d10d800
CY
130832011-06-18 Chong Yidong <cyd@stupidchicken.com>
13084
6420d28b
CY
13085 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13086 groups (Bug#8776).
13087 (rx-submatch-n): New function.
13088 (rx): Document it.
13089
ddb8b596
CY
13090 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13091 (Bug#8768).
13092
13093 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13094
77080289
CY
13095 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13096
61dfb316
CY
13097 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13098 anytime existing face settings are present (Bug#8889).
13099
6d10d800
CY
13100 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13101 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13102 Remove unused argument.
13103
be3fb2b8
MR
131042011-06-18 Martin Rudalics <rudalics@gmx.at>
13105
bcd70d97
SM
13106 * window.el (display-buffer-default-specifiers):
13107 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13108 pop-up-window-min-width, and another reuse-window specifier
13109 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13110 (display-buffer-normalize-specifiers-2):
13111 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13112 pop-up-windows is unset. Add a reuse-window specifier for the
13113 case popping up a new window fails.
13114 (special-display-popup-frame): Remove double quoting.
28dec25a 13115 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13116
1c6d8c76
SM
131172011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13118
13119 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13120 according to comint-completion-addsuffix.
13121
13122 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13123 (pcomplete-suffix-list): Mark as obsolete.
13124 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13125 pcomplete-seen in the closure.
13126 (pcomplete-comint-setup): Setup completion-at-point as well.
13127 (pcomplete--entries): New function.
13128 (pcomplete--env-regexp): New var.
13129 (pcomplete-entries): Rewrite to work with partial-completion and
13130 without relying on pcomplete-suffix-list.
13131 (pcomplete-pare-list): Remove, unused.
13132
25aef8b8
MR
131332011-06-17 Martin Rudalics <rudalics@gmx.at>
13134
13135 * window.el (display-buffer-alist): Set pop-up-window-min-height
13136 and pop-up-window-min-width in default value. Reported by
13137 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13138 other-window-means-other-frame.
13139 (display-buffer-macro-specifiers): Comment out entry for
13140 other-window specifier.
13141 (display-buffer-other-window-means-other-frame): New function.
13142 (display-buffer-normalize-specifiers-1): New arguments
13143 buffer-name and label. Treat other-window case specially.
13144 (display-buffer-normalize-specifiers-2): Treat other-window case
13145 specially.
13146 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13147 (display-buffer-normalize-specifiers):
13148 Call display-buffer-normalize-specifiers-3.
25aef8b8 13149
dbad4f69
MR
131502011-06-17 Martin Rudalics <rudalics@gmx.at>
13151
13152 * window.el (same-window-p): Fix two typos introduced when
13153 adding with-no-warnings.
d1067961
MR
13154 (display-buffer-normalize-specifiers-1): Don't check
13155 pop-up-frames for 'unset initialization.
13156 (display-buffer-normalize-specifiers-2): Major rewrite using
13157 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13158 (pop-up-frames, display-buffer-reuse-frames)
13159 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13160 Suggested by David Engster <deng@randomsample.de>.
13161 (even-window-heights): Initialize to 'unset.
13162 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13163 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13164 other window case.
dbad4f69 13165
9b9c9e3a
MR
131662011-06-16 Martin Rudalics <rudalics@gmx.at>
13167
bcd70d97
SM
13168 * window.el (display-buffer-normalize-specifiers-1):
13169 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13170 second argument of display-buffer (Bug#8865).
981d5c09
MR
13171 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13172 (switch-to-buffer-other-window-same-frame)
13173 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13174 Adams (Bug#8875).
9c2755e9
MR
13175 (display-buffer): Don't check noninteractive when calling
13176 display-buffer-pop-up-frame.
13177 (display-buffer-pop-up-frame): Never pop up a frame in
13178 noninteractive mode (Bug#8857).
67222e1d
MR
13179 (enlarge-window, shrink-window): Don't report an error when the
13180 window can't be resized as requested (Bug#8862).
9b9c9e3a 13181
2b75be67
SM
131822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13183
9ffdd3ba
SM
13184 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13185
cb581a67
SM
13186 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13187
2b75be67
SM
13188 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13189
8c0e3589
AM
131902011-06-15 Alan Mackenzie <acm@muc.de>
13191
cb581a67
SM
13192 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13193 for declarators, disable knr checking to speed up for normal files.
13194 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13195
b96e6cde
LMI
131962011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13197
4bba86e6
LMI
13198 * net/network-stream.el (open-network-stream): Add the keyword
13199 :always-query-capabilities for the case where you want to force a
13200 `plain' network connection, but the protocol still requires the
13201 capabilitiy command (i.e., SMTP and EHLO).
13202
2b75be67 13203 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13204 consistency with other `-live-p' functions.
13205
efdcdbf8
SM
132062011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * window.el (same-window-buffer-names, same-window-regexps)
13209 (special-display-frame-alist, special-display-popup-frame)
13210 (special-display-function, special-display-buffer-names)
13211 (special-display-regexps, pop-up-frame-alist)
13212 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13213 (pop-up-windows, split-window-preferred-function)
13214 (split-height-threshold, split-width-threshold, even-window-heights)
13215 (display-buffer-mark-dedicated): Don't encourage the use of
13216 display-buffer-alist from Elisp code.
13217
c5cde042
DN
132182011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13219
13220 * progmodes/python.el (python-mode): Derive from prog-mode.
13221 * progmodes/ps-mode.el (ps-mode):
13222 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13223 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13224 * progmodes/ld-script.el (ld-script-mode): Likewise.
13225
baa1c9ab
MR
132262011-06-15 Martin Rudalics <rudalics@gmx.at>
13227
13228 * window.el (display-buffer-alist): Trim default value to avoid
13229 popping up a new frame (Bug#8857) or reusing an arbitrary window
13230 on another frame.
13231 (display-buffer): Do not fall back on popping up a new frame in
13232 batch mode (Bug#8857).
13233
c5dd5a51
CY
132342011-06-14 Chong Yidong <cyd@stupidchicken.com>
13235
13236 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13237 (custom-theme-summary): New function.
13238 (customize-themes): Use it.
13239
d647b7c4
GM
132402011-06-13 Glenn Morris <rgm@gnu.org>
13241
13242 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13243
9481c002
MR
132442011-06-13 Martin Rudalics <rudalics@gmx.at>
13245
357f93d2
MR
13246 * help.el (help-window): Remove variable.
13247 (help-window-point-marker, temp-buffer-max-height)
13248 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13249 (help-print-return-message): Don't set help-window.
13250 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13251 (help-window-setup-finish): Remove.
13252 (help-window-display-message, help-window-setup)
13253 (with-help-window): Major rewrite based on new
13254 display-buffer-window variable.
13255
13256 * help-mode.el (help-mode-finish): Remove help-window related
13257 code.
13258
13259 * view.el (view-exits-all-viewing-windows): Remove reference to
13260 view-return-to-alist in doc-string.
13261 (view-return-to-alist): Make obsolete.
13262 (view-buffer): Call pop-to-buffer-same-window and remove
13263 undo-window code.
13264 (view-buffer-other-window): Call pop-to-buffer-other-window and
13265 simplify code. Ignore second argument.
13266 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13267 simplify code. Ignore second argument.
13268 (view-return-to-alist-update): Make obsolete.
13269 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13270 Rewrite using quit-restore window parameters.
2b75be67
SM
13271 (view-mode-exit): Rename second argument to EXIT-ONLY.
13272 Rewrite using quit-restore-window.
357f93d2
MR
13273 (View-exit, View-exit-and-edit, View-leave, View-quit)
13274 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13275 appropriate arguments.
13276 (view-end-message): Use quit-restore window parameter.
13277
9481c002
MR
13278 * window.el (display-buffer-function): Rewrite doc-string.
13279 (display-buffer-window, display-buffer-alist): New variables.
13280 (display-buffer-split-specifiers)
13281 (display-buffer-side-specifiers)
13282 (display-buffer-macro-specifiers): New constants.
13283 (display-buffer-even-window-sizes, display-buffer-set-height)
13284 (display-buffer-set-width, display-buffer-select-window)
13285 (display-buffer-in-window, display-buffer-reuse-window)
13286 (display-buffer-split-window-1, display-buffer-split-window)
13287 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13288 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13289 (display-buffer-in-side-window, normalize-buffer-to-display)
13290 (display-buffer-normalize-specifiers-1)
13291 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13292 (display-buffer-normalize-specifiers, display-buffer-frame):
13293 New functions.
9481c002
MR
13294 (display-buffer): Major rewrite.
13295 (display-buffer-other-window, display-buffer-other-frame)
13296 (pop-to-buffer, switch-to-buffer-other-window)
13297 (switch-to-buffer-other-frame): Rewrite.
13298 (display-buffer-same-window, display-buffer-same-frame)
13299 (display-buffer-same-frame-other-window)
13300 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13301 (pop-to-buffer-other-window)
13302 (pop-to-buffer-same-frame-other-window)
13303 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13304 (switch-to-buffer-other-window-same-frame): New functions.
13305 (same-window-p, special-display-p): Rewrite disabling warnings.
13306 Make obsolete.
13307 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13308 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13309 Make obsolete
13310 (same-window-buffer-names, same-window-regexps)
13311 (special-display-frame-alist, special-display-popup-frame)
13312 (special-display-function, special-display-buffer-names)
13313 (special-display-regexps, pop-up-frame-alist)
13314 (pop-up-frame-function, split-window-preferred-function)
13315 (split-height-threshold, split-width-threshold)
13316 (even-window-heights): Make obsolete.
13317
9db51aca
GM
133182011-06-12 Glenn Morris <rgm@gnu.org>
13319
13320 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13321 Misc simplifications.
9db51aca 13322
39cffb44
MR
133232011-06-12 Martin Rudalics <rudalics@gmx.at>
13324
13325 * window.el (window-safely-shrinkable-p): Restore function which
13326 was inadvertently removed in change from 2011-06-11. Declare as
13327 obsolete.
13328
2b75be67
SM
13329 * calendar/calendar.el (calendar-generate-window):
13330 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13331 window-safely-shrinkable-p.
13332
a8955be7
GM
133332011-06-12 Glenn Morris <rgm@gnu.org>
13334
13335 * progmodes/fortran.el (fortran-mode-syntax-table):
13336 * progmodes/f90.el (f90-mode-syntax-table):
13337 Set % to punctuation. (Bug#8820)
13338 (f90-find-tag-default): Remove, no longer needed.
13339
f0d4059d
DC
133402011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13341
13342 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13343
1100a63c
CY
133442011-06-11 Chong Yidong <cyd@stupidchicken.com>
13345
13346 * image.el (image-animated-p): Return animation delay in seconds.
13347 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13348 (image-animate-timeout): Remove DELAY argument. Don't assume
13349 every subimage has the same delay; get it from image-animated-p.
13350 (image-animate): Caller changed.
13351
def722bf
MA
133522011-06-11 Michael Albinus <michael.albinus@gmx.de>
13353
13354 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13355 to ignored backtrace functions.
13356
0a2bb1a9
GM
133572011-06-11 Glenn Morris <rgm@gnu.org>
13358
13359 * calendar/appt.el (appt-disp-window-function): Doc fix.
13360 (appt-check): Handle overlapping appointments. (Bug#8337)
13361
6198ccd0
MR
133622011-06-11 Martin Rudalics <rudalics@gmx.at>
13363
13364 * window.el (window-tree-1, window-tree): New functions, moving
13365 the latter to window.el.
13366 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13367 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13368 (bw-refresh-edges): Remove.
13369 (balance-windows-1, balance-windows-2): New functions.
13370 (balance-windows): Rewrite in terms of window tree functions,
13371 balance-windows-1 and balance-windows-2.
13372 (bw-adjust-window): Remove.
13373 (balance-windows-area-adjust): New function with functionality of
13374 bw-adjust-window but using resize-window.
2b75be67
SM
13375 (set-window-text-height): Rewrite doc-string.
13376 Use normalize-live-window and resize-window.
13377 (enlarge-window-horizontally, shrink-window-horizontally):
13378 Rename argument to DELTA.
6198ccd0
MR
13379 (window-buffer-height): New function.
13380 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13381 Rewrite using new window resize routines.
2b75be67
SM
13382 (kill-buffer-and-window, mouse-autoselect-window-select):
13383 Use ignore-errors instead of condition-case.
6198ccd0
MR
13384 (quit-window): Call delete-frame instead of delete-windows-on
13385 for the only buffer on frame.
13386
9397e56f
MR
133872011-06-10 Martin Rudalics <rudalics@gmx.at>
13388
13389 * loadup.el (top-level): Load window before files for the sake
13390 of replace-buffer-in-windows.
13391
13392 * files.el (read-buffer-to-switch)
13393 (switch-to-buffer-other-window)
2b75be67
SM
13394 (switch-to-buffer-other-frame, display-buffer-other-frame):
13395 Move to window.el.
9397e56f
MR
13396
13397 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13398 (previous-buffer): Move to window.el.
13399
13400 * bindings.el (unbury-buffer): Move to window.el.
13401
13402 * window.el (delete-other-windows-vertically): Move after
13403 definition of delete-other-windows.
13404 (other-window, delete-windows-on, replace-buffer-in-windows):
13405 Move here from window.c.
13406 (record-window-buffer, unrecord-window-buffer)
13407 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13408 (switch-to-next-buffer): New functions.
13409 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13410 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13411 (previous-buffer): Move here from simple.el.
13412 Call switch-to-prev-buffer.
9397e56f
MR
13413 (bury-buffer): Move here from buffer.c. Switch to previous
13414 buffer when window cannot be deleted.
13415 (unbury-buffer): Move here from bindings.el.
13416 (ctl-x-map): Move binding for other-window from window.c to
13417 here.
13418 (read-buffer-to-switch, switch-to-buffer-other-window)
13419 (switch-to-buffer-other-frame): Move here from files.el.
13420 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13421 (switch-to-buffer): Move here from buffer.c.
13422 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13423
562dd5e9
MR
134242011-06-10 Martin Rudalics <rudalics@gmx.at>
13425
13426 * window.el (window-min-height, window-min-width): Move here
13427 from window.c. Add defcustoms and rewrite doc-strings.
13428 (resize-mini-window, resize-window): New functions.
13429 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13430 Move here from window.c.
13431 (maximize-window, minimize-window): New functions.
13432 (delete-window, delete-other-windows, split-window): Move here
13433 from window.c.
13434 (window-split-min-size): New function.
13435 (split-window-keep-point): Mention split-window-above-each-other
13436 instead of split-window-vertically.
2b75be67 13437 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13438 Rename split-window-vertically to split-window-above-each-other
13439 and provide defalias for old definition.
13440 (split-window-side-by-side, split-window-horizontally):
13441 Rename split-window-horizontally to split-window-side-by-side
13442 and provide defalias for the old definition.
562dd5e9
MR
13443 (ctl-x-map): Move bindings for delete-window,
13444 delete-other-windows and enlarge-window here from window.c.
13445 Replace bindings for split-window-vertically and
13446 split-window-horizontally by bindings for
13447 split-window-above-each-other and split-window-side-by-side.
13448
13449 * cus-start.el (all): Remove entries for window-min-height and
13450 window-min-width. Add entries for window-splits and
13451 window-nest.
13452
f0da764a
GM
134532011-06-09 Glenn Morris <rgm@gnu.org>
13454
80675c21
GM
13455 * calendar/appt.el (appt-mode-line): New function.
13456 (appt-check, appt-disp-window): Use it.
13457
f0da764a
GM
13458 * files.el (hack-one-local-variable-eval-safep):
13459 Allow minor-modes with explicit +/-1 arguments.
13460
59f623b7
TZ
134612011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13462
13463 * term/xterm.el (xterm): Add defgroup.
13464 (xterm-extra-capabilities): Add defcustom to supply known xterm
13465 capabilities, skip querying them, or query them (default).
13466 (terminal-init-xterm): Use it.
13467 (terminal-init-xterm-modify-other-keys): New function to set up
13468 modifyOtherKeys support to simplify `terminal-init-xterm'.
13469
9aab8e0d
MR
134702011-06-09 Martin Rudalics <rudalics@gmx.at>
13471
13472 * window.el (resize-window-reset, resize-window-reset-1)
13473 (resize-subwindows-skip-p, resize-subwindows-normal)
13474 (resize-subwindows, resize-other-windows, resize-this-window)
13475 (resize-root-window, resize-root-window-vertically)
13476 (window-deletable-p, window-or-subwindow-p)
13477 (frame-root-window-p): New functions.
13478
e8b08aee
GM
134792011-06-09 Glenn Morris <rgm@gnu.org>
13480
13481 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13482 (ange-ftp-get-files): Use it.
13483
254c37a5
AK
134842011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13485
13486 * mail/sendmail.el (mail-recover-1, mail-recover):
13487 * files.el (recover-file, recover-session):
13488 Handle dired-listing-switches not being just a single short option.
13489
35d7dbd3
GM
134902011-06-09 Glenn Morris <rgm@gnu.org>
13491
13492 * calendar/appt.el (appt-display-message, appt-disp-window):
13493 Handle lists of appointments.
13494
387522b2
MR
134952011-06-08 Martin Rudalics <rudalics@gmx.at>
13496
2b75be67
SM
13497 * window.el (one-window-p): Move down in code.
13498 Rewrite doc-string.
13499 (window-current-scroll-bars): Rewrite doc-string.
13500 Normalize live window argument.
387522b2
MR
13501 (walk-windows, get-window-with-predicate, count-windows):
13502 Rewrite doc-string. Use window-list-1.
13503 (window-in-direction-2, window-in-direction, get-mru-window):
13504 New functions.
13505
d8e4b68b 135062011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13507
13508 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13509 Doc fix (Bug#8713).
13510
135112011-06-08 Chong Yidong <cyd@stupidchicken.com>
13512
13513 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13514
135152011-06-08 Juanma Barranquero <lekktu@gmail.com>
13516
13517 * loadhist.el (unload-feature-special-hooks):
13518 Add `comint-output-filter-functions'.
13519
0de12c52
IK
135202011-06-08 Ivan Kanis <gnu@kanis.fr>
13521
13522 * calendar/appt.el (appt-check): Move some initializations into the let.
13523
f3d1777e
MR
135242011-06-08 Martin Rudalics <rudalics@gmx.at>
13525
13526 * window.el (window-height): Defalias to window-total-height.
13527 (window-width): Defalias to window-body-width.
13528
18af70d0
CY
135292011-06-07 Chong Yidong <cyd@stupidchicken.com>
13530
13531 * image-mode.el (image-toggle-animation): New command.
13532 (image-mode-map): Bind it to RET.
13533 (image-mode): Update message.
13534 (image-toggle-display-image): Avoid a spurious cache flush.
13535 (image-transform-rotation): Doc fix.
13536 (image-transform-properties): Return quickly in the normal case.
13537 (image-animate-loop): Rename from image-animate-max-time.
13538
2b75be67 13539 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13540 (create-animated-image): Remove unnecessary function.
13541 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13542 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13543 (image-animate-timer): Use car-safe.
13544 (image-animate-timeout): Rename argument.
13545
190b47e6
MR
135462011-06-07 Martin Rudalics <rudalics@gmx.at>
13547
13548 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13549 window.c. Rename first argument to ALL-FRAMES.
13550 Rephrase doc-strings.
13551 (get-buffer-window-list): Rewrite using window-list-1.
13552 Rephrase doc-string.
a1511caf
MR
13553 (window-safe-min-height, window-safe-min-width): New constants.
13554 (window-size-ignore, window-min-size, window-min-size-1)
13555 (window-sizable, window-sizable-p, window-size-fixed-1)
13556 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13557 (window-max-delta-1, window-max-delta, window-resizable)
13558 (window-resizable-p, window-total-height, window-total-width)
13559 (window-body-width): New functions.
13560 (window-full-height-p, window-full-width-p): Rewrite using
13561 window-total-size.
13562 (window-body-height): Rewrite using window-body-size.
190b47e6 13563
85cc1f11
MR
135642011-06-06 Martin Rudalics <rudalics@gmx.at>
13565
13566 * window.el (window-right, window-left, window-child)
13567 (window-child-count, window-last-child, window-any-p)
13568 (normalize-live-buffer, normalize-live-frame)
13569 (normalize-any-window, normalize-live-window)
13570 (window-iso-combination-p, window-iso-combined-p)
13571 (window-iso-combinations)
13572 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13573 (windows-with-parameter, window-with-parameter)
13574 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13575 (window-atom-check, window-side-check, window-check):
13576 New functions.
85cc1f11
MR
13577 (ignore-window-parameters, window-sides, window-sides-vertical)
13578 (window-sides-slots): New variables.
13579 (window-size-fixed): Move down in code. Minor doc-string fix.
13580
e7156492
AS
135812011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13582
13583 * comint.el (comint-dynamic-complete-as-filename)
13584 (comint-dynamic-complete-filename): Correctly call
13585 completion-in-region.
13586
7e821d0d
DD
135872011-06-05 Deniz Dogan <deniz@dogan.se>
13588
13589 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13590 in last change.
13591
ac09b8a1
DD
135922011-06-05 Deniz Dogan <deniz@dogan.se>
13593
13594 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13595 (rcirc): Use it to prompt for encryption.
13596
34699b85
RW
135972011-06-05 Roland Winkler <winkler@gnu.org>
13598
13599 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13600 (bibtex-search-entries): New command bound to C-c C-a.
13601 (bibtex-display-entries): New function.
13602
004dedd3
RW
136032011-06-05 Roland Winkler <winkler@gnu.org>
13604
13605 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13606 (bibtex-insert-kill): After yanking insert newline if necessary.
13607 (bibtex-initialize): Call bibtex-string-files-init only once.
13608 (bibtex-mode): Do not call easy-menu-add.
13609 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13610 (bibtex-yank): Set arg properly if nil.
13611
022fe7ce
RW
136122011-06-05 Roland Winkler <winkler@gnu.org>
13613
2b75be67
SM
13614 * textmodes/bibtex.el (bibtex-search-entry-globally):
13615 New variable.
022fe7ce
RW
13616 (bibtex-search-entry): Use it.
13617
b7c3692a
RW
136182011-06-05 Roland Winkler <winkler@gnu.org>
13619
13620 * textmodes/bibtex.el (bibtex-entry-format): New option
13621 sort-fields.
13622 (bibtex-format-entry, bibtex-reformat): Honor this option.
13623 (bibtex-parse-entry): Return fields in proper order.
13624
8eda563d
JB
136252011-06-05 Juanma Barranquero <lekktu@gmail.com>
13626
13627 * doc-view.el (doc-view-remove-if): Move computation of result out
13628 of `dolist' to silence misleading lexical-binding warning.
13629
7dbe3dbc
CY
136302011-06-04 Chong Yidong <cyd@stupidchicken.com>
13631
13632 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13633 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13634
0c33dd17
MA
136352011-06-04 Michael Albinus <michael.albinus@gmx.de>
13636
13637 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13638 "SunOS 5.10".
13639
f8f91c2b
MA
136402011-06-04 Michael Albinus <michael.albinus@gmx.de>
13641
13642 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13643 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13644 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13645 (tramp-parse-putty):
13646 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13647 (tramp-completion-function-alist-ssh)
13648 (tramp-completion-function-alist-telnet)
13649 (tramp-completion-function-alist-su)
13650 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13651 cookie.
13652
13653 * net/tramp-ftp.el:
13654 * net/tramp-sh.el:
13655 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13656 load "tramp.el" `tramp-set-completion-function'.
13657
e17d9003
SM
136582011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * shell.el: Require and use pcomplete.
13661 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13662 (shell-completion-vars): Set pcomplete-default-completion-function.
13663
6c4cab03
DD
136642011-06-04 Deniz Dogan <deniz@dogan.se>
13665
13666 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13667 `memq' (Bug#8799).
13668
ea9fafe0
SM
136692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13672
b3e945d3
JB
136732011-06-02 Juanma Barranquero <lekktu@gmail.com>
13674
13675 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13676 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13677 * vc/log-view.el (log-view-beginning-of-defun):
13678 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13679 (smerge-refine-forward, smerge-refine-chopup-region):
13680 Silence warning for unused `dotimes' counter variables.
13681
7d520089
SM
136822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * net/tramp.el (tramp-with-progress-reporter): Rename from
13685 with-progress-reporter. Use `declare'.
13686 * net/tramp-smb.el:
13687 * net/tramp-sh.el:
13688 * net/tramp-gvfs.el: Update all uses.
13689
a1c2400f
JB
136902011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13691
13692 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13693 buffer isn't killed before making it current.
13694
2403c841
SM
136952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13696
13697 Silence various byte-compiler warnings.
13698 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13699 `access-type' and new obsolescence format.
13700 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13701 new format.
13702 (byte-compile-check-variable): New `access-type' argument.
13703 Only warn if the access-type is obsolete.
13704 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13705 (byte-compile-variable-set): Adjust callers.
13706 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13707 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13708 setting it as obsolete.
13709 * simple.el (minibuffer-completing-symbol):
13710 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13711 access as obsolete.
13712 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13713 obsolete yet.
13714 * international/quail.el (quail-mouse-choose-completion): Remove unused
13715 code referring to obsolete var.
13716 (quail-choose-completion-string): Remove.
13717 * server.el (server-clients-with, server-kill-buffer-query-function)
13718 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13719 * proced.el (proced-send-signal):
13720 * emacs-lisp/lisp.el (lisp-complete-symbol):
13721 Replace completion-annotate-function with completion-extra-properties.
13722
2462470b
SM
137232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13724
fb5b2591
SM
13725 * simple.el (goto-line): Use read-number.
13726 (overriding-map-is-bound): Remove.
13727 (saved-overriding-map): Change default.
13728 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13729 Take the map as argument.
13730 (universal-argument, negative-argument, digit-argument): Use it.
13731 (restore-overriding-map): Adjust.
13732 (do-auto-fill): Use fill-forward-paragraph.
13733 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13734
fd6fa53f
SM
13735 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13736 (minibuffer-inactive-mode): New major mode.
13737 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13738 the *Messages* buffer" hack.
13739 (mouse-popup-menubar): Don't burp if the event is a normal key.
13740
2462470b
SM
13741 Miscellaneous tweaks.
13742 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13743 lexical scoping as in subr.el's dolist and dotimes.
13744 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13745 Silence compiler warning.
13746 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13747 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13748 * international/ccl.el (ccl-compile): Trivial simplification.
13749 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13750 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13751 `printflag' argument.
13752 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13753 Purecopy the whole obsolescence data.
13754
108bf785
LL
137552011-06-01 Leo Liu <sdl.web@gmail.com>
13756
13757 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13758 improve doc-string as suggested by Marco Pessotto
13759 <melmothx@gmail.com>.
13760 (rcirc-print): Fix last change.
13761
30a23501
SM
137622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * minibuffer.el (complete-with-action): Return nil for the metadata and
13765 boundaries of non-functional tables.
13766 (completion-table-dynamic): Return nil for the metadata.
13767 (completion-table-with-terminator): Add default case, using
13768 complete-with-action.
13769 (completion--metadata): New function.
13770 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13771 to try and avoid pathological performance problems.
13772 (completion--embedded-envvar-table): Return `category' metadata.
13773
bcd54f83
LMI
137742011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13775
13776 * subr.el (process-alive-p): New tiny convenience function.
13777
e227544d
SM
137782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13779
13780 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13781 content but also its previous major mode.
13782
e8296fdc
HE
137832011-05-31 Helmut Eller <eller.helmut@gmail.com>
13784
4d61f28d 13785 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13786 *Backtrace* buffer when we exit with C-M-c.
13787
620c53a6
SM
137882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13789
13790 * minibuffer.el: Add metadata method to completion tables.
13791 (completion-category-overrides): New defcustom.
13792 (completion-metadata, completion--field-metadata)
13793 (completion-metadata-get, completion--styles)
13794 (completion--cycle-threshold): New functions.
13795 (completion-try-completion, completion-all-completions):
13796 Add `metadata' argument to choose completion-styles.
13797 (completion--do-completion): Use metadata to choose cycling.
13798 (completion-all-sorted-completions): Use metadata for sorting.
13799 Remove :completion-cycle-penalty which is not needed any more.
13800 (completion--try-word-completion): Add `metadata' argument.
13801 (minibuffer-completion-help): Check metadata for annotation function
13802 and sorting.
13803 (completion-file-name-table): Return `category' metadata.
13804 (minibuffer-completing-file-name): Make obsolete.
13805 * simple.el (minibuffer-completing-symbol): Make obsolete.
13806 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13807 completion-try-completion.
13808
1257e755
SM
138092011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13812
3767e706
LL
138132011-05-30 Leo Liu <sdl.web@gmail.com>
13814
13815 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13816 (rcirc-print): Decode all incoming messages (bug#8744).
13817 (rcirc-decode-coding-system): Allow value nil for automatic coding
13818 system detection.
3767e706 13819
d1a5d56a
GM
138202011-06-01 Glenn Morris <rgm@gnu.org>
13821
13822 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13823
e8cbec34
CY
138242011-05-29 Chong Yidong <cyd@stupidchicken.com>
13825
13826 * image.el (image-animate-max-time): Allow nil and t values.
13827 Default to nil.
13828 (create-animated-image): Doc fix.
13829 (image-animate-start): Remove second arg; just use
13830 image-animate-max-time.
13831 (image-animate-timeout): Doc fix. Args changed.
13832
13833 * image-mode.el (image-toggle-display-image): Ensure that the
13834 image spec passed to the animate timer is the same object as in
58179cce 13835 the buffer's display property (Bug#6981).
e8cbec34
CY
13836 (image-transform-properties): Doc fix.
13837
13838 * image.el (image-animate-max-time): Default to nil.
13839
159daf87
MR
138402011-05-29 Martin Rudalics <rudalics@gmx.at>
13841
13842 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13843 entire buffer list (Bug#8184).
13844
d66c4c7c
CY
138452011-05-29 Chong Yidong <cyd@stupidchicken.com>
13846
13847 * image.el (imagemagick-types-inhibit)
13848 (imagemagick-register-types): Doc fix.
13849
80aec780
DD
138502011-05-29 Deniz Dogan <deniz@dogan.se>
13851
13852 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13853 default.
13854
1dd3c2d9
CY
138552011-05-29 Chong Yidong <cyd@stupidchicken.com>
13856
13857 * select.el: Don't perform clipboard-manager saving in hooks;
13858 leave the hooks empty.
13859
60e56523
LL
138602011-05-28 Leo Liu <sdl.web@gmail.com>
13861
13862 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13863 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13864 (occur-edit-mode): New major mode (Bug#8463).
13865 (occur-after-change-function): New function.
13866 (occur-engine): Give Occur tags a read-only property.
13867
2b1e1a22
KR
138682011-05-28 Kevin Ryde <user42@zip.com.au>
13869
13870 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13871
5d344e88
CY
138722011-05-28 Chong Yidong <cyd@stupidchicken.com>
13873
8e6ca83d
CY
13874 * bindings.el (help-echo): Make the initial non-indicator dash
13875 empty on graphical terminals (Bug#7295).
13876
5d344e88
CY
13877 * files.el (auto-mode-alist): Move config rule after the
13878 in-stripping one (Bug#8547).
13879
bfbbace7
CY
13880 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13881
fbeba6e2
CY
13882 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13883 setting (Bug#8740).
13884
60ed8c72
AA
138852011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13886
4ac619f0
AA
13887 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13888 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13889 (Bug#8539).
60ed8c72 13890
23db196e
CY
138912011-05-28 Chong Yidong <cyd@stupidchicken.com>
13892
13893 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13894
5012f24c
DK
138952011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13896
13897 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13898 (hs-hide-block-at-point, hs-find-block-beginning)
13899 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13900 (Bug#8279).
13901
6a639b16
GM
139022011-05-28 Glenn Morris <rgm@gnu.org>
13903
13904 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13905
d43eaf2c
CY
139062011-05-28 Chong Yidong <cyd@stupidchicken.com>
13907
5199bde1
CY
13908 * help-fns.el (describe-function-1): If the function is a derived
13909 major mode, print the parent mode.
13910
d43eaf2c
CY
13911 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13912 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13913
423428a8
SM
139142011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13915
0ff8e1ba 13916 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13917 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13918 * progmodes/etags.el (tags-completion-at-point-function):
13919 * info-look.el (info-lookup-completions-at-point): Mark as
13920 non-exclusive.
13921 (info-complete): Adjust accordingly.
13922
423428a8
SM
13923 * info-look.el: Convert to lexical-binding and completion-at-point.
13924 (info-lookup-completions-at-point): New function.
13925 (info-complete): Use it and completion-in-region.
13926
b74aa22b
DA
139272011-05-28 Drew Adams <drew.adams@oracle.com>
13928
13929 * isearch.el: Let M-e start with point at the first mismatched char.
13930 (isearch-fail-pos): New function.
13931 (isearch-edit-string): Use it.
13932
66e2e71d
DK
139332011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13934
13935 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13936
b1890b0f 139372011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13938
13939 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13940 traversal functions for avl-trees.
13941 (avl-tree--stack): New struct.
13942 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13943 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13944 (avl-tree--do-enter): Add optional `updatefun' arg.
13945 Change return value.
eb95d01d 13946 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13947 (avl-tree--do-delete): Add `test' and `nilflag' args.
13948 Change return value.
eb95d01d
TC
13949 (avl-tree-member): Add optional `nilflag'
13950 (avl-tree-member-p): New function.
13951 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13952 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13953 (avl-tree-stack-empty-p): New functions.
13954
3769ddcf
TC
13955 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13956 avl-tree--del-balance1 and make it work both ways.
13957 (avl-tree--del-balance2): Remove.
13958 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13959 make it work both ways.
13960 (avl-tree--enter-balance2): Remove.
13961 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13962 New macros.
13963 (avl-tree--mapc, avl-tree-map): Add direction argument.
13964
eb95d01d 139652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13966
13967 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13968
a9f737ee
CY
139692011-05-27 Chong Yidong <cyd@stupidchicken.com>
13970
13971 * select.el: Support clipboard managers with built-in function
13972 x-clipboard-manager-save, via delete-frame-functions and
13973 kill-emacs-hook.
13974 (xselect-convert-to-targets): Add MULTIPLE target to list.
13975 (xselect-convert-to-save-targets): New function.
13976
c92a1e54
KH
139772011-05-27 Kenichi Handa <handa@m17n.org>
13978
13979 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13980 let-binding rfc2047-encode-encoded-words to nil.
13981
e145f188
GM
139822011-05-27 Glenn Morris <rgm@gnu.org>
13983
5ec8a862
GM
13984 * mail/emacsbug.el: Don't require url-util.
13985
4b29d9fb
GM
13986 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13987
e145f188
GM
13988 * files.el (set-auto-mode):
13989 Also respect mode: entries at the end of the file. (Bug#8586)
13990
7d15102b
GM
139912011-05-26 Glenn Morris <rgm@gnu.org>
13992
98f593b8
GM
13993 * files.el (hack-local-variables-prop-line, hack-local-variables):
13994 Downcase mode names, as seems to be traditional.
27b48e63 13995 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13996
7d15102b
GM
13997 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13998 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13999
51d5b4ec
JD
140002011-05-25 Julien Danjou <julien@danjou.info>
14001
14002 * textmodes/rst.el (rst-define-level-faces): Do not define face
14003 symbol if it is already defined.
14004
91513f63
VB
140052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14006
14007 * play/5x5.el (5x5-new-game, 5x5-randomize):
14008 Reset 5x5-solver-output to nil when a new grid is cast.
14009 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14010 these debugging traces, as defmacro breaks the compiled code.
14011
4d90d6d0
DK
140122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14013
14014 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14015
e1b90ef6
LL
140162011-05-24 Leo Liu <sdl.web@gmail.com>
14017
14018 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14019 (vc-bzr-sha1): Adapt.
14020
d8e4b68b 14021 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14022
14023 * bindings.el: Provide sha1 feature.
14024
db0406bb 140252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14026
14027 * mail/sendmail.el: Require `rfc2047'.
14028 (mail-insert-from-field): Do not perform RFC2047 encoding.
14029 (mail-encode-header): New function.
14030 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14031 buffer to the return value of select-message-coding-system.
14032 Call mail-encode-header.
b8d747b9
KH
14033
14034 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14035
db0406bb 140362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14037
4d90d6d0
DK
14038 * mail/supercite.el (sc-default-cite-frame):
14039 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14040
eb8a5e9b
GM
140412011-05-24 Glenn Morris <rgm@gnu.org>
14042
f8630703
GM
14043 * progmodes/python.el (brm-menu): Declare.
14044
8831bbed
GM
14045 * emulation/viper.el (viper-set-hooks): Declare.
14046
eb8a5e9b
GM
14047 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14048 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14049 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14050 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14051 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14052 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14053
a2a25d24
SM
140542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 Add an :exit-function for completion-at-point.
14057
14058 * minibuffer.el (completion--done): New fun.
14059 (completion--do-completion): Use it. New arg `expect-exact'.
14060 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14061 since completion--do-completion does it for us now.
14062 (minibuffer-force-complete): Use completion--done and
14063 completion--replace. Handle sole-completion case with more care.
14064 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14065 (completion-extra-properties): New var.
14066 (completion-annotate-function): Make obsolete.
14067 (minibuffer-completion-help): Adjust accordingly.
14068 Use completion-list-insert-choice-function.
14069 (completion-at-point, completion-help-at-point):
14070 Bind completion-extra-properties.
14071 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14072 * simple.el (completion-list-insert-choice-function): New var.
14073 (completion-setup-function): Preserve it.
14074 (choose-completion): Pay attention to it, shuffle the code a bit.
14075 (choose-completion-string): New arg `insert-function'.
14076
14077 * textmodes/bibtex.el: Convert to lexical binding.
14078 (bibtex-mode-map): Use completion-at-point.
14079 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14080 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14081 (bibtex-complete): Define as obsolete alias.
14082 (bibtex-complete-internal): Remove.
14083 (bibtex-format-entry): Remove unused sub-group in regexp.
14084 * shell.el (shell--command-completion-data)
14085 (shell-environment-variable-completion):
14086 * pcomplete.el (pcomplete-completions-at-point):
14087 * comint.el (comint--complete-file-name-data): Use :exit-function
14088 instead of completion-table-with-terminator so it also works for
14089 choose-completion.
14090
e44e373d
SM
140912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14092
4f91a816
SM
14093 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14094
782fc819
SM
14095 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14096 (bug#8710).
14097
e44e373d
SM
14098 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14099
381987c3
KM
141002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14101
14102 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14103 customization variable and implement: If non-nil, auto-fill will
14104 be inhibited while on topic's header line.
14105
b776bc70
VB
141062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14107
14108 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14109 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14110 always have a solution in grid size = 5 cases.
14111 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14112 (5x5-solver-output, 5x5-log-buffer): New vars.
14113 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14114 Make these variables buffer local to achieve 5x5 multi-session-ness.
14115 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14116 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14117 (5x5-solve-suggest): New funs.
14118 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14119 randomize a grid so that we ensure that there is always a solution.
14120 (5x5-make-random-grid): Allow other movement than flipping.
14121
7de88b6e
KR
141222011-05-23 Kevin Ryde <user42@zip.com.au>
14123
14124 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14125 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14126 advice and passes PREDICATE.
14127
b1ef1257
SM
141282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14129
bbca48fe
SM
14130 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14131 byte-compile-lambda if it's actually a lambda.
14132
b1ef1257
SM
14133 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14134 Fix function quoting. Use backquote better.
14135
92a9cc65
YS
141362011-05-22 Yuanle Song <sylecn@gmail.com>
14137
14138 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14139 matching (Bug#8516).
14140
f0fb8059
JA
141412011-01-22 Jari Aalto <jari.aalto@cante.net>
14142
14143 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14144 different face (Bug#8178).
14145
d5b44c93
CY
141462011-05-22 Chong Yidong <cyd@stupidchicken.com>
14147
14148 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14149 defface (Bug#8144).
14150
79106a44
SM
141512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14152
9c848d8a
SM
14153 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14154 funcall as well (bug#8712). Warn when performing those conversions.
14155 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14156
79106a44
SM
14157 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14158
88dfa756
GM
141592011-05-22 Glenn Morris <rgm@gnu.org>
14160
14161 * files.el (hack-local-variables-prop-line): Small simplifications.
14162 (hack-local-variables, hack-local-variables-prop-line):
14163 If MODE-ONLY, return the mode, rather than just `t'.
14164
b7cf2c79
SM
141652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14168
3f1a8558
GM
141692011-05-21 Glenn Morris <rgm@gnu.org>
14170
7e4ccca3
GM
14171 * files.el (hack-local-variables-prop-line, hack-local-variables):
14172 If only interested in the mode, don't bother doing the other stuff.
14173
637d46ca
GM
14174 * image-mode.el (image-after-revert-hook):
14175 Redraw all frames on which the image is visible. (Bug#8567)
14176
973d955b
GM
14177 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14178
3f1a8558
GM
14179 * wid-edit.el (widget-checklist-match-inline):
14180 Fix 2011-04-19 change. (Bug#8649)
14181
96479927
SM
141822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14183
1dcf791f
SM
14184 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14185 Also allow singlespace after single-letter capitals followed by a dot.
14186
96479927
SM
14187 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14188 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14189
35fd0881
N
141902011-05-20 Nix <nix@esperi.org.uk>
14191
14192 * files.el (basic-save-buffer-2):
14193 Fix handling of break-hardlink-on-save with non-existent files.
14194
82745640
DD
141952011-05-19 Deniz Dogan <deniz@dogan.se>
14196
14197 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14198 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14199
4a720484
GM
142002011-05-19 Glenn Morris <rgm@gnu.org>
14201
d1f21341
GM
14202 * progmodes/f90.el (f90-type-def-re):
14203 Handle "type, bind(c)". (Bug#8691)
14204
4a720484
GM
14205 * emacs-lisp/autoload.el (batch-update-autoloads):
14206 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14207
2fb0a219
MA
142082011-05-18 Michael Albinus <michael.albinus@gmx.de>
14209
14210 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14211 property for the correct connection in case of multihops.
14212
e565dd37
GM
142132011-05-18 Glenn Morris <rgm@gnu.org>
14214
c2571358 14215 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14216 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14217
e565dd37
GM
14218 Rationalize calendar handling of day and month abbrev-arrays.
14219 * calendar/calendar.el (calendar-customized-p): New function.
14220 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14221 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14222 Add :set function.
14223 (calendar-abbrev-length, calendar-day-abbrev-array)
14224 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14225 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14226 Elements may no longer be nil.
14227 (calendar-day-name, calendar-month-name):
14228 Update for changed nature of abbrev arrays.
14229 * calendar/diary-lib.el (diary-name-pattern):
14230 Update for changed nature of abbrev arrays.
14231 (diary-mark-entries-1): Update calendar-make-alist calls.
14232 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14233 * calendar/cal-html.el (cal-html-day-abbrev-array):
14234 Simply inherit from calendar-day-abbrev-array.
14235
1d99a745
SM
142362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14237
14238 * progmodes/grep.el (grep-mode): Disable default
14239 compilation-directory-matcher setting (bug#8684).
14240
7c1d9aa0
MA
142412011-05-17 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14244 instead of "head" and "tail". There were problems with SunOS 5.9,
14245 and it performs better.
14246
3952e9d8
GM
142472011-05-17 Glenn Morris <rgm@gnu.org>
14248
2dd12e7f
GM
14249 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14250
e4157b9c
GM
14251 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14252 Replace obsolete function.
14253
8e249bbd
GM
14254 * shell.el (pcomplete-parse-arguments-function): Declare.
14255
3952e9d8
GM
14256 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14257 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14258 (appt-check): Doc fixes.
14259 (appt-disp-window-function, appt-delete-window-function):
14260 Remove needless special case in custom :type.
14261 (appt-display-count): Default to 0, not nil.
14262 (appt-check): Reset appt-display-count to 0, not nil.
14263
c71a0d48 142642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14265
c71a0d48
GM
14266 * progmodes/python.el (python-font-lock-keywords):
14267 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14268
31d55be9
SM
142692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14270
14271 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14272
3bfacb2f
KR
142732011-05-16 Kevin Ryde <user42@zip.com.au>
14274
14275 * info-look.el (makefile-automake-mode): New setups, looking in
14276 automake manual, then makefile-mode.
14277 (makefile-mode): Remove automake manual, have it just in
14278 makefile-automake-mode since there's various things different or
14279 not relevant to plain make.
14280 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14281 believe a hypothetical automake-mode would go to makefile-mode,
14282 not the other way around.
14283
c8e83751
CY
142842011-05-15 Chong Yidong <cyd@stupidchicken.com>
14285
5e9e35cd
CY
14286 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14287 hunk-end tags (Bug#8672).
14288
c8e83751
CY
14289 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14290 vc-annotate-show-diff-revision-at-line (Bug#8671).
14291
50b23e5a
GM
142922011-05-14 Glenn Morris <rgm@gnu.org>
14293
7210a739
GM
14294 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14295 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14296 (change-log-font-lock-keywords): Also handle multiple author lines
14297 with leading tabs. (Bug#8644)
7210a739 14298
4691905a
GM
14299 * calendar/appt.el (appt-check): Rename some local variables.
14300 Some simplification/reordering.
14301
50b23e5a
GM
14302 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14303 (feedmail-sendmail-f-doesnt-sell-me-out)
14304 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14305 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14306 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14307 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14308 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14309 (feedmail-binmail-gnulinuxish-template):
14310 Rename from feedmail-binmail-linuxish-template.
14311 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14312 Use insert-buffer-substring.
14313
215cda7c
BC
143142011-05-14 Bill Carpenter <bill@carpenter.org>
14315
14316 * mail/feedmail.el (feedmail-patch-level): Increase.
14317 (feedmail-debug): New custom group.
14318 (feedmail-confirm-outgoing-timeout)
14319 (feedmail-sendmail-f-doesnt-sell-me-out)
14320 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14321 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14322 (feedmail-sender-line, feedmail-from-line)
14323 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14324 (feedmail-spray-this-address)
215cda7c
BC
14325 (feedmail-spray-address-fiddle-plex-list)
14326 (feedmail-queue-use-send-time-for-date)
14327 (feedmail-queue-use-send-time-for-message-id)
14328 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14329 (feedmail-buffer-eating-function):
14330 Doc fixes.
14331 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14332 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14333 (feedmail-message-action-scroll-down): New functions.
14334 (feedmail-queue-directory, feedmail-queue-draft-directory):
14335 Use expand-file-name.
14336 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14337 Remove C-v help entry.
14338 (feedmail-queue-buffer-file-name): New variable.
14339 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14340 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14341 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14342 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14343 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14344 (feedmail-message-action-toggle-spray)
14345 (feedmail-run-the-queue-no-prompts)
14346 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14347 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14348 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14349 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14350 (feedmail-envelope-deducer, feedmail-fiddle-from)
14351 (feedmail-fiddle-sender, feedmail-default-date-generator)
14352 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14353 (feedmail-fiddle-spray-address)
14354 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14355 (feedmail-fiddle-list-of-fiddle-plexes)
14356 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14357 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14358 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14359 Change default. Doc fix.
14360 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14361 (feedmail-binmail-linuxish-template): New constant.
14362 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14363 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14364 (feedmail-send-it): Add debug call.
14365 Use feedmail-queue-buffer-file-name, and
14366 feedmail-send-it-immediately-wrapper.
14367 (feedmail-message-action-send): Add debug call.
14368 Use feedmail-send-it-immediately-wrapper.
14369 (feedmail-queue-express-to-queue): Add debug call.
14370 Run feedmail-queue-express-hook.
14371 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14372 (feedmail-message-action-help-blat):
14373 Rename from feedmail-queue-send-edit-prompt-help-first.
14374 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14375 Check line-endings. Handle errors better.
14376 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14377 Doc fix. Add debug call.
14378 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14379 Use feedmail-queue-send-edit-prompt-inner.
14380 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14381 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14382 from feedmail-queue-send-edit-prompt.
14383 (feedmail-queue-send-edit-prompt-help)
14384 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14385 (feedmail-tidy-up-slug): Add debug call.
14386 Respect feedmail-queue-slug-suspect-regexp.
14387 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14388 (feedmail-dump-message-to-queue): Add debug call.
14389 Expand queue-directory.
14390 (feedmail-dump-message-to-queue): Change message slightly.
14391 Use feedmail-say-chatter.
14392 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14393 (feedmail-send-it-immediately-wrapper): New function.
14394 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14395 Insert empty string rather than newline. Handle full-frame case.
14396 Use catch/throw. Use feedmail-say-chatter.
14397 (feedmail-fiddle-from): Try mail-host-address.
14398 (feedmail-default-message-id-generator): Doc fix.
14399 Bind system-time-locale. Handle missing end.
14400 (feedmail-fiddle-x-mailer): Add debug call.
14401 Handle feedmail-x-mailer-line being nil.
14402 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14403 Add debug call. Use buffer-substring-no-properties.
14404 (feedmail-say-debug, feedmail-say-chatter): New functions.
14405 (feedmail-find-eoh): Give an explicit error.
14406
42c7e61e
UJ
144072011-05-13 Ulf Jasper <ulf.jasper@web.de>
14408
c2571358 14409 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14410 family from helvetica to sans.
c2571358 14411 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14412 etc/images/newsticker.
14413
c2571358 14414 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14415 family from helvetica to sans.
14416
14417 * net/newst-plainview.el (newsticker-new-item-face)
14418 (newsticker-old-item-face, newsticker-immortal-item-face)
14419 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14420 (newsticker-statistics-face): Change default family from
42c7e61e 14421 helvetica to sans.
c2571358 14422 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14423 etc/images/newsticker.
14424
5d3385a0
JB
14425 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14426 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14427 auto-marking.
14428
8497a297
DV
144292011-05-13 Didier Verna <didier@xemacs.org>
14430
14431 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14432 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14433 TODO entries.
8497a297
DV
14434 (lisp-lambda-list-keyword-parameter-indentation)
14435 (lisp-lambda-list-keyword-parameter-alignment)
14436 (lisp-lambda-list-keyword-alignment): New customizable user options.
14437 (lisp-indent-defun-method): Improve docstring.
14438 (extended-loop-p): Fix comment.
14439 (lisp-indent-lambda-list-keywords-regexp): New variable.
14440 (lisp-indent-lambda-list): New function.
14441 (lisp-indent-259): Use it.
14442 (lisp-indent-defmethod): Support for more than one
14443 method qualifier and properly indent methods lambda-lists.
14444 (defgeneric): Provide a missing common-lisp-indent-function property.
14445
f278f87f
SM
144462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14449 bounds for the empty string (bug#8667).
14450
5233edd7
GM
144512011-05-13 Glenn Morris <rgm@gnu.org>
14452
5237a44f
GM
14453 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14454
8340026c 14455 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14456 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14457
5233edd7 14458 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14459 (appt-time-msg-list): Doc fix.
a5464014 14460 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14461
92d10796
AS
144622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14463
14464 * progmodes/ld-script.el (ld-script-keywords)
14465 (ld-script-builtins): Update keywords list.
14466
914a0ae1
SM
144672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14468
c89be45f
SM
14469 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14470
914a0ae1
SM
14471 * shell.el (shell-completion-vars): New function.
14472 (shell-mode):
14473 * simple.el (read-shell-command): Use it.
14474 (blink-matching-open): No need for " [...]" in minibuffer-message.
14475
98dc3df3
GM
144762011-05-12 Glenn Morris <rgm@gnu.org>
14477
14478 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14479 (appt-check): Simplify.
14480
d2fc7e3d 144812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14482
4d61f28d 14483 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14484 literal "/dev/null".
14485
d2fc7e3d 144862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14487
14488 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14489 Fix typo.
14490
d2fc7e3d 144912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14492
3f254caa
SM
14493 * progmodes/which-func.el (which-function):
14494 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14495 which might not be defined (Bug#8260).
14496
d45885f7
GM
144972011-05-12 Glenn Morris <rgm@gnu.org>
14498
14499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14500 Let byte-compile-initial-macro-environment always take precedence.
14501
488086f4
SM
145022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14503
14504 * net/rcirc.el: Add support for SSL/TLS connections.
14505 (rcirc-server-alist): New field `encryption'.
14506 (rcirc): Check `encryption' settings.
14507 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14508 Merge make-local-variable into `set'.
14509 (rcirc--connection-open-p): New function.
14510 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14511 the process is not a network process (e.g. running gnutls-cli).
14512 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14513 Make rcirc-(en|de)code-coding-system local here.
14514 (rcirc-mode): Merge make-local-variable into `set'.
14515 (rcirc-parent-buffer): Make permanent buffer-local.
14516 (rcirc-multiline-minor-mode): Don't do it here.
14517 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14518 there's no server buffer.
14519
7d3b9d44
GM
145202011-05-11 Glenn Morris <rgm@gnu.org>
14521
f64049c6
GM
14522 * newcomment.el (comment-kill): Prefix "unused" local.
14523
93c9df73
GM
14524 * term/w32console.el (get-screen-color): Declare.
14525
7d3b9d44
GM
14526 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14527 Handle symbol elements of byte-compile-initial-macro-environment.
14528
9e2dd53f
LL
145292011-05-10 Leo Liu <sdl.web@gmail.com>
14530
488086f4
SM
14531 * bookmark.el (bookmark-bmenu-mode-map):
14532 Bind bookmark-bmenu-search to `/'.
8b340240 14533
9e2dd53f 14534 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14535 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14536 (Footnote-unicode): New function.
14537 (footnote-style-alist): Add unicode style to the list.
14538 (footnote-style): Doc fix.
9e2dd53f 14539
79b70037
GM
145402011-05-10 Jim Meyering <meyering@redhat.com>
14541
14542 Fix doubled-word typos.
14543 * international/quail.el (quail-insert-kbd-layout): and and -> and
14544 * kermit.el: and and -> and
14545 * net/ldap.el (ldap-search-internal): to to -> to
14546 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14547 * progmodes/js.el (js-mode): and and -> and
14548 * textmodes/artist.el (artist-move-to-xy): at at -> at
14549 (artist-draw-region-trim-line-endings): if if -> if
14550 And Safetyc -> Safety.
14551 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14552
b8f82dc1 145532011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14554 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14555
14556 * files.el (hack-one-local-variable-eval-safep):
14557 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14558
4f99f44b
GM
145592011-05-10 Glenn Morris <rgm@gnu.org>
14560
14561 * calendar/diary-lib.el (diary-list-entries-hook)
14562 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14563 (diary-nongregorian-marking-hook, diary-list-entries)
14564 (diary-include-other-diary-files, diary-mark-entries)
14565 (diary-mark-included-diary-files): Doc fixes.
14566
84f29e6b
JB
145672011-05-09 Juanma Barranquero <lekktu@gmail.com>
14568
14569 * misc.el: Require tabulated-list.el during compilation.
14570
9bedd73a
CY
145712011-05-09 Chong Yidong <cyd@stupidchicken.com>
14572
488086f4
SM
14573 * progmodes/compile.el (compilation-start):
14574 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14575 (compilation-filter-hook): Doc fix.
14576
797c735c
DD
145772011-05-09 Deniz Dogan <deniz@dogan.se>
14578
14579 * wdired.el: Remove outdated installation comment. Fix usage
14580 comment.
14581
5f4b1dfe
JB
145822011-05-09 Juanma Barranquero <lekktu@gmail.com>
14583
14584 * misc.el: Implement new command `list-dynamic-libraries'.
14585 (list-dynamic-libraries--loaded-only-p): New variable.
14586 (list-dynamic-libraries--refresh): New function.
14587 (list-dynamic-libraries): New command.
14588
4c44026c
CY
145892011-05-09 Chong Yidong <cyd@stupidchicken.com>
14590
488086f4
SM
14591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14592 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14593 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14594 higher priority to avoid clobbering by gnu.
14595
027f966d
CY
145962011-05-08 Chong Yidong <cyd@stupidchicken.com>
14597
14598 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14599 if the face has existing theme settings (Bug#8454).
14600
085f5d7d
CY
146012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14602
488086f4
SM
14603 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14604 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14605
2a86a00c
RS
14606 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14607 special file names `.' and `..' (Bug#8259).
14608
d9c54a06
CY
146092011-05-08 Chong Yidong <cyd@stupidchicken.com>
14610
488086f4
SM
14611 * progmodes/grep.el (grep-mode-font-lock-keywords):
14612 Remove buffer-changing entries.
d9c54a06
CY
14613 (grep-filter): New function.
14614 (grep-mode): Add it to compilation-filter-hook.
14615
14616 * progmodes/compile.el (compilation-filter-hook)
14617 (compilation-filter-start): New defvars.
14618 (compilation-filter): Call compilation-filter-hook prior to
14619 updating the process mark.
14620
c4662635
SM
146212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14624
b0512a1d
EZ
146252011-05-07 Eli Zaretskii <eliz@gnu.org>
14626
605c9376
EZ
14627 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14628 mailclient-send-it even if window-system is nil. (Bug#8595)
14629
c4662635
SM
14630 * term/w32console.el (terminal-init-w32console):
14631 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14632 background-mode. (Bug#8597)
14633
d1dc2cc2
SM
146342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14637 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14638 New functions.
14639 (defgeneric, eieio--defmethod): Use them.
14640 (eieio-defgeneric): Remove.
14641 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14642
915d1300
GM
146432011-05-07 Glenn Morris <rgm@gnu.org>
14644
a3961c3e
GM
14645 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14646 Use let rather than let*.
14647 (timeclock-find-discrep): Remove unused local.
14648
314347b9
GM
14649 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14650
915d1300
GM
14651 * calendar/appt.el (appt-time-msg-list): Doc fix.
14652
275b59b0
NF
146532011-05-06 Noah Friedman <friedman@splode.com>
14654
14655 * apropos.el (apropos-print-doc): Only use
14656 emacs-lisp-docstring-fill-column when it is bound to an integer,
14657 per that variable's documentation.
14658
6c19f744
SM
146592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14662 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14663
60f884b2
GM
146642011-05-06 Glenn Morris <rgm@gnu.org>
14665
5006e634
GM
14666 * calendar/appt.el (appt-message-warning-time): Doc fix.
14667 (appt-warning-time-regexp): New option.
14668 (appt-make-list): Respect appt-message-warning-time.
14669
548d0a63
GM
14670 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14671 New options.
14672 (diary-add-to-list): Strip comments from the displayed string.
14673 (diary-mode): Set comment-start and comment-end.
14674
60f884b2
GM
14675 * vc/diff-mode.el (smerge-refine-subst): Declare.
14676 (diff-refine-hunk): Don't require smerge-mode when compiling.
14677
989681bb
JB
146782011-05-06 Juanma Barranquero <lekktu@gmail.com>
14679
14680 * simple.el (list-processes): Return nil as the docstring says.
14681
a6bc05e1
MA
146822011-05-05 Michael Albinus <michael.albinus@gmx.de>
14683
14684 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14685 to "".
14686 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14687 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14688 determining of binary transfer. (Bug#7383)
14689
23c22e9a
MA
146902011-05-05 Michael Albinus <michael.albinus@gmx.de>
14691
c4662635
SM
14692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14693 Fix port computation bug. (Bug#8618)
23c22e9a 14694
0bff894f
GM
146952011-05-05 Glenn Morris <rgm@gnu.org>
14696
b8296902
GM
14697 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14698
1f522ce8
GM
14699 * simple.el (shell-dynamic-complete-functions)
14700 (comint-dynamic-complete-functions): Declare.
14701
cf5bee67
GM
14702 * net/network-stream.el (gnutls-negotiate):
14703 * simple.el (tabulated-list-print): Fix declarations.
14704
14705 * progmodes/gud.el (syntax-symbol, syntax-point):
14706 Remove unnecessary and incorrect declarations.
14707
0bff894f
GM
14708 * emacs-lisp/check-declare.el (check-declare-scan):
14709 Handle byte-compile-initial-macro-environment in bytecomp.el
14710
9869b3ae
SM
147112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14712
14713 Fix earlier half-done eieio-defmethod change (bug#8338).
14714 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14715 Streamline and change calling convention.
14716 (defmethod): Adjust accordingly and simplify.
14717 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14718 new eieio--defmethod.
14719 (slot-boundp): Minor CSE simplification.
14720
9c1d5ac5
MZ
147212011-05-05 Milan Zamazal <pdm@zamazal.org>
14722
14723 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14724 (glasses-make-readable): Use glasses-separate-capital-groups.
14725
455c834e
JB
147262011-05-05 Juanma Barranquero <lekktu@gmail.com>
14727
14728 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14729 (warning-series): Doc fix.
14730 (display-warning): Don't try to create the buffer if we just found it.
14731
9ed7c8cb
CY
147322011-05-04 Chong Yidong <cyd@stupidchicken.com>
14733
14734 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14735 (autoload-find-generated-file): New function.
14736 (generate-file-autoloads): Bind generated-autoload-file to
14737 buffer-file-name.
9869b3ae
SM
14738 (update-file-autoloads, update-directory-autoloads):
14739 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14740 output file (Bug#7989).
14741 (batch-update-autoloads): Doc fix.
14742
0898ca10
JB
147432011-05-04 Juanma Barranquero <lekktu@gmail.com>
14744
14745 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14746
31dfb76c
GM
147472011-05-04 Glenn Morris <rgm@gnu.org>
14748
f330b642
GM
14749 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14750 function, so it follows changes in calendar-date-style.
14751 (diary-fancy-date-matcher): New function.
14752 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14753 (diary-fancy-font-lock-fontify-region-function):
14754 Use diary-fancy-date-pattern as a function.
14755
31dfb76c
GM
14756 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14757 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14758
48e79d6a
TZ
147592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14760
14761 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14762 instead of positional arguments. Allow :keylist and :crlfiles
14763 arguments.
14764 (open-gnutls-stream): Call it.
14765
14766 * net/network-stream.el (network-stream-open-starttls): Adjust to
14767 call `gnutls-negotiate' with :process and :hostname arguments.
14768
dd5a5ee0
SM
147692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14770
ef80fc09
SM
14771 * minibuffer.el (completion--message): New function.
14772 (completion--do-completion, minibuffer-complete)
14773 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14774 (completion--do-completion): Don't ignore completion-auto-help when in
14775 icomplete-mode.
14776
dd5a5ee0
SM
14777 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14778 internal encoding (e.g. tibetan zero is not whitespace).
14779 (global-whitespace-mode): Prefer save-current-buffer.
14780 (whitespace-trailing-regexp): Remove useless save-match-data.
14781 (whitespace-empty-at-bob-regexp): Minor simplification.
14782
b7d22a83
CY
147832011-05-03 Chong Yidong <cyd@stupidchicken.com>
14784
14785 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14786
5192af46
AM
147872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14788
14789 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14790 Use `concat' to create string for insertion.
5192af46 14791
5767d190
SM
147922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14793
14794 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14795 Avoid open-line which runs post-self-insert-hook.
14796 (bibtex-fill-entry): Remove unused `end' var.
14797
bf242939
AM
147982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14799
5767d190
SM
14800 * textmodes/ispell.el (ispell-add-per-file-word-list):
14801 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14802
25666126
LL
148032011-05-03 Leo Liu <sdl.web@gmail.com>
14804
14805 * isearch.el (isearch-yank-pop): New command.
5767d190 14806 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14807 (isearch-forward): Mention it.
14808
52d3c2d0
SM
148092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14810
1bcace58
SM
14811 * simple.el (minibuffer-complete-shell-command): Remove.
14812 (minibuffer-local-shell-command-map): Use completion-at-point.
14813 (read-shell-command): Setup completion vars here instead.
14814 (read-expression-map): Bind TAB to symbol completion.
14815
52d3c2d0
SM
14816 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14817 error directly rather via storing it into `results'.
14818
35813471
LL
148192011-05-02 Leo Liu <sdl.web@gmail.com>
14820
14821 * vc/diff.el: Fix description.
14822
e793a940
LMI
148232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14824
14825 * server.el (server-eval-at): New function.
14826
8de66e05
LMI
148272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14828
14829 * net/network-stream.el (open-network-stream): Take a :nowait
14830 parameter and pass it on to `make-network-process'.
14831 (network-stream-open-plain): Ditto.
14832
dcb79f20
AS
148332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14834
14835 * faces.el (face-spec-set-match-display): Don't match toolkit
14836 options on terminal frames.
14837
14a7fbd8
SM
148382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14839
7eabc1be
SM
14840 * progmodes/pascal.el: Use lexical binding.
14841 (pascal-mode-map): Remove author preferences.
14842
14a7fbd8
SM
14843 * pcomplete.el (pcomplete-std-complete): Don't abuse
14844 completion-at-point.
14845
50f84510
JB
148462011-04-28 Juanma Barranquero <lekktu@gmail.com>
14847
6e087a44
JB
14848 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14849 removing code that has been dead since 1991 or so.
14850
50f84510
JB
14851 * startup.el (command-line): When warning about "_emacs", use a
14852 delayed warning to allow the user to filter it out.
14853
0ba690bd
DD
148542011-04-28 Deniz Dogan <deniz@dogan.se>
14855
14856 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14857 user has not joined.
14858
08abfaad
SM
148592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14862 aren't any completions at point.
14863
638f053a
JB
148642011-04-28 Juanma Barranquero <lekktu@gmail.com>
14865
14866 * subr.el (display-delayed-warnings): New function.
14867 (delayed-warnings-hook): New variable.
14868
8fff8daa
SM
148692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14870
08abfaad
SM
14871 * minibuffer.el (completion-at-point, completion-help-at-point):
14872 Don't presume that a given completion-at-point-function will always
14873 use the same calling convention.
14874
8fff8daa
SM
14875 * pcomplete.el (pcomplete-completions-at-point):
14876 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14877 pcomplete-seen is non-nil.
14878 (pcomplete-comint-setup): Also recognize the new comint/shell
14879 completion functions.
14880 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14881 pcomplete-seen is non-nil.
14882
841a1577 148832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14884
841a1577 14885 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14886 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14887 the first character in the entry. This allows for code to add its
211ec907
UJ
14888 own uid to the entry.
14889 (icalendar--convert-float-to-ical): Add export of
14890 `diary-float'-entries save for those with the optional DAY
14891 argument.
14892
2a782793
DC
148932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14894
14895 * subr.el (shell-quote-argument): Use alternate escaping strategy
14896 when we spot a variable reference in a string.
14897
0438ce91
DC
148982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14899
14900 * cus-start.el (all): Define customization for debug-on-event.
14901
841a1577 149022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14903
14904 * subr.el (shell-quote-argument): Escape correctly under Windows.
14905
d090ed6c
SM
149062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14909
bfd31217
MA
149102011-04-25 Michael Albinus <michael.albinus@gmx.de>
14911
d090ed6c
SM
14912 * net/tramp.el (tramp-process-actions): Add POS argument.
14913 Delete region between POS and (pos).
bfd31217 14914
d090ed6c
SM
14915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14916 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14917 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14918
14919 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14920 position in `tramp-process-actions' call.
14921
14922 * net/trampver.el: Update release number.
14923
e92f3bd3
SM
149242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14925
850256b5
SM
14926 * custom.el (defcustom): Obey lexical-binding.
14927
e92f3bd3
SM
14928 Fix octave-inf completion problems reported by Alexander Klimov.
14929 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14930 Inherit from octave-mode-syntax-table.
14931 (inferior-octave-mode): Set info-lookup-mode.
14932 (inferior-octave-completion-at-point): New function.
14933 (inferior-octave-complete): Use it and completion-in-region.
14934 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14935 comint-filename-completion.
14936 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14937 symbol elements which shouldn't be word elements.
14938 (octave-font-lock-keywords, octave-beginning-of-defun)
14939 (octave-function-header-regexp): Adjust regexps accordingly.
14940 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14941
cd22b309
JB
149422011-04-25 Juanma Barranquero <lekktu@gmail.com>
14943
14944 * net/gnutls.el (gnutls-errorp): Declare before first use.
14945
8b492194
TZ
149462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14947
14948 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14949 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14950 default trustfile exists before going to use it. Add missing
5a5fa834 14951 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14952 Reported by Claudio Bley <claudio.bley@gmail.com>.
14953 (open-gnutls-stream): Add usage example.
14954
14955 * net/network-stream.el (network-stream-open-starttls): Give host
14956 parameter to `gnutls-negotiate'.
14957 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14958 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14959
841a1577 149602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14961
cd22b309
JB
14962 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14963 Use correct match group (bug#8438).
05842630 14964
3ba7869c
CY
149652011-04-24 Chong Yidong <cyd@stupidchicken.com>
14966
512e3ae1
CY
14967 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14968 (package-menu--generate): New arg specifying packages to show.
14969 (package-menu-refresh, package-menu-execute, list-packages):
14970 Callers changed.
14971 (package-show-package-list): New function, replacing deleted
14972 package--list-packages (renamed because it is non-internal).
14973
14974 * finder.el (finder-list-matches): Use package-show-package-list
14975 instead of deleted package--list-packages.
14976
e92f3bd3
SM
14977 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14978 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14979 (vc-annotate-mode-map): Bind it to RET.
14980
7031be6d
UR
149812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14982
14983 * progmodes/etags.el (next-file): Don't use set-buffer to change
14984 buffers (Bug#8478).
14985
4ef177aa
CY
149862011-04-24 Chong Yidong <cyd@stupidchicken.com>
14987
c8d173eb
CY
14988 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14989
4ef177aa
CY
14990 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14991 (apropos-accumulator): Doc fix.
14992 (apropos-function, apropos-macro, apropos-command)
14993 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14994 (apropos-plist): Add face property.
14995 (apropos-symbols-internal): Fix indentation.
14996 (apropos-print): Simplify help, and recognize apropos-multi-type.
14997 (apropos-print-doc): Use button-type-get to extract the button's
14998 face property. Fill docstring (Bug#8352).
14999
4ffd0d6b 150002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15001
15002 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15003
c6c32125 15004 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15005 (mpuz-mode-map): Use mapc.
c6c32125
JB
15006 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15007 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15008 Fix typos in docstrings.
15009
58d468b4
JB
15010 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15011 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15012
6470c3c6
JB
15013 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15014
4ffd0d6b 150152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15016
15017 * minibuffer.el (completion--do-completion): Avoid the "Next char
15018 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15019
3ad8bad0
CY
15020 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15021 mouse-2 into unread-command-events, it is interpreted correctly.
15022
71d73c9c 15023 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15024 (image-toggle-display): Doc fix.
71d73c9c 15025
841a1577 150262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15027
4ffd0d6b
GM
15028 * textmodes/page.el (what-page): Use line-number-at-pos to
15029 calculate line number (Bug#6825).
6e1dbaa9 15030
c2fb1b60
JB
150312011-04-22 Juanma Barranquero <lekktu@gmail.com>
15032
15033 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15034 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15035 Pass argument NO-DEFAULT to `find-tag-interactive'.
15036
e02f48d7
JB
150372011-04-22 Juanma Barranquero <lekktu@gmail.com>
15038
15039 Lexical-binding cleanup.
15040
15041 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15042 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15043 * progmodes/ada-prj.el (ada-prj-initialize-values)
15044 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15045 (ada-prj-show-value):
15046 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15047 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15048 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15049 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15050 * progmodes/bug-reference.el (bug-reference-push-button):
15051 * progmodes/fortran.el (fortran-line-length):
15052 * progmodes/glasses.el (glasses-change):
15053 * progmodes/octave-mod.el (octave-fill-paragraph):
15054 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15055 (python-pdbtrack-grub-for-buffer, python-sentinel):
15056 * progmodes/sql.el (sql-save-connection):
15057 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15058 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15059 Mark unused parameters.
15060
15061 * progmodes/compile.el (compilation--flush-directory-cache)
15062 (compilation--flush-parse, compile-internal): Mark unused parameters.
15063 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15064 (compilation-next-error-function): Remove unused variable `timestamp'.
15065
15066 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15067 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15068
15069 * progmodes/dcl-mode.el (dcl-end-of-command):
15070 Remove unused variable `start'.
15071 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15072 (dcl-option-value-basic, dcl-option-value-offset)
15073 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15074 Mark unused parameters.
15075 (dcl-save-local-variable): Remove unused variable `val'.
15076 (mode): Declare.
15077
15078 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15079 Mark unused parameters.
15080 (delphi-ignore-changes): Move before first use.
15081 (delphi-charset-token-at): Remove unused variable `start'.
15082 (delphi-else-start): Remove unused variable `if-count'.
15083 (delphi-comment-block-start, delphi-comment-block-end):
15084 Remove unused variable `kind'.
15085 (delphi-indent-line): Remove unused variable `new-point'.
15086
15087 * progmodes/ebrowse.el (ebrowse-files-list)
15088 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15089 Mark unused parameters. Don't quote `lambda'.
15090 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15091 Don't quote `lambda'.
15092 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15093 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15094 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15095 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15096 Use `ignore-errors'.
15097 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15098 (ebrowse-view/find-file-and-search-pattern)
15099 (ebrowse-view/find-member-declaration/definition):
15100 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15101 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15102 Rename parameter PREFIX-ARG to PREFIX.
15103 (ebrowse-tags-read-name): Remove unused variables `start' and
15104 `member-info'.
15105 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15106 to `tags-file'.
15107
15108 * progmodes/etags.el (local-find-tag-hook): Declare.
15109 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15110 Mark unused parameters.
15111
15112 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15113 (executable-interpret): Mark unused parameter.
15114
15115 * progmodes/flymake.el (flymake-process-sentinel)
15116 (flymake-after-change-function)
15117 (flymake-create-temp-with-folder-structure)
15118 (flymake-get-include-dirs-dot): Mark unused parameters.
15119 (flymake-safe-delete-directory): Remove unused variable `err'.
15120
15121 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15122 (speedbar-timer-fn, speedbar-line-text)
15123 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15124 (speedbar-center-buffer-smartly): Declare functions.
15125 (gdb-find-watch-expression): Remove unused variable `array'.
15126 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15127 (gdb-starting): Mark unused parameters.
15128 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15129 (gdb-table-string): Remove unused variable `res'.
15130 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15131 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15132 (gdb-display-buffer): Remove unused variable `cur-size'.
15133
15134 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15135 allow lexical-binding compilation.
15136 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15137 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15138 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15139 Mark unused parameters.
15140 (gud-gdb-marker-filter): Remove unused variable `match'.
15141 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15142 lambda expressions and funcall them, instead of using `fset'.
15143
15144 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15145 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15146
15147 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15148 variable `header-beg'; use `let'.
15149
15150 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15151 `restart', `last-sexp' and `at-do'.
15152
15153 * progmodes/js.el (js--debug): Mark unused parameter.
15154 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15155 (js--splice-into-items): Remove unused variable `item'.
15156 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15157
15158 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15159 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15160 (makefile-complete): Remove unused variable `try'.
15161 (makefile-fill-paragraph, makefile-match-function-end):
15162 Mark unused parameters.
15163
15164 * progmodes/octave-inf.el (inferior-octave-complete):
15165 Remove unused variable `proc'.
15166 (inferior-octave-output-digest): Mark unused parameter.
15167
15168 * progmodes/perl-mode.el (perl-calculate-indent):
15169 Remove unused variable `err'.
15170
15171 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15172 (prolog-indent-line): Mark unused parameters.
15173 (prolog-indent-line): Remove unused variable `beg'.
15174
15175 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15176 (reporter-dont-compact-list): Declare.
15177
15178 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15179 Remove unused variable `char'.
15180 (sh-debug): Mark unused parameter.
15181 (sh-get-indent-info): Remove unused variable `start'.
15182 (sh-calculate-indent): Remove unused variable `var'.
15183
15184 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15185 (simula-electric-keyword): Remove unused variable `null'.
15186 (simula-search-backward, simula-search-forward): Remove unused
15187 variables `begin' and `end'.
15188
15189 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15190 Remove unused variable `pos'.
15191 (vera-electric-tab, vera-comment-uncomment-region):
15192 Mark unused parameters.
15193 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15194
7ede3b65
CY
151952011-04-22 Chong Yidong <cyd@stupidchicken.com>
15196
15197 * emacs-lisp/package.el (package--builtins, package-alist)
15198 (package-load-descriptor, package-built-in-p, package-activate)
15199 (define-package, package-installed-p)
15200 (package-compute-transaction, package-buffer-info)
15201 (package--push): Doc fix. Distinguish more clearly between
15202 version strings and version lists.
15203
121656e9
JB
152042011-04-21 Juanma Barranquero <lekktu@gmail.com>
15205
15206 Lexical-binding cleanup.
15207
15208 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15209 (5x5-make-mutate-best):
15210 * play/fortune.el (fortune-in-buffer):
15211 * play/gomoku.el (gomoku-init-display):
15212 * play/solitaire.el (solitaire, solitaire-do-check):
15213 * play/tetris.el (tetris-default-update-speed-function):
15214 Mark unused parameters.
15215
15216 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15217 (bubbles--shift): Remove unused variable `char-org'.
15218 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15219 (bubbles--show-images): Remove unused variable `char'.
15220
15221 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15222 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15223 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15224 (decipher-analyze-buffer): Use ?\s.
15225 (decipher-make-checkpoint): Remove unused variable `mapping'.
15226
15227 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15228
15229 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15230 Remove unused variable `result'; use `let'.
15231
15232 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15233 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15234 (gametree-children-shown-p, gametree-compute-reduced-score):
15235 Use `ignore-errors'.
15236
15237 * play/handwrite.el (ps-lpr-switches): Declare.
15238 (handwrite): Remove unused variables `pmin' and `lastp'.
15239
15240 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15241
15242 * play/landmark.el (landmark-init-display)
15243 (landmark-update-naught-weights): Mark unused parameters.
15244 (landmark-y): Remove unused variable `noise'. Simplify.
15245 (landmark-human-plays): Remove unused variable `score'.
15246
15247 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15248 (mpuz-try-proposal): Remove unused variable `game'.
15249
15250 * play/zone.el (life-patterns): Declare.
15251
80f499c7
JB
152522011-04-20 Juanma Barranquero <lekktu@gmail.com>
15253
15254 * vc/vc.el (ediff-vc-internal): Declare function.
15255
024ff170
SM
152562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15257
c0a193ea
SM
15258 * shell.el: Use lexical-binding and std completion UI.
15259 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15260 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15261 comint-preoutput-filter-functions rather than on
15262 comint-output-filter-functions.
15263 (shell-command-completion, shell--command-completion-data)
15264 (shell-filename-completion, shell-environment-variable-completion)
15265 (shell-c-a-p-replace-by-expanded-directory): New functions.
15266 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15267 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15268 (shell-dynamic-complete-environment-variable): Use them.
15269 (shell-dynamic-complete-as-environment-variable)
15270 (shell-dynamic-complete-as-command): Remove.
15271 (shell-match-partial-variable): Match past point.
15272 * comint.el: Clean up use of completion-at-point-functions.
15273 (comint-completion-at-point): New function.
15274 (comint-mode): Use it completion-at-point-functions.
15275 (comint-dynamic-complete): Make it obsolete.
15276 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15277 (comint-c-a-p-replace-by-expanded-history): New function.
15278 (comint-dynamic-complete-functions)
15279 (comint-replace-by-expanded-history): Use it.
15280 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15281 termination strings. Try harder to avoid second try-completion.
15282 (completion-in-region-mode-map): Disable bindings that don't work yet.
15283
2dbaa080
SM
15284 * comint.el: Use lexical-binding. Require CL.
15285 (comint-dynamic-complete-functions): Use comint-filename-completion.
15286 (comint-completion-addsuffix): Tweak custom type.
15287 (comint-filename-completion, comint--common-suffix)
15288 (comint--common-quoted-suffix, comint--table-subvert)
15289 (comint--complete-file-name-data): New functions.
15290 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15291 (comint-dynamic-list-filename-completions): Use them.
15292 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15293
2dbaa080
SM
15294 * minibuffer.el (completion-in-region-mode):
15295 Keep completion-in-region-mode--predicate global.
15296 (completion-in-region--postch):
15297 Assume completion-in-region-mode--predicate is not null.
15298
c79a6f38
SM
15299 * progmodes/flymake.el (flymake-start-syntax-check-process):
15300 Obey `dir'. Simplify.
15301
024ff170
SM
15302 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15303 we're in VC after all.
15304
1c6c854e
CS
153052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15306
15307 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15308 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15309 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15310
bed7f140
SM
153112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15312
332e62ab
SM
15313 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15314 add sanity check.
15315
bed7f140
SM
15316 * obsolete/erc-hecomplete.el: Make obsolete.
15317 * obsolete/: Standardize obsolescence info in the header.
15318
f195c582
GM
153192011-04-20 Glenn Morris <rgm@gnu.org>
15320
15321 * calendar/solar.el (solar-horizontal-coordinates):
15322 Use the longitude argument rather than `calendar-longitude'.
15323 (solar-date-next-longitude): Remove unused locals.
15324
cb79b8c0
VJL
153252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15326
15327 * whitespace.el: New version 13.2.1.
15328
153292011-04-20 felix <EmacsWiki> (tiny change)
15330
d8e4b68b 15331 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15332 switching between major modes on a file.
15333
602ea69d
SM
153342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15335
15336 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15337 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15338 multi-line comments as well.
15339
06b60517
JB
153402011-04-19 Juanma Barranquero <lekktu@gmail.com>
15341
15342 Lexical-binding cleanup.
15343
15344 * arc-mode.el (archive-mode-revert):
15345 * cmuscheme.el (scheme-interactively-start-process):
15346 * custom.el (custom-initialize-delay):
15347 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15348 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15349 * emacs-lock.el (emacs-lock-clear-sentinel):
15350 * ezimage.el (defezimage):
15351 * follow.el (follow-avoid-tail-recenter):
15352 * fringe.el (set-fringe-mode-1):
15353 * generic-x.el (bat-generic-mode-compile):
15354 * help-mode.el (help-info-variable, help-do-xref)
15355 (help-mode-revert-buffer):
15356 * help.el (view-emacs-todo):
15357 * iswitchb.el (iswitchb-completion-help):
15358 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15359 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15360 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15361 * locate.el (locate-update):
15362 * longlines.el (longlines-encode-region)
15363 (longlines-after-change-function):
15364 * outline.el (outline-isearch-open-invisible):
15365 * ps-def.el (declare-function, charset-dimension, char-width)
15366 (encode-char):
15367 * ps-mule.el (ps-mule-plot-string):
15368 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15369 (recentf-edit-list-select, recentf-edit-list-validate)
15370 (recentf-open-files-action):
15371 * rect.el (delete-whitespace-rectangle-line)
15372 (rectangle-number-line-callback):
15373 * register.el (window-configuration-to-register)
15374 (frame-configuration-to-register):
15375 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15376 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15377 (xselect-convert-to-targets, xselect-convert-to-delete)
15378 (xselect-convert-to-filename, xselect-convert-to-charpos)
15379 (xselect-convert-to-lineno, xselect-convert-to-colno)
15380 (xselect-convert-to-os, xselect-convert-to-host)
15381 (xselect-convert-to-user, xselect-convert-to-class)
15382 (xselect-convert-to-name, xselect-convert-to-integer)
15383 (xselect-convert-to-atom, xselect-convert-to-identity):
15384 * subr.el (declare, ignore, process-kill-without-query)
15385 (text-clone-maintain):
15386 * terminal.el (te-get-char, te-tic-sentinel):
15387 * tool-bar.el (tool-bar-make-keymap):
15388 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15389 * type-break.el (type-break-mode, type-break-noninteractive-query):
15390 * view.el (View-back-to-mark):
15391 * wid-browse.el (widget-browse-action, widget-browse-widget)
15392 (widget-browse-widgets, widget-browse-sexp):
15393 * widget.el (define-widget-keywords):
15394 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15395 Mark unused parameters.
15396
15397 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15398 (align-areas): Remove unused variable `look'.
15399 (align-region): Remove unused variables `real-end' and `pos-list'.
15400
15401 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15402
15403 * bindings.el (mode-line-modified, mode-line-remote):
15404 Mark unused parameters.
15405 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15406
15407 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15408 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15409
15410 * comint.el (comint-history-isearch-pop-state)
15411 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15412 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15413 (comint-substitute-in-file-name): Doc fix.
15414
15415 * completion.el (cmpl-statistics-block): Mark unused parameter.
15416 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15417 (save-completions-to-file, load-completions-from-file):
15418 Remove unused local variable `e'.
15419
15420 * composite.el (compose-chars): Remove unused variable `len'.
15421 (lgstring-insert-glyph): Remove unused variable `g'.
15422 (compose-glyph-string): Remove unused variables `ascent',
15423 `descent', `lbearing' and `rbearing'.
15424 (compose-glyph-string-relative): Remove unused variables
15425 `lbearing', `rbearing' and `wadjust'.
15426 (compose-gstring-for-graphic): Remove unused variables `header',
15427 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15428 (compose-gstring-for-terminal): Remove unused variables `header'
15429 and `nchars'. Use `let', not `let*'.
15430
15431 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15432 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15433 (Custom-buffer-done, custom-buffer-create-internal)
15434 (custom-browse-visibility-action, custom-browse-group-tag-action)
15435 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15436 (widget-magic-mouse-down-action, custom-toggle-parent)
15437 (custom-add-parent-links, custom-toggle-hide-variable)
15438 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15439 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15440 (custom-face-menu-create, custom-variable-menu-create, get)
15441 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15442 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15443 (customize-apropos): Remove unused variable `tests'.
15444 (custom-group-value-create): Remove unused variable `hidden-p'.
15445 (sort-fold-case): Declare.
15446
15447 * cus-theme.el (custom-reset-standard-faces-list)
15448 (custom-reset-standard-variables-list): Declare.
15449 (customize-create-theme, custom-theme-revert, custom-theme-write)
15450 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15451 Mark unused parameters.
15452
15453 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15454
15455 * delim-col.el (delimit-columns-max): Move defvar before first use.
15456
15457 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15458 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15459
15460 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15461 (auto-insert): Declare.
15462 (desktop-restore-file-buffer): Rename desktop-* parameters;
15463 mark unused ones.
15464 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15465 (desktop-buffer): Rename desktop-* parameters.
15466
15467 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15468 (dframe-reposition-frame-xemacs, dframe-help-echo)
15469 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15470 Mark unused parameters.
15471
15472 * dired-aux.el (backup-extract-version-start, overwrite-query)
15473 (overwrite-backup-query, rename-regexp-query)
15474 (rename-non-directory-query): Declare.
15475 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15476 (dired-add-entry): Remove unused variable `orig-file-name'.
15477 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15478 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15479 `dired-copy-preserve-time' directly.
15480 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15481 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15482
15483 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15484 (dired-virtual-revert, dired-make-relative-symlink):
15485 Mark unused parameters.
15486 (manual-program): Declare.
15487 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15488 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15489 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15490
15491 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15492
15493 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15494
15495 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15496 Declare.
15497
15498 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15499
15500 * electric.el (Electric-command-loop): Rename parameter
15501 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15502
15503 * expand.el (expand-in-literal): Remove unused variable `here'.
15504
15505 * facemenu.el (facemenu-add-new-color):
15506 Remove unused variable `docstring'.
15507
15508 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15509 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15510 (face-attr-construct): Mark unused parameter. Doc fix.
15511 (read-color): Remove unused variable `hex-string'.
15512
15513 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15514 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15515 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15516 (display-buffer-other-frame): Remove unused variable `old-window'.
15517 (kill-buffer-hook): Declare.
15518 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15519 Mark unused parameters.
15520 (after-find-file): Pass 1 to `auto-save-mode', not t.
15521
15522 * files-x.el (auto-insert): Declare.
15523 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15524
15525 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15526 variable `buf'. Mark unused parameter.
06b60517
JB
15527 (find-lisp-insert-directory): Mark unused parameter.
15528
15529 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15530 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15531 (format-common-tail): Remove, unused.
15532 (format-deannotate-region): Remove unused variable `loc'.
15533 (format-annotate-region): Remove unused variable `p'.
15534 (format-annotate-single-property-change): Remove unused variables
15535 `default' and `tail'.
15536
15537 * forms.el (read-file-filter): Declare.
15538 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15539
15540 * frame.el (frame-creation-function-alist): Mark unused parameter.
15541 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15542
15543 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15544 Remove unused parameters.
15545 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15546 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15547
15548 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15549 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15550 (hfy-prepare-tag-map): Mark unused parameters.
15551 (htmlfontify-buffer): Use `called-interactively-p'.
15552
15553 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15554 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15555 (ibuffer-do-occur): Mark unused parameters.
15556 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15557 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15558
15559 * ibuffer.el: Don't quote `lambda'.
15560 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15561 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15562 Mark unused parameters.
15563
15564 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15565 (ido-completing-read): Mark unused parameters.
15566 (ido-copy-current-word): Mark unused parameters;
15567 remove unused variable `name'.
15568 (ido-sort-merged-list): Remove unused parameter `dirs'.
15569
15570 * ielm.el (ielm-input-sender): Mark unused parameter.
15571 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15572 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15573 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15574 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15575 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15576
15577 * image-dired.el (image-dired-display-thumbs): Remove unused
15578 variables `curr-file' and `count'.
15579 (image-dired-remove-tag): Remove unused variable `start'.
15580 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15581 variable `curr-file'
15582 (image-dired-rotate-original): Remove unused variable `temp-file'.
15583 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15584 Remove unused variable `file'.
15585 (image-dired-gallery-generate): Remove unused variable `curr'.
15586 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15587
15588 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15589
15590 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15591
15592 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15593
15594 * isearch.el (minibuffer-history-symbol): Declare.
15595 (isearch-edit-string): Remove unused variable `err'.
15596 (isearch-message-prefix, isearch-message-suffix):
15597 Mark unused parameters.
15598
15599 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15600
15601 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15602
15603 * makesum.el (double-column): Remove unused variable `cnt'.
15604
15605 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15606 (ido-ignore-item-temp-list): Declare.
15607
15608 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15609 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15610 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15611 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15612 `mouse-col-delta'.
15613
15614 * mouse-sel.el (mouse-extend-internal):
15615 Remove unused variable `orig-window-frame'.
15616
15617 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15618 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15619 Move declarations before first use.
15620 (pcomplete-opt): Mark unused parameters; doc fix.
15621
15622 * proced.el (proced-revert): Mark unused parameter.
15623 (proced-send-signal): Remove unused variable `err'.
15624
15625 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15626 Rename parameter PREFIX-ARG to ARG.
15627 (ps-basic-plot-string, ps-basic-plot-whitespace):
15628 Mark unused parameters.
15629
15630 * replace.el (replace-count): Define.
15631 (occur-revert-function): Mark unused parameters.
15632 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15633 (isearch-case-fold-search, isearch-string): Declare.
15634 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15635 bind `case-fold-search'. Remove unused variables `beg' and `end',
15636 and simplify.
15637 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15638 COUNT and bind `replace-count'.
15639 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15640 to COUNT.
15641
15642 * savehist.el (print-readably, print-string-length): Declare.
15643
15644 * shadowfile.el (shadow-expand-cluster-in-file-name):
15645 Remove unused variable `cluster'.
15646 (shadow-copy-file): Remove unused variable `i'.
15647 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15648 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15649 (shadow-define-literal-group, shadow-define-regexp-group)
15650 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15651
15652 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15653 (shell): Use `called-interactively-p'.
15654 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15655
15656 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15657 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15658 (delete-backward-char): Remove unused variable `ocol'.
15659 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15660 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15661 (event-apply-hyper-modifier, event-apply-shift-modifier)
15662 (event-apply-control-modifier, event-apply-meta-modifier):
15663 Mark unused parameters.
15664 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15665 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15666
15667 * speedbar.el (speedbar-ignored-directory-expressions)
15668 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15669 (speedbar-find-file, speedbar-dir-follow)
15670 (speedbar-directory-buttons-follow, speedbar-tag-find)
15671 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15672 (speedbar-buffers-line-directory, speedbar-buffer-click):
15673 Mark unused parameters.
15674 (speedbar-tag-file): Remove unused variable `mode'.
15675 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15676
15677 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15678
15679 * talk.el (talk): Remove unused variable `display'.
15680
15681 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15682 (tar-write-region-annotate): Mark unused parameter.
15683
15684 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15685 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15686 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15687 warning by another.
15688
15689 * time-stamp.el (time-stamp-string-preprocess):
15690 Remove unused variable `require-padding'.
15691
15692 * tree-widget.el (widget-glyph-enable): Declare.
15693 (tree-widget-action): Mark unused parameter.
15694
15695 * w32-fns.el (x-get-selection): Mark unused parameter.
15696 (autoload-make-program, generated-autoload-file): Declare.
15697
15698 * wdired.el (wdired-revert): Mark unused parameters.
15699 (wdired-xcase-word): Remove unused variable `err'.
15700
15701 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15702 (whitespace-help-scroll): Remove unused variable `data-help'.
15703
15704 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15705 (widget-image-insert, widget-after-change, default)
15706 (widget-default-format-handler, widget-default-notify)
15707 (widget-default-prompt-value, widget-info-link-action)
15708 (widget-url-link-action, widget-function-link-action)
15709 (widget-variable-link-action, widget-file-link-action)
15710 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15711 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15712 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15713 (widget-insert-button-action, widget-delete-button-action, visibility)
15714 (widget-documentation-link-action, widget-documentation-string-action)
15715 (widget-const-prompt-value, widget-regexp-match, symbol)
15716 (widget-coding-system-prompt-value)
15717 (widget-key-sequence-value-to-external, sexp)
15718 (widget-sexp-value-to-internal, character, vector, cons)
15719 (widget-choice-prompt-value, widget-boolean-prompt-value)
15720 (widget-color--choose-action): Mark unused parameters.
15721 (widget-item-match-inline, widget-choice-match-inline)
15722 (widget-checklist-match, widget-checklist-match-inline)
15723 (widget-group-match): Rename parameter VALUES to VALS.
15724 (widget-field-value-set): Remove unused variable `size'.
15725 (widget-color-action): Remove unused variables `value' and `start'.
15726
15727 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15728 variable `dir'. Doc fix.
06b60517
JB
15729 (windmove-find-other-window): Don't pass it.
15730
15731 * window.el (count-windows): Mark unused parameter.
15732 (bw-adjust-window): Remove unused variable `err'.
15733
15734 * woman.el (woman-file-name): Remove unused variable `default'.
15735 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15736 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15737 (global-font-lock-mode): Declare.
15738 (woman-decode-region): Mark unused parameter.
15739 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15740
15741 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15742 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15743 (x-dnd-handle-moz-url): Remove unused variable `title'.
15744 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15745
15746 * xml.el (xml-parse-tag, xml-parse-attlist):
15747 Remove unused variable `pos'.
15748
bc4f7f3d
GM
157492011-04-19 Glenn Morris <rgm@gnu.org>
15750
15751 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15752 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15753 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15754 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15755 * calendar/cal-html.el (cal-html-insert-minical):
15756 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15757 (calendar-mark-date-pattern):
15758 Prefix "unused" locals.
15759
15760 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15761 optional argument `style'.
15762
15763 * calendar/appt.el (appt-make-list):
15764 * calendar/cal-china.el (calendar-chinese-date-string):
15765 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15766 (diary-hebrew-yahrzeit):
15767 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15768 * calendar/calendar.el (calendar-generate-window):
15769 * calendar/time-date.el (time-to-days):
15770 Remove unused local variables.
15771
16a43933
CY
157722011-04-18 Chong Yidong <cyd@stupidchicken.com>
15773
15774 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15775 glyphless-char-display table.
15776 (tabulated-list-glyphless-char-display): New var.
15777
7eed1860
SS
157782011-04-18 Sam Steingold <sds@gnu.org>
15779
15780 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15781 to acknowledgments.
15782
4d2d1ccd
GM
157832011-04-17 Glenn Morris <rgm@gnu.org>
15784
15785 * calendar/diary-lib.el (diary-sexp-entry):
15786 * calendar/holidays.el (holiday-sexp):
15787 Set debug-on-error rather than the removed stack-trace-on-error.
15788
239da61d
GM
157892011-04-16 Glenn Morris <rgm@gnu.org>
15790
15791 * progmodes/f90.el: Use lexical-binding.
15792 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15793
8b05752a
SM
157942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15795
daca8ba5
SM
15796 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15797 (mail-mode): Setup mailalias completion here instead.
15798 * mail/mailalias.el: Use lexical-binding.
15799 (pattern, mailalias-done): Declare dynamic.
15800 (mail-completion-at-point-function): New function, from mail-complete.
15801 (mail-complete): Use it.
15802 (mail-completion-expand): New function.
15803 (mail-get-names): Use it.
15804 (mail-directory, mail-directory-process, mail-directory-stream):
15805 Don't use `pattern' for lexically bound arg.
15806
6f542485
SM
15807 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15808
037e7c3f
SM
15809 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15810 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15811 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15812
8b05752a
SM
15813 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15814 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15815 (byte-interactive-p): Define them again, for use when inlining
15816 old code.
15817
49093f60
JB
158182011-04-15 Juanma Barranquero <lekktu@gmail.com>
15819
15820 * loadup.el: Use `string-to-number', not `string-to-int'.
15821
b5b8e7de
SM
158222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15823
15824 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15825 gud-gdb-complete-command.
15826 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15827 (gud-gdb-completion-at-point): New function.
15828 (gud-gdb-completions): Remove.
15829
f42efeb5
MA
158302011-04-14 Michael Albinus <michael.albinus@gmx.de>
15831
49093f60
JB
15832 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15833 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15834 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15835 whether `executable-find' is bound.
f42efeb5
MA
15836
15837 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15838
e240cc21
SM
158392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * minibuffer.el (completion-in-region-mode-predicate)
15842 (completion-in-region-mode--predicate): New vars.
15843 (completion-in-region, completion-in-region--postch)
15844 (completion-in-region-mode): Use them.
15845 (completion--capf-wrapper): Also return the hook function.
15846 (completion-at-point, completion-help-at-point):
15847 Adjust and provide a predicate.
c2bd2ab0
SM
15848
15849 Preserve arg names for advice of subr and lexical functions (bug#8457).
15850 * help-fns.el (help-function-arglist): Consolidate the subr and
15851 new-byte-code cases. Add argument `preserve-names' to extract names
15852 from the docstring when needed.
15853 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15854 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15855 (ad-arglist): Use help-function-arglist's new arg.
15856 (ad-definition-type): Use cond.
15857
c183f693
JB
158582011-04-13 Juanma Barranquero <lekktu@gmail.com>
15859
06641a47
JB
15860 * autorevert.el (auto-revert-handler):
15861 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15862 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15863 Don't quote lambda.
15864
c183f693
JB
15865 * image-mode.el (image-transform-set-scale):
15866 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15867
1e3b6001
G
158682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15869
15870 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15871 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15872 Upgrades via gnutls-cli are too slow to be done opportunistically.
15873
2d6af8dd
JB
158742011-04-12 Juanma Barranquero <lekktu@gmail.com>
15875
15876 * dframe.el (dframe-current-frame): Remove spurious quote.
15877
c0749a51
GM
158782011-04-12 Glenn Morris <rgm@gnu.org>
15879
088d0d61
GM
15880 * calendar/cal-tex.el (cal-tex-end-document):
15881 Try to automatically use latin1 input if needed.
15882
c0749a51
GM
15883 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15884 Don't try to cons a mark onto an empty element.
15885
5c90fde0
LL
158862011-04-11 Leo Liu <sdl.web@gmail.com>
15887
15888 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15889 buffers.
15890 (ido-kill-buffer-at-head): Support killing virtual buffers.
15891
369e974d
CY
158922011-04-10 Chong Yidong <cyd@stupidchicken.com>
15893
15894 * minibuffer.el (completion-show-inline-help): New var.
15895 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15896 (minibuffer-force-complete, minibuffer-complete-word):
15897 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15898
15899 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15900 to avoid interference from inline help (Bug#5849).
15901
37f1c930
LL
159022011-04-10 Leo Liu <sdl.web@gmail.com>
15903
099c39a4
JB
15904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15905 Fix typo.
37f1c930 15906
a32d4040
CY
159072011-04-09 Chong Yidong <cyd@stupidchicken.com>
15908
15909 * image-mode.el (image-toggle-display-image): Signal an error if
15910 not in Image mode.
15911 (image-transform-mode, image-transform-resize)
15912 (image-transform-set-rotation): Doc fix.
daca8ba5 15913 (image-transform-set-resize): Delete.
a32d4040
CY
15914 (image-transform-set-scale, image-transform-fit-to-height)
15915 (image-transform-fit-to-width): Handle image-toggle-display-image
15916 and image-transform-resize directly.
15917
099c39a4 159182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15919
15920 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15921 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15922 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15923 (doc-view-mode-map): Add bindings for the new functions.
15924
099c39a4 159252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15926
4d61f28d 15927 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15928 Fix typo in docstring.
15929
3726838a
EZ
159302011-04-08 Eli Zaretskii <eliz@gnu.org>
15931
04f33f1e
EZ
15932 * files.el (file-size-human-readable): Produce one digit after
15933 decimal, like "ls -lh" does.
15934
15935 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15936 the file size representation.
15937
3726838a
EZ
15938 * simple.el (list-processes): If async subprocesses are not
15939 available, error out with a clear error message.
15940
cbb59342
CY
159412011-04-08 Chong Yidong <cyd@stupidchicken.com>
15942
15943 * help.el (help-form-show): New function, to be called from C.
15944 Put help-form output in a buffer named differently than *Help*.
15945
e3971c44
EZ
159462011-04-08 Eli Zaretskii <eliz@gnu.org>
15947
15948 * files.el (file-size-human-readable): New function.
15949
15950 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15951 computing the representation inline. Don't require `cl'.
15952
12544bbe
GM
159532011-04-08 Glenn Morris <rgm@gnu.org>
15954
a1de6c6a
GM
15955 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15956
3c4671f4
GM
15957 * net/browse-url.el (browse-url-firefox):
15958 Test system-type, not system-configuration.
15959
b605679c
GM
15960 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15961 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15962 Use log-edit-empty-buffer-p. (Bug#7598)
15963
56442f0c
GM
15964 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15965 (rlogin-mode-map): Initialize in the defvar.
15966 (rlogin): Use ignore-errors.
15967
12544bbe
GM
15968 * replace.el (occur-mode-map): Some fixes for menu items.
15969
eb237b0f
AH
159702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15971
15972 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15973
7d668f2c
CY
159742011-04-06 Chong Yidong <cyd@stupidchicken.com>
15975
e67a13ab
CY
15976 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15977 issuing unused warnings.
15978
15979 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15980 macro directly.
15981
7d668f2c
CY
15982 * simple.el: Lisp reimplement of list-processes. Based on an
15983 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15984 (process-menu-mode): New major mode.
15985 (list-processes--refresh, list-processes):
15986 (process-menu-visit-buffer): New functions.
15987
15988 * files.el (save-buffers-kill-emacs): Don't assume any return
15989 value of list-processes, which is undocumented anyway.
15990
a83ec3c9
CY
159912011-04-06 Chong Yidong <cyd@stupidchicken.com>
15992
15993 * emacs-lisp/tabulated-list.el: New file.
15994
e91a96fe
CY
15995 * emacs-lisp/package.el: Use Tabulated List mode.
15996 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15997 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15998 table format using Tabulated List mode variables.
15999 (package--push): New macro, replacing package-list-maybe-add.
16000 (package-menu--generate): Use package--push. Renamed from
16001 package--generate-package-list.
16002 (package-menu-refresh, list-packages): Use it.
daca8ba5 16003 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16004 Return insertion data instead of inserting it directly.
099c39a4
JB
16005 (package-menu-describe-package, package-menu-execute):
16006 Use tabulated-list-get-id.
e91a96fe
CY
16007 (package-menu-mark-delete, package-menu-mark-install)
16008 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16009 (package-menu-mark-obsolete-for-deletion):
16010 Use tabulated-list-put-tag.
e91a96fe
CY
16011 (package--list-packages, package-menu-revert)
16012 (package-menu-get-package, package-menu-get-version)
16013 (package-menu-sort-by-column): Functions deleted.
16014 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16015 (package-menu--status-predicate, package-menu--version-predicate)
16016 (package-menu--name-predicate)
16017 (package-menu--description-predicate): Handle arguments in the
16018 Tabulated List format.
16019 (package-list-packages-no-fetch): Call list-packages.
16020
3e214b50
JB
160212011-04-06 Juanma Barranquero <lekktu@gmail.com>
16022
16023 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16024 (after-find-file): Don't bind it.
3e214b50
JB
16025 (revert-buffer-in-progress-p): New variable.
16026 (revert-buffer): Bind it.
16027 Pass nil for `after-find-file-from-revert-buffer'.
16028
16029 * saveplace.el (save-place-find-file-hook): Use new variable
16030 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16031
3f0f1700
GM
160322011-04-06 Glenn Morris <rgm@gnu.org>
16033
c0274801
GM
16034 * Makefile.in (AUTOGEN_VCS): New variable.
16035 (autoloads): Use $AUTOGEN_VCS.
16036
3f0f1700
GM
16037 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16038 * calendar/calendar.el (calendar-mode-map):
16039 Check for toolkit scroll bars. (Bug#8305)
16040
41ea9e48
CY
160412011-04-05 Chong Yidong <cyd@stupidchicken.com>
16042
16043 * minibuffer.el (completion-in-region--postch)
16044 (completion-in-region-mode): Remove unnecessary messages.
16045
6194c800
JB
160462011-04-05 Juanma Barranquero <lekktu@gmail.com>
16047
33256f14
JB
16048 * font-lock.el (font-lock-refresh-defaults):
16049 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16050 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16051
6194c800
JB
16052 * info.el (Info-directory-list, Info-read-node-name-2)
16053 (Info-split-parameter-string): Doc fixes.
16054 (Info-virtual-nodes): Reflow docstring.
16055 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16056 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16057 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16058 Fix typos in docstrings.
16059 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16060 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16061 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16062 (Info-restore-desktop-buffer): Mark unused parameters.
16063 (Info-directory-find-file, Info-directory-find-node)
16064 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16065 (Info-virtual-index-find-node, Info-apropos-find-file)
16066 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16067 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16068 (Info-virtual-index): Remove unused local variable `nodename'.
16069
b87a8200 160702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16071
b87a8200
DD
16072 * net/rcirc.el: Update my e-mail address.
16073 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16074
3b2ff876
CY
160752011-04-05 Chong Yidong <cyd@stupidchicken.com>
16076
16077 * startup.el (command-line): Save the cursor's theme-face
16078 directly, instead of using face-override-spec.
16079
16080 * custom.el (load-theme): Minor optimization in assigning faces.
16081
8d17e7ca
JB
160822011-04-04 Juanma Barranquero <lekktu@gmail.com>
16083
16084 * help-fns.el (describe-variable): Complete all variables having
16085 documentation, including keywords.
16086 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16087
2fbc1934
JB
160882011-04-04 Juanma Barranquero <lekktu@gmail.com>
16089
16090 Convert to lexical-binding.
16091
16092 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16093 (bs--get-marked-string, bs--get-modified-string)
16094 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16095 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16096 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16097
16098 * ehelp.el (electric-help-execute-extended)
16099 (electric-help-ctrl-x-prefix):
16100 * hexl.el (hexl-revert-buffer-function):
16101 * linum.el (linum-after-change, linum-after-scroll):
16102 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16103
16104 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16105
74f50695
DU
161062011-04-04 Daiki Ueno <ueno@unixuser.org>
16107
16108 * epa-dired.el:
16109 * epa-mail.el:
16110 * epa-hook.el:
16111 * epa-file.el:
16112 * epa.el:
16113 * epg.el: Use lexical binding.
16114
c11325f7
CY
161152011-04-03 Chong Yidong <cyd@stupidchicken.com>
16116
0d9e9a12
CY
16117 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16118
c11325f7 16119 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16120 dictionary case for flyspell-mark-duplications-exceptions.
16121 Use regexp matching for languages.
c11325f7
CY
16122 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16123 default dictionary (Bug#7926).
16124
da91b5f2
CY
161252011-04-02 Chong Yidong <cyd@stupidchicken.com>
16126
099c39a4
JB
16127 * emacs-lisp/package.el (package--with-work-buffer):
16128 Recognize https URLs.
da91b5f2 16129
099c39a4
JB
16130 * net/network-stream.el: Move from gnus/proto-stream.el.
16131 Change prefix to network-stream throughout.
da91b5f2
CY
16132 (open-protocol-stream): Merge into open-network-stream, leaving
16133 open-protocol-stream as an alias. Handle nil BUFFER args.
16134
16135 * subr.el (open-network-stream): Move to net/network-stream.el.
16136
afa8e9f6
GM
161372011-04-02 Glenn Morris <rgm@gnu.org>
16138
1d2e369d
GM
16139 * find-dired.el (find-exec-terminator): New option.
16140 (find-ls-option): Test for -ls support.
16141 (find-ls-subdir-switches): Test for -b in find-ls-option.
16142 (find-dired, find-grep-dired): Doc fixes.
16143 (find-dired): Use find-exec-terminator.
16144
8abb7da8 16145 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16146 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16147 (find-name-arg): Remove purecopy.
8abb7da8 16148
f3ca7378
GM
16149 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16150 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16151 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16152 accordingly. Don't add the null-device if not needed.
16153
afa8e9f6
GM
16154 * files.el (save-some-buffers): Doc fix.
16155
35eae264
EZ
161562011-04-02 Eli Zaretskii <eliz@gnu.org>
16157
16158 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16159
26b51db5
JB
161602011-04-01 Juanma Barranquero <lekktu@gmail.com>
16161
16162 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16163 Use `dolist' rather than `mapcar'.
16164
7200d79c
SM
161652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16166
03408648 16167 Add lexical binding.
7200d79c 16168
03408648
SM
16169 * subr.el (apply-partially): Use new closures rather than CL.
16170 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16171 (dolist, dotimes): Use slightly different expansion for lexical code.
16172 (functionp): Move to C.
16173 (letrec): New macro.
16174 (with-wrapper-hook): Use it and apply-partially instead of CL.
16175 (eval-after-load): Preserve lexical-binding.
16176 (save-window-excursion, with-output-to-temp-buffer): Turn them
16177 into macros.
7200d79c 16178
03408648
SM
16179 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16180
16181 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16182 than the arglist.
16183 (help-add-fundoc-usage): Don't add `Not documented'.
16184 (help-function-arglist): Handle closures, subroutines, and new
16185 byte-code-functions.
16186 (help-make-usage): Remove leading underscores.
16187 (describe-function-1): Handle closures.
16188 (describe-variable): Use special-variable-p for completion.
16189
16190 * files.el (lexical-binding): Declare safe.
f488fb65 16191
03408648
SM
16192 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16193 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16194 (pcase): Add `let' pattern.
16195 Change memoization so it actually works.
16196 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16197 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16198 <let>: New case.
f488fb65 16199
03408648
SM
16200 * emacs-lisp/macroexp.el: Use lexical binding.
16201 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16202 Don't convert ' to #' without checking that it's indeed quoting
16203 a lambda.
16204
16205 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16206 Use eval-sexp-add-defvars.
03408648
SM
16207 (eval-sexp-add-defvars): New fun.
16208
16209 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16210
16211 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16212 Don't autoload.
16213 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16214 than the internal `byte-compile-lambda'.
16215 (defmethod): Don't hide code under quotes.
16216 (eieio-defmethod): New `code' argument.
16217
16218 * emacs-lisp/eieio-comp.el: Remove.
16219
16220 * emacs-lisp/edebug.el (edebug-eval-defun)
16221 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16222 (edebug-toggle): Avoid `eval'.
16223
16224 * emacs-lisp/disass.el (disassemble-internal): Handle new
16225 `closure' objects.
16226 (disassemble-1): Handle new byte codes.
16227
16228 * emacs-lisp/cl.el (pushnew): Silence warning.
16229
16230 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16231 (cl-byte-compile-throw): Remove.
16232 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16233
16234 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16235 closures.
16236
16237 * emacs-lisp/cconv.el: New file.
16238
16239 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16240 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16241 (byte-compile-initial-macro-environment):
16242 Handle declare-function here.
16243 (byte-compile--lexical-environment): New var.
16244 (byte-stack-ref, byte-stack-set, byte-discardN)
16245 (byte-discardN-preserve-tos): New lap codes.
16246 (byte-interactive-p): Don't use any more.
16247 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16248 New macros.
16249 (byte-compile-lapcode): Use them and handle new lap codes.
16250 (byte-compile-obsolete): Remove.
16251 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16252 (byte-compile-arglist-warn): Check late def of inlinable funs.
16253 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16254 since they should have been expanded by now.
16255 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16256 (byte-compile-from-buffer): Remove unused second arg.
16257 (byte-compile-preprocess): New function.
16258 (byte-compile-toplevel-file-form): New function to distinguish
16259 file-form calls from outside from file-form calls from hunk-handlers.
16260 (byte-compile-file-form): Simplify.
16261 (byte-compile-file-form-defsubst): Remove.
16262 (byte-compile-file-form-defmumble): Simplify now that
16263 byte-compile-lambda always returns a byte-code-function.
16264 (byte-compile): Preprocess.
16265 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16266 Remove, not used any more.
16267 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16268 (byte-compile-make-args-desc): New funs.
16269 (byte-compile-lambda): Handle lexical functions. Always return
16270 a byte-code-function.
16271 (byte-compile-reserved-constants): New var, to make up room for
16272 closed-over variables.
16273 (byte-compile-constants-vector): Obey it.
16274 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16275 (byte-compile-macroexpand-declare-function): New function.
16276 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16277 byte-code-functions.
16278 (byte-compile-form): Check obsolescence here.
16279 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16280 (byte-compile-variable-ref): Remove.
16281 (byte-compile-dynamic-variable-op): New fun.
16282 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16283 (byte-compile-variable-set): New funs.
16284 (byte-compile-discard): Add 2 args.
16285 (byte-compile-stack-ref, byte-compile-stack-set)
16286 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16287 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16288 macroexpand-all instead.
16289 (byte-compile-quote-form): Remove.
16290 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16291 (byte-compile-bind, byte-compile-unbind): New funs.
16292 (byte-compile-let): Handle let* and lexical binding.
16293 (byte-compile-let*): Remove.
16294 (byte-compile-catch, byte-compile-unwind-protect)
16295 (byte-compile-track-mouse, byte-compile-condition-case):
16296 Handle a new :fun-body form, used for lexical scoping.
16297 (byte-compile-save-window-excursion)
16298 (byte-compile-with-output-to-temp-buffer): Remove.
16299 (byte-compile-defun): Simplify.
16300 (byte-compile-stack-adjustment): New fun.
16301 (byte-compile-out): Use it.
16302 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16303
16304 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16305 handler any more.
16306
16307 * emacs-lisp/byte-opt.el: Use lexical binding.
16308 (byte-inline-lapcode): Remove (to bytecomp).
16309 (byte-compile-inline-expand): Pay attention to inlining to/from
16310 lexically bound code.
16311 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16312 any more.
16313 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16314 any more and don't call compiler-macros.
16315 (byte-compile-splice-in-already-compiled-code): Remove.
16316 (byte-code): Don't inline any more.
16317 (disassemble-offset): Receive `bytes' as argument rather than via
16318 dynamic scoping.
16319 (byte-compile-tag-number): Declare before first use.
16320 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16321 `return' even if make-spliceable.
16322 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16323 obsolete interactive-p.
16324 (byte-optimize-lapcode): Optimize new lap-codes.
16325 Don't trip up on new form of `byte-constant' lap code.
16326
16327 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16328
16329 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16330
16331 * custom.el (custom-initialize-default, custom-declare-variable):
16332 Use `defvar'.
16333
16334 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16335 New variables.
16336 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16337 (COMPILE_FIRST): Add macroexp and cconv.
16338 * makefile.w32-in: Mirror changes in Makefile.in.
16339
16340 * vc/cvs-status.el:
16341 * vc/diff-mode.el:
16342 * vc/log-edit.el:
16343 * vc/log-view.el:
16344 * vc/smerge-mode.el:
16345 * textmodes/bibtex-style.el:
090bd7cb 16346 * textmodes/css-mode.el:
03408648
SM
16347 * startup.el:
16348 * uniquify.el:
da91b5f2
CY
16349 * minibuffer.el:
16350 * newcomment.el:
16351 * reveal.el:
16352 * server.el:
16353 * mpc.el:
16354 * emacs-lisp/smie.el:
16355 * doc-view.el:
16356 * dired.el:
03408648
SM
16357 * abbrev.el: Use lexical binding.
16358
0f0c1f27
EZ
163592011-04-01 Eli Zaretskii <eliz@gnu.org>
16360
16361 * info.el (info-display-manual): New function.
16362
c82b2579
SM
163632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16364
16365 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16366
221ddf68
TH
163672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16368
16369 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16370 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16371
cba6e77e
GM
163722011-03-31 Glenn Morris <rgm@gnu.org>
16373
e040639f
GM
16374 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16375
cba6e77e
GM
16376 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16377
6d0f1c9e
CS
163782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16379
16380 * progmodes/python.el (python-default-interpreter)
16381 (python-python-command-args, python-jython-command-args)
16382 (python-which-shell, python-which-args, python-which-bufname)
16383 (python-file-queue, python-comint-output-filter-function)
16384 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16385 variables and functions.
16386
3e2d70fd
SM
163872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16388
16389 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16390 (completion-in-region-mode): New minor mode.
16391 (completion-in-region): Use it.
16392 (completion-in-region--data, completion-in-region-mode-map): New vars.
16393 (completion-in-region--postch): New function.
16394 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16395 New vars.
16396 (completion--capf-wrapper): New function.
16397 (completion-at-point): Use it to track well-behavedness of
16398 hook functions.
16399 (completion-help-at-point): New command.
16400
f3e4086c
JM
164012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16402
16403 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16404 syntax class to search for whitespace on a single line
16405 (Message-ID: <4D938140.4030905@redhat.com>).
16406
eb7ffc14
LL
164072011-03-30 Leo Liu <sdl.web@gmail.com>
16408
16409 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16410 New commands.
16411 (edit-abbrevs-map): Bind them here.
16412 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16413
d806ab68
KM
164142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16415
16416 * allout.el (allout-hide-by-annotation, allout-flag-region):
16417 Reduce possibility of overlay leakage by making them volatile.
16418
16419 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16420 hash is not shared between buffers. Mode initialization is
16421 responsible for giving it a useful starting value.
16422 (allout-item-span): Reduce possibility of overlay leakage by
16423 making them volatile.
16424 (allout-widgets-count-buttons-in-region): Add diagnostic function
16425 for tracking down button overlay leaks.
16426
ea622834
LL
164272011-03-29 Leo Liu <sdl.web@gmail.com>
16428
16429 * ido.el (ido-read-internal): Use the default history var
16430 minibuffer-history if no HISTORY is specified.
16431
b62f8267
G
164322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16433
03408648
SM
16434 * net/imap.el (imap-shell-open, imap-process-connection-type):
16435 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16436 Kerberos, SSL, other subprocesses.
16437
947b6566
LL
164382011-03-28 Leo Liu <sdl.web@gmail.com>
16439
16440 * abbrev.el (abbrev-table-empty-p): New function.
16441 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16442 nonempty ones. (Bug#5937)
16443
5ffb62aa
JD
164442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16445
16446 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16447
7a097943
LL
164482011-03-27 Leo Liu <sdl.web@gmail.com>
16449
16450 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16451 for foreground and background colors.
16452 (ansi-color-make-color-map): Adapt.
16453
c5b40130
LL
164542011-03-25 Leo Liu <sdl.web@gmail.com>
16455
1f48f7d2
LL
16456 * midnight.el (midnight-time-float): Remove. Note it calculates
16457 the microsecond component incorrectly and seconds-to-time does the
16458 same job.
625897ec 16459 Remove redundant (require 'timer).
1f48f7d2 16460
c5b40130
LL
16461 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16462 (ido-completions): Remove unused arguments. (Bug#8329)
16463
d86d2721
SM
164642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16465
16466 * minibuffer.el (completion--flush-all-sorted-completions):
16467 Remove itself from hook.
16468 (completion-at-point): Let the functions perform the completion
16469 immediately and return nil or t.
16470 * comint.el (comint-dynamic-complete-functions): Now identical to
16471 completion-at-point-functions.
16472 (comint-dynamic-list-input-ring): Remove unused var `index'.
16473 (comint--match-partial-filename, comint--unquote&expand-filename):
16474 New funs, split from comint-match-partial-filename.
16475 (comint-dynamic-complete): Use completion-at-point.
16476 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16477
e8974c48
DA
164782011-03-24 Drew Adams <drew.adams@oracle.com>
16479
16480 * thingatpt.el: Support `defun'.
16481
def71b5e
LL
164822011-03-23 Leo Liu <sdl.web@gmail.com>
16483
cb5af48e
LL
16484 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16485
def71b5e
LL
16486 * help-mode.el (help-mode-finish): Tweak regexp.
16487
927c53e7
GM
164882011-03-23 Glenn Morris <rgm@gnu.org>
16489
18d05bed
GM
16490 * eshell/esh-opt.el (eshell-eval-using-options):
16491 Do not bind unused local variable `eshell-option-stub'.
16492
927c53e7
GM
16493 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16494
9d0da923
JB
164952011-03-22 Juanma Barranquero <lekktu@gmail.com>
16496
16497 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16498 keymap variable in `with-no-warnings' to avoid a warning when the
16499 keymap has been already `defconst'ed.
16500
4b978a67
LL
165012011-03-22 Leo Liu <sdl.web@gmail.com>
16502
16503 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16504 encode all chars in abbrevs; otherwise use emacs-mule or
16505 utf-8-emacs. (Bug#8308)
16506
5fd62452
JB
165072011-03-22 Juanma Barranquero <lekktu@gmail.com>
16508
0b1596c6
JB
16509 * simple.el (backward-delete-char-untabify):
16510 Avoid warning about using `delete-backward-char'.
16511
5fd62452
JB
16512 * image.el (image-type-file-name-regexps): Make it variable.
16513 `imagemagick-register-types' modifies it, and the user may want
16514 to add new extensions for known image types.
16515 (imagemagick-register-types): Throw error if not using ImageMagick.
16516
0b4e93f1
LL
165172011-03-22 Leo Liu <sdl.web@gmail.com>
16518
16519 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16520 located before rcirc-prompt-end-marker.
16521 (rcirc-complete): Error if point is not after rcirc prompt.
16522 Handle the case when table is nil.
9882e214 16523 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16524
fccee4ab
CY
165252011-03-22 Chong Yidong <cyd@stupidchicken.com>
16526
16527 * custom.el (custom--inhibit-theme-enable): Make it affect only
16528 custom-theme-set-variables and custom-theme-set-faces.
16529 (provide-theme): Ignore custom--inhibit-theme-enable.
16530 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16531 (custom-enabling-themes): Delete variable.
d86d2721
SM
16532 (enable-theme): Accept only loaded themes as arguments.
16533 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16534 (custom-enabled-themes): Forbid themes from setting this.
16535 Eliminate use of custom-enabling-themes.
16536 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16537
af896da6
LL
165382011-03-21 Leo Liu <sdl.web@gmail.com>
16539
16540 * ido.el (ido-read-internal): Add ido-selected to history instead
16541 of user input.
16542
78f64af0
SM
165432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16544
16545 * subr.el (deferred-action-list, deferred-action-function):
16546 Mark obsolete.
16547
b16ac1ec
LL
165482011-03-21 Leo Liu <sdl.web@gmail.com>
16549
810f7698
LL
16550 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16551 change on 2011-02-13 (bug#8309).
16552
b16ac1ec
LL
16553 * minibuffer.el (read-file-name-function): Change default value.
16554 (read-file-name--defaults): Rename from read-file-name-defaults.
16555 (read-file-name-default): Rename from read-file-name.
16556 (read-file-name): Call read-file-name-function.
16557
4e05e67e
GM
165582011-03-21 Glenn Morris <rgm@gnu.org>
16559
16560 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16561 Doc fixes.
16562
4359915b
CY
165632011-03-21 Chong Yidong <cyd@stupidchicken.com>
16564
16565 * cus-theme.el: Add missing provide statement.
16566 (customize-create-theme): Extract theme value correctly.
16567 (custom-theme-visit-theme): Autoload.
16568 (customize-create-theme): Prompt before inserting default faces.
16569
1fe275ee
JB
165702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16571
16572 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16573 units and musical notes.
16574
cd394be1 165752011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16576
16577 * ido.el (ido-read-internal): Use completing-read-default.
16578 (ido-completing-read): Fix compatibility with completing-read.
16579
7d476bde
CO
165802011-03-20 Christian Ohler <ohler@gnu.org>
16581
16582 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16583 (ert-delete-all-tests): Use `called-interactively-p' rather than
16584 `interactive-p'.
16585 (ert--make-xrefs-region): Respect END.
16586
fe0fb33e
CY
165872011-03-19 Chong Yidong <cyd@stupidchicken.com>
16588
ff854b0b
CY
16589 * dired-aux.el (dired-create-directory): Signal an error if the
16590 directory already exists (Bug#8246).
16591
fe0fb33e
CY
16592 * facemenu.el (list-colors-display): Call list-faces-display
16593 inside with-help-window.
16594 (list-colors-print): Use display property to align the final
16595 column, instead of checking window-width.
16596
576bce32
EZ
165972011-03-19 Eli Zaretskii <eliz@gnu.org>
16598
4d61f28d 16599 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16600 windows-nt systems.
16601 (emerge-protect-metachars): Quote correctly for ms-dos and
16602 windows-nt systems.
16603
89c41d68 166042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16605
16606 * info.el (info-initialize): Replace all uses of `:' with
16607 path-separator for compatibility with non-Unix systems.
16608 Cache quoting of path-separator. (Bug#8258)
16609
b14e3e21 166102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16611
16612 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16613 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16614 (mouse-avoidance-mode): Fix typos in docstrings.
16615
4525ce3e
CY
166162011-03-19 Chong Yidong <cyd@stupidchicken.com>
16617
16618 * startup.el (package-subdirectory-regexp): Move from package.el.
16619 Omit \\` and \\', and let callers add them.
16620
16621 * emacs-lisp/package.el (package-strip-version)
16622 (package-load-all-descriptors): Add \\` and \\' to
16623 package-subdirectory-regexp before using it.
16624 (package-untar-buffer): New arg DIR; ensure that file untars only
16625 into this expected directory. Remove superfluous delete-region.
16626 (package-unpack): Caller changed.
16627 (package-tar-file-info): Use package-subdirectory-regexp.
16628
a904a09a 166292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16630
a904a09a
SM
16631 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16632 diff-mode-shared-map (bug#8284).
16633 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16634
166352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16636
16637 * calendar/time-date.el (format-seconds): Use assoc instead of
16638 assoc-string, since assoc-string doesn't exist in XEmacs.
16639
171fc304
JB
166402011-03-17 Juanma Barranquero <lekktu@gmail.com>
16641
16642 * custom.el (custom-known-themes): Reflow docstring.
16643 (custom-theme-load-path): Fix typo in docstring.
16644 (load-theme): Fix typo in error message.
16645 (custom-available-themes, custom-variable-theme-value):
16646 Use `let', not `let*'.
16647
d71990a1
JB
166482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16649
16650 * calc/README: Mention inclusion of musical notes.
16651
16652 * calc/calc-units.el (calc-lu-quant): Rename from
16653 `calc-logunits-quantity'.
16654 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16655 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16656 (calc-db): Rename from `calc-dblevel'.
16657 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16658 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16659 (calc-np): Rename from `calc-nplevel'.
16660 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16661 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16662 (calc-lu-plus): Rename from `calc-logunits-add'.
16663 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16664 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16665 (calc-lu-minus): Rename from `calc-logunits-sub'.
16666 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16667 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16668 (calc-lu-times): Rename from `calc-logunits-mul'.
16669 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16670 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16671 (calc-lu-divide): Rename from `calc-logunits-div'.
16672 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16673 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16674
16675 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16676 functions being autoloaded.
16677
16678 * calc/calc.el (calc-lu-power-reference): Rename from
16679 `calc-logunits-power-reference'.
16680 (calc-lu-field-reference): Rename from
16681 `calc-logunits-field-reference'.
16682
7a71b18d
GM
16683 * calc/calc-help.el (calc-l-prefix-help):
16684 Mention musical note functions.
d71990a1 16685
40c2934b
SM
166862011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16687
16688 * minibuffer.el (completion-all-sorted-completions):
16689 Use :completion-cycle-penalty text property if present.
16690
b0911414
KM
166912011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16692
16693 * allout.el (allout-yank-processing): Adjust for new rebulleting
16694 regime so bullet being yanked is used without prompting the user
16695 for a choice.
16696
8a05b668
JB
166972011-03-16 Juanma Barranquero <lekktu@gmail.com>
16698
16699 * startup.el (command-line): Warn the user that _emacs is deprecated.
16700
5ba5fb81
JB
167012011-03-16 Juanma Barranquero <lekktu@gmail.com>
16702
16703 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16704 (delphi-verbose, delphi-comment-face, delphi-string-face)
16705 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16706 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16707 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16708 (delphi-new-comment-line, delphi-font-lock-defaults)
16709 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16710 Fix typos in docstrings.
16711
2dab465b
KM
167122011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16713
5ba5fb81 16714 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16715 Invert the roles of character and string values for INSTEAD, so a
16716 string is used for the more common case of a defaulting prompt.
16717
0adf5618
SM
167182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16719
16720 * progmodes/ruby-mode.el (ruby-backward-sexp):
16721 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16722 * play/gamegrid.el (gamegrid-make-face):
16723 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16724 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16725 * notifications.el (notifications-notify):
16726 * net/xesam.el (xesam-search-engines):
16727 * net/quickurl.el (quickurl-list-insert):
16728 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16729
d72700e5
CY
167302011-03-15 Chong Yidong <cyd@stupidchicken.com>
16731
16732 * startup.el (command-line): Update package subdirectory regexp.
16733
49c5410a
SM
167342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16735
c6eee9aa
SM
16736 * allout.el (allout-abbreviate-flattened-numbering)
16737 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16738
49c5410a
SM
16739 * subr.el (read-char-choice): Only show the cursor after the prompt,
16740 not after the answer.
16741
047b2bb9
KR
167422011-03-15 Kevin Ryde <user42@zip.com.au>
16743
16744 * help-fns.el (variable-at-point): Skip leading quotes, if any
16745 (bug#8253).
16746
0a57d256
SM
167472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16748
16749 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16750 warning message.
16751
77c992bc
MA
167522011-03-14 Michael Albinus <michael.albinus@gmx.de>
16753
16754 * shell.el (shell): When called interactively, offer to change the
16755 shell file name on remote hosts.
16756
eebc475d
TZ
167572011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16758
16759 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16760 integration for LDAP parameters. The host, base, user or binddn,
16761 and secret tokens can be specified in a netrc file, for instance.
16762 This is optional because an `auth-source' parameter must be
16763 specified in the search attributes.
16764
9d05d1ba
JB
167652011-03-13 Juanma Barranquero <lekktu@gmail.com>
16766
16767 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16768
09d9db2c
GM
167692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16770
16771 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16772 into declaration. Remove redundant and harmful binding.
16773
167742011-03-12 Eli Zaretskii <eliz@gnu.org>
16775
16776 * files.el (file-ownership-preserved-p): Pass `integer' as an
16777 explicit 2nd argument to `file-attributes'. If the file's owner
16778 is the Administrators group on Windows, and the current user is
16779 Administrator, consider that a match.
16780
16781 * server.el (server-ensure-safe-dir): Consider server directory
16782 safe on MS-Windows if its owner is the Administrators group while
16783 the current Emacs user is Administrator. Use `=' to compare
16784 numerical UIDs, since they could be integers or floats.
16785
219bd536
JB
167862011-03-12 Juanma Barranquero <lekktu@gmail.com>
16787
16788 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16789
f3afd36b
MA
167902011-03-12 Michael Albinus <michael.albinus@gmx.de>
16791
16792 Sync with Tramp 2.2.1.
16793
16794 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16795
16796 * net/trampver.el: Update release number.
16797
3aaaa6f1
SM
167982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16799
94642599
SM
16800 * progmodes/compile.el (compilation--previous-directory): Fix up
16801 various nil/dead-marker mismatches (bug#8014).
16802 (compilation-directory-properties, compilation-error-properties):
16803 Don't call it at a position past the one we're about to change.
16804
3aaaa6f1
SM
16805 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16806 Disable obsolescence warnings in the file that declares it.
16807
14239447
KM
168082011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16809
099c39a4
JB
16810 * allout-widgets.el (allout-widgets-tally):
16811 Initialize allout-widgets-tally as a hash table rather than nil to
16812 prevent mode-line redisplay warnings. Also, clarify the module
16813 description and fix a comment typo.
14239447 16814
135e287c
JB
168152011-03-11 Juanma Barranquero <lekktu@gmail.com>
16816
16817 * help-fns.el (describe-variable): Don't complete keywords.
16818 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16819
ffbf300e
CY
168202011-03-10 Chong Yidong <cyd@stupidchicken.com>
16821
ba08b241
CY
16822 * emacs-lisp/package.el (package-version-join): Impose a standard
16823 string representation for pre/alpha/beta version lists.
16824 (package-unpack-single): Standardize the directory name by passing
16825 it through package-version-join.
16826 (package-strip-rcs-id): Accept any version string that does not
16827 signal an error in version-to-list.
ffbf300e 16828
f346fd6b
MA
168292011-03-10 Michael Albinus <michael.albinus@gmx.de>
16830
16831 * simple.el (delete-trailing-whitespace): Return nil for the
16832 benefit of `write-file-functions'.
16833
ccb55d27
GM
168342011-03-10 Glenn Morris <rgm@gnu.org>
16835
5ceaac0c
GM
16836 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16837
02da65ff
GM
16838 * vc/vc-git.el (vc-git-program): New option.
16839 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16840 (vc-git--call): Use it.
16841
b2f603cc
GM
16842 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16843
5772caab
GM
16844 * cus-edit.el (Custom-newline): If no button at point, look
16845 for a subgroup button at start-of-line. (Bug#2298)
16846
ccb55d27
GM
16847 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16848
ec6ecaed
JD
168492011-03-10 Julien Danjou <julien@danjou.info>
16850
16851 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16852 `cursor-type' is nil.
16853
9d5aa01d
JB
168542011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16855
16856 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16857
b6a5875b
KM
168582011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16859
7a71b18d 16860 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16861 preserves the existing header prefix, rebulleting it if necessary,
16862 rather than replacing it. This is necessary for proper operation
16863 of cooperative addons like allout-widgets.
1154d12e
JB
16864 (allout-make-topic-prefix, allout-rebullet-heading):
16865 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16866 value as alternate bullet to be used, instead of prompting the user
16867 for a bullet character.
b6a5875b 16868
ee545c35
MA
168692011-03-09 Michael Albinus <michael.albinus@gmx.de>
16870
d86d2721
SM
16871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16872 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16873 `tramp-default-port'.
16874
c47971d7
DD
168752011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16876
16877 * net/rcirc.el (rcirc-handler-001): Remove useless
16878 with-rcirc-process-buffer.
16879 (rcirc-check-auth-status): Swap arguments to string-match.
16880
13522cb4
GM
168812011-03-09 Glenn Morris <rgm@gnu.org>
16882
0be6f4f1
GM
16883 * shell.el (shell-mode):
16884 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16885
13522cb4
GM
16886 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16887 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16888
515de2e3
CY
168892011-03-08 Chong Yidong <cyd@stupidchicken.com>
16890
16891 * emacs-lisp/package.el (package-refresh-contents)
16892 (package-menu-execute): Use condition-case-no-debug.
16893
b511b994
MA
168942011-03-08 Michael Albinus <michael.albinus@gmx.de>
16895
16896 * simple.el (shell-command-to-string): Use `process-file'.
16897
16898 * emacs-lisp/package.el (package-tar-file-info): Handle also
16899 remote files.
16900
d86d2721
SM
16901 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16902 Use `equal' for upload base check.
b511b994 16903
25bbfb31
AM
169042011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16905
16906 * textmodes/texinfo.el (texinfo-environments):
16907 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16908
be996521
GM
169092011-03-08 Glenn Morris <rgm@gnu.org>
16910
e9c8529f
GM
16911 * cus-start.el (cursor-in-non-selected-windows):
16912 Fix :set quoting oddness. (Bug#8192)
16913
be996521
GM
16914 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16915 in some setf expressions. (Bug#2159)
16916
2bb5649e
CY
169172011-03-08 Chong Yidong <cyd@stupidchicken.com>
16918
16919 * custom.el (custom-available-themes): Return themes in
16920 alphabetical order.
16921
33383987 16922See ChangeLog.15 for earlier changes.
e3d51b27
MR
16923
16924;; Local Variables:
16925;; coding: utf-8
e3d51b27
MR
16926;; End:
16927
acaf905b 16928 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16929
16930 This file is part of GNU Emacs.
16931
16932 GNU Emacs is free software: you can redistribute it and/or modify
16933 it under the terms of the GNU General Public License as published by
16934 the Free Software Foundation, either version 3 of the License, or
16935 (at your option) any later version.
16936
16937 GNU Emacs is distributed in the hope that it will be useful,
16938 but WITHOUT ANY WARRANTY; without even the implied warranty of
16939 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16940 GNU General Public License for more details.
16941
16942 You should have received a copy of the GNU General Public License
16943 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.