src/makefile.w32-in ($(BLD)/emacs.$(O)): Update dependencies.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c8e5a42c
MR
12012-07-26 Martin Rudalics <rudalics@gmx.at>
2
3 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4 (mouse-drag-line): Don't exit tracking when a switch-frame or
5 switch-window event occurs (Bug#12006).
6
670d85ea
SM
72012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * mouse.el (popup-menu): Fix last change.
10
7abaf5cc
SM
112012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 Autoload from Lisp with more care. Follow aliases when looking for
14 function properties.
15 * subr.el (autoloadp): New function.
16 (symbol-file): Use it.
17 (function-get): New function.
18 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
19 autoload-do-load.
20 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
21 (lisp-indent-function):
22 * emacs-lisp/gv.el (gv-get):
23 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
24 * emacs-lisp/byte-opt.el (byte-optimize-form):
25 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
26 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
27 Use function-get.
28 * emacs-lisp/cl.el: Don't propagate function properties any more.
29
30 * speedbar.el (speedbar-add-localized-speedbar-support):
31 * emacs-lisp/disass.el (disassemble-internal):
32 * desktop.el (desktop-load-file):
33 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
34 (describe-function-1):
35 * emacs-lisp/find-func.el (find-function-noselect):
36 * emacs-lisp/elp.el (elp-instrument-function):
37 * emacs-lisp/advice.el (ad-has-proper-definition):
38 * apropos.el (apropos-safe-documentation, apropos-macrop):
39 * emacs-lisp/debug.el (debug-on-entry):
40 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
41 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
42 * calc/calc.el (name): Use autoloadp & autoload-do-load.
43
b1364986
AA
442012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
45
46 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
47 function, not an obsolete variable (Bug#12046).
48
67ada220
AS
492012-07-25 Andreas Schwab <schwab@linux-m68k.org>
50
51 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
52
f08088e3
CS
532012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
54
55 * emacs-lisp/pp.el (pp-display-expression): Select old selected
56 window only if it is still live (Bug#12034).
57
8137e7b3
MR
582012-07-25 Martin Rudalics <rudalics@gmx.at>
59
60 * subr.el (redirect-frame-focus): Add advertised calling
61 convention (Bug#12030).
62
09ae5da1
PE
632012-07-25 Paul Eggert <eggert@cs.ucla.edu>
64
65 Prefer typical American spelling for "acknowledgment".
66 * vc/add-log.el (change-log-acknowledgment): Rename from
67 change-log-acknowledgement, with an alias for the old name.
68
3cc5a3a8
JB
692012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
70
71 * calc-alg.el (math-simplify-divide): Don't cross multiply
72 in an equation when the lhs is a variable.
73
b7af7f62
JD
742012-07-24 Julien Danjou <julien@danjou.info>
75
76 * net/netrc.el (netrc-find-service-number, netrc-store-data):
77 Remove, unused.
78
ec1b09b1
EZ
792012-07-23 Eli Zaretskii <eliz@gnu.org>
80
81 * startup.el (command-line): Don't display an empty user name in
82 the error message about non-existent home directory, when
83 init-file-user was set to an empty string. See
84 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
85 for the details and context.
86
b525fd8a
VB
872012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
88
89 * ses.el (ses-cell-formula-aset): New macro.
90 (ses-cell-references-aset): New macro.
91 (ses-cell-p): New function.
92 (ses-rename-cell): Do no longer rely on complex operations like
93 ses-cell-set-formula or ses-set-cell to change the cell and handle
94 the undo at the same time, but rather use lower level new macros
95 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
96 the undo directly. Refresh the mode line.
97
2c73e345
LL
982012-07-21 Leo Liu <sdl.web@gmail.com>
99
670d85ea
SM
100 * progmodes/cc-cmds.el (c-defun-name):
101 Use match-string-no-properties instead for consistency.
2c73e345 102
542dfbde
LL
1032012-07-20 Leo Liu <sdl.web@gmail.com>
104
3646bcd6
LL
105 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
106 (Bug#7879)
107
542dfbde
LL
108 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
109
25721031
CY
1102012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
113 * progmodes/bug-reference.el, misearch.el: Provide themselves
114 (bug#11915).
115
116 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
117 of narrowed buffer (bug#11966).
118
316e68a7
VB
1192012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
120
121 * ses.el (ses-rename-cell): Set new name also in reference list of
122 cells of which the renamed cell depends.
123
bbf0e7d9
MY
1242012-07-20 Masatake YAMATO <yamato@redhat.com>
125
126 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
127 to check whether menu-bar is shown or not. If not shown,
128 show the menu-bar as a popup menu instead of using tmm.
129 * mouse.el (popup-menu): Accept `point' as `position' argument.
130
c28662a8
DG
1312012-07-20 Dmitry Gutov <dgutov@yandex.ru>
132
133 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
134 up inside string symbol literal (bug#11923).
135
87ab808f
EZ
1362012-07-20 Eli Zaretskii <eliz@gnu.org>
137
138 * startup.el (fancy-startup-text): Read the whole tutorial, not
139 just its first 256 bytes. Prevents gibberish in display of the
140 tutorial title.
141
89dea803
DA
1422012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
143
144 Drop idle buffer compaction due to an absence of the
145 proved efficiency.
146 * compact.el: Remove.
147
8a4e6db8
SS
1482012-07-19 Sam Steingold <sds@gnu.org>
149
150 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
151 vc-bzr-pull & vc-bzr-merge-branch.
152 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
153 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
154 for consistency with compilation-error-regexp-alist.
155 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
156 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
157 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
158 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
159
5db81e33
SM
1602012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * emacs-lisp/chart.el: Use lexical-binding.
163 (chart-emacs-storage): Don't hardcode the list of entries.
164
5b835e1d
DA
1652012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
166
167 Next round of tweaks caused by Fgarbage_collect changes.
168 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
169
9cd47b72
DA
1702012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
171
172 Compact buffers when idle.
173 * compact.el: New file.
174
1d6fc0df
SM
1752012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * subr.el (eventp): Presume that if it looks vaguely like an event,
178 it's an event (bug#10190).
179
1d29cc7d
FEG
1802012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
181
182 Enhancements to ppss related code (thanks Stefan).
183 * progmodes/python.el (python-indent-context)
184 (python-indent-calculate-indentation, python-indent-dedent-line)
185 (python-indent-electric-colon, python-nav-forward-block)
186 (python-mode-abbrev-table)
1d6fc0df 187 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
188 for ppss context.
189 (python-info-continuation-line-p): Cleanup.
190 (python-info-ppss-context): Do not catch 'quote.
191 (python-info-ppss-context-type)
192 (python-info-ppss-comment-or-string-p): Simplify.
193
d583cbe6
FEG
1942012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
195
196 * progmodes/python.el: Enhancements to eldoc support.
197 (python-info-current-symbol): New function.
198 (python-eldoc-at-point): Use python-info-current-symbol.
199 (python-info-current-defun): Fix cornercase on first defun scan.
200 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
201 and signal error when no inferior python process is available.
202
eceb6feb
DG
2032012-07-18 Dmitry Gutov <dgutov@yandex.ru>
204
205 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
206 assume it's always t.
207 (vc-git-registered): Remove caching, the function is only called
208 once.
209 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
210
4c8ff0fe
CY
2112012-07-18 Chong Yidong <cyd@gnu.org>
212
19fb7186
CY
213 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
214
9587c688
CY
215 * simple.el (count-words): Report on narrowing (Bug#9959).
216
0fe776a1
CY
217 * bindings.el: Bind M-= to count-words.
218
4c8ff0fe
CY
219 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
220
7f5331cc
MY
2212012-07-18 Masatake YAMATO <yamato@redhat.com>
222
223 * progmodes/sh-script.el (sh-imenu-generic-expression):
224 Capture a function with `function' keyword and without parentheses
225 like "function FOO" (bug#11856).
226
2dc2a609
TH
2272012-07-18 Tassilo Horn <tassilo@member.fsf.org>
228
229 * window.el (split-window-sensibly): Make WINDOW argument
230 optional.
231
439f7677
CY
2322012-07-18 Chong Yidong <cyd@gnu.org>
233
9aeb25a6
CY
234 * subr.el (keyboard-translate): Doc fix (Bug#7261).
235
439f7677
CY
236 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
237 and make C-x 8 RET exit isearch (Bug#11439).
238
239 * international/iso-transl.el: Move isearch-mode-map key
240 definitions to isearch.el.
241
12999ea8
SM
2422012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
245 (eieio-defclass): Use gv-define-setter when possible.
246
3ab6e069
DA
2472012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
248
249 Reflect recent changes in Fgarbage_collect.
250 * emacs-lisp/chart.el (chart-emacs-storage): Change to
251 reflect new format of data returned by Fgarbage_collect.
252
0a60bc10
FEG
2532012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
254
255 New utility functions + python-info-ppss-context fix (Bug#11910).
256 * progmodes/python.el (python-info-beginning-of-block-statement-p)
257 (python-info-ppss-comment-or-string-p): New functions.
258 (python-info-ppss-context): Small fix for string check.
259
6dafa0d5
JL
2602012-07-17 Juri Linkov <juri@jurta.org>
261
262 * dired-aux.el (dired-do-async-shell-command): Doc fix.
263 (dired-do-async-shell-command): Don't add `*' at the end of the
264 command (Bug#11815).
265 (dired-do-shell-command): Doc fix.
266 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
267 Join the individual commands using either "&" or ";" as the
268 separator depending on the values of these trailing characters.
269 At the end re-add the trailing "&". (Bug#10598)
270
271 * simple.el (async-shell-command): Sync the interactive spec with
272 `shell-command'. Doc fix.
273 (shell-command): Doc fix.
274
b19dd9d1
JL
2752012-07-17 Juri Linkov <juri@jurta.org>
276
277 * descr-text.el (describe-char): Fix format args. (Bug#10129)
278
bcdc27d7 2792012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 280
bcdc27d7 281 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
282 * progmodes/python.el (python-nav-beginning-of-statement):
283 Rename from python-nav-statement-start.
bcdc27d7
FEG
284 (python-nav-end-of-statement): Rename from
285 python-nav-statement-end.
286 (python-nav-beginning-of-block): Rename from
287 python-nav-block-start.
288 (python-nav-end-of-block): Rename from python-nav-block-end.
289
191da00e
FEG
2902012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
291
7f5331cc
MY
292 * progmodes/python.el (python-shell-send-string-no-output):
293 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
294 future interactions (Bug#11868).
295
4dc7c8d5 2962012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 297
88ecaf8f
SM
298 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
299
ef501ef0
SM
300 * emacs-lisp/elint.el (elint-find-args-in-code):
301 Use help-function-arglist, so as to handle lexical byte-code.
302
aa7aaf8f
SM
303 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
304 change (bug#11826).
305
45fd731c
SM
3062012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
307
2143fa32
SM
308 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
309 Avoid spuriously marking the buffer as modified because of c-is-sws.
310
efc26dbe
SM
311 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
312 as not-a-comment (bug#11946).
313
f5695c9a
SM
314 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
315 for uninterned vars.
316
317 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
318 Use read-event since we don't really want to read chars but bytes.
319
45fd731c
SM
320 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
321 $$..$$ but also $..$ using regexps (bug#11953).
322 Use tex-verbatim for \url and \path.
323 (tex-font-lock-keywords): Define as defconst like the others.
324 (tex-common-initialization): Don't use font-lock-syntax-table any more.
325
ddfc8813
RK
3262012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
327
328 * international/mule-cmds.el (ucs-insert): Make it an obsolete
329 alias for insert-char.
330
758e556a
FEG
3312012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
332
333 * progmodes/python.el: Simplified imenu implementation.
334 (python-nav-jump-to-defun): Remove command.
335 (python-mode-map): Use `imenu' instead.
336 (python-nav-list-defun-positions-cache)
337 (python-imenu-include-defun-type, python-imenu-make-tree)
338 (python-imenu-subtree-root-label, python-imenu-index-alist):
339 Remove vars.
340 (python-nav-list-defun-positions, python-nav-read-defun)
341 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
342 (python-imenu-make-tree, python-imenu-create-index):
343 Remove functions.
758e556a
FEG
344 (python-mode): Update to interact with imenu by setting
345 `imenu-extract-index-name-function' only.
346
032d23ab
FEG
3472012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
348
349 * progmodes/python.el: Enhancements to navigation commands.
350 (python-nav-backward-sentence)
351 (python-nav-forward-sentence): Remove.
352 (python-nav-backward-statement, python-nav-forward-statement)
353 (python-nav-statement-start, python-nav-statement-end)
354 (python-nav-backward-block, python-nav-forward-block)
355 (python-nav-block-start, python-nav-block-end)
356 (python-nav-forward-sexp-function)
357 (python-info-current-line-comment-p)
358 (python-info-current-line-empty-p): New functions.
359 (python-indent-context): Use `python-nav-statement-start'.
360
01795a1b
MA
3612012-07-16 Michael Albinus <michael.albinus@gmx.de>
362
9328d9aa
MA
363 * eshell/em-ls.el (eshell/ls): Use `apply'.
364
365 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
366 multi-hops, instead of Tramp internals.
367
01795a1b
MA
368 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
369
370 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
371 when F1 and F2 are located on different hosts.
372
63408057
CY
3732012-07-14 Chong Yidong <cyd@gnu.org>
374
375 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
376 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
377 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
378 (xterm-mouse--read-event-sequence-1000)
379 (xterm-mouse--read-event-sequence-1006): New functions. For old
380 mouse protocol, handle M-mouse-X events correctly.
381 (xterm-mouse-event): New arg specifying mouse protocol.
382 (turn-on-xterm-mouse-tracking-on-terminal)
383 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
384 sequence to toggle extended coordinates on newer XTerms.
385 This appears to be harmless on terminals which do not support this.
63408057 386
cd276f6e
LL
3872012-07-14 Leo Liu <sdl.web@gmail.com>
388
28ca98ac
LL
389 Add fringe bitmap indicators for flymake. (Bug#11253)
390 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
391 (flymake-make-overlay): New arg BITMAP.
392 (flymake-error-bitmap, flymake-warning-bitmap)
393 (flymake-fringe-indicator-position): New user variables.
394
cd276f6e
LL
395 * fringe.el: New bitmap exclamation-mark.
396
04408072
JD
3972012-07-14 Jan Djärv <jan.h.d@swipnet.se>
398
399 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
400 also (Bug#7879).
401
b5cf7fc4
CY
4022012-07-14 Chong Yidong <cyd@gnu.org>
403
404 * electric.el (electric-pair-post-self-insert-function): Fix pair
405 insertion in empty-region case (Bug#11520).
406
be755c79
RT
4072012-07-14 Chong Yidong <cyd@gnu.org>
408
45fd731c
SM
409 * bindings.el: Consolidate ctl-x-r-map bindings.
410 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
411
412 * rect.el, register.el: Move bindings to bindings.el.
413
4142012-07-14 Reuben Thomas <rrt@sc3d.org>
415
416 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
417
7f5b3198
AS
4182012-07-13 Andreas Schwab <schwab@linux-m68k.org>
419
420 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
421
97662200
JB
4222012-07-13 Juanma Barranquero <lekktu@gmail.com>
423
80185fed
JB
424 * bindings.el (top): Use `mapc' instead of `mapcar'.
425
97662200
JB
426 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
427
2bb1ae55
MA
4282012-07-13 Michael Albinus <michael.albinus@gmx.de>
429
430 * progmodes/sql.el (sql-comint): Suppress the check for program on
431 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
432 (Bug#11908)
433
dea31bd3
CY
4342012-07-13 Chong Yidong <cyd@gnu.org>
435
436 * bindings.el: Assign a non-nil permanent-local property to
437 per-buffer variables which lack a default value (Bug#11930).
438
439 * help-fns.el (describe-variable): In the "automatically becomes
440 local" notice, take note of permanent-local variables.
441
b68b3337
CY
4422012-07-13 Chong Yidong <cyd@gnu.org>
443
444 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
445 to allow printing the message when called from Lisp.
446
447 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
448 Remove toggle-read-only.
449
450 * bs.el (bs-toggle-readonly):
45fd731c
SM
451 * buff-menu.el (Buffer-menu-toggle-read-only):
452 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
453
454 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
455 Remove with-no-warnings around toggle-read-only.
456 (ffap-read-only, ffap-read-only-other-window)
457 (ffap-read-only-other-frame): Callers changed.
458
459 * help-mode.el: Don't require view package.
460 (help-mode-finish): Set buffer-read-only instead of calling
461 toggle-read-only.
462
463 * bindings.el (mode-line-toggle-read-only):
464 * dired.el (dired-toggle-read-only):
465 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
466 with non-nil second arg.
467
468 * emacs-lisp/eieio-custom.el (eieio-customize-object):
469 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
470 directly.
471
56bc1586
EZ
4722012-07-12 Eli Zaretskii <eliz@gnu.org>
473
474 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
475 not incf.
476
a464a6c7
SM
4772012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 More CL cleanups and reduction of use of cl.el.
480 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
481 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
482 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
483 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
484 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
485 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
486 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
487 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
488 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
489 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
490 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
491 * eshell/em-cmpl.el, eshell/em-banner.el:
492 * calendar/parse-time.el: Use cl-lib.
493 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
494 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
495 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
496 * term/ns-win.el, term.el, shell.el, ps-samp.el:
497 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
498 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
499 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
500 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
501 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
502 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
503 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
504 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
505 `lambda' rather than with `quote'.
506 (eshell-do-opt): Adjust accordingly.
507 (eshell-process-option): Simplify.
508 * eshell/esh-var.el:
509 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
510 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
511 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
512 to `pcase--dontcare'.
513 * emacs-lisp/cl.el (labels): Mark obsolete.
514 (cl--letf, letf): Move to cl-lib.
515 (cl--letf*, letf*): Remove.
516 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
517 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
518 (cl-progv): Rewrite.
519 (cl--letf, cl-letf): Move from cl.el.
520 (cl-letf*): New macro.
521 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
522
7ad4afe1
MA
5232012-07-11 Michael Albinus <michael.albinus@gmx.de>
524
525 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
526
9af57756
CY
5272012-07-11 Chong Yidong <cyd@gnu.org>
528
529 * vc/log-edit.el (log-edit-vc-backend): New variable.
530 (log-edit): Doc fix.
531
532 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
533 argument of log-edit to set up all local variables.
534 (vc-start-logentry): New optional arg specifying VC backend.
535
536 * vc/vc.el (vc-checkin): Use it.
537 (vc-deduce-fileset): Handle Log Edit buffers.
538 (vc-diff): Make first argument optional too.
539
540 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
541
8477cc7a
MA
5422012-07-10 Michael Albinus <michael.albinus@gmx.de>
543
544 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
545 command, just in case. The function is not needed anymore.
546 (eshell-external-command): Do not call `eshell-remote-command'.
547
19faa8e8
SM
5482012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
549
f58e0fd5
SM
550 Reduce use of (require 'cl).
551 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
552 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
553 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
554 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
555 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
556 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
557 * battery.el, avoid.el, abbrev.el: Use cl-lib.
558 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
559 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
560 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
561 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
562 * calculator.el, autorevert.el, apropos.el: Don't require CL.
563 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
564 (byte-compile-unfold-bcf, byte-compile-check-variable):
565 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
566 (byte-compile-nilconstp):
567 * emacs-lisp/autoload.el (make-autoload): Use pcase.
568 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
569
2519d43a
SM
570 * emacs-lisp/gv.el (cond): Make it a valid place.
571 (if): Simplify slightly.
572
19faa8e8
SM
573 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
574 (pcase--self-quoting-p): New function.
575 (pcase--u1): Use it.
576
c4907a5e
GM
5772012-07-10 Glenn Morris <rgm@gnu.org>
578
579 * emacs-lisp/authors.el (authors-fixed-entries):
580 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
581
c4444d16
PE
5822012-07-09 Paul Eggert <eggert@cs.ucla.edu>
583
584 Rename configure.in to configure.ac (Bug#11603).
585 * emacs-lisp/authors.el (authors-canonical-file-name):
586 * progmodes/autoconf.el (autoconf-mode):
587 Prefer configure.ac to configure.in.
588
d75be97d
CY
5892012-07-08 Chong Yidong <cyd@gnu.org>
590
01ac65bd
CY
591 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
592 Implement the mouse-1-click-follows-link handling properly.
593
594 * info.el (Info-link-keymap): Use follow-link mechanism for
595 header-line links (Bug#374).
596
d75be97d
CY
597 * simple.el (deactivate-mark): Do not set the primary selection
598 if another program has acquired it (Bug#11772).
599
87a92845 6002012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
601
602 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
603 (woman-decode-region): Replace escaped-escapes without destroying
604 bold or underline (Bug#11552).
87a92845 605 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 606
621b9d6c
CY
6072012-07-07 Chong Yidong <cyd@gnu.org>
608
609 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
610 (interprogram-cut-function, interprogram-paste-function):
611 Mention that we typically mean the clipboard.
621b9d6c 612
133a11fc
GM
6132012-07-06 Glenn Morris <rgm@gnu.org>
614
0d27a45e
GM
615 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
616
133a11fc
GM
617 * files.el (toggle-read-only): Restrict message to interactive use.
618
07b151f1
MA
6192012-07-06 Michael Albinus <michael.albinus@gmx.de>
620
621 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
622
623 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
624
211b896b
GM
6252012-07-06 Glenn Morris <rgm@gnu.org>
626
50394322
GM
627 * Makefile.in (compile-one-process): Rename from "recompile".
628
211b896b
GM
629 * Makefile.in (bzr-update): "compile" is the same as "recompile
630 autoloads", but parallelizable, so use that instead.
631
4737eec9
DG
6322012-07-06 Dmitry Gutov <dgutov@yandex.ru>
633
634 * window.el (quit-window): Always restore window height when
8137e7b3 635 it's saved in quit-restore parameter (Bug#11810).
4737eec9 636
226c3633 6372012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
638
639 * simple.el (kill-whole-line): Doc tweak.
640
226c3633 6412012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
642
643 * files.el (file-relative-name): Compare file names
644 case-insensitively if on MS-Windows or MS-DOS, or if
645 read-file-name-completion-ignore-case is non-nil. Don't use
646 case-fold-search for this purpose. (Bug#11827)
647
4dc7c8d5
SM
6482012-07-17 Andreas Schwab <schwab@linux-m68k.org>
649
650 * calendar/cal-dst.el (calendar-current-time-zone):
651 Return calendar-current-time-zone-cache if non-nil.
652
6532012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 6542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 655
19faa8e8
SM
656 * calendar/cal-dst.el (calendar-current-time-zone):
657 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 658
60198fc9
GM
6592012-07-06 Glenn Morris <rgm@gnu.org>
660
661 * Makefile.in (cvs-update): Remove old alias.
662
957b3189
MA
6632012-07-05 Michael Albinus <michael.albinus@gmx.de>
664
665 Sync with Tramp 2.2.6-pre.
666
667 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
668 compatible declaration.
669
19faa8e8
SM
670 * net/tramp-cmds.el (tramp-append-tramp-buffers):
671 Protect `list-load-path-shadows' call.
957b3189
MA
672
673 * net/tramp-compat.el (top): Require packages, which aren't
674 autoloaded anymore for XEmacs. Protect call of
675 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
676 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
677 it hurts at least for SXEmacs.
678 (tramp-compat-temporary-file-directory): In XEmacs, there is no
679 standard-value for `temporary-file-directory'.
680
681 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
682 Redirect stderr to /dev/null.
683 (tramp-sh-handle-write-region): uid and gid can be floats.
684 Reported by Russell Sim <russell.sim@gmail.com>.
685 (tramp-sh-handle-vc-registered): Hide errors.
686 (tramp-vc-file-name-handler): Use dummy results for `process-file'
687 and `start-file-process'.
688 (tramp-maybe-open-connection): Check also whether `non-essential'
689 is bound.
690
566df3fc
CY
6912012-07-04 Chong Yidong <cyd@gnu.org>
692
693 * xml.el (xml--parse-buffer): Use xml-syntax-table.
694 (xml-parse-tag): Likewise, and avoid changing entity tables.
695 (xml-syntax-table): Define from scratch, making sure not to give
696 x2000 and other Unicode spaces whitespace syntax, since those are
697 not spaces in XML.
698 (xml-parse-fragment): Delete unused function.
699 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
700 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
701 (xml-entity-ref, xml-pe-reference-re)
702 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
703 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
704 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
705 (xml-entity-value-re): Use syntax references in regexps where
706 possible; no need to define inside a let-binding.
707 (xml-parse-dtd): Use xml-pe-reference-re.
708 (xml-entity-or-char-ref-re): New defconst.
709 (xml-parse-string, xml-substitute-special): Use it.
710
30eabd7a
SM
7112012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
712
0781098a
SM
713 * files.el (locate-dominating-file): Allow `name' to be a predicate.
714 (find-file--read-only): New function.
715 (find-file-read-only, find-file-read-only-other-window)
716 (find-file-read-only-other-frame): Use it.
717 (insert-file-contents-literally): Don't `fset'.
718 (get-free-disk-space): Use locate-dominating-file.
719
b5771c0d
SM
720 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
721 function is already compiled.
722
30eabd7a
SM
723 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
724
b4886f6e
MA
7252012-07-03 Michael Albinus <michael.albinus@gmx.de>
726
727 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
728 files on the same host.
729
b9d82339
AS
7302012-07-03 Andreas Schwab <schwab@linux-m68k.org>
731
732 * help-fns.el (describe-function-1): Only call
733 help-fns--autoloaded-p when we have a file name. (Bug#11848)
734
a76e6535
CY
7352012-07-03 Chong Yidong <cyd@gnu.org>
736
737 * xml.el: Protect parser against XML bombs.
738 (xml-entity-expansion-limit): New variable.
739 (xml-parse-string, xml-substitute-special): Use it.
740 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
741
b544fef2
GM
7422012-07-03 Glenn Morris <rgm@gnu.org>
743
744 * progmodes/bug-reference.el (bug-reference-bug-regexp):
745 Allow linking to specific messages in debbugs reports (eg 123#5).
746
a7aef6f5
CY
7472012-07-02 Chong Yidong <cyd@gnu.org>
748
749 * xml.el: Fix entity and character reference expansion, allowing
750 them to expand into markup as per XML spec.
751 (xml-default-ns): New variable.
752 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
753 (xml-parse-region): Make first two arguments optional.
754 Discard text properties.
755 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
756 All callers changed.
a7aef6f5
CY
757 (xml-parse-tag): Call xml-parse-tag-1. For backward
758 compatibility, this function should not modify buffer contents.
759 (xml-parse-tag-1): Fix opening-tag regexp.
760 (xml-parse-string): Rewrite, handling entity and character
761 references properly.
762 (xml--entity-replacement-text): Signal an error if a parameter
763 entity is undefined.
764
3df31c9f
SM
7652012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
766
2b5208f1
SM
767 * comint.el (comint-output-filter): Filter out repeated prompts.
768
3df31c9f
SM
769 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
770 and file-name-absolute-p.
771 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
772 internal calls.
773
e3ac1281
PE
7742012-07-02 Paul Eggert <eggert@cs.ucla.edu>
775
776 Spelling fixes.
777 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
778 Rename from byte-compile--refiy-function. All uses changed.
779
fbf2e7ad
CY
7802012-07-01 Chong Yidong <cyd@gnu.org>
781
782 * xml.el (xml--parse-buffer): New function. Move most of
783 xml-parse-region here.
784 (xml-parse-region): Copy region into a temporary buffer, since
785 parameter entity substitution requires changing buffer contents.
786 Use xml--parse-buffer.
787 (xml-parse-file): Use xml--parse-buffer.
788 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 789 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 790
9bf0aa15
GM
7912012-06-30 Glenn Morris <rgm@gnu.org>
792
bbce2853
GM
793 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
794
9bf0aa15
GM
795 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
796 Remove outdated and unnecessary dbus declarations.
797
0d23c240
EZ
7982012-06-30 Eli Zaretskii <eliz@gnu.org>
799
800 * emacs-lisp/timer.el (timer-until): Subtract results of
801 float-time, instead of taking float-time of the result of
802 time-subtract, since float-time signals an error for negative time
803 arguments.
804
b3218de1
CY
8052012-06-30 Chong Yidong <cyd@gnu.org>
806
807 * xml.el (xml-*-re): Convert defvars into defconsts, and
808 eval-and-compile them so eval-and-compile works on derivatives.
809 (xml--entity-replacement-text): Use eval-and-comple.
810
a40c87a0
MA
8112012-06-30 Michael Albinus <michael.albinus@gmx.de>
812
813 * vc/vc-git.el (vc-git-registered): Use cache property
814 `git-registered'.
815 (vc-git-mode-line-string): Call `vc-working-revision' instead of
816 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 817 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 818
ac87de97
DG
8192012-06-30 Dmitry Gutov <dgutov@yandex.ru>
820
821 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 822 removed (likely outside Emacs). (Bug#11757)
ac87de97 823
ac10fe06
SM
8242012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
825
3df31c9f 826 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 827
7f3fbd5d
CY
8282012-06-30 Chong Yidong <cyd@gnu.org>
829
830 * xml.el: Implement XML parameter entities.
831 (xml-parameter-entity-alist): New variable.
832 (xml-parse-region, xml-parse-fragment): Preserve previous values
833 of xml-entity-alist and xml-parameter-entity-alist, so that
834 repeated calls on different documents do not change them.
835 (xml-parse-tag): Fix doctype regexp.
836 (xml--entity-replacement-text): New function.
837 (xml-parse-dtd): Use it. Don't handle system entities; doing that
838 properly requires url retrieval which is unimplemented.
839 (xml-escape-string): Doc fix.
840
3cfbebba
SM
8412012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
844
2af3565e
DA
8452012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
846
847 * fringe.el (fringe-mode): Doc fix.
848
929df0e7
MA
8492012-06-29 Michael Albinus <michael.albinus@gmx.de>
850
851 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
852 is non-nil.
853 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
854 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
855
c8d3a25c 8562012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 857
c8d3a25c
GM
858 * calendar/cal-dst.el (calendar-current-time-zone):
859 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 860
c8d3a25c 8612012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
862
863 * progmodes/which-func.el (which-func-format):
864 Add mouse-face. (Bug#11698)
865
c8d3a25c
GM
8662012-06-29 Leo Liu <sdl.web@gmail.com>
867
868 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
869
8702012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * minibuffer.el (minibuffer-confirm-exit-commands):
873 Add completion-at-point (bug#11725).
874
8752012-06-29 Glenn Morris <rgm@gnu.org>
876
877 * progmodes/f90.el (f90-font-lock-keywords-2):
878 Add some preprocessor elements. (Bug#10499)
879
8802012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * progmodes/cperl-mode.el (cperl-update-syntaxification):
883 Use syntax-propertize (bug#11739).
884
2badeec4
JB
8852012-06-28 Juanma Barranquero <lekktu@gmail.com>
886
887 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
888
ae4969c2
JD
8892012-06-28 Julien Danjou <julien@danjou.info>
890
891 * term.el (term-handle-colors-array): Use a set of new faces to
892 color the terminal. Also uses :inverse-video property.
893 (term-default-fg-color): Set to nil by default, deprecate in favor
894 of `term-face'.
895 (term-default-bg-color): Set to nil by default, deprecate in favor
896 of `term-face'.
897 (term-current-face): Use `term-face' by default.
898 (term-bold-attribute): Variable deleted.
899
1c9bd870
GM
9002012-06-28 Glenn Morris <rgm@gnu.org>
901
902 * simple.el (completion-list-mode-finish):
903 Don't use toggle-read-only. (Since completion-list-mode has
904 a special mode-class, it wasn't doing anything extra anyway.)
905
c207708c
SM
9062012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 Make inlining of other-mode interpreted functions work (bug#11799).
909 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
910 (byte-compile): Use it to fix compilation of lexical-binding closures.
911 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
912 function, if needed.
913
3fd56834
SM
9142012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
915
04901786
SM
916 * help-mode.el (help-make-xrefs): Don't just withstand
917 cyclic-variable-indirection but any error in documentation-property.
918
1ec4b7b2
SM
919 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
920 memory use.
921 * bindings.el (bindings--define-key): New function.
922 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
923 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
924 * bindings.el: Use it to purecopy define-key bindings.
925
e309e2a5
SM
926 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
927
d5c6faf9
SM
928 * emacs-lisp/cl.el (flet): Mark obsolete.
929 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
930 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
931 * progmodes/js.el (js-c-fill-paragraph):
932 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
933 (ebrowse-switch-member-buffer-to-derived-class):
934 * play/5x5.el (5x5-solver): Use cl-flet.
935
6e9590e2
SM
936 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
937 (cl--symbol-function): New macro.
938 (cl--letf, cl--letf*): Use it.
939
3fd56834
SM
940 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
941 Strip "toggle-" if any.
942
35ff222c
GM
9432012-06-27 Glenn Morris <rgm@gnu.org>
944
1ba6038a
GM
945 * info.el (Info-default-directory-list): Move here from paths.el.
946 * paths.el: Remove file, which is now empty.
947 * loadup.el: No longer load "paths".
948
0ea0e51b
GM
949 * custom.el (custom-initialize-delay): Doc fix.
950
35ff222c
GM
951 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
952 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
953 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
954 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
955 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
956 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
957 * eshell/eshell.el (eshell-defgroup): Remove alias.
958
c89926a5
CY
9592012-06-27 Chong Yidong <cyd@gnu.org>
960
961 * help.el (help-enable-auto-load): New variable.
962
963 * help-fns.el (help-fns--autoloaded-p): New function.
964 (describe-function-1): Refer to a function as "autoloaded" if it
965 was autoloaded at any time in the past. Perform autoloading if
966 help-enable-auto-load is non-nil.
967
cc06e7e7
EZ
9682012-06-26 Eli Zaretskii <eliz@gnu.org>
969
970 * makefile.w32-in (compile, compile-always): Depend on
971 update-subdirs, not on subdirs.el. Otherwise, several different
972 sub-targets of 'bootstrap' running in parallel could
973 simultaneously write to subdirs.el, producing a garbled file.
974
d2c32364
SS
9752012-06-26 Sam Steingold <sds@gnu.org>
976
977 * files.el (file-name-base): New convenience function.
0d14cc21
GM
978 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
979 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
980 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
981 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
982 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
983 * textmodes/tex-mode.el: Use it.
984 Did not touch cedet and org because they are maintained elsewhere.
985
5cf983b2
MR
9862012-06-26 Martin Rudalics <rudalics@gmx.at>
987
988 * calendar/calendar.el (calendar-exit): Don't try to delete or
989 iconify last frame. See:
990 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
991
8c4f2952
JD
9922012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
993
994 * server.el (server-process-filter): Remember dir in the
995 process's `server-client-directory' properties.
996
772b2e2c
CY
9972012-06-24 Chong Yidong <cyd@gnu.org>
998
999 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1000 non-tag text.
1001
711b11e1
JB
10022012-06-23 Juanma Barranquero <lekktu@gmail.com>
1003
1004 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1005
dc5d230c
SM
10062012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1007
1008 * help-fns.el (describe-variable): Don't croak when doc is not found.
1009 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1010 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1011 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1012 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1013 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1014 ((lambda ..) ..).
1015 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1016
136e1c1d
CY
10172012-06-23 Chong Yidong <cyd@gnu.org>
1018
e8c1cabf
CY
1019 * info.el (Info-mouse-follow-link): Accept symbol values of
1020 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1021 (Info-fontify-node): Use Info-link-keymap for all navigation
1022 buttons, with link-args property to perform the desired action.
1023 (Info-link-keymap): Doc fix.
1024 (Info-next-link-keymap, Info-prev-link-keymap)
1025 (Info-up-link-keymap): Delete now-unused keymaps.
1026
0e9e6c6a
CY
10272012-06-23 Chong Yidong <cyd@gnu.org>
1028
05e89fea
CY
1029 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1030
0e9e6c6a
CY
1031 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1032 system abbrevs.
1033
1034 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1035
e33c6771
SM
10362012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1037
b68581e2
SM
1038 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1039 (bug#11719).
1040
e33c6771
SM
1041 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1042 the requote function doesn't work properly (bug#11714).
1043
7117e105
GM
10442012-06-23 Glenn Morris <rgm@gnu.org>
1045
1046 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1047
36cec983
SM
10482012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 Further GV/CL cleanups.
1051 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1052 gv-expander.
1053 (gv--defun-declaration): New function.
1054 (defun-declarations-alist): Use it.
1055 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1056 (gv-place): Autoload.
1057 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1058 original definition of dotimes and dolist.
1059 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1060 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1061 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1062 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1063 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1064 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1065 to the function's definition.
1066 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1067 * window.el:
1068 * files.el:
1069 * faces.el:
1070 * env.el: Don't use CL.
1071
d35af63c
PE
10722012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1073
1074 Support higher-resolution time stamps (Bug#9000).
1075
1076 * calendar/time-date.el (with-decoded-time-value): New arg
1077 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1078 (encode-time-value): New optional arg PICO. New type 3.
1079 (time-to-seconds) [!float-time]: Support the new picoseconds
1080 component if it's used.
1081 (seconds-to-time, time-subtract, time-add):
1082 Support ps-resolution time stamps as well.
1083
1084 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1085 (timerp): Timer vectors now have length 9, not 8.
1086 (timer--time): Support new-style (4-part) time stamps.
1087 (timer-next-integral-multiple-of-time): Time stamps now have
1088 picosecond resolution, so take a bit more care about rounding.
1089 (timer-relative-time, timer-inc-time): New optional arg psecs.
1090 (timer-set-time-with-usecs): Set psecs to 0.
1091 (timer--activate): Check psecs component, too.
1092
1093 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1094
ac77b21a
SM
10952012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1096
f143bfe3
SM
1097 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1098 Move the non-essential binding to the post/pre-command-hook where it is
1099 more obviously correct.
1100
ac77b21a
SM
1101 * subr.el (read-passwd): Don't use a history at all.
1102 * savehist.el (savehist-save): Remove password saved accidentally
1103 because of the above bug.
1104
76386c5a
BG
11052012-06-22 Bastien Guerry <bzg@gnu.org>
1106
1107 * files.el (toggle-read-only): Display a message telling whether
1108 the buffer is read-only or not (bug#11726).
1109
2ee3d7f0
SM
11102012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * emacs-lisp/gv.el: New file.
1113 * subr.el (push, pop): Extend to generalized variables.
1114 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1115 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1116 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1117 gv-define-simple-setter, and gv-define-expander.
1118 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1119 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1120 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1121 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1122 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1123 gv-letplace.
1124 (cl-defstruct): Don't define setf-method any more.
1125 * emacs-lisp/cl.el (flet): Don't autoload.
1126 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1127 (define-setf-expander, defsetf, define-modify-macro)
1128 (cl-struct-setf-expander): Move from cl-lib.el.
1129 * emacs-lisp/syntax.el:
1130 * emacs-lisp/ewoc.el:
1131 * emacs-lisp/smie.el:
1132 * emacs-lisp/cconv.el:
1133 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1134 (timer--time): Use gv-define-simple-setter.
1135 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1136 to avoid coding-system problems in subr.el. Adjust all users.
1137 (macroexp--maxsize, macroexp-small-p): New functions.
1138 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1139 * scroll-bar.el (scroll-bar-mode):
1140 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1141 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1142 * winner.el (winner-configuration, winner-make-point-alist)
1143 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1144 * files.el (locate-file-completion-table): Avoid list*.
1145
c5695d1d
CY
11462012-06-22 Chong Yidong <cyd@gnu.org>
1147
1148 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1149 (dired-create-files): Doc fix (Bug#11329).
1150 (dired-do-copy): Doc fix (Bug#11334).
1151 (dired-mark-read-string): Doc fix (Bug#11553).
1152
2ee3d7f0
SM
1153 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1154 Doc fix (Bug#11326).
c5695d1d
CY
1155 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1156 (dired-dwim-target): Doc fix.
1157
1158 * wdired.el (wdired-mode): Doc fix.
1159
89b5595a
GM
11602012-06-22 Glenn Morris <rgm@gnu.org>
1161
575db3f1
GM
1162 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1163 (pcmpl-rpm-cache-stamp-file): New constant.
1164 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1165 (pcmpl-rpm-packages): Optionally cache list of packages.
1166
a4c8dd51
GM
1167 * pcmpl-rpm.el (pcmpl-rpm): New group.
1168 (pcmpl-rpm-query-options): New option.
1169 (pcmpl-rpm-packages): No need to inline it.
1170 Use pcmpl-rpm-query-options.
1171
89b5595a
GM
1172 * calendar/calendar.el (calendar-in-read-only-buffer):
1173 Avoid some needless mode changes.
1174
e76f0800
CY
11752012-06-21 Chong Yidong <cyd@gnu.org>
1176
1177 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1178 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1179 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1180
297a8f1d
CY
11812012-06-20 Chong Yidong <cyd@gnu.org>
1182
1183 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1184
d34c18b1
DR
11852012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1186
1187 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1188 (bug#11201).
1189
32f7f28e
CY
11902012-06-20 Chong Yidong <cyd@gnu.org>
1191
1192 * term.el (term-window-width): Handle the case of a missing right
1193 fringe (Bug#8837).
1194 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1195 (term-mode): Use define-derived-mode. Minor cleanups.
1196 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1197 (term-move-columns, term-insert-char, term-emulate-terminal)
1198 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1199
493c6688
MA
12002012-06-20 Michael Albinus <michael.albinus@gmx.de>
1201
d34c18b1
DR
1202 * net/ange-ftp.el (ange-ftp-get-passwd):
1203 Bind `enable-recursive-minibuffers'.
493c6688
MA
1204 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1205
3f06ecf4
DR
12062012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1207
1208 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1209
68f12411
GM
12102012-06-19 Glenn Morris <rgm@gnu.org>
1211
1212 * progmodes/python.el (python-mode): Derive from prog-mode.
1213
b3820318
KG
12142012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1215
1216 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1217 (edt-user-menu-bar-update-buffers): New functions.
1218 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1219
c6bf3022
CY
12202012-06-19 Chong Yidong <cyd@gnu.org>
1221
1222 * subr.el (with-selected-window): Preserve the selected window's
1223 terminal's top-frame (Bug#4702).
1224
1225 * window.el (save-selected-window): Likewise.
1226
25f09295
SM
12272012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * progmodes/python.el (python-rx-constituents): Move backquote.
1230 (python-skeleton-define, python-define-auxiliary-skeleton):
1231 Use `declare'.
1232
6b11952a
MA
12332012-06-18 Michael Albinus <michael.albinus@gmx.de>
1234
1235 * minibuffer.el (read-file-name-default): Revert the patch from
1236 2012-06-17.
1237
ee4b1330
SM
12382012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1241 (pcase--u1, pcase--q1): Don't use apply-partially.
1242
35647f79
GM
12432012-06-18 Glenn Morris <rgm@gnu.org>
1244
1245 * progmodes/python.el (python-proc, python-buffer)
1246 (python-send-receive, python-send-string): Fix obsolete versions.
1247
24b0cff0
MR
12482012-06-18 Martin Rudalics <rudalics@gmx.at>
1249
1250 * window.el (special-display-p): Completely remove stringp
1251 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1252
29855149
MA
12532012-06-17 Michael Albinus <michael.albinus@gmx.de>
1254
1255 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1256
1257 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1258
1259 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1260 * net/tramp-sh.el (tramp-maybe-open-connection):
1261 Throw if `non-essential' is non-nil.
1262
07463363
MR
12632012-06-17 Martin Rudalics <rudalics@gmx.at>
1264
1265 * window.el (special-display-p): Signal an error if BUFFER-NAME
1266 is not a string (Bug#11713).
1267
48d1354e
PE
12682012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1269
1270 * progmodes/python.el (python-info-beginning-of-backslash):
1271 Rename from python-info-beginning-of-backlash, as a spelling fix.
1272
eb4a8a9a
CY
12732012-06-17 Chong Yidong <cyd@gnu.org>
1274
1275 * term.el (term-emulate-terminal): If term-check-size is called,
1276 move point to the process mark without resetting point (Bug#4635).
1277
ddfbf826 12782012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1279
1280 * international/mule-cmds.el (mule-menu-keymap)
1281 (set-language-environment, set-locale-environment): Doc tweaks.
1282
9b0e3eba
AA
12832012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1284
1285 * cus-face.el (custom-face-attributes): Add wave-style underline
1286 attribute.
1287 * faces.el (set-face-attribute): Update docstring to describe
1288 wave-style underline attribute.
1289
771e3eae
CY
12902012-06-16 Chong Yidong <cyd@gnu.org>
1291
1292 * term/xterm.el (terminal-init-xterm): Discard input before
1293 querying background mode (Bug#10959).
1294
7ae2ea10
SM
12952012-06-16 Stefan Merten <smerten@oekonux.de>
1296
1297 * textmodes/rst.el: Added and corrected some comments.
1298 (rst-re-alist-def): Improve symbol syntax.
1299 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1300 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1301 (rst-official-version, rst-official-cvs-rev): Update version
1302 information.
7ae2ea10 1303
b6974efa
JB
13042012-06-15 Juanma Barranquero <lekktu@gmail.com>
1305
1306 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1307 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1308
8826d473
GM
13092012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1310
1311 * progmodes/python.el: New python.el merge.
1312 (python-guess-indent): Obsolete var.
1313 (python-indent-guess-indent-offset): New defcustom.
1314 (python-indent): Obsolete var.
1315 (python-indent-offset): New defcustom.
1316 (python-python-command, python-jython-command): Delete var.
1317 (python-shell-interpreter): New defcustom.
1318 (python-pdbtrack-do-tracking-p): Delete var.
1319 (python-pdbtrack-activate): New defcustom.
1320 (python-use-skeletons): Obsolete var.
1321 (python-skeleton-autoinsert): New defcustom.
1322 (inferior-python-filter-regexp, python-continuation-offset)
1323 (python-honour-comment-indentation, python-indent-string-contents)
1324 (python-jython-packages, python-mode-hook)
1325 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1326 (python-shell-prompt-alist)
1327 (python-source-modes): Delete defcustoms.
1328 (python-check-buffer-name, python-eldoc-setup-code)
1329 (python-eldoc-string-code, python-ffap-setup-code)
1330 (python-ffap-string-code, python-fill-comment-function)
1331 (python-fill-decorator-function, python-fill-paren-function)
1332 (python-fill-string-function, python-imenu-include-defun-type)
1333 (python-imenu-make-tree, python-imenu-subtree-root-label)
1334 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1335 (python-shell-compilation-regexp-alist)
1336 (python-shell-completion-module-string-code)
1337 (python-shell-completion-pdb-string-code)
1338 (python-shell-completion-setup-code)
1339 (python-shell-completion-string-code)
1340 (python-shell-enable-font-lock, python-shell-exec-path)
1341 (python-shell-extra-pythonpaths)
1342 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1343 (python-shell-process-environment)
1344 (python-shell-prompt-block-regexp)
1345 (python-shell-prompt-output-regexp)
1346 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1347 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1348 (python-shell-virtualenv-path): New defcustoms.
1349 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1350 (inferior-python-mode-syntax-table, python--prompt-regexp)
1351 (python-buffer, python-command python-python-command)
1352 (python-default-template, python-imports, python-indent-index)
1353 (python-indent-list, python-indent-list-length)
1354 (python-mode-running, python-pdbtrack-is-tracking-p)
1355 (python-preoutput-continuation, python-preoutput-leftover)
1356 (python-preoutput-result, python-preoutput-skip-next-prompt)
1357 (python-prev-dir/file, python-recursing)
1358 (python-saved-check-command, python-version-checked)
1359 (python-which-func-length-limit)
1360 (view-return-to-alist): Delete vars.
1361 (python-check-custom-command, python-dotty-syntax-table)
1362 (python-imenu-index-alist, python-indent-current-level)
1363 (python-indent-dedenters, python-indent-levels)
1364 (python-nav-beginning-of-defun-regexp)
1365 (python-nav-list-defun-positions-cache)
1366 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1367 (python-shell-internal-buffer)
1368 (python-skeleton-available): New vars.
1369 (def-python-skeleton): Delete macro.
1370 (python-skeleton-define): New macro.
1371 (python-define-auxiliary-skeleton, python-rx): New macros.
1372 (python-insert-class): Delete command.
1373 (python-skeleton-class): New command.
1374 (python-insert-def): Delete command.
1375 (python-skeleton-def): New command.
1376 (python-insert-for): Delete command.
1377 (python-skeleton-for): New command.
1378 (python-insert-if): Delete command.
1379 (python-skeleton-if): New command.
1380 (python-insert-try/except, python-insert-try/finally): Delete commands.
1381 (python-skeleton-try): New command.
1382 (python-insert-while): Delete command.
1383 (python-skeleton-while): New command.
1384 (python-backspace): Delete command.
1385 (python-indent-dedent-line-backspace): New command.
1386 (python-electric-colon): Delete command.
1387 (python-indent-electric-colon): New command.
1388 (python-guess-indent): Delete command.
1389 (python-indent-guess-indent-offset): New command.
1390 (python-shift-left): Delete command.
1391 (python-indent-shift-left): New command.
1392 (python-shift-right): Delete command.
1393 (python-indent-shift-right): New command.
1394 (python-find-function): Delete command.
1395 (python-nav-jump-to-defun): New command.
1396 (python-next-statement): Delete command.
1397 (python-nav-forward-sentence): New command.
1398 (python-previous-statement): Delete command.
1399 (python-nav-backward-sentence): New command.
1400 (python-fill-paragraph): Delete command.
1401 (python-fill-paragraph-function): New command.
1402 (python-send-buffer): Delete command.
1403 (python-shell-send-buffer): New command.
1404 (python-send-defun): Delete command.
1405 (python-shell-send-defun): New command.
1406 (python-send-region, python-send-region-and-go): Delete commands.
1407 (python-shell-send-region)
1408 (python-shell-switch-to-shell): New commands.
1409 (python-send-string): Delete command.
1410 (python-shell-send-string): New command.
1411 (python-switch-to-python): Delete command.
1412 (python-shell-switch-to-shell): New command.
1413 (python-describe-symbol): Delete command.
1414 (python-eldoc-at-point): New command.
1415 (python--set-prompt-regexp, python-args-to-list)
1416 (python-after-info-look, python-check-version)
1417 (python-check-comint-prompt, python-find-imports)
1418 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1419 (python-unload-function, python-expand-template)
1420 (python-maybe-jython, python-preoutput-filter)
1421 (python-pdbtrack-get-source-buffer)
1422 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1423 (python-pdbtrack-toggle-stack-tracking)
1424 (python-pdbtrack-track-stack-file, python-initial-text)
1425 (python-first-word, python-comment-line-p, python-send-command)
1426 (python-setup-brm, python-sentinel, python-set-proc)
1427 (python-skip-out, python-input-filter, python-outdent-p)
1428 (python-outline-level, python-backslash-continuation-line-p)
1429 (python-end-of-block, python-end-of-statement, python-mark-block)
1430 (python-beginning-of-block, python-beginning-of-statement)
1431 (python-blank-line-p, python-beginning-of-string)
1432 (python-open-block-statement-p): Delete functions.
1433 (python-indent-line, python-indent-line-1): Delete functions.
1434 (python-indent-line): New function.
1435 (python-indentation-levels): Delete function.
1436 (python-indent-calculate-levels): New function.
1437 (python-proc): Delete function.
1438 (python-shell-get-process): New function.
1439 (python-send-receive): Delete function.
1440 (python-shell-send-string-no-output): New function.
1441 (python-module-path): Delete function.
1442 (python-ffap-module-path): New function.
1443 (python-completion-at-point)
1444 (python-symbol-completions): Delete functions.
1445 (python-completion-complete-at-point): New function.
1446 (python-load-file): Delete function.
1447 (python-shell-send-file): New function.
1448 (python-calculate-indentation): Delete function.
1449 (python-indent-calculate-indentation): New function.
1450 (python-skip-comments/blanks): Delete function.
1451 (python-util-forward-comment): New function.
1452 (python-continuation-line-p): Delete function.
1453 (python-info-continuation-line-p): New function.
1454 (python-which-func, python-current-defun): Delete function.
1455 (python-info-current-defun): New function.
1456 (python-beginning-of-defun): Delete function.
1457 (python-nav-beginning-of-defun): New function.
1458 (python-close-block-statement-p)
1459 (python-block-end-p): Delete function.
1460 (python-info-closing-block): New function.
1461 (python-comint-output-filter-function)
1462 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1463 (python-fill-comment, python-fill-decorator, python-fill-paren)
1464 (python-fill-string, python-imenu-make-element-tree)
1465 (python-imenu-make-tree, python-imenu-tree-assoc)
1466 (python-indent-context, python-indent-dedent-line)
1467 (python-indent-line-function)
1468 (python-indent-post-self-insert-function)
1469 (python-indent-toggle-levels)
1470 (python-info-assignment-continuation-line-p)
1471 (python-info-beginning-of-backlash)
1472 (python-info-block-continuation-line-p)
1473 (python-info-closing-block-message)
1474 (python-info-line-ends-backslash-p)
1475 (python-info-looking-at-beginning-of-defun)
1476 (python-info-ppss-context, python-info-ppss-context-type)
1477 (python-nav-list-defun-positions, python-nav-read-defun)
1478 (python-nav-sentence-end, python-nav-sentence-start)
1479 (python-pdbtrack-comint-output-filter-function)
1480 (python-pdbtrack-set-tracked-buffer)
1481 (python-shell-calculate-exec-path)
1482 (python-shell-calculate-process-environment)
1483 (python-shell-completion--do-completion-at-point)
1484 (python-shell-completion--get-completions)
1485 (python-shell-completion-complete-at-point)
1486 (python-shell-completion-complete-or-indent)
1487 (python-shell-get-or-create-process)
1488 (python-shell-get-process-name)
1489 (python-shell-internal-get-or-create-process)
1490 (python-shell-internal-get-process-name)
1491 (python-shell-internal-send-string, python-shell-make-comint)
1492 (python-shell-parse-command, python-shell-send-setup-code)
1493 (python-skeleton-add-menu-items)
1494 (python-util-clone-local-variables, python-util-position)
1495 (run-python-internal, python-indentation-levels)
1496 (python-nav-beginning-of-defun)
1497 (python-completion-complete-at-point): New functions.
1498 (run-python): Change arguments. New API requirements.
1499
4302f5ba
SM
15002012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1501
f38ea36d
SM
1502 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1503 (bug#11649).
1504
1505 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1506 (macroexp--expand-all): Use it.
1507
4302f5ba
SM
1508 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1509 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1510 Use `cl-function' instead.
1511
33377562
JB
15122012-06-14 Juanma Barranquero <lekktu@gmail.com>
1513
1514 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1515 Suggested by Stefan Monnier while discussing bug#11657.
1516
54c5ba1a
SS
15172012-06-14 Sam Steingold <sds@gnu.org>
1518
1519 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1520
f9f1b1fe
AS
15212012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1522
1523 * play/doctor.el (doctor-doc): Remove parameter and use
1524 doctor-sent instead of sent.
1525 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1526
a81068ba
SM
15272012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1528
5a315f9c
SM
1529 * files.el: Require cl-lib.
1530 (file-name-non-special): Replace case -> cl-case.
1531
1532 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1533
a81068ba
SM
1534 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1535 mapping from #' to function*.
1536
8cca9703
CY
15372012-06-13 Chong Yidong <cyd@gnu.org>
1538
1539 * mouse.el (mouse-drag-track): Do not set the mark if the user
1540 releases the mouse without selecting anything (Bug#11588).
1541
a12ac9d7
SM
15422012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1543
ccf1dc18
SM
1544 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1545 as well (bug#11646).
1546
ef62b23d
SM
1547 * loadup.el: Count byte-code functions as well.
1548
c4c8444a
SM
1549 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1550 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1551
a12ac9d7
SM
1552 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1553 (bug#11649). Add cl-defun and cl-defmacro.
1554
87e6e64f
DA
15552012-06-13 Drew Adams <drew.adams@oracle.com>
1556
1557 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1558 Fix last change.
1559
682cefaf
MA
15602012-06-13 Michael Albinus <michael.albinus@gmx.de>
1561
1562 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1563 Otherwise, it blocks in batch mode.
1564
773e1f08
JB
15652012-06-13 Juanma Barranquero <lekktu@gmail.com>
1566
1567 * help-mode.el (bookmark-make-record-default): Declare.
1568
60057926
CY
15692012-06-13 Chong Yidong <cyd@gnu.org>
1570
1571 * emacs-lisp/package.el (list-packages): Compute a list of
1572 packages that are newly-available since the last list-packages
1573 invocation.
1574 (package-menu--new-package-list): New var.
1575 (package-menu--generate, package-menu--print-info)
1576 (package-menu--status-predicate, package-menu-mark-install):
1577 Handle new status label "new".
1578
ad4d226c
SM
15792012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1582 conversion to backquotes.
1583
f1a4e679
CY
15842012-06-12 Chong Yidong <cyd@gnu.org>
1585
1586 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1587 Rename from gud-inhibit-global-bindings.
1588
1589 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1590
1591 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1592 hook from nxml-glyph-set-hook.
1593
1594 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1595 declaration.
1596
1597 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1598
1599 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1600 Convert to defcustom.
1601
0c9e42b5
DA
16022012-06-12 Drew Adams <drew.adams@oracle.com>
1603
1604 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1605 New functions.
1606 (help-mode): Use them.
1607
09e06855
GM
16082012-06-11 Glenn Morris <rgm@gnu.org>
1609
1610 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1611 Use preprocessor face for directives.
1612 (fortran-directive-re): Doc fix.
1613
71adb94b
SM
16142012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1615
2eb87922
SM
1616 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1617 conversion to backquotes (bug#11652).
1618
71adb94b
SM
1619 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1620 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1621 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1622 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1623 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1624 (cl-ninth, cl-tenth): Mark them as inlinable.
1625 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1626 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1627 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1628 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1629 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1630 (cl-list*, cl-adjoin): Don't put an autoload manually.
1631 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1632 (cl--compiler-macro-list*): Add autoload cookie.
1633 (cl--compiler-macro-cXXr): New function.
2eb87922 1634
71adb94b
SM
1635 * help-fns.el (help-fns--compiler-macro): New function extracted from
1636 describe-function-1; follow aliases and use `compiler-macro' property.
1637 (describe-function-1): Use it.
1638
a6674402
CY
16392012-06-11 Chong Yidong <cyd@gnu.org>
1640
1641 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1642 is uninstalled, if imagemagick is installed.
1643
bb3faf5b
SM
16442012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * emacs-lisp/cl-lib.el: Use lexical-binding.
1647 (cl-map-extents, cl-maclisp-member): Remove.
1648 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1649 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1650 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1651 * emacs-lisp/cl-extra.el: Use lexical-binding.
1652 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1653 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1654 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1655 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1656 * emacs-lisp/cl-seq.el: Use lexical-binding.
1657 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1658 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1659 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1660 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1661 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1662 CL's internals.
1663
2fe4b125
MA
16642012-06-11 Michael Albinus <michael.albinus@gmx.de>
1665
1666 Sync with Tramp 2.2.6-pre.
1667
1668 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1669 `print-length' and `print-level' to nil, in order to avoid
1670 truncation. Reported by Christopher Schmidt
1671 <christopher@ristopher.com>.
1672
1673 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1674
1675 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1676 New defmacro.
1677 (tramp-compat-copy-directory): Add optional argument
1678 COPY-CONTENTS. It is not handled yet.
1679
1680 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1681 (tramp-ftp-file-name-p): Simplify.
1682
1683 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1684 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1685 connection vector.
1686
1687 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1688 (tramp-methods): Do not use `tramp-password-end-of-line'.
1689 (tramp-completion-function-alist-putty): Handle UNIX case.
1690 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1691 (tramp-do-file-attributes-with-stat)
1692 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1693 gid as real numbers. They could run out of integer range on cygwin.
1694 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1695 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1696 (tramp-open-connection-setup-interactive-shell):
1697 Use `tramp-cleanup'. Move check for busyboxes ...
1698 (tramp-find-shell): ... here. Simplify implementation.
1699 Set "remote-shell" property also for alternative shells.
1700 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1701 If failing, a regular file would be written otherwise.
1702 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1703 (tramp-find-inline-encoding): Cache the coding commands in the
1704 process cache. Apply test command on the remote side, if defined.
1705 (tramp-find-inline-compress): Cache the compress commands in the
1706 process cache.
1707 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1708 when requested. Handle hops.
1709 (tramp-current-connection): New defvar.
87e6e64f
DA
1710 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1711 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1712 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1713 (tramp-get-inline-compress, tramp-get-inline-coding):
1714 Read connection properties from the process cache.
2fe4b125
MA
1715
1716 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1717 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1718 New defconsts.
2fe4b125
MA
1719 (tramp-smb-prompt): Extend for powershell prompt.
1720 (tramp-smb-file-name-handler-alist): Add handlers for
1721 `process-file', `shell-command' and `start-file-process'.
1722 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1723 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1724 (tramp-smb-file-name-p): Simplify.
1725 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1726 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1727 (tramp-smb-shell-quote-argument): New defuns.
1728 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1729 Implement using "tar". By this, time-stamps are preserved.
1730 (tramp-smb-handle-copy-file): Handle also the case of directories.
1731 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1732 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1733 Use `tramp-get-connection-buffer').
2fe4b125
MA
1734 (tramp-smb-handle-rename-file): Use "rename", when source and
1735 target are on the same share.
87e6e64f
DA
1736 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1737 Use `tramp-smb-server-version'.
2fe4b125
MA
1738 (tramp-smb-wait-for-output): Remove prompt.
1739
1740 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1741 (tramp-methods, tramp-rsh-end-of-line):
1742 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1743 (tramp-save-ad-hoc-proxies): New defcustom.
1744 (tramp-completion-function-alist): Adapt docstring.
1745 (tramp-default-password-end-of-line): Remove defcustom.
1746 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1747 (tramp-user-regexp, tramp-file-name-regexp-unified)
1748 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1749 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1750 (tramp-remote-file-name-spec-regexp): New defconst.
1751 (tramp-file-name-structure): Extend structure for hops.
1752 (tramp-get-method-parameter): Move up.
1753 (tramp-file-name-p, tramp-dissect-file-name)
1754 (with-parsed-tramp-file-name): Handle hops.
1755 (tramp-file-name-hop): New defun.
1756 (tramp-make-tramp-file-name): New optional arg HOP.
1757 (tramp-message-show-progress-reporter-message): New defvar.
1758 (tramp-with-progress-reporter): Use it. We cannot use
1759 `tramp-message-show-message' here, because this suppresses also
1760 error buffers.
1761 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1762 `tramp-message-show-message' is nil.
1763 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1764 (tramp-cleanup): New defun.
1765 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1766 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1767 an error unchanged.
1768 (tramp-completion-handle-file-name-all-completions): Handle hops.
1769 Fix an error when called from ido.
1770 (tramp-completion-dissect-file-name): Use better local variable
1771 name. Add hop to the vector.
1772 (tramp-handle-insert-file-contents): Use progress-reporter for the
1773 whole scenario.
1774 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1775 to `t'.
1776 (tramp-check-for-regexp): Simplify search.
1777 (tramp-enter-password): Remove it. Move implementation ...
1778 (tramp-action-password): ... here.
1779 (tramp-mode-string-to-int, tramp-local-host-p)
1780 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1781 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1782 Set tramp-autoload cookie.
2fe4b125
MA
1783
1784 * net/trampver.el: Update release number.
1785
17862012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1787 Michael Albinus <michael.albinus@gmx.de>
1788
1789 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1790 (tramp-parse-group, tramp-parse-file)
1791 (tramp-parse-shostkeys-sknownhosts): New defuns.
1792 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1793 (tramp-parse-shosts-group, tramp-parse-sconfig)
1794 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1795 (tramp-parse-sknownhosts, tramp-parse-hosts)
1796 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1797 Use them.
1798 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1799 (tramp-parse-putty-group): Don't narrow.
1800 (tramp-parse-putty): Make a loop.
1801 (tramp-file-name-handler): Catch the `suppress' signal.
1802
72834e10
CY
18032012-06-11 Chong Yidong <cyd@gnu.org>
1804
1805 * image.el (imagemagick-register-types): Put the ImageMagick entry
1806 at the end of image-type-file-name-regexps.
1807
a4712e11
JB
18082012-06-11 Johan Bockgård <bojohan@gnu.org>
1809
1810 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1811 (pcase, pcase-let*, pcase-dolist): Use them.
1812
82ad98e3
SM
18132012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * emacs-lisp/pcase.el (pcase--let*): New function.
1816 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1817 (pcase--expand): Use macroexp-let².
1818
f80efb86
SM
18192012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1822 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1823 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1824 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1825 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1826 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1827
31ca4639 18282012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1829
31ca4639
CY
1830 * mail/rmail.el (rmail-yank-current-message): Leave point at
1831 correct position. (Bug#11660)
94f0aa34 1832
31ca4639 18332012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1834
31ca4639 1835 * allout-widgets.el: Fix code header.
9e1b8ec4 1836
31ca4639 18372012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1838
f80efb86
SM
1839 * cus-edit.el (customize-changed-options-previous-release):
1840 Bump to 24.1.
31ca4639 1841
642b6d30
AS
18422012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1843
1844 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1845
4f5d2ba1
CY
18462012-06-09 Chong Yidong <cyd@gnu.org>
1847
1848 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1849
e75852fd
MR
18502012-06-09 Martin Rudalics <rudalics@gmx.at>
1851
1852 * window.el (special-display-popup-frame): Don't use
1853 window--display-buffer (Bug#11651).
1854
1e48e282
EZ
18552012-06-09 Eli Zaretskii <eliz@gnu.org>
1856
8a26b487
EZ
1857 Fix parallel builds: make sure loaddefs.el is not being written
1858 while Lisp files are compiled.
1859 (compile): Don't depend on 'mh-autoloads'.
1860 (compile-CMD, compile-SH): Depend on 'autoloads'.
1861 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1862
1e48e282
EZ
1863 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1864
6175e34b
CY
18652012-06-09 Chong Yidong <cyd@gnu.org>
1866
1867 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1868 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1869 Doc fixes (Bug#11225).
1870
d9857e53
SM
18712012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1872
1873 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1874 a function if there's a clear indication that it has a compiler-macro.
1875 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1876 (macro-declarations-alist): Add arglist to declaration functions.
1877 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1878 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1879 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1880 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1881 Also add autoload to find the compiler macro.
1882 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1883 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1884 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1885 (cl--compiler-macro-get): New functions, replacing calls to
1886 cl-define-compiler-macro.
1887 (cl-typep) [compiler-macro]: Use macroexp-let².
1888
f81298f8 18892012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1890
1891 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1892 string properly, fixes Bug#11473.
1893
4b56d0fe
CY
18942012-06-08 Chong Yidong <cyd@gnu.org>
1895
1896 * faces.el (set-face-attribute): Doc fix.
1897 (modify-face): Don't use :bold and :italic.
1898 (error, warning, success): Tweak definitions.
1899
1900 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1901 (custom-modified, custom-set, custom-changed, custom-themed)
1902 (custom-saved, custom-button, custom-button-mouse)
1903 (custom-button-pressed, custom-state, custom-comment-tag)
1904 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1905 (custom-group-subtitle): Use new-style face specs.
1906 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1907 (custom-set-face, custom-changed-face, custom-saved-face)
1908 (custom-button-face, custom-button-pressed-face)
1909 (custom-documentation-face, custom-state-face)
1910 (custom-comment-face, custom-comment-tag-face)
1911 (custom-variable-tag-face, custom-variable-button-face)
1912 (custom-face-tag-face, custom-group-tag-face-1)
1913 (custom-group-tag-face): Remove obsolete face alias.
1914
1915 * epa.el (epa-validity-high, epa-validity-medium)
1916 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1917 (epa-field-name, epa-field-body):
1918 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1919 (font-lock-keyword-face, font-lock-builtin-face)
1920 (font-lock-function-name-face, font-lock-variable-name-face)
1921 (font-lock-type-face, font-lock-constant-face):
1922 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1923 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1924 * speedbar.el (speedbar-button-face, speedbar-file-face)
1925 (speedbar-directory-face, speedbar-tag-face)
1926 (speedbar-selected-face, speedbar-highlight-face)
1927 (speedbar-separator-face):
1928 * whitespace.el (whitespace-newline, whitespace-space)
1929 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1930 (whitespace-line, whitespace-space-before-tab)
1931 (whitespace-space-after-tab, whitespace-indentation)
1932 (whitespace-empty):
1933 * emulation/cua-base.el (cua-global-mark):
1934 * eshell/em-prompt.el (eshell-prompt):
1935 * net/newst-plainview.el (newsticker-new-item-face)
1936 (newsticker-old-item-face, newsticker-immortal-item-face)
1937 (newsticker-obsolete-item-face, newsticker-date-face)
1938 (newsticker-statistics-face, newsticker-default-face):
1939 * net/newst-reader.el (newsticker-feed-face)
1940 (newsticker-extra-face, newsticker-enclosure-face):
1941 * net/newst-treeview.el (newsticker-treeview-face)
1942 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1943 (newsticker-treeview-immortal-face)
1944 (newsticker-treeview-obsolete-face)
1945 (newsticker-treeview-selection-face):
1946 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1947 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1948 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1949 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1950 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1951 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1952 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1953 (mpuz-text):
1954 * progmodes/vera-mode.el (vera-font-lock-number)
1955 (vera-font-lock-function, vera-font-lock-interface):
1956 * textmodes/table.el (table-cell): Use new-style face specs, and
1957 don't use the old :bold and :italic attributes.
1958
1959 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1960 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1961 (ebrowse-member-class, ebrowse-progress): Likewise.
1962 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1963 (ebrowse-file-name-face, ebrowse-default-face)
1964 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1965 (ebrowse-progress-face): Remove obsolete faces.
1966
1967 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1968 Inherit from error and warning faces respectively.
1969
1970 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1971 Likewise.
f80efb86
SM
1972 (flyspell-incorrect-face, flyspell-duplicate-face):
1973 Remove obsolete aliases.
4b56d0fe 1974
03310646
MA
19752012-06-08 Michael Albinus <michael.albinus@gmx.de>
1976
1977 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1978 Avoid infloop.
1979
513749ee
SM
19802012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * startup.el (argv, argi): Make lexically scoped.
1983 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1984 * emacs-lisp/cl-macs.el: Use lexical-binding.
1985 Rename cl-bind-* to cl--bind-*.
1986 * files.el: Don't require `cl' since it doesn't use it.
1987 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1988
595ef4ad
JB
19892012-06-08 Juanma Barranquero <lekktu@gmail.com>
1990
1991 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1992 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1993 instead of calling external sort utility.
1994 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1995
e9f66fcb
EZ
19962012-06-08 Eli Zaretskii <eliz@gnu.org>
1997
1998 * descr-text.el (describe-char): Mention how to insert the
1999 character, if the current input method doesn't support it.
2000 See the discussion in this thread for the details:
2001 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2002
3d10db47
SS
20032012-06-08 Sam Steingold <sds@gnu.org>
2004
2005 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2006 XF86Back to previous-buffer.
2007 (minibuffer-local-map): Bind them to next-history-element and
2008 previous-history-element respectively.
2009 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2010 help-go-back respectively.
2011 * info.el (Info-mode-map): Bind them to Info-history-forward and
2012 Info-history-back respectively.
2013 These are the keys next to Up on the ThinkPad keyboard.
2014
de7e2b36
SM
20152012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2018 * emacs-lisp/cl-macs.el: Provide itself.
2019 (cl--labels-convert-cache): New var.
2020 (cl--labels-convert): New function.
2021 (cl-flet, cl-labels): New implementation with new semantics, relying on
2022 lexical-binding.
2023 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2024 (cl-closure-vars, cl--function-convert-cache)
2025 (cl--function-convert): Move from cl-macs.el.
2026 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2027 rename by removing the "cl-" prefix.
2028 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2029
6fa6c4ae
SM
20302012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2033 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2034 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2035 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2036 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2037 (cl-hash-table-count): Add old compatibility aliases.
2038
2039 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2040 Use macroexpand-all-environment instead.
2041 (cl--old-macroexpand): New var.
2042 (cl--sm-macroexpand): New function.
2043 (cl-symbol-macrolet): Use it during macro expansion.
2044 (cl--function-convert-cache): New var.
2045 (cl--function-convert): New function, extracted from
2046 cl-macroexpand-all.
2047 (cl-lexical-let): Use it.
2048
2049 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2050 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2051 (cl-member): Remove old alias.
2052
2053 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2054 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2055 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2056 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2057 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2058 (cl-macroexpand-cmacs): Remove var.
2059 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2060 Use macroexpand-all instead.
2061
4dd1c416
SM
20622012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2065 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2066 (macroexp-copyable-p): New functions and macros.
2067 * emacs-lisp/edebug.el (edebug-unwrap):
2068 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2069 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2070 (pcase--let*): Remove.
2071 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2072 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2073 macroexp-const-p instead.
2074 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2075
2076 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2077 instead of "cl-" for internal definitions. Use macroexp-const-p.
2078 (cl-old-bc-file-form): Remove var.
2079 (cl-const-exprs-p): Remove fun.
2080 (cl-labels, cl-macrolet): Use backquote.
2081 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2082 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2083 (cl-define-setf-expander): Rename from cl-define-setf-method.
2084 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2085
2086 * international/mule-cmds.el: Don't require CL.
2087 (view-hello-file): Don't use `letf'.
2088
ed8bd4d7
SM
20892012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2090
7287f2f3
SM
2091 * tmm.el (tmm-prompt): Use string-prefix-p.
2092 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2093 (tmm-add-prompt): Use minibuffer-completion-help.
2094 (tmm-delete-map): Remove.
2095
ed8bd4d7
SM
2096 * subr.el (kbd): Make it its own function.
2097
7b4cdbf4
SM
20982012-06-07 Stefan Merten <smerten@oekonux.de>
2099
2100 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2101 Silence compiler warnings. Fix versions.
ed8bd4d7 2102 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2103 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2104 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2105 (rst-package-emacs-version-alist): Correct Emacs version to
2106 represent major merge with upstream.
ed8bd4d7 2107 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2108
2b48d721
GM
21092012-06-06 Glenn Morris <rgm@gnu.org>
2110
2111 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2112 Only print environment variables if set.
2113
fa779ab0
SM
21142012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2117 (macroexp--cons): Rename from maybe-cons.
2118 (macroexp--accumulate): Rename from macroexp-accumulate.
2119 (macroexp--all-forms): Rename from macroexpand-all-forms.
2120 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2121 (macroexp--expand-all): Rename from macroexpand-all-1.
2122
628299e0
SS
21232012-06-06 Sam Steingold <sds@gnu.org>
2124
2125 * calendar/calendar.el (calendar-in-read-only-buffer):
2126 Call `special-mode' to enable the standard read-only keybindings.
2127
b7bb5838
SM
21282012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2131 with "loading" messages (bug#11635).
2132
dfb308ba
MA
21332012-06-06 Michael Albinus <michael.albinus@gmx.de>
2134
2135 * files.el (enable-remote-dir-locals): New option.
2136 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2137
0372ee92
MA
2138 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2139 Ensure, that the temp directory is local.
2140
2141 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2142 `temporary-file-directory'.
2143
eed0bb91
MA
2144 * progmodes/python.el (python-send-region): Ensure, that the
2145 temporary file is created also in the remote case.
2146
7a58f64d
GM
21472012-06-06 Glenn Morris <rgm@gnu.org>
2148
f7dd4e98
GM
2149 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2150 (vc-rcs-update-changelog): Use it.
2151
090bd7cb 2152 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2153
7a58f64d
GM
2154 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2155 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2156 (vc-sccs-diff): Replace use of the external vcdiff script.
2157
daed4003
GM
21582012-06-05 Glenn Morris <rgm@gnu.org>
2159
2160 * ledit.el: Move to obsolete/.
2161
48c455c7
SS
21622012-06-05 Sam Steingold <sds@gnu.org>
2163
ed9265fc 2164 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2165 patch (Bug#11140).
2166
57a7d507
SM
21672012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2168
090bd7cb 2169 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2170
53aacf21
SM
2171 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2172 compiler-macro expansion.
2173
57a7d507
SM
2174 Add native compiler-macro support.
2175 * emacs-lisp/macroexp.el (macroexpand-all-1):
2176 Support compiler-macros directly. Properly follow aliases and apply
2177 the compiler macros more thoroughly.
2178 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2179 macroexpand now properly follows aliases.
2180 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2181 (cl-compiler-macroexpand): Use new prop.
2182 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2183
2184 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2185
51a5f9d8
MR
21862012-06-05 Martin Rudalics <rudalics@gmx.at>
2187
2188 * window.el (get-lru-window, get-mru-window, get-largest-window):
2189 New argument NOT-SELECTED to avoid picking the selected window.
2190 (window--display-buffer-1, window--display-buffer-2): Replace by
2191 new function window--display-buffer
2192 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2193 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2194 Use window--display-buffer.
51a5f9d8
MR
2195 (display-buffer-use-some-window): Remove temporary dedication
2196 hack by calling get-lru-window and get-largest-window with
2197 NOT-SELECTED argument non-nil. Call window--display-buffer.
2198
08f9f738
GM
21992012-06-05 Glenn Morris <rgm@gnu.org>
2200
2201 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2202 Replace external vcdiff script.
2203
e364a2b7
SM
22042012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2207
041df390
CY
22082012-06-04 Chong Yidong <cyd@gnu.org>
2209
e364a2b7
SM
2210 * image.el (imagemagick-types-inhibit): Revert last change.
2211 Add INFO and M.
47b36b94 2212 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2213
7c1898a7
SM
22142012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2215
2216 * emacs-lisp/cl-lib.el: Rename from cl.el.
2217 * emacs-lisp/cl.el: New compatibility file.
2218 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2219 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2220 to obey the "cl-" prefix.
2221 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2222
0c3461de
GM
22232012-06-03 Glenn Morris <rgm@gnu.org>
2224
1e266c88
GM
2225 * emacs-lisp/authors.el (authors-aliases): Addition.
2226
0c3461de
GM
2227 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2228 Fix :version.
2229
d8a52e15
SM
22302012-06-03 Stefan Merten <smerten@oekonux.de>
2231
2232 * textmodes/rst.el: Add comments.
2233 (rst-transition, rst-adornment): New faces.
2234 (rst-adornment-faces-alist): Make default safe to reevaluate.
2235 Fixes
2236 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2237 Improve customization tags.
2238 (rst-define-level-faces): Clarify meaning.
2239
5205d6f6
CY
22402012-06-03 Chong Yidong <cyd@gnu.org>
2241
2242 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2243 (compilation-mode-line-run, compilation-mode-line-exit):
2244 New faces.
5205d6f6
CY
2245 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2246
757ee657
JD
22472012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2248
7c1898a7
SM
2249 * progmodes/which-func.el (which-func-update-ediff-windows):
2250 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2251
5f2c76c6
CY
22522012-06-03 Chong Yidong <cyd@gnu.org>
2253
2254 * bindings.el: Remove explicit help text from format-mode-line.
2255 It is now supplied by mode-line-default-help-echo.
2256 (mode-line-front-space, mode-line-end-spaces)
2257 (mode-line-misc-info): New variables.
2258 (mode-line-modes, mode-line-position): Move the default value to
2259 the variable definition.
2260 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2261 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2262 (mode-line-modified-help-echo): New functions.
2263 (mode-line-mule-info, mode-line-modified): Use them.
2264 (mode-line-eol-desc, propertized-buffer-identification):
2265 Consistency fixes for help text.
cbe46e5f
CY
2266 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2267 set-buffer-file-coding-system (Bug#289).
2268 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2269
f2d6a3df
SM
22702012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * simple.el (execute-extended-command): Set real-this-command
2273 (bug#11506).
2274
37269466
CY
22752012-06-02 Chong Yidong <cyd@gnu.org>
2276
2277 Remove incorrect uses of "modeline" in comments, docstrings, and
2278 function/variable names (Bug#10329).
2279
2280 * cus-edit.el (mode-line):
2281 * dframe.el (dframe-mouse-hscroll):
2282 * emacs-lisp/re-builder.el:
2283 * emacs-lisp/easy-mmode.el (define-minor-mode):
2284 * frame.el (set-frame-name):
2285 * help.el (lookup-minor-mode-from-indicator):
2286 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2287 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2288 (c-toggle-hungry-state):
2289 * progmodes/antlr-mode.el (antlr-language-alist):
2290 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2291 * progmodes/vhdl-mode.el (vhdl-mode):
2292 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2293 * term/ns-win.el (ns-face-at-pos):
2294 * term/sup-mouse.el (sup-mouse-report):
2295 * textmodes/flyspell.el (flyspell-mode-line-string):
2296 * textmodes/ispell.el (ispell-highlight-face):
2297 * textmodes/reftex-global.el:
2298 * vc/vc-arch.el (vc-arch-mode-line-string):
2299 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2300 * vc/vc-git.el (vc-git-mode-line-string):
2301 * vc/vc-hooks.el (vc-display-status)
2302 (vc-default-mode-line-string):
2303 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2304
2305 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2306
2307 * dired.el (dired-sort-set-mode-line): Rename from
2308 dired-sort-set-modeline. All callers changed.
2309
2310 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2311 eshell-status-in-modeline.
2312
2313 * foldout.el (foldout-mode-line-string): Rename from
2314 foldout-modeline-string. All callers changed.
2315 (foldout-update-mode-line): Rename from foldout-update-modeline.
2316
2317 * subr.el (redraw-modeline): Make into obsolete alias.
2318
2319 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2320 timeclock-modeline-display. Make old name an alias.
2321 (timeclock-update-mode-line): Likewise. All callers changed.
2322 (timeclock-mode-line-display): No need to check before using
2323 add-hook.
2324 (timeclock-relative, timeclock-day-over-hook)
2325 (timeclock-use-elapsed, timeclock-mode-string)
2326 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2327
2328 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2329 crisp-mode-modeline-string.
2330
2331 * play/solitaire.el (solitaire-build-mode-line): Rename from
2332 solitaire-build-modeline. All callers changed.
2333
2334 * play/zone.el (zone-hiding-mode-line): Rename from
2335 zone-hiding-modeline. All callers changed.
2336 (zone): Remove unusued `modeline-hidden-level' property.
2337
2338 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2339 xscheme-modeline-initialize. All callers changed.
2340
2341 * strokes.el (strokes-lighter): Rename from
2342 strokes-modeline-string.
2343
2344 * textmodes/sgml-mode.el (html-face-tag-alist)
2345 (html-tag-face-alist): Use mode-line face instead of obsolete
2346 alias modeline.
2347
42152ee4
SM
23482012-06-02 Stefan Merten <smerten@oekonux.de>
2349
2350 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2351 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2352
95f520b5
CY
23532012-06-02 Chong Yidong <cyd@gnu.org>
2354
2355 * image.el (imagemagick-enabled-types): Rename from
2356 imagemagick-types-enable. Add many more types.
2357 (imagemagick-types-inhibit): Change default to nil.
2358 (imagemagick-filter-types): Caller changed.
2359
4a5f187a
SM
23602012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2361
03fef3e6
SM
2362 * emacs-lisp/cl-macs.el: Use backquotes.
2363 (cl-transform-function-property): Use eval-and-compile rather than
2364 abusing `require'.
2365 (defstruct): Use declare-function instead of with-no-warnings.
2366
4a5f187a
SM
2367 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2368 (byte-compile-output-docform): Re-add the print-circle bindings.
2369 (byte-compile-fix-header): Use #$ just because it's shorter.
2370 (byte-compile-output-file-form): Remove defun/defmacro.
2371
bd56924f
MR
23722012-06-01 Martin Rudalics <rudalics@gmx.at>
2373
2374 * simple.el (choose-completion): Remove now obsolete binding for
2375 owindow.
2376
046e38ce
MA
23772012-06-01 Michael Albinus <michael.albinus@gmx.de>
2378
2379 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2380 in order to avoid "Stack overflow in regexp matcher".
2381
32d72c2f
GM
23822012-05-31 Glenn Morris <rgm@gnu.org>
2383
2384 * image.el: For clarity, call imagemagick-register-types at
2385 top-level, rather than relying on a custom :initialize.
2386 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2387 (imagemagick-filter-types): New function. (Bug#7406)
2388 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2389 If disabling support, remove elements altogether rather
2390 than using an impossible regexp.
2391 (imagemagick-types-inhibit): Give it the default init function.
2392
dd41169b
SM
23932012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2394
4a5f187a
SM
2395 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2396 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2397
efc00ab1 23982012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2399
2400 * desktop.el (desktop-read): Clear previous and next buffers for
2401 all windows and bury *Messages* buffer (bug#11556).
2402
500fcedc
SM
24032012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 Add `declare' for `defun'. Align `defmacro's with it.
2406 * emacs-lisp/easy-mmode.el (define-minor-mode)
2407 (define-globalized-minor-mode): Don't autoload the var definitions.
2408 * emacs-lisp/byte-run.el: Use lexical-binding.
2409 (defun-declarations-alist, macro-declarations-alist): New vars.
2410 (defmacro, defun): Use them.
2411 (make-obsolete, define-obsolete-function-alias)
2412 (make-obsolete-variable, define-obsolete-variable-alias):
2413 Use `declare'.
2414 (macro-declaration-function): Mark obsolete.
2415 * emacs-lisp/autoload.el: Use lexical-binding.
2416 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2417
6e8a1786
AM
24182012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2419
2420 * textmodes/ispell.el (ispell-with-no-warnings):
2421 Define as a macro.
500fcedc
SM
2422 (ispell-kill-ispell, ispell-change-dictionary):
2423 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2424 `interactive-p'.
2425
61b108cc
SM
24262012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2429 (macro-declaration-function): Move var from C code.
2430 (macro-declaration-function): Define function with defalias.
2431 * emacs-lisp/macroexp.el (macroexpand-all-1):
2432 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2433 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2434 defun/defmacro any more.
2435 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2436 Provide fallback for unknown arglist.
2437 (byte-compile-arglist-warn): Change calling convention.
2438 (byte-compile-output-file-form): Move print-vars binding.
2439 (byte-compile-output-docform): Simplify accordingly.
2440 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2441 (byte-compile-defmacro-declaration): Remove.
2442 (byte-compile-file-form-defmumble): Generalize to defalias.
2443 (byte-compile-output-as-comment): Return byte-positions.
2444 Simplify callers accordingly.
2445 (byte-compile-lambda): Use `assert'.
2446 (byte-compile-defun, byte-compile-defmacro): Remove.
2447 (byte-compile-file-form-defalias):
2448 Use byte-compile-file-form-defmumble.
2449 (byte-compile-defalias-warn): Remove.
2450
6d3f7c2f
SM
24512012-05-29 Stefan Merten <smerten@oekonux.de>
2452
2453 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2454 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2455
2456 (rst-mode-abbrev-table): Merge definition.
2457 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2458 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2459
6dbaa1c7
UJ
24602012-05-29 Ulf Jasper <ulf.jasper@web.de>
2461
2462 * calendar/icalendar.el
2463 (icalendar-export-region): Export UID properly.
2464
d209e2fb 24652012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2466 * calendar/icalendar.el (icalendar-import-format):
2467 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2468 (icalendar-import-format-uid): New.
2469 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2470 Export UID.
2471
6876a58d
SM
24722012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2475 different alternative patterns.
2476 (pcase-codegen): Be more careful to preserve identity.
2477 (pcase--u1): Don't forget to mark vars as used.
2478
2479 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2480 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2481 (byte-compile-from-buffer): ...rather than here.
2482
2483 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2484 functions from byte-compile-function-environment.
2485
46b7967e
TN
24862012-05-29 Troels Nielsen <bn.troels@gmail.com>
2487
2488 * window.el (window-deletable-p): Avoid deleting the root window
2489 of a frame with an active minibuffer.
2490
69d565e2
MR
24912012-05-29 Martin Rudalics <rudalics@gmx.at>
2492
2493 * simple.el (choose-completion): Use quit-window (Bug#11567).
2494
a149fa51
CY
24952012-05-29 Chong Yidong <cyd@gnu.org>
2496
2497 * whitespace.el (whitespace-cleanup): Fix usage of
2498 whitespace-empty-at-bob-regexp (Bug#11492).
2499
2b311310
AH
25002012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2501
2502 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2503 revert (Bug#11488).
2504
b9cb2387
JL
25052012-05-29 Juri Linkov <juri@jurta.org>
2506
2507 * isearch.el (isearch-mode-map): Bind `M-s _' to
2508 `isearch-toggle-symbol'. Bind `M-s c' to
2509 `isearch-toggle-case-fold'.
2510 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2511 (isearch-forward): Add `M-s _' to the docstring.
2512 (isearch-forward-symbol, isearch-toggle-case-fold)
2513 (isearch-symbol-regexp): New functions. (Bug#11381)
2514
d5e61c1c
JL
25152012-05-29 Juri Linkov <juri@jurta.org>
2516
2517 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2518 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2519 a function, call it to get the regexp.
2520 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2521 property `isearch-message-prefix' instead of the string "word ".
2522 (isearch-search-fun-default): For the case of `isearch-word',
2523 return a lambda that calls re-search-forward/re-search-backward
2524 with a regexp returned by `word-search-regexp' or by the function
2525 in `isearch-word'.
2526
8cbd80f7
JL
25272012-05-29 Juri Linkov <juri@jurta.org>
2528
2529 * isearch.el (isearch-search-fun-default): New function.
2530 (isearch-search-fun): Move default part to the new function
2531 `isearch-search-fun-default'.
2532 (isearch-search-fun-function): Set the default value to
2533 `isearch-search-fun-default'. (Bug#11381)
2534
2535 * comint.el (comint-history-isearch-end):
2536 Use `isearch-search-fun-default'.
2537 (comint-history-isearch-search): Use `isearch-search-fun-default'
2538 and remove spacial case for `isearch-word'.
2539 (comint-history-isearch-wrap): Remove spacial case for
2540 `isearch-word'.
2541
2542 * hexl.el (hexl-isearch-search-function):
2543 Use `isearch-search-fun-default'.
2544
2545 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2546 Use `word-search-regexp' for `isearch-word'.
2547
2548 * misearch.el (multi-isearch-search-fun):
2549 Use `isearch-search-fun-default'.
2550
2551 * simple.el (minibuffer-history-isearch-search):
2552 Use `isearch-search-fun-default' and remove spacial case for
2553 `isearch-word'.
2554 (minibuffer-history-isearch-wrap): Remove spacial case for
2555 `isearch-word'.
2556
2557 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2558 Remove spacial case for `isearch-word'.
2559 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2560
85c8c5b6
AM
25612012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2562
2563 Decrease XEmacs incompatibilities.
2564 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2565 Use `string-match'.
2566 (flyspell-delete-region-overlays): Use alternative definition for
2567 XEmacs.
2568 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2569 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2570 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2571 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2572 `define-obsolete-face-alias' under XEmacs, but old method.
2573
2574 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2575 `with-no-warnings' definition or Emacs alias.
2576 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2577 (ispell-word): Do not use `region-p' if XEmacs.
2578
8cab9efc
AM
25792012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2580
2581 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2582 Check for `ispell-dictionary-base-alist' instead of full
2583 `ispell-dictionary-alist'.
2584 (ispell-init-process): Show spellchecker when starting new Ispell
2585 process.
2586
fda91268
RZ
25872012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2590 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2591
694ea8e3
JB
25922012-05-27 Juanma Barranquero <lekktu@gmail.com>
2593
2594 * version.el (motif-version-string, gtk-version-string)
2595 (ns-version-string): Declare.
2596
e4d4f539
JL
25972012-05-27 Juri Linkov <juri@jurta.org>
2598
2599 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2600 after the `eval-defun-1' specialcaseing
2601 like in `edebug-eval-defun' (bug#10181).
2602
2603 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2604 like in `eval-defun-1'.
2605
33017faf 26062012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2607
fda91268
RZ
2608 * mail/sendmail.el (mail-yank-region):
2609 Recognize rmail-yank-current-message in addition to insert-buffer.
2610 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2611 a *mail* buffer created through rmail-start-mail with sendmail as
2612 mail-user-agent.
2613
33017faf
GM
26142012-05-27 Chong Yidong <cyd@gnu.org>
2615
2616 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2617 Default to 256 (Bug#11267).
2618
2619 * help.el (describe-mode): Doc fix.
2620
04188bb9
GM
26212012-05-26 Glenn Morris <rgm@gnu.org>
2622
38264cc9
GM
2623 * w32-fns.el (w32-init-info): Remove.
2624 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2625
eb7afdad
GM
2626 * info.el (info-initialize): For self-contained NS builds, put the
2627 included info/ directory at the front. (Bug#2791)
2628
04188bb9
GM
2629 * paths.el (Info-default-directory-list): Make it a defcustom,
2630 mainly so that we can use custom-initialize-delay.
2631
a179e3f7
SM
26322012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2633
43416392
SM
2634 * subr.el (buffer-has-markers-at): Mark obsolete.
2635
a179e3f7 2636 * subr.el (lambda): Use declare.
43416392 2637
a179e3f7
SM
2638 * emacs-lisp/lisp-mode.el (lambda):
2639 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2640
34a008d9
AH
26412012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2642
2643 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2644
0a3b289f
GM
26452012-05-26 Glenn Morris <rgm@gnu.org>
2646
2647 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2648
758c81e8
GM
26492012-05-25 Glenn Morris <rgm@gnu.org>
2650
f9f334f0
GM
2651 * paths.el: Remove no-byte-compile.
2652 * loadup.el: No need to load paths.el uncompiled.
2653
87eb79c2
GM
2654 * image.el (imagemagick-types-inhibit): Doc fix.
2655
758c81e8
GM
2656 * version.el: Remove no-byte-compile and associated formatting.
2657 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2658 is ancient code from when there was an "inc-vers.el".
2659
e7e85dc0
SM
26602012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * progmodes/gdb-mi.el: Minor style changes.
2663 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2664 Turn into minor modes.
2665 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2666 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2667 (gdb-shell): Remove unneeded let-binding.
2668 (gdb-get-many-fields): Eliminate O(n²) behavior.
2669
f31237a4
EZ
26702012-05-25 Eli Zaretskii <eliz@gnu.org>
2671
2672 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2673 platforms that don't link in fontset.c.
2674
bc1b21bb
JL
26752012-05-25 Juri Linkov <juri@jurta.org>
2676
2677 Use the same diff color scheme as in modern VCSes (bug#10181).
2678
2679 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2680 to avoid confusion with `diff-added' that now uses green colors.
2681 (diff-removed): Use shades of red.
2682 (diff-added): Use shades of green.
2683 (diff-changed): Leave just the yellow color.
2684 (diff-use-changed-face): New variable.
2685 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2686 how to highlight context diff changes.
2687 (diff-refine-change): Use shades of yellow.
2688 (diff-refine-removed): New face that uses shades of red.
2689 (diff-refine-added): New face that uses shades of green.
2690 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2691 `diff-refine-removed' in the call to `smerge-refine-subst'
2692 depending on the value of `diff-use-changed-face'.
2693
2694 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2695 (smerge-other): Use shades of green.
2696 (smerge-base): Use shades of yellow.
2697 (smerge-refined-change): Empty face.
2698 (smerge-refined-removed): New face that uses shades of red.
2699 (smerge-refined-added): New face that uses shades of green.
2700 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2701 args `props-r' and `props-a', and use them. Doc fix.
2702 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2703 on its value use different faces `smerge-refined-change',
2704 `smerge-refined-removed', `smerge-refined-added' in the call to
2705 `smerge-refine-subst'.
2706
2707 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2708 Add face condition `min-colors 88' with shades of red.
2709 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2710 `min-colors 88' with shades of green.
2711 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2712 `min-colors 88' with shades of yellow.
2713
6df9112c
GM
27142012-05-24 Glenn Morris <rgm@gnu.org>
2715
ead5edc0
GM
2716 * paths.el (prune-directory-list, remote-shell-program): Move to...
2717 * files.el (prune-directory-list, remote-shell-program): ...here.
2718 For the latter, delay initialization, prefer ssh, just search PATH.
2719
f18b81e6
GM
2720 * paths.el (term-file-prefix): Move to faces.el (the only user).
2721 * faces.el (term-file-prefix): Move here, make it a defcustom.
2722
ee2f89a6
GM
2723 * paths.el (news-directory, news-path, news-inews-program):
2724 Move to gnus/nnspool.el.
61a583ca 2725
f8815e4c
GM
2726 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2727
c8f3b42c
GM
2728 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2729 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2730 Make the latter a defcustom, with a delayed initialization.
2731
6df9112c
GM
2732 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2733 These were deleted from Gnus itself late 2010.
2734
5dadff36
JB
27352012-05-22 Juanma Barranquero <lekktu@gmail.com>
2736
9e1701c6
JB
2737 * progmodes/which-func.el (which-func-ff-hook):
2738 Check against user-error, not error.
2739
bd7239f5 2740 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2741 cl-specs.el, which no longer exists.
2742
3290526d
GM
27432012-05-22 Glenn Morris <rgm@gnu.org>
2744
2745 * info.el (info-emacs-bug): New command.
2746 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2747 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2748
ff0c3cfb
GM
27492012-05-21 Glenn Morris <rgm@gnu.org>
2750
2751 * makefile.w32-in (update-subdirs-SH):
2752 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2753
5814f126
SM
27542012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2755
a52c0aa0
SM
2756 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2757
5814f126
SM
2758 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2759 Simplify Maven regexp, and make sure the file can't start with a space
2760 (bug#11517).
2761
b847032c
GM
27622012-05-21 Glenn Morris <rgm@gnu.org>
2763
2764 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2765 Scrap superfluous subshells.
2766
3858bfe7
SM
27672012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2770 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2771
d14b0029
JB
27722012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2773
2774 * calc/calc.el (calc-ensure-consistent-units): New variable.
2775
a52c0aa0
SM
2776 * calc/calc-units.el (math-consistent-units-p)
2777 (math-check-unit-consistency): New functions.
2778 (calc-quick-units, calc-convert-units):
2779 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2780 is non-nil.
d14b0029
JB
2781 (calc-extract-units): Fix typo.
2782
60c4db3a
SM
27832012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2784
77f3b62e
SM
2785 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2786
60c4db3a
SM
2787 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2788 (flyspell-default-deplacement-commands): Don't spell check after
2789 repeated window/frame switches (e.g. triggered by mouse-movement).
2790 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2791 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2792 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2793 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2794 Remove unused vars.
2795 (flyspell-get-casechars, flyspell-get-not-casechars):
2796 Simplify; Don't bother removing a ] just to add it back.
2797 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2798
d209e2fb 27992012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2800
2801 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2802 New functions.
bd7239f5 2803 (math-function-table): Add support for more C functions.
b1a10716 2804
3f1b25b5
AM
28052012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2806
090bd7cb
JB
2807 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2808 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2809 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2810
b581bb5c
SM
28112012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2814 their respective macro declarations.
2815 * skeleton.el (define-skeleton):
2816 * progmodes/compile.el (define-compilation-mode):
2817 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2818 (define-ibuffer-filter):
2819 * emacs-lisp/generic.el (define-generic-mode):
2820 * emacs-lisp/easy-mmode.el (define-minor-mode)
2821 (define-globalized-minor-mode):
2822 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2823 * emacs-lisp/byte-run.el (defsubst):
2824 * custom.el (deftheme): Add doc-string metadata.
2825
70b8ef8f
SM
28262012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2829
b1198e17
SM
28302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2831
9abdc45d
SM
2832 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2833
b1198e17
SM
2834 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2835 * emacs-lisp/cl-macs.el: Idem.
2836 * emacs-lisp/cl-specs.el: Remove.
2837
4735906a
SM
28382012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 Minor renaming of internal CL functions and variables.
2841 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2842 (cl--position): Rename from cl-position.
2843 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2844 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2845 (cl--random-state): Rename from *random-state*.
2846
ac348012
SM
28472012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2850 parens around the arg list (bug#11499).
2851
a0a79cde
JL
28522012-05-17 Juri Linkov <juri@jurta.org>
2853
2854 * isearch.el (word-search-regexp, word-search-backward)
2855 (word-search-forward, word-search-backward-lax)
2856 (word-search-forward-lax): Move functions from search.c
2857 (bug#10145, bug#11381).
2858
65034a51
AM
28592012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2860
090bd7cb
JB
2861 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2862 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2863 Delay for otherchars as for normal word components.
65034a51 2864
1a72a195
SM
28652012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * minibuffer.el (completion--sifn-requote): Fix last change.
2868 (minibuffer-local-must-match-filename-map):
2869 Move define-obsolete-variable-alias before its var.
2870
fdb058c2
SM
28712012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2872
c41045e6
SM
2873 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2874
036dfb8b
SM
2875 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2876 behavior.
2877 (completion--string-equal-p): New function.
2878 (completion--twq-all): Use it to get better assertion failure data.
2879
2473256d
SM
2880 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2881 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2882 (shell--requote-argument): New functions.
2883 (shell-completion-vars): Use them.
2884 (shell--parse-pcomplete-arguments): Rename from
2885 shell-parse-pcomplete-arguments.
2886 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2887 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2888 Obey comint-file-name-quote-list.
2889
fdb058c2
SM
2890 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2891 (smie-indent-keyword): Use it.
2892
51fa99f1
SM
28932012-05-14 Stefan Merten <smerten@oekonux.de>
2894
2895 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2896
e18afed7 28972012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2898
2899 * net/rlogin.el (rlogin-mode-map): Fix last change.
2900
e18afed7 29012012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2902
2903 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2904 the following \r\n using a single `process-send-string', since the
2905 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2906 with two `process-send-string's (Bug#11444).
8633b1f4 2907
e18afed7 29082012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2909
fdb058c2
SM
2910 * shell.el (shell-parse-pcomplete-arguments):
2911 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2912
2d21d7f6
WJ
29132012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2914
e18afed7 2915 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2916 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2917 (image-transform-width, image-transform-fit-width): New functions.
2918 (image-transform-properties): Use them.
2919 (image-transform-check-size): New function.
2920 (image-toggle-display-image): Use it (for testing).
2921 (image-transform-set-rotation): Reduce angle mod 360.
2922 Delete obsolete comment.
2923
7102e6d0
WJ
29242012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2925
2926 * image-mode.el: Fix scaling (bug#11399).
2927 (image-transform-resize): Doc fix.
2928 (image-transform-properties): Default scale is 1 and height should
2929 be an integer.
2930
06bc5e6e
SM
29312012-05-13 Johan Bockgård <bojohan@gnu.org>
2932
2933 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2934 than hard-coding `car', to fix misbehavior when moving forward.
2935
0ae03b6a
CY
29362012-05-13 Chong Yidong <cyd@gnu.org>
2937
2938 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2939 (tabulated-list-entries, tabulated-list-padding)
2940 (tabulated-list-sort-key): Make permanent-local.
2941
2942 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2943 (electric-buffer-list): Put electric buffer menu
2944 command descriptions in this docstring, instead of the docstring
2945 of electric-buffer-menu-mode. Code cleanups.
2946 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2947 Electric-buffer-menu-mode.
2948 (electric-buffer-update-highlight): Minor code cleanup.
2949
205a7391
MA
29502012-05-13 Michael Albinus <michael.albinus@gmx.de>
2951
2952 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2953 (Bug#11447)
2954
e5bd0a28
SM
29552012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 Move define-obsolete-variable-alias before the var's definition.
2958 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2959 * tooltip.el (tooltip-hook):
2960 * textmodes/reftex-toc.el (reftex-toc-map):
2961 * textmodes/reftex-sel.el (reftex-select-label-map)
2962 (reftex-select-bib-map):
2963 * textmodes/reftex-index.el (reftex-index-map)
2964 (reftex-index-phrases-map):
2965 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2966 * progmodes/meta-mode.el (meta-mode-map):
2967 * novice.el (disabled-command-hook):
2968 * loadhist.el (unload-hook-features-list):
2969 * frame.el (blink-cursor):
2970 * files.el (find-file-not-found-hooks, write-file-hooks)
2971 (write-contents-hooks):
2972 * emulation/tpu-edt.el (GOLD-map):
2973 * emacs-lock.el (emacs-lock-from-exiting):
2974 * emacs-lisp/generic.el (generic-font-lock-defaults):
2975 * emacs-lisp/chart.el (chart-map):
2976 * dos-fns.el (register-name-alist):
2977 * dired-x.el (dired-omit-files-p):
2978 * desktop.el (desktop-enable):
2979 * cus-edit.el (custom-mode-hook):
2980 * buff-menu.el (buffer-menu-mode-hook):
2981 * bookmark.el (bookmark-read-annotation-text-func)
2982 (bookmark-exit-hooks):
2983 * allout.el (allout-mode-deactivate-hook)
2984 (allout-exposure-change-hook, allout-structure-added-hook)
2985 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2986 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2987 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2988 comes before the corresponding variable's definition.
2989
ac59c2f6
CY
29902012-05-12 Chong Yidong <cyd@gnu.org>
2991
2992 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2993 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2994 (Buffer-menu-mode-map): Bind it.
2995 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2996
dee6c9a3
SM
29972012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2998
2171cea5
SM
2999 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3000 (prolog-upper-case-string, prolog-lower-case-string)
3001 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3002 (prolog-use-smie, prolog-smie-grammar): New vars.
3003 (prolog-smie-forward-token, prolog-smie-backward-token)
3004 (prolog-smie-rules): New funs.
3005 (prolog-comment-indent): Remove.
3006 (prolog-mode-variables): Use default comment indentation instead.
3007 Setup SMIE.
3008 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3009 (prolog-mode): Don't call them any more.
3010 (prolog-electric-colon, prolog-electric-dash)
3011 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3012
aa0382bd
SM
3013 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3014
dbacb4bd
SM
3015 * minibuffer.el (completion--twq-all): Again, allow case differences.
3016
13bdd94c
SM
3017 * term.el: Move keymap initialization code to be more idiomatic.
3018 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3019 (term-terminal-menu): Move initialization into declaration.
3020 (term-escape-char): Let the user set it in her .emacs.
3021
ff46c759
SM
3022 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3023 Provide SMIE-based indentation (not enabled by default yet).
3024 (sh-mode-map): Don't bind electric keys.
3025 Use electric-pair-mode instead of skeleton-pair.
3026 (sh-assignment-regexp): Fit within 80 columns.
3027 (sh-indent-supported): Specify actual shell name instead of boolean.
3028 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3029 (sh-maybe-here-document): Use it. Make obsolete.
3030 (sh-electric-here-document-mode) New minor mode.
3031 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3032 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3033 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3034 (sh-smie-rc-grammar, sh-use-smie): New vars.
3035 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3036 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3037 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3038 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3039 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3040 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3041 (sh-set-shell): Use smie-setup if requested.
3042
dee6c9a3
SM
3043 * term.el (term-set-escape-char): Properly set term-escape-char.
3044 See http://stackoverflow.com/questions/10524656.
3045
9f9aa044
CY
30462012-05-10 Chong Yidong <cyd@gnu.org>
3047
3048 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3049 Use url-generic-parse-url, and handle host names and Windows
3050 filenames properly.
3051 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3052 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3053 URL schemes to work on.
3054 (ffap--toggle-read-only): New function.
3055 (ffap-read-only, ffap-read-only-other-window)
3056 (ffap-read-only-other-frame): Use it.
3057 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3058 necessary for ffap-url-unwrap-remote.
3059
836d29b3
DA
30602012-05-10 Dave Abrahams <dave@boostpro.com>
3061
3062 * cus-start.el (create-lockfiles): Add it.
3063
00fd78ed
CY
30642012-05-09 Chong Yidong <cyd@gnu.org>
3065
3066 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3067 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3068
666b903b 30692012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3070
3071 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3072
666b903b 30732012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3074
3075 * ansi-color.el (ansi-color-process-output): Check for validity of
3076 comint-last-output-start before using it. This avoids a bad
3077 interaction with gdb-mi's input/output buffer.
3078
666b903b 30792012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3080
3081 * files.el (dir-locals-read-from-file):
3082 Mention dir-locals in any error message.
3083
666b903b 30842012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3085
3086 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3087 package (Bug#11410).
3088
f677562b
CY
3089 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3090 variables into description.
3091
666b903b 30922012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3093
3094 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3095 shell-delimiter-argument-list (bug#11348).
3096 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3097
b499d8d0
JB
30982012-05-09 Juanma Barranquero <lekktu@gmail.com>
3099
8f6b6da8
JB
3100 * textmodes/rst.el: Silence byte-compiler warnings.
3101 (rst-re-alist, rst-reset-section-caches): Move around.
3102 (rst-re): Use `characterp', not `char-valid-p'.
3103 (font-lock-beg, font-lock-end): Declare.
3104
4824146a
JB
3105 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3106 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3107
b499d8d0
JB
3108 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3109
ad89bb83
GM
31102012-05-08 Glenn Morris <rgm@gnu.org>
3111
3112 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3113
8bba5a75
SM
31142012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3115
49ed9c8e
SM
3116 * vc/log-edit.el: Add GNU coding standards highlighting.
3117 (log-edit-font-lock-gnu-style)
3118 (log-edit-font-lock-gnu-keywords): New vars.
3119 (log-edit-font-lock-keywords): New fun.
3120 (log-edit-mode): Don't fold case in font-lock.
3121 (log-edit-font-lock-keywords): Do not assume case-folding.
3122
07d00b56
SM
3123 * imenu.el: Misc cleanup. Make docstrings out of comments.
3124 Use lexical-binding.
3125 (imenu--index-alist, imenu--last-menubar-index-alist)
3126 (imenu-menubar-modified-tick): Use defvar-local.
3127 (imenu--split-menu): Remove unused var.
3128 (imenu--cleanup-seen): Declare as global.
3129 (imenu--cleanup): Use dolist.
3130
8bba5a75
SM
3131 * subr.el (defvar-local): Add debug spec and doc-string position.
3132
5075bdb5
GM
31332012-05-08 Glenn Morris <rgm@gnu.org>
3134
090bd7cb 3135 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3136 * language/english.el, language/georgian.el, language/greek.el:
3137 * language/japanese.el, language/khmer.el, language/korean.el:
3138 * language/lao.el, language/misc-lang.el, language/romanian.el:
3139 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3140 * language/thai.el, language/utf-8-lang.el:
3141 Remove no-byte-compile setting.
3142
5075bdb5
GM
3143 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3144
06f679a7
AH
31452012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3146
3147 * progmodes/make-mode.el (makefile-browse):
3148 Remove unnecessary interactive. (Bug#11324)
3149
03794570
GM
31502012-05-07 Glenn Morris <rgm@gnu.org>
3151
af8630f4
GM
3152 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3153
03794570
GM
3154 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3155
f0809a9d
SM
31562012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3157
28be5ce7
SM
3158 * loadup.el: Preload newcomment.el.
3159 * newcomment.el: Move autoload-only code to toplevel.
3160
f0809a9d
SM
3161 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3162 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3163 Handle new :right-align column property.
3164 (tabulated-list-print-col): Idem, plus use `display' text-property to
3165 try and preserve alignment for variable pitch fonts.
3166
1241b724
CY
31672012-05-07 Chong Yidong <cyd@gnu.org>
3168
3169 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3170 (tabulated-list-use-header-line): New var.
3171 (tabulated-list-init-header): Use it.
3172 (tabulated-list-print-fake-header): New function.
3173 (tabulated-list-print): Use it.
3174 (tabulated-list-sort-button-map): Add non-header-line commands.
3175 (tabulated-list-init-header): Add column name property to basic
3176 labels as well.
3177 (tabulated-list-col-sort): Handle non-header-line button case.
3178 (tabulated-list--sort-by-column-name): Fix a corner case.
3179
f0809a9d
SM
3180 * buff-menu.el (list-buffers--refresh):
3181 Handle Buffer-menu-use-header-line.
1241b724 3182
e5f9458f
CY
31832012-05-06 Chong Yidong <cyd@gnu.org>
3184
3185 * buff-menu.el: Convert to Tabulated List mode.
3186 (Buffer-menu-buffer+size-width): Make obsolete.
3187 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3188 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3189 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3190 documentation into docstring of buffer-menu.
3191 (Buffer-menu-toggle-files-only): Add an informative message.
3192 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3193 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3194 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3195 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3196 (Buffer-menu-execute, Buffer-menu-select)
3197 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3198 (Buffer-menu-bury): Use Tabulated List machinery.
3199 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3200 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3201 Delete.
e5f9458f
CY
3202 (list-buffers--refresh): New function.
3203 (list-buffers-noselect): Use it.
3204 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3205 (Buffer-menu--pretty-file-name): New helper functions.
3206
3207 * loadup.el: Preload tabulated-list.
3208
3209 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3210 tabulated-list-sort-column.
3211 (tabulated-list-init-header): Add the initial aligning space even
3212 if tabulated-list-padding is zero.
3213
e129292c
CS
32142012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3215
3216 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3217 whose cdr is not a cons cell correctly (bug#11038).
3218
6632d361
CY
32192012-05-06 Chong Yidong <cyd@gnu.org>
3220
e129292c
CS
3221 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3222 Accept additional plist in column descriptors.
6632d361
CY
3223 (tabulated-list-init-header): Obey it.
3224 (tabulated-list-get-entry): New function.
3225 (tabulated-list-put-tag): Use it. Use string-width instead of
3226 length.
3227 (tabulated-list--column-number): New function.
3228 (tabulated-list-print): Use it.
e129292c
CS
3229 (tabulated-list-print-col): New function.
3230 Set `tabulated-list-column-name' property on each column's text.
6632d361 3231 (tabulated-list-print-entry): Use it.
e129292c
CS
3232 (tabulated-list-delete-entry, tabulated-list-set-col):
3233 New functions.
6632d361
CY
3234 (tabulated-list-sort-column): New command (Bug#11337).
3235
3cc99f68
CY
3236 * buff-menu.el (list-buffers): Move C-x C-b binding from
3237 buff-menu.el to bindings.el.
3238
3239 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3240 :advertised-binding feature.
3241
52b61776
TN
32422012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3243
3244 * progmodes/compile.el (compilation-internal-error-properties):
3245 Calculate start position correctly when end-col is set but
3246 end-line is not (Bug#11382).
3247
ebfe2597
WJ
32482012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3249
3250 * man.el (Man-unindent): Use text-property-default-nonsticky to
3251 prevent untabify from inheriting face properties (Bug#11408).
3252
6d3f7c2f
SM
32532012-05-05 Stefan Merten <smerten@oekonux.de>
3254
3255 * textmodes/rst.el: Major merge with upstream development up to
3256 Docutils SVN r7399 / rst.el V1.2.1.
3257
3258 Clarify maintainership and authors.
3259
3260 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3261 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3262 (rst-official-version, rst-official-cvs-rev, rst-version)
3263 (rst-package-emacs-version-alist): New functions and variables
3264 for version information.
3265
3266 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3267 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3268 (rst-mode-syntax-table, rst-mode): New and corrected functions
3269 and variables representing reStructuredText features.
3270
3271 (rst-re): New function for reStructuredText regexes. Use in
3272 many places.
3273
3274 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3275 (rst-mode-map): Rebind keys.
3276
3277 (rst-mode-lazy, rst-font-lock-keywords)
3278 (rst-font-lock-extend-region)
3279 (rst-font-lock-extend-region-internal)
3280 (rst-font-lock-extend-region-extend)
3281 (rst-font-lock-find-unindented-line-limit)
3282 (rst-font-lock-find-unindented-line-match)
3283 (rst-adornment-level, rst-font-lock-adornment-level)
3284 (rst-font-lock-adornment-match)
3285 (rst-font-lock-handle-adornment-pre-match-form)
3286 (rst-font-lock-handle-adornment-matcher): Major revision of
3287 font-locking. Integrate with other code. Use `jit-lock-mode'.
3288
3289 (rst-preferred-adornments, rst-adjust-hook)
3290 (rst-new-adornment-down, rst-preferred-bullets)
3291 (rst-preferred-bullets, rst-indent, rst-indent-width)
3292 (rst-indent-field, rst-indent-literal-normal)
3293 (rst-indent-literal-minimized, rst-indent-comment): Change,
3294 extend and improve customization.
3295
3296 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3297 (rst-normalize-cursor-position, rst-get-decoration)
3298 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3299 (rst-rstrip, rst-toc-insert-find-delete-contents)
3300 (rst-shift-fill-region, rst-compute-bullet-tabs)
3301 (rst-debug-print-tabs, rst-debug-mark-found)
3302 (rst-shift-region-guts, rst-shift-region-right)
3303 (rst-shift-region-left, rst-use-char-classes)
3304 (rst-font-lock-keywords-function)
3305 (rst-font-lock-indentation-point)
3306 (rst-font-lock-find-unindented-line-begin)
3307 (rst-font-lock-find-unindented-line-end)
3308 (rst-font-lock-find-unindented-line)
3309 (rst-font-lock-adornment-point, rst-font-lock-level)
3310 (rst-adornment-level-alist): Remove functions and variables.
3311
3312 (rst-compare-adornments, rst-get-adornment-match)
3313 (rst-suggest-new-adornment, rst-get-adornments-around)
3314 (rst-adornment-complete-p, rst-get-next-adornment)
3315 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3316 (rst-straighten-adornments): Standardize function names to
3317 use "adornment" instead of "decoration". Correct callers.
3318 Similar standardizing in many places.
3319
3320 (rst-update-section, rst-adjust, rst-promote-region)
3321 (rst-enumerate-region, rst-bullet-list-region)
3322 (rst-repeat-last-character): Correct use of `interactive'.
3323
3324 (rst-classify-adornment, rst-find-all-adornments)
3325 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3326 (rst-find-leftmost-column, rst-repeat-last-character):
3327 Refactor functions.
3328
3329 (rst-find-title-line, rst-reset-section-caches)
3330 (rst-get-adornments-around, rst-adjust-adornment-work)
3331 (rst-arabic-to-roman, rst-roman-to-arabic)
3332 (rst-insert-list-pos, rst-insert-list-new-item)
3333 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3334 New functions.
3335
3336 (rst-all-sections, rst-section-hierarchy)
3337 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3338 New variables.
3339
3340 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3341 configuration instead of only buffer. Change where necessary.
3342
3343 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3344 (rst-shift-region, rst-adaptive-fill): New functions for
3345 indentation and filling.
3346
3347 (rst-comment-line-break, rst-comment-indent)
3348 (rst-comment-insert-comment, rst-comment-region)
3349 (rst-uncomment-region): New functions for handling comments.
3350
3351 (rst-compile): Quote shell arguments.
3352
3353 (rst-compile-pdf-preview, rst-compile-slides-preview):
3354 Delete temporary files after use.
3355
a43f98b3
GM
33562012-05-05 Glenn Morris <rgm@gnu.org>
3357
48176e8b
GM
3358 * calendar/cal-html.el: Optionally include holidays in the output.
3359 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3360 (cal-html-holidays): New option.
3361 (cal-html-css-default): Add holiday entry.
3362 (holiday-in-range): Autoload it.
3363 (cal-html-htmlify-entry): Add optional class argument.
3364 (cal-html-htmlify-list): Add optional holidays argument.
3365 (cal-html-insert-agenda-days): Include holidays in the output.
3366 (cal-html-one-month): Maybe include holidays.
3367
a43f98b3
GM
3368 * calendar/holidays.el (holiday-in-range):
3369 Move here from cal-tex-list-holidays.
3370 * calendar/cal-tex.el (cal-tex-list-holidays):
3371 Make it an obsolete alias for holiday-in-range. Update all callers.
3372
fef9d149 33732012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3374
3375 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3376 Nextstep.
3377
248da2f4
RW
33782012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3379
3380 * files.el (file-auto-mode-skip): New var.
3381 (set-auto-mode-1): Use it.
3382
f95e9344
SM
33832012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3384
df96ab1e
SM
3385 * repeat.el: Use lexical-binding.
3386 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3387 (repeat-undo-count): Remove.
3388 (repeat):
3389 * progmodes/octave-mod.el (octave-abbrev-start):
3390 * progmodes/f90.el (f90-abbrev-start):
3391 * face-remap.el (text-scale-adjust):
3392 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3393
5342bb06
SM
3394 * emacs-lisp/pcase.el (pcase--let*): New function.
3395 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3396 a bit more.
3397 (pcase--split-pred): Be more clever about ruling out overlap between
3398 a predicate and some constant pattern.
3399 (pcase--q1): Use `null' instead of (eq foo nil).
3400
f95e9344
SM
3401 * subr.el (setq-local, defvar-local): New macros.
3402 (kbd): Redefine as an alias.
3403 (with-selected-window): Leave unrelated frames alone.
3404 (set-temporary-overlay-map): New function.
3405
71873e2b
SM
34062012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3407
3408 * subr.el (user-error): New function.
3409 * window.el (switch-to-buffer):
3410 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3411 (smerge-match-conflict):
3412 * simple.el (previous-matching-history-element)
3413 (next-matching-history-element, goto-history-element, undo-more)
3414 (undo-start):
3415 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3416 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3417 (next-file, tags-loop-scan, list-tags, complete-tag):
3418 * progmodes/compile.el (compilation-loop):
3419 * mouse.el (mouse-minibuffer-check):
3420 * man.el (Man-bgproc-sentinel, Man-goto-page):
3421 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3422 (Info-history-forward, Info-follow-reference, Info-menu)
3423 (Info-extract-menu-item, Info-extract-menu-counting)
3424 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3425 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3426 (Info-next-reference, Info-prev-reference, Info-index)
3427 (Info-index-next, Info-follow-nearest-node)
3428 (Info-copy-current-node-name):
3429 * imenu.el (imenu--make-index-alist)
3430 (imenu-default-create-index-function, imenu-add-to-menubar):
3431 * files.el (basic-save-buffer, recover-file):
3432 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3433 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3434 (checkdoc-message-text, checkdoc-defun):
3435 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3436 * cus-edit.el (customize-changed-options, customize-rogue)
3437 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3438 (custom-variable-mark-to-reset-standard)
3439 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3440 (custom-file):
3441 * completion.el (check-completion-length):
3442 * comint.el (comint-search-arg)
3443 (comint-previous-matching-input-string-position)
3444 (comint-previous-matching-input)
3445 (comint-replace-by-expanded-history-before-point, comint-send-input)
3446 (comint-copy-old-input, comint-backward-matching-input)
3447 (comint-goto-process-mark, comint-set-process-mark):
3448 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3449 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3450
8a61ee22
SM
34512012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3452
66408d1e
SM
3453 * dabbrev.el (dabbrev--ignore-case-p): New function.
3454 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3455 Use it.
3456
8a61ee22
SM
3457 * files.el (automount-dir-prefix): Mark as obsolete.
3458
3c74813a
GM
34592012-05-04 Glenn Morris <rgm@gnu.org>
3460
3461 * patcomp.el, play/bruce.el: Move to obsolete/.
3462
0bfcf5c5
PE
34632012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3464
3465 Fix minor Y10k bugs.
3466 * arc-mode.el (archive-unixdate):
3467 * autoinsert.el (auto-insert-alist):
3468 * calc/calc-forms.el (math-this-year):
3469 * emacs-lisp/copyright.el (copyright-current-year)
3470 (copyright-update-year, copyright):
3471 * tar-mode.el (tar-clip-time-string):
3472 * time.el (display-time-update):
3473 Don't assume years have 4 digits.
3474
78f3273a
CY
34752012-05-04 Chong Yidong <cyd@gnu.org>
3476
3477 * dos-w32.el (file-name-buffer-file-type-alist)
3478 (direct-print-region-use-command-dot-com):
3479 * ffap.el (ffap-menu-regexp):
3480 * find-file.el (ff-special-constructs):
3481 * follow.el (follow-debug):
3482 * forms.el (forms--debug):
3483 * iswitchb.el (iswitchb-all-frames):
3484 * ido.el (ido-all-frames):
3485 * emacs-lisp/timer.el (timer-max-repeats):
3486 * mail/feedmail.el (feedmail-mail-send-hook)
3487 (feedmail-mail-send-hook-queued):
3488 * mail/footnote.el (footnote-signature-separator):
3489 * mail/mailabbrev.el (mail-alias-separator-string)
3490 (mail-abbrev-mode-regexp):
3491 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3492 * progmodes/idlwave.el (idlwave-libinfo-file)
3493 (idlwave-default-completion-case-is-down)
3494 (idlwave-library-routines): Convert defvars to defcustoms.
3495
3496 * mail/rmail.el (rmail-decode-mime-charset):
3497 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3498 (idlwave-shell-fix-inserted-breaks)
3499 (idlwave-shell-activate-alt-keybindings)
3500 (idlwave-shell-use-breakpoint-glyph):
3501 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3502
f7ae6719
SM
35032012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3504
3505 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3506
47086495
WS
35072012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3508
3509 * progmodes/verilog-mode.el (font-lock-keywords):
3510 Fix mis-highligting auto. Reported by Craig Barner.
3511 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3512 defines from global name space. Reported by Dan Dever.
3513 (verilog-auto-reset, verilog-auto-reset-widths)
3514 (verilog-auto-tieoff): Support using unbased numbers for
3515 AUTORESET and AUTOTIEOFF.
3516 (verilog-submit-bug-report): Update variable list.
3517 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3518 parenthesis from not matching. Reported by Michael Rytting.
3519 (verilog-auto-template-lint): Fix hash error when linting modules
3520 with no used templates.
3521 (verilog-warn, verilog-warn-error)
3522 (verilog-warn-fatal): When non-interactive report multiple
3523 warnings before exiting. Suggested by Brad Dobbie.
3524 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3525 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3526 to report unused template errors. Reported by Brad Dobbie.
3527 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3528 nets, bug438. Reported by Vns Blore.
3529 (verilog-auto-inout-module, verilog-auto-reg)
3530 (verilog-read-decls, verilog-read-sub-decls-sig)
3531 (verilog-signals-edit-wire-reg, verilog-signals-with):
3532 Fix passing of Verilog data types in ANSI input/output ports
3533 such as "output logic" into the AUTOs. Special case "wire" and
3534 "reg" for backwards compatibility presuming Verilog 2001.
3535 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3536 (verilog-preprocess): Fix replication of preprocess output.
3537 Reported by Brad Dobbie.
3538 (verilog-auto-inst-interfaced-ports):
3539 Create verilog-auto-inst-interfaced-ports, bug429.
3540 Reported by Julian Gorfajn.
3541 (verilog-after-save-font-hook)
3542 (verilog-before-save-font-hook): New variable.
3543 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3544 (verilog-save-font-mods): Wrap disabling fontification, reported
3545 by David Rogoff.
3546 (verilog-do-indent, verilog-pretty-declarations-auto)
3547 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3548 Reported by Pierre-David Pfister.
3549 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3550 of class declarations, bug292. Reported by Kevin Heilman.
3551 (verilog-read-decls): Fix 'parameter type' not appearing in
3552 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3553 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3554 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3555 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3556 Reported by David Kravitz.
3557
35582012-05-03 Michael McNamara <mac@mail.brushroad.com>
3559
3560 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3561 assignment with tests in ifs and for loops.
3562 (verilog-extended-complete-re, verilog-complete-reg): Change so
3563 that DPI inport functions don't look like fuction declarations.
3564 (verilog-pretty-expr): Don't line up assignment
3565 operations to the test and increment in if and for loops
3566 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3567 that DPI inport functions don't look like fuction declarations.
47086495 3568
2e51d4b5
KH
35692012-05-03 Kenichi Handa <handa@m17n.org>
3570
3571 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3572 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3573 (Bug#11282).
3574
2bd785a2
SM
35752012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * emacs-lisp/bytecomp.el
3578 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3579 since cconv.el might have introduced :fun-body, internal-make-closure,
3580 and friends for bytecomp to handle (bug#11391).
3581 * custom.el (defcustom): Avoid ((λ ..) ..).
3582
99d27583
SM
35832012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3586
55a71479
JB
35872012-05-02 Juanma Barranquero <lekktu@gmail.com>
3588
3589 * notifications.el (dbus-debug):
3590 * term/linux.el (gpm-mouse-enable):
3591 * term/screen.el (xterm-register-default-colors): Declare.
3592
7b97c764
CY
35932012-05-02 Chong Yidong <cyd@gnu.org>
3594
2bc356d7
CY
3595 * cus-start.el (gc-cons-percentage, exec-suffixes)
3596 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3597 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3598 (make-cursor-line-fully-visible, void-text-area-pointer)
3599 (font-list-limit): Add customization data.
3600
7b97c764
CY
3601 * allout.el (allout-exposure-change-functions)
3602 (allout-structure-added-functions)
3603 (allout-structure-deleted-functions)
3604 (allout-structure-shifted-functions): Rename abnormal hooks from
3605 *-hook, and convert to defcustoms.
5d3385a0
JB
3606 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3607 Convert to defcustoms.
7b97c764
CY
3608 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3609
3610 * allout-widgets.el: Hook callers changed.
3611
90207a15 36122012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3613
3614 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3615 the yanked message in preference to the default value of
3616 buffer-file-coding-system.
3617
90207a15 36182012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3619
5d3385a0
JB
3620 * window.el (display-buffer--action-function-custom-type):
3621 Fix entry.
d9558cad 3622
90207a15 36232012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3624
3625 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3626
d80ac57b
GM
36272012-05-01 Glenn Morris <rgm@gnu.org>
3628
976f7668
GM
3629 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3630
beb83b5a
GM
3631 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3632
d80ac57b
GM
3633 * cus-edit.el (custom-variable-documentation): Simplify with format.
3634
b593d6a9
AH
36352012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3636 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * simple.el (suggest-key-bindings, execute-extended-command):
3639 Move from keyboard.c.
3640
782fbf2a
CY
36412012-05-01 Chong Yidong <cyd@gnu.org>
3642
3643 * follow.el: Eliminate advice.
3644 (set-process-filter, process-filter, sit-for): Advice deleted.
3645 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3646 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3647 Vars deleted.
782fbf2a
CY
3648 (follow-auto): Use a :set function.
3649 (follow-mode): Rewritten. Don't advise process filters.
3650 (follow-switch-to-current-buffer-all, follow-scroll-up)
3651 (follow-scroll-down): Assume follow-mode is bound.
3652 (follow-comint-scroll-to-bottom)
3653 (follow-align-compilation-windows): New functions.
3654 (follow--window-sorter): New function.
3655 (follow-all-followers): Use it to explicitly sort windows by their
3656 positions; don't make assumptions about next-window order.
3657 (follow-windows-start-end, follow-delete-other-windows-and-split)
3658 (follow-calc-win-start): Doc fix.
3659 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3660 vertical-motion unnecessarily.
3661 (follow-adjust-window): New function.
3662 (follow-post-command-hook): Use it.
3663 (follow-call-set-process-filter, follow-call-process-filter)
3664 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3665 (follow-stop-intercept-process-output, follow-generic-filter):
3666 Functions deleted.
3667 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3668 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3669 New functions, replacing advice on scroll-bar-* commands.
87233a14 3670 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3671
3672 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3673 (comint-postoutput-scroll-to-bottom): Use it.
3674 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3675
290af740
GM
36762012-05-01 Glenn Morris <rgm@gnu.org>
3677
3678 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3679 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3680 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3681 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3682 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3683 Remove no-byte-compile setting.
3684
6eac8dc9
SM
36852012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3688 all-completions code to not return a number in the last cdr.
3689
9cc7819c
LL
36902012-04-30 Leo Liu <sdl.web@gmail.com>
3691
3692 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3693 read-only error.
3694
c93b886f
CY
36952012-04-29 Chong Yidong <cyd@gnu.org>
3696
3697 * follow.el (follow-calc-win-end): Rewrite to handle partial
3698 screen lines correctly (Bug#8390).
3699 (follow-avoid-tail-recenter): Minor cleanup.
3700
8b6c19f4
SM
37012012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3702
3703 Avoid the obsolete `assoc' package.
3704 * speedbar.el (speedbar-refresh): Avoid adelete.
3705 (speedbar-file-lists): Simplify and avoid aput.
3706 * man.el (Man--sections, Man--refpages): New vars, replacing
3707 Man-sections-alist and Man-refpages-alist.
3708 (Man-build-section-alist, Man-build-references-alist):
3709 Use them; avoid aput.
3710 (Man--last-section, Man--last-refpage): New vars.
3711 (Man-follow-manual-reference): Use them.
3712 Use the `default' arg of completing-read.
3713 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3714
c5bb7569
CY
37152012-04-27 Chong Yidong <cyd@gnu.org>
3716
d1d2e2e8
CY
3717 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3718
15cd8efd
CY
3719 * startup.el (x-apply-session-resources): New function.
3720
3721 * term/ns-win.el (ns-initialize-window-system):
3722 * term/w32-win.el (w32-initialize-window-system):
3723 * term/x-win.el (x-initialize-window-system): Use it to properly
3724 set menu-bar-mode and other vars from X resources, even if the
3725 initial frame is not a window-system frame (Bug#2299).
3726
c5bb7569
CY
3727 * subr.el (read-key): Avoid running filter function when setting
3728 up temporary tool bar entries (Bug#9922).
3729
a8e7d6d7 37302012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3731
3732 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3733 (Bug#11344)
3734
a8e7d6d7 37352012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3736
3737 * select.el (xselect--encode-string): New function, split from
3738 xselect-convert-to-string.
3739 (xselect-convert-to-string): Use it.
3740 (xselect-convert-to-filename, xselect-convert-to-os)
3741 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3742 returned strings are properly encoded (Bug#11315).
3743
a8e7d6d7 37442012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3745
3746 * simple.el (delete-active-region): Move to killing custom group.
3747
a8e7d6d7 37482012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3749
3750 * progmodes/which-func.el (which-func-current): Quote %
3751 characters for mode-line processing.
3752
578c1d4b 37532012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3754
3755 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3756 reaching eob (Bug#11286).
3757
a8e7d6d7 37582012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3759
3760 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3761 (gdb): Make it buffer-local and init to zero.
3762 (gdb-control-commands-regexp): New variable.
3763 (gdb-send): Don't wrap in "-interpreter-exec console" if
3764 gdb-control-level is positive. Increment gdb-control-level
3765 whenever the command matches gdb-control-commands-regexp, and
3766 decrement it each time the command is "end". (Bug#11279)
3767
a8e7d6d7 37682012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3769
3770 * window.el (adjust-window-trailing-edge, enlarge-window)
3771 (shrink-window, window-resize):
3772 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3773 windows (Bug#11276).
3774
b3608390
CY
37752012-04-27 Chong Yidong <cyd@gnu.org>
3776
3777 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3778 fix "missing prefix" warning. All callers changed.
b3608390 3779
797e6e88
SM
37802012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * emacs-lisp/assoc.el: Move to obsolete/.
3783
e95a67dc
SM
37842012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3785
657c21e4 3786 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3787
3788 * term/ns-win.el (ns-define-service):
3789 * progmodes/pascal.el (pascal-goto-defun):
3790 * progmodes/js.el (js--read-tab):
3791 * progmodes/etags.el (tags-lazy-completion-table):
3792 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3793 * emacs-lisp/ewoc.el (ewoc--wrap):
3794 * emacs-lisp/assoc.el (aput, adelete, amake):
3795 * doc-view.el (doc-view-convert-current-doc):
3796 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3797
cb3e7ae0
CY
37982012-04-26 Chong Yidong <cyd@gnu.org>
3799
dce04f7f
CY
3800 * image.el (image-type-from-buffer): Only return supported image
3801 type (Bug#9045).
3802
cb3e7ae0
CY
3803 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3804 value, for symmetry with diff-end-of-hunk.
3805 (diff-split-hunk, diff-find-source-location)
3806 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3807 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3808 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3809 compute the relevant hunk or file properly (Bug#6005).
3810 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3811
0d42eb3e
SM
38122012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * vc/vc-mtn.el:
3815 * vc/vc-hg.el:
3816 * vc/vc-git.el:
3817 * vc/vc-dir.el:
3818 * vc/vc-cvs.el:
3819 * vc/vc-bzr.el:
3820 * vc/vc-arch.el:
3821 * vc/vc.el: Replace lexical-let by lexical-binding.
3822 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3823 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3824 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3825
f08ae1c9
CY
38262012-04-26 Chong Yidong <cyd@gnu.org>
3827
8b71081d
CY
3828 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3829 (diff-mode-shared-map): Bind it to / and [remap undo].
3830
f08ae1c9
CY
3831 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3832 (ediff-window-setup-function): Use it as the default, to set up
3833 windows based on whether the current frame is graphical (Bug#2138).
3834 (ediff-choose-window-setup-function-automatically): Make obsolete.
3835
3836 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3837
ef24141c
SM
38382012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3839
cc356a5d
SM
3840 * ffap.el: Remove old code for obsolete package.
3841 (ffap-complete-as-file-p): Remove.
3842
b4ff4f1f
SM
3843 Use completion-table-with-quoting for comint and pcomplete.
3844 * comint.el (comint--unquote&requote-argument)
3845 (comint--unquote-argument, comint--requote-argument): New functions.
3846 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3847 (comint-quote-filename): Use regexp-opt-charset.
3848 (comint--common-suffix, comint--common-quoted-suffix)
3849 (comint--table-subvert): Remove.
3850 (comint-unquote-function, comint-requote-function): New vars.
3851 (comint--complete-file-name-data): Use them with
3852 completion-table-with-quoting.
3853 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3854 * pcomplete.el (pcomplete-arg-quote-list)
3855 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3856 (pcomplete-unquote-argument-function): Default to non-nil.
3857 (pcomplete-unquote-argument): Simplify.
3858 (pcomplete--common-quoted-suffix): Remove.
3859 (pcomplete-requote-argument-function): New var.
3860 (pcomplete--common-suffix): New function.
3861 (pcomplete-completions-at-point): Use completion-table-with-quoting
3862 and completion-table-subvert.
3863
79c4eeb4
SM
3864 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3865 (minibuffer--double-dollars): Preserve properties.
3866 (completion--sifn-requote): New function.
3867 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3868
ef24141c
SM
3869 * minibuffer.el: Add support for completion of quoted/escaped data.
3870 (completion-table-with-quoting, completion-table-subvert): New funs.
3871 (completion--twq-try, completion--twq-all): New functions.
3872 (completion--nth-completion): New function.
3873 (completion-try-completion, completion-all-completions): Use it.
3874
784e7d6e
LL
38752012-04-25 Leo Liu <sdl.web@gmail.com>
3876
dd2ac746
SM
3877 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3878 Use compilation-message if available to find real filename.
784e7d6e 3879
07875ee7
CY
38802012-04-25 Chong Yidong <cyd@gnu.org>
3881
3882 * vc/diff-mode.el (diff-setup-whitespace): New function.
3883 (diff-mode): Use it.
3884
3885 * vc/diff.el (diff-sentinel):
3886 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3887 Whitespace mode variables based on diff style (Bug#8612).
3888
5055880d
LL
38892012-04-25 Leo Liu <sdl.web@gmail.com>
3890
daf75653
LL
3891 * progmodes/python.el (python-send-region): Add suffix .py to the
3892 temp file.
3893
5055880d
LL
3894 * files.el (auto-mode-alist): Use javascript-mode instead.
3895
db9b177b
AH
38962012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3897
ef24141c 3898 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3899
090bd7cb 3900 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3901 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3902 references, see Bug#9.
ef24141c 3903 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3904 when receiving a fault reply.
ef24141c 3905 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3906
090bd7cb 3907 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3908 (soap-inspect-simple-type): New function.
db9b177b 3909
090bd7cb 3910 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3911 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3912 (soap-decode-basic-type, soap-encode-basic-type):
3913 support unsignedInt and double basic types.
db9b177b 3914 (soap-resolve-references-for-simple-type)
ef24141c
SM
3915 (soap-parse-simple-type, soap-encode-simple-type): New function.
3916 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3917
090bd7cb 3918 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3919 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3920 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3921 the local name of "soapenc:Array".
3922 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3923 decoding integer, byte and anyURI xsd types.
3924
1fc6097b
CY
39252012-04-25 Chong Yidong <cyd@gnu.org>
3926
3927 * cus-edit.el (custom-buffer-create-internal): Update header text.
3928
afc6df87
EZ
39292012-04-25 Eli Zaretskii <eliz@gnu.org>
3930
3931 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3932 settings on 'system-type', not on 'window-system'. On MS-Windows,
3933 set interactive-mode on in GDB.
3934
dfbd787f
SM
39352012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3938 (ruby-syntax-propertize-regexp): Remove.
3939 (ruby-syntax-propertize-function): Split regexp into chunks.
3940 Match following code directly.
3941
85222d44
DG
39422012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3943
51a8ea2a
DG
3944 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3945 (ruby-syntax-propertize-regexp): New function.
3946 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3947 by a special keyword.
3948
85222d44
DG
3949 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3950 (ruby-syntax-general-delimiters-goto-beg)
3951 (ruby-syntax-propertize-general-delimiters): New functions.
3952 (ruby-syntax-propertize-function): Use them to handle GDL.
3953 (ruby-font-lock-keywords): Move old handling of GDL...
3954 (ruby-font-lock-syntactic-keywords): .. to here.
3955 (ruby-calculate-indent): Adjust indentation for GDL.
3956
b613912b
MA
39572012-04-24 Michael Albinus <michael.albinus@gmx.de>
3958
b5380639
MA
3959 * notifications.el (top): Remove unneeded declarations.
3960 (notifications-specification-version): Change to "1.2".
e43042fe 3961 (notifications-interface, notifications-notify-method)
b613912b
MA
3962 (notifications-close-notification-method): Fix docstring.
3963 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3964 (notifications-notify): Add :action-items, :resident and
3965 :transient hints. Change "image_data" to "image-data" and
3966 "image_path" to "image-path".
b613912b
MA
3967 (notifications-get-capabilities): New defun.
3968
257440aa
LL
39692012-04-24 Leo Liu <sdl.web@gmail.com>
3970
3971 * progmodes/python.el: Move hideshow setup to the end.
3972
b1bac16e
MR
39732012-04-24 Martin Rudalics <rudalics@gmx.at>
3974
3975 * window.el (handle-select-window): Clear echo area since this is
3976 no more done by read_char (Bug#11304).
3977
d81bd059
SM
39782012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3981 and `/ M' to filter-derived-mode.
3982 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3983 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3984 (ibuffer-mark-by-mode): Use default rather than initial-input.
3985 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3986
c4cf6d91
IA
39872012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3988
3989 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3990 (ibuffer-filter-by-derived-mode): New filter.
3991 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3992
7511ded8
CY
39932012-04-23 Andreas Politz <politza@fh-trier.de>
3994
3995 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3996
775c916b
CY
39972012-04-23 Chong Yidong <cyd@gnu.org>
3998
3999 * cus-edit.el (customize-apropos, customize-apropos-options):
4000 Disable matching of non-option variables (Bug#11176).
4001 (customize-option, customize-option-other-window)
4002 (customize-changed-options): Doc fix.
4003 (customize-apropos-options, customize-apropos-faces)
4004 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4005
4006 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4007 Fix word list splitting (Bug#11132).
46c71e23
CY
4008 (apropos-symbol, apropos-keybinding, apropos-label)
4009 (apropos-property, apropos-function-button)
4010 (apropos-variable-button, apropos-misc-button): New faces.
4011 (apropos-symbol-face, apropos-keybinding-face)
4012 (apropos-label-face, apropos-property-face, apropos-match-face):
4013 Variables removed (Bug#8396).
4014 (apropos-library-button, apropos-format-plist, apropos-print)
4015 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4016
2df41f9c
MA
40172012-04-23 Michael Albinus <michael.albinus@gmx.de>
4018
4019 * net/xesam.el (xesam-mode-map): Use let-bound map in
4020 initialization. (Bug#11292)
4021
da00640a
AM
40222012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4023
4024 Preserve ispell session localwords when switching back to
4025 original buffer.
4026
090bd7cb
JB
4027 * textmodes/ispell.el (ispell-buffer-session-localwords):
4028 New buffer-local variable to hold buffer session localwords.
ed9265fc 4029 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4030 localwords.
4031 (ispell-command-loop, ispell-change-dictionary)
4032 (ispell-buffer-local-words): Preserve session localwords when
4033 needed.
4034
090bd7cb
JB
4035 * textmodes/flyspell.el (flyspell-process-localwords)
4036 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4037
f621ccf5
AM
40382012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4039
090bd7cb
JB
4040 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4041 using obsolete `translation-table-for-input'.
ef24141c
SM
4042 (ispell-word, ispell-process-line, ispell-complete-word):
4043 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4044
c2d1019e
CY
40452012-04-22 Chong Yidong <cyd@gnu.org>
4046
4047 * cus-edit.el (custom-variable-menu)
4048 (custom-variable-reset-saved, custom-face-menu)
4049 (custom-face-reset-saved): If there is no saved value, make the
4050 "reset-saved" operation bring back the default (Bug#9509).
4051 (custom-face-state): Properly detect themed faces.
4052
eeddc531
CY
4053 * faces.el (face-spec-set): Stop supporting deprecated form of
4054 third arg.
4055
dcbf5805
MA
40562012-04-22 Michael Albinus <michael.albinus@gmx.de>
4057
4058 Move functions from C to Lisp. Make non-blocking method calls
4059 the default. Implement further D-Bus standard interfaces.
4060
ef24141c
SM
4061 * net/dbus.el (dbus-message-internal): Declare function.
4062 Remove unneeded function declarations.
dcbf5805
MA
4063 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4064 (dbus-message-type-method-return, dbus-message-type-error)
4065 (dbus-message-type-signal): Declare variables. Remove local
4066 definitions.
4067 (dbus-interface-dbus, dbus-interface-peer)
4068 (dbus-interface-introspectable, dbus-interface-properties)
4069 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4070 Adapt docstring.
4071 (dbus-interface-objectmanager): New defconst.
4072 (dbus-call-method, dbus-call-method-asynchronously)
4073 (dbus-send-signal, dbus-method-return-internal)
4074 (dbus-method-error-internal, dbus-register-service)
4075 (dbus-register-signal, dbus-register-method): New defuns, moved
4076 from dbusbind.c
4077 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4078 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4079 New defuns.
dcbf5805
MA
4080 (dbus-call-method-non-blocking): Make it an obsolete function.
4081 (dbus-unregister-object, dbus-unregister-service)
4082 (dbus-handle-event, dbus-register-property)
4083 (dbus-property-handler): Obey the new structure of
4084 `bus-registered-objects'.
4085 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4086 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4087 Use `dbus-call-method'.
4088
cf20dee0
CY
40892012-04-22 Chong Yidong <cyd@gnu.org>
4090
4091 * cus-edit.el (custom-commands, custom-reset-menu)
4092 (Custom-reset-standard): Tweak labels.
4093 (custom-reset-button-menu): Change default to t.
4094 (custom-buffer-create-internal): For the custom-reset-button-menu
4095 case, put the revert button first.
4096 (custom-group-subtitle): New face.
4097 (custom-group-value-create): Align docstring to a specific column.
4098
4099 * wid-edit.el (widget-documentation-link-add): Don't handle
4100 indentation in this function.
4101 (widget-documentation-string-indent-to): New function.
4102 (widget-documentation-string-value-create): Use it.
4103
4104 * autorevert.el (auto-revert):
4105 * epg-config.el (epg):
4106 * ibuffer.el (ibuffer):
4107 * mpc.el (mpc):
4108 * ses.el (ses):
4109 * eshell/eshell.el (eshell):
4110 * net/ange-ftp.el (ange-ftp):
4111 * progmodes/ebnf2ps.el (postscript):
4112 * progmodes/flymake.el (flymake):
4113 * progmodes/prolog.el (prolog):
4114 * progmodes/verilog-mode.el (verilog-mode):
4115 * progmodes/which-func.el (which-func):
4116 * term/xterm.el (xterm):
4117 * textmodes/picture.el (picture):
4118 * textmodes/tildify.el (tildify):
4119 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4120 customization buffers.
4121
583e23bd
AM
41222012-04-22 Alan Mackenzie <acm@muc.de>
4123
4124 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4125 Adding a ) can hide the resulting (..) from searches. Fix it.
4126 Bound the backward search to the position of the existing (.
4127
7dd51bf1
JB
41282012-04-21 Juanma Barranquero <lekktu@gmail.com>
4129
4130 * progmodes/verilog-mode.el (verilog-mode): Check whether
4131 which-func-modes is t before adding verilog-mode.
4132 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4133
d64a438f
LL
41342012-04-21 Leo Liu <sdl.web@gmail.com>
4135
7dd51bf1 4136 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4137
081e8d65
MV
41382012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4139
4140 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4141 filling of the last column of a table (Bug#5635).
4142 (woman-find-next-control-line): New arg, specifying an additional
4143 regexp component for the control line.
4144 (woman2-roff-buffer): Use it.
4145 (woman-break-table): New function.
4146 (woman2-TS): Use it.
4147
41482012-04-21 Chong Yidong <cyd@gnu.org>
4149
4150 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4151 (woman-horizontal-escapes, woman-negative-vertical-space)
4152 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4153 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4154
ed571ccb
SM
41552012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4156
4157 * minibuffer.el (completion-file-name-table): Complete user names.
4158
39773899
LL
41592012-04-20 Leo Liu <sdl.web@gmail.com>
4160
4161 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4162 and pcase-let*.
4163
de6ff46d
CY
41642012-04-20 Chong Yidong <cyd@gnu.org>
4165
4166 * server.el (server-execute): Respect initial-buffer-choice if it
4167 is a string and there are no files to open (Bug#2825).
4168 (server-create-window-system-frame, server-create-tty-frame):
4169 Don't switch buffers here.
2d0e8e61
CY
4170 (server-process-filter): Only try to open a window system frame if
4171 compiled with graphical support (Bug#8314).
de6ff46d 4172
54071013
DN
41732012-04-20 Dan Nicolaescu <dann@gnu.org>
4174
4175 * battery.el (battery-echo-area-format): Display remaining time
4176 for sysfs backend too (Bug#11269).
4177 (battery-linux-sysfs): Fix conditional for the charge.
4178
f30d612a
CY
41792012-04-20 Chong Yidong <cyd@gnu.org>
4180
c07a4c0b 4181 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4182 (gdb-inferior-io--init-proc): New function.
4183 (gdb-init-1): Use it.
4184 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4185 responsible for allocating a new pty and hooking it to gdb when
4186 the old pty gets an EIO due to process exit.
4187 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4188 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4189 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4190
2116e93c
EZ
41912012-04-20 Eli Zaretskii <eliz@gnu.org>
4192
4193 * window.el (window-min-size, window-sizable, window-min-delta)
4194 (window-max-delta, window--resizable, window-resizable)
4195 (window-total-size, window-full-height-p, window-full-width-p)
4196 (window-in-direction, window--resize-mini-window, window-resize)
4197 (window--resize-child-windows-normal)
4198 (window--resize-child-windows, window--resize-siblings)
4199 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4200 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4201
c07a4c0b 42022012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4203
ef24141c
SM
4204 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4205 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4206 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4207 pty process (Bug#11273).
4208 (gdb-update): New arg to suppress talking to the gdb process.
4209 (gdb-done-or-error): Use it.
4210 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4211 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4212 sentinel not being called.
4213
4214 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4215
d02766ab
CY
4216 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4217
c07a4c0b 42182012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4219
4220 * net/network-stream.el (open-network-stream): Doc fix.
4221
c07a4c0b 42222012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4223
4224 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4225
c07a4c0b 42262012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4227
4228 Ensure searching for keywords is case sensitive.
4229
4230 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4231 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4232 (c-defun-name, c-mark-function, c-cpp-define-name)
4233 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4234 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4235
ef24141c
SM
4236 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4237 Bind case-fold-search to nil.
f0f6bc35 4238
c07a4c0b 42392012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4240
4241 * mail/sendmail.el (mail-bury): Call return action with the right
4242 Rmail buffer (Bug#11242).
4243
9a864fa2
CY
4244 * server.el (server-process-filter): Handle corner case where both
4245 tty and nowait options are present (Bug#11102).
4246
539aa513
EZ
42472012-04-20 Eli Zaretskii <eliz@gnu.org>
4248
4249 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4250 (top level): Put into the executable the ident-style '$Id:' tag on
4251 windows-nt as well.
539aa513 4252
cfc7d5da
SM
42532012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * electric.el (electric-indent-post-self-insert-function): Check that
4256 electric-indent-mode is enabled in current buffer.
4257
5b01685c
JB
42582012-04-19 Juanma Barranquero <lekktu@gmail.com>
4259
4260 * imenu.el (imenu-progress-message): Restore; it is "used" in
4261 erc/erc-imenu.el and net/snmp-mode.el.
4262
4d6769e1
JB
42632012-04-19 Juanma Barranquero <lekktu@gmail.com>
4264
4265 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4266 (mouse-avoidance-nudge-mouse): Remove unused binding.
4267
4268 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4269
4270 * descr-text.el (describe-char):
4271 * progmodes/python.el (python-describe-symbol):
4272 Don't call `toggle-read-only', set `buffer-read-only'.
4273
4274 * imenu.el (imenu-default-goto-function): Mark unused args.
4275 (imenu-progress-message): Remove obsolete macro; all callers changed.
4276
4277 * subr.el (keymap-canonicalize): Remove unused binding.
4278 (read-passwd): Mark unused arg.
4279
4280 * tutorial.el (tutorial--display-changes): Remove unused binding.
4281 (tutorial--save-tutorial-to): Remove unused variable.
4282
4283 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4284 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4285 (package-generate-autoloads, package-menu--generate)
4286 (package-menu--find-upgrades): Remove unused bindings.
4287
4288 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4289 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4290 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4291 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4292 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4293 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4294 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4295 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4296 (cua-delete-char-rectangle): Mark unused args.
4297 (cua-align-rectangle): Remove unused binding.
4298
4299 * mail/rmail.el (compilation--message->loc)
4300 (epa--find-coding-system-for-mime-charset): Declare.
4301
4302 * net/dbus.el (dbus-register-service): Declare.
4303 (dbus-name-owner-changed-handler): Remove unused binding.
4304
4305 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4306 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4307 (nxml-scan-backward-within): Mark unused arg.
4308 (nxml-dynamic-markup-word): Remove unused binding.
4309
4310 * mouse.el (mouse-menu-major-mode-map):
4311 * emacs-lisp/authors.el (authors-scan-change-log)
4312 (authors-add-to-author-list):
4313 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4314 * emacs-lisp/smie.el (smie-auto-fill):
4315 * mail/sendmail.el (mail-bury):
4316 * mail/unrmail.el (unrmail):
4317 * net/tls.el (open-tls-stream):
4318 * textmodes/picture.el (picture-mouse-set-point):
4319 Remove unused bindings.
4320
8c8fc5df
MA
43212012-04-19 Michael Albinus <michael.albinus@gmx.de>
4322
4323 * net/tramp.el (tramp-action-password): Let-bind
4324 `enable-recursive-minibuffers' to t.
4325
a77b0ac9
SS
43262012-04-18 Sam Steingold <sds@gnu.org>
4327
4328 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4329 instead of 'string to accommodate values like [f11].
4330 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4331 * progmodes/gdb-mi.el: Likewise.
4332
12a106a9
LL
43332012-04-18 Leo Liu <sdl.web@gmail.com>
4334
4335 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4336 current buffer.
4337 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4338 LOCAL is nil.
4339
bc6494ef
CY
43402012-04-18 Chong Yidong <cyd@gnu.org>
4341
4342 * simple.el (line-move): Use forward-line if in batch mode
4343 (Bug#11053).
4344
c09c46b2
CS
43452012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4346
4347 * files.el (after-find-file): Do not try to add a final newline if
4348 the buffer is read-only (Bug#11156).
4349
5f6530ea
RS
43502012-04-17 Richard Stallman <rms@gnu.org>
4351
4352 * mail/rmail.el (rmail-start-mail):
4353 Pass (rmail-mail-return...) for the return-action.
4354 Pass (rmail-yank-current-message...) for the yank-action.
4355 (rmail-yank-current-message): New function.
4356 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4357 (rmail-reply): Likewise.
4358 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4359
4360 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4361 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4362 buffer, not newbuf.
4363
197b6f3c
JB
43642012-04-17 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * server.el (server-ensure-safe-dir): Simplify.
4367
2311d8e5 43682012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4369
2311d8e5
GM
4370 * emacs-lisp/smie.el: Provide smarter auto-filling.
4371 (smie-auto-fill): New function.
4372 (smie-setup): Use it.
98fb480e 4373
2311d8e5
GM
4374 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4375
43762012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4377
4378 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4379 (comment-indent): Use it.
4380
2311d8e5 43812012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4382
4383 * ses.el: The overall change is to add cell renaming, that is
4384 setting fancy names for cell symbols other than name matching
4385 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4386 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4387 (ses-create-cell-variable): New defun.
2311d8e5 4388 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4389 (ses-relocate-formula): Relocate formulas only for cells the
4390 symbols of which are not renamed, i.e. symbols whose names do not
4391 match regexp "\\`[A-Z]+[0-9]+\\'".
4392 (ses-relocate-all): Relocate values only for cells the symbols of
4393 which are not renamed.
4394 (ses-load): Create cells variables as the (ses-cell ...) are read,
4395 in order to check row col consistency with cell symbol name only
4396 for cells that are not renamed.
4397 (ses-replace-name-in-formula): New defun.
4398 (ses-rename-cell): New defun.
4bdf2ad2 4399
fc72b15c
PO
44002012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4401
4402 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4403 New option (bug#11118).
4404 (perl-calculate-indent): Respect it.
4405
12e10e61
GM
44062012-04-17 Glenn Morris <rgm@gnu.org>
4407
4408 * dired-aux.el (dired-mark-read-string): Doc fix.
4409
30009afd
DA
44102012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4411
4412 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4413 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4414
41f03f4d
GM
44152012-04-17 Glenn Morris <rgm@gnu.org>
4416
4417 * mouse.el (mouse-drag-track):
4418 * speedbar.el (speedbar-frame-mode):
4419 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4420
f45f90f3
LL
44212012-04-16 Leo Liu <sdl.web@gmail.com>
4422
4423 * progmodes/python.el: Trivial cleanup.
4424
94ee8db5
GM
44252012-04-16 Glenn Morris <rgm@gnu.org>
4426
121b8917
GM
4427 * vc/vc.el (vc-string-prefix-p):
4428 * vc/pcvs-util.el (cvs-string-prefix-p):
4429 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4430 * mpc.el (mpc-string-prefix-p):
4431 Make all of these into obsolete aliases for string-prefix-p.
4432 Update callers.
4433 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4434
1197ecfa
GM
4435 * textmodes/two-column.el: Move custom options to the start.
4436 (frame-width): Remove compat definition.
4437 (2C-associate-buffer, 2C-dissociate):
4438 Use with-current-buffer rather than save-excursion.
4439 (2C-dissociate): Force a mode-line update.
4440 (2C-autoscroll): Use ignore-errors.
4441
099e7202
GM
4442 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4443 Autoload trivia.
4444
bf350d6a
GM
4445 * emacs-lisp/cl-extra.el (*random-state*):
4446 Remove unnecessary declaration.
4447
0e829eab
GM
4448 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4449
e3ad7552
GM
4450 * play/cookie1.el (cookie-snarf):
4451 Give an explicit error if input file cannot be read.
4452
68892d27
GM
4453 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4454
20f0c46d
GM
4455 * progmodes/perl-mode.el (c-macro-expand):
4456 Remove unnecessary autoload (it is in loaddefs.el).
4457
5a0978ce
GM
4458 * textmodes/picture.el (picture-desired-column)
4459 (picture-update-desired-column): Convert comments to doc-strings.
4460 (picture-substitute): Remove function.
4461 (picture-mode-map): Initialize in the defvar.
4462
6b955486
GM
4463 * woman.el: Remove eval-after-load for tar-mode.
4464 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4465 (woman-tar-extract-file): Autoload it.
4466
94ee8db5
GM
4467 * frame.el (automatic-hscrolling): Make this alias obsolete.
4468
177eca34
AM
44692012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4470
090bd7cb 4471 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4472 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4473 (ispell-dictionary-base-alist): Revert to original XEmacs
4474 friendly version for default. [:alpha:] will be added in
090bd7cb 4475 `ispell-set-spellchecker-params' if needed.
177eca34 4476
c505aaeb
CY
44772012-04-16 Chong Yidong <cyd@gnu.org>
4478
b19dd9d1 4479 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4480 (imagemagick-register-types): Use it.
4481 (imagemagick-types-inhibit): Add :set function. Allow new value
4482 of t to inhibit all types.
4483
4484 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4485 so we can preload it.
4486
4487 * loadup.el (fboundp): Preload regexp-opt, needed by
4488 imagemagick-register-types.
4489
60efac0f
CY
44902012-04-15 Chong Yidong <cyd@gnu.org>
4491
4492 * frame.el (scrolling): Remove nearly unused customization group.
4493
4494 * scroll-all.el (scroll-all-mode): Move to windows group.
4495
5dd1713e
CY
44962012-04-15 Chong Yidong <cyd@gnu.org>
4497
4498 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4499
e6fd457e
CY
45002012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4503 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4504
e153c136
GM
45052012-04-15 Glenn Morris <rgm@gnu.org>
4506
4507 * simple.el (process-file-side-effects): Doc fix.
4508
e6fd457e 45092012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4510
4511 * international/mule-cmds.el (set-language-environment): Doc fix.
4512
3603c3b1
JB
45132012-04-14 Juanma Barranquero <lekktu@gmail.com>
4514
4515 * server.el (server-auth-key, server-generate-key): Doc fixes.
4516 (server-get-auth-key): Doc fix. Use `string-match-p'.
4517 (server-start): Reflow docstring.
4518
e6de100c
LI
45192012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4520
4521 * server.el (server-generate-key): `called-interactively-p'
4522 requires a parameter.
4523
29734c21
MN
45242012-04-14 Michal Nazarewicz <mina86@mina86.com>
4525
4526 * server.el (server-auth-key): New variable.
75f1671a 4527 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4528 (server-start): Use the new variable and functions to allow
4529 setting a permanent server key (bug#9423).
4530
d65c9521
LL
45312012-04-14 Leo Liu <sdl.web@gmail.com>
4532
4533 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4534
5ae255c7
PE
45352012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4536
4537 Spelling fixes.
4538 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4539 Emacs uses American spelling.
4540
d5e6342e
JB
45412012-04-14 Juanma Barranquero <lekktu@gmail.com>
4542
4543 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4544 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4545 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4546 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4547
ab036cd7
SM
45482012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * progmodes/which-func.el (which-func-modes): Change default.
4551
35dc09a1 45522012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4553
4554 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4555 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4556
35dc09a1 45572012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4558
4559 * custom.el (custom-theme-set-variables): Doc fix.
4560
35dc09a1 45612012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4562
4563 * international/mule.el (set-auto-coding-for-load): Doc fix.
4564
35dc09a1 45652012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4566
35dc09a1
GM
4567 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4568 imenu work again for Objective C Mode. Correct the *-index values,
4569 these having been disturbed by a previous change in 2011-08.
57f845ee 4570
0de3da9f
AM
4571 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4572 Correct two search limits.
4573
35dc09a1 45742012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4575
4576 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4577
35dc09a1 45782012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4579
4580 * international/characters.el: Fix sorting.
4581
35dc09a1 45822012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4583
4584 * international/characters.el: Add more missing Latin case pairs.
4585
35dc09a1 45862012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4587
4588 * files.el (dir-locals-set-class-variables): Doc fix.
4589
35dc09a1 45902012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4591
3f1b5bf8
EZ
4592 * international/characters.el: Add set-case-syntax-pair call for
4593 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4594 counterpart. (Bug#11209)
4595
9f847f41
EZ
4596 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4597
35dc09a1 45982012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4599
4600 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4601
35dc09a1 46022012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4603
35dc09a1
GM
4604 * textmodes/ispell.el (ispell-dictionary-base-alist):
4605 Add data for Hebrew.
e2627d21 4606
35dc09a1 46072012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4608
35dc09a1
GM
4609 * net/rcirc.el (rcirc-cmd-quit):
4610 Revert 2012-03-18 change (Bug#11192).
5c14e333 4611
35dc09a1 46122012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4613
4614 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4615
35dc09a1 46162012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4617
4517fe3a
SM
4618 * minibuffer.el (completion-in-region-mode-map):
4619 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4620
b472a594
VD
46212012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4622
4623 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4624
09b95ce3
MY
46252012-04-13 Masatake YAMATO <yamato@redhat.com>
4626
4627 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4628 to allow `C-M-f' and `C-M-b' to move to the nearest path
4629 separator (bug#9511).
4630
4b63a9ca
LI
46312012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4632
4633 * avoid.el: Require cl when compiling. And also move the
4634 `provide' to the end.
4635
7b55b8bf
TV
46362012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4637
4638 * avoid.el (mouse-avoidance-banish-position): New variable.
4639 (mouse-avoidance-banish-destination): Use it (bug#10165).
4640
adedaa1f
LL
46412012-04-13 Leo Liu <sdl.web@gmail.com>
4642
4643 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4644
70e74021
KB
46452012-04-13 Ken Brown <kbrown@cornell.edu>
4646
4647 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4648 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4649 (browse-url-filename-alist): For the same reason, don't modify
4650 file:// URLs on Cygwin.
4651
e75e89ba
SM
46522012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4655 the region on shift if the binding is already shifted (bug#11221).
4656
82f289a4
GM
46572012-04-12 Glenn Morris <rgm@gnu.org>
4658
4659 * mail/mailpost.el: Move to obsolete/.
4660
d333dc4c
DA
46612012-04-12 Drew Adams <drew.adams@oracle.com>
4662
4663 * imenu.el (imenu--generic-function): Ignore invisible definitions
4664 (bug#10123).
4665
0d15b5ba
VD
46662012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4667
4668 * hexl.el (hexl-bits): New variable.
4669 (hexl-options): Mention the variable in the doc string.
75f1671a 4670 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4671 (hexl-mode): Mention the new variable.
75f1671a
JB
4672 (hexl-mode, hexl-current-address, hexl-current-address):
4673 Use the displen.
0d15b5ba
VD
4674 (hexl-ascii-start-column): New function.
4675 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4676 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4677
64a440db
AM
46782012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4679
4680 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4681 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4682 the encoding, as expected by hunspell.
4683
6decb6c2
SM
46842012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * battery.el (battery--linux-sysfs-regexp): New const.
4687 (battery-status-function): Use it. Remove yeeloong special case.
4688 (battery-yeeloong-sysfs): Remove.
4689 (battery-echo-area-format): Remove yeeloong special case.
4690
088be6fb
SM
46912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4692
6622e416
SM
4693 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4694 Reported by Noah Friedman.
4695
088be6fb
SM
4696 * subr.el (read-passwd): Use read-string.
4697
b49f886e
LMI
46982012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4699
4700 * vcursor.el (vcursor-move): Increase the priority of the overlay
4701 (bug#9663).
4702
a63067fc
DD
47032012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4704
4705 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4706 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4707
ac3cf14a
WS
47082012-04-11 William Stevenson <yhvh2000@gmail.com>
4709
4710 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4711 define-minor-mode (bug#10760).
4712
c4fc691b 47132012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4714
4d6769e1 4715 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4716 that directories matching `grep-find-ignored-files' won't be
4717 pruned (bug#10351).
4718
af23e2e5
CY
47192012-04-11 Chong Yidong <cyd@gnu.org>
4720
4721 * startup.el (command-line): Remove support for long-obsolete
4722 variable font-lock-face-attributes.
4723
ab7ce8c1
GM
47242012-04-11 Glenn Morris <rgm@gnu.org>
4725
4726 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4727
de8c03dc
SM
47282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * window.el (window--state-get-1): Obey window-point-insertion-type.
4731
050cc68b
LB
47322012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4733
4734 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4735 to previous function when point is on the first character of a
75f1671a 4736 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4737
a38c310c
GM
47382012-04-11 Glenn Morris <rgm@gnu.org>
4739
effed0c2
GM
4740 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4741 not just file-errors.
4742
a38c310c
GM
4743 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4744 (vc-bzr-sha1): Use internal sha1.
4745
0221e323
SM
47462012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4749
43956923
SG
47502012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4751
4752 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4753 that start in the middle of the line (bug#10496).
4754
6a8c9eaf
DN
47552012-04-10 Dan Nicolaescu <dann@gnu.org>
4756
4757 * battery.el (battery-linux-proc-acpi): Only one battery is
4758 discharged at a time, but that seems to confuse battery.el when
4759 computing `rate-type' for the battery not being discharged
4760 (bug#10332).
4761
1930bf5d
SM
47622012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4763
2a718f6f
SM
4764 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4765
599430d0
SM
4766 * international/quail.el: Use dolist and simplify.
4767 (quail-define-package, quail-update-keyboard-layout)
4768 (quail-define-rules): Use dolist.
4769 (quail-insert-kbd-layout, quail-get-translation): CSE.
4770
a2754b6c
SM
4771 * tmm.el: Use dolist, remove left over hook.
4772 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4773 Use dolist.
4774 (calendar-load-hook): Don't mess with it.
4775
1930bf5d
SM
4776 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4777 Use derived-mode-p. Run the diff asynchronously.
4778
9f67961c
LMI
47792012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4780
4781 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4782
2a8ce227
JB
47832012-04-10 Juanma Barranquero <lekktu@gmail.com>
4784
4785 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4786 (list-dynamic-libraries--loaded): New function.
4787 (list-dynamic-libraries--refresh): Use it.
4788
8f33b5f8
NW
47892012-04-10 Nathan Weizenbaum <nweiz@google.com>
4790
1930bf5d
SM
4791 * progmodes/python.el (python-fill-paragraph):
4792 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4793 disabled (bug#7018).
4794
b12f0439
L
47952012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4796
1930bf5d 4797 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4798 DOS/MS Windows for the Baltic languages. There are still plenty
4799 of texts written in this encoding/codepage (bug#6519).
b12f0439 4800
57c3bd01
GM
48012012-04-10 Glenn Morris <rgm@gnu.org>
4802
4803 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4804 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4805
6c3eab30
FA
48062012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4807
1930bf5d 4808 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4809 next-line "n" and previous-line "p" in order to make recentf more
4810 consistent with ibuffer, dired or org-mode (bug#9387).
4811
24d78a88
LMI
48122012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4813
bc72b5d9
LMI
4814 * image.el (put-image): Return the overlay created instead of the
4815 optional input string (bug#7834). Note that this may break code
4816 that is (for some reason or other) depending on `put-image'
4817 returning the string.
4818
bd2dba5a
LMI
4819 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4820
74beb59f
LMI
4821 * simple.el (zap-to-char): Allow zapping using input methods
4822 (bug#1580).
4823
24d78a88
LMI
4824 * textmodes/fill.el (fill-region): Leave point and mark where they
4825 were before filling (bug#5399).
4826
263f20cd
GM
48272012-04-09 Glenn Morris <rgm@gnu.org>
4828
4829 * version.el (emacs-bzr-get-version):
4830 Handle lightweight checkouts of local branches.
4831
58d1f797
AS
48322012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4833
263f20cd 4834 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4835
b4d3bc10
CY
48362012-04-09 Chong Yidong <cyd@gnu.org>
4837
4838 * custom.el (custom-variable-p): Return nil for non-symbol
4839 arguments instead of signaling an error.
4840 (user-variable-p): Obsolete alias for custom-variable-p.
4841
4842 * apropos.el (apropos-variable):
4843 * files-x.el (read-file-local-variable):
4844 * simple.el (set-variable):
4845 * woman.el (woman-mini-help):
4846 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4847
fd06db5d
GM
48482012-04-09 Glenn Morris <rgm@gnu.org>
4849
e5fcdb5e
GM
4850 * startup.el (normal-top-level): Don't look for leim-list.el
4851 in places where it will not be found. (Bug#910)
4852
fd06db5d
GM
4853 * international/mule-cmds.el (set-default-coding-systems):
4854 * files.el (normal-mode):
4855 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4856 This function was removed with ucs-tables.el in 2008.
4857
b39bb7e1
EZ
48582012-04-08 Eli Zaretskii <eliz@gnu.org>
4859
4860 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4861 ispell-encoding8-command to "-i", without a trailing space.
4862 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4863 separate command-line arguments, to specify the encoding, since
4864 that's how hunspell expects it.
4865
5c5b8e23
GM
48662012-04-08 Glenn Morris <rgm@gnu.org>
4867
4868 * loadup.el: Load bindings before cus-start.
4869 This reduces somewhat the number of "rogue" settings in emacs -Q.
4870
a1ed8b05
GM
48712012-04-07 Glenn Morris <rgm@gnu.org>
4872
4873 * version.el (emacs-bzr-get-version): New function.
dfae128a 4874 (emacs-bzr-version): New variable.
a1ed8b05
GM
4875 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4876 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4877
b142f158
EZ
48782012-04-07 Eli Zaretskii <eliz@gnu.org>
4879
dfae128a
GM
4880 * international/uni-bidi.el, international/uni-category.el:
4881 * international/uni-combining.el, international/uni-decimal.el:
4882 * international/uni-decomposition.el, international/uni-digit.el:
4883 * international/uni-lowercase.el, international/uni-mirrored.el:
4884 * international/uni-name.el, international/uni-numeric.el:
4885 * international/uni-titlecase.el, international/uni-uppercase.el:
4886 Update for Unicode 6.1.
b142f158 4887
9078ead6
EZ
48882012-04-07 Eli Zaretskii <eliz@gnu.org>
4889
4890 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4891
f23d2c7d
LMI
48922012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4893
4894 * window.el (shrink-window): Mention the `window-min-height'
4895 variable in the doc string.
4896
0a0a3573
BG
48972012-04-05 Bastien Guerry <bzg@altern.org>
4898
4899 * color.el (color-lighten-name): Fix typo.
4900
e5248ac9
SM
49012012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * server.el (server--on-display-p): New function.
4904 (server--on-display-p): Use it.
4905
b4243e22
GV
49062012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4907
4908 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4909 (bug#11145).
4910
305d9f44
SM
49112012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * comint.el (comint--common-quoted-suffix): Check string boundary
4914 before comparing (bug#11158).
4915 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4916
3d439cd1
CY
49172012-04-04 Chong Yidong <cyd@gnu.org>
4918
321cc491
CY
4919 * minibuffer.el (completion-extra-properties): Doc fix.
4920
3d439cd1
CY
4921 * subr.el (delayed-warnings-hook): Doc fix.
4922
2d562c0f
DU
49232012-04-04 Daiki Ueno <ueno@unixuser.org>
4924
4925 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4926 selection (Bug#11159).
4927 (epa-insert-keys): Inform that the default public key will be
4928 exported if no key is selected.
4929
4443f204
RS
49302012-04-04 Richard Stallman <rms@gnu.org>
4931
4932 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4933
529c06b6
CY
49342012-04-03 Chong Yidong <cyd@gnu.org>
4935
4936 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4937 mail-insert-file, not its obsolete alias mail-attach-file.
4938
66b907dc
MA
49392012-04-03 Michael Albinus <michael.albinus@gmx.de>
4940
4941 * notifications.el (notifications-notify): Fix docstring.
4942
c0ea195d
GM
49432012-04-02 Glenn Morris <rgm@gnu.org>
4944
4945 * emacs-lisp/authors.el (authors-aliases): Another addition.
4946
5ca64e00
MA
49472012-04-02 Michael Albinus <michael.albinus@gmx.de>
4948
4949 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4950 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4951 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4952
42ee526b
CY
49532012-04-01 Chong Yidong <cyd@gnu.org>
4954
4955 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4956 Handle root directory properly.
4957 (copy-directory): Caller changed.
4958
4959 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4960 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4961
0b021094
GM
49622012-03-31 Glenn Morris <rgm@gnu.org>
4963
40f86458
GM
4964 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4965
7019c177
GM
4966 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4967
a1daddd6
GM
4968 * calendar/calendar.el (calendar-window-list)
4969 (calendar-hide-window): Restore. (Bug#11140)
4970 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4971
0b021094
GM
4972 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4973
40311efc
TV
49742012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4975
4976 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4977 Check if file is a symlink (Bug#10489).
4978
4979 * files.el (copy-directory): Likewise.
4980
5319014e
CY
49812012-03-30 Chong Yidong <cyd@gnu.org>
4982
4983 * image.el (imagemagick-types-inhibit)
4984 (imagemagick-register-types): Doc fix.
4985
935d1290
AM
49862012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4987
090bd7cb 4988 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4989 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4990 and treats ~word as ordinary words in pipe mode.
935d1290 4991
61c6e8fd
GM
49922012-03-30 Glenn Morris <rgm@gnu.org>
4993
4994 * tutorial.el (help-with-tutorial): Ensure local variables don't
4995 happen to make the buffer read-only. (Bug#11127)
4996
81fdff00
SM
49972012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5000 (perl-calculate-indent): Return `noindent' in strings.
5001
6e7a6ec0
SS
50022012-03-28 Sam Steingold <sds@gnu.org>
5003
5004 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5005 instead of the broken adhockery which does not prevent calendar
5006 buffers from being displayed at random after exit.
5007 (calendar-window-list, calendar-hide-window): Remove the broken
5008 adhockery.
5009
fee88ca0
GM
50102012-03-28 Glenn Morris <rgm@gnu.org>
5011
5012 * replace.el (query-replace-map): Doc fix.
5013
38de3354
AS
50142012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5015
5016 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5017 contents. (Bug#11109)
5018
b973155e
SM
50192012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5022 (bug#11077).
5023 (avl-tree--check, avl-tree--check-node): New funs.
5024
dcb6e7b3
MR
50252012-03-27 Martin Rudalics <rudalics@gmx.at>
5026
5027 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5028 (switch-to-prev-buffer, switch-to-next-buffer):
5029 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5030 showing a buffer already is done on the same frame.
5031
b4fa35fa
GM
50322012-03-27 Glenn Morris <rgm@gnu.org>
5033
5034 * startup.el (mail-host-address): Doc fix.
5035
f9210e18
SM
50362012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5039 than 197 variables.
5040
c0bf7753
AF
50412012-03-26 Ami Fischman <ami@fischman.org>
5042
5043 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5044
33da7b16
GM
50452012-03-26 Glenn Morris <rgm@gnu.org>
5046
02243d9d
GM
5047 * files.el (save-buffers-kill-emacs): Doc fix.
5048
33da7b16
GM
5049 * startup.el (normal-top-level, command-line, command-line-1):
5050 Give them doc strings.
5051
e5a69fd0
EZ
50522012-03-25 Eli Zaretskii <eliz@gnu.org>
5053
5054 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5055 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5056
9a69676a
CY
50572012-03-25 Chong Yidong <cyd@gnu.org>
5058
4125cb8b
CY
5059 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5060 theme if it was previously enabled before (Bug#11031).
5061
dd470960
CY
5062 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5063 spec with custom-face-get-current-spec if its :shown-value is not
5064 determined yet (Bug#9337).
4125cb8b 5065 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5066
9a69676a
CY
5067 * button.el (button-at): Minor addition to docstring.
5068
6e7e90fa
SL
50692012-03-24 Simon Leinen <simon.leinen@gmail.com>
5070
5071 * vc/vc.el (vc-merge): Fix a prompt.
5072
f06e2758
CY
50732012-03-24 Chong Yidong <cyd@gnu.org>
5074
5075 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5076 point (Bug#9623).
5077
6e7e90fa
SL
5078 * button.el (button-at): Minor addition to docstring.
5079
b9d0879b
SM
50802012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5081
5082 * newcomment.el (comment-choose-indent): No space after BOL.
5083
e71cebb3
SS
50842012-03-22 Sam Steingold <sds@gnu.org>
5085
5086 * window.el (switch-to-prev-buffer): Revert last patch because the
5087 bug turned out to be an advertised feature (Elisp manual 28.14).
5088
335aff35
GM
50892012-03-22 Glenn Morris <rgm@gnu.org>
5090
5091 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5092 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5093
c676576a
LMI
50942012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095
5096 * net/network-stream.el (network-stream-open-starttls): Make error
5097 message under Windows be less misleading.
5098
126f3d39
LW
50992012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5100
5101 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5102 understands (bug#9942).
5103
64fee311
CY
51042012-03-22 Chong Yidong <cyd@gnu.org>
5105
5106 * simple.el (end-of-visible-line): Handle return value of
5107 next-single-property-change properly (Bug#9371).
5108
a640d29a
KH
51092012-03-22 Kenichi Handa <handa@m17n.org>
5110
5111 * international/quail.el (quail-insert-kbd-layout): Fix previous
5112 change. To avoid unwanted bidi reordering, use
5113 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5114
39675016
DG
51152012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5116
5117 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5118 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5119 (ruby-beginning-of-indent): Be more careful with the difference
5120 between word-boundary and symbol boundary.
5121 (ruby-mode-syntax-table): Make : a symbol constituent.
5122
0a6934fc 51232012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5124
3d008e4f
SM
5125 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5126
0a6934fc
SM
51272012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5128
af67c9d7
SM
5129 * progmodes/etags.el (tags-completion-at-point-function):
5130 Improve last fix.
5131
1acad97c
SM
5132 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5133
e298b5da
SS
51342012-03-21 Sam Steingold <sds@gnu.org>
5135
5136 * progmodes/etags.el (tags-completion-at-point-function):
5137 Avoid the error when point is inside the pattern.
5138
91d82a70
JY
51392012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5140
5141 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5142 line (Bug#10855).
5143
69188b79
CY
51442012-03-21 Drew Adams <drew.adams@oracle.com>
5145
5146 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5147
99fc91fe
AK
51482012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5149
5150 * ido.el (ido-set-current-directory, ido-read-internal)
5151 (ido-choose-completion-string, ido-completion-help): Handle nil
5152 value of ido-completion-buffer (Bug#11008).
5153
087bbb4c
SS
51542012-03-21 Sam Steingold <sds@gnu.org>
5155
5156 * window.el (switch-to-prev-buffer): Do not switch to a visible
5157 window previous buffer, just like with the frame previous buffers.
5158
fb5b8aca
CY
51592012-03-21 Chong Yidong <cyd@gnu.org>
5160
5161 * faces.el (make-face, make-empty-face, copy-face):
5162 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5163 Doc fixes.
5164
dc9924b8
SM
51652012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5168 (widget-complete): Remove broken use of it.
5169
f0bcceb9
CY
51702012-03-20 Chong Yidong <cyd@gnu.org>
5171
dc9924b8
SM
5172 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5173 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5174 characters.
5175
ee52ebf3
TH
51762012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5177
5178 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5179 to draw rectangles, not squares. (Regression introduced by revno
5180 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5181
4c5779ab
CY
51822012-03-18 Chong Yidong <cyd@gnu.org>
5183
5184 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5185 it is not yet defined (for temacs).
5186
15360934
LL
51872012-03-18 Leo Liu <sdl.web@gmail.com>
5188
dc9924b8 5189 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5190
d9a8eb66
EZ
51912012-03-17 Eli Zaretskii <eliz@gnu.org>
5192
5193 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5194 (ispell-choices-win-default-height, ispell-silently-savep)
5195 (ispell-dictionary-alist, ispell-encoding8-command)
5196 (ispell-check-version, ispell-aspell-find-dictionary)
5197 (ispell-valid-dictionary-list, ispell-words-keyword)
5198 (ispell-get-word, ispell-internal-change-dictionary)
5199 (ispell-region, ispell-skip-region-list)
5200 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5201 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5202 (ispell-message-text-end, ispell-message)
5203 (ispell-buffer-local-parsing): Doc fix.
5204
f02ff80d
J
52052012-03-13 Jambunathan K <kjambunathan@gmail.com>
5206
5207 * htmlfontify.el: Add support for code block fontification for ODT
5208 export (Bug #9914).
5209 (hfy-optimisations): Define new option
5210 `body-text-only'
5211 (hfy-fontify-buffer): Honor above setting.
5212 (hfy-begin-span, hfy-end-span): New routines factored out form
5213 `hfy-fontify-buffer'.
5214 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5215 that permit insertion of custom tags.
5216 (hfy-fontify-buffer): Use above handlers.
5217 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5218 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5219 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5220 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5221 bind a special variable `hfy-user-sheet-assoc'.
5222 (htmlfontify-string): New defun.
5223 (hfy-compile-face-map): Make sure that the last char in the
5224 buffer is correctly fontified.
5225 (hfy-face-resolve-face): Whitespace only change.
5226
9ac7a13f
EZ
52272012-03-17 Eli Zaretskii <eliz@gnu.org>
5228
5229 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5230 message more clear.
5231
e2b5bdd7
LL
52322012-03-16 Leo Liu <sdl.web@gmail.com>
5233
5234 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5235
2e492df3
AM
52362012-03-16 Alan Mackenzie <acm@muc.de>
5237
5238 Further optimise the handling of large macros.
5239
5240 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5241 limit to a call of `c-literal-limits'.
5242 (c-determine-+ve-limit): New function.
dc9924b8
SM
5243 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5244 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5245 In CASE 5B, restrict a search limit to 500.
5246 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5247
5248 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5249 Restrict macro bounds to +-500 from after-change's BEG END.
5250
50e94f0c
LL
52512012-03-16 Leo Liu <sdl.web@gmail.com>
5252
5253 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5254
6f09f6ed
AH
52552012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5256
5257 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5258 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5259
c7e73d51
GM
52602012-03-16 Glenn Morris <rgm@gnu.org>
5261
da986230
GM
5262 * view.el (view-buffer, view-buffer-other-window)
5263 (view-buffer-other-frame): Doc fixes re special mode-class.
5264
0835f01e
GM
5265 * subr.el (eval-after-load): If named feature is provided not from
5266 a file, run after-load forms. (Bug#10946)
5267
c7e73d51
GM
5268 * calendar/calendar.el (calendar-insert-at-column):
5269 Handle non-unit-width characters a bit better. (Bug#10978)
5270
3f2eafd1
CY
52712012-03-15 Chong Yidong <cyd@gnu.org>
5272
5273 * emacs-lisp/ring.el (ring-extend): New function.
5274 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5275
5276 * comint.el (comint-read-input-ring)
5277 (comint-add-to-input-history): Grow comint-input-ring lazily.
5278
103af3fe
SM
52792012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5280
663b1677
SM
5281 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5282 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5283
103af3fe
SM
5284 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5285 (imenu-add-to-menubar): Don't add a redundant index.
5286 (imenu-update-menubar): Handle a dynamically composed keymap.
5287
899cb7cb
KY
52882012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5289
5290 * mail/sendmail.el (mail-encode-header):
5291 Bind rfc2047-encode-encoded-words to nil.
5292
3809f91d
GM
52932012-03-13 Glenn Morris <rgm@gnu.org>
5294
5295 * calendar/calendar.el (calendar-string-spread):
5296 Handle non-unit-width characters a bit better. (Bug#10978)
5297
9e345a01
LL
52982012-03-13 Leo Liu <sdl.web@gmail.com>
5299
5300 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5301 directory and file as argument (Bug#10822).
5302
4a07df36
KS
53032012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5304
5305 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5306 For dynamically generated code, follow $PC.
5307 (gdb-disassembly-handler-custom): Handle no function name case.
5308
4aaa9356
TL
53092012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5310
5311 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5312 * emulation/ws-mode.el (ws-query-replace):
5313 * sort.el (sort-regexp-fields):
5314 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5315
225979da
SM
53162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * dabbrev.el: Fix cycle completion order (bug#10963).
5319 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5320 (dabbrev-completion): Don't use an obarray; provide
5321 a cycle-sort-function.
5322
e2f1fdab
LL
53232012-03-12 Leo Liu <sdl.web@gmail.com>
5324
dc9924b8 5325 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5326 (kill-do-not-save-duplicates): Doc fix.
5327
b19490ed
SM
53282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * dabbrev.el: Fix cycle completion (bug#10963).
5331 Use lexical binding and wrap to 80 columns.
5332 (dabbrev-completion): Delay computing the list of completions.
5333
4b05d722
KH
53342012-03-12 Kenichi Handa <handa@m17n.org>
5335
5336 * international/quail.el (quail-insert-kbd-layout): Surround each
5337 row by LRO and PDF instead of inserting many LRMs. Pad the left
5338 and right of each non-spacing marks. Insert invisible space
5339 between lower and upper characters to prevent composition.
5340
dbbc2e69
SM
53412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * minibuffer.el (minibuffer-complete): Don't get confused when the
5344 function is run twice via different commands (bug#10958).
5345 (complete-with-action): Fix docstring.
5346
292112ed
CY
53472012-03-12 Chong Yidong <cyd@gnu.org>
5348
5d1ac394
CY
5349 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5350 (nxml-completion-at-point-function): New function.
5351 (nxml-mode): Use it.
5352 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5353
292112ed
CY
5354 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5355 Load generated autoloads file before byte compiling (Bug#10970).
5356 (package--make-autoloads-and-compile): New helper fun.
5357
4098f8f7
CS
53582012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5359
5360 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5361
8f754691
MA
53622012-03-11 Michael Albinus <michael.albinus@gmx.de>
5363
5364 * autorevert.el (auto-revert-handler): Ensure, that
5365 file-readable-p is applied only for local files or in
5366 auto-revert-tail-mode.
5367
e29ab36b
AS
53682012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5369
dbbc2e69
SM
5370 * server.el (server-eval-at): Handle non-tcp connections.
5371 Decode result string.
ad0bf5b6 5372
e29ab36b
AS
5373 * server.el (server-msg-size): New constant.
5374 (server-reply-print): New function.
5375 (server-eval-and-print): Use it.
5376 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5377 Handle -print-nonl.
5378
de5939ba
CS
53792012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5380
5381 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5382 (Bug#10987).
5383
0c93eabf
CY
53842012-03-11 Chong Yidong <cyd@gnu.org>
5385
397a688f
CY
5386 * simple.el (goto-line): Doc fix (Bug#9938).
5387
2cc775f9
CY
5388 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5389
0c93eabf
CY
5390 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5391 when finished (Bug#10963).
5392
c491fa41
MR
53932012-03-11 Martin Rudalics <rudalics@gmx.at>
5394
5395 * window.el (split-window-below): Fix bug in case where
5396 split-window-keep-point is nil (Bug#10971).
5397
300e8fa5
JL
53982012-03-11 Juri Linkov <juri@jurta.org>
5399
5400 * replace.el (replace-highlight): Set isearch-word to nil
5401 unconditionally. (Bug#10887)
5402
dbf6c5a1
EZ
54032012-03-10 Eli Zaretskii <eliz@gnu.org>
5404
5405 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5406 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5407 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5408 (mairix-widget-create-query): Add usage information about mairix
5409 search forms: negating words, searching for substrings, etc.
5410
b9e501de
JP
54112012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5412
5413 * international/fontset.el (font-encoding-alist): Add an entry for
5414 ksx1001 (Bug#5667).
5415
92795c91
RS
54162012-03-10 Richard Stallman <rms@gnu.org>
5417
1694e6c1
RS
5418 * mail/sendmail.el (mail-encode-header):
5419 Set rfc2047-encode-encoded-words.
5420
607e8555
RS
5421 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5422
de3bc99a
RS
5423 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5424 view buffer means not swapped.
5425 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5426 (rmail-write-region-annotate): Error if real text has disappeared.
5427
92795c91
RS
5428 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5429
699bd04e
CY
54302012-03-10 Chong Yidong <cyd@gnu.org>
5431
5432 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5433 * emulation/cua-base.el (cua--init-keymaps):
5434 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5435
570a1714
MR
54362012-03-10 Martin Rudalics <rudalics@gmx.at>
5437
dbbc2e69
SM
5438 * speedbar.el (speedbar-unhighlight-one-tag-line):
5439 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5440
82dcf4e4
CY
54412012-03-10 Chong Yidong <cyd@gnu.org>
5442
7a2c7ca7
CY
5443 * minibuffer.el (completion-in-region, completion-help-at-point):
5444 Give the completion field overlay a high priority (Bug#6830).
5445
82dcf4e4
CY
5446 * dired.el (dired-goto-file): Recognize absolute file name
5447 listings (Bug#7126).
5448 (dired-goto-file-1): New helper function.
5449 (dired-toggle-read-only): Inhibit warnings.
5450
052e28ac
MA
54512012-03-09 Michael Albinus <michael.albinus@gmx.de>
5452
75f1671a 5453 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5454 there are no properties.
5455
95d5e396
LL
54562012-03-09 Leo Liu <sdl.web@gmail.com>
5457
5458 * savehist.el (savehist-printable): Stricter check for string
5459 value (Bug#10937).
5460
3f018d6d
EZ
54612012-03-09 Eli Zaretskii <eliz@gnu.org>
5462
dbbc2e69
SM
5463 * mail/smtpmail.el (smtpmail-send-it):
5464 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5465 valid mbox format.
5466
f7fd3d79
GM
54672012-03-09 Glenn Morris <rgm@gnu.org>
5468
5469 * files.el (dir-locals-find-file):
5470 Don't check result is regular, readable.
5471 (dir-locals-read-from-file): Demote errors.
5472
6ff6e72f
EZ
54732012-03-08 Eli Zaretskii <eliz@gnu.org>
5474
dbbc2e69
SM
5475 * international/quail.el (quail-insert-kbd-layout):
5476 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5477 layout cell, to prevent their reordering by bidi display engine.
5478 For details, see the discussion in
5479 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5480
9cec7834
AM
54812012-03-08 Alan Mackenzie <acm@muc.de>
5482
5483 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5484 the starting position; make it extend the marked region when
5485 invoked repeatedly - all under appropriate circumstances.
5486 Fixes bugs #5525, #10906.
5487
9a40b8d4
GM
54882012-03-08 Glenn Morris <rgm@gnu.org>
5489
5490 * files.el (locate-dominating-file, dir-locals-find-file):
5491 Undo 2012-03-06 change.
5492
7a08ed35
EZ
54932012-03-07 Eli Zaretskii <eliz@gnu.org>
5494
dbbc2e69
SM
5495 * international/quail.el (quail-help):
5496 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5497 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5498 for the reason.
5499
5aca4f71 55002012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5501
5502 Avoid superfluous registering of signals. (Bug#10807)
5503
5504 * notifications.el (notifications-on-action-object)
5505 (notifications-on-close-object): New defvars.
5506 (notifications-on-action-signal, notifications-on-closed-signal):
5507 Unregister the signal if not needed any longer.
5508 (notifications-notify): Register `notifications-action-signal' or
5509 `notifications-closed-signal', if :on-action or :on-close has been
5510 passed as argument.
5511
78e8b10a
CY
55122012-03-07 Chong Yidong <cyd@gnu.org>
5513
5514 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5515 non-X platforms.
5516
69481eb8
GM
55172012-03-06 Glenn Morris <rgm@gnu.org>
5518
5519 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5520 (x-disown-selection-internal, x-get-selection-internal):
5521 Doc fix (add arglist signatures). (Bug#10783)
5522
133b8e11
KS
55232012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5524
5525 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5526 Handle breakpoints with no "type".
5527
99a83064
GM
55282012-03-06 Glenn Morris <rgm@gnu.org>
5529
5530 * files.el (locate-dominating-file): Add optional predicate argument.
5531 (dir-locals-find-file): Make use of above change.
5532
17798e78
TTN
55332012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5534
5535 * info.el (Info-insert-dir): Also try "dir.gz".
5536
eb182446
GM
55372012-03-06 Glenn Morris <rgm@gnu.org>
5538
8f2114ee
GM
5539 * files.el (dir-locals-find-file):
5540 Ignore non-readable or non-regular files. (Bug#10928)
5541
eb182446
GM
5542 * files.el (locate-dominating-file): Doc fix.
5543
24679323
AS
55442012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5545
5546 * calendar/calendar.el (calendar-set-mode-line):
5547 `getenv' returns a string. (Bug#10951)
5548
01d972a9
LL
55492012-03-05 Leo Liu <sdl.web@gmail.com>
5550
109aa8a9
LL
5551 * simple.el (backward-delete-char-untabify): Constrain point to
5552 field (Bug#10939).
5553
01d972a9
LL
5554 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5555
10607bea
CY
55562012-03-05 Chong Yidong <cyd@gnu.org>
5557
5558 * simple.el (count-words): If called from Lisp, return the word
5559 count, for symmetry with `count-lines'. Arglist changed.
5560 (count-words--message): Args changed. Consolidate counting code
5561 from count-words and count-words-region.
5562 (count-words-region): Caller changed.
5563 (count-lines-region): Make it an obsolete alias.
5564
5dd11cfe
TH
55652012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5566
5567 * saveplace.el (save-place-to-alist)
5568 (save-place-ignore-files-regexp): Allow value nil to disable this
5569 feature.
5570
c349f4e6
CY
55712012-03-04 Chong Yidong <cyd@gnu.org>
5572
5573 * faces.el (face-spec-reset-face): For the default face, reset the
5574 attributes to default values (Bug#10748).
5575
e627be4c
LMI
55762012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5577
5578 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5579 previous patch: Check `message-send-mail-function', and not the
5580 default function (bug#10897).
5581
ebeabff4
MA
55822012-03-04 Michael Albinus <michael.albinus@gmx.de>
5583
a41a6cf4
MA
5584 * notifications.el (notifications-on-action-signal)
5585 (notifications-on-closed-signal): Check for unique service name of
5586 incoming event. Fix error in removing entry.
ebeabff4 5587 (top): Register for signals with wildcard service name.
a41a6cf4 5588 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5589
c1ca42b4
CY
55902012-03-04 Chong Yidong <cyd@gnu.org>
5591
dc9924b8 5592 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5593
ea16568d
GM
55942012-03-04 Glenn Morris <rgm@gnu.org>
5595
5596 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5597 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5598 (expand-abbrev, define-abbrev-table): Doc fixes.
5599
fbae4637
LMI
56002012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5601
5602 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5603 `message-default-send-mail-function' and not `send-mail-function'
5604 when doing the prompting for `sendmail-query-once' before sending
5605 in Message buffers (bug#10897).
5606
a1e7225c
LMI
5607 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5608 This is inconsistent with all the other stream functions, which leave
5609 the setting up to the higher levels (if so wanted) (bug#10931).
5610
56d093a9
AM
56112012-03-02 Alan Mackenzie <acm@muc.de>
5612
5613 Depessimize the handling of very large macros.
5614
5615 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5616 (c-macro-cache-syntactic): New variables to implement a one
5617 element macro cache.
5618 (c-invalidate-macro-cache): New function.
5619 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5620 Adapt to use the new cache.
5621 (c-state-safe-place): Use better the cache of safe positions.
5622 (c-state-semi-nonlit-pos-cache)
5623 (c-state-semi-nonlit-pos-cache-limit):
5624 New variables for...
5625 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5626 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5627 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5628 Use c-state-semi-safe-place.
56d093a9 5629
dbbc2e69
SM
5630 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5631 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5632
817e5c3d
MA
56332012-03-02 Michael Albinus <michael.albinus@gmx.de>
5634
dbbc2e69
SM
5635 * jka-compr.el (jka-compr-call-process):
5636 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5637 not remote.
5638
a032a702
MA
56392012-03-01 Michael Albinus <michael.albinus@gmx.de>
5640
5641 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5642 access of FILE2, if FILE1 does not exist.
5643
99a54f21
MA
5644 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5645 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5646
5647 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5648 Add "PAGER=" to `process-environment'.
5649
f6561e1f
MM
56502012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5651
5652 * progmodes/sql.el: Bug fix
5653 (sql-get-login-ext): Save login values in globals.
5654 (sql-get-login): Use new version of `sql-get-login-ext'.
5655 (sql-interactive-mode): Set global `sql-connection' to nil.
5656 (sql-connect): Set global values for connection.
5657 (sql-product-interactive): Save global values as buffer local.
5658
2d44d9cc
LL
56592012-02-29 Leo Liu <sdl.web@gmail.com>
5660
5661 * abbrev.el (define-abbrevs): Reset sys to nil.
5662
96b49301 56632012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5664
bf7f9bc5
JB
5665 * files.el (file-equal-p): Rename from `files-equal-p'.
5666 Return nil when one or both files don't exist.
96b49301 5667 (file-subdir-of-p): Now only top directory must exists,
5668 return nil if it doesn't.
bf7f9bc5
JB
5669 (copy-directory): No need to test with `file-subdir-of-p' after
5670 creating dir.
5671 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5672 to `file-equal-p'.
96b49301 5673
44e97401
GM
56742012-02-28 Glenn Morris <rgm@gnu.org>
5675
5676 * shell.el (shell-mode):
5677 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5678 * play/landmark.el (landmark-font-lock-face-O):
5679 * play/handwrite.el (handwrite):
5680 * play/gomoku.el (gomoku-O):
5681 * net/browse-url.el (browse-url-browser-display):
5682 * international/mule.el (define-charset):
5683 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5684 * filesets.el (filesets-find-file-delay):
5685 * eshell/em-xtra.el (eshell-xtra):
5686 * eshell/em-unix.el (eshell-grep):
5687 * emulation/viper.el (viper-mode):
5688 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5689 * emacs-lisp/easymenu.el (easy-menu-define):
5690 * calendar/timeclock.el (timeclock-use-display-time):
5691 * bs.el (bs-mode):
5692 * bookmark.el (bookmark-save-flag):
5693 Doc fix (standardize possessive apostrophe usage).
5694
c98c6276
CY
56952012-02-27 Chong Yidong <cyd@gnu.org>
5696
bf7f9bc5
JB
5697 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5698 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5699
c98c6276
CY
5700 * font-lock.el (font-lock-specified-p): Rename from
5701 font-lock-spec-present. Callers changed.
5702
9c62cd04 57032012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5704
bf7f9bc5
JB
5705 * emacs-lisp/package.el (package-compute-transaction):
5706 Handle holding a package version to t in package-load-list.
8ac9e529 5707
530739c9
MA
57082012-02-26 Michael Albinus <michael.albinus@gmx.de>
5709
5710 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5711 (tramp-get-inode, tramp-get-device): Use cached values.
5712
487915d7
AM
57132012-02-26 Alan Mackenzie <acm@muc.de>
5714
5715 Check there is a font-lock specification before doing initial
5716 fontification.
5717
5718 * font-core.el (font-lock-mode): Move the conditional from
5719 :after-hook to font-lock-initial-fontify.
5720 (font-lock-default-function): Move the check for a specification
5721 to font-lock-spec-present.
5722
dc9924b8 5723 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5724 (font-lock-spec-present): New function.
5725
4fd96557
JB
57262012-02-26 Jim Blandy <jimb@red-bean.com>
5727
5728 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5729 (gdb-send): Apply it to the operand of the '-interpreter-exec
5730 console' command, so that we can pass arguments with (say) quotes
5731 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5732
9a4888c0
CY
57332012-02-26 Chong Yidong <cyd@gnu.org>
5734
07498861
CY
5735 * help-fns.el (describe-function-1): Clarify description of
5736 remapping (Bug#10844).
5737
9a4888c0
CY
5738 * files.el (files-equal-p): Doc fix.
5739 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5740 and quit the loop once a mismatch is found.
5741
ea8fb88d
JB
57422012-02-25 Juanma Barranquero <lekktu@gmail.com>
5743
5744 * bs.el (bs--show-with-configuration): Don't throw an error
5745 if the window cannot be split; otherwise, subsequent calls to
5746 bs-show fail, restoring a stale window config. (Bug#10882)
5747
525795c1
JD
57482012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5749
5750 * term/ns-win.el (global-map): Bind ns-drag-file to
5751 ns-find-file (Bug#5855, Bug#10050).
5752
f008086f
AS
57532012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5754
5755 * calendar/parse-time.el (parse-time-string): Allow extractor to
5756 return nil.
5757
a3fcfa99
MA
57582012-02-25 Michael Albinus <michael.albinus@gmx.de>
5759
91027d08
JB
5760 * net/tramp.el (tramp-file-name-for-operation):
5761 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5762
5763 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5764 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5765 Add COPY-CONTENTS argument.
a3fcfa99 5766
67b0de11
CY
57672012-02-25 Chong Yidong <cyd@gnu.org>
5768
5769 Add custom groups for VC backends, for consistency with vc-bzr.
5770
5771 * vc/vc-arch.el (vc-arch):
5772 * vc/vc-cvs.el (vc-cvs):
5773 * vc/vc-git.el (vc-git):
5774 * vc/vc-hg.el (vc-hg):
5775 * vc/vc-mtn.el (vc-mtn):
5776 * vc/vc-rcs.el (vc-rcs):
5777 * vc/vc-sccs.el (vc-sccs):
5778 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5779 All relevant defcustoms reassigned.
5780
3c9dfce6
CY
57812012-02-25 Chong Yidong <cyd@gnu.org>
5782
1339bf43
CY
5783 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5784
3c9dfce6
CY
5785 * term/x-win.el (x-initialize-window-system): Reduce default for
5786 x-selection-timeout to 5 seconds (Bug#8869).
5787
25b2e303 57882012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5789
ec70a47d
GM
5790 * files.el (files-equal-p, file-subdir-of-p): New functions.
5791 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5792 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5793 * dired-aux.el (dired-copy-file-recursive): Same.
5794 (dired-create-files): Modify destination when source is equal to
5795 dest when copying files.
53a46cd0 5796 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5797
914260cd
MA
57982012-02-24 Michael Albinus <michael.albinus@gmx.de>
5799
5800 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5801 (Bug#10874)
5802
2cb228f7
AM
58032012-02-23 Alan Mackenzie <acm@muc.de>
5804
5805 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5806 parameter "after-hook:" to allow the expansion to run code after
5807 the execution of the mode hooks.
5808
5809 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5810 from font-lock-mode-internal.
2cb228f7 5811
91027d08 5812 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5813 :after-hook.
5814
8f0fde21
SM
58152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5816
3e88618b
SM
5817 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5818 (completion--cache-all-sorted-completions): New function.
5819 (completion-all-sorted-completions): Use it.
5820 (completion--do-completion, minibuffer-force-complete):
5821 Use it to re-instate the flush hook.
5822
8f0fde21
SM
5823 * icomplete.el (icomplete-completions): Replace last fix with a better
5824 one (bug#10850).
5825
8e911f6f
DG
58262012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5827
5828 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5829 when it might call us back infinitely (bug#10797).
5830
49fe4321
GM
58312012-02-23 Glenn Morris <rgm@gnu.org>
5832
5833 * minibuffer.el (completion-category-overrides): Doc fix.
5834
b291b572
SM
58352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5838 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5839
31a9ef2e
GM
58402012-02-23 Glenn Morris <rgm@gnu.org>
5841
5e6e6794 5842 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5843 (authors-obsolete-files-regexps, authors-ignored-files)
5844 (authors-ambiguous-files, authors-renamed-files-alist):
5845 Add more entries.
5846
0bd1e074
JL
58472012-02-23 Juri Linkov <juri@jurta.org>
5848
5849 * isearch.el (isearch-occur): Sync interactive spec with occur's
5850 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5851
b617673c
JL
5852 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5853
19e9789e
JL
58542012-02-22 Juri Linkov <juri@jurta.org>
5855
5856 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5857 (ucs-insert): Doc fix. Check for hex digits in the string.
5858 Don't display `nil' in the error message. (Bug#10857)
5859
f41ce09d
AM
58602012-02-22 Alan Mackenzie <acm@muc.de>
5861
7a71b18d 5862 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5863
ac2eceee
GM
58642012-02-22 Glenn Morris <rgm@gnu.org>
5865
5866 * ffap.el (ffap-c-path):
5867 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5868
abd1f678
CY
58692012-02-22 Chong Yidong <cyd@gnu.org>
5870
5871 * custom.el (load-theme): Doc fix.
5872
f25aef2e
GM
58732012-02-22 Glenn Morris <rgm@gnu.org>
5874
5875 * dired-x.el (dired-guess-shell-alist-default):
5876 Remove escape sequences from nroff output. (Bug#172)
5877
5f8dc2ca
GM
58782012-02-21 Glenn Morris <rgm@gnu.org>
5879
6ff86ec4
GM
5880 * vc/emerge.el (emerge-defvar-local):
5881 Set `permanent-local' property rather than unused `preserved'.
5882
be3223a3 5883 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5884 (picture-mode-map): Use it. (Bug#10860)
5885 (picture-mode): Doc fix.
5886
3fe58f4f
JB
58872012-02-21 Juanma Barranquero <lekktu@gmail.com>
5888
5889 * newcomment.el (uncomment-region-default): Remove unused binding.
5890
f9a998c3
GM
58912012-02-21 Glenn Morris <rgm@gnu.org>
5892
5893 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5894 (picture-self-insert, picture-tab-chars): Doc fix.
5895 (picture-mode-map): Fix C-a, C-e.
5896
c6029348
GM
58972012-02-20 Glenn Morris <rgm@gnu.org>
5898
5899 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5900
ab1ce9d7
LL
59012012-02-20 Leo Liu <sdl.web@gmail.com>
5902
5903 * icomplete.el (icomplete-completions): Check FROM arg before
5904 passing to substring (Bug#10850).
5905
0fd40f89
CY
59062012-02-19 Chong Yidong <cyd@gnu.org>
5907
5908 * comint.el: Require ansi-color.
5909 (comint-output-filter-functions): Add ansi-color-process-output.
5910
5911 * ansi-color.el: Don't set comint-output-filter-functions; it is
5912 now in the initial value defined in comint.el.
5913 (ansi-color-apply-face-function): New variable.
5914 (ansi-color-apply-on-region): Use it.
5915 (ansi-color-apply-overlay-face): New function.
5916
5917 * shell.el (shell): No need to require ansi-color.
5918 (shell-mode): Use ansi-color-apply-face-function to highlight
5919 color escapes using font-lock-face property (Bug#10835).
5920
20af2394
CY
59212012-02-19 Chong Yidong <cyd@gnu.org>
5922
5923 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5924 mode-line formats (Bug#10839).
5925
e23a3fbe
GM
59262012-02-18 Glenn Morris <rgm@gnu.org>
5927
b474519e
GM
5928 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5929
5930 * mail/undigest.el (unforward-rmail-message): Doc fix.
5931
e23a3fbe
GM
5932 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5933
57939ff4
EZ
59342012-02-18 Eli Zaretskii <eliz@gnu.org>
5935
5936 * international/characters.el (script-list): Sync with the latest
5937 Unicode Character Database.
5938
0c23686e
AS
59392012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5940
5941 * international/titdic-cnv.el: Remove duplicate coding tag.
5942 * language/cham.el: Likewise.
5943 * language/tai-viet.el: Likewise.
5944
6818b449
GM
59452012-02-18 Glenn Morris <rgm@gnu.org>
5946
5947 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5948 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5949 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5950 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5951 * calendar/holidays.el (holiday-bahai-holidays)
5952 (calendar-holidays, list-holidays):
5953 Use utf-8 Bahá'í in doc-strings, menus, etc.
5954
0311a3fc
TH
59552012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5956
5957 * saveplace.el (save-place-ignore-files-regexp): New variable
5958 allowing for excluding files from saving their location of point.
5959 The default value matches the temporary commit message editing
5960 files from Git, SVN, Bazaar, and Mercurial.
5961 (save-place-to-alist): Use it.
5962
d209e2fb 59632012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5964 Stefan Monnier <monnier@iro.umontreal.ca>
5965
5966 * newcomment.el (uncomment-region-default): Don't leave extra space
5967 when an arg is provided (bug#8150).
5968
ee0ce425
TZ
59692012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5970
eb864a71 5971 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5972
95ddf442
GM
59732012-02-17 Glenn Morris <rgm@gnu.org>
5974
5975 * net/socks.el: Require network-stream. (Bug#10599)
5976
48dd1e39 59772012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5978
5979 * international/charprop.el:
5980 * international/uni-name.el:
5981 * international/uni-old-name.el:
5982 * international/uni-comment.el: Regenerate.
5983
d68cd087
GM
59842012-02-16 Glenn Morris <rgm@gnu.org>
5985
5986 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5987 Interactively in calendar buffer, give an error if not on a date.
5988
13932042
GM
59892012-02-15 Glenn Morris <rgm@gnu.org>
5990
5991 * shell.el (shell-delimiter-argument-list):
5992 Revert 2011-02-17 change. (Bug#8027)
5993
c3a70e2b
CY
59942012-02-15 Chong Yidong <cyd@gnu.org>
5995
60236b0d
CY
5996 * minibuffer.el (completion-at-point-functions): Doc fix.
5997
c3a70e2b
CY
5998 * custom.el (defcustom): Doc fix; note use of defvar.
5999
9f26dc24
GM
60002012-02-15 Glenn Morris <rgm@gnu.org>
6001
6002 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6003 Doc fixes.
6004
6546b134
GM
60052012-02-14 Glenn Morris <rgm@gnu.org>
6006
6007 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6008
d29b2b4c
LI
60092012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6010
6011 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6012 way the ports list is computed.
835bdcba
LI
6013 (smtpmail-query-smtp-server): Prompt the user for a port number if
6014 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6015
08dcdbc9
TZ
60162012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6017
6018 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6019
2605051a
GM
60202012-02-13 Glenn Morris <rgm@gnu.org>
6021
6022 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6023
7ee99f32
TZ
60242012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6025
6026 * net/gnutls.el (gnutls-trustfiles): New variable.
6027 (gnutls-negotiate): Use it.
6028
5f0af64f
LI
60292012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6030
6031 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6032 does its stuff if Gnus is running.
6033
c14fcc95
AM
60342012-02-13 Alan Mackenzie <acm@muc.de>
6035
6036 Fix a loop in c-set-fl-decl-start.
6037
7a71b18d 6038 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6039 c-backward-syntactic-ws actually moves backwards.
6040
142b4d90
LL
60412012-02-13 Leo Liu <sdl.web@gmail.com>
6042
6043 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6044 beginning so that all \C-o chars are removed.
6045
fa9958a6
TZ
60462012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6047
dc9924b8 6048 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6049
0bc5886a
AM
60502012-02-12 Alan Mackenzie <acm@muc.de>
6051
6052 Fix infinite loop with long macros.
4d6769e1 6053 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6054
d4bd55e7
CY
60552012-02-12 Chong Yidong <cyd@gnu.org>
6056
6057 * window.el (display-buffer): Doc fix (Bug#10785).
6058
66f3fe22
GM
60592012-02-12 Glenn Morris <rgm@gnu.org>
6060
bd7da63e
GM
6061 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6062 (x-disown-selection-internal, x-get-selection-internal):
6063 Sync docs with the xselect.c versions.
6064
66f3fe22
GM
6065 * allout-widgets.el: Add missing license notice.
6066
3e0d2fa7
GM
60672012-02-11 Glenn Morris <rgm@gnu.org>
6068
cfecdf09
GM
6069 * select.el (x-get-selection-internal, x-own-selection-internal)
6070 (x-disown-selection-internal):
6071 * x-dnd.el (x-get-selection-internal): Update declarations.
6072
6d216d7f
GM
6073 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6074
2bed3f04
GM
6075 * window.el (window-sides-slots):
6076 * tool-bar.el (tool-bar-position):
6077 * term/xterm.el (xterm-extra-capabilities):
6078 * ses.el (ses-self-reference-early-detection):
6079 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6080 (verilog-auto-wire-type)
6081 (verilog-auto-delete-trailing-whitespace)
6082 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6083 (verilog-auto-tieoff-declaration):
6084 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6085 (sql-oracle-statement-starters, sql-oracle-scan-on):
6086 * progmodes/prolog.el (prolog-align-comments-flag)
6087 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6088 (prolog-left-indent-regexp, prolog-paren-indent-p)
6089 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6090 (prolog-types, prolog-mode-specificators)
6091 (prolog-determinism-specificators, prolog-directives)
6092 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6093 (prolog-electric-dot-flag)
6094 (prolog-electric-dot-full-predicate-template)
6095 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6096 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6097 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6098 (prolog-program-switches, prolog-prompt-regexp)
6099 (prolog-debug-on-string, prolog-debug-off-string)
6100 (prolog-trace-on-string, prolog-trace-off-string)
6101 (prolog-zip-on-string, prolog-zip-off-string)
6102 (prolog-use-standard-consult-compile-method-flag)
6103 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6104 (prolog-imenu-max-lines, prolog-info-predicate-index)
6105 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6106 (prolog-char-quote-workaround):
6107 * progmodes/cc-vars.el (c-defun-tactic):
6108 * net/tramp.el (tramp-encoding-command-interactive)
6109 (tramp-local-end-of-line):
6110 * net/soap-client.el (soap-client):
6111 * net/netrc.el (netrc-file):
6112 * net/gnutls.el (gnutls):
6113 * minibuffer.el (completion-category-overrides)
6114 (completion-cycle-threshold)
6115 (completion-pcm-complete-word-inserts-delimiters):
6116 * man.el (Man-name-local-regexp):
6117 * mail/feedmail.el (feedmail-display-full-frame):
6118 * international/characters.el (glyphless-char-display-control):
6119 * eshell/em-ls.el (eshell-ls-date-format):
6120 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6121 (lisp-lambda-list-keyword-parameter-indentation)
6122 (lisp-lambda-list-keyword-parameter-alignment):
6123 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6124 * dired-x.el (dired-omit-verbose):
6125 * cus-theme.el (custom-theme-allow-multiple-selections):
6126 * calc/calc.el (calc-highlight-selections-with-faces)
6127 (calc-lu-field-reference, calc-lu-power-reference)
6128 (calc-note-threshold):
6129 * battery.el (battery-mode-line-limit):
6130 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6131 (archive-7z-update):
6132 * allout.el (allout-prefixed-keybindings)
6133 (allout-unprefixed-keybindings)
6134 (allout-inhibit-auto-fill-on-headline)
6135 (allout-flattened-numbering-abbreviation):
6136 * allout-widgets.el (allout-widgets-auto-activation)
6137 (allout-widgets-icons-dark-subdir)
6138 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6139 (allout-widgets-theme-dark-background)
6140 (allout-widgets-theme-light-background)
6141 (allout-widgets-item-image-properties-emacs)
6142 (allout-widgets-item-image-properties-xemacs)
6143 (allout-widgets-run-unit-tests-on-load)
6144 (allout-widgets-time-decoration-activity)
6145 (allout-widgets-hook-error-post-time)
6146 (allout-widgets-track-decoration):
6147 Add missing :version tags to new defcustoms and defgroups.
6148
5fec1b8e
GM
6149 * progmodes/sql.el (sql-ansi-statement-starters)
6150 (sql-oracle-statement-starters): Add custom type.
6151
3e0d2fa7
GM
6152 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6153 (prolog-system-version): Give it a type.
6154
90b671e2
EZ
61552012-02-11 Eli Zaretskii <eliz@gnu.org>
6156
6157 * term/pc-win.el (x-select-text, x-selection-owner-p)
6158 (x-own-selection-internal, x-disown-selection-internal)
6159 (x-get-selection-internal): Sync doc strings and argument lists
6160 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6161
5eac0c02
LL
61622012-02-11 Leo Liu <sdl.web@gmail.com>
6163
6164 * progmodes/python.el (python-end-of-statement): Fix infinite
6165 loop. (Bug#10788)
6166
f82cb659
GM
61672012-02-10 Glenn Morris <rgm@gnu.org>
6168
6169 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6170 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6171
cc26d239
LI
61722012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6173
6174 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6175 about SMTP before checking the From header.
6176
91027d08 6177 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6178 into own function for reuse by emacsbug.el.
6179
1be3ca5a
LL
61802012-02-10 Leo Liu <sdl.web@gmail.com>
6181
6182 * subr.el (condition-case-unless-debug): Rename from
6183 condition-case-no-debug. All callers changed.
6184 (with-demoted-errors): Fix caller.
6185
6186 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6187 * nxml/rng-valid.el (rng-do-some-validation):
6188 * emacs-lisp/package.el (package-refresh-contents)
6189 (package-menu-execute):
6190 * desktop.el (desktop-create-buffer):
91027d08 6191 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6192
b011fbfe
GM
61932012-02-10 Glenn Morris <rgm@gnu.org>
6194
b2096d72
GM
6195 * textmodes/bibtex.el:
6196 Add missing :version tags for new/changed defcustoms.
6197
b011fbfe
GM
6198 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6199
4c7e65bf
LI
62002012-02-09 Lars Ingebrigtsen <larsi@rusty>
6201
6202 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6203 (smtpmail-via-smtp): Use it, or fall back on the From address.
6204 (smtpmail-send-it): Ditto.
6205
f3934f6f
SM
62062012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6209 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6210 (byte-compile-tmp-var): New const.
6211 (byte-compile-defvar): Use it to minimize .elc size.
6212 Just use `defvar' rather than simulate it (bug#10761).
6213
a075a2c5
GM
62142012-02-09 Glenn Morris <rgm@gnu.org>
6215
cf3aa21b
GM
6216 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6217
354998cd
GM
6218 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6219 Add :version tags.
6220
dc9924b8
SM
6221 * progmodes/compile.el (compilation-error-screen-columns)
6222 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6223
dab3703d
GM
6224 * vc/log-view.el (log-view-toggle-entry-display):
6225 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6226
3f88cd72
GM
6227 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6228 (report-emacs-bug-can-use-xdg-email):
6229 (report-emacs-bug-insert-to-mailer): Doc fixes.
6230 (report-emacs-bug): Message fix.
6231
d95b247d
GM
6232 * net/browse-url.el (browse-url-can-use-xdg-open)
6233 (browse-url-xdg-open): Doc fixes.
6234
a075a2c5
GM
6235 * electric.el (electric-indent-mode, electric-pair-mode)
6236 (electric-layout-rules, electric-layout-mode): Doc fixes.
6237 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6238
ffb6157e
MR
62392012-02-08 Martin Rudalics <rudalics@gmx.at>
6240
6241 * server.el (server-unselect-display): Don't inadvertently kill
6242 the current buffer. (Bug#10729)
6243
e1ac4066
GM
62442012-02-08 Glenn Morris <rgm@gnu.org>
6245
34e8a2da
GM
6246 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6247 (sql-list-table): Doc fixes.
6248
b4ac6e8c
GM
6249 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6250 Comment out (does nothing).
6251
e1ac4066
GM
6252 * completion.el (dynamic-completion-mode):
6253 * dirtrack.el (dirtrack-debug-mode):
6254 * electric.el (electric-layout-mode):
6255 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6256 * face-remap.el (text-scale-mode, buffer-face-mode):
6257 * iimage.el (iimage-mode):
6258 * image-mode.el (image-transform-mode):
6259 * minibuffer.el (completion-in-region-mode):
6260 * scroll-lock.el (scroll-lock-mode):
6261 * simple.el (next-error-follow-minor-mode):
6262 * tar-mode.el (tar-subfile-mode):
6263 * tooltip.el (tooltip-mode):
6264 * vcursor.el (vcursor-use-vcursor-map):
6265 * wid-browse.el (widget-minor-mode):
6266 * emulation/tpu-edt.el (tpu-edt-mode):
6267 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6268 * international/iso-ascii.el (iso-ascii-mode):
6269 * language/thai-util.el (thai-word-mode):
6270 * mail/supercite.el (sc-minor-mode):
6271 * net/goto-addr.el (goto-address-mode):
6272 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6273 * progmodes/cwarn.el (cwarn-mode):
6274 * progmodes/flymake.el (flymake-mode):
6275 * progmodes/glasses.el (glasses-mode):
6276 * progmodes/hideshow.el (hs-minor-mode):
6277 * progmodes/pascal.el (pascal-outline-mode):
6278 * textmodes/enriched.el (enriched-mode):
6279 * vc/smerge-mode.el (smerge-mode):
6280 Doc fixes (minor mode argument).
6281
5e0d957f
EZ
62822012-02-07 Eli Zaretskii <eliz@gnu.org>
6283
6284 * ls-lisp.el (ls-lisp-sanitize): New function.
6285 (ls-lisp-insert-directory): Use it to fix or remove any elements
6286 in file-alist with missing attributes. (Bug#4673)
6287
98d7371e
AM
62882012-02-07 Alan Mackenzie <acm@muc.de>
6289
6290 Fix spurious recognition of c-in-knr-argdecl.
6291
6292 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6293 putative K&R region.
6294
667ced3a
AM
62952012-02-07 Alan Mackenzie <acm@muc.de>
6296
eb864a71
LM
6297 * progmodes/cc-engine.el (c-forward-objc-directive):
6298 Prevent looping in "#pragma mark @implementation".
667ced3a 6299
5b77774d
MA
63002012-02-07 Michael Albinus <michael.albinus@gmx.de>
6301
6302 * notifications.el (notifications-on-closed-signal): Make `reason'
6303 optional. (Bug#10744)
6304
af008560
GM
63052012-02-07 Glenn Morris <rgm@gnu.org>
6306
60d47423
GM
6307 * emacs-lisp/easy-mmode.el (define-minor-mode):
6308 Doc fixes for the macro and the mode it defines.
6309
dd605cc4
GM
6310 * image.el (imagemagick-types-inhibit): Doc fix.
6311
af008560
GM
6312 * cus-start.el (imagemagick-render-type): Add it.
6313
5cc59a37
LI
63142012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6315
4d6769e1
JB
6316 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6317 Set the default at load time, too, so that `font-lock-fontify-buffer'
6318 can be called without setting up the entire mode first. This fixes
6319 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6320
9a6dd747
CY
63212012-02-06 Chong Yidong <cyd@gnu.org>
6322
2d16b285
CY
6323 * simple.el (list-processes--refresh): Delete exited processes
6324 (Bug#8094).
6325
171e9b6e
CY
6326 * comint.el (comint-next-prompt): next-single-char-property-change
6327 and prev-single-char-property-change never return nil (Bug#8657).
6328
9a6dd747
CY
6329 * custom.el (defcustom): Doc fix (Bug#9711).
6330
aa4589a7
CY
63312012-02-05 Chong Yidong <cyd@gnu.org>
6332
5c2a252f
CY
6333 * cus-edit.el (custom-variable-reset-backup): Quote the value
6334 before storing it in the customized-value property (Bug#6712).
4aab9006 6335 (custom-display): Add a customization type tag.
983b9602 6336 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6337
aa4589a7
CY
6338 * wid-edit.el (widget-field-value-get): New optional arg to
6339 suppress trailing whitespace truncation.
6340 (character): Use it (Bug#2689).
6341
1ff980ae
AS
63422012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6343
6344 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6345 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6346
03988c98
CY
63472012-02-05 Chong Yidong <cyd@gnu.org>
6348
eeb6cc88
CY
6349 * cus-edit.el (custom-variable-value-create): For mismatched
6350 types, show the current value (Bug#7600).
6351
03988c98
CY
6352 * custom.el (defcustom): Doc fix.
6353
f8cdeef0
GM
63542012-02-05 Glenn Morris <rgm@gnu.org>
6355
6356 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6357
0696d255
JB
63582012-02-05 Juanma Barranquero <lekktu@gmail.com>
6359
6360 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6361 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6362 (pp-last-sexp): Use `looking-at-p'.
6363
34c99998
GM
63642012-02-04 Glenn Morris <rgm@gnu.org>
6365
8f05da42
GM
6366 * files.el (revert-buffer):
6367 Doc fix (mention revert-buffer-in-progress-p).
6368
f160676e
GM
6369 * emacs-lisp/ert-x.el (ert-simulate-command):
6370 Check deferred-action-list (which is obsolete) is bound.
6371
c7291ad9
GM
6372 * subr.el (with-wrapper-hook): Doc fixes.
6373
34c99998
GM
6374 * simple.el (filter-buffer-substring-functions)
6375 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6376
6283a7d3
LL
63772012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6378
6379 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6380 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6381
e96e3013
LL
63822012-02-04 Leo Liu <sdl.web@gmail.com>
6383
6384 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6385
8ded50f2
GM
63862012-02-04 Glenn Morris <rgm@gnu.org>
6387
82ff1d13
GM
6388 * image.el (image-extension-data): Add obsolete alias.
6389
987a0a16
GM
6390 * isearch.el (isearch-update): Doc fix.
6391
ea32ef46
GM
6392 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6393
8ded50f2
GM
6394 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6395
eea14f31
GM
63962012-02-03 Glenn Morris <rgm@gnu.org>
6397
6398 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6399 (image-animate-timeout): Doc fix.
6400
6401 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6402
12f381b7
GM
64032012-02-02 Glenn Morris <rgm@gnu.org>
6404
953cebf5
GM
6405 * server.el (server-auth-dir): Doc fix.
6406 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6407
12f381b7
GM
6408 * subr.el (run-mode-hooks): Doc fix.
6409
953a8c3b
JL
64102012-02-02 Juri Linkov <juri@jurta.org>
6411
6412 * image-mode.el (image-toggle-display-image): Remove tautological
6413 `major-mode' from the `derived-mode-p' test.
6414
c5d3843c
KH
64152012-02-02 Kenichi Handa <handa@m17n.org>
6416
9f6e692e 6417 * composite.el (compose-region): Cancel previous change.
c5d3843c 6418
159462d4 64192012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6420
6421 * composite.el (compose-region, compose-string): Signal error for
6422 a null string component (Bug#6988).
6423
9f562668
CY
64242012-02-01 Chong Yidong <cyd@gnu.org>
6425
e2cef717
CY
6426 * view.el (view-buffer-other-window, view-buffer-other-frame):
6427 Handle special modes like view-buffer (Bug#10650).
6428 (view-buffer): Simplify.
6429
9f562668
CY
6430 * frame.el (set-frame-font): Tweak meaning of third argument.
6431
9f6e692e
JB
6432 * dynamic-setting.el (font-setting-change-default-font):
6433 Use set-frame-font (Bug#9982).
9f562668 6434
781acb9f
GM
64352012-02-01 Glenn Morris <rgm@gnu.org>
6436
6035be52
GM
6437 * progmodes/compile.el (compilation-internal-error-properties):
6438 Respect compilation-first-column in the "*compilation*" buffer.
6439
781acb9f
GM
6440 * emacs-lisp/easy-mmode.el (define-minor-mode):
6441 Relax :variable's test for a named function.
6442
abbceb00
AM
64432012-01-31 Alan Mackenzie <acm@muc.de>
6444
6445 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6446 off by one error.
6447
fce3fdeb
CY
64482012-01-31 Chong Yidong <cyd@gnu.org>
6449
6450 * frame.el (set-frame-font): New arg ALL-FRAMES.
6451
6452 * menu-bar.el (menu-set-font): Use set-frame-font.
6453
6454 * faces.el (face-spec-reset-face): Don't apply unspecified
6455 attribute values to the default face.
6456
47893581
JB
64572012-01-31 Juanma Barranquero <lekktu@gmail.com>
6458
6459 * progmodes/cwarn.el (cwarn): Remove dead link.
6460 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6461 Remove * from defcustom docstrings.
6462 (turn-on-cwarn-mode): Make obsolete.
6463 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6464 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6465
e58e988a
GM
64662012-01-31 Glenn Morris <rgm@gnu.org>
6467
60dc2671 6468 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6469 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6470 Allow named functions to be used as the cdr of :variable.
e58e988a 6471
7a3f511d
GM
64722012-01-30 Glenn Morris <rgm@gnu.org>
6473
6474 * emacs-lisp/authors.el (authors-fixed-entries):
6475 Remove reference to deleted file rnewspost.el.
6476
cb882333
JB
64772012-01-29 Juanma Barranquero <lekktu@gmail.com>
6478
6479 * window.el (window-with-parameter): Remove unused variable `windows'.
6480 (window--side-check): Remove unused variable `code'.
6481 (window--resize-siblings): Remove unused variable `first'.
6482 (adjust-window-trailing-edge): Remove unused variable `failed'.
6483 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6484 Use `let', not `let*'.
6485 (balance-windows-2): Remove unused variable `found'.
6486 (window--state-put-2): Remove unused variable `splits'.
6487 (window-state-put): Remove unused variable `selected'.
6488 (same-window-p): Use `string-match-p'.
6489 (display-buffer-assq-regexp): Remove unused variable `value'.
6490 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6491 Mark argument ALIST as ignored.
6492 (pop-to-buffer): Remove unused variable `old-window'.
6493
907201af
EZ
64942012-01-29 Eli Zaretskii <eliz@gnu.org>
6495
6496 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6497 and .lzma compressed files.
6498
ea162670
CY
64992012-01-29 Chong Yidong <cyd@gnu.org>
6500
5b95ee8a
CY
6501 * frame.el (window-system-default-frame-alist): Doc fix.
6502
ea162670
CY
6503 * dynamic-setting.el (font-setting-change-default-font): Don't
6504 change the default face if SET-FONT argument is non-nil (Bug#9982).
6505
d6e6f4b1
SB
65062012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6507
6508 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6509
0f29fa41 65102012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6511
6512 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6513 breakpoints in files outside current directory (Bug#6098).
6514
db174434
CY
65152012-01-29 Chong Yidong <cyd@gnu.org>
6516
6b25e4e2
SE
6517 * progmodes/python.el: Require ansi-color at top-level.
6518
6df6ae42
JB
6519 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6520 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6521 (lisp-mode-abbrev-table): Add doc.
6522 (lisp-mode-variables): Don't set local-abbrev-table.
6523 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6524
e70ee681
RW
65252012-01-28 Roland Winkler <winkler@gnu.org>
6526
6527 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6528
ace88aa2
RW
65292012-01-28 Roland Winkler <winkler@gnu.org>
6530
6531 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6532 (bibtex-set-dialect): Use it. Either set global values of
6533 dialect-dependent variables or bind these variables buffer-locally
6534 (Bug#10254).
6535 (bibtex-mode): Call bibtex-set-dialect via
6536 hack-local-variables-hook.
eb864a71
LM
6537 (bibtex-dialect): Update docstring.
6538 Add safe-local-variable predicate.
ace88aa2
RW
6539 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6540 bibtex-set-dialect.
6541 (bibtex-mode-map): Define menu for each dialect.
6542 (bibtex-entry): Fix docstring.
6543
93376c5b
CY
65442012-01-28 Chong Yidong <cyd@gnu.org>
6545
6546 * eshell/esh-arg.el (eshell-quote-argument): New function.
6547
6548 * eshell/esh-ext.el (eshell-invoke-batch-file):
6549 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6550 first arg to eshell-parse-command (Bug#10523).
6551
4372494f
DA
65522012-01-28 Drew Adams <drew.adams@oracle.com>
6553
6554 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6555 `default-directory' is non-nil.
6556
4d4ec1f8
EZ
65572012-01-28 Eli Zaretskii <eliz@gnu.org>
6558
6559 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6560 line that displays system-configuration-options. (Bug#9924)
6561
7c188927
DA
65622012-01-28 Drew Adams <drew.adams@oracle.com>
6563
6564 * descr-text.el (describe-char): Show information about POS, in
6565 addition to information about the character at POS. Improve and
6566 update the doc string. Change "code point" to "code point in
6567 charset", to avoid confusion with the character's Unicode code
6568 point shown above that. (Bug#10129)
6569
e0da685a
EZ
65702012-01-28 Eli Zaretskii <eliz@gnu.org>
6571
6572 * descr-text.el (describe-char): Show the raw character, not only
6573 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6574 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6575 for the reasons.
6576
70550acf
PH
65772012-01-28 Phil Hagelberg <phil@hagelb.org>
6578
eb864a71
LM
6579 * emacs-lisp/package.el (package-install):
6580 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6581
0ce8e868
CY
65822012-01-28 Chong Yidong <cyd@gnu.org>
6583
cb882333
JB
6584 * emacs-lisp/package.el (package-maybe-load-descriptor):
6585 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6586 (package-maybe-load-descriptor): Use it.
6587 (package-download-transaction): Fully load required packages
6588 inside the loop, so that `require' calls work (Bug#10593).
6589 (package-install): No need to call package-initialize now.
6590
2e7f3bea
CY
65912012-01-28 Chong Yidong <cyd@gnu.org>
6592
6e9bad14
CY
6593 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6594
f823b8ca
CY
6595 * tooltip.el (tooltip-mode): Doc fix.
6596 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6597
2680c309
CY
6598 * frame.el (set-cursor-color): Doc fix (Bug#352).
6599
d7a9e63b
CY
6600 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6601 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6602
2e7f3bea
CY
6603 * cus-edit.el (custom-buffer-create-internal): Fix search button
6604 action (Bug#10542).
2ae01800 6605 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6606
fc4f7a23
EW
66072012-01-27 Eduard Wiebe <usenet@pusto.de>
6608
6609 * dired.el (dired-mark-files-regexp):
6610 Include any subdirectory components. (Bug#10445)
6611
7dd37071
ML
66122012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6613
6614 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6615 Handle [host]:port syntax. (Bug#10533)
6616
a268160b
AH
66172012-01-27 Alex Harsanyi <harsanyi@mac.com>
6618
6619 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6620
e43273ef
GM
66212012-01-26 Glenn Morris <rgm@gnu.org>
6622
6623 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6624 * term.el (term-raw-escape-map): Use Control-X-prefix.
6625 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6626
1edf595d
MR
66272012-01-25 Martin Rudalics <rudalics@gmx.at>
6628
6629 * window.el (window-state-get, window--state-get-1): Don't deal
6630 with fixed-sizeness of windows. Simplify code.
6631
fa8eafef
JC
66322012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6633
6df6ae42
JB
6634 * window.el (window--state-get-1, window--state-put-2):
6635 Don't save and restore the mark.
fa8eafef 6636
0b21c100
CY
66372012-01-25 Chong Yidong <cyd@gnu.org>
6638
6639 * custom.el (custom-variable-p): Doc fix.
6640
5ae1a6c8
GM
66412012-01-25 Glenn Morris <rgm@gnu.org>
6642
40047858
GM
6643 * dired.el (dired-goto-file): Handle some of the more common
6644 characters that `ls -b' escapes. (Bug#10596)
6645
5ddce96c
GM
6646 * progmodes/compile.el (compilation-next-error-function):
6647 Respect compilation-first-column in the "*compilation*" buffer.
6648 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6649
5ae1a6c8
GM
6650 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6651
b559f1a9
GM
66522012-01-24 Glenn Morris <rgm@gnu.org>
6653
6654 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6655
6725d21a
JD
66562012-01-24 Julien Danjou <julien@danjou.info>
6657
6658 * color.el (color-rgb-to-hsl): Fix value computing.
6659 (color-hue-to-rgb): New function.
6660 (color-hsl-to-rgb): New function.
6661 (color-clamp, color-saturate-hsl, color-saturate-name)
6662 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6663 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6664
70df4bbe
GM
66652012-01-24 Glenn Morris <rgm@gnu.org>
6666
6667 * vc/vc-rcs.el (vc-rcs-create-tag):
6668 * vc/vc-sccs.el (vc-sccs-create-tag):
6669 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6670
802a2ae2
ML
66712012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6672
6673 * eshell/esh-util.el (eshell-read-hosts-file):
6674 Skip comment lines. (Bug#10549)
6675
d7128bb1
ML
6676 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6677
d1a5c3b4
JB
66782012-01-23 Juanma Barranquero <lekktu@gmail.com>
6679
2724d9c7
JB
6680 * subr.el (display-delayed-warnings): Doc fix.
6681 (collapse-delayed-warnings): New function to collapse identical
6682 adjacent warnings.
6683 (delayed-warnings-hook): Add it.
d1a5c3b4 6684
a5509865
MA
66852012-01-22 Michael Albinus <michael.albinus@gmx.de>
6686
6687 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6688
a5509865
MA
6689 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6690 (tramp-default-user-alist): Don't add "pscp".
6691 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6692 property "login-as", if set. (Bug#10530)
6693
cc6d5805
MA
66942012-01-21 Michael Albinus <michael.albinus@gmx.de>
6695
6696 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6697 "plink1" and "psftp". (Bug#10530)
6698
66992012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6700
6701 * international/mule-cmds.el (prefer-coding-system): Show a
6702 warning message if the default value of file-name-coding-system
6703 was not changed.
6704
f0960428
JC
67052012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6706
cb882333
JB
6707 * windmove.el (windmove-reference-loc):
6708 Fix windmove-reference-loc miscalculation.
f0960428 6709
dd6f2a63
JB
67102012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6711
6712 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6713 default unit.
6714
7b447e9b
GM
67152012-01-21 Glenn Morris <rgm@gnu.org>
6716
117a9ea1
GM
6717 * international/mule.el (auto-coding-alist): Add .tbz.
6718
7b447e9b
GM
6719 * files.el (local-enable-local-variables): Doc fix.
6720 (inhibit-local-variables-regexps): Rename from
6721 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6722 Doc fix. Add some extensions from auto-coding-alist.
6723 (inhibit-local-variables-suffixes):
6724 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6725 (inhibit-local-variables-p):
6726 New function, extracted from set-auto-mode-1.
6727 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6728 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6729 (hack-local-variables): Doc fix. Make the mode-only case
6730 respect enable-local-variables and friends.
6731 Respect inhibit-local-variables-regexps for file-locals, but
6732 not for directory-locals.
6733 (set-visited-file-name):
6734 Take account of inhibit-local-variables-regexps.
6735 Whether it applies may change as the file name is changed.
6736 * jka-cmpr-hook.el (jka-compr-install):
6737 * jka-compr.el (jka-compr-uninstall):
6738 Update for inhibit-first-line-modes-suffixes name change.
6739
dd6e3cdd
MR
67402012-01-20 Martin Rudalics <rudalics@gmx.at>
6741
6742 * help-macro.el (make-help-screen): Temporarily restore original
6743 binding for minor-mode-map-alist (Bug#10454).
6744
0d0deb38
JD
67452012-01-19 Julien Danjou <julien@danjou.info>
6746
6747 * color.el (color-name-to-rgb): Use the white color to find the max
6748 color component value and return correctly computed values.
6749 (color-name-to-rgb): Add missing float conversion for max value.
6750
34a02f46
MR
67512012-01-19 Martin Rudalics <rudalics@gmx.at>
6752
6753 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6754 special state value for window-persistent-parameters.
6755 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6756 (window--state-put-2): Reset all window parameters to nil before
6757 assigning values of persistent parameters.
6758
606c44c4
AM
67592012-01-18 Alan Mackenzie <acm@muc.de>
6760
6761 Eliminate sluggishness and hangs in fontification of "semicolon
6762 deserts".
6763
cb882333
JB
6764 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6765 Change value 10000 -> 3000.
606c44c4
AM
6766 (c-state-safe-place): Reformulate so it doesn't stack up an
6767 infinite number of wrong entries in c-state-nonlit-pos-cache.
6768 (c-determine-limit-get-base, c-determine-limit): New functions to
6769 determine backward search limits disregarding literals.
6770 (c-find-decl-spots): Amend commenting.
6771 (c-cheap-inside-bracelist-p): New function which detects "={".
6772
6773 * progmodes/cc-fonts.el
6774 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6775 backward search.
6776 (c-font-lock-declarations): Fix an occurrence of point being
6777 undefined. Check additionally for point being in a bracelist or
6778 near a macro invocation without a semicolon so as to avoid a
6779 fruitless time consuming search for a declarator. Give a more
6780 precise search limit for declarators using the new
6781 c-determine-limit.
6782
f3860cea
GM
67832012-01-18 Glenn Morris <rgm@gnu.org>
6784
6785 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6786 (set-auto-mode): Doc fixes.
6787
1db03b16
GM
67882012-01-17 Glenn Morris <rgm@gnu.org>
6789
0e6038be
GM
6790 * isearch.el (search-nonincremental-instead): Fix doc typo.
6791
1db03b16
GM
6792 * dired.el (dired-insert-directory): Handle newlines in directory name.
6793 (dired-build-subdir-alist): Unescape newlines in directory name.
6794
4cb0aa75
MA
67952012-01-17 Michael Albinus <michael.albinus@gmx.de>
6796
6797 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6798 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6799 (tramp-action-terminal): Use it. (Bug#10530)
6800
1d00653d
SM
68012012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6802
6803 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6804
6a6ee00d
MR
68052012-01-16 Martin Rudalics <rudalics@gmx.at>
6806
6807 * window.el (window-state-ignored-parameters): Remove variable.
6808 (window--state-get-1): Rename argument MARKERS to IGNORE.
6809 Handle persistent window parameters. Make copy of clone-of
6810 parameter only if requested. (Bug#10348)
6811 (window--state-put-2): Install a window parameter only if it has
6812 a non-nil value or an existing parameter shall be overwritten.
6813
97912def
MA
68142012-01-15 Michael Albinus <michael.albinus@gmx.de>
6815
6816 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6817
688070a5
EZ
68182012-01-14 Eli Zaretskii <eliz@gnu.org>
6819
6820 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6821 don't pass the (nil) value of `upnode' to string-match.
6822
301afadc
CY
68232012-01-14 Chong Yidong <cyd@gnu.org>
6824
6825 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6826 Fix values recognized by the cursorBlink resource.
301afadc 6827
9e5788aa
PE
68282012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6829
6830 * epg.el (epg--make-temp-file): Avoid permission race condition
6831 when running on old Emacs versions (bug#10403).
6832
3cdb7f5a
GM
68332012-01-14 Glenn Morris <rgm@gnu.org>
6834
6835 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6836
8c82b1b4
AM
68372012-01-13 Alan Mackenzie <acm@muc.de>
6838
6839 Fix filling for when filladapt mode is enabled.
6840
6841 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6842 c-mask-paragraph, pass in `fill-paragraph' rather than
6843 `fill-region-as-paragraph'. (This is a reversion of a previous
6844 change.)
eb864a71
LM
6845 * progmodes/cc-mode.el (c-basic-common-init):
6846 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6847
e517eda4
GM
68482012-01-13 Glenn Morris <rgm@gnu.org>
6849
1498536e
GM
6850 * dired.el (dired-switches-escape-p): New function.
6851 (dired-insert-directory): Use dired-switches-escape-p.
6852 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6853
e517eda4
GM
6854 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6855
328f984d
GM
68562012-01-12 Glenn Morris <rgm@gnu.org>
6857
6858 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6859 changes in adaptive-fill-regexp. (Bug#10276)
6860
2cc769a8
AM
68612012-01-11 Alan Mackenzie <acm@muc.de>
6862
6863 Fix Emacs bug #10463 - put `widen's around the critical spots.
6864
1d00653d 6865 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6866 widen around each invocation of c-state-pp-to-literal. Remove an
6867 unused let variable.
6868
e52c37fa
GM
68692012-01-11 Glenn Morris <rgm@gnu.org>
6870
6871 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6872 Doc fix.
e52c37fa 6873
96f8741e
CY
68742012-01-10 Chong Yidong <cyd@gnu.org>
6875
1d00653d
SM
6876 * net/network-stream.el (network-stream-open-starttls):
6877 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6878 response to the capability command.
6879
b09a806e
GM
68802012-01-10 Glenn Morris <rgm@gnu.org>
6881
6882 * mail/unrmail.el (unrmail): Tweak previous change.
6883
7655cb66
CY
68842012-01-09 Chong Yidong <cyd@gnu.org>
6885
6886 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6887
9d5a8f0b
AM
68882012-01-08 Alan Mackenzie <acm@muc.de>
6889
6890 Optimise font locking in long enum definitions.
6891
6892 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6893 arm to a cond form to handle enums.
6894 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6895 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6896
9a0115ab 68972012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6898
6899 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6900 (Bug#10401)
6bb72cbd 6901
f186bb95
LMI
69022012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6903
29232a68
LMI
6904 * faces.el (set-face-attribute): Clarify the meaning of the nil
6905 frame (bug#10294).
6906
4e5d086d
LMI
6907 * subr.el (with-selected-frame): Mention that the selected frame
6908 is restored (bug#9980).
6909
8e66aebe
LMI
6910 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6911 (bug#9759).
6912
cd394be1 6913 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6914 (password-read): Don't autoload unused function.
6915
adf4e762
JB
69162012-01-07 Juanma Barranquero <lekktu@gmail.com>
6917
6918 * progmodes/which-func.el (which-func-mode): Turn into a
6919 non-interactive function and mark as obsolete (bug#10428).
6920
89bd9ccd
CY
69212012-01-06 Chong Yidong <cyd@gnu.org>
6922
6923 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6924 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6925 functions, along with 1 and -1.
6926
4afee9d5
EZ
69272012-01-06 Eli Zaretskii <eliz@gnu.org>
6928
6929 * time.el (display-time-load-average)
6930 (display-time-default-load-average): Doc fixes. See the thread
6931 starting at
6932 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6933 for the details.
6934
536aea70
GM
69352012-01-06 Glenn Morris <rgm@gnu.org>
6936
665ae865
GM
6937 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6938 has no messages. (Bug#10377)
6939
c869783d
GM
6940 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6941 than Info-edit. (Bug#10385)
6942
2bb4227e
GM
6943 * time.el (display-time-load-average, display-time-next-load-average):
6944 Doc fixes.
6945
7d5944b9
GM
6946 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6947 local setting of buffer-read-only to the input buffer. (Bug#10419)
6948
536aea70
GM
6949 * calendar/calendar.el (calendar-mode):
6950 Locally set scroll-margin to 0. (Bug#10379)
6951
7dccca16
UM
69522012-01-06 Ulrich Mueller <ulm@gentoo.org>
6953
6954 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6955
afbb7930
GM
69562012-01-05 Glenn Morris <rgm@gnu.org>
6957
6958 * eshell/em-unix.el (diff-no-select): Autoload it.
6959 (eshell/diff): Use diff-no-select. (Bug#10420)
6960
04482335
CY
69612012-01-05 Chong Yidong <cyd@gnu.org>
6962
7baca3bc
CY
6963 * shell.el (shell-dynamic-complete-functions): Revert last change.
6964 (shell-command-completion-function): New function.
6965 (shell-completion-vars): Use it to implement
6966 shell-completion-execonly (Bug#10417).
6967
04482335
CY
6968 * custom.el (enable-theme): Don't set custom-safe-themes.
6969
1d00653d
SM
6970 * cus-theme.el (custom-theme-merge-theme):
6971 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6972
bb5aa5d6
MM
69732012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6974
6975 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6976 first prompt in `sql-interacive-mode'.
6977 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6978 keywords.
6df6ae42 6979 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6980 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6981 context of original buffer. Invoke `sql-login-hook'.
6982
a7183d7c
EZ
69832012-01-04 Eli Zaretskii <eliz@gnu.org>
6984
6985 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6986 letters in cite-prefix.
6987
a1eacd1e
LMI
69882012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6989
6990 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6991
787cdb34
CY
69922012-01-03 Chong Yidong <cyd@gnu.org>
6993
1d00653d
SM
6994 * shell.el (shell-dynamic-complete-functions):
6995 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6996 comint-filename-completion first (Bug#10417).
6997
30710442
RS
69982012-01-02 Richard Stallman <rms@gnu.org>
6999
7000 * battery.el (battery-status-function):
7001 Detect when to use battery-yeeloong-sysfs.
7002 (battery-echo-area-format): Add string for Yeeloong.
7003 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7004 (battery-yeeloong-sysfs): New function.
7005
f75bfc33
CY
70062012-01-02 Chong Yidong <cyd@gnu.org>
7007
7008 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7009 (dirtrack): Merge code for handling relative filenames in prompt
7010 from shell-dir-cookie-watcher.
7011 (dirtrack-debug-message): New arg to avoid excess format calls.
7012
7013 * shell.el (shell-dir-cookie-re): Variable deleted.
7014 (shell-dir-cookie-watcher): Function deleted.
7015 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7016 with dirtrack-mode.
7017
651e947e
EZ
70182012-01-01 Eli Zaretskii <eliz@gnu.org>
7019
1d00653d
SM
7020 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7021 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7022 libgnutls-26.dll.
7023
94d4c7dc
AS
70242011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7025
7026 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7027
8d43f3cd
EZ
70282011-12-31 Eli Zaretskii <eliz@gnu.org>
7029
7030 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7031 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7032
98c8795a
MA
70332011-12-29 Michael Albinus <michael.albinus@gmx.de>
7034
7035 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7036 also for alternative shells.
7037 (tramp-open-connection-setup-interactive-shell): Check, whether
7038 the shell is a busybox.
7039 (tramp-send-command): Don't suppress multiple prompts for
7040 busyboxes, it hurts.
7041
51281b32
CY
70422011-12-28 Chong Yidong <cyd@gnu.org>
7043
7044 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7045 (gdb-get-source-file): Move mode line update to
7046 gdb-get-source-file (Bug#10087).
7047
2170cb53
CY
70482011-12-25 Chong Yidong <cyd@gnu.org>
7049
7050 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7051 gud-gdb-marker-filter without taking it as an argument.
7052 (gud-gdb-run-command-fetch-lines): Caller changed.
7053 (gud-gdb-completion-function): New variable.
7054 (gud-gdb-completion-at-point): Use it.
7055 (gud-gdb-completions-1): Split from gud-gdb-completions.
7056
7057 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7058 function as separate arguments.
7059 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7060 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7061 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7062 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7063 (gdb-stopped, def-gdb-auto-update-trigger)
7064 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7065 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7066 Callers changed.
2170cb53
CY
7067 (gud-gdbmi-completions): New function.
7068 (gdb): Use it for generating the completion table.
7069
be8b11bb
AM
70702011-12-24 Alan Mackenzie <acm@muc.de>
7071
7072 Introduce a mechanism to widen the region used in context font
1d00653d 7073 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7074
1d00653d
SM
7075 * progmodes/cc-langs.el (c-before-font-lock-functions):
7076 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7077 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7078 functions to be run just before context (etc.) font locking.
7079
7080 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7081 New, functionality extracted from
be8b11bb 7082 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7083 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7084 (c-after-change): Set c-in-after-change-fontification.
7085 (c-set-fl-decl-start): Rejig its interface, so it can be called
7086 from both after-change and context fontifying.
b81d40f0
JB
7087 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7088 New functions.
7089 (c-standard-font-lock-fontify-region-function): New variable.
7090 (c-font-lock-fontify-region): New function.
be8b11bb 7091
341cf6ac
JL
70922011-12-24 Juri Linkov <juri@jurta.org>
7093
7094 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7095 (Bug#10348)
7096
bffcee0a
MA
70972011-12-23 Michael Albinus <michael.albinus@gmx.de>
7098
7099 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7100 existence of source file. (Bug#10325)
7101
cb5e207c
AM
71022011-12-23 Alan Mackenzie <acm@muc.de>
7103
7104 Fix unstable fontification inside templates.
7105
b81d40f0
JB
7106 * progmodes/cc-langs.el (c-before-font-lock-functions):
7107 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7108 additionally has c-set-fl-decl-start. The other languages (apart
7109 from AWK) have that as a single entry.
7110
b81d40f0
JB
7111 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7112 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7113 c-set-fl-decl-start.
7114
b81d40f0
JB
7115 * progmodes/cc-mode.el (c-common-init, c-after-change):
7116 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7117 (c-set-fl-decl-start): New function, extracted from
7118 c-font-lock-enclosing-decls and enhanced.
7119
60ff536c
JB
71202011-12-23 Juanma Barranquero <lekktu@gmail.com>
7121
7122 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7123
1c4757d6
JL
71242011-12-22 Juri Linkov <juri@jurta.org>
7125
7126 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7127
d031f2c7
CY
71282011-12-22 Chong Yidong <cyd@gnu.org>
7129
7130 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7131
bace743a
DA
71322011-12-21 Drew Adams <drew.adams@oracle.com>
7133
7134 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7135
728a1f2b
JC
71362011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7137
7138 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7139
0d373f73
TZ
71402011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7141
fec0aaa4
TZ
7142 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7143 highlighting and support. Fix up comments for capitalization.
7144 (cfengine-mode-debug): New var.
7145 (cfengine3-mode): Change the modeline indicator to "CFE3".
7146 (cfengine3-font-lock-keywords): Improve defun highlighting.
7147 (cfengine2-actions): Rename from `cfengine-actions'.
7148 (cfengine2-font-lock-keywords): Rename from
7149 `cfengine-font-lock-keywords'.
7150 (cfengine2-imenu-expression): Rename from
7151 `cfengine-imenu-expression'.
7152 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7153 (cfengine2-beginning-of-defun): Rename from
7154 `cfengine-beginning-of-defun'.
7155 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7156 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7157 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7158 modeline indicator to "CFE2".
7159 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7160 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7161
bc86f573
CY
71622011-12-21 Chong Yidong <cyd@gnu.org>
7163
7164 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7165 filename argument.
7166
d45ba96b
MR
71672011-12-20 Martin Rudalics <rudalics@gmx.at>
7168
7169 * window.el (window-normalize-buffer-to-display): Remove.
7170 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7171
a6198c90
CY
71722011-12-19 Chong Yidong <cyd@gnu.org>
7173
7174 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7175 Don't signal an error in a predicate function; return non-nil.
7176 (vc-dir-mark-file): Move the error here.
7177 (vc-dir-mark-unmark): If acting on the region, keep going if one
7178 of the entries cannot be marked/unmarked.
7179 (vc-dir-mark-all-files): If current entry is a directory, mark
7180 only child files, as documented.
7181
34c5fb55
VB
71822011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7183
7184 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7185 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7186 addition.
7187
c803b2b7
JD
71882011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7189
7190 * term/ns-win.el (ns-get-selection-internal)
7191 (ns-store-selection-internal): Declare.
1154d12e
JB
7192 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7193 Declare as obsolete.
7194 (ns-get-pasteboard, ns-paste-secondary):
7195 Use ns-get-selection-internal.
7196 (ns-set-pasteboard, ns-copy-including-secondary):
7197 Use ns-store-selection-internal.
c803b2b7 7198
9cff91f8 71992011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7200
7201 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7202 (vc-deduce-fileset): Doc fix.
99a289d9 7203
f16c898a
AS
72042011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7207
763237c4
SS
72082011-12-13 Sam Steingold <sds@gnu.org>
7209
7210 * man.el (Man-getpage-in-background): When running under a
7211 window-system, ignore $MANWIDTH and $COLUMNS.
7212
5fc1c122
KH
72132011-12-15 Kenichi Handa <handa@m17n.org>
7214
7215 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7216 (setup-ethiopic-environment-internal): Comment out key-binding for
7217 ethio-toggle-punctuation.
7218
13d49cbb
AM
72192011-12-13 Alan Mackenzie <acm@muc.de>
7220
898169a2
AM
7221 Add the switch statement to AWK Mode.
7222
7a71b18d 7223 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7224 "default" to the keywords regexp.
7225
7a71b18d 7226 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7227 expression as the rest.
1d00653d
SM
7228 (c-nonlabel-token-key): Allow string literals for AWK.
7229 Refactor for the other modes.
898169a2 7230
13d49cbb 7231 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7232 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7233 routines. Limit backward searching in c-font-lock-enclosing.decl.
7234
7235 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7236 pp-state and literal type in addition to the limits.
1d00653d 7237 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7238 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7239 (c-slow-in-literal, c-fast-in-literal): Remove.
7240 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7241
7242 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7243 being in a literal. Add a limit for backward searching.
7244
7245 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7246 c-slow-in-literal.
7247
15e0efc7
SM
72482011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7251
454592a6
MR
72522011-12-13 Martin Rudalics <rudalics@gmx.at>
7253
7254 * window.el (delete-other-windows): Use correct frame in call to
7255 window-with-parameter.
7256
87393f26
DP
72572011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7258
7259 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7260 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7261 (makefile-gmake-statements, makefile-makepp-statements):
7262 Use it and add new makepp keywords.
7263 (makefile-makepp-font-lock-keywords): Add new patterns.
7264 (makefile-match-function-end): Match new [...] and [[...]].
7265
11636b22
JB
72662011-12-11 Juanma Barranquero <lekktu@gmail.com>
7267
7268 * ses.el (ses-call-printer-return, ses-cell-property-get)
7269 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7270 (ses-create-cell-variable, ses-reset-header-string)
7271 (ses-cell-set-formula, ses-repair-cell-reference-all)
7272 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7273 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7274 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7275 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7276 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7277 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7278 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7279 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7280 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7281 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7282 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7283 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7284
cf018193
VB
72852011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7286
7287 * ses.el: The overall change is to add cell renaming, that is
7288 setting fancy names for cell symbols other than name matching
7289 "\\`[A-Z]+[0-9]+\\'" regexp .
7290 (ses-create-cell-variable): New defun.
7291 (ses-relocate-formula): Relocate formulas only for cells the
7292 symbols of which are not renamed, i.e. symbols whose names do not
7293 match regexp "\\`[A-Z]+[0-9]+\\'".
7294 (ses-relocate-all): Relocate values only for cells the symbols of
7295 which are not renamed.
7296 (ses-load): Create cells variables as the (ses-cell ...) are read,
7297 in order to check row col consistency with cell symbol name only
7298 for cells that are not renamed.
7299 (ses-replace-name-in-formula): New defun.
7300 (ses-rename-cell): New defun.
7301
ee957461
CY
73022011-12-11 Chong Yidong <cyd@gnu.org>
7303
7304 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7305 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7306
9a9e9ef0
MR
73072011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7308
7309 * window.el (other-window): Fix docstring.
7310
92a8eba5
EZ
73112011-12-10 Eli Zaretskii <eliz@gnu.org>
7312
7313 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7314 `from' or `to' address before taking its substring.
7315 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7316 encoded name is chopped in the middle of the encoded string, and
7317 thus displayed encoded.
7318
e152e577
JB
73192011-12-10 Juanma Barranquero <lekktu@gmail.com>
7320
7321 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7322
e5d84bfe
EZ
73232011-12-10 Eli Zaretskii <eliz@gnu.org>
7324
7325 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7326 to use texinfo-update-node and commands that call it if the
7327 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7328 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7329 (texinfo-all-menus-update, texinfo-master-menu)
7330 (texinfo-update-node, texinfo-every-node-update)
7331 (texinfo-multiple-files-update): Doc fix. Warn against updating
7332 all the @node lines.
7333 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7334 argument is numeric. Explain better in the doc string what the
7335 function really does.
7336 (texinfo-insert-master-menu-list): Improve the error message
7337 displayed if there's no menu in the Top node.
7338 (Bug#2975) See also this thread:
e5d84bfe
EZ
7339 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7340
1d84e9bb
MG
73412011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7342
7343 * speedbar.el (speedbar-supported-extension-expressions):
7344 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7345
382c953b
JB
73462011-12-09 Juanma Barranquero <lekktu@gmail.com>
7347
7348 * printing.el (pr-mode-alist):
7349 * simple.el (filter-buffer-substring-functions)
7350 (completion-list-insert-choice-function):
7351 * window.el (window-with-parameter, window-atom-root)
7352 (window-sides-slots, window-size-fixed, window-min-delta)
7353 (window-max-delta, window--resize-mini-window)
7354 (window--resize-child-windows-normal, window-tree)
7355 (delete-other-windows, quit-window, split-window)
7356 (display-buffer-record-window, special-display-buffer-names)
7357 (special-display-regexps, special-display-popup-frame)
7358 (same-window-p, split-window-sensibly)
7359 (display-buffer-overriding-action, display-buffer-alist)
7360 (display-buffer-base-action, display-buffer, switch-to-buffer)
7361 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7362 (fit-window-to-buffer, recenter-positions)
7363 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7364 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7365 and remove unneeded backslashes in docstrings.
7366
39c9faef
SM
73672011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7368
98449af8
SM
7369 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7370
39c9faef
SM
7371 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7372 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7373 end in ".mk".
7374 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7375 when reading the makefile (bug#10116).
7376
86ed9fdc
SM
73772011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7380 (bug#10116).
7381
5580f89d
GM
73822011-12-06 Glenn Morris <rgm@gnu.org>
7383
7384 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7385
28d3917c
CY
73862011-12-06 Chong Yidong <cyd@gnu.org>
7387
7388 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7389
a98edce9
JB
73902011-12-06 Juanma Barranquero <lekktu@gmail.com>
7391
7392 * textmodes/table.el (table-shorten-cell): Fix typo.
7393
e65adfac
CG
73942011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7395
7396 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7397
71cc0b74
EZ
73982011-12-05 Eli Zaretskii <eliz@gnu.org>
7399
7400 * descr-text.el (describe-char): Fix display of strong
7401 right-to-left characters and directional embeddings and overrides.
7402
7403 * simple.el (what-cursor-position): Fix display of codepoints of
7404 strong right-to-left characters.
7405
315bc30d
CY
74062011-12-05 Chong Yidong <cyd@gnu.org>
7407
7408 * faces.el (read-color): Doc fix.
7409
58a70b94
GM
74102011-12-05 Glenn Morris <rgm@gnu.org>
7411
7412 * align.el (align--set-marker): Add doc-string.
7413 Don't try to move something that is not a marker. (Bug#10216)
7414
5158face
GM
74152011-12-04 Glenn Morris <rgm@gnu.org>
7416
7417 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7418 overly zealous deletion of trailing whitespace.
7419
520fca41
JB
74202011-12-04 Juanma Barranquero <lekktu@gmail.com>
7421
7422 * server.el (server-delete-client): On Windows, do not try to delete
7423 the only terminal.
7424 (server-process-filter): On Windows, treat requests for a tty frame as
7425 if they were for a GUI frame if the running server is in GUI mode.
7426
5e605a2e
GM
74272011-12-03 Glenn Morris <rgm@gnu.org>
7428
7429 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7430
5c3fe83f
SM
74312011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7432
6f5e57e7
SM
7433 * electric.el: Streamline electric-indent's hook.
7434 (electric-indent-chars): Revert to simple list.
7435 (electric-indent-functions): New var.
7436 (electric-indent-post-self-insert-function): Use it.
7437
5c3fe83f
SM
7438 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7439 there's no inferior buffer (bug#10196).
7440 (prolog-consult-compile): Don't use toggle-read-only.
7441
6bdac736
MA
74422011-12-02 Michael Albinus <michael.albinus@gmx.de>
7443
7444 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7445 interrupt. (Bug#10187)
7446
6131ba7f
SM
74472011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7448
99c79fee
SM
7449 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7450 (bug#9160).
7451
6131ba7f
SM
7452 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7453 (bug#10191).
7454
cb0a02ea
JL
74552011-12-02 Juri Linkov <juri@jurta.org>
7456
7457 * info.el (Info-search): Display "end of manual" when Isearch
7458 reaches the end of single-file Info manual. (Bug#9918)
7459
66e0570c
EZ
74602011-12-02 Eli Zaretskii <eliz@gnu.org>
7461
7462 * isearch.el (isearch-message-prefix): Run the input method part
7463 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7464
02b16839
JL
74652011-12-02 Juri Linkov <juri@jurta.org>
7466
7467 * isearch.el (isearch-occur): Use `word-search-regexp' for
7468 `isearch-word'.
7469 (isearch-search-and-update): Add condition for `isearch-word' and
7470 call `word-search-regexp'. (Bug#10145)
7471
0b950688
GM
74722011-12-01 Glenn Morris <rgm@gnu.org>
7473
7474 * eshell/em-hist.el (eshell-hist-initialize):
7475 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7476 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7477
9505c3c7
SM
74782011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7479
7480 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7481
1bbe96b2 74822011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7483
a1beca85
SM
7484 * progmodes/verilog-mode.el (verilog-pretty-expr):
7485 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7486 verilog, such as += *= and the like.
7487 (verilog-assignment-operator-re): Regular expression to find the
7488 assigment operator in a verilog assignment.
7489 (verilog-assignment-operation-re): Regular expression to find an
7490 assignment statement for pretty-expr.
7491 (verilog-in-attribute-p): Query returns true if point is in an
7492 attribute context; used to skip these for expression line up from
7493 pretty-expr.
7494 (verilog-in-parameter-p): Query returns true if point is in an
7495 parameter definition context; used to skip these for expression
7496 line up from pretty-expr.
7497 (verilog-in-parenthesis-p): Query returns true if point is in a
7498 parenthetical expression, specifically ( ) but not [ ] or { };
7499 used by pretty-expr.
7500 (verilog-just-one-space): If there is no space, don't add one.
7501 (verilog-get-lineup-indent-2): Specifically skip just attribute
7502 contexts for expression lineup, rather than skipping all
7503 parenthetical expressions.
7504 (verilog-calculate-indent): Fix comment, and fix indent.
7505 (verilog-do-indent): Indent declarations in lists (suggested by
7506 Joachim Lechner).
7507 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7508 skeleton items.
7509 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7510 by Alain Mellan).
7511
1bbe96b2 75122011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7513
7514 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7515 parameters with embedded comments. Reported by Ray Stevens.
7516 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7517 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7518 Reported by Tim Holt.
7519 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7520 instantiated by upper module causing wrong expansion until AUTOed a
7521 second time. Reported by K C Buckenmaier.
7522 (verilog-diff-auto): Fix showing .* as a difference when
7523 `verilog-auto-star-save' off. Reported by Dan Dever.
7524 (verilog-auto-reset, verilog-read-always-signals)
7525 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7526 temporary signals in reset list if
7527 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7528 style to each signal's assignment type, bug381.
7529 Reported by Thomas Esposito.
6288f0ca
WS
7530 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7531 (verilog-uvm-statement-re): Support UVM indentation and
7532 highlighting, with old OVM keywords only.
a1beca85 7533 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7534 Support AUTOTIEOFF creating non-wire data types.
7535 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7536 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7537 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7538 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7539 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7540 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7541 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7542 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7543 non-numeric vector width. Reported by Alex Reed.
7544 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7545 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7546 (verilog-auto-delete-trailing-whitespace):
7547 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7548 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7549 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7550 Fix verilog-scan-cache corruption when running user AUTO expansion
7551 hooks that call indentation routines.
7552 (verilog-simplify-range-expression): Fix typo ignoring lower case
7553 identifiers.
7554 (verilog-delete-auto): Fix delete-autos to also remove user created
7555 automatics, as long as they start with AUTO.
7556 (verilog-batch-diff-auto, verilog-diff-auto)
7557 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7558 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7559 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7560 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7561 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7562 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7563 is disabled and its cache will get corrupt, causing AUTOS not to
7564 expand. Instead use only -quick functions.
7565 (verilog-scan-region): Fix scanning over escaped quotes.
7566 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7567 (verilog-re-search-backward-quick)
7568 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7569 related functions now ignore strings, to fix misparsing of strings
7570 with magic comments embedded in them.
a1beca85
SM
7571 (verilog-read-auto-template):
7572 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7573 Reported by Brad Dobbie.
7574 (verilog-read-auto-template):
7575 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7576 Reported by Brad Dobbie.
6288f0ca
WS
7577 (verilog-auto-inst, verilog-auto-inst-param)
7578 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7579 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7580 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7581 debugging templates without merge conflicts, bug357.
7582 Reported by Brad Dobbie.
7583 (verilog-read-auto-template):
7584 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7585 Reported by Brad Dobbie.
7586 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7587 abbrevs so user won't be asked to save.
7588 (verilog-read-auto-lisp-present): Fix to start at beginning of
7589 buffer in case called outside of verilog-auto.
7590 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7591 to "X-2". Reported by Matthew Myers.
7592 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7593 all inputs from module templates. Reported by Leith Johnson.
7594 (verilog-module-inside-filename-p): Fix locating programs as with
7595 modules.
7596 (verilog-auto-inst-port): Fix vl-width expressions when using
7597 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7598 (verilog-decls-get-regs, verilog-decls-get-signals,
7599 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7600 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7601 verilog-read-decls): Combine reg and wire structures into one var
7602 structure to represent SystemVerilog concepts.
7603 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7604 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7605 (verilog-auto-wire-type, verilog-insert-definition):
7606 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7607 SystemVerilog "logic" keyword instead of "wire"/"reg".
7608 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7609 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7610 ifdef or generate if so there's not a driver conflict).
7611 Reported by Matthew Myers.
7612 (verilog-auto-declare-nettype, verilog-insert-definition):
7613 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7614 `default_nettype none. Reported by Julian Gorfajn.
7615 (verilog-read-always-signals-recurse, verilog-read-decls)
7616 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7617 malformed end statement, bug325. Reported by Joshua Wise and
7618 Andrew Drake.
7619 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7620 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7621 when expanding .* in interfaces, bug320.
7622 Reported by Pierre-David Pfister.
6288f0ca 7623 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7624 name and open parenthesis, bug317.
7625 Reported by Pierre-David Pfister.
6288f0ca
WS
7626 (verilog-simplify-range-expression): Fix simplification of
7627 multiplications inside AUTOWIRE connections, bug303.
7628 (verilog-auto-inst-port): Support parameter expansion in
7629 multidimensional arrays.
7630 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7631 after "assert property". Reported by Julian Gorfajn.
7632 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7633 with multiplication, bug303.
7634 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7635 Reported by Jan Frode Lonnum.
7636
1bbe96b2
GM
76372011-11-30 Juanma Barranquero <lekktu@gmail.com>
7638
7639 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7640 (hfy-shell-file-name, hfy-shell):
7641 * international/fontset.el (x-decompose-font-name): Fix typos.
7642
76432011-11-29 Ken Brown <kbrown@cornell.edu>
7644
7645 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7646 (gdb-version): Remove defvar.
7647 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7648 (gdb-gud-context-command, gdb-non-stop-handler)
7649 (gdb-current-context-command, gdb-stopped): Use it.
7650 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7651 (gdb-non-stop-handler): Don't enable pretty-printing here.
7652 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7653 non-stop mode. Use the following.
7654 (gdb-check-target-async): New defun.
7655 (gud-watch, gdb-stopped): Fix whitespace.
7656 (gdb-get-source-file): Don't try to display the source file if
7657 `gdb-main-file' is nil.
7658
76592011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * align.el: Try to generate fewer markers (bug#10047).
7662 (align--set-marker): New macro.
7663 (align-region): Use it.
7664
c935221f
SM
76652011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7668
e70b5064
CY
76692011-11-29 Chong Yidong <cyd@gnu.org>
7670
7671 * indent.el (indent-for-tab-command, indent-according-to-mode):
7672 Doc fix.
7673 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7674
f3af92b7
MA
76752011-11-29 Michael Albinus <michael.albinus@gmx.de>
7676
7677 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7678 aware of remote file names. (Bug#10124)
7679
ed472be9
CY
76802011-11-29 Chong Yidong <cyd@gnu.org>
7681
7682 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7683
24510c22
SM
76842011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * files.el (find-file): Don't use force-same-window (bug#10144).
7687 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7688 use pop-to-buffer if the selected window can't be used.
7689 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7690
c60c3703
EZ
76912011-11-28 Eli Zaretskii <eliz@gnu.org>
7692
7693 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7694 special-mode-map.
7695
e95def75
CY
76962011-11-28 Chong Yidong <cyd@gnu.org>
7697
7698 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7699
c3f1c606
NR
77002011-11-27 Nick Roberts <nickrob@snap.net.nz>
7701
7702 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7703 gdb-get-source-file-list on gdb-create-source-file-list.
7704
00db469c
EZ
77052011-11-26 Eli Zaretskii <eliz@gnu.org>
7706
7707 * whitespace.el (whitespace-newline): Use a different foreground
7708 color for 16-color light-background displays.
7709
4ad3bc2a
CY
77102011-11-24 Chong Yidong <cyd@gnu.org>
7711
7712 * window.el (display-buffer--special-action): Doc fix.
7713
e9fce1ac
JB
77142011-11-25 Juanma Barranquero <lekktu@gmail.com>
7715
7716 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7717 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7718 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7719 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7720 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7721 (avl-tree-stack-first):
7722 * emacs-lisp/cconv.el (cconv--analyse-use):
7723 * net/gnutls.el (gnutls-negotiate): Fix typos.
7724
cb825e5d
GM
77252011-11-24 Glenn Morris <rgm@gnu.org>
7726
3adbe224
GM
7727 * lpr.el (lpr-windows-system, lpr-lp-system):
7728 * mail/binhex.el (binhex-begin-line):
7729 * progmodes/grep.el (grep-history, grep-find-history):
7730 * textmodes/flyspell.el:
7731 * vc/pcvs-defs.el (cvs-global-menu):
7732 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7733 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7734 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7735
321decc8
GM
7736 * net/tls.el: Fix case of "GnuTLS".
7737
420b63ad
GM
7738 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7739
cb825e5d
GM
7740 * version.el (emacs-build-system): Give it a doc-string.
7741
a0649f08
JL
77422011-11-24 Juri Linkov <juri@jurta.org>
7743
7744 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7745
c0bc0fd4
GM
77462011-11-24 Glenn Morris <rgm@gnu.org>
7747
7748 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7749 if called on a non-mime message just toggle the headers. (Bug#8006)
7750
20db1522
JB
77512011-11-24 Juanma Barranquero <lekktu@gmail.com>
7752
7753 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7754 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7755 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7756 (allout-rebullet-heading, allout-open-sibtopic)
7757 (allout-toggle-current-subtree-encryption)
7758 (allout-toggle-subtree-encryption, allout-encrypt-string)
7759 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7760 (allout-distinctive-bullets-string, allout-auto-activation):
7761 * window.el (window-normalize-buffer-to-display):
7762 * progmodes/verilog-mode.el (verilog-batch-indent):
7763 * textmodes/bibtex.el (bibtex-field-braces-opt)
7764 (bibtex-field-strings-opt):
7765 * vc/cvs-status.el (cvs-tree-merge):
7766 Fix typos.
7767
7262a87c
MA
77682011-11-23 Michael Albinus <michael.albinus@gmx.de>
7769
7770 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7771 `non-essential' to t, in order to avoid remote connections.
7772
283430a1
EZ
77732011-11-23 Eli Zaretskii <eliz@gnu.org>
7774
a1beca85
SM
7775 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7776 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7777 case-insensitively.
7778
d2992a38
ML
77792011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7780
7781 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7782
50419064
GM
77832011-11-23 Glenn Morris <rgm@gnu.org>
7784
da94eca1
GM
7785 * paths.el (rmail-file-name): Reformat the doc-string so that it
7786 is picked up.
7787
9aac4de2
GM
7788 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7789 (rmail-auto-file): Ignore case in the "special" field names,
7790 as mail-fetch-field does for all others.
7791
8038d2d2
GM
7792 * mail/rmail.el (rmail-forward):
7793 * mail/rmailkwd.el (rmail-set-label):
7794 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7795 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7796
f3fe222a
GM
7797 * mail/rmail.el (rmail-current-message): Doc fix.
7798
50419064
GM
7799 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7800
28109f49
SM
78012011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7804
394c65f1
GM
78052011-11-22 Glenn Morris <rgm@gnu.org>
7806
7807 * mail/rmailmm.el (test-rmail-mime-handler)
7808 (test-rmail-mime-bulk-handler)
7809 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7810
f2a0aa3a
JL
78112011-11-21 Juri Linkov <juri@jurta.org>
7812
1154d12e
JB
7813 * calc/calc.el (calc-read-key-sequence):
7814 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7815
9c34a344
LMI
78162011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7817
7818 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7819 Tell the caller that the next line needs recomputation, even
7820 though it doesn't start a sexp (bug#10094).
7821
f04a3be9
SM
78222011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7825
7978747f
SM
78262011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7827
f04a3be9
SM
7828 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7829 Use force-same-window.
7978747f 7830
fe7a3057
JB
78312011-11-20 Juanma Barranquero <lekktu@gmail.com>
7832
7833 * descr-text.el (describe-char-unicode-data):
7834 * json.el (json-string-escape):
7835 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7836 (Footnote-unicode, Footnote-style-p):
7837 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7838
24901d61
CY
78392011-11-20 Chong Yidong <cyd@gnu.org>
7840
7841 * window.el (replace-buffer-in-windows): Restore interactive spec.
7842
bac7ff22
SM
78432011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7844
24f3d7b9
SM
7845 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7846
bac7ff22
SM
7847 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7848 (byte-compile-global-not-obsolete-vars): New var.
7849 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7850 Use it.
7851 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7852
cd1181db
JB
78532011-11-20 Juanma Barranquero <lekktu@gmail.com>
7854
7855 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7856 * progmodes/pascal.el (electric-pascal-equal):
7857 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7858 * xml.el (xml-substitute-special): Fix typos.
7859
7fb18e9e
GM
78602011-11-20 Glenn Morris <rgm@gnu.org>
7861
7862 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7863 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7864 Doc fixes.
7865 (rmail-decode-mime-charset): Mark as obsolete.
7866
7867 * mail/rmailsum.el (rmail-message-regexp-p-1):
7868 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7869 Before using mime functions, check they are set. (Bug#10077)
7870
d5a6b3ba
JL
78712011-11-19 Juri Linkov <juri@jurta.org>
7872
7873 * info.el (Info-finder-find-node): Use `package--builtins' instead
7874 of `package-alist'. Use node names formed by the pattern "Keyword "
7875 and the keyword name.
7876
e981b61f
AS
78772011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7878
1d00653d 7879 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7880
3ffbc301
JL
78812011-11-19 Juri Linkov <juri@jurta.org>
7882
7883 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7884 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7885 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7886 `old-history', `old-history-forward'. Add let-binding
7887 `window-selected'. Remove calls to `kill-buffer',
7888 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7889 before calling `Info-find-node', so `Info-find-node-2' will reread
7890 the Info file. Restore window positions only when `window-selected'
7891 is non-nil.
7892
30c62133
JL
78932011-11-19 Juri Linkov <juri@jurta.org>
7894
7895 * isearch.el (isearch-lazy-highlight-new-loop):
7896 Remove condition `(not isearch-error)'. (Bug#9918)
7897
7898 * misearch.el (multi-isearch-search-fun): Add condition
7899 `(not bound)' to ignore lazy-highlighting search.
7900 Add the search-failed message "end of multi" when the end of
7901 multi-sequence is reached. Uncapitalize the search-failed
7902 message "Repeat for next buffer".
7903
7904 * info.el (Info-search): Add the search-failed message
7905 "end of the manual" when the end of the manual is reached
7906 in Isearch mode.
7907
645ca9cf
JL
79082011-11-19 Juri Linkov <juri@jurta.org>
7909
7910 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7911 Use non-destructive `remove' instead of `delete' because
7912 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7913 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7914
df754f66
JL
79152011-11-19 Juri Linkov <juri@jurta.org>
7916
7917 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7918 to nil instead of binding `search-ring' and `regexp-search-ring'.
7919 (Bug#9185)
7920
0e23d96a
EZ
79212011-11-19 Eli Zaretskii <eliz@gnu.org>
7922
7923 * simple.el (line-move): Force movement by logical lines for any
7924 hscrolled window, not only when auto-hscroll-mode is on.
7925 (line-move-visual): Update doc string to that effect. (Bug#10076)
7926
8a6ccb66
AS
79272011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7928
7929 * language/european.el (macintosh): Define as alias for mac-roman.
7930
49ae5b39
EZ
79312011-11-19 Eli Zaretskii <eliz@gnu.org>
7932
7933 * mail/rmailmm.el (rmail-mime-display-header)
7934 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7935 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7936 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7937 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7938 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7939 of a raw aref.
7940 (rmail-mime-entity-segment): To get past the tagline, move forward
7941 2 more lines, to account for the 2 empty lines that precede and
7942 follow the line with the buttons.
7943 (rmail-mime-update-tagline): Move one more line, to get past the
7944 empty line that follows the buttons in the tagline. (Bug#9520)
7945
c56cad4a
MR
79462011-11-19 Martin Rudalics <rudalics@gmx.at>
7947
7948 * window.el (window-max-delta-1, window-min-delta-1)
7949 (window-min-size-1, window-state-get-1, window-state-put-1)
7950 (window-state-put-2): Use "window--" prefix.
7951
cbe71af3
SM
79522011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7953
2ad52c60
SM
7954 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7955 (smie-warning-count): New var.
7956 (smie-set-prec2tab): Use it.
7957 (smie-bnf->prec2): Improve warnings. Add docstring.
7958 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7959 (smie-bnf--set-class): New function.
7960 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7961 corner case.
7962
6944dbc1
SM
7963 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7964 (compilation-error-properties, compilation-move-to-column):
7965 Handle compilation-first-column while in the target buffer.
7966
c400c4d7
SM
7967 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7968 Don't hardcode point-min==1.
7969
6dbe3e96
SM
7970 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7971 (eshell-rewrite-for-command): Remove workaround.
7972 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7973 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7974 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7975
cbe71af3
SM
7976 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7977
a8e1496d
GM
79782011-11-17 Glenn Morris <rgm@gnu.org>
7979
7980 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7981 Ignore buffer-local generated-autoload-file if it is the same
7982 as the global value. (Bug#10049)
7983
df85d315
JB
79842011-11-17 Juanma Barranquero <lekktu@gmail.com>
7985
7986 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7987 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7988 (reftex-toc-previous-heading, reftex-toc-max-level)
7989 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7990 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7991 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7992 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7993 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7994 (reftex-toc-rename-label, reftex-toc-visit-location)
7995 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7996 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7997 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7998 leaving "*toc*" only for references to the buffer.
7999
a0c2d0ae
MR
80002011-11-17 Martin Rudalics <rudalics@gmx.at>
8001
8002 * window.el (window-resize, delete-window, split-window):
8003 Replace window-splits by window-combination-resize.
1d00653d 8004 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8005
35c0bac8
GM
80062011-11-17 Glenn Morris <rgm@gnu.org>
8007
8008 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8009 Make bash entry derive from sh entry, not shell entry.
8010
d0c8fc8a
MA
80112011-11-16 Michael Albinus <michael.albinus@gmx.de>
8012
7262a87c
MA
8013 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8014 local file name.
8015
7877f373
JB
80162011-11-16 Juanma Barranquero <lekktu@gmail.com>
8017
8018 * menu-bar.el (menu-bar-file-menu):
8019 * printing.el (pr-ps-utility):
8020 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8021 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8022 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8023 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8024 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8025 (icalendar--convert-cyclic-to-ical)
8026 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8027 (icalendar--convert-ical-to-diary)
8028 (icalendar--convert-recurring-to-diary)
8029 (icalendar--convert-non-recurring-all-day-to-diary)
8030 (icalendar-import-format-sample):
8031 * progmodes/idlw-shell.el (idlwave-shell-mode):
8032 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8033 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8034 (vhdl-ps-print-init): Fix typos.
8035
10649b82
KM
80362011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8037
9d0cfcd6
GM
8038 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8039 FSF and collapse date sequence, obscure author/maintainer email address
8040 better, remove extra version line, track relocation of author's webpage.
10649b82 8041
9d0cfcd6
GM
8042 * progmodes/python.el (python-pdbtrack-input-prompt)
8043 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8044 regular python pdb prompts. Adjustments shamelessly taken exactly as
8045 suggested in EmacsWiki page (tiny change):
8046 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8047
58179cce
JB
80482011-11-16 Juanma Barranquero <lekktu@gmail.com>
8049
8050 * expand.el (expand-pos, expand-index, expand-point):
8051 Remove redundant info from docstring.
8052 (expand-add-abbrevs): Doc fix.
8053 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8054 (expand-sample-perl-mode-expand-list): Fix typos.
8055
8056 * net/dbus.el (dbus-event-member-name):
8057 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8058 * term/pc-win.el (msdos-create-frame-with-faces):
8059 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8060
b6f67890
MR
80612011-11-16 Martin Rudalics <rudalics@gmx.at>
8062
8063 * window.el (split-window, window-state-get-1)
8064 (window-state-put-1, window-state-put-2): Rename occurrences of
8065 window-nest to window-combination-limit.
1d00653d 8066 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8067
ce7ddba0
CY
80682011-11-16 Chong Yidong <cyd@gnu.org>
8069
8070 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8071 regexp (Bug#10033).
8072
3ae704f4
SM
80732011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8076 `completing-read' will remove *Completions* and will preserve
8077 current-buffer for us.
8078 (tmm-add-prompt): Users of *Completions* will always (re)set its
8079 major mode.
8080 (tmm-old-comp-map): Remove.
8081
6ad1cdde
GM
80822011-11-16 Glenn Morris <rgm@gnu.org>
8083
8084 * mail/rmailedit.el: Require rmailmm when compiling.
8085 (rmail-old-mime-state): New declaration.
8086 (rmail-edit-current-message): If editing a mime message,
8087 edit the "raw" message from the mbox buffer.
8088 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8089
d20faa20
GM
80902011-11-15 Glenn Morris <rgm@gnu.org>
8091
8092 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8093 which wasn't being used. Add optional arg to force given state.
8094 (rmail-mime): Add optional arg to force given state.
8095
c7015153
JB
80962011-11-15 Juanma Barranquero <lekktu@gmail.com>
8097
8098 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8099 * frame.el (display-mm-dimensions-alist):
8100 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8101 (outline-move-subtree-down):
8102 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8103 (newsticker--treeview-do-get-node):
8104 * net/quickurl.el (quickurl-list-buffer-name):
8105 * progmodes/dcl-mode.el (dcl-mode):
8106 * progmodes/gdb-mi.el (gdb-mapcar*):
8107 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8108
45261b50
GM
81092011-11-15 Glenn Morris <rgm@gnu.org>
8110
8111 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8112 in a boolean sense, so just make it a boolean, and fix the doc.
8113 (rmail-show-mime-function, rmail-mime-feature)
8114 (rmail-require-mime-maybe): Doc fixes.
8115 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8116
8117 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8118
0d26e0b6
JB
81192011-11-15 Juanma Barranquero <lekktu@gmail.com>
8120
8121 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8122 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8123 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8124 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8125
447f30f6
GM
81262011-11-15 Glenn Morris <rgm@gnu.org>
8127
672b871d
GM
8128 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8129 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8130 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8131 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8132 (rmail-mime, rmail-show-mime): Doc fixes.
8133
f6aa5bb1
GM
8134 * term/ns-win.el (mode-line-frame-identification):
8135 Leave it alone. (Bug#10051)
8136
947cd66b
GM
8137 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8138
447f30f6
GM
8139 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8140 Handle empty buffers. (Bug#9978)
8141
0b381c7e
JB
81422011-11-14 Juanma Barranquero <lekktu@gmail.com>
8143
8144 * international/mule.el (define-charset):
8145 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8146 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8147 * progmodes/verilog-mode.el (verilog-backward-token):
8148 * textmodes/ispell.el (lookup-words):
8149 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8150
71e027ac
GM
81512011-11-14 Glenn Morris <rgm@gnu.org>
8152
56632ce4
GM
8153 * progmodes/executable.el
8154 (executable-make-buffer-file-executable-if-script-p):
8155 Handle file-modes returning nil.
8156
40500957
GM
8157 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8158 message - not necessary, and causes problems. (Bug#9831)
8159
071c2340
GM
8160 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8161
d3cfca60
GM
8162 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8163
71e027ac
GM
8164 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8165 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8166 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8167
89d61221
MR
81682011-11-12 Martin Rudalics <rudalics@gmx.at>
8169
8170 * window.el (window-resize, delete-window): Use window-splits
8171 variable instead of function.
8172 (window-state-get-1, window-state-put-2, window-state-put):
8173 Don't deal with windows' splits status.
8174
98282f6f
GM
81752011-11-12 Glenn Morris <rgm@gnu.org>
8176
8177 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8178 (apropos-documentation): Doc fixes.
8179
40a8bdf6
JB
81802011-11-11 Juanma Barranquero <lekktu@gmail.com>
8181
8182 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8183 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8184
65bd19ff
SM
81852011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * electric.el (electric-indent-post-self-insert-function): Make it
8188 possible for a char to only indent in some circumstances.
8189 (electric-indent-mode): Simplify.
8190
54f9154c
MR
81912011-11-11 Martin Rudalics <rudalics@gmx.at>
8192
8193 * window.el (windows-with-parameter): Remove unused function.
8194 (windows-at-side): Rename to window-at-side-list.
8195 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8196 (window-side-check, window-size-ignore, window-size-fixed-1)
8197 (window-in-direction-2): Prefix with "window--".
8198 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8199
68cbc58b
GM
82002011-11-11 Glenn Morris <rgm@gnu.org>
8201
8202 * subr.el (eval-after-load): If FILE is already loaded,
8203 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8204
b2621720
GM
82052011-11-10 Glenn Morris <rgm@gnu.org>
8206
9a4de110
GM
8207 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8208 Call svn via vc-svn-command rather than vc-do-command.
8209 (vc-svn-command): Add --non-interactive. (Bug#9993)
8210 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8211
b2621720
GM
8212 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8213 Add toggle-read-only. (Bug#7292)
8214 * files.el (toggle-read-only): Mention that it should only
8215 be used interactively. (Bug#10006)
8216
1dce7193
SM
82172011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8218
d9ac1a1e
SM
8219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8220 Adjust regexp for OCaml warnings.
8221
0c325082
SM
8222 * electric.el (electric-pair-post-self-insert-function): Let user
8223 turn it off buffer-locally (bug#9932).
8224
90132c14
SM
8225 * progmodes/python.el (python-beginning-of-statement):
8226 Rewrite (bug#2703).
8227
1dce7193
SM
8228 * progmodes/compile.el: Better handle TABs (bug#9749).
8229 (compilation-internal-error-properties)
8230 (compilation-next-error-function): Obey the target buffer's
8231 compilation-error-screen-columns.
8232
c4e7c63a
JB
82332011-11-09 Juanma Barranquero <lekktu@gmail.com>
8234
8235 * progmodes/meta-mode.el: Remove obsolete comments.
8236 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8237 Fix typos in docstrings.
8238
2cffd681
MR
82392011-11-09 Martin Rudalics <rudalics@gmx.at>
8240
8241 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8242 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8243 (window--resizable): New function. Make all callers of
8244 window-resizable call window--resizable instead.
8245 (window-resizable): Rewrite in terms of window--resizable.
8246
0edcba87
GM
82472011-11-08 Glenn Morris <rgm@gnu.org>
8248
8249 * progmodes/delphi.el (delphi-mode-syntax-table):
8250 Let define-derived-mode define a proper syntax table. (Bug#9994)
8251
4b0d61e3
SM
82522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8253
8254 * window.el: Stay away from defsubst.
8255 (window-list-no-nils): Remove.
8256 (window-state-get-1, window-state-get): Use backquote instead.
8257
cd394be1 82582011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8259
4b0d61e3 8260 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8261 Fix incorrect use of default argument in `completing-read'.
8262
e1c2c6f2
MR
82632011-11-08 Martin Rudalics <rudalics@gmx.at>
8264
8265 * window.el (display-buffer-function, special-display-function):
8266 Mention display-buffer-record-window but do not mention
8267 help-setup parameter in doc-strings.
b3f4a882 8268 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8269
105216ed
CY
82702011-11-08 Chong Yidong <cyd@gnu.org>
8271
8272 * window.el (window-total-height, window-total-width): Doc fix.
8273 (window-body-size): Move from C.
8274 (window-body-height, window-body-width): Move to C.
8275
0a9f9ab5
SM
82762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * window.el: Make special-display like display-buffer-alist (bug#9532).
8279 (display-buffer--special-action): New function, morphed
8280 from display-buffer--special.
8281 (display-buffer): Use it to handle special-display-buffers at higher
8282 priority (just after display-buffer-alist).
8283 (display-buffer-fallback-action, display-buffer--other-frame-action)
8284 (pop-to-buffer-same-window): Remove display-buffer--special.
8285
a769dd15
GM
82862011-11-07 Glenn Morris <rgm@gnu.org>
8287
8288 * calendar/cal-menu.el (cal-menu-set-date-title):
8289 Do nothing if not in a calendar. (Bug#9976)
8290
05a61ee3
SM
82912011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * files.el (find-file): Always use selected-window.
8294
be7f5545
MR
82952011-11-07 Martin Rudalics <rudalics@gmx.at>
8296
8297 * window.el (window-combinations): Make WINDOW argument
8298 mandatory. Rewrite doc-string.
8299 (walk-window-subtree, window-atom-check, window-min-delta)
8300 (window-max-delta, window--resize-this-window)
8301 (window--resize-root-window-vertically, window-tree)
8302 (balance-windows, window-state-put): Rewrite doc-strings as to
8303 not mention the term "subwindow".
8304 (window--resize-subwindows-skip-p): Rename to
8305 window--resize-child-windows-skip-p.
8306 (window--resize-subwindows-normal): Rename to
8307 window--resize-child-windows-normal.
8308 (window--resize-subwindows): Rename to
8309 window--resize-child-windows.
8310 (window-or-subwindow-p): Rename to window--in-subtree-p.
8311
3c6702ef
ML
83122011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8313
8314 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8315 Ensure that mbox format messages end in two newlines (Bug#9974).
8316
49745b39
CY
83172011-11-06 Chong Yidong <cyd@gnu.org>
8318
8319 * window.el (window-combination-p): Function deleted; its
8320 side-effect is not used in any existing code.
8321 (window-combinations, window-combined-p): Call window-*-child
8322 directly.
8323
24300f5f
CY
83242011-11-05 Chong Yidong <cyd@gnu.org>
8325
8326 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8327 (window-size-ignore, window-state-get): Callers changed.
8328 (window-normalize-window): Rename from window-normalize-any-window.
8329 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8330 (window-normalize-live-window): Delete.
447f16b8
CY
8331 (window-combination-p, window-combined-p, window-combinations)
8332 (walk-window-subtree, window-atom-root, window-min-size)
8333 (window-sizable, window-sizable-p, window-size-fixed-p)
8334 (window-min-delta, window-max-delta, window-resizable)
8335 (window-resizable-p, window-full-height-p, window-full-width-p)
8336 (window-current-scroll-bars, window-point-1, set-window-point-1)
8337 (window-at-side-p, window-in-direction, window-resize)
8338 (adjust-window-trailing-edge, maximize-window, minimize-window)
8339 (window-deletable-p, delete-window, delete-other-windows)
8340 (record-window-buffer, unrecord-window-buffer)
8341 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8342 (quit-window, split-window, window-state-put)
8343 (set-window-text-height, fit-window-to-buffer)
8344 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8345
89bd5ee1
EZ
83462011-11-04 Eli Zaretskii <eliz@gnu.org>
8347
53479029
EZ
8348 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8349 rfc2047-decode-string.
8350 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8351 warnings.
8352
89bd5ee1
EZ
8353 * window.el (window-body-height, window-body-width): Mention in
8354 the doc string that the return values are in frame's canonical
8355 units. (Bug#9949)
8356
bd17fdee
AM
83572011-11-03 Alan Mackenzie <acm@muc.de>
8358
8359 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8360 change in cc-engine.el.
8361
acc825c5
SM
83622011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8365
1885e5b8
MR
83662011-11-02 Martin Rudalics <rudalics@gmx.at>
8367
8368 * window.el (quit-window): Call unrecord-window-buffer after
8369 showing another buffer in the window. (Bug#9937)
acc825c5 8370 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8371
ebe06da9
JB
83722011-11-02 Juanma Barranquero <lekktu@gmail.com>
8373
8374 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8375 Accept status with more than 9 shelves. (Bug#9935)
8376 Reported by Colin D Bennett <colin@gibibit.com>.
8377
4ee88440
MR
83782011-11-01 Martin Rudalics <rudalics@gmx.at>
8379
8380 * help.el (with-help-window): Don't reference
8381 temp-buffer-show-specifiers in doc-string.
8382
08e1d82c
AS
83832011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8384
8385 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8386 menu-item.
8387
84bd6e9e
VJL
83882011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8389
8390 * whitespace.el: New version 13.2.2.
8391 (whitespace-newline-mode): Disable properly. Reported by Sarah
8392 <EmacsWiki>.
8393
dba0634a
UJ
83942011-10-30 Ulf Jasper <ulf.jasper@web.de>
8395
8396 * net/newst-treeview.el: Remove "Time-stamp".
8397 (newsticker--group-manage-orphan-feeds): Do not call
8398 newsticker--treeview-tree-update.
db22a3c2
JB
8399 (newsticker-treeview-update, newsticker-treeview):
8400 Call newsticker--treeview-tree-update if necessary.
dba0634a 8401
3d8daefe
MR
84022011-10-30 Martin Rudalics <rudalics@gmx.at>
8403
8404 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8405 (window-iso-combinations): Remove "iso-" infix.
8406 Suggested by Chong Yidong.
3d8daefe
MR
8407 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8408 (window-max-delta-1, window-resize, window--resize-siblings)
8409 (window--resize-this-window, adjust-window-trailing-edge)
8410 (split-window, balance-windows-1)
8411 (shrink-window-if-larger-than-buffer):
8412 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8413 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8414
1bc4c3ae
SM
84152011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8418 in place (bug#9907).
8419 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8420 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8421 (eshell-structure-basic-command, eshell-rewrite-while-command)
8422 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8423 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8424 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8425 (eshell-do-pipelines-synchronously, eshell-eval-command):
8426 Use backquotes and prefer setq to set.
8427 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8428 (eshell-macrop): Use functionp.
c1e2f5fa 8429 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8430
30b65d9c
CY
84312011-10-30 Chong Yidong <cyd@gnu.org>
8432
8433 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8434 instead of set-mark (Bug#9810).
8435
2d197ffb
CY
84362011-10-30 Chong Yidong <cyd@gnu.org>
8437
8438 * window.el (split-window-below, split-window-right): Rename from
8439 split-window-above-each-other and split-window-side-by-side
8440 respectively. All callers changed.
8441 (split-window-sensibly, split-window-sensibly): Use them.
8442 (split-window-keep-point): Doc fix.
8443
8444 * isearch.el: Add isearch-scroll property to split-window-below
8445 and split-window-right.
8446
8447 * follow.el (follow-mode):
8448 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8449 * progmodes/ada-xref.el (ada-gdb-application):
8450 * emulation/vip.el (vip-buffer-in-two-windows):
8451 * image-dired.el (image-dired-dired-with-window-configuration):
8452 * dired-x.el (dired-do-find-marked-files):
8453 * dired.el (dired-pop-to-buffer):
8454 * bs.el (bs--show-with-configuration):
8455 * vc/emerge.el (emerge-setup-windows):
8456 * textmodes/two-column.el (2C-two-columns):
8457 * textmodes/reftex-toc.el (reftex-toc):
8458 * progmodes/gdb-mi.el (gdb-setup-windows):
8459 * progmodes/fortran.el (fortran-window-create):
8460 * net/newst-treeview.el (newsticker--treeview-window-init):
8461 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8462 * emulation/tpu-edt.el (tpu-gold-map):
8463 * emulation/crisp.el (crisp-mode-map):
8464 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8465
38bb2ca8
CY
84662011-10-29 Chong Yidong <cyd@gnu.org>
8467
aa4de341
CY
8468 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8469
e1eb5385
CY
8470 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8471
5d2ece3c
CY
8472 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8473 forged Ispell output (Bug#7904).
8474
38bb2ca8
CY
8475 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8476
d0af9f77
SM
84772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8478
8479 * doc-view.el: Avoid ugly errors about not finding nil.
8480 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8481 (doc-view-dvipdf-program, doc-view-unoconv-program)
8482 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8483 Avoid nil or absolute file name as default value.
8484 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8485
52bedd34
AM
84862011-10-28 Alan Mackenzie <acm@muc.de>
8487
db22a3c2 8488 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8489
7e43cfa5
AM
84902011-10-28 Alan Mackenzie <acm@muc.de>
8491
8492 Amend the handling of c-beginning/end-of-defun in nested declaration
8493 scopes.
8494
52bedd34
AM
8495 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8496 cc-langs.el. Change it to a defcustom.
7e43cfa5 8497
52bedd34
AM
8498 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8499 cc-vars.el.
7e43cfa5 8500
d0af9f77
SM
8501 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8502 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8503
52bedd34 8504 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8505 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8506 (c-widen-to-enclosing-decl-scope): New function.
8507 (c-while-widening-to-decl-block): New macro.
8508 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8509 outward for defun boundaries, and correspondingly change symbol
8510 `respect-enclosure' to `go-outward'.
8511 (c-declaration-limits): Change algorithm to report only the "innermost"
8512 defun's boundaries.
8513
1a2ce9ee
DD
85142011-10-28 Deniz Dogan <deniz@dogan.se>
8515
8516 * net/rcirc.el (rcirc-mode): Use hard newlines.
8517
bc97a826
AM
85182011-10-28 Alan Mackenzie <acm@muc.de>
8519
8520 Amend to indent and fontify macros "which include their own semicolon"
8521 correctly, using the "virtual semicolon" mechanism.
8522
52bedd34 8523 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8524
d0af9f77 8525 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8526 Recode to scan one line at a time rather than having \n and \r
58179cce 8527 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8528 (c-forward-label): Amend for virtual semicolons.
58179cce 8529 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8530
52bedd34
AM
8531 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8532 of the new C macros.
bc97a826 8533
52bedd34 8534 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8535 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8536 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8537 (c-opt-cpp-macro-define): Make into a full language variable.
8538 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8539 AWK Mode (including \n, \r) removed, no longer needed.
8540
d0af9f77
SM
8541 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8542 Invoke c-make-macro-with-semi-re.
bc97a826 8543
52bedd34
AM
8544 * progmodes/cc-vars.el (c-macro-with-semi-re):
8545 (c-macro-names-with-semicolon): New variables.
58179cce 8546 (c-make-macro-with-semi-re): New function.
bc97a826 8547
7a6c0941
SM
85482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * vc/log-edit.el: Fill empty field rather than adding new one.
8551 (log-edit-add-field): New function.
8552 (log-edit-insert-changelog): Use it.
8553
b0c4cdcf
ML
85542011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8555
8556 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8557
ee1f1da9
SM
85582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8561 (gdb--check-interpreter): New function.
8562 (gdb): Use it.
8563
51bc5f8b
GM
85642011-10-27 Glenn Morris <rgm@gnu.org>
8565
416a2c45
GM
8566 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8567 (least-positive-float, least-negative-float)
8568 (least-positive-normalized-float, least-negative-normalized-float)
8569 (float-epsilon, float-negative-epsilon):
8570 Remove unnecessary declarations.
8571
8572 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8573 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8574 (least-positive-float, least-negative-float)
8575 (least-positive-normalized-float, least-negative-normalized-float)
8576 (float-epsilon, float-negative-epsilon): Add doc-strings,
8577 based on those in cl.texi.
8578
51bc5f8b
GM
8579 * files.el (set-visited-file-name): If the major-mode changed,
8580 reload the local variables. (Bug#9796)
8581
15de15c6
CY
85822011-10-27 Chong Yidong <cyd@gnu.org>
8583
8584 * subr.el (change-major-mode-after-body-hook): New hook.
8585 (run-mode-hooks): Run it.
8586
ee1f1da9
SM
8587 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8588 Use change-major-mode-before-body-hook.
15de15c6
CY
8589
8590 * simple.el (fundamental-mode):
8591 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8592 change introducing fundamental-mode-hook.
8593
5430d399
JB
85942011-10-26 Juanma Barranquero <lekktu@gmail.com>
8595
acc825c5 8596 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8597
ad74a69e
MA
85982011-10-26 Michael Albinus <michael.albinus@gmx.de>
8599
8600 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8601 tramp.el explicitly. (Bug#7583)
ad74a69e 8602
71d4c2a5
SM
86032011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * progmodes/octave-mod.el:
8606 * progmodes/octave-inf.el: Update maintainer.
8607
b1f6fa26
CY
86082011-10-26 Chong Yidong <cyd@gnu.org>
8609
8610 * subr.el (with-wrapper-hook): Rewrite doc.
8611
3f04efd6
MA
86122011-10-25 Michael Albinus <michael.albinus@gmx.de>
8613
8614 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8615 filenames "/method:foo:". (Bug#9793)
3f04efd6 8616
410488d3
SM
86172011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8620 (bug#9865).
8621
c1ebb47e
GM
86222011-10-24 Glenn Morris <rgm@gnu.org>
8623
8624 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8625
7f5c46c7
MA
86262011-10-24 Michael Albinus <michael.albinus@gmx.de>
8627
8628 * notifications.el: Add the requirement of a running D-Bus session
8629 bus to the Commentary.
8630
db2440b6
JL
86312011-10-24 Juri Linkov <juri@jurta.org>
8632
8633 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8634 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8635 (Bug#9364)
8636
feecf435
JL
86372011-10-24 Juri Linkov <juri@jurta.org>
8638
8639 * info.el (Info-following-node-name-re): Add newline to the list
8640 of allowed characters for leading space. (Bug#9824)
8641
a3839de2
SM
86422011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8643
acc825c5
SM
8644 * progmodes/octave-inf.el (inferior-octave-mode-map):
8645 Fix C-c C-h binding.
a3839de2
SM
8646 * progmodes/octave-mod.el (octave-help): Remove.
8647
09388e76
MA
86482011-10-23 Michael Albinus <michael.albinus@gmx.de>
8649
8650 Sync with Tramp 2.2.3.
8651
8652 * net/tramp-cache.el (top): Pacify byte-compiler using
8653 `init-file-user' and `site-run-file'.
8654
8655 * net/trampver.el: Update release number.
8656
86c60681
CY
86572011-10-23 Chong Yidong <cyd@gnu.org>
8658
8659 * files.el (toggle-read-only): Remove obsolete comment about
8660 version control.
8661
8662 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8663 for toggle-read-only. Note that this hasn't called vc-next-action
8664 since 2008-05-02, though it wasn't documented at the time.
8665
a3839de2
SM
8666 * vc/ediff-init.el (ediff-toggle-read-only-function):
8667 Use toggle-read-only.
86c60681 8668
cd5495ff
AM
86692011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8670
8671 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8672 of c-parse-state.
8673
00b77525 8674 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8675 correct faulty logical expression.
cd5495ff
AM
8676 (c-parse-state-state, c-record-parse-state-state):
8677 (c-replay-parse-state-state): New defvar/defuns.
8678 (c-debug-parse-state): Use new functions.
8679
42ee24ed
MR
86802011-10-22 Martin Rudalics <rudalics@gmx.at>
8681
8682 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8683 last fix. Use window-in-direction correctly.
42ee24ed 8684
a7dee7e7
CY
86852011-10-21 Chong Yidong <cyd@gnu.org>
8686
8687 * progmodes/idlwave.el (idlwave-mode):
8688 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8689 require-final-newline; that's done in prog-mode.
8690 Suggested by Stefan Monnier.
a7dee7e7 8691
e07b9a6d
MR
86922011-10-21 Martin Rudalics <rudalics@gmx.at>
8693
8694 * mouse.el (mouse-drag-window-above)
8695 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8696 (mouse-drag-mode-line-1, mouse-drag-header-line)
8697 (mouse-drag-vertical-line-rightward-window): Remove.
8698 (mouse-drag-line): New function.
8699 (mouse-drag-mode-line, mouse-drag-header-line)
8700 (mouse-drag-vertical-line): Call mouse-drag-line.
8701 * window.el (window-at-side-p, windows-at-side): New functions.
8702
7e1361d9
UM
87032011-10-21 Ulrich Mueller <ulm@gentoo.org>
8704
8705 * tar-mode.el (tar-grind-file-mode):
8706 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8707
30fcaf3a
CY
87082011-10-21 Chong Yidong <cyd@gnu.org>
8709
8710 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8711 * progmodes/vera-mode.el (vera-mode):
8712 Use mode-require-final-newline.
30fcaf3a 8713
516eddb0
GM
87142011-10-20 Glenn Morris <rgm@gnu.org>
8715
db22a3c2 8716 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8717
10d5f513
CS
87182011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8719
8720 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8721
ac6c8639
CY
87222011-10-20 Chong Yidong <cyd@gnu.org>
8723
8724 * emulation/cua-base.el (cua-mode):
8725 * mail/footnote.el (footnote-mode):
8726 * mail/mailabbrev.el (mail-abbrevs-mode):
8727 * net/xesam.el (xesam-minor-mode):
8728 * progmodes/bug-reference.el (bug-reference-mode):
8729 * progmodes/cap-words.el (capitalized-words-mode):
8730 * progmodes/compile.el (compilation-minor-mode)
8731 (compilation-shell-minor-mode):
8732 * progmodes/gud.el (gud-tooltip-mode):
8733 * progmodes/hideif.el (hide-ifdef-mode):
8734 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8735 * progmodes/subword.el (subword-mode):
8736 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8737 * progmodes/which-func.el (which-function-mode):
8738 * term/tvi970.el (tvi970-set-keypad-mode):
8739 * term/vt100.el (vt100-wide-mode):
8740 * textmodes/flyspell.el (flyspell-mode):
8741 * textmodes/ispell.el (ispell-minor-mode):
8742 * textmodes/nroff-mode.el (nroff-electric-mode):
8743 * textmodes/paragraphs.el (use-hard-newlines):
8744 * textmodes/refill.el (refill-mode):
8745 * textmodes/reftex.el (reftex-mode):
8746 * textmodes/rst.el (rst-minor-mode):
8747 * textmodes/sgml-mode.el (html-autoview-mode)
8748 (sgml-electric-tag-pair-mode):
8749 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8750 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8751 * emulation/crisp.el (crisp-mode):
8752 * emacs-lisp/eldoc.el (eldoc-mode):
8753 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8754 minor mode behavior.
8755
aa42ab43
JL
87562011-10-19 Juri Linkov <juri@jurta.org>
8757
8758 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8759 the list of hard-coded chars with escape-glyph face.
8760
89400f1d
SM
87612011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8764
305c07f6
MA
87652011-10-19 Michael Albinus <michael.albinus@gmx.de>
8766
8767 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8768 running process.
8769
13754b54
GM
87702011-10-19 Glenn Morris <rgm@gnu.org>
8771
8772 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8773 Ignore ignored files. (Bug#9726)
8774
06e21633
CY
87752011-10-19 Chong Yidong <cyd@gnu.org>
8776
8777 Doc fix for minor modes, stating that an omitted argument enables
8778 the mode unconditionally when called from Lisp.
8779
8780 * abbrev.el (abbrev-mode):
8781 * allout.el (allout-mode):
8782 * autoinsert.el (auto-insert-mode):
8783 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8784 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8785 (global-auto-revert-mode):
8786 * battery.el (display-battery-mode):
8787 * composite.el (global-auto-composition-mode)
8788 (auto-composition-mode):
8789 * delsel.el (delete-selection-mode):
8790 * desktop.el (desktop-save-mode):
8791 * dired-x.el (dired-omit-mode):
8792 * dirtrack.el (dirtrack-mode):
8793 * doc-view.el (doc-view-minor-mode):
8794 * double.el (double-mode):
8795 * electric.el (electric-indent-mode, electric-pair-mode):
8796 * emacs-lock.el (emacs-lock-mode):
8797 * epa-hook.el (auto-encryption-mode):
8798 * follow.el (follow-mode):
8799 * font-core.el (font-lock-mode):
8800 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8801 * help.el (temp-buffer-resize-mode):
8802 * hilit-chg.el (highlight-changes-mode)
8803 (highlight-changes-visible-mode):
8804 * hi-lock.el (hi-lock-mode):
8805 * hl-line.el (hl-line-mode, global-hl-line-mode):
8806 * icomplete.el (icomplete-mode):
8807 * ido.el (ido-everywhere):
8808 * image-file.el (auto-image-file-mode):
8809 * image-mode.el (image-minor-mode):
8810 * iswitchb.el (iswitchb-mode):
8811 * jka-cmpr-hook.el (auto-compression-mode):
8812 * linum.el (linum-mode):
8813 * longlines.el (longlines-mode):
8814 * master.el (master-mode):
8815 * mb-depth.el (minibuffer-depth-indicate-mode):
8816 * menu-bar.el (menu-bar-mode):
8817 * minibuf-eldef.el (minibuffer-electric-default-mode):
8818 * mouse-sel.el (mouse-sel-mode):
8819 * msb.el (msb-mode):
8820 * mwheel.el (mouse-wheel-mode):
8821 * outline.el (outline-minor-mode):
8822 * paren.el (show-paren-mode):
8823 * recentf.el (recentf-mode):
8824 * reveal.el (reveal-mode, global-reveal-mode):
8825 * rfn-eshadow.el (file-name-shadow-mode):
8826 * ruler-mode.el (ruler-mode):
8827 * savehist.el (savehist-mode):
8828 * scroll-all.el (scroll-all-mode):
8829 * scroll-bar.el (scroll-bar-mode):
8830 * server.el (server-mode):
8831 * shell.el (shell-dirtrack-mode):
8832 * simple.el (auto-fill-mode, transient-mark-mode)
8833 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8834 (line-number-mode, column-number-mode, size-indication-mode)
8835 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8836 * strokes.el (strokes-mode):
8837 * time.el (display-time-mode):
8838 * t-mouse.el (gpm-mouse-mode):
8839 * tool-bar.el (tool-bar-mode):
8840 * tooltip.el (tooltip-mode):
8841 * type-break.el (type-break-mode-line-message-mode)
8842 (type-break-query-mode):
8843 * view.el (view-mode):
8844 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8845 (global-whitespace-mode, global-whitespace-newline-mode):
8846 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8847
a3839de2
SM
8848 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8849 Fix autogenerated docstring.
06e21633 8850
5214e501
JL
88512011-10-19 Juri Linkov <juri@jurta.org>
8852
8853 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8854 by checking environment variables "DESKTOP_SESSION" and
8855 "XDG_CURRENT_DESKTOP". (Bug#9779)
8856
195f8db9
JL
88572011-10-19 Juri Linkov <juri@jurta.org>
8858
8859 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8860 (browse-url-chromium-program, browse-url-chromium-arguments):
8861 New defcustoms.
8862 (browse-url-default-browser): Check for `browse-url-chromium' and
8863 call `browse-url-chromium-program'.
8864 (browse-url-chromium): New command. (Bug#9779)
8865
343a34ff
JB
88662011-10-18 Juanma Barranquero <lekktu@gmail.com>
8867
8868 * facemenu.el (list-colors-duplicates): On Windows, detect more
8869 duplicates by assuming that only colors matching "^System" are
8870 special "system colors". (Bug#9722)
8871
6978a151
SM
88722011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8873
8874 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8875 to distinguish the author from the committer.
8876
6a80b297
MA
88772011-10-18 Michael Albinus <michael.albinus@gmx.de>
8878
8879 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8880
b31a5677
JK
88812011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8882
8883 * international/mule.el (sgml-html-meta-auto-coding-function):
8884 Add support for detecting encoding in HTML5 specified only as
8885 <meta charset="UTF-8">. Implementation just makes http-equiv and
8886 content-type parts from HTML4 encoding string optional. (Bug#9716)
8887
80c6d77f
GM
88882011-10-18 Glenn Morris <rgm@gnu.org>
8889
8890 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8891
08b0fee8
CY
88922011-10-18 Chong Yidong <cyd@gnu.org>
8893
8894 * faces.el (cursor): Doc fix.
8895
67e729a5
CY
88962011-10-17 Chong Yidong <cyd@gnu.org>
8897
8898 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8899
343a34ff 89002011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8901
8902 * dirtrack.el (dirtrack): Support shell buffers with path
8903 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8904
0bc06380
TZ
89052011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8906
8907 * json.el: Bump version to 1.3 and note change in History.
8908 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8909
8b79f3e0
SM
89102011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8911
5a7c536b
SM
8912 * comint.el (comint-insert-input, comint-send-input)
8913 (comint-get-old-input-default, comint-backward-matching-input)
8914 (comint-next-prompt): Use nil instead of `input' for field property of
8915 past user input (bug#114).
8916
96a8a0df
SM
8917 * minibuffer.el (completion--replace): Inherit surrounding properties
8918 (bug#114).
8919 (minibuffer-complete-and-exit): Use it.
8920
8b79f3e0
SM
8921 * comint.el (comint--table-subvert): Quote the all-completions output
8922 (bug#9160).
8923
b8f7ff0d
MR
89242011-10-17 Martin Rudalics <rudalics@gmx.at>
8925
8b79f3e0 8926 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8927
b8f7ff0d 8928 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8929 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8930 entries and separate them from frame entries.
8931
c235b555
GM
89322011-10-15 Glenn Morris <rgm@gnu.org>
8933
8934 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8935 Doc fixes.
8936
6bbfa6e1
CY
89372011-10-15 Chong Yidong <cyd@stupidchicken.com>
8938
8b79f3e0
SM
8939 * net/network-stream.el (network-stream-open-starttls):
8940 Improve detection of failure due to lack of TLS support.
ec5c990d 8941
6bbfa6e1
CY
8942 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8943 putting the input text in front and in bold.
8944
98488977
SM
89452011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8946
3d1337be
SM
8947 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8948
ee0b45e4
SM
8949 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8950 empty buffer.
8951
98488977
SM
8952 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8953 unread-command-events rather than pushing yet-another event.
8954
186f4720
EZ
89552011-10-14 Eli Zaretskii <eliz@gnu.org>
8956
8957 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8958 the explanation of the possible choices. Make the options passed
8959 to completing-read shorter.
8960
8b7a997c
AM
89612011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8962
8963 * textmodes/flyspell.el (flyspell-large-region): Make sure
8964 extended character mode is used if defined (Bug#1339).
8965
12587bbb
EZ
89662011-10-13 Eli Zaretskii <eliz@gnu.org>
8967
8968 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8969 character info for LRE, LRO, RLE, and RLO characters by appending
8970 an invisible PDF.
12587bbb 8971
bad41229
SM
89722011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8975 even in case of error; add debug spec; simplify data flow.
8976 (with-timeout-handler): Remove.
8977
28dbc92f
MA
89782011-10-12 Michael Albinus <michael.albinus@gmx.de>
8979
8980 Fix Bug#6019, Bug#9315.
8981
8982 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8983 complete `buffer-file-name', the local file name part could look
8984 remotely (for example on VMS).
8985
8986 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8987 `tramp-run-real-handler'.
8988 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8989 already quoted by '"'.
8990
8991 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8992 Let `file-name-handler-alist' be nil, the local file name part
8993 could look remotely (for example on VMS).
8994
e1b0b23a
SM
89952011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8998 from here...
8999 (flyspell-post-command-hook): ...to here.
9000
a120bde9
SM
90012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9004 if not needed.
9005 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9006 using completion. Protect against "slow" callers.
9007 Remove the "message hack".
9008
7ce7717b
JL
90092011-10-11 Juri Linkov <juri@jurta.org>
9010
9011 * isearch.el (isearch-lazy-highlight-word): New variable.
9012 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9013 Use it. (Bug#9727)
9014
c02ee9d6
GM
90152011-10-11 Glenn Morris <rgm@gnu.org>
9016
9017 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9018 like f90-previous-statement does.
9019
93e616fd 90202011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9021
1f190e73 9022 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9023 only in interactive use, to avoid error.
9024
af7b6078
SM
90252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * minibuffer.el (completion-file-name-table): Fix last change,
9028 i.e. ignore normal errors but not the other ones.
9029
0563dae9
MR
90302011-10-10 Martin Rudalics <rudalics@gmx.at>
9031
9032 * window.el (special-display-buffer-names)
9033 (special-display-regexps): Remove some remnants of earlier
9034 changes from doc-strings.
366ca7f3
MR
9035 (quit-windows-on): New function.
9036
9037 * vc/vc.el (vc-revert, vc-rollback):
9038 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9039 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9040 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9041
49677495
MR
90422011-10-09 Martin Rudalics <rudalics@gmx.at>
9043
9044 * window.el (frame-auto-hide-function): Add version tag.
9045 (Bug#9699)
9046
56f2d1e1
MA
90472011-10-09 Michael Albinus <michael.albinus@gmx.de>
9048
9049 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9050 condition.
9051
112a6592
LL
90522011-10-09 Leo Liu <sdl.web@gmail.com>
9053
9054 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9055 (Bug#9701)
9056
0812589b
GM
90572011-10-08 Glenn Morris <rgm@gnu.org>
9058
9059 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9060 before the first code statement zero indent. (Bug#9690)
9061
b2b0776e
CY
90622011-10-08 Chong Yidong <cyd@stupidchicken.com>
9063
9064 * simple.el (count-words-region): Always count in the region.
9065 Report the number of lines and characters too.
9066 (count-words): New command, which counts in the buffer if the
9067 region is inactive, as count-words-region used to.
9068 (count-words--message): New function. Handle plurals.
9069 (count-lines-region): Make it an alias for count-words-region.
9070
9071 * bindings.el (esc-map): Replace count-lines-region with
9072 count-words-region.
9073
c557cd6b
MR
90742011-10-08 Martin Rudalics <rudalics@gmx.at>
9075
9076 * window.el (window--delete): Delete dedicated frame
9077 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9078 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9079
61a57ef4 90802011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9081
3a7d293b 9082 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9083
c3833279
CY
90842011-10-07 Chong Yidong <cyd@stupidchicken.com>
9085
9086 * bindings.el ([M-left],[M-right]): Bind to left-word and
9087 right-word respectively.
9088
21ce8245
GM
90892011-10-07 Glenn Morris <rgm@gnu.org>
9090
9091 * cus-start.el (debug-on-quit): Fix custom type.
9092
6d823bb2
LMI
90932011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9094
0181e193
LMI
9095 * subr.el (define-key-after): Clarify that the function is not
9096 useful for non-menu keymaps.
9097
6d823bb2
LMI
9098 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9099
8e3459ce 91002011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9101
21ce8245 9102 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9103 in current minibuffer (Fix bug with recursive minibuffers).
9104
a1c2d21e
CY
91052011-10-06 Chong Yidong <cyd@stupidchicken.com>
9106
9107 * progmodes/gdb-mi.el (gdb): Doc fix.
9108
5a4cf282
MR
91092011-10-05 Martin Rudalics <rudalics@gmx.at>
9110
9111 * window.el (frame-auto-hide-function): New option replacing
9112 frame-auto-delete. Suggested by Stefan Monnier.
9113 (window--delete): Call frame-auto-hide-function instead of
9114 investigating frame-auto-delete.
c96111ea
MR
9115 (window-point-1, set-window-point-1): New functions.
9116 (window-in-direction, record-window-buffer, window-state-get-1)
9117 (display-buffer-record-window): Use window-point-1 instead of
9118 window-point.
9119 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9120
9854542e
SM
91212011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9124
8943cfb0
GM
91252011-10-05 Glenn Morris <rgm@gnu.org>
9126
9127 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9128 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9129
647ab967
LL
91302011-10-05 Leo Liu <sdl.web@gmail.com>
9131
9132 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9133 works with buffer object.
9134
3ddfbced
SM
91352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * mpc.el (mpc-tool-bar-map): Add labels.
9138
bdfa5dd2
GM
91392011-10-04 Glenn Morris <rgm@gnu.org>
9140
9141 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9142
0e2070b5
MR
91432011-10-04 Martin Rudalics <rudalics@gmx.at>
9144
9145 * window.el (window--delete): New function.
9146 (frame-auto-delete): Resuscitate option.
9147 (bury-buffer, replace-buffer-in-windows)
9148 (quit-window): Rewrite using window--delete.
9149 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9150 Pass display-buffer-mark-dedicated to window--display-buffer-2
9151 (Bug#9639).
9152
3dc61a09
SM
91532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9154
915a9b64
SM
9155 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9156 returns a list (bug#9554). Add remote file name completion.
9157 * comint.el (comint--table-subvert): Curry and get quote&unquote
9158 functions as arguments.
9159 (comint--complete-file-name-data): Adjust call accordingly.
9160 * pcomplete.el (pcomplete--table-subvert): Remove.
9161 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9162
3dc61a09
SM
9163 * minibuffer.el (completion-table-case-fold): Use currying.
9164 (completion--styles-type, completion--cycling-threshold-type):
9165 New constants.
9166 (completion-styles, completion-category-overrides)
9167 (completion-cycle-threshold): Use them.
9168 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9169 completion-table-case-fold.
9170
8ea0a993
SB
91712011-10-03 Stephen Berman <stephen.berman@gmx.net>
9172
9173 * minibuffer.el (completion-category-overrides): Fix type of styles
9174 and add more user friendly tags (bug#9660).
9175
8c24b7f6
SM
91762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9179 (mule-input-method-string): New widget.
9180 (default-input-method, language-info-custom-alist): Use it.
9181
428fe61a
SM
91822011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9183
32c1fffd
SM
9184 * pcomplete.el: Require comint.
9185 (pcomplete--common-suffix): Remove.
9186 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9187 (pcomplete--table-subvert): Sync with comint--table-subvert.
9188 (pcomplete--entries): Use comint-completion-file-name-table.
9189 * comint.el (comint-unquote-filename): Simplify.
9190 (comint-completion-file-name-table): New function (bug#9616).
9191 (comint--complete-file-name-data): Use it.
9192
428fe61a
SM
9193 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9194 (pcmpl-gnu-tar-buffer): Remove.
9195 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9196 around. Make sure pcomplete-suffix-list is only changed temporarily.
9197 Don't look inside the tar's file if it's too large.
428fe61a 9198
04c52e2f
CY
91992011-10-01 Chong Yidong <cyd@stupidchicken.com>
9200
ce3cefcc
CY
9201 * cus-edit.el (custom-mode-map):
9202 * epa.el (epa-key-list-mode-map):
9203 * man.el (Man-mode-map):
9204 * startup.el (splash-screen-keymap):
9205 * simple.el (special-mode-map): Use scroll-up-command and
9206 scroll-down-command.
9207
9208 * progmodes/idlw-help.el (idlwave-help-mode-map):
9209 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9210 * net/newst-plainview.el (newsticker-mode-map):
9211 * emulation/ws-mode.el (wordstar-mode-map):
9212 * emulation/vi.el (vi-com-map):
9213 * calc/calc-graph.el (calc-graph-show-dumb):
9214 * term/sun.el (terminal-init-sun):
9215 * term/ns-win.el (global-map):
9216 * progmodes/grep.el (grep-mode-map):
9217 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9218 * mail/rmail.el (rmail-mode-map):
9219 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9220
04c52e2f
CY
9221 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9222 custom-safe-themes as special.
9223
79adf8c8
JD
92242011-10-01 Julien Danjou <julien@danjou.info>
9225
9226 * notifications.el (notifications-notify): Fix docstring.
9227
63bd50d3
PS
92282011-10-01 Per Starbäck <per@starback.se>
9229
9230 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9231
199e4c7e
MR
92322011-09-30 Martin Rudalics <rudalics@gmx.at>
9233
9234 * startup.el (command-line-1): Fix last fix by inserting
9235 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9236 (Bug#9605) and (Bug#9636)
199e4c7e 9237
fe5f08dd
EZ
92382011-09-29 Eli Zaretskii <eliz@gnu.org>
9239
9240 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9241 window is hscrolled, move by logical lines. (Bug#9607)
9242 (line-move-visual): Update the doc string to the above effect.
9243
b5516bbd
MR
92442011-09-29 Martin Rudalics <rudalics@gmx.at>
9245
ccee00c0
MR
9246 * window.el (display-buffer-record-window): When WINDOW is the
9247 selected window use `point' instead of `window-point'. (Bug#9626)
9248
b5516bbd
MR
9249 * startup.el (command-line-1): Use insert-before-markers when
9250 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9251
b5516bbd
MR
9252 * help.el (help-window): Remove variable.
9253
52aa0014
GM
92542011-09-29 Glenn Morris <rgm@gnu.org>
9255
9256 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9257
df9a7357
JB
92582011-09-29 Juanma Barranquero <lekktu@gmail.com>
9259
9260 * descr-text.el (describe-char-categories): Accept category
9261 descriptions more than one line long.
9262
a8406c20
SM
92632011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9264
88d9610c
SM
9265 * simple.el (delete-trailing-whitespace): Fix last change.
9266
a5daf810
SM
9267 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9268 Don't confuse "y => 3" as the beginning of a `y' operation.
9269
a8406c20
SM
9270 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9271 object has more than 4 slots (bug#9613).
9272
a239d4e9
JB
92732011-09-28 Juanma Barranquero <lekktu@gmail.com>
9274
9275 * subr.el (with-output-to-temp-buffer):
9276 * net/quickurl.el (quickurl, quickurl-browse-url):
9277 Fix typos in docstrings.
9278
693fbdb6
EZ
92792011-09-27 Eli Zaretskii <eliz@gnu.org>
9280
9281 * minibuffer.el (completion-styles)
9282 (completion-category-overrides): Cross reference each other in doc
9283 strings.
9284
8b457e28
GM
92852011-09-27 Glenn Morris <rgm@gnu.org>
9286
9287 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9288 to split-string. (Bug#9606)
9289
85a16208
LMI
92902011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9291
9292 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9293 (bug#9615).
9294
502f9ebd
CY
92952011-09-27 Chong Yidong <cyd@stupidchicken.com>
9296
9297 * emacs-lisp/package.el (list-packages): Fix echo area message.
9298
7690bdea
LL
92992011-09-27 Leo Liu <sdl.web@gmail.com>
9300
9301 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9302
e2ee6f30
MA
93032011-09-25 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * net/dbus.el (dbus-unregister-object): Don't release services for
9306 registered signals. (Bug#9581)
9307
f3f98342
TZ
93082011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9309
9310 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9311 function that picks between cfengine 2 and 3 support
9312 automatically. Update docs accordingly.
9313
dd7aa8dd
KH
93142011-09-22 Kenichi Handa <handa@m17n.org>
9315
9316 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9317 ZERO.
9318 (indian-itrans-v5-table-for-tamil): New variable.
9319 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9320
3f2b07f8
KM
93212011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9322
9323 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9324 that's true if the current command involved collapsing of text.
9325 It's reset to false at the beginning of the next command.
9326 (allout-post-command-business): Move the cursor to the beginning
9327 of entry if the cursor is hidden and collapsing activity just
9328 happened.
9329
371d6a61
CY
93302011-09-24 Chong Yidong <cyd@stupidchicken.com>
9331
9332 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9333 tracking (Bug#9541).
9334
2ac2721a
UJ
93352011-09-24 Ulf Jasper <ulf.jasper@web.de>
9336
9337 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9338 (newsticker-show-news): Automatically load html rendering package
9339 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9340 because w3m-fill-column is let-bound" and the error "Symbol's value
9341 as variable is void: w3m-fill-column".
2ac2721a 9342
fac7ae53
MA
93432011-09-24 Michael Albinus <michael.albinus@gmx.de>
9344
9345 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9346 Release services only if they are defined. (Bug#9581)
9347
e08b633b
RS
93482011-09-23 Richard Stallman <rms@gnu.org>
9349
e488d29c
RS
9350 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9351 distinguish start of paragraph from start of its text.
9352
19c38752
RS
9353 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9354
e08b633b
RS
9355 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9356 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9357 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9358
0a39f27e
AS
93592011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9360
9361 * international/mule-diag.el (mule-diag): Insert a newline after
9362 each fontset description.
9363
db4e950d
SM
93642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * simple.el (delete-trailing-whitespace):
9367 Document last change; simplify.
9368
eca3f3ea
PW
93692011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9370
d68e189a
PW
9371 * simple.el (delete-trailing-whitespace): Also delete
9372 extra newlines at the end of the buffer.
9373
eca3f3ea
PW
9374 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9375 (picture-newline): Use forward-line so as to ignore fields.
9376
01c157cc
SM
93772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * subr.el (with-wrapper-hook): Fix edebug spec.
9380
022de23e
LMI
93812011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9382
9383 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9384 (bug#4538).
9385
91683089
MA
93862011-09-23 Michael Albinus <michael.albinus@gmx.de>
9387
eca3f3ea
PW
9388 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9389 Fix nasty bug using wrong cached values.
91683089 9390
5bdd6fa4
AM
93912011-09-23 Alan Mackenzie <acm@muc.de>
9392
9393 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9394
97adfb97
CY
93952011-09-23 Chong Yidong <cyd@stupidchicken.com>
9396
9397 * window.el (pop-to-buffer): Ensure right window is selected if we
9398 chose another frame.
9399
d4ef2b50
EZ
94002011-09-22 Eli Zaretskii <eliz@gnu.org>
9401
9402 * simple.el (what-cursor-position): Use get-char-property-change
9403 and next-single-char-property-change, to be able to show display
9404 properties that come from overlays as well as text properties.
9405
72258fe5
CY
94062011-09-22 Chong Yidong <cyd@stupidchicken.com>
9407
9408 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9409
9410 * cmuscheme.el (run-scheme, switch-to-scheme):
9411 * cus-edit.el (customize-group, custom-buffer-create)
9412 (customize-browse):
9413 * info.el (info):
9414 * shell.el (shell):
9415 * mail/sendmail.el (mail):
9416 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9417
8f098516
RS
94182011-09-22 Richard Stallman <rms@gnu.org>
9419
9420 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9421 move back only to line beg, don't move back over blank lines.
9422
e74f1bb6
MA
94232011-09-22 Michael Albinus <michael.albinus@gmx.de>
9424
9425 * files.el (copy-directory): Set directory attributes only in case
9426 they could be retrieved from the source directory. (Bug#9565)
9427
bfeef8b6
DK
94282011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9429
9430 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9431 (hs-find-block-beginning, hs-hide-level-recursive):
9432 Ignore strings as well as comments. (Bug#9502)
9433
7e423bb8
AS
94342011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9435
9436 * progmodes/sql.el (sql-comint-postgres):
9437 Convert port number to a string. (Bug#9566)
9438
b4d72fcf
MR
94392011-09-22 Martin Rudalics <rudalics@gmx.at>
9440
9441 * window.el (quit-window): Undedicate window when switching to
9442 previous buffer. Reported by Thierry Volpiatto
9443 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9444 (special-display-popup-frame): When popping up a new frame reset
9445 its previous buffers to nil. Simplify code.
b4d72fcf 9446
a7b88dc6
MA
94472011-09-21 Michael Albinus <michael.albinus@gmx.de>
9448
9449 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9450 and process filter, as done also in `shell-command'.
9451
cf4eacfd
MR
94522011-09-21 Martin Rudalics <rudalics@gmx.at>
9453
eca3f3ea 9454 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9455 Call set-window-start with NOFORCE argument t.
9456 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9457 (quit-window): Reword doc-string. Handle new format of
9458 quit-restore parameter. Don't delete window if it has a
9459 previous buffer we can show instead of the present one.
9460 (display-buffer-record-window): Rewrite using a new format for
9461 the quit-restore window parameter
9462 (special-display-popup-frame, display-buffer-same-window)
9463 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9464 (display-buffer-pop-up-window, display-buffer-use-some-window):
9465 Adapt symbol passed to display-buffer-record-window.
9466 * help.el (help-window-setup): Handle new format of quit-restore
9467 parameter.
9468
8d28cb95
SM
94692011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9470
94ab793f
SM
9471 * faces.el (face-list): Fix docstring (bug#9564).
9472
8d28cb95
SM
9473 * window.el (display-buffer--action-function-custom-type):
9474 Don't include internal functions in the Custom interface.
9475
3820edeb
JL
94762011-09-20 Juri Linkov <juri@jurta.org>
9477
9478 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9479 (Info-forward-node, Info-backward-node, Info-next-preorder)
9480 (Info-last-preorder): Use it. (Bug#9528)
9481
5147931d
JL
94822011-09-20 Juri Linkov <juri@jurta.org>
9483
9484 * info.el (Info-last-preorder): Visit last menu item only when
9485 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9486
cf499a1a
JD
94872011-09-20 Julien Danjou <julien@danjou.info>
9488
9489 * password-cache.el (password-cache-remove): Remove entries even if the
9490 value is nil, so that password with a nil value (negative caching) is
9491 possible to invalidate.
9492
f84e2fe2
LM
94932011-09-20 Lawrence Mitchell <wence@gmx.li>
9494
9495 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9496 all whitespace around breakpoint. (Bug#9553)
9497 (f90-find-breakpoint): Only break at whitespace inside a comment.
9498
78054a46
SM
94992011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * minibuffer.el (completion-file-name-table): Keep track of errors.
9502 (completion-table-with-predicate): Handle the case where pred1 is nil.
9503 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9504
345083b2
SM
95052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9506
e24e27be
SM
9507 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9508 (debugger-return-value): Signal an error if the debugging context does
9509 not await any return value.
9510
345083b2
SM
9511 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9512 * image-mode.el (image-toggle-display-text)
9513 (image-toggle-display-image): Stay away from evil `intangible'.
9514
08d355e3
LL
95152011-09-19 Leo Liu <sdl.web@gmail.com>
9516
9517 * replace.el (occur-revert-arguments): Make it permanent-local.
9518 (occur-mode): Don't call font-lock-defontify.
9519
f01da43f
CY
95202011-09-19 Chong Yidong <cyd@stupidchicken.com>
9521
9522 * net/ldap.el (ldap-search-internal): Don't push empty search
9523 result (Bug#9508).
9524
b6072fa6
SM
95252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9528
443d6696
MA
95292011-09-19 Michael Albinus <michael.albinus@gmx.de>
9530
9531 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9532 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9533
7cc6e154
JL
95342011-09-18 Juri Linkov <juri@jurta.org>
9535
9536 * buff-menu.el (Buffer-menu-mode-map):
9537 * dired.el (dired-mode-map):
9538 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9539 (lisp-interaction-mode-map):
9540 * emacs-lisp/package.el (package-menu-mode-map):
9541 * epa.el (epa-key-list-mode-map):
9542 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9543 (menu-bar-options-menu):
9544 * outline.el (outline-mode-menu-bar-map):
9545 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9546 * vc/vc-dir.el (vc-dir-menu-map):
9547 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9548 Capitalize non-function content words in menu item strings.
9549
9550 * dired.el (dired-mode-map): Add menu item for
9551 `image-dired-dired-toggle-marked-thumbs'.
9552
80302a81
JL
95532011-09-18 Juri Linkov <juri@jurta.org>
9554
9555 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9556 to `isearch-case-fold-search' and restore its original value
9557 after the `isearch-mode' call.
9558
46c5cf66
JL
95592011-09-18 Juri Linkov <juri@jurta.org>
9560
9561 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9562 because `zgrep' returns 1 for successful matches (bug#9226).
9563
d18b513b
JL
95642011-09-18 Juri Linkov <juri@jurta.org>
9565
9566 * info.el (Info-extract-menu-node-name): Check the second match
9567 for empty string (second test-case of bug#9528).
9568 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9569 intermediate nodes to the history (first test-case of bug#9528).
9570
72753f87
JL
95712011-09-18 Juri Linkov <juri@jurta.org>
9572
9573 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9574 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9575
c9384295
JL
95762011-09-18 Juri Linkov <juri@jurta.org>
9577
1154d12e
JB
9578 * info.el (Info-file-supports-index-cookies):
9579 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9580 outputs one more line for long file names (bug#4142).
c9384295 9581
d473dce8
CY
95822011-09-18 Chong Yidong <cyd@stupidchicken.com>
9583
9584 * newcomment.el (comment-normalize-vars): If prompting for
9585 comment-start, set comment-start-skip too (Bug#8424).
9586
2176854d
JB
95872011-09-18 Johan Bockgård <bojohan@gnu.org>
9588
9589 * icomplete.el: Fix previous fix of Bug#5849.
9590 (icomplete-mode): Don't set completion-show-inline-help.
9591 (icomplete-minibuffer-setup): Set completion-show-inline-help
9592 locally during icompletion.
9593
3aace4e4
CY
95942011-09-18 Chong Yidong <cyd@stupidchicken.com>
9595
c940224f
CY
9596 * woman.el (woman2-process-escapes): Don't delete unrecognized
9597 escapes (Bug#7843).
9598
3aace4e4
CY
9599 * files.el (inhibit-first-line-modes-regexps): Add image files.
9600 (hack-local-variables-prop-line): Return nil for malformed
9601 prop-lines (Bug#9044).
9602
710dec63
MA
96032011-09-18 Michael Albinus <michael.albinus@gmx.de>
9604
9605 * net/tramp.el (top): Don't require 'shell.
9606 (tramp-methods): Fix docstring.
9607 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9608 Return complete remote file name. Handle "smb" case.
9609 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9610 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9611
9612 * net/tramp-compat.el (top): Require 'shell.
9613
9614 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9615 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9616 `tramp-current-host'.
9617 (tramp-get-remote-tmpdir): Remove.
9618
9619 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9620 `tramp-tmpdir' entries.
9621 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9622 (tramp-smb-handle-file-attributes): Ignore errors.
9623 (tramp-smb-wait-for-output): Check also for process end.
9624
5d5ac8ec
LMI
96252011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9626
9627 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9628 when sending QUIT (bug#9312).
9629
8c0f49f0
CY
96302011-09-17 Chong Yidong <cyd@stupidchicken.com>
9631
9632 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9633 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9634 occur-mode-display-occurrence.
9635 (occur-edit-mode): Add usage message.
9636 (occur-cease-edit): New command.
9637 (occur-after-change-function): Use text properties to find the
9638 position of the prefix text.
9639 (occur-engine): Set stickiness of prefix text properties.
9640
8f1383f7
GM
96412011-09-17 Glenn Morris <rgm@gnu.org>
9642
9643 * progmodes/etags.el (complete-tag):
9644 Fix call to completion-in-region. (Bug#9526)
9645
744ba0e3
JL
96462011-09-17 Juri Linkov <juri@jurta.org>
9647
9648 * textmodes/ispell.el (ispell-word): Add to the error message
9649 the word, ispell program name and current dictionary (bug#9121).
9650 (ispell-tex-arg-end): Capitalize "error" in the error message.
9651
d9bbf400
AS
96522011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9653
9654 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9655 check. (Bug#4251)
9656
8da11505
JL
96572011-09-17 Juri Linkov <juri@jurta.org>
9658
9659 * window.el (window-safe-min-height, window-safe-min-width):
9660 Fix typos (followup to bug#9522).
9661
a91adc7e
SJ
96622011-09-17 Sven Joachim <svenjoac@gmx.de>
9663
9664 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9665
064f328a
EZ
96662011-09-16 Eli Zaretskii <eliz@gnu.org>
9667
9668 * simple.el (line-move): If goal-column is set, move by logical
9669 lines, not by display lines. (Bug#971)
9670 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9671 to reflect the above change.
9672
e69df516
SM
96732011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * image.el (imagemagick-register-types): Use regexp-opt.
9676
cbb0f9ab
CY
96772011-09-15 Chong Yidong <cyd@stupidchicken.com>
9678
9679 * window.el (display-buffer-base-action): Rename from
9680 display-buffer-default-action. Make default value empty.
9681 (display-buffer-overriding-action): Convert to defvar.
9682 (display-buffer-fallback-action): New var.
9683
25322144
CY
96842011-09-15 Chong Yidong <cyd@stupidchicken.com>
9685
9686 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9687 declaration.
9688 (package--add-to-archive-contents): If there is a duplicate entry
9689 with an older version, remove it.
9690 (package-menu-mark-delete, package-menu-mark-install)
9691 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9692 (package-menu-mark-obsolete-for-deletion):
9693 Use package-menu-get-status instead of a regexp search.
25322144
CY
9694 (package-menu-get-status): Use tabulated-list-entry.
9695 (package-menu-mark-upgrades): New command.
d770725a 9696 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9697 (package-menu-execute): Do installation before deletion.
9698 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9699 instead of checking major-mode.
9700 (package-menu--find-upgrades): New function.
9701
7520339c
LMI
97022011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9703
9704 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9705 passwords in the log buffer.
65a046c4
LMI
9706 (smtpmail-process-filter): Update the process marker so that the
9707 "broken by peer" status message is inserted in the right place.
7520339c 9708
d3c30954
SM
97092011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9710
3fe48822
SM
9711 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9712 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9713 bibtex-completion-at-point-function.
9714 (bibtex-completion-at-point-function): Use them.
9715
1b8b3954
SM
9716 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9717
d3c30954
SM
9718 * mpc.el (mpc-constraints-tag-lookup): New function.
9719 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9720 also to browser "album|playlist".
9721
72779976
JL
97222011-09-14 Juri Linkov <juri@jurta.org>
9723
9724 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9725 (isearch-edit-string): Use length of `isearch-string' when
9726 `isearch-fail-pos' returns nil.
9727 (isearch-message): Remove duplicate code and call
9728 `isearch-fail-pos' with arg `t'.
9729
a0bf2bcd
CY
97302011-09-14 Chong Yidong <cyd@stupidchicken.com>
9731
17bb0a2d
CY
9732 * replace.el (occur-mode-goto-occurrence): Don't force using other
9733 window (Bug#9499).
9734
a0bf2bcd
CY
9735 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9736
f678e0b6
MR
97372011-09-14 Martin Rudalics <rudalics@gmx.at>
9738
9739 * window.el (display-buffer-window): Remove.
9740 (display-buffer-record-window): Use help-setup window parameter
9741 instead of variable display-buffer-window.
9742 (display-buffer-function, special-display-buffer-names)
9743 (special-display-function): Mention help-setup parameter instead
9744 of display-buffer-window in doc-string.
d3c30954
SM
9745 * help.el (help-window-setup): New argument help-window.
9746 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9747 Reword some messages.
9748 (with-help-window): Pass window used for displaying the buffer
9749 to help-window-setup. Don't set display-buffer-window.
9750
8e39b2e8
GM
97512011-09-13 Glenn Morris <rgm@gnu.org>
9752
9753 * emacs-lisp/debug.el (debugger-make-xrefs):
9754 Preserve point. (Bug#9462)
9755
85e9c04b
CY
97562011-09-13 Chong Yidong <cyd@stupidchicken.com>
9757
9758 * window.el (window-deletable-p): Use next-frame.
9759
1b36ed6a
MR
97602011-09-13 Martin Rudalics <rudalics@gmx.at>
9761
9762 * window.el (window-auto-delete): Remove.
9763 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9764 dedication and previous buffers.
1b36ed6a
MR
9765 (switch-to-prev-buffer): Don't delete window.
9766 (delete-windows-on): Delete a window's frame if and only if the
9767 window is dedicated.
9768 (replace-buffer-in-windows): Delete buffer's window or frame if
9769 and only if window is dedicated.
9770 (quit-window): Handle quit-restore as before last change.
4d61f28d 9771 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9772
ef8ef9fb
CY
97732011-09-13 Chong Yidong <cyd@stupidchicken.com>
9774
9775 * window.el (window-deletable-p): Never delete the last frame on a
9776 given terminal.
9777
b2cba41e
GM
97782011-09-13 Glenn Morris <rgm@gnu.org>
9779
9780 * help.el (describe-key-briefly): Copy previous standard-output change.
9781
51553db6 97822011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9783
9784 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9785
b7556719
GM
97862011-09-13 Glenn Morris <rgm@gnu.org>
9787
9788 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9789 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9790
64b51947
CY
97912011-09-12 Chong Yidong <cyd@stupidchicken.com>
9792
9793 * dired-aux.el (dired-mark-read-string): Don't return default
9794 value on empty input (Bug#9361).
9795 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9796 Omit initial minibuffer contents.
9797 (dired-do-chmod): Signal an error on empty input.
9798 (dired-mark-read-string): Don't return default on empty input.
9799
9800 * files.el (file-modes-symbolic-to-number): Doc fix.
9801
393a301e
SM
98022011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * international/mule-cmds.el (ucs-completions): Remove.
9805 (read-char-by-name): Use complete-with-action instead; add metadata.
9806
fa5660f9
CY
98072011-09-11 Chong Yidong <cyd@stupidchicken.com>
9808
9809 * window.el (display-buffer--action-function-custom-type)
9810 (display-buffer--action-custom-type): New vars.
9811 (display-buffer-alist, display-buffer-default-action)
9812 (display-buffer-overriding-action): Add defcustom types.
9813
4a592f66
CY
9814 * frame.el (delete-other-frames): Doc fix (Bug#276).
9815
73d56dbd
LMI
98162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9817
9818 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9819
37ac18a3
CY
98202011-09-11 Chong Yidong <cyd@stupidchicken.com>
9821
9822 Change modes that used same-window-* vars to use switch-to-buffer.
9823
9824 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9825 Use switch-to-buffer.
9826
9827 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9828 (customize-browse, custom-buffer-create-other-window):
9829 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9830
9831 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9832 (Info-prev, Info-up, Info-speedbar-goto-node)
9833 (info-display-manual): Use switch-to-buffer.
9834 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9835
9836 * mail/sendmail.el (mail): Use switch-to-buffer.
9837 (mail-recover): Use switch-to-buffer-other-window.
9838
9839 * cmuscheme.el (run-scheme, switch-to-scheme):
9840 * ielm.el (ielm):
9841 * shell.el (shell):
9842 * net/rlogin.el (rlogin):
9843 * net/telnet.el (telnet, rsh):
9844 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9845
10195bd6
AS
98462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9847
9848 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9849
b322f63a
LMI
98502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9851
39d7fed6
LMI
9852 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9853 so don't mention it (bug#9301).
ba5a81f1 9854 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9855
ee0e9f11
LMI
9856 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9857 match `x', `w32' and `ns', like the manual says (bug#9029).
9858
0b1c89c1 9859 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9860 (process-kill-buffer-query-function): Mention the buffer name in
9861 the query.
0b1c89c1 9862
77549ea8
LMI
9863 * image-mode.el (image-next-line): The line parameter is mandatory
9864 (bug#9258).
9865
803ef892
LMI
9866 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9867 which can be useful (bug#9301).
9868
12980837
LMI
9869 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9870
91054f8f
LMI
9871 * subr.el (match-string): Mention that the current buffer should
9872 be the same as the search was done in (bug#9282).
9873
b322f63a
LMI
9874 * facemenu.el: Disable the remove-* commands if the mark isn't
9875 active (bug#9162).
9876
3199b96f
CY
98772011-09-10 Chong Yidong <cyd@stupidchicken.com>
9878
9879 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9880 of display-buffer.
9881 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9882
9883 * replace.el (occur-mode-goto-occurrence)
9884 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9885 and display-buffer.
9886
9887 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9888 display-buffer.
9889
9890 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9891 special-display and same-window variables.
9892 (mail-other-window): Use switch-to-buffer-other-window.
9893 (mail-other-frame): USe switch-to-buffer-other-frame.
9894
393a301e
SM
9895 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9896 Use display-buffer-other-frame.
3199b96f
CY
9897 (gdb-display-gdb-buffer): Use pop-to-buffer.
9898
9899 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9900
9901 * progmodes/python.el: Don't set same-window-buffer-names.
9902
9903 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9904
9905 * window.el (display-buffer-alist): Add *Python*.
9906
8319e0bf
CY
99072011-09-10 Chong Yidong <cyd@stupidchicken.com>
9908
9909 * window.el (display-buffer-alist): Add entry for buffers
9910 previously handled same-window-*.
9911 (display-buffer-alist, display-buffer-default-action)
9912 (display-buffer-overriding-action): Mark as risky.
9913 (display-buffer-alist): Document action function changes.
9914 (display-buffer--same-window-action)
9915 (display-buffer--other-frame-action): New variables.
9916 (switch-to-buffer, display-buffer-other-frame): Use them.
9917 (display-buffer): Rename reuse-frame entry to reusable-frames.
9918 (display-buffer-reuse-selected-window): Function deleted.
9919 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9920 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9921 (display-buffer-special): New function.
9922 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9923 display-buffer-reuse-or-pop-window. Split off special-display
9924 part into display-buffer-special.
9925 (display-buffer-use-some-window): Don't perform any special
9926 pop-up-frames handling.
9927 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9928 (display-buffer--maybe-same-window): Rename from
0d3ff375 9929 display-buffer-maybe-same-window.
8319e0bf 9930
919a69aa
CY
9931 * info.el: Don't set same-window-regexps.
9932 (info-setup): New function.
9933 (info-other-window, info): Call it.
9934
9935 * cus-edit.el: Don't set same-window-regexps.
9936 (customize-group): New argument.
9937 (customize-group-other-window): Use it.
9938 (customize-face, customize-face-other-window): Likewise.
9939 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9940
8319e0bf
CY
9941 * net/rlogin.el:
9942 * net/telnet.el:
9943 * progmodes/gud.el: Don't set same-window-regexps.
9944
9945 * cmuscheme.el:
9946 * ielm.el:
9947 * shell.el:
9948 * mail/sendmail.el:
9949 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9950
25173000
JL
99512011-09-10 Juri Linkov <juri@jurta.org>
9952
9953 * isearch.el (isearch-edit-string): Remove obsolete mention of
9954 `C-w' (`isearch-yank-word-or-char') from docstring.
9955 (isearch-query-replace): Fix typo in docstring (bug#9466).
9956
056e44ef
JL
99572011-09-10 Juri Linkov <juri@jurta.org>
9958
9959 * paren.el (show-paren-function): Don't show escaped parens.
9960 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9961
c3760c17
EZ
99622011-09-10 Eli Zaretskii <eliz@gnu.org>
9963
9964 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9965 (mm-default-file-encoding): Remove autoload forms, they are
9966 replaced with autoload cookies in mml.el and mm-encode.el.
9967 (mail-add-attachment): New command.
9968 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9969 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9970 the doc string.
9971 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9972
fece895e
RT
99732011-09-10 Reuben Thomas <rrt@sc3d.org>
9974
e69df516
SM
9975 * simple.el (count-words-region): Use buffer if there's no region
9976 (bug#9429).
fece895e 9977
5e68ce4a
JL
99782011-09-09 Juri Linkov <juri@jurta.org>
9979
9980 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9981 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9982 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9983
0a6b9622
AM
99842011-09-09 Alan Mackenzie <acm@muc.de>
9985
9986 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9987 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9988
14a29deb
EZ
99892011-09-09 Eli Zaretskii <eliz@gnu.org>
9990
9991 Fix for Savannah bug#9392.
9992 * simple.el (mail-encode-mml): New defvar.
9993
9994 * mail/rmail.el (mail-encode-mml): Add a defvar.
9995 (rmail-enable-mime-composing): Default to t.
9996 (rmail-forward): Use MIME method of forwarding only if both
9997 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9998 Set mail-encode-mml non-nil if the MIME method was used.
9999
10000 * mail/sendmail.el (mml-to-mime): Add autoload form.
10001 (mail-encode-mml): Add a defvar.
10002 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10003 to nil.
10004 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10005 message through mml-to-mime, and reset mail-encode-mml to nil.
10006
28c45130
GM
100072011-09-09 Glenn Morris <rgm@gnu.org>
10008
10009 * woman.el (woman-if-body): When processing an .el block,
10010 do not delete the next .el block as well. (Bug#9447)
69f4b618 10011 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10012
9b1c252e
MR
100132011-09-08 Martin Rudalics <rudalics@gmx.at>
10014
10015 * window.el (window-deletable-p): Make sure window is live before
10016 invoking window-prev-buffers.
10017
567457e3
LL
100182011-09-08 Leo Liu <sdl.web@gmail.com>
10019
10020 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10021
97f05794
JL
100222011-09-08 Juri Linkov <juri@jurta.org>
10023
10024 * progmodes/compile.el (compilation-environment): Make it
10025 a defcustom (bug#8340).
10026
8b0874b5
MR
100272011-09-08 Martin Rudalics <rudalics@gmx.at>
10028
10029 * window.el (frame-auto-delete): Rename to window-auto-delete.
10030 Make it control auto-deletion of windows and/or frames.
10031 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10032 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10033 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10034 Rewrite handling of case when window/frame can be deleted.
10035 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10036 argument t. (Bug#9456)
8b0874b5 10037
4feb6e73
CY
100382011-09-07 Chong Yidong <cyd@stupidchicken.com>
10039
10040 * help-mode.el (help-mode): Restore autoload.
10041
91ab9c13
JL
100422011-09-07 Juri Linkov <juri@jurta.org>
10043
10044 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10045 `compilation-environment'. Set buffer-local
10046 `compilation-environment' to `thisenv' later after (funcall mode).
10047 (Bug#8340)
10048
10049 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10050 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10051 instead of replacing its value. (Bug#8340)
10052
0527e251
JL
100532011-09-07 Juri Linkov <juri@jurta.org>
10054
10055 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10056 based on text properties put by `grep-filter' instead of matching
10057 escape sequences.
10058 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10059 to the value of `grep-error-screen-columns' (bug#9438).
10060
249f792c
JL
100612011-09-07 Juri Linkov <juri@jurta.org>
10062
10063 * simple.el (next-error-highlight, next-error-highlight-no-select):
10064 Doc fix (bug#9432).
10065
ff7271b9
OT
100662011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10067
10068 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10069 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10070
183fc730
LL
100712011-09-07 Leo Liu <sdl.web@gmail.com>
10072
10073 * net/rcirc.el (rcirc-mode): Conditionally initialize
10074 rcirc-input-ring.
10075
77694924
SM
100762011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * emacs-lisp/find-func.el (find-function-C-source): Only set
10079 find-function-C-source-directory after checking that we found a source
10080 file there (bug#9440).
10081
d809b8eb
AM
100822011-09-06 Alan Mackenzie <acm@muc.de>
10083
10084 * isearch.el (isearch-other-meta-char): Wherever a key list is
10085 unread, "unread" the prefix arg, too. This fixes bug #8901.
10086
453de99f
OG
100872011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10088
10089 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10090
90439906
JL
100912011-09-05 Juri Linkov <juri@jurta.org>
10092
10093 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10094
f62bd846
JL
100952011-09-05 Juri Linkov <juri@jurta.org>
10096
10097 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10098 keeping point where processing of grep matches begins, and
10099 continue to delete remaining escape sequences from the same point.
10100 (grep-filter): Make leading zero optional in "0?1;31m" because
10101 git-grep emits "\033[1;31m" escape sequences unlike expected
10102 "\033[01;31m" as GNU Grep does (bug#9408).
10103 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10104
045820ec
JL
101052011-09-05 Juri Linkov <juri@jurta.org>
10106
10107 * subr.el (y-or-n-p): Capitalize "yes".
10108
f5e29b9b
MA
101092011-09-04 Michael Albinus <michael.albinus@gmx.de>
10110
10111 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10112 `tramp-cache-unload-hook' where appropriate.
10113 (tramp-methods): Rename `tramp-remote-sh' to
10114 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10115 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10116
10117 * net/tramp-sh.el (top): Don't require 'shell.
10118 (tramp-methods): Add `tramp-remote-shell' and
10119 `tramp-remote-shell-args' entries.
10120 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10121 (tramp-sh-handle-shell-command): Remove.
10122 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10123 Use `tramp-remote-shell'.
10124
2784c434
CY
101252011-09-03 Chong Yidong <cyd@stupidchicken.com>
10126
393a301e 10127 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10128 (sendmail-query-once): Save directly to send-mail-function.
10129 Update message-send-mail-function too.
10130
10131 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10132
464cdf56
CS
101332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10134
10135 * progmodes/python.el (python-mode-map): Use correct function to
10136 start python interpreter from menu-bar (as reported by Geert
10137 Kloosterman).
10138 (inferior-python-mode-map): Fix typo.
393a301e 10139 (python-shell-map): Remove.
464cdf56 10140
d37e5c87
DD
101412011-09-03 Deniz Dogan <deniz@dogan.se>
10142
10143 * net/rcirc.el (rcirc-print): Simplify code for
10144 rcirc-scroll-show-maximum-output. There is no need to walk
10145 through all windows to find the right one.
10146
f3ada0ee
CS
101472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10148
10149 * help.el (help-return-method): Doc fix.
10150
1f3c99ca
MR
101512011-09-03 Martin Rudalics <rudalics@gmx.at>
10152
10153 * window.el (window-deletable-p): Don't return a non-nil value
10154 when there's a buffer that was shown in the window before.
10155 (Bug#9419)
393a301e
SM
10156 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10157 Set window's previous buffers to nil.
1f3c99ca 10158
a3cf097f
EZ
101592011-09-03 Eli Zaretskii <eliz@gnu.org>
10160
10161 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10162 newline before and after the tag line, so it doesn't interfere
10163 with determining the paragraph direction of bidirectional text.
10164
3d03de90
LL
101652011-09-03 Leo Liu <sdl.web@gmail.com>
10166
10167 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10168
c3313451
CY
101692011-09-02 Chong Yidong <cyd@stupidchicken.com>
10170
393a301e 10171 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10172 (pop-to-buffer): Change interactive spec. Pass second argument
10173 directly to display-buffer.
10174 (display-buffer): Fix interactive spec. Use functionp to
10175 distinguish between a function and a list of functions.
10176
10177 * abbrev.el (edit-abbrevs):
10178 * arc-mode.el (archive-extract):
10179 * autoinsert.el (auto-insert):
10180 * bookmark.el (bookmark-bmenu-list):
10181 * files.el (find-file):
10182 * view.el (view-buffer):
10183 * progmodes/compile.el (compilation-goto-locus):
10184 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10185
89894cd8
CY
101862011-09-02 Chong Yidong <cyd@stupidchicken.com>
10187
10188 * window.el (display-buffer-alist): Doc fix.
10189 (display-buffer): Add docstring. Don't treat
10190 display-buffer-default specially.
10191 (display-buffer-reuse-selected-window)
10192 (display-buffer-same-window, display-buffer-maybe-same-window)
10193 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10194 (display-buffer-pop-up-window)
10195 (display-buffer-reuse-or-pop-window)
10196 (display-buffer-use-some-window): New functions.
10197 (display-buffer-default-action): Use them.
393a301e 10198 (display-buffer-default): Delete.
89894cd8
CY
10199 (pop-to-buffer-1): Fix choice of actions.
10200
ae0bc9fb
SM
102012011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * minibuffer.el (completion--insert-strings): Don't get confused by
10204 completion entries that end with an LF char.
10205
e9d90883
EZ
102062011-09-01 Eli Zaretskii <eliz@gnu.org>
10207
10208 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10209
437014c8
CY
102102011-09-01 Chong Yidong <cyd@stupidchicken.com>
10211
10212 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10213 (display-buffer-same-window, display-buffer-other-window):
10214 New functions.
437014c8
CY
10215 (pop-to-buffer-1): New function. Use the above.
10216 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10217 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10218
10219 * view.el (view-buffer-other-window, view-buffer-other-frame):
10220 Just use pop-to-buffer.
10221
a5e063d5
TV
102222011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10223
10224 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10225
793d32bb
WH
102262011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10227
10228 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10229
d65e4c15
RS
102302011-08-31 Richard Stallman <rms@gnu.org>
10231
10232 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10233 of the separation of rmail-view-buffer from rmail-buffer.
10234 If you say no to "replace original", the decrypt is in the
10235 view buffer. If you say yes, the decrypt goes into the
10236 rmail buffer also.
10237
f818cd2a
MR
102382011-08-31 Martin Rudalics <rudalics@gmx.at>
10239
10240 * window.el (display-buffer-window): Rewrite doc-string.
10241 (display-buffer-record-window): New function.
10242 (display-buffer-macro-specifiers)
10243 (display-buffer-even-window-sizes, display-buffer-set-height)
10244 (display-buffer-set-width, display-buffer-in-window)
10245 (display-buffer-reuse-window, display-buffer-split-specifiers)
10246 (display-buffer-side-specifiers, display-buffer-split-window-1)
10247 (display-buffer-split-window, display-buffer-split-atom-window)
10248 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10249 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10250 (display-buffer-other-window-means-other-frame)
10251 (display-buffer-normalize-special)
10252 (display-buffer-normalize-default)
10253 (display-buffer-normalize-argument)
10254 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10255 (display-buffer-normalize-specifiers, display-buffer-frame)
10256 (display-buffer-same-window, display-buffer-same-frame)
10257 (display-buffer-other-window)
10258 (display-buffer-same-frame-other-window)
10259 (display-buffer-other-frame, pop-to-buffer-same-window)
10260 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10261 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10262 (switch-to-buffer-same-frame)
10263 (switch-to-buffer-other-window-same-frame)
10264 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10265 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10266 (display-buffer-alist-set): Remove.
10267 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10268 (special-display-regexps, special-display-function):
10269 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10270 parameter.
10271 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10272 (special-display-frame-alist, special-display-popup-frame)
10273 (same-window-buffer-names, same-window-regexps, same-window-p)
10274 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10275 (split-window-preferred-function, split-height-threshold)
10276 (split-width-threshold, window-splittable-p)
10277 (split-window-sensibly, window--try-to-split-window)
10278 (window--frame-usable-p, even-window-heights)
10279 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10280 (window--display-buffer-2, display-buffer-other-frame):
10281 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10282 (display-buffer-default, display-buffer-assq-regexp): New functions.
10283 (display-buffer-alist): Rewrite doc-string.
10284 (display-buffer-default-action)
10285 (display-buffer-overriding-action): New variables.
10286 (display-buffer, switch-to-buffer): Rewrite.
10287 (pop-to-buffer): Restore Emacs 23 behavior but use
10288 window-normalize-buffer-to-display.
10289 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10290 Restore Emacs 23 behavior but use
10291 window-normalize-buffer-to-switch-to.
10292 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10293 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10294 Rewrite using Emacs 23 options.
f818cd2a 10295
5bc3b51d
MA
102962011-08-31 Michael Albinus <michael.albinus@gmx.de>
10297
10298 * net/tramp.el (tramp-root-regexp): Remove.
10299 (tramp-completion-file-name-regexp-unified)
10300 (tramp-completion-file-name-regexp-separate)
10301 (tramp-completion-file-name-regexp-url): Don't use leading volume
10302 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10303 (tramp-drop-volume-letter): Simplify definition.
10304 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10305
b1a4f8e1
SM
103062011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10309 (bug#9356).
10310
5664fa7b
RT
103112011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10312
b1a4f8e1 10313 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10314
9a45d6c3
JL
103152011-08-29 Juri Linkov <juri@jurta.org>
10316
10317 * isearch.el (isearch-done): Don't display message "Mark saved"
10318 when arg `edit' is non-nil to prevent its flicker in the echo area.
10319
fb87e0fb
CY
103202011-08-28 Chong Yidong <cyd@stupidchicken.com>
10321
10322 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10323 obsolete packages for deletion.
10324
09ac1c2a
CS
103252011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10326
10327 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10328 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10329 view-mode from help-mode.
10330 (help-xref-override-view-map): Remove.
10331 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10332 view-mode is not used anymore.
10333
7a1ff57f
CY
103342011-08-28 Chong Yidong <cyd@stupidchicken.com>
10335
10336 * server.el (server-port): Doc fix.
10337
b9696605
CY
10338 * cus-theme.el (custom-theme-choose-mode): Inherit from
10339 special-mode (Bug#9124).
10340 (custom-theme-choose-mode-map): Add special-mode to parent.
10341
ef8cdf8c
AM
103422011-08-28 Alan Mackenzie <acm@muc.de>
10343
10344 * progmodes/cc-fonts.el
10345 (c-make-font-lock-BO-decl-search-function): New function.
10346 (c-basic-matchers-after - "Fontify the clauses after various
10347 keywords"): Extract the three keyword lists for the 3 erroneous
10348 constructs from the list of four, and use the new function above
10349 in place of an old one.
10350
27de4e20
DD
103512011-08-28 Deniz Dogan <deniz@dogan.se>
10352
10353 * net/rcirc.el (rcirc-insert-prev-input)
10354 (rcirc-insert-next-input): Remove unused argument.
10355
356a3681
SM
103562011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10359
3fc9b218
AM
103602011-08-27 Alan Mackenzie <acm@muc.de>
10361
10362 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10363 handle function pointer parameters properly.
10364
538a061c
MR
103652011-08-27 Martin Rudalics <rudalics@gmx.at>
10366
10367 * window.el (display-buffer-reuse-window): Fix case where
10368 selected window was reused with non-nil OTHER-WINDOW argument.
10369 (Bug#9381)
10370
35b1c40c
DD
103712011-08-27 Deniz Dogan <deniz@dogan.se>
10372
10373 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10374 oftc's NickServ messages.
10375
2f6a3e79
GM
103762011-08-27 Glenn Morris <rgm@gnu.org>
10377
10378 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10379
7254299e
CY
103802011-08-26 Chong Yidong <cyd@stupidchicken.com>
10381
10382 * emacs-lisp/package.el (package-install): Call package-initialize
10383 if called interactively.
10384
f8ccf167
LL
103852011-08-26 Leo Liu <sdl.web@gmail.com>
10386
10387 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10388
3e8cd5ce
JL
103892011-08-25 Juri Linkov <juri@jurta.org>
10390
10391 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10392 `search-whitespace-regexp' (bug#9364).
10393
93eb7113
JL
103942011-08-25 Juri Linkov <juri@jurta.org>
10395
10396 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10397 `regexp-search-ring' to their global values to protect from
10398 updating by `read-from-minibuffer' (bug#9185).
10399
f65d1611
JL
104002011-08-25 Juri Linkov <juri@jurta.org>
10401
10402 * textmodes/ispell.el (ispell-command-loop): Add newline
10403 at the end of the "Use option `i'..." line.
10404
f1cf7a31
JL
104052011-08-25 Juri Linkov <juri@jurta.org>
10406
10407 * battery.el (display-battery-mode): If `battery-status-function'
10408 or `battery-mode-line-format' is nil, display the message and set
10409 `display-battery-mode' to nil (bug#9363).
10410
0c95fcf7
EZ
104112011-08-25 Eli Zaretskii <eliz@gnu.org>
10412
10413 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10414 bidi-string-mark-left-to-right; they are unnecessary now.
10415
a2ebe600
DD
104162011-08-25 Deniz Dogan <deniz@dogan.se>
10417
10418 * net/quickurl.el: Documentation typo fixes.
10419
e4ed06f1
CY
104202011-08-25 Chong Yidong <cyd@stupidchicken.com>
10421
10422 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10423
e5f1c99e
GM
104242011-08-25 Glenn Morris <rgm@gnu.org>
10425
b2948976
GM
10426 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10427
e5f1c99e
GM
10428 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10429 (smtpmail-via-smtp): Handle nil response from smtp.
10430
f22f4808
JL
104312011-08-24 Juri Linkov <juri@jurta.org>
10432
10433 * proced.el (proced-marked): Inherit from `error' instead of
10434 `font-lock-warning-face'.
10435
10436 * ibuffer.el (ibuffer-marked-face): Change default face from
10437 `font-lock-warning-face' to `warning'.
10438 (ibuffer-deletion-face): Change default face from
10439 `font-lock-type-face' to `error'.
10440
10441 * battery.el (battery-update): Use the face `error' instead of
10442 `font-lock-warning-face' (bug#6117).
10443
6a93965e
JL
104442011-08-24 Juri Linkov <juri@jurta.org>
10445
10446 * faces.el (success): Change face color from "Green3" to
10447 "ForestGreen" on light background (bug#9353).
10448
1ed43b09
CY
104492011-08-24 Chong Yidong <cyd@stupidchicken.com>
10450
5664fa7b
RT
10451 * window.el (quit-window): Rename from quit-restore-window.
10452 Use same arglist as old quit-window.
1ed43b09
CY
10453 (frame-auto-delete): Doc fix.
10454
10455 * view.el (view-mode-exit): Use quit-window.
10456
11dcdbb2
JL
104572011-08-24 Juri Linkov <juri@jurta.org>
10458
10459 * isearch.el (isearch-ring-adjust1): Start visiting previous
10460 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10461 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10462 for empty search string (when the last search string is reused
10463 automatically) to adjust the isearch ring to the last element and
10464 prepare the correct index for further M-p commands (bug#9185).
10465
de62b4df
KH
104662011-08-24 Kenichi Handa <handa@m17n.org>
10467
10468 * international/ucs-normalize.el: If decomposition property of
10469 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10470 nil.
10471 (nfd, nfkd): Likewise.
10472
963b492b
SM
104732011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10474
10475 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10476 from process filters aren't reliably transmitted to the surrounding
10477 accept-process-output.
10478 (mpc-proc-check): New function.
10479 (mpc-proc-sync): Use it (bug#8293)
10480
93b6b5e1
SM
104812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10484 Add compatibility functions (bug#9313).
10485
bca633fb
EZ
104862011-08-23 Eli Zaretskii <eliz@gnu.org>
10487
b177498a
EZ
10488 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10489
6df6ae42 10490 * international/uni-bidi.el: Regenerate.
bca633fb 10491
0902a04e
KH
104922011-08-23 Kenichi Handa <handa@m17n.org>
10493
10494 * international/charprop.el:
10495 * international/uni-bidi.el:
10496 * international/uni-category.el:
10497 * international/uni-combining.el:
10498 * international/uni-comment.el:
10499 * international/uni-decimal.el:
10500 * international/uni-decomposition.el:
10501 * international/uni-digit.el:
10502 * international/uni-lowercase.el:
10503 * international/uni-mirrored.el:
10504 * international/uni-name.el:
10505 * international/uni-numeric.el:
10506 * international/uni-old-name.el:
10507 * international/uni-titlecase.el:
10508 * international/uni-uppercase.el: Regenerate.
10509
3bbf23bc
MR
105102011-08-23 Martin Rudalics <rudalics@gmx.at>
10511
10512 * help.el (help-window-setup): Fix message displayed when other
10513 window is reused. (Bug#9341)
10514
b3fd59bd
SM
105152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10516
1802e444
SM
10517 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10518 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10519
b3fd59bd
SM
10520 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10521 Mark obsolete.
10522 * shell.el (shell-parse-pcomplete-arguments): New function.
10523 (shell-completion-vars): Use it instead (bug#9160).
10524
4eb61348
SM
105252011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10526
867cab74
SM
10527 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10528 strings and comments (bug#9333).
10529
4eb61348
SM
10530 * emacs-lisp/debug.el (debug-arglist): New function.
10531 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10532 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10533
262a1439
JL
105342011-08-22 Juri Linkov <juri@jurta.org>
10535
56ee679c
JL
10536 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10537 Revert regexp that highlights output switches to its old
10538 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10539
262a1439
JL
10540 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10541 to check for empty output (bug#9226).
10542
f13f86fb
CY
105432011-08-22 Chong Yidong <cyd@stupidchicken.com>
10544
10545 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10546 symbol-constituent as the default, as that stops font-lock from
10547 working properly (Bug#8843).
10548
c65c9622
LMI
105492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10550
10551 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10552 `coding-system-for-*' around the process open call to avoid
10553 auth-source side effects.
e7f2c178 10554 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10555 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10556 probe hangs.
c65c9622 10557
23a8a5ab
CY
105582011-08-21 Chong Yidong <cyd@stupidchicken.com>
10559
ff98b2dd
CY
10560 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10561
23a8a5ab
CY
10562 * emacs-lisp/find-func.el (find-function-noselect): New arg
10563 lisp-only.
10564
10565 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10566 signal an error for built-in functions (Bug#6664).
10567
f5e3c598
LMI
105682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10569
10570 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10571 (smtpmail-try-auth-methods): Use it.
10572
a3f2468a
CY
105732011-08-21 Chong Yidong <cyd@stupidchicken.com>
10574
2c34e8da
CY
10575 * font-lock.el (font-lock-fontify-region)
10576 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10577 (font-lock-default-unfontify-buffer)
10578 (font-lock-default-fontify-region)
10579 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10580
b3fd59bd
SM
10581 * progmodes/compile.el (compilation-error-properties):
10582 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10583 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10584 `ant' regexp.
ee31aabc 10585
a3f2468a
CY
10586 * net/browse-url.el (browse-url-firefox): Don't call
10587 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10588
8e999f70
GM
105892011-08-20 Glenn Morris <rgm@gnu.org>
10590
c21a496a
GM
10591 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10592
59ee0542
GM
10593 * tutorial.el (tutorial--default-keys): Update some default bindings.
10594
8e999f70
GM
10595 * files.el (hack-local-variables): Fully ignore case for "mode:".
10596
e3715033
AM
105972011-08-20 Alan Mackenzie <acm@muc.de>
10598
10599 Resolve invalid use of a regexp in regexp-opt.
10600
4d61f28d
JB
10601 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10602 detection for a java annotation.
e3715033 10603
4d61f28d 10604 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10605 detection for a java annotation.
10606
4d61f28d
JB
10607 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10608 handling for java.
e3715033
AM
10609 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10610
04ed2e9c
CY
106112011-08-20 Chong Yidong <cyd@stupidchicken.com>
10612
10613 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10614 (Bug#9274).
10615
826cee64
AM
106162011-08-20 Alan Mackenzie <acm@muc.de>
10617
58179cce 10618 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10619 such a construct. Mainly for when jit-lock etc. starts a chunk
10620 here.
10621
58179cce 10622 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10623 variable.
58179cce 10624 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10625 c-make-font-lock-search-function.
10626 (c-make-font-lock-search-function): Use the above function.
10627 (c-make-font-lock-context-search-function): New function.
10628 (c-cpp-matchers): Enhance the preprocessor expression case with
10629 the above function
10630 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10631 which takes an expression.
10632
10633 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10634
13009bd8
MR
106352011-08-20 Martin Rudalics <rudalics@gmx.at>
10636
10637 * window.el (display-buffer-reuse-window)
10638 (display-buffer-pop-up-window): Don't reuse or split a side
10639 window.
10640
9234ff7f
GM
106412011-08-19 Glenn Morris <rgm@gnu.org>
10642
10643 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10644 Downcase "Mode:". (Bug#9331)
9234ff7f 10645
f635daa1
CY
106462011-08-18 Chong Yidong <cyd@stupidchicken.com>
10647
10648 * international/characters.el: Add L and R categories.
10649
10650 * subr.el (bidi-string-mark-left-to-right): Rename from
10651 string-mark-left-to-right. Use category search.
10652
10653 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10654
bc987f8b
JL
106552011-08-18 Juri Linkov <juri@jurta.org>
10656
10657 * faces.el (error, warning, success): New faces with definitions
10658 copied from old default values of `font-lock-warning-face',
10659 `compilation-warning', `compilation-info' (bug#6117).
10660
10661 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10662
10663 * progmodes/compile.el (compilation-error): Inherit from `error'.
10664 (compilation-warning): Inherit from `warning'.
10665 (compilation-info): Inherit from `success'.
10666
10667 * dired.el (dired-marked): Inherit from `warning'.
10668 (dired-flagged): Inherit from `error'.
10669
57173b96
LMI
106702011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10671
3e79eb87
LMI
10672 * mail/smtpmail.el (auth-source): Require to avoid problems with
10673 binding variables (bug#9298). Also clean up some unused
10674 autoloads.
10675
b3fd59bd
SM
10676 * net/network-stream.el (network-stream-open-starttls):
10677 Support using starttls.el without using gnutls-cli.
57173b96 10678
02b404de
JL
106792011-08-17 Juri Linkov <juri@jurta.org>
10680
10681 * progmodes/grep.el (rgrep): Handle the case when
10682 `grep-find-command' is a cons cell (bug#9278).
10683
8c9177f2
MR
106842011-08-17 Martin Rudalics <rudalics@gmx.at>
10685
10686 * window.el (display-buffer-pop-up-frame): Run frame creation
10687 function with BUFFER current (as special-display-popup-frame
10688 does). Reported by Drew Adams.
10689
3644a0ab
DU
106902011-08-17 Daiki Ueno <ueno@unixuser.org>
10691
10692 * epa-mail.el: Simplify GnuPG group expansion using
10693 epg-expand-group.
10694 (epa-mail-group-alist, epa-mail-group-modtime)
10695 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10696 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10697 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10698 Remove.
10699
5e617bc2 107002011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10701
10702 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10703
9c4aeabf
AM
107042011-08-16 Alan Mackenzie <acm@muc.de>
10705
10706 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10707 Correct, to avoid the inside of macros.
10708
3a99bf64
RS
107092011-08-16 Richard Stallman <rms@gnu.org>
10710
04963aa8
RS
10711 * epa-mail.el: Handle GnuPG group definitions.
10712 (epa-mail-group-alist, epa-mail-group-modtime)
10713 (epa-mail-gnupg-conf-file): New variables.
10714 (epa-mail-parse-groups, epa-mail-sync-groups)
10715 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10716 (epa-mail-expand-recipients): New functions.
10717 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10718
177549d0
RS
10719 * mail/rmail.el (rmail-epa-decrypt): New command.
10720
fe38beef
RS
10721 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10722 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10723 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10724 (epa-decrypt-armor-in-region): Make error message clearer.
10725
934eacb9
SM
107262011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10729 and "a2b" to "ab" for `prefix'.
10730
d024fb4e
CY
107312011-08-14 Chong Yidong <cyd@stupidchicken.com>
10732
10733 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10734 filter groups.
de148fee
CY
10735 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10736 Fourquet (Bug#8804).
d024fb4e 10737
62f1ca49
JB
107382011-08-12 Juanma Barranquero <lekktu@gmail.com>
10739
10740 * startup.el (argi): Declare as global variable (bug#9275).
10741
9ccaaa4b
CY
107422011-08-12 Chong Yidong <cyd@stupidchicken.com>
10743
10744 * subr.el (string-mark-left-to-right): Search the entire string
10745 for RTL script, not just the terminating character. Doc fix.
10746
a3dae87a
SM
107472011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10748
6cd18349
SM
10749 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10750 New function.
10751 (js--regexp-literal, js-syntax-propertize-function): Remove.
10752 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10753 (js-mode-map): Don't rebind electric keys.
10754 (js-insert-and-indent): Remove.
10755 (js-mode): Setup electric-layout and electric-indent instead.
10756
a3dae87a
SM
10757 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10758
9d5cb631
DU
107592011-08-12 Daiki Ueno <ueno@unixuser.org>
10760
10761 * epa.el (epa-progress-callback-function): Fix the logic of
10762 displaying progress.
10763 * epa-file.el (epa-file-insert-file-contents): Make progress
10764 display more user-friendly.
10765 (epa-file-write-region): Ditto.
10766
3e26a4a2
CY
107672011-08-10 Chong Yidong <cyd@stupidchicken.com>
10768
10769 * subr.el (string-mark-left-to-right): New function.
10770
10771 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10772 Use string-mark-left-to-right.
10773 (list-buffers-noselect): Caller changed.
10774
a3dae87a
SM
10775 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10776 Use string-mark-left-to-right.
3e26a4a2
CY
10777 (tabulated-list-print): Recenter after moving point.
10778
ac8cf6e6
JL
107792011-08-10 Juri Linkov <juri@jurta.org>
10780
10781 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10782 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10783 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10784
8d96c9a4
CY
107852011-08-09 Chong Yidong <cyd@stupidchicken.com>
10786
10787 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10788 (Bug#7554).
10789
7be1c708 107902011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10791
10792 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10793 character. (Bug#6594)
10794
37e11a63
CY
107952011-08-08 Chong Yidong <cyd@stupidchicken.com>
10796
839dde57
CY
10797 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10798 (image-dired--with-db-file): New macro.
10799 (image-dired-write-tags, image-dired-remove-tag)
10800 (image-dired-create-gallery-lists, image-dired-write-comments)
10801 (image-dired-get-comment, image-dired-mark-tagged-files)
10802 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10803 (image-dired-gallery-generate): Use insert-file-contents.
10804
37e11a63
CY
10805 * time.el (display-time-world-list, display-time-world-display):
10806 * time-stamp.el (time-stamp-string):
10807 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10808 set-time-zone-rule (Bug#7337).
10809
0b4946c4
DU
108102011-08-08 Daiki Ueno <ueno@unixuser.org>
10811
10812 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10813 (epg-error-to-string, epg-errors-to-string): New function.
10814 (epg-wait-for-completion): Reverse errors list.
10815 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10816 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10817 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10818 (epg-sign-keys, epg-generate-key-from-file)
10819 (epg-generate-key-from-string): Format errors by using
10820 epg-errors-to-string (bug#9255).
10821 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10822
75bfc667
JL
108232011-08-07 Juri Linkov <juri@jurta.org>
10824
10825 * faces.el (list-faces-display): Remove extra angle bracket
10826 from `help-mode-map'.
10827
10828 * info.el (Info-history-toc-nodes): Doc fix.
10829
10830 * longlines.el (longlines-mode): Doc fix.
10831
673e08bb
SM
108322011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10833
4640dd88
SM
10834 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10835 of statements and in a few more cases (bug#9183).
10836
673e08bb
SM
10837 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10838 New functions.
10839 (cl-transform-lambda): Use them (bug#9239).
10840
89b3f019
MR
108412011-08-05 Martin Rudalics <rudalics@gmx.at>
10842
10843 * window.el (display-buffer-same-window)
10844 (display-buffer-same-frame, display-buffer-other-window)
10845 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10846 (pop-to-buffer-other-window)
10847 (pop-to-buffer-same-frame-other-window)
10848 (pop-to-buffer-other-frame): Make them defuns.
10849 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10850
640c8776
SM
108512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * subr.el (make-composed-keymap): Move from C. Change calling
10854 convention, and improve docstring to bring attention to a subtle point.
10855 * minibuffer.el (completing-read-default): Adjust accordingly.
10856
63648a95
MA
108572011-08-03 Michael Albinus <michael.albinus@gmx.de>
10858
10859 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10860 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10861
10862 * net/trampver.el: Update release number.
10863
b796c9b7
SM
108642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10867 "in" (bug#9190).
10868
2239d7d5
LMI
108692011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10870
e07dd7c3
LMI
10871 * mail/sendmail.el (sendmail-query-once): Restore the current
10872 buffer after querying (bug#9074).
10873
0e6a2bd7
LMI
10874 * dired.el (dired-flagged): Use different faces for marked and
10875 flagged files (bug#6117).
10876
ce887515
LMI
10877 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10878 (bug#4433).
10879
92f2affc
LMI
10880 * ido.el (ido-mode): Switch off the message if called
10881 non-interactively.
10882
57d5aff0
LMI
10883 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10884 before 587, since it appears that that's more likely to work for
10885 more people.
10886
98cd6c18 10887 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10888 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10889 exist.
10890
b96dec83
LMI
10891 * info.el: Remove the `Info-beginning-of-buffer' function
10892 (bug#8325).
10893
b796c9b7
SM
10894 * net/network-stream.el (network-stream-open-starttls):
10895 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10896
d90e2ea0
MR
108972011-08-01 Martin Rudalics <rudalics@gmx.at>
10898
10899 * window.el (display-buffer-in-window): Don't set dedicated status
10900 of window here (Bug#9215).
10901 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10902 (display-buffer-pop-up-side-window)
b796c9b7 10903 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10904
cca09170
SM
109052011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10908 before binding generated-autoload-file.
10909
027b979c
DD
109102011-08-01 Deniz Dogan <deniz@dogan.se>
10911
10912 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10913
3c7ee4f3
MA
109142011-07-30 Michael Albinus <michael.albinus@gmx.de>
10915
10916 Sync with Tramp 2.2.2.
10917
10918 * net/trampver.el: Update release number.
10919
2cc8e51a
JL
109202011-07-30 Juri Linkov <juri@jurta.org>
10921
10922 * dired-aux.el (dired-touch-initial): Remove function.
10923 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10924 current time, and `default' to the last modification time of the
10925 current marked file (bug#6887).
10926
a514d856
JM
109272011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10928
10929 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10930 numeric argument to read-number (bug#9163).
a514d856 10931
8a7eddd7
MA
109322011-07-27 Michael Albinus <michael.albinus@gmx.de>
10933
10934 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10935 connection process, it could be nil.
10936
1ddd96f5
LL
109372011-07-27 Leo Liu <sdl.web@gmail.com>
10938
10939 Simplify url handling in rcirc-mode.
10940
10941 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10942 (rcirc-browse-url-at-mouse): Remove.
10943 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10944
b248a85d
AM
109452011-07-26 Alan Mackenzie <acm@muc.de>
10946
10947 Fontify bitfield declarations properly.
10948
10949 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10950 (c-symbol-chars): Now exported as a lang variable.
10951 (c-not-primitive-type-keywords): New lang variable.
10952
10953 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10954 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10955 parsed as a bitfield declaration.
b248a85d 10956
b796c9b7
SM
10957 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10958 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10959 (c-punctuation-in): New function.
10960 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10961 declarations properly.
10962
68575ab0
UJ
109632011-07-26 Ulf Jasper <ulf.jasper@web.de>
10964
10965 * calendar/icalendar.el (icalendar--all-events): Take care of
10966 multiple vcalendars in a single file.
b796c9b7 10967 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10968
0f0a88b9
DD
109692011-07-25 Deniz Dogan <deniz@dogan.se>
10970
10971 * image.el (insert-image): Clarifying docstring.
10972
0b3f36df
MA
109732011-07-24 Michael Albinus <michael.albinus@gmx.de>
10974
10975 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10976 `tramp-send-command-and-check' if there is no error.
10977 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10978
a9901f61
AM
109792011-07-22 Alan Mackenzie <acm@muc.de>
10980
10981 Prevent cc-langs.elc being loaded at run time.
10982
10983 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10984 cc-langs.
10985
4d61f28d 10986 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10987 "(require 'cc-langs)". Quote a form so it will evaluate at
10988 (cc-mode's) compilation time.
10989
11d074b2
MA
109902011-07-22 Michael Albinus <michael.albinus@gmx.de>
10991
10992 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10993 loading. (Bug#9114)
10994
938b94c8
MR
109952011-07-21 Martin Rudalics <rudalics@gmx.at>
10996
10997 * window.el (display-buffer-pop-up-window)
10998 (display-buffer-pop-up-side-window)
10999 (display-buffer-in-side-window): Call display-buffer-set-height
11000 and display-buffer-set-width after setting the new window's
b796c9b7 11001 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11002
bfa4f190
SS
110032011-07-20 Sam Steingold <sds@gnu.org>
11004
11005 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11006 (etags-tags-included-tables): Call `convert-standard-filename' on
11007 the file names contained in TAGS so that windows Emacs can handle
11008 TAGS files created by cygwin ctags.
11009
8ca42262
LMI
110102011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11011
11012 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11013 which apparently didn't work.
11014
5db2afd2 110152011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11016
5db2afd2
RW
11017 * proced.el (proced-send-signal): For *Marked Processes* buffer
11018 put point at beginning of buffer.
11019
92e15d10
SB
110202011-07-19 Stephen Berman <stephen.berman@gmx.net>
11021
11022 * proced.el (proced-format): Make header lines align with the text
11023 (bug#1779).
11024
1bfd59e5
LMI
110252011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11026
11027 * view.el (view-buffer): Allow running in `special' modes if we're
11028 visiting a file (bug#8615).
11029
f5aae37c
MR
110302011-07-19 Martin Rudalics <rudalics@gmx.at>
11031
11032 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11033 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11034 New functions.
f5aae37c
MR
11035 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11036 more accurately.
11037
bf2c1571
AM
110382011-07-18 Alan Mackenzie <acm@muc.de>
11039
11040 Fontify declarators properly when, e.g., a jit-lock chunk begins
11041 inside a declaration.
11042
11043 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11044
b796c9b7
SM
11045 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11046 New function.
bf2c1571
AM
11047 (c-complex-decl-matchers): Insert reference to
11048 c-font-lock-enclosing-decls.
11049
11050 * progmodes/cc-engine.el (c-backward-single-comment):
11051 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11052 to nil around calls to (forward-comment -1).
11053
4e190b80
LMI
110542011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11055
12dc863d
LMI
11056 * image.el (put-image): Doc typo fix.
11057
a762e966
LMI
11058 * progmodes/etags.el (tags-search): Doc typo fix.
11059
4e190b80
LMI
11060 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11061 password if we get errors 550 to 554.
11062
f019fb21
LMI
110632011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11064
b796c9b7 11065 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11066
81746738
LMI
11067 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11068 indentation character (bug#6380).
11069
3ee3a1b5
LMI
11070 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11071
c82f64de
LMI
11072 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11073 to clarify what the problem is (bug#4291).
11074
f019fb21
LMI
11075 * simple.el (current-kill): Clarify what
11076 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11077 (auto-fill-mode): Document `auto-fill-function' in relation to
11078 `auto-fill-mode' (bug#2470).
f019fb21 11079
0794775d
LM
110802011-07-16 Lawrence Mitchell <wence@gmx.li>
11081
11082 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11083 method if slot is read-only (bug#9035).
11084
be39b8cc
MR
110852011-07-16 Martin Rudalics <rudalics@gmx.at>
11086
b796c9b7 11087 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11088 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11089 selected before, see discussion of (Bug#8615), (Bug#6954).
11090 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11091
6ccf7859
GM
110922011-07-15 Glenn Morris <rgm@gnu.org>
11093
11094 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11095 Respect help-form.
6ccf7859 11096
87e86684
LM
110972011-07-09 Lawrence Mitchell <wence@gmx.li>
11098
11099 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11100 (gnutls-negotiate): Use it.
11101
d6066239
LMI
111022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11103
b796c9b7
SM
11104 * net/gnutls.el (gnutls-negotiate):
11105 Upcase `gnutls-algorithm-priority'.
d6066239 11106
bd23ebc0
GM
111072011-07-15 Glenn Morris <rgm@gnu.org>
11108
c65bca65
GM
11109 * jka-compr.el (jka-compr-verbose): Move from here...
11110 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11111 Add missing :version tag.
11112 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11113
478615cc
LMI
111142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11115
7b41decb
LMI
11116 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11117 (gnutls-negotiate): Use it.
11118
dbc44fcd
LMI
11119 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11120
06789f97
LMI
11121 * info.el (Info-beginning-of-buffer): New command.
11122 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11123 announcing `b' as the key (bug#8325).
ab896c37 11124 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11125
c39da690
LMI
11126 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11127
3aa5f34b
LMI
11128 * international/mule-cmds.el
11129 (describe-specified-language-support): Make the error message
11130 clearer (bug#8905).
11131
4bf0979f
LMI
11132 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11133
478615cc
LMI
11134 * isearch.el (isearch-barrier): Add a doc string, since it's
11135 mentioned in a function doc string (bug#8678).
11136
75c68aa1
MR
111372011-07-15 Martin Rudalics <rudalics@gmx.at>
11138
11139 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11140 buffer argument (Bug#9083) and self-identifying label argument.
11141
a7c33da2
GM
111422011-07-15 Glenn Morris <rgm@gnu.org>
11143
11144 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11145
2f5c6024
LMI
111462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11147
11148 * man.el (Man-fontify-manpage): Fix message when formatting the
11149 man page (bug#7929).
11150
0bb23927 111512011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11152
11153 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11154 argument LRM; if non-nil, append an invisible LRM character to the
11155 buffer name.
11156 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11157 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11158 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11159 paragraph direction.
cce4b0a7 11160
621ef9ab
LMI
111612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11162
d1583c48
LMI
11163 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11164 the man page name (bug#7929).
11165
6a57fb5f
LMI
11166 * image.el (put-image): Mention the `put-image' overlay property
11167 (bug#7834).
11168
d7956b14
LMI
11169 * scroll-bar.el (set-scroll-bar-mode): Mention that
11170 `scroll-bar-mode' lists the values (bug#7772).
11171
5b2d4a66
LMI
11172 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11173 command (bug#7729).
11174
7509a874
LMI
11175 * rect.el (apply-on-rectangle): Return the point after the last
11176 operation.
11177 (string-rectangle): Go to the point after the last operation
11178 (bug#7522).
11179
4fe74b19
LMI
11180 * printing.el (pr-toggle-region): Clarify the documentation
11181 slightly (bug#7493).
11182
b796c9b7
SM
11183 * time.el (display-time-update):
11184 Allow `display-time-mail-function' to return nil (bug#7158).
11185 Fix suggested by Detlev Zundel.
ab283561 11186
fc233c9d
LMI
11187 * vc/diff.el (diff): Clarify the order the file names are read
11188 (bug#7111).
11189
43f5740b
LMI
11190 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11191 the doc string (bug#7015).
11192
f2182a76
LMI
11193 * font-lock.el (font-lock-maximum-decoration): Mention what
11194 numeric levels mean (bug#6935).
11195
621ef9ab
LMI
11196 * startup.el (initial-buffer-choice): Don't mention the `none'
11197 selection, which is against policy.
11198
adc47434
MR
111992011-07-14 Martin Rudalics <rudalics@gmx.at>
11200
b796c9b7
SM
11201 * window.el (display-buffer-normalize-special):
11202 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11203
7e5bfb8f
EZ
112042011-07-14 Eli Zaretskii <eliz@gnu.org>
11205
11206 * subr.el (version<, version<=, version=): Mention "-CVS" and
11207 "-12345" alpha version numbers.
11208
27fa387a
CY
112092011-07-14 Chong Yidong <cyd@stupidchicken.com>
11210
11211 * bindings.el: Add advertised binding for set-mark-command
11212 (Bug#5772).
11213
8bdfa064
CY
112142011-07-14 Chong Yidong <cyd@stupidchicken.com>
11215
11216 * bindings.el (mode-line-other-buffer):
11217 * bookmark.el (bookmark-bmenu-2-window):
11218 * bs.el (bs-cycle-next, bs-cycle-previous):
11219 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11220 switch-to-buffer.
11221
11222 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11223 Delete.
8bdfa064 11224
5eba16a3
JB
112252011-07-14 Juanma Barranquero <lekktu@gmail.com>
11226
11227 * follow.el (follow-debug-message, follow-redisplay):
11228 * jka-cmpr-hook.el (with-auto-compression-mode):
11229 Fix typos in docstrings.
11230
15853710
LMI
112312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11232
a28e4607
LMI
11233 * subr.el (with-silent-modifications): Clarify somewhat what the
11234 macro inhibits (bug#6525).
11235
15853710
LMI
11236 * simple.el (eval-expression): Note what it does if called
11237 interactively (bug#6495).
11238
bee0fcef
CY
112392011-07-13 Chong Yidong <cyd@stupidchicken.com>
11240
b796c9b7
SM
11241 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11242 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11243
11244 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11245 Remove switch-to-buffer.
11246
58274504
LMI
112472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11248
bd2fcc8d
LMI
11249 * files.el (make-directory): Clarify that an error will be raised
11250 if there's an error (bug#6397).
11251
0f04b32c
LMI
11252 * startup.el (initial-buffer-choice): Add `none' as a choice
11253 (bug#6234).
11254
465c5fc8
LMI
11255 * subr.el (add-hook): Clarify section about buffer-local hooks
11256 (bug#6218).
11257
58274504
LMI
11258 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11259
bead9a43
JB
112602011-07-13 Juanma Barranquero <lekktu@gmail.com>
11261
11262 * tabify.el (untabify): Preserve the current column so that point
11263 doesn't move (bug#6032).
11264
3af98a7b
LMI
112652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11266
b796c9b7
SM
11267 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11268 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11269
6240145a
GM
112702011-07-13 Glenn Morris <rgm@gnu.org>
11271
11272 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11273 (dired-insert-directory): Give a message the first time
11274 if ls is found not to support --dired.
11275
1d8c2ccc
LMI
112762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11277
11278 * simple.el (toggle-truncate-lines): Clarify what is toggled
11279 (bug#5580). Text by Drew Adams.
11280
5fc4038e
CY
112812011-07-13 Chong Yidong <cyd@stupidchicken.com>
11282
11283 * simple.el (blink-matching-open): Make the error message from the
11284 last change less verbose.
11285
bf6012e5
DN
112862011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11287
11288 * font-lock.el (font-lock-comment-face): Use the high contrast
11289 "yellow" color for font-lock-comment-face on low color terminals
11290 using a dark background color (bug#4221).
11291
343c3b5a
LMI
112922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11293
7e9505c5
LMI
11294 * dired.el (dired-insert-set-properties): Make the doc string
11295 reflect what it does now (bug#5325).
11296
c26fdcf5
LMI
11297 * simple.el (blink-matching-open): Say that we were unable to find
11298 the match within the limit, if we're limited (bug#5122).
11299
bb388cc5
LMI
11300 * international/mule-cmds.el (prefer-coding-system): Add an
11301 example (bug#4869).
11302
343c3b5a
LMI
11303 * progmodes/etags.el (tags-search): Document `file-list-form'
11304 (bug#4731).
11305
2a517d45
LM
113062011-07-13 Lawrence Mitchell <wence@gmx.li>
11307
11308 * net/browse-url.el (browse-url-default-browser)
11309 (browse-url-browser-function): Make the default browser choice a
11310 bit more logical (bug#4300). Also clean up the doc string.
11311
b6c78ef2
JB
113122011-07-13 Juanma Barranquero <lekktu@gmail.com>
11313
11314 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11315 binary endings (bug#4440).
11316
1c4dd947
LMI
113172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11318
a2014063
LMI
11319 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11320 which can be pretty annoying (bug#8971).
11321
9c9c2d88
LMI
11322 * jka-compr.el (jka-compr-verbose): New variable, and use
11323 throughout (bug#8971).
11324
1c4dd947
LMI
11325 * info.el (Info-find-file): Fall back on the installation
11326 directory if we can't find the info node anywhere else.
11327
a1c9f41b
SO
113282011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11329
11330 * vc/vc.el (vc-revert-file):
11331 Don't set file time-stamp in the past. (Bug#5181)
11332
536f3d36
LMI
113332011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11334
7152b011
LMI
11335 * files.el (after-find-file): Give a better error message when
11336 trying to find a symlink that points to a file that doesn't exist
11337 (bug#4398).
11338
536f3d36
LMI
11339 * progmodes/cc-vars.el: Remove (probably) misleading comment
11340 (bug#4396).
11341
460c0fba
JB
113422011-07-12 Johan Bockgård <bojohan@gnu.org>
11343
11344 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11345
7a6bda45
CY
113462011-07-12 Chong Yidong <cyd@stupidchicken.com>
11347
11348 * mouse-sel.el: Hack restoring functionality, while keeping
11349 compatibility with 2010-07-03 changes to mouse selection.
11350 (mouse-sel-primary-overlay): New var.
11351 (mouse-sel-selection-alist): Use it.
11352 (mouse-sel-mode): Doc fix; remove points that are default features
11353 of mouse.el.
11354
c79598ef
JB
113552011-07-12 Johan Bockgård <bojohan@gnu.org>
11356
11357 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11358 Fix previous fix (bug#2490).
11359
ff8be6ef
RW
113602011-07-12 Roland Winkler <winkler@gnu.org>
11361
b796c9b7
SM
11362 * textmodes/bibtex.el (bibtex-initialize):
11363 Use pop-to-buffer-same-window.
ff8be6ef
RW
11364 (bibtex-search-entries): Fix interactive call.
11365
296ba3ee
LMI
113662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11367
f5242a02 11368 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11369 Fontise bytecomp Error lines more correctly (bug#2490).
11370 Fix suggested by Johan Bockgård.
f5242a02 11371
296ba3ee
LMI
11372 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11373
11374 * dired-x.el (dired-guess-default): Use `delete-dups'.
11375
f69fd0d2
CY
113762011-07-12 Chong Yidong <cyd@stupidchicken.com>
11377
11378 * dired.el (dired-mark-prompt):
11379 * dired-aux.el (dired-read-shell-command): Doc fix.
11380
eab5dc07
LMI
113812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11382
b796c9b7
SM
11383 * mail/sendmail.el (sendmail-query-once):
11384 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11385 emacs -Q.
11386
11387 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11388
eab5dc07
LMI
11389 * cus-edit.el (custom-file): Take an optional no-error variable.
11390 (customize-save-variable): Set the variable, and give a warning if
11391 running under "emacs -q".
11392
a1e65d42
JB
113932011-07-11 Juanma Barranquero <lekktu@gmail.com>
11394
11395 * loadhist.el (unload-feature-special-hooks):
11396 Add `auto-coding-functions', `fill-nobreak-predicate' and
11397 `find-directory-functions' (bug#5327).
11398
1d52da10
LMI
113992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11400
be958f1d
LMI
11401 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11402
5bedb26c
LMI
11403 * cus-edit.el (custom-guess-name-alist): -alist variables should
11404 use the `alist' type (bug#3120). Suggested by Drew Adams.
11405
1d52da10
LMI
11406 * printing.el: Add documentation to all the `pr-toggle-' commands.
11407
cd394be1 114082011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11409
11410 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11411 backends where it makes sense (bug#2623).
11412
dcc88d8a
LMI
114132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11414
c3de9feb
LMI
11415 * dired-x.el (dired-guess-default): Remove duplicate shell command
11416 entries (bug#2028).
8a93078b 11417 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11418 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11419
dcc88d8a
LMI
11420 * subr.el (remove-duplicates): New conveniency function.
11421
505e3645
LMI
114222011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11423
11424 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11425 (bug#1526).
11426
114272011-07-10 Martin Rudalics <rudalics@gmx.at>
11428
11429 * window.el (display-buffer-normalize-default): Don't invert
11430 meaning of even-window-heights. Reported by Eli Zaretskii
11431 <eliz@gnu.org>.
11432
455e4fa1
BR
114332011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11434
11435 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11436
8e0bc3e9
CY
114372011-07-10 Chong Yidong <cyd@stupidchicken.com>
11438
11439 * window.el (display-buffer): Fix arguments to
11440 display-buffer-reuse-window in last change.
11441
fa7c3228
CY
11442 * faces.el (link): Use a less saturated blue on light backgrounds.
11443
11444 * startup.el (fancy-startup-text, fancy-about-text)
11445 (fancy-startup-tail): Use font-lock faces, for background safety.
11446
c0a7f300
BN
114472011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11448
b796c9b7
SM
11449 * emulation/viper-cmd.el (viper-change-state-to-vi):
11450 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11451
4dc2a129
MR
114522011-07-09 Martin Rudalics <rudalics@gmx.at>
11453
11454 * window.el (display-buffer-default-specifiers): Remove.
11455 (display-buffer-macro-specifiers): Remove default specifiers.
11456 (display-buffer-alist): Default to nil.
b796c9b7 11457 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11458 (display-buffer-pop-up-window): Allow splitting internal
11459 windows. Check whether a live window was created.
11460 (display-buffer-other-window-means-other-frame)
11461 (display-buffer-normalize-arguments): Rename to
11462 display-buffer-normalize-argument and rewrite. Set the
11463 other-window specifier.
11464 (display-buffer-normalize-special): New function.
11465 (display-buffer-normalize-options): Rename to
11466 display-buffer-normalize-default and rewrite.
11467 (display-buffer-normalize-options-inhibit): Remove.
11468 (display-buffer-normalize-specifiers): Rewrite.
11469 (display-buffer): Process other-window specifier and call
11470 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11471 more faithfully.
b796c9b7 11472 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11473 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11474 (display-buffer-in-window, display-buffer-alist-set):
11475 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11476 <tassilo@member.fsf.org>.
11477
2d43b8c9
LL
114782011-07-09 Leo Liu <sdl.web@gmail.com>
11479
11480 * register.el (insert-register): Restore accidental change on
11481 2011-06-26. (Bug#9028)
11482
7f9b7c53
GM
114832011-07-09 Glenn Morris <rgm@gnu.org>
11484
11485 * subr.el (remq): Handle the empty list. (Bug#9024)
11486
f042cfd8
AS
114872011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11488
11489 * mail/sendmail.el (send-mail-function): No longer delay custom
11490 initialization.
11491 * custom.el (custom-initialize-delay): Doc fix.
11492
856b2f11
SM
114932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11496
afae1d68
MA
114972011-07-08 Michael Albinus <michael.albinus@gmx.de>
11498
11499 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11500 human-friendly prompt.
11501
0757af94
SM
115022011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11503
11504 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11505 provided by a particular plugin.
11506
d760b731
LMI
115072011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11508
11509 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11510 save customizations (with "emacs -Q"), just set the variable
11511 instead of erroring out.
11512
11513 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11514
cd79ce90
JL
115152011-07-08 Juri Linkov <juri@jurta.org>
11516
11517 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11518 (archive-zip-update-case): Use 7z if found by `executable-find'.
11519 The order of searching the available programs is the same as in
11520 `archive-zip-extract' (bug#8968).
11521
14cc04aa
CY
115222011-07-07 Chong Yidong <cyd@stupidchicken.com>
11523
11524 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11525 (menu-bar-options-menu): Tweak descriptions.
11526
0a1848ec
LMI
115272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11528
11529 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11530 menu items into verb phrases (bug#1421). Also refill to fit under
11531 80 columns.
11532
f5bd0689
CY
115332011-07-07 Chong Yidong <cyd@stupidchicken.com>
11534
538e85c6
CY
11535 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11536 (Info-read-node-name): Doc fix (Bug#1084).
11537
f5bd0689
CY
11538 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11539 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11540 (end-of-sexp, beginning-of-sexp)
11541 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11542 (forward-symbol, forward-same-syntax, word-at-point)
11543 (sentence-at-point): Doc fix (Bug#1144).
11544
56ec5115
LMI
115452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11546
f3f8e37f
LMI
11547 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11548 should cover it (bug#1281).
11549
0757af94 11550 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11551
e9fce1ac 11552 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11553 negotiation fails, then possibly try again with a non-encrypted
11554 connection (bug#9017).
11555
56ec5115
LMI
11556 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11557 be used.
11558
c2f9aec8
RS
115592011-07-07 Richard Stallman <rms@gnu.org>
11560
11561 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11562 property, and handle its changed format.
11563 Look for the correct line number.
11564 Use file's line contents (but not past first =) to find
11565 correct line in message.
11566
ef7b981d 115672011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11568
11569 * international/characters.el (build-unicode-category-table):
11570 Delete it.
0757af94 11571 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11572
0757af94 11573 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11574 to src/chartab.c.
11575 (get-char-code-property): Call unicode-property-table-internal to
11576 load a file. Call get-unicode-property-internal where necessary.
11577 (put-char-code-property): Call unicode-property-table-internal to
11578 load a file. Call put-unicode-property-internal where necessary.
11579 put-unicode-property-internal where necessary.
0757af94
SM
11580 (char-code-property-description):
11581 Call unicode-property-table-internal to load a file.
c805dec0
KH
11582
11583 * international/charprop.el:
11584 * international/uni-bidi.el:
11585 * international/uni-category.el:
11586 * international/uni-combining.el:
11587 * international/uni-comment.el:
11588 * international/uni-decimal.el:
11589 * international/uni-decomposition.el:
11590 * international/uni-digit.el:
11591 * international/uni-lowercase.el:
11592 * international/uni-mirrored.el:
11593 * international/uni-name.el:
11594 * international/uni-numeric.el:
11595 * international/uni-old-name.el:
11596 * international/uni-titlecase.el:
11597 * international/uni-uppercase.el: Regenerate.
11598
11599 * loadup.el: Load international/charprop.el before
11600 international/characters.
11601
e14b388a
CY
116022011-07-07 Chong Yidong <cyd@stupidchicken.com>
11603
11604 * window.el (next-buffer, previous-buffer): Signal an error if
11605 called from a minibuffer window.
11606
11607 * bindings.el: Revert 2011-07-04 change.
11608
354cf0ba
RS
116092011-07-06 Richard Stallman <rms@gnu.org>
11610
11611 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11612 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11613 Treat markers like ints.
11614 (rmail-mime-entity): Doc fix.
11615
a48868a7
LMI
116162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11617
4906cd3d
LMI
11618 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11619 defcustom again for backwards compatibility.
11620
e0457abe
LMI
11621 * simple.el (shell-command-on-region): Fill.
11622
d67f7e1f
LMI
11623 * dired-aux.el (dired-kill-line): Add a doc string.
11624
fe204702
LMI
11625 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11626 to "\\sw\\|\\s_" (bug#358).
11627
a48868a7
LMI
11628 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11629 (dired-unmark-backward): Ditto.
11630 (dired-flag-backup-files): Ditto.
11631
11632 * dired-x.el (dired-mark-sexp): Ditto.
11633
aa8a705c
RS
116342011-07-06 Richard Stallman <rms@gnu.org>
11635
11636 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11637 (rmail-mime-entity): New arg TRUNCATED.
11638 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11639 New functions.
11640 (rmail-mime-save): Warn if entity is truncated.
11641 (rmail-mime-toggle-hidden): Likewise, for showing.
11642 (rmail-mime-process-multipart): Record when an entity is truncated.
11643
a9a936b9
RS
11644 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11645 if ENTITY is a string.
11646
1f2b92cb
LMI
116472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11648
f4f73198 11649 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11650 of faces when `M-C-x'-ing their definitions (bug#8378).
11651 Also clean up the code slightly.
f4f73198 11652
12b16734 11653 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11654 because that makes the colors go away.
12b16734 11655
f0691d22
LMI
11656 * mail/sendmail.el (send-mail-function): Change the default to
11657 `sendmail-query-once'.
9e87df06 11658 (sendmail-query-once): Add an autoload cookie.
f0691d22 11659
1f2b92cb
LMI
11660 * net/network-stream.el (network-stream-open-starttls): Try using
11661 a plain connection even if the server offered STARTTLS, and we
11662 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11663 capability. This should make smtpmail.el work in slightly more
11664 configurations.
11665
1cdd2a1b
MA
116662011-07-06 Michael Albinus <michael.albinus@gmx.de>
11667
11668 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11669 New defun.
11670 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11671
fbcc67e2
MM
116722011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11673
11674 * progmodes/sql.el: Version 3.0
0757af94 11675 (sql-product-alist): Add product :completion-object,
fbcc67e2 11676 :completion-column, and :statement attributes.
0757af94 11677 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11678 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11679 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11680 ansi keywords.
11681 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11682 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11683 (sql-oracle-show-reserved-words): New function for development.
11684 (sql-product-font-lock): Simplify for source code buffers.
11685 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11686 New functions.
11687 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11688 (sql-mode-map): Add statement movement functions.
11689 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11690 New variable.
fbcc67e2
MM
11691 (sql-statement-regexp, sql-beginning-of-statement)
11692 (sql-end-of-statement, sql-signum): New functions.
0757af94 11693 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11694 (sql-show-sqli-buffer): Bug fix.
11695 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11696 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11697 with sql-interactive-mode.
11698 (sql-save-connection): Save buffer local settings.
0757af94 11699 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11700 (sql-product-interactive): Bug fix.
11701 (sql-preoutput-hold): New variable.
11702 (sql-interactive-remove-continuation-prompt): Bug fixes.
11703 (sql-debug-redirect): New variable.
11704 (sql-str-literal): New function.
11705 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11706 Redesign.
fbcc67e2
MM
11707 (sql-oracle-save-settings, sql-oracle-restore-settings)
11708 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11709 (sql-completion-object, sql-completion-column)
11710 (sql-completion-sqlbuf): New variables.
11711 (sql-build-completions-1, sql-build-completions)
11712 (sql-try-completion): New functions.
11713 (sql-read-table-name): Use them.
11714 (sql-contains-names): New buffer local variable.
11715 (sql-list-all, sql-list-table): Use it.
11716 (sql-oracle-completion-types): New variable.
11717 (sql-oracle-completion-object, sql-sqlite-completion-object)
11718 (sql-postgres-completion-object): New functions.
11719
d4eaeab1
GM
117202011-07-06 Glenn Morris <rgm@gnu.org>
11721
11722 * window.el (pop-to-buffer): Doc fix.
11723
322b7dab 117242011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11725
11726 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11727
322b7dab 117282011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11729
322b7dab 11730 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11731
322b7dab 11732 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11733
605dd5bf
CY
117342011-07-05 Chong Yidong <cyd@stupidchicken.com>
11735
11736 * button.el (button): Inherit from link face. Suggested by Dan
11737 Nicolaescu.
11738
7dbfa719
SM
117392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11740
3db614b0
SM
11741 * progmodes/gdb-mi.el: Fit in 80 columns.
11742 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11743 switch-to-buffer.
11744
7dbfa719
SM
11745 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11746 if imenu is simply not configured (bug#8941).
11747
919d884a
KM
117482011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11749
11750 * allout.el (allout-post-undo-hook): New allout outline-change
11751 event hook to signal undo activity.
11752 (allout-post-command-business): Run allout-post-undo-hook if an
11753 undo just occurred.
7dbfa719
SM
11754 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11755 * allout-widgets.el (allout-widgets-after-undo-function):
11756 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11757 in the vicinity of an undo.
11758 (allout-widgets-mode): Include allout-widgets-after-undo-function
11759 on the new allout-post-undo-hook.
11760
450a0f09
SM
117612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11762
11763 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11764 Let define-derived-mode define it.
11765 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11766 cycles of abbrev-table inheritance (bug#8998).
11767
2de69e00
RW
117682011-07-05 Roland Winkler <winkler@gnu.org>
11769
11770 * textmodes/bibtex.el: Add support for biblatex.
11771 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11772 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11773 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11774 (bibtex-entry-alist, bibtex-field-alist): New variables.
11775 (bibtex-entry-field-alist): Obsolete alias for
11776 bibtex-BibTeX-entry-alist.
11777 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11778 (bibtex-set-dialect): New command.
11779 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11780 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11781 Bind via bibtex-set-dialect.
2de69e00
RW
11782 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11783 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11784 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11785 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11786 Define via bibtex-set-dialect.
450a0f09
SM
11787 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11788 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11789 (bibtex-vec-push, bibtex-vec-incr): New functions.
11790 (bibtex-format-entry, bibtex-field-list)
11791 (bibtex-print-help-message, bibtex-validate)
11792 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11793
2dcdbdd9
SM
117942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11795
11796 * progmodes/compile.el (compilation-goto-locus):
11797 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11798 * bs.el (bs-cycle-next, bs-cycle-previous):
11799 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11800 * bindings.el (mode-line-other-buffer):
11801 * autoinsert.el (auto-insert):
11802 * arc-mode.el (archive-extract):
11803 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11804
b27640fe
JB
118052011-07-05 Juanma Barranquero <lekktu@gmail.com>
11806
11807 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11808 Fix check of `emacs-lock-unlockable-modes'.
11809 Coerce true values of `emacs-lock--try-unlocking' to t.
11810
53bbe3ad
JB
118112011-07-05 Juanma Barranquero <lekktu@gmail.com>
11812
11813 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11814 * emacs-lock.el: New file.
11815
1d3cdbc7
JD
118162011-07-05 Julien Danjou <julien@danjou.info>
11817
11818 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11819 than `boundp' to check if face is set.
11820
9173deec
JB
118212011-07-05 Juanma Barranquero <lekktu@gmail.com>
11822
11823 * register.el (registerv-make):
11824 * window.el (window-min-height): Fix typos in docstrings.
11825
869795d6
JD
118262011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11827
9173deec 11828 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11829 Update doc string.
11830
b768cdcd
JB
118312011-07-04 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * server.el (server-execute): Catch quit and call
11834 `server-return-error' to pass the error back to emacsclient and
11835 close the connection (bug#8942).
11836
13aa217b
KM
118372011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11838
11839 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11840 insecure exception for current topic. Also note that auto-saves
11841 are handled differently.
11842
5d3385a0 11843 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11844 State variables for tracking auto-save inhibition situation.
11845
11846 (allout-write-contents-hook-handler): Rename from
11847 'allout-write-file-hook-handler', and describe how it depends on
11848 write-contents-functions sensitivity to non-nil value to prevent
11849 file write.
11850
11851 (allout-auto-save-hook-handler): Remove. auto-save does not check
11852 this in individual buffers, only in the starting buffer, so this
11853 is not the right way for us to inhibit auto-save in a buffer
11854 according to its condition.
11855
11856 (allout-mode): Use new allout-write-contents-hook-handler, and
11857 only with write-contents-functions. Remove auto-save provisions -
11858 they're implemented elsewhere.
11859
11860 (allout-before-change-handler): If undo is in progress, note that
11861 for attention of allout-post-command-business.
11862
11863 (allout-post-command-business): If the command we're following was
11864 an undo, check for change in the status of encrypted items and
11865 adjust auto-save inhibitions accordingly.
11866
11867 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11868 according to whether there are or aren't any plain-text topics
11869 pending encryption.
11870
2dcdbdd9 11871 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11872 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11873 if there are plain-text topics pending encryption.
13aa217b
KM
11874
11875 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11876 buffer-saved-size and some allout state to not inhibit auto-saves
11877 if there are no longer any plain-text topics pending encryption.
11878
0757af94
SM
11879 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11880 No longer provide for exemption of the current topic.
13aa217b 11881
ac89b32c
JL
118822011-07-04 Juri Linkov <juri@jurta.org>
11883
11884 Add 7z operations to delete and save changed members (bug#8968).
11885 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11886 New defcustoms.
11887 (archive-7z-write-file-member): New function.
11888 (archive-7z-summarize): Fix the number of dashes in the
11889 listing output.
11890
8fa39615
SM
118912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11894 (bug#8958).
11895
2f11b3f1
CY
118962011-07-04 Chong Yidong <cyd@stupidchicken.com>
11897
d66fef2b
CY
11898 * bindings.el: Ignore next-buffer and previous-buffer in
11899 minibuffer-local-map.
11900
2f11b3f1
CY
11901 * font-lock.el (font-lock-builtin-face): Change light background
11902 color to dark slate blue (Bug#6693).
11903
f932a347
WD
119042011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11905
11906 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11907
c8af70e1
SM
119082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11911 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11912 Add switch-to-buffer.
11913
f158badc
LMI
119142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11915
11916 * isearch.el (isearch-search-fun-function): Clarify further the
11917 meaning of the function returned.
11918
6d95bd46
MA
119192011-07-04 Michael Albinus <michael.albinus@gmx.de>
11920
11921 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11922
11923 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11924 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11925 Use it.
11926 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11927 `tramp-default-remote-path' does not exist.
11928 (tramp-send-command-and-read): New optional argument NOERROR.
11929 (tramp-open-connection-setup-interactive-shell)
11930 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11931 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11932 (tramp-process-sentinel): Flush also process' connection property.
11933 (tramp-sh-handle-start-file-process): Do not set process
11934 sentinel. It is done now ...
11935 (tramp-maybe-open-connection): ... here. (Bug#8929)
11936
909e6b67
MK
119372011-07-04 MON KEY <monkey@sandpframing.com>
11938
11939 * play/animate.el (animate-string): Doc fixes and allow changing
11940 the buffer name (bug#5417).
11941
119422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11943
c8af70e1 11944 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11945
f34755dc
PE
119462011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11947
396cec72
PE
11948 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11949 This is simpler and helps future-proof the code.
11950 (timer-until): Use time-subtract and float-time.
08235028 11951 (timer--time-less-p): Use time-less-p.
f34755dc 11952
56e6cc31
JB
119532011-07-04 Juanma Barranquero <lekktu@gmail.com>
11954
3abb79e5
JB
11955 * type-break.el (timep): Use the value of `float-time' to avoid a
11956 byte-compiler warning.
11957
56e6cc31
JB
11958 * server.el (server-eval-and-print): Return any result, even nil.
11959
7b9430b4
PE
119602011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11961
11962 * type-break.el: Accept time formats that the builtins accept.
11963 (timep, type-break-time-difference): Accept any format that
11964 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11965 This is simpler and helps future-proof the code.
11966 (type-break-time-difference): Round rather than ignoring
11967 subseconds components.
11968
3034e9e7
LMI
119692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11970
11971 * info.el (Info-apropos-matches): Make non-interactive, since it
11972 doesn't seem to do anything useful as a command (bug#8829).
11973
1485f4c0
CY
119742011-07-03 Chong Yidong <cyd@stupidchicken.com>
11975
11976 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11977 Move from faces.el.
1485f4c0
CY
11978 (frame-default-terminal-background): New function.
11979
11980 * custom.el (custom-push-theme): Don't record faces in `changed'
11981 theme; this doesn't work correctly for per-frame face settings.
11982 (disable-theme): Use face-set-after-frame-default to reset faces.
11983 (custom--frame-color-default): New function.
11984
9fa3dd45
LMI
119852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11986
c8af70e1 11987 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11988 (bug#8769).
11989
6cbbc20c
KR
119902011-03-29 Kevin Ryde <user42@zip.com.au>
11991
11992 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11993 `perl-Test2' extend to match possible "fail #N" rep count
11994 (bug#8377).
11995
c7f98048
LMI
119962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11997
65676592
LMI
11998 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11999 `smtpmail-via-smtp' now returns the error instead of nil.
12000
c7f98048
LMI
12001 * isearch.el (isearch-search-fun-function): Clarify the doc string
12002 (bug#8101).
12003
56e6cc31 120042011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12005
12006 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12007 unnecessary spaces (bug#8987).
12008
2b216704
LMI
120092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12010
12011 * net/network-stream.el (open-network-stream): Use the
12012 :end-of-capability command thoughout.
12013
120142011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12015
12016 * net/network-stream.el (open-network-stream): Add the
12017 :end-of-capability command parameter, used by pop3.el.
12018
36adf6ce
LMI
120192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12020
1ca0da0e
LMI
12021 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12022
fc00f69c
LMI
12023 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12024 for list)" (bug#6475).
12025
28fd8759 12026 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12027 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12028 an error (bug#6297).
12029
0dd8b6da
LMI
12030 * man.el (Man-reference-regexp): Allow matching possible
12031 word-wrapped references (bug#6289).
12032
ce1438d6
LMI
12033 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12034 for consistency with the other vc buffers (bug#6197).
12035 (vc-checkin): Ditto.
12036
12037 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12038
36adf6ce
LMI
12039 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12040
e83cc1f7
LMI
120412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12042
8a20ca4c
LMI
12043 * custom.el (defcustom): Clarify that :set is only used in the
12044 Customize user interface (bug#6089).
12045
83319045
LMI
12046 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12047 associated with a file, refuse to run instead of erroring out
12048 (bug#6084).
12049
a8392169
LMI
12050 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12051 the doc string, since it appears that using `fill-column' always
12052 controls the width (bug#7845).
12053
e83cc1f7
LMI
12054 * simple.el (shell-command-on-region): Say where the error output
12055 went if `shell-command-default-error-buffer' is set (bug#6857).
12056
e47ca23b
KM
120572011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12058
12059 * allout.el (allout-yank-processing): Adjust cursor position for
12060 backwards-deleted space.
12061
12062 (allout-rebullet-heading): Register changes with
12063 allout-exposure-changed-hook, so the modified topic is properly
12064 decorated.
12065
5cf56143
LMI
120662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12067
08549772
LMI
12068 * minibuffer.el (completion-in-region): Document PREDICATE
12069 (bug#7136).
12070
48e96771
LMI
12071 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12072 of keyword/argument pairs (bug#6904).
12073
c8af70e1
SM
12074 * replace.el (multi-occur):
12075 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12076
e17d05e2
LMI
120772011-07-02 Drew Adams <drew.adams@oracle.com>
12078
12079 * dired.el (dired-mark-if): Make the message about whether it's
12080 marking or unmarking clearer (bug#8523).
12081
063b0e45
LMI
120822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12083
12084 * disp-table.el (display-table-print-array): New function.
12085 (describe-display-table): Use it to print the vectors more pretty
12086 (Bug#8859).
12087
28545e04
MR
120882011-07-02 Martin Rudalics <rudalics@gmx.at>
12089
12090 * window.el (window-state-get-1): Don't assign clone numbers.
12091 Add clone-of item to list of window parameters.
12092 (window-state-put-2): Don't process clone numbers.
12093 (display-buffer-alist): Fix doc-string.
12094
3349e122
SM
120952011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * subr.el (remq): Don't allocate if it's not needed.
12098 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12099 (keymap--merge-bindings): New functions.
12100 (keymap-canonicalize): Use them to refine the canonicalization.
12101 * minibuffer.el (minibuffer-local-completion-map)
12102 (minibuffer-local-must-match-map): Move initialization from C.
12103 (minibuffer-local-filename-completion-map): Move initialization from C;
12104 don't inherit from anything here.
12105 (minibuffer-local-filename-must-match-map): Make obsolete.
12106 (completing-read-default): Use make-composed-keymap to combine
12107 minibuffer-local-filename-completion-map with either
12108 minibuffer-local-must-match-map or
12109 minibuffer-local-filename-completion-map.
12110
d224ac83
GM
121112011-07-01 Glenn Morris <rgm@gnu.org>
12112
3de63bf8
GM
12113 * type-break.el (type-break-time-sum): Use dolist.
12114
d224ac83
GM
12115 * textmodes/flyspell.el (flyspell-word-search-backward):
12116 Replace CL function.
12117
1a1e3f32
SM
121182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12119
fe3f64d5
SM
12120 * mouse.el (mouse--strip-first-event): New function.
12121 (function-key-map): Use it to map fringe clicks to normal clicks
12122 by default.
12123
eb604e34
SM
12124 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12125 (vc-bzr-revision-completion-table): Add support for annotate and date.
12126
1a1e3f32
SM
12127 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12128 inherit from parent.
12129
5bd35902
LMI
121302011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12131
ace6c69c 12132 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12133 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12134
191e2bed
LMI
12135 * dired.el (dired-mode): Fix up the doc string as suggested by
12136 Drew Adams (bug#8817).
12137
5bd35902
LMI
12138 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12139 cookie, since the manual says that it should be possible to add
12140 this function to `find-file-hook' (bug#8709).
12141
eee8207a
TZ
121422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12143
12144 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12145 here. Noted Ted Zlatanov as the maintainer.
12146 (cfengine-common-settings, cfengine-common-syntax): New functions
12147 to set up common things between `cfengine-mode' and
12148 `cfengine3-mode'.
12149 (cfengine3-mode): New mode.
12150 (cfengine3-defuns cfengine3-defuns-regex
12151 (cfengine3-class-selector-regex cfengine3-category-regex)
12152 (cfengine3-vartypes cfengine3-font-lock-keywords)
12153 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12154 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12155
36b148cf
MA
121562011-07-01 Michael Albinus <michael.albinus@gmx.de>
12157
12158 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12159
12160 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12161
0bf4ba9a
MR
121622011-07-01 Martin Rudalics <rudalics@gmx.at>
12163
12164 * window.el (same-window-buffer-names, same-window-regexps)
12165 (same-window-p, special-display-frame-alist)
12166 (special-display-popup-frame, special-display-function)
12167 (special-display-buffer-names, special-display-regexps)
12168 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12169 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12170 (split-window-preferred-function, split-height-threshold)
12171 (split-width-threshold, even-window-heights)
12172 (display-buffer-mark-dedicated, window-splittable-p)
12173 (split-window-sensibly, window-safely-shrinkable-p):
12174 Un-obsolete.
12175 (display-buffer): Don't spread args with function specifier
12176 because special-display-popup-frame won't like it.
12177
35837f51
PE
121782011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12179
d0672f86
PE
12180 Time-stamp simplifications and fixes.
12181 These improve accuracy slightly, and future-proof the code
12182 against some potential changes to current-time format.
12183
b9444d97
PE
12184 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12185 by using time-since and float-time.
12186
0ef923dc
PE
12187 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12188 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12189 + NNN microseconds".
12190
2f81380d
PE
12191 * type-break.el (type-break-time-sum): Rewrite using time-add.
12192
845b5c3e
PE
12193 * play/hanoi.el (hanoi-current-time-float): Remove.
12194 All uses replaced by float-time.
12195
ee6f1be0
PE
12196 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12197 This yields a more-accurate answer.
12198 (rng-time-to-float): Remove; no longer needed.
12199
fe955043
PE
12200 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12201
5777162a
PE
12202 * calendar/timeclock.el (timeclock-seconds-to-time):
12203 Defalias to seconds-to-time, since they're the same thing.
12204
3103f8b6 12205 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12206 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12207 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12208
0e61a35f
SM
122092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * window.el (bury-buffer): Don't iconify the only frame.
12212 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12213 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12214
ddd63a1e
CY
122152011-07-01 Chong Yidong <cyd@stupidchicken.com>
12216
0e61a35f
SM
12217 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12218 Add mouse-yank-primary.
ddd63a1e 12219
055f4923
TZ
122202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12221
12222 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12223
6a2fb145
SM
122242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12227 (find-library-name): Use it to find relative load names when provided
12228 absolute file name (bug#8803).
12229
fd4983f2
LMI
122302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12231
887d14ad
LMI
12232 * textmodes/flyspell.el (flyspell-word): Consider words that
12233 differ only in case as potential doublons (bug#5687).
12234
c53dc7fc
LMI
12235 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12236 Remove two rather uninteresting debugging-like messages to make
12237 debbugs.el more silent.
12238
fd4983f2
LMI
12239 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12240 a password-like phrase.
12241
7a71b18d 122422011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12243
12244 * progmodes/cc-guess.el: New file.
12245
6a2fb145 12246 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12247
12248 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12249 derived from `c-basic-common-init'.
12250
12251 * progmodes/cc-mode.el (top-level): Require cc-guess.
12252 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12253
1fa280a3
LM
122542011-06-30 Lawrence Mitchell <wence@gmx.li>
12255
12256 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12257
e6597158
AM
122582011-06-30 Alan Mackenzie <acm@muc.de>
12259
1fa280a3
LM
12260 * progmodes/cc-engine.el (c-guess-continued-construct):
12261 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12262 lock is disabled. Name this case as "CASE G".
12263
68ba37fb
KM
122642011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12265
12266 * allout.el (allout-yank-processing): Fix injection of extra space
12267 between bullet and non-whitespace character in first topic when
12268 pasting, ensuring that the actual spacing in the pasted topic
12269 following the bullet char is preserved. This extra space was
12270 causing pasted encrypted topics to get a decrypted status even
12271 when the content was actually still encrypted. Now the decryption
12272 status from before the paste is preserved.
12273
12274 (allout-flag-region): Set all allout overlays so they evaporate
12275 when reduced to zero length (evanescent), to prevent overlay
12276 leakage.
12277
887a0b34
GM
122782011-06-30 Glenn Morris <rgm@gnu.org>
12279
94b9acce
GM
12280 * w32-fns.el (w32-charset-info-alist): Declare.
12281
1d9b46d4
GM
12282 * find-dired.el (find-grep-options): Simplify.
12283
cc232200
GM
12284 * term/ns-win.el (ns-set-resource): Declare.
12285
28e77c46
GM
12286 * ses.el (row, col): Declare dynamic variables honestly.
12287
887a0b34
GM
12288 * textmodes/reftex-parse.el (index-tags): Declare.
12289
658d8eb8
CY
122902011-06-30 Chong Yidong <cyd@stupidchicken.com>
12291
12292 * cus-edit.el (customize-push-and-save): New function.
12293
12294 * files.el (hack-local-variables-confirm): Use it.
12295
1fa280a3
LM
12296 * custom.el (load-theme): New arg NO-CONFIRM.
12297 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12298 (custom-enabled-themes): Doc fix.
12299
12300 * cus-theme.el (customize-create-theme)
12301 (custom-theme-merge-theme): Callers to load-theme changed.
12302
bb617717
LMI
123032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12304
d61bdd5d
LMI
12305 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12306 short URLs have at least one dot in them (bug #7614).
12307
bb617717
LMI
12308 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12309 nil, because using a pty is apparently too slow (bug #895).
12310
2f31f37a
LMI
123112011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12312
12313 * mail/sendmail.el (sendmail-query-once): New function.
12314 (sendmail-query-once-function): New variable.
12315
3076b24e
GM
123162011-06-29 Glenn Morris <rgm@gnu.org>
12317
faf2a174
GM
12318 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12319
3076b24e
GM
12320 * ses.el (top-level): Require cl when compiling.
12321 (ses-set-localvars): Fix error statement.
12322 Call it at compile time to silence a storm of warnings.
12323
5386012d
MR
123242011-06-29 Martin Rudalics <rudalics@gmx.at>
12325
12326 * window.el (normalize-live-buffer): Rename to
12327 window-normalize-buffer.
12328 (normalize-live-frame): Rename to window-normalize-frame.
12329 (normalize-any-window): Rename to window-normalize-any-window.
12330 (normalize-live-window): Rename to window-normalize-live-window.
12331 (make-window-atom): Rename to window-make-atom.
12332 (window-resize-reset): Rename to window--resize-reset.
12333 (window-resize-reset-1): Rename to window--resize-reset-1.
12334 (resize-mini-window): Rename to window--resize-mini-window.
12335 (resize-subwindows-skip-p): Rename to
12336 window--resize-subwindows-skip-p.
12337 (resize-subwindows-normal): Rename to
12338 window--resize-subwindows-normal.
12339 (resize-subwindows): Rename to window--resize-subwindows.
12340 (resize-other-windows): Rename to window--resize-siblings.
12341 (resize-this-window): Rename to window--resize-this-window.
12342 (resize-root-window): Rename to window--resize-root-window.
12343 (resize-root-window-vertically): Rename to
12344 window--resize-root-window-vertically.
12345 (normalize-buffer-to-display): Rename to
12346 window-normalize-buffer-to-display.
12347 (normalize-buffer-to-switch-to): Rename to
12348 window-normalize-buffer-to-switch-to.
12349 Correspondingly update all callers of the functions listed
12350 above.
12351 (display-buffer-alist, display-buffer-normalize-arguments)
12352 (display-buffer-normalize-options, display-buffer)
12353 (display-buffer-alist-set): Use "function" instead of
12354 "fun-with-args".
12355
1176868d
CY
123562011-06-28 Chong Yidong <cyd@stupidchicken.com>
12357
12358 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12359 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12360 debbugs.gnu.org. Mention acknowledgment email.
12361
20a7a65f
LMI
123622011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12363
12364 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12365 buffer multibyteness, since it shouldn't matter.
12366
5f45cca5
MR
123672011-06-28 Martin Rudalics <rudalics@gmx.at>
12368
12369 * window.el (display-buffer-in-side-window): Handle dedicated
12370 windows as in display-buffer-reuse-window.
12371 (display-buffer-normalize-alist): Use value of override
12372 specifier.
12373 (display-buffer-normalize-specifiers): Use value of
12374 other-window-means-other-frame specifier.
12375 (display-buffer-alist): Rewrite some texts in widgets.
12376 (display-buffer): Spread arguments when calling function
12377 specified by fun-with-args.
12378
ad85fe1f
DD
123792011-06-28 Deniz Dogan <deniz@dogan.se>
12380
1fa280a3
LM
12381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12382 Unnest `let'.
da68c4c8 12383
ad85fe1f
DD
12384 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12385 selectors (Bug#5732).
ec49bd31 12386 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12387
a08cc025
JA
123882011-06-27 Jari Aalto <jari.aalto@cante.net>
12389
12390 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12391 (eshell-ls-date-format): New defcustom.
12392 (eshell-ls-file): Use it.
12393
e2b551c5
SM
123942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12395
12396 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12397
8982b231
KY
123982011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12399
12400 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12401 (ange-ftp-make-tmp-name): New arg.
12402 (ange-ftp-file-local-copy): Use it.
12403
36c9fa27
J
124042011-06-27 Jambunathan K <kjambunathan@gmail.com>
12405
12406 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12407 no-conversion (Bug#8870).
12408
d68443dc
MR
124092011-06-27 Martin Rudalics <rudalics@gmx.at>
12410
12411 * window.el (window-right, window-left, window-child)
12412 (window-child-count, window-last-child)
12413 (window-iso-combination-p, walk-window-tree-1)
12414 (window-atom-check-1, window-tree-1, delete-window)
12415 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12416 new naming conventions - window-vchild, window-hchild,
12417 window-next and window-prev are now called window-top-child,
12418 window-left-child, window-next-sibling and window-prev-sibling
12419 respectively.
d615d6d2
MR
12420 (resize-window-reset): Rename to window-resize-reset.
12421 (resize-window-reset-1): Rename to window-resize-reset-1.
12422 (resize-window): Rename to window-resize.
12423 (window-min-height, window-min-width)
12424 (resize-mini-window, resize-this-window, resize-root-window)
12425 (resize-root-window-vertically, adjust-window-trailing-edge)
12426 (enlarge-window, shrink-window, maximize-window)
12427 (minimize-window, delete-window, quit-restore-window)
12428 (split-window, balance-windows, balance-windows-area-adjust)
12429 (balance-windows-area, window-state-put-2)
12430 (display-buffer-even-window-sizes, display-buffer-set-height)
12431 (display-buffer-set-width, set-window-text-height)
12432 (fit-window-to-buffer): Rename all "resize-window" prefixed
12433 calls to use the "window-resize" prefix convention.
12434 (display-buffer-alist): Fix symbol for label specifier.
12435 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12436 corresponding specifier.
12437 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12438
b6458526
VB
124392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12440
12441 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12442 convention.
12443 (ses-call-printer): Does not pass an empty string to formatter when the
12444 cell is empty to keep from barking printer Calc math-format-value.
12445
d31fd9ac
RS
124462011-06-27 Richard Stallman <rms@gnu.org>
12447
43d5bf84
RS
12448 * battery.el (battery-mode-line-limit): New variable.
12449 (battery-update): Handle it.
12450
d31fd9ac
RS
12451 * mail/rmailmm.el (rmail-mime-process-multipart):
12452 Handle truncated messages.
12453
819a6054
GM
124542011-06-27 Glenn Morris <rgm@gnu.org>
12455
12456 * progmodes/flymake.el (flymake-err-line-patterns):
12457 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12458
cedc73f2
VB
124592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12460
819a6054 12461 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12462 (ses--clean-!, ses--clean-_): New functions.
12463 (ses-range): Add configurability of readout order, and conversion
12464 to Calc vector.
12465
5e5d49b6
VB
12466 * ses.el (ses-repair-cell-reference-all): New function.
12467 (ses-cell-symbol): Set macro as safe, so that it can be used in
12468 formulas.
12469
56e6cc31 12470 * ses.el: Update cycle detection algorithm.
90ca8b49 12471 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12472 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12473 (ses-set-localvars): New function.
12474 (ses-make-cell): Add property-list as a cell element.
12475 (ses-cell-property-get-fun, ses-cell-property-get)
12476 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12477 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12478 New functions.
90ca8b49
VB
12479 (ses-cell-property-set, ses-cell-property-pop)
12480 (ses-cell-property-get-handle): New macro.
12481 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12482 New aliases, used for code readability.
12483 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12484 cycle detection.
12485 (ses-self-reference-early-detection): New defcustom.
fac916bf 12486 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12487 (ses-mode): Use ses-set-localvars.
12488 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12489 before lauching the update processing.
12490 (ses-initialize-Dijkstra-attempt): New function.
12491 (ses-recalculate-cell): Update for cycle detection based on
12492 Dijkstra algorithm.
12493
2bb63e81
VB
12494 * ses.el: Fix commenting and indenting convention.
12495
c9d29fb8
SM
124962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * bs.el (bs-cycle-next): Complete last change.
12499
d8e4b68b
JB
125002011-06-27 Drew Adams <drew.adams@oracle.com>
12501
12502 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12503
40098786
LMI
125042011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12505
c9d29fb8
SM
12506 * net/network-stream.el (network-stream-open-starttls):
12507 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12508 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12509
40098786
LMI
12510 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12511 to binary to possibly avoid line encoding issues on Windows (among
12512 other things).
12513
468d09d4
LMI
125142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515
12516 * net/network-stream.el (open-network-stream): Return an :error
12517 saying what the problem was, if possible.
12518
12519 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12520 server.
12521
12522 * net/network-stream.el (network-stream-open-starttls): If we
12523 wanted to use STARTTLS, and the server offered it, but we weren't
12524 able to because we had no STARTTLS support, then close the connection.
12525 (open-network-stream): Return an :error element, if present.
12526
16f07dd7
CY
125272011-06-26 Chong Yidong <cyd@stupidchicken.com>
12528
88821ca0
CY
12529 * hl-line.el (hl-line-sticky-flag): Doc fix.
12530 (global-hl-line-sticky-flag): New option (Bug#8323).
12531 (global-hl-line-highlight): Obey it.
12532
16f07dd7
CY
12533 * vc/vc.el (vc-revert-show-diff): Default to t.
12534
6b5ccddf
KM
125352011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12536
c9d29fb8
SM
12537 * allout-widgets.el (allout-widgets-post-command-business):
12538 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12539 undecorated when an isearch is continued past, and isearch
12540 automatically collapses them. This leads to "widget leaks", where
12541 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12542 hidden widgets can slow down cursor travel, substantially.
12543 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12544 so we're doing without this nicety.
12545
12546 (allout-widgets-tally-string): Don't try to do a hash-table-count
12547 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12548 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12549 *Messages* when allout-widgets-maintain-tally is t.
12550
355f2e07
MR
125512011-06-26 Martin Rudalics <rudalics@gmx.at>
12552
12553 * window.el (display-buffer-normalize-argument): Rename to
12554 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12555 LABEL argument. Respect special-display-function when popping up
12556 a new frame. Fix code searching for a window showing the buffer
12557 on another frame.
c9d29fb8
SM
12558 (display-buffer-normalize-specifiers):
12559 Call display-buffer-normalize-arguments.
355f2e07
MR
12560 (display-buffer-in-window): Don't undedicate the window if its
12561 buffer remains the same.
12562 Reported by Drew Adams <drew.adams@oracle.com>.
12563 (display-buffer-alist): Add choice for same-window macro
12564 specfier.
12565 (display-buffer): Mention special meaning of LABEL argument in
12566 doc-string. Fix quoting. Don't pop up a new frame even as
12567 fallback.
12568
7ca8fc42
JB
125692011-06-26 Juanma Barranquero <lekktu@gmail.com>
12570
12571 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12572 avoid deleting the current window in some cases (bug#8911).
12573
bc312254
AS
125742011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12575
12576 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12577 (Bug#8934)
12578
2db18f3f
LMI
125792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12580
c9d29fb8
SM
12581 * net/network-stream.el (network-stream-open-starttls):
12582 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12583 (network-stream-open-tls): Ditto.
12584
6302e0d3
LL
125852011-06-26 Leo Liu <sdl.web@gmail.com>
12586
12587 * register.el (registerv): New struct.
12588 (registerv-make): New function.
c9d29fb8
SM
12589 (jump-to-register, describe-register-1, insert-register):
12590 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12591 struct. (Bug#8415)
12592
5fdd4046
CY
125932011-06-26 Chong Yidong <cyd@stupidchicken.com>
12594
2afef60a
CY
12595 * vc/vc.el (vc-revert-show-diff): New defcustom.
12596 (vc-diff-internal): New arg specifying diff buffer.
12597 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12598 reuse an existing *vc-diff* buffer (Bug#8927).
12599
5fdd4046
CY
12600 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12601
e93db24a
GM
126022011-06-26 Glenn Morris <rgm@gnu.org>
12603
12604 * progmodes/f90.el (f90-critical-indent): New option.
12605 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12606 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12607 (f90-mode): Doc fix.
12608 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12609 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12610 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12611 (f90-match-end): Handle block, critical.
12612
eefff499
GM
126132011-06-25 Glenn Morris <rgm@gnu.org>
12614
f6ba4cc9
GM
12615 * calendar/diary-lib.el (diary-included-files): Doc fix.
12616 (diary-include-files): New function, extracted from
12617 diary-include-other-diary-files and diary-mark-included-diary-files.
12618 (diary-include-other-diary-files, diary-mark-included-diary-files):
12619 Just call diary-include-files.
12620 (diary-mark-entries): Reset diary-included-files on first call.
12621
16712304
GM
12622 * calendar/diary-lib.el (diary-mark-entries)
12623 (diary-mark-included-diary-files):
12624 Visit included diary-files in temp buffers.
12625
5d8e0d43
GM
12626 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12627 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12628 (f90-start-block-re, f90-imenu-generic-expression)
12629 (f90-looking-at-program-block-start, f90-no-block-limit):
12630 Add support for submodules.
12631
ccf7a5d5
GM
12632 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12633 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12634
11fdef7d 126352011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12636
12637 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12638 buffer-file-type before setting its value, to avoid disastrous
eefff499 12639 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12640
74f53697
JB
126412011-06-25 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12644
12645 * ses.el (ses-unload-function):
12646 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12647
12648 * proced.el (proced-unload-function):
12649 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12650
18a4ce5e
AR
126512011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12652
12653 * server.el (server-create-window-system-frame): Add parameters arg.
12654 (server-process-filter): Doc fix. Handle frame-parameters.
12655
519d22cc
JB
126562011-06-25 Juanma Barranquero <lekktu@gmail.com>
12657
12658 Fix bug#8730, bug#8781.
12659
12660 * loadhist.el (unload--set-major-mode): New function.
12661 (unload-feature): Use it.
12662
12663 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12664 (python-unload-function): New function.
12665
c206f5b0
SM
126662011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12669
f9ad64f3
GS
126702011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12671
12672 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12673 the candidates list.
12674
7d0da90e
JB
126752011-06-24 Juanma Barranquero <lekktu@gmail.com>
12676
12677 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12678
14b4e83d
RS
126792011-06-23 Richard Stallman <rms@gnu.org>
12680
12681 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12682 (rmail-variables): Set next-error-move-function.
12683 (rmail-what-message): Take argument POS.
12684 (rmail-next-error-move): New function.
12685
273d2baf
SM
126862011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12687
12688 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12689 messages for adjacent non-terminals.
12690
56c2cc9a
RS
126912011-06-23 Richard Stallman <rms@gnu.org>
12692
12693 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12694 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12695 (rmail-start-mail): Don't specify use of rmail-mail-return;
12696 that's done by mail-bury now.
12697 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12698
d59eb518
MA
126992011-06-23 Michael Albinus <michael.albinus@gmx.de>
12700
12701 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12702 SIZE is a number.
12703
02cfc6d6
MR
127042011-06-23 Martin Rudalics <rudalics@gmx.at>
12705
12706 * window.el (get-lru-window, get-mru-window)
12707 (get-largest-window): Never return a minibuffer window.
12708 (display-buffer-pop-up-window): Fix a bug that could lead to
12709 reusing the minibuffer window.
12710 (display-buffer): Pass original specifier argument to
12711 display-buffer-function instead of the normalized one.
12712 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12713
4e323265
LL
127142011-06-22 Leo Liu <sdl.web@gmail.com>
12715
12716 * minibuffer.el (completing-read-function)
12717 (completing-read-default): Move from minibuf.c
12718
7a70468f
RS
127192011-06-22 Richard Stallman <rms@gnu.org>
12720
50718fc2
RS
12721 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12722 to Rmail even if not started by a special Rmail command.
12723
7a70468f
RS
12724 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12725 Copy the buffer currently showing just one message.
12726
297dde5a
RW
127272011-06-22 Roland Winkler <winkler@gnu.org>
12728
12729 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12730 (bibtex-clean-entry): First delete the old key so that a
12731 customized algorithm for generating the new key does not get
12732 confused by the old key.
12733 (bibtex-url): Obey regexp of first step.
12734 (bibtex-search-entries): Do not use add-to-list with local
12735 list-var.
12736
97bb1093
LMI
127372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12738
12739 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12740 stored a user name, then query for the password first, instead of
12741 waiting for SMTP to give an error message and the trying again.
12742
1c0f1a19
JD
127432011-06-22 Lawrence Mitchell <wence@gmx.li>
12744
12745 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12746 BUFFER in call-process.
12747
396f7c9d
LMI
127482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12749
12750 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12751 QUIT twice.
ddb7ffee
LMI
12752 (smtpmail-try-auth-methods): Require user name and password from
12753 auth-source.
396f7c9d 12754
8998d1b3
MR
127552011-06-22 Martin Rudalics <rudalics@gmx.at>
12756
12757 * window.el (display-buffer-default-specifiers)
12758 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12759 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12760 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12761
12762 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12763 (special-display-frame-alist, special-display-popup-frame):
12764 Remove duplicate declarations. These are now in window.el.
12765
4ea31e07
LMI
127662011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12767
c9d29fb8
SM
12768 * mail/smtpmail.el (smtpmail-via-smtp):
12769 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12770 server supports it. SMTP servers that support STARTTLS commonly
12771 require it.
12772
12773 * net/network-stream.el (network-stream-open-starttls): Support
12774 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12775 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12776
95f41d9a
LMI
12777 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12778 upgrades with `open-network-stream', and rely solely on
12779 auth-source for all credentials. Big changes throughout the file,
12780 but in particular:
c9d29fb8
SM
12781 (smtpmail-auth-credentials): Remove.
12782 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12783 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12784 MAIL FROM, too.
95f41d9a 12785
c9d29fb8
SM
12786 * net/network-stream.el (network-stream-open-starttls):
12787 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12788 STARTTLS.
12789 (auth-source): Require.
12790 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12791 (network-stream-certificate): Change cert-cert to cert and
12792 cert-key to key.
4ea31e07 12793
065ec2c7
MA
127942011-06-21 Michael Albinus <michael.albinus@gmx.de>
12795
12796 * net/tramp-cache.el (top): Don't load the persistency file when
12797 "emacs -Q" has been called.
12798
cd93b359
DR
127992011-06-21 Tim Harper <timcharper@gmail.com>
12800
d8e4b68b
JB
12801 * term/ns-win.el (ns-initialize-window-system):
12802 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12803 resource to NO as it is not yet supported by the NS port.
12804
ae9c0411
JB
128052011-06-21 Juanma Barranquero <lekktu@gmail.com>
12806
12807 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12808 (list-dynamic-libraries): ...not here.
12809
7f3f739f
LL
128102011-06-21 Leo Liu <sdl.web@gmail.com>
12811
12812 * subr.el (sha1): Implement sha1 using secure-hash.
12813
327c8fb1
MR
128142011-06-21 Martin Rudalics <rudalics@gmx.at>
12815
12816 * window.el (display-buffer-alist): In default value do not
12817 enforce searching a window on any but the selected frame.
12818 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12819 (display-buffer-select-window): Remove function.
12820 (display-buffer-in-window): When a window on another frame gets
12821 reused, do not select it any more but just raise its frame if
12822 necessary (Bug#8851) and (Bug#8856).
12823 (display-buffer-normalize-options): Handle pop-up-frames related
12824 options more faithfully.
12825 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12826 window if it is on another frame.
c9d29fb8
SM
12827 (display-buffer-alist, display-buffer-default-specifiers):
12828 Don't make new frame unsplittable by default.
9e9de014
MR
12829 (display-buffer-normalize-argument): Fix doc-string typo and use
12830 'same-frame-other-window instead of 'other-window when associating
12831 with display-buffer-macro-specifiers.
327c8fb1 12832
7cf3f556
VB
128332011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12834
12835 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12836 New functions.
12837 (5x5-mode-map, 5x5-mode-menu): Bind them.
12838 (5x5-draw-grid): Tweak the solver's rendering.
12839
60a406cf
SM
128402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12843 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12844
d8e4b68b 128452011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12846
12847 * menu-bar.el: Use function variable instead of switch-to-buffer.
12848 (menu-bar-select-buffer-function): New variable.
60a406cf 12849 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12850
478d6f95
SM
128512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12854 variable's status.
12855
ca530739
JD
128562011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12857
12858 * x-dnd.el (x-dnd-version-from-flags)
12859 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12860 and long as number (Bug#8899).
12861 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12862
bcd70d97
SM
128632011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12864
60a406cf 12865 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12866 (completion-try-completion, completion-all-completions): Compute the
12867 metadata argument if it's missing; make it optional (bug#8795).
12868
60a406cf 12869 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12870 (widget-complete): Use new :completion-function property.
12871 (widget-completions-at-point): New function.
12872 (default): Use :completion-function instead of :complete.
60a406cf
SM
12873 (widget-default-completions): Rename from widget-default-complete;
12874 Rewrite.
bcd70d97
SM
12875 (widget-string-complete, widget-file-complete, widget-color-complete):
12876 Remove functions.
12877 (file, symbol, function, variable, coding-system, color):
12878 * international/mule-cmds.el (default-input-method, charset)
12879 (language-info-custom-alist):
12880 * cus-edit.el (face): Use new property :completions.
12881
12882 * progmodes/pascal.el (pascal-completions-at-point): New function.
12883 (pascal-mode): Use it.
12884 (pascal-mode-map): Use completion-at-point.
12885 (pascal-toggle-completions): Make obsolete.
12886 (pascal-complete-word, pascal-show-completions):
12887 * progmodes/octave-mod.el (octave-complete-symbol):
12888 Redefine as obsolete alias.
12889 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12890 Signal absence of completion info for old Octave,
12891 (inferior-octave-complete): Redefine as obsolete alias.
12892 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12893 (meta-completions-at-point): Rename from meta-complete-symbol and
12894 adapt it for use on completion-at-point-functions.
12895 (meta-common-mode): Use it.
12896 (meta-looking-at-backward, meta-match-buffer): Remove.
12897 (meta-complete-symbol): Redefine as obsolete alias.
12898 (meta-common-mode-map): Use completion-at-point.
12899 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12900 (makefile-mode-map): Use completion-at-point.
12901 (makefile-completions-at-point): Rename from makefile-complete and
12902 adapt it for use on completion-at-point-functions.
12903 (makefile-mode): Use it.
12904 (makefile-complete): Redefine as obsolete alias.
12905
aebf69c8
DD
129062011-06-20 Deniz Dogan <deniz@dogan.se>
12907
12908 * net/rcirc.el: Delete trailing whitespaces once and for all.
12909
bfbbb27d
DC
129102011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12911
12912 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12913
d264a46b
CY
129142011-06-19 Chong Yidong <cyd@stupidchicken.com>
12915
4ca009e5
CY
12916 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12917
d264a46b
CY
12918 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12919
fbf5b3ce
MR
129202011-06-19 Martin Rudalics <rudalics@gmx.at>
12921
12922 * window.el (display-buffer-other-window-means-other-frame):
12923 Call display-buffer-normalize-alist.
12924 (display-buffer-normalize-specifiers-1): Rename to
12925 display-buffer-normalize-argument. New argument other-frame.
12926 Rewrite.
12927 (display-buffer-normalize-specifiers-2): Rename to
12928 display-buffer-normalize-options.
12929 (display-buffer-normalize-alist-1): New function.
12930 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12931 display-buffer-normalize-alist.
12932 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12933 (display-buffer-normalize-options-inhibit): New variable.
12934 (display-buffer-normalize-specifiers): Rewrite calling
12935 display-buffer-normalize-alist,
12936 display-buffer-normalize-argument, and
12937 display-buffer-normalize-options. Don't call the latter if
12938 display-buffer-normalize-options-inhibit is non-nil.
12939 (frame-auto-delete): New option.
12940 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12941 (window-list-no-nils, window-state-ignored-parameters)
12942 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12943 (window-state-put-1, window-state-put-2, window-state-put):
12944 New functions.
9a028c23
MR
12945 (display-buffer-normalize-options): Move special-display-p group
12946 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12947
6d10d800
CY
129482011-06-18 Chong Yidong <cyd@stupidchicken.com>
12949
6420d28b
CY
12950 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12951 groups (Bug#8776).
12952 (rx-submatch-n): New function.
12953 (rx): Document it.
12954
ddb8b596
CY
12955 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12956 (Bug#8768).
12957
12958 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12959
77080289
CY
12960 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12961
61dfb316
CY
12962 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12963 anytime existing face settings are present (Bug#8889).
12964
6d10d800
CY
12965 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12966 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12967 Remove unused argument.
12968
be3fb2b8
MR
129692011-06-18 Martin Rudalics <rudalics@gmx.at>
12970
bcd70d97
SM
12971 * window.el (display-buffer-default-specifiers):
12972 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12973 pop-up-window-min-width, and another reuse-window specifier
12974 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12975 (display-buffer-normalize-specifiers-2):
12976 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12977 pop-up-windows is unset. Add a reuse-window specifier for the
12978 case popping up a new window fails.
12979 (special-display-popup-frame): Remove double quoting.
28dec25a 12980 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12981
1c6d8c76
SM
129822011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12985 according to comint-completion-addsuffix.
12986
12987 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12988 (pcomplete-suffix-list): Mark as obsolete.
12989 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12990 pcomplete-seen in the closure.
12991 (pcomplete-comint-setup): Setup completion-at-point as well.
12992 (pcomplete--entries): New function.
12993 (pcomplete--env-regexp): New var.
12994 (pcomplete-entries): Rewrite to work with partial-completion and
12995 without relying on pcomplete-suffix-list.
12996 (pcomplete-pare-list): Remove, unused.
12997
25aef8b8
MR
129982011-06-17 Martin Rudalics <rudalics@gmx.at>
12999
13000 * window.el (display-buffer-alist): Set pop-up-window-min-height
13001 and pop-up-window-min-width in default value. Reported by
13002 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13003 other-window-means-other-frame.
13004 (display-buffer-macro-specifiers): Comment out entry for
13005 other-window specifier.
13006 (display-buffer-other-window-means-other-frame): New function.
13007 (display-buffer-normalize-specifiers-1): New arguments
13008 buffer-name and label. Treat other-window case specially.
13009 (display-buffer-normalize-specifiers-2): Treat other-window case
13010 specially.
13011 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13012 (display-buffer-normalize-specifiers):
13013 Call display-buffer-normalize-specifiers-3.
25aef8b8 13014
dbad4f69
MR
130152011-06-17 Martin Rudalics <rudalics@gmx.at>
13016
13017 * window.el (same-window-p): Fix two typos introduced when
13018 adding with-no-warnings.
d1067961
MR
13019 (display-buffer-normalize-specifiers-1): Don't check
13020 pop-up-frames for 'unset initialization.
13021 (display-buffer-normalize-specifiers-2): Major rewrite using
13022 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13023 (pop-up-frames, display-buffer-reuse-frames)
13024 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13025 Suggested by David Engster <deng@randomsample.de>.
13026 (even-window-heights): Initialize to 'unset.
13027 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13028 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13029 other window case.
dbad4f69 13030
9b9c9e3a
MR
130312011-06-16 Martin Rudalics <rudalics@gmx.at>
13032
bcd70d97
SM
13033 * window.el (display-buffer-normalize-specifiers-1):
13034 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13035 second argument of display-buffer (Bug#8865).
981d5c09
MR
13036 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13037 (switch-to-buffer-other-window-same-frame)
13038 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13039 Adams (Bug#8875).
9c2755e9
MR
13040 (display-buffer): Don't check noninteractive when calling
13041 display-buffer-pop-up-frame.
13042 (display-buffer-pop-up-frame): Never pop up a frame in
13043 noninteractive mode (Bug#8857).
67222e1d
MR
13044 (enlarge-window, shrink-window): Don't report an error when the
13045 window can't be resized as requested (Bug#8862).
9b9c9e3a 13046
2b75be67
SM
130472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13048
9ffdd3ba
SM
13049 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13050
cb581a67
SM
13051 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13052
2b75be67
SM
13053 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13054
8c0e3589
AM
130552011-06-15 Alan Mackenzie <acm@muc.de>
13056
cb581a67
SM
13057 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13058 for declarators, disable knr checking to speed up for normal files.
13059 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13060
b96e6cde
LMI
130612011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13062
4bba86e6
LMI
13063 * net/network-stream.el (open-network-stream): Add the keyword
13064 :always-query-capabilities for the case where you want to force a
13065 `plain' network connection, but the protocol still requires the
13066 capabilitiy command (i.e., SMTP and EHLO).
13067
2b75be67 13068 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13069 consistency with other `-live-p' functions.
13070
efdcdbf8
SM
130712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13072
13073 * window.el (same-window-buffer-names, same-window-regexps)
13074 (special-display-frame-alist, special-display-popup-frame)
13075 (special-display-function, special-display-buffer-names)
13076 (special-display-regexps, pop-up-frame-alist)
13077 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13078 (pop-up-windows, split-window-preferred-function)
13079 (split-height-threshold, split-width-threshold, even-window-heights)
13080 (display-buffer-mark-dedicated): Don't encourage the use of
13081 display-buffer-alist from Elisp code.
13082
c5cde042
DN
130832011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13084
13085 * progmodes/python.el (python-mode): Derive from prog-mode.
13086 * progmodes/ps-mode.el (ps-mode):
13087 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13088 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13089 * progmodes/ld-script.el (ld-script-mode): Likewise.
13090
baa1c9ab
MR
130912011-06-15 Martin Rudalics <rudalics@gmx.at>
13092
13093 * window.el (display-buffer-alist): Trim default value to avoid
13094 popping up a new frame (Bug#8857) or reusing an arbitrary window
13095 on another frame.
13096 (display-buffer): Do not fall back on popping up a new frame in
13097 batch mode (Bug#8857).
13098
c5dd5a51
CY
130992011-06-14 Chong Yidong <cyd@stupidchicken.com>
13100
13101 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13102 (custom-theme-summary): New function.
13103 (customize-themes): Use it.
13104
d647b7c4
GM
131052011-06-13 Glenn Morris <rgm@gnu.org>
13106
13107 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13108
9481c002
MR
131092011-06-13 Martin Rudalics <rudalics@gmx.at>
13110
357f93d2
MR
13111 * help.el (help-window): Remove variable.
13112 (help-window-point-marker, temp-buffer-max-height)
13113 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13114 (help-print-return-message): Don't set help-window.
13115 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13116 (help-window-setup-finish): Remove.
13117 (help-window-display-message, help-window-setup)
13118 (with-help-window): Major rewrite based on new
13119 display-buffer-window variable.
13120
13121 * help-mode.el (help-mode-finish): Remove help-window related
13122 code.
13123
13124 * view.el (view-exits-all-viewing-windows): Remove reference to
13125 view-return-to-alist in doc-string.
13126 (view-return-to-alist): Make obsolete.
13127 (view-buffer): Call pop-to-buffer-same-window and remove
13128 undo-window code.
13129 (view-buffer-other-window): Call pop-to-buffer-other-window and
13130 simplify code. Ignore second argument.
13131 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13132 simplify code. Ignore second argument.
13133 (view-return-to-alist-update): Make obsolete.
13134 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13135 Rewrite using quit-restore window parameters.
2b75be67
SM
13136 (view-mode-exit): Rename second argument to EXIT-ONLY.
13137 Rewrite using quit-restore-window.
357f93d2
MR
13138 (View-exit, View-exit-and-edit, View-leave, View-quit)
13139 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13140 appropriate arguments.
13141 (view-end-message): Use quit-restore window parameter.
13142
9481c002
MR
13143 * window.el (display-buffer-function): Rewrite doc-string.
13144 (display-buffer-window, display-buffer-alist): New variables.
13145 (display-buffer-split-specifiers)
13146 (display-buffer-side-specifiers)
13147 (display-buffer-macro-specifiers): New constants.
13148 (display-buffer-even-window-sizes, display-buffer-set-height)
13149 (display-buffer-set-width, display-buffer-select-window)
13150 (display-buffer-in-window, display-buffer-reuse-window)
13151 (display-buffer-split-window-1, display-buffer-split-window)
13152 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13153 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13154 (display-buffer-in-side-window, normalize-buffer-to-display)
13155 (display-buffer-normalize-specifiers-1)
13156 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13157 (display-buffer-normalize-specifiers, display-buffer-frame):
13158 New functions.
9481c002
MR
13159 (display-buffer): Major rewrite.
13160 (display-buffer-other-window, display-buffer-other-frame)
13161 (pop-to-buffer, switch-to-buffer-other-window)
13162 (switch-to-buffer-other-frame): Rewrite.
13163 (display-buffer-same-window, display-buffer-same-frame)
13164 (display-buffer-same-frame-other-window)
13165 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13166 (pop-to-buffer-other-window)
13167 (pop-to-buffer-same-frame-other-window)
13168 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13169 (switch-to-buffer-other-window-same-frame): New functions.
13170 (same-window-p, special-display-p): Rewrite disabling warnings.
13171 Make obsolete.
13172 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13173 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13174 Make obsolete
13175 (same-window-buffer-names, same-window-regexps)
13176 (special-display-frame-alist, special-display-popup-frame)
13177 (special-display-function, special-display-buffer-names)
13178 (special-display-regexps, pop-up-frame-alist)
13179 (pop-up-frame-function, split-window-preferred-function)
13180 (split-height-threshold, split-width-threshold)
13181 (even-window-heights): Make obsolete.
13182
9db51aca
GM
131832011-06-12 Glenn Morris <rgm@gnu.org>
13184
13185 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13186 Misc simplifications.
9db51aca 13187
39cffb44
MR
131882011-06-12 Martin Rudalics <rudalics@gmx.at>
13189
13190 * window.el (window-safely-shrinkable-p): Restore function which
13191 was inadvertently removed in change from 2011-06-11. Declare as
13192 obsolete.
13193
2b75be67
SM
13194 * calendar/calendar.el (calendar-generate-window):
13195 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13196 window-safely-shrinkable-p.
13197
a8955be7
GM
131982011-06-12 Glenn Morris <rgm@gnu.org>
13199
13200 * progmodes/fortran.el (fortran-mode-syntax-table):
13201 * progmodes/f90.el (f90-mode-syntax-table):
13202 Set % to punctuation. (Bug#8820)
13203 (f90-find-tag-default): Remove, no longer needed.
13204
f0d4059d
DC
132052011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13206
13207 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13208
1100a63c
CY
132092011-06-11 Chong Yidong <cyd@stupidchicken.com>
13210
13211 * image.el (image-animated-p): Return animation delay in seconds.
13212 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13213 (image-animate-timeout): Remove DELAY argument. Don't assume
13214 every subimage has the same delay; get it from image-animated-p.
13215 (image-animate): Caller changed.
13216
def722bf
MA
132172011-06-11 Michael Albinus <michael.albinus@gmx.de>
13218
13219 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13220 to ignored backtrace functions.
13221
0a2bb1a9
GM
132222011-06-11 Glenn Morris <rgm@gnu.org>
13223
13224 * calendar/appt.el (appt-disp-window-function): Doc fix.
13225 (appt-check): Handle overlapping appointments. (Bug#8337)
13226
6198ccd0
MR
132272011-06-11 Martin Rudalics <rudalics@gmx.at>
13228
13229 * window.el (window-tree-1, window-tree): New functions, moving
13230 the latter to window.el.
13231 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13232 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13233 (bw-refresh-edges): Remove.
13234 (balance-windows-1, balance-windows-2): New functions.
13235 (balance-windows): Rewrite in terms of window tree functions,
13236 balance-windows-1 and balance-windows-2.
13237 (bw-adjust-window): Remove.
13238 (balance-windows-area-adjust): New function with functionality of
13239 bw-adjust-window but using resize-window.
2b75be67
SM
13240 (set-window-text-height): Rewrite doc-string.
13241 Use normalize-live-window and resize-window.
13242 (enlarge-window-horizontally, shrink-window-horizontally):
13243 Rename argument to DELTA.
6198ccd0
MR
13244 (window-buffer-height): New function.
13245 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13246 Rewrite using new window resize routines.
2b75be67
SM
13247 (kill-buffer-and-window, mouse-autoselect-window-select):
13248 Use ignore-errors instead of condition-case.
6198ccd0
MR
13249 (quit-window): Call delete-frame instead of delete-windows-on
13250 for the only buffer on frame.
13251
9397e56f
MR
132522011-06-10 Martin Rudalics <rudalics@gmx.at>
13253
13254 * loadup.el (top-level): Load window before files for the sake
13255 of replace-buffer-in-windows.
13256
13257 * files.el (read-buffer-to-switch)
13258 (switch-to-buffer-other-window)
2b75be67
SM
13259 (switch-to-buffer-other-frame, display-buffer-other-frame):
13260 Move to window.el.
9397e56f
MR
13261
13262 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13263 (previous-buffer): Move to window.el.
13264
13265 * bindings.el (unbury-buffer): Move to window.el.
13266
13267 * window.el (delete-other-windows-vertically): Move after
13268 definition of delete-other-windows.
13269 (other-window, delete-windows-on, replace-buffer-in-windows):
13270 Move here from window.c.
13271 (record-window-buffer, unrecord-window-buffer)
13272 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13273 (switch-to-next-buffer): New functions.
13274 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13275 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13276 (previous-buffer): Move here from simple.el.
13277 Call switch-to-prev-buffer.
9397e56f
MR
13278 (bury-buffer): Move here from buffer.c. Switch to previous
13279 buffer when window cannot be deleted.
13280 (unbury-buffer): Move here from bindings.el.
13281 (ctl-x-map): Move binding for other-window from window.c to
13282 here.
13283 (read-buffer-to-switch, switch-to-buffer-other-window)
13284 (switch-to-buffer-other-frame): Move here from files.el.
13285 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13286 (switch-to-buffer): Move here from buffer.c.
13287 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13288
562dd5e9
MR
132892011-06-10 Martin Rudalics <rudalics@gmx.at>
13290
13291 * window.el (window-min-height, window-min-width): Move here
13292 from window.c. Add defcustoms and rewrite doc-strings.
13293 (resize-mini-window, resize-window): New functions.
13294 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13295 Move here from window.c.
13296 (maximize-window, minimize-window): New functions.
13297 (delete-window, delete-other-windows, split-window): Move here
13298 from window.c.
13299 (window-split-min-size): New function.
13300 (split-window-keep-point): Mention split-window-above-each-other
13301 instead of split-window-vertically.
2b75be67 13302 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13303 Rename split-window-vertically to split-window-above-each-other
13304 and provide defalias for old definition.
13305 (split-window-side-by-side, split-window-horizontally):
13306 Rename split-window-horizontally to split-window-side-by-side
13307 and provide defalias for the old definition.
562dd5e9
MR
13308 (ctl-x-map): Move bindings for delete-window,
13309 delete-other-windows and enlarge-window here from window.c.
13310 Replace bindings for split-window-vertically and
13311 split-window-horizontally by bindings for
13312 split-window-above-each-other and split-window-side-by-side.
13313
13314 * cus-start.el (all): Remove entries for window-min-height and
13315 window-min-width. Add entries for window-splits and
13316 window-nest.
13317
f0da764a
GM
133182011-06-09 Glenn Morris <rgm@gnu.org>
13319
80675c21
GM
13320 * calendar/appt.el (appt-mode-line): New function.
13321 (appt-check, appt-disp-window): Use it.
13322
f0da764a
GM
13323 * files.el (hack-one-local-variable-eval-safep):
13324 Allow minor-modes with explicit +/-1 arguments.
13325
59f623b7
TZ
133262011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13327
13328 * term/xterm.el (xterm): Add defgroup.
13329 (xterm-extra-capabilities): Add defcustom to supply known xterm
13330 capabilities, skip querying them, or query them (default).
13331 (terminal-init-xterm): Use it.
13332 (terminal-init-xterm-modify-other-keys): New function to set up
13333 modifyOtherKeys support to simplify `terminal-init-xterm'.
13334
9aab8e0d
MR
133352011-06-09 Martin Rudalics <rudalics@gmx.at>
13336
13337 * window.el (resize-window-reset, resize-window-reset-1)
13338 (resize-subwindows-skip-p, resize-subwindows-normal)
13339 (resize-subwindows, resize-other-windows, resize-this-window)
13340 (resize-root-window, resize-root-window-vertically)
13341 (window-deletable-p, window-or-subwindow-p)
13342 (frame-root-window-p): New functions.
13343
e8b08aee
GM
133442011-06-09 Glenn Morris <rgm@gnu.org>
13345
13346 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13347 (ange-ftp-get-files): Use it.
13348
254c37a5
AK
133492011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13350
13351 * mail/sendmail.el (mail-recover-1, mail-recover):
13352 * files.el (recover-file, recover-session):
13353 Handle dired-listing-switches not being just a single short option.
13354
35d7dbd3
GM
133552011-06-09 Glenn Morris <rgm@gnu.org>
13356
13357 * calendar/appt.el (appt-display-message, appt-disp-window):
13358 Handle lists of appointments.
13359
387522b2
MR
133602011-06-08 Martin Rudalics <rudalics@gmx.at>
13361
2b75be67
SM
13362 * window.el (one-window-p): Move down in code.
13363 Rewrite doc-string.
13364 (window-current-scroll-bars): Rewrite doc-string.
13365 Normalize live window argument.
387522b2
MR
13366 (walk-windows, get-window-with-predicate, count-windows):
13367 Rewrite doc-string. Use window-list-1.
13368 (window-in-direction-2, window-in-direction, get-mru-window):
13369 New functions.
13370
d8e4b68b 133712011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13372
13373 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13374 Doc fix (Bug#8713).
13375
133762011-06-08 Chong Yidong <cyd@stupidchicken.com>
13377
13378 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13379
133802011-06-08 Juanma Barranquero <lekktu@gmail.com>
13381
13382 * loadhist.el (unload-feature-special-hooks):
13383 Add `comint-output-filter-functions'.
13384
0de12c52
IK
133852011-06-08 Ivan Kanis <gnu@kanis.fr>
13386
13387 * calendar/appt.el (appt-check): Move some initializations into the let.
13388
f3d1777e
MR
133892011-06-08 Martin Rudalics <rudalics@gmx.at>
13390
13391 * window.el (window-height): Defalias to window-total-height.
13392 (window-width): Defalias to window-body-width.
13393
18af70d0
CY
133942011-06-07 Chong Yidong <cyd@stupidchicken.com>
13395
13396 * image-mode.el (image-toggle-animation): New command.
13397 (image-mode-map): Bind it to RET.
13398 (image-mode): Update message.
13399 (image-toggle-display-image): Avoid a spurious cache flush.
13400 (image-transform-rotation): Doc fix.
13401 (image-transform-properties): Return quickly in the normal case.
13402 (image-animate-loop): Rename from image-animate-max-time.
13403
2b75be67 13404 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13405 (create-animated-image): Remove unnecessary function.
13406 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13407 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13408 (image-animate-timer): Use car-safe.
13409 (image-animate-timeout): Rename argument.
13410
190b47e6
MR
134112011-06-07 Martin Rudalics <rudalics@gmx.at>
13412
13413 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13414 window.c. Rename first argument to ALL-FRAMES.
13415 Rephrase doc-strings.
13416 (get-buffer-window-list): Rewrite using window-list-1.
13417 Rephrase doc-string.
a1511caf
MR
13418 (window-safe-min-height, window-safe-min-width): New constants.
13419 (window-size-ignore, window-min-size, window-min-size-1)
13420 (window-sizable, window-sizable-p, window-size-fixed-1)
13421 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13422 (window-max-delta-1, window-max-delta, window-resizable)
13423 (window-resizable-p, window-total-height, window-total-width)
13424 (window-body-width): New functions.
13425 (window-full-height-p, window-full-width-p): Rewrite using
13426 window-total-size.
13427 (window-body-height): Rewrite using window-body-size.
190b47e6 13428
85cc1f11
MR
134292011-06-06 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (window-right, window-left, window-child)
13432 (window-child-count, window-last-child, window-any-p)
13433 (normalize-live-buffer, normalize-live-frame)
13434 (normalize-any-window, normalize-live-window)
13435 (window-iso-combination-p, window-iso-combined-p)
13436 (window-iso-combinations)
13437 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13438 (windows-with-parameter, window-with-parameter)
13439 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13440 (window-atom-check, window-side-check, window-check):
13441 New functions.
85cc1f11
MR
13442 (ignore-window-parameters, window-sides, window-sides-vertical)
13443 (window-sides-slots): New variables.
13444 (window-size-fixed): Move down in code. Minor doc-string fix.
13445
e7156492
AS
134462011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13447
13448 * comint.el (comint-dynamic-complete-as-filename)
13449 (comint-dynamic-complete-filename): Correctly call
13450 completion-in-region.
13451
7e821d0d
DD
134522011-06-05 Deniz Dogan <deniz@dogan.se>
13453
13454 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13455 in last change.
13456
ac09b8a1
DD
134572011-06-05 Deniz Dogan <deniz@dogan.se>
13458
13459 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13460 (rcirc): Use it to prompt for encryption.
13461
34699b85
RW
134622011-06-05 Roland Winkler <winkler@gnu.org>
13463
13464 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13465 (bibtex-search-entries): New command bound to C-c C-a.
13466 (bibtex-display-entries): New function.
13467
004dedd3
RW
134682011-06-05 Roland Winkler <winkler@gnu.org>
13469
13470 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13471 (bibtex-insert-kill): After yanking insert newline if necessary.
13472 (bibtex-initialize): Call bibtex-string-files-init only once.
13473 (bibtex-mode): Do not call easy-menu-add.
13474 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13475 (bibtex-yank): Set arg properly if nil.
13476
022fe7ce
RW
134772011-06-05 Roland Winkler <winkler@gnu.org>
13478
2b75be67
SM
13479 * textmodes/bibtex.el (bibtex-search-entry-globally):
13480 New variable.
022fe7ce
RW
13481 (bibtex-search-entry): Use it.
13482
b7c3692a
RW
134832011-06-05 Roland Winkler <winkler@gnu.org>
13484
13485 * textmodes/bibtex.el (bibtex-entry-format): New option
13486 sort-fields.
13487 (bibtex-format-entry, bibtex-reformat): Honor this option.
13488 (bibtex-parse-entry): Return fields in proper order.
13489
8eda563d
JB
134902011-06-05 Juanma Barranquero <lekktu@gmail.com>
13491
13492 * doc-view.el (doc-view-remove-if): Move computation of result out
13493 of `dolist' to silence misleading lexical-binding warning.
13494
7dbe3dbc
CY
134952011-06-04 Chong Yidong <cyd@stupidchicken.com>
13496
13497 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13498 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13499
0c33dd17
MA
135002011-06-04 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13503 "SunOS 5.10".
13504
f8f91c2b
MA
135052011-06-04 Michael Albinus <michael.albinus@gmx.de>
13506
13507 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13508 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13509 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13510 (tramp-parse-putty):
13511 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13512 (tramp-completion-function-alist-ssh)
13513 (tramp-completion-function-alist-telnet)
13514 (tramp-completion-function-alist-su)
13515 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13516 cookie.
13517
13518 * net/tramp-ftp.el:
13519 * net/tramp-sh.el:
13520 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13521 load "tramp.el" `tramp-set-completion-function'.
13522
e17d9003
SM
135232011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13524
13525 * shell.el: Require and use pcomplete.
13526 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13527 (shell-completion-vars): Set pcomplete-default-completion-function.
13528
6c4cab03
DD
135292011-06-04 Deniz Dogan <deniz@dogan.se>
13530
13531 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13532 `memq' (Bug#8799).
13533
ea9fafe0
SM
135342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13535
13536 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13537
b3e945d3
JB
135382011-06-02 Juanma Barranquero <lekktu@gmail.com>
13539
13540 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13541 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13542 * vc/log-view.el (log-view-beginning-of-defun):
13543 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13544 (smerge-refine-forward, smerge-refine-chopup-region):
13545 Silence warning for unused `dotimes' counter variables.
13546
7d520089
SM
135472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * net/tramp.el (tramp-with-progress-reporter): Rename from
13550 with-progress-reporter. Use `declare'.
13551 * net/tramp-smb.el:
13552 * net/tramp-sh.el:
13553 * net/tramp-gvfs.el: Update all uses.
13554
a1c2400f
JB
135552011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13556
13557 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13558 buffer isn't killed before making it current.
13559
2403c841
SM
135602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 Silence various byte-compiler warnings.
13563 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13564 `access-type' and new obsolescence format.
13565 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13566 new format.
13567 (byte-compile-check-variable): New `access-type' argument.
13568 Only warn if the access-type is obsolete.
13569 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13570 (byte-compile-variable-set): Adjust callers.
13571 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13572 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13573 setting it as obsolete.
13574 * simple.el (minibuffer-completing-symbol):
13575 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13576 access as obsolete.
13577 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13578 obsolete yet.
13579 * international/quail.el (quail-mouse-choose-completion): Remove unused
13580 code referring to obsolete var.
13581 (quail-choose-completion-string): Remove.
13582 * server.el (server-clients-with, server-kill-buffer-query-function)
13583 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13584 * proced.el (proced-send-signal):
13585 * emacs-lisp/lisp.el (lisp-complete-symbol):
13586 Replace completion-annotate-function with completion-extra-properties.
13587
2462470b
SM
135882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13589
fb5b2591
SM
13590 * simple.el (goto-line): Use read-number.
13591 (overriding-map-is-bound): Remove.
13592 (saved-overriding-map): Change default.
13593 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13594 Take the map as argument.
13595 (universal-argument, negative-argument, digit-argument): Use it.
13596 (restore-overriding-map): Adjust.
13597 (do-auto-fill): Use fill-forward-paragraph.
13598 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13599
fd6fa53f
SM
13600 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13601 (minibuffer-inactive-mode): New major mode.
13602 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13603 the *Messages* buffer" hack.
13604 (mouse-popup-menubar): Don't burp if the event is a normal key.
13605
2462470b
SM
13606 Miscellaneous tweaks.
13607 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13608 lexical scoping as in subr.el's dolist and dotimes.
13609 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13610 Silence compiler warning.
13611 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13612 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13613 * international/ccl.el (ccl-compile): Trivial simplification.
13614 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13615 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13616 `printflag' argument.
13617 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13618 Purecopy the whole obsolescence data.
13619
108bf785
LL
136202011-06-01 Leo Liu <sdl.web@gmail.com>
13621
13622 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13623 improve doc-string as suggested by Marco Pessotto
13624 <melmothx@gmail.com>.
13625 (rcirc-print): Fix last change.
13626
30a23501
SM
136272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13628
13629 * minibuffer.el (complete-with-action): Return nil for the metadata and
13630 boundaries of non-functional tables.
13631 (completion-table-dynamic): Return nil for the metadata.
13632 (completion-table-with-terminator): Add default case, using
13633 complete-with-action.
13634 (completion--metadata): New function.
13635 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13636 to try and avoid pathological performance problems.
13637 (completion--embedded-envvar-table): Return `category' metadata.
13638
bcd54f83
LMI
136392011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13640
13641 * subr.el (process-alive-p): New tiny convenience function.
13642
e227544d
SM
136432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13644
13645 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13646 content but also its previous major mode.
13647
e8296fdc
HE
136482011-05-31 Helmut Eller <eller.helmut@gmail.com>
13649
4d61f28d 13650 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13651 *Backtrace* buffer when we exit with C-M-c.
13652
620c53a6
SM
136532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * minibuffer.el: Add metadata method to completion tables.
13656 (completion-category-overrides): New defcustom.
13657 (completion-metadata, completion--field-metadata)
13658 (completion-metadata-get, completion--styles)
13659 (completion--cycle-threshold): New functions.
13660 (completion-try-completion, completion-all-completions):
13661 Add `metadata' argument to choose completion-styles.
13662 (completion--do-completion): Use metadata to choose cycling.
13663 (completion-all-sorted-completions): Use metadata for sorting.
13664 Remove :completion-cycle-penalty which is not needed any more.
13665 (completion--try-word-completion): Add `metadata' argument.
13666 (minibuffer-completion-help): Check metadata for annotation function
13667 and sorting.
13668 (completion-file-name-table): Return `category' metadata.
13669 (minibuffer-completing-file-name): Make obsolete.
13670 * simple.el (minibuffer-completing-symbol): Make obsolete.
13671 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13672 completion-try-completion.
13673
1257e755
SM
136742011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13675
13676 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13677
3767e706
LL
136782011-05-30 Leo Liu <sdl.web@gmail.com>
13679
13680 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13681 (rcirc-print): Decode all incoming messages (bug#8744).
13682 (rcirc-decode-coding-system): Allow value nil for automatic coding
13683 system detection.
3767e706 13684
d1a5d56a
GM
136852011-06-01 Glenn Morris <rgm@gnu.org>
13686
13687 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13688
e8cbec34
CY
136892011-05-29 Chong Yidong <cyd@stupidchicken.com>
13690
13691 * image.el (image-animate-max-time): Allow nil and t values.
13692 Default to nil.
13693 (create-animated-image): Doc fix.
13694 (image-animate-start): Remove second arg; just use
13695 image-animate-max-time.
13696 (image-animate-timeout): Doc fix. Args changed.
13697
13698 * image-mode.el (image-toggle-display-image): Ensure that the
13699 image spec passed to the animate timer is the same object as in
58179cce 13700 the buffer's display property (Bug#6981).
e8cbec34
CY
13701 (image-transform-properties): Doc fix.
13702
13703 * image.el (image-animate-max-time): Default to nil.
13704
159daf87
MR
137052011-05-29 Martin Rudalics <rudalics@gmx.at>
13706
13707 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13708 entire buffer list (Bug#8184).
13709
d66c4c7c
CY
137102011-05-29 Chong Yidong <cyd@stupidchicken.com>
13711
13712 * image.el (imagemagick-types-inhibit)
13713 (imagemagick-register-types): Doc fix.
13714
80aec780
DD
137152011-05-29 Deniz Dogan <deniz@dogan.se>
13716
13717 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13718 default.
13719
1dd3c2d9
CY
137202011-05-29 Chong Yidong <cyd@stupidchicken.com>
13721
13722 * select.el: Don't perform clipboard-manager saving in hooks;
13723 leave the hooks empty.
13724
60e56523
LL
137252011-05-28 Leo Liu <sdl.web@gmail.com>
13726
13727 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13728 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13729 (occur-edit-mode): New major mode (Bug#8463).
13730 (occur-after-change-function): New function.
13731 (occur-engine): Give Occur tags a read-only property.
13732
2b1e1a22
KR
137332011-05-28 Kevin Ryde <user42@zip.com.au>
13734
13735 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13736
5d344e88
CY
137372011-05-28 Chong Yidong <cyd@stupidchicken.com>
13738
8e6ca83d
CY
13739 * bindings.el (help-echo): Make the initial non-indicator dash
13740 empty on graphical terminals (Bug#7295).
13741
5d344e88
CY
13742 * files.el (auto-mode-alist): Move config rule after the
13743 in-stripping one (Bug#8547).
13744
bfbbace7
CY
13745 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13746
fbeba6e2
CY
13747 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13748 setting (Bug#8740).
13749
60ed8c72
AA
137502011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13751
4ac619f0
AA
13752 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13753 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13754 (Bug#8539).
60ed8c72 13755
23db196e
CY
137562011-05-28 Chong Yidong <cyd@stupidchicken.com>
13757
13758 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13759
5012f24c
DK
137602011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13761
13762 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13763 (hs-hide-block-at-point, hs-find-block-beginning)
13764 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13765 (Bug#8279).
13766
6a639b16
GM
137672011-05-28 Glenn Morris <rgm@gnu.org>
13768
13769 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13770
d43eaf2c
CY
137712011-05-28 Chong Yidong <cyd@stupidchicken.com>
13772
5199bde1
CY
13773 * help-fns.el (describe-function-1): If the function is a derived
13774 major mode, print the parent mode.
13775
d43eaf2c
CY
13776 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13777 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13778
423428a8
SM
137792011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13780
0ff8e1ba 13781 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13782 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13783 * progmodes/etags.el (tags-completion-at-point-function):
13784 * info-look.el (info-lookup-completions-at-point): Mark as
13785 non-exclusive.
13786 (info-complete): Adjust accordingly.
13787
423428a8
SM
13788 * info-look.el: Convert to lexical-binding and completion-at-point.
13789 (info-lookup-completions-at-point): New function.
13790 (info-complete): Use it and completion-in-region.
13791
b74aa22b
DA
137922011-05-28 Drew Adams <drew.adams@oracle.com>
13793
13794 * isearch.el: Let M-e start with point at the first mismatched char.
13795 (isearch-fail-pos): New function.
13796 (isearch-edit-string): Use it.
13797
66e2e71d
DK
137982011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13799
13800 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13801
b1890b0f 138022011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13803
13804 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13805 traversal functions for avl-trees.
13806 (avl-tree--stack): New struct.
13807 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13808 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13809 (avl-tree--do-enter): Add optional `updatefun' arg.
13810 Change return value.
eb95d01d 13811 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13812 (avl-tree--do-delete): Add `test' and `nilflag' args.
13813 Change return value.
eb95d01d
TC
13814 (avl-tree-member): Add optional `nilflag'
13815 (avl-tree-member-p): New function.
13816 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13817 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13818 (avl-tree-stack-empty-p): New functions.
13819
3769ddcf
TC
13820 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13821 avl-tree--del-balance1 and make it work both ways.
13822 (avl-tree--del-balance2): Remove.
13823 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13824 make it work both ways.
13825 (avl-tree--enter-balance2): Remove.
13826 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13827 New macros.
13828 (avl-tree--mapc, avl-tree-map): Add direction argument.
13829
eb95d01d 138302011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13831
13832 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13833
a9f737ee
CY
138342011-05-27 Chong Yidong <cyd@stupidchicken.com>
13835
13836 * select.el: Support clipboard managers with built-in function
13837 x-clipboard-manager-save, via delete-frame-functions and
13838 kill-emacs-hook.
13839 (xselect-convert-to-targets): Add MULTIPLE target to list.
13840 (xselect-convert-to-save-targets): New function.
13841
c92a1e54
KH
138422011-05-27 Kenichi Handa <handa@m17n.org>
13843
13844 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13845 let-binding rfc2047-encode-encoded-words to nil.
13846
e145f188
GM
138472011-05-27 Glenn Morris <rgm@gnu.org>
13848
5ec8a862
GM
13849 * mail/emacsbug.el: Don't require url-util.
13850
4b29d9fb
GM
13851 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13852
e145f188
GM
13853 * files.el (set-auto-mode):
13854 Also respect mode: entries at the end of the file. (Bug#8586)
13855
7d15102b
GM
138562011-05-26 Glenn Morris <rgm@gnu.org>
13857
98f593b8
GM
13858 * files.el (hack-local-variables-prop-line, hack-local-variables):
13859 Downcase mode names, as seems to be traditional.
27b48e63 13860 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13861
7d15102b
GM
13862 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13863 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13864
51d5b4ec
JD
138652011-05-25 Julien Danjou <julien@danjou.info>
13866
13867 * textmodes/rst.el (rst-define-level-faces): Do not define face
13868 symbol if it is already defined.
13869
91513f63
VB
138702011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13871
13872 * play/5x5.el (5x5-new-game, 5x5-randomize):
13873 Reset 5x5-solver-output to nil when a new grid is cast.
13874 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13875 these debugging traces, as defmacro breaks the compiled code.
13876
4d90d6d0
DK
138772011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13878
13879 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13880
e1b90ef6
LL
138812011-05-24 Leo Liu <sdl.web@gmail.com>
13882
13883 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13884 (vc-bzr-sha1): Adapt.
13885
d8e4b68b 13886 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13887
13888 * bindings.el: Provide sha1 feature.
13889
db0406bb 138902011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13891
13892 * mail/sendmail.el: Require `rfc2047'.
13893 (mail-insert-from-field): Do not perform RFC2047 encoding.
13894 (mail-encode-header): New function.
13895 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13896 buffer to the return value of select-message-coding-system.
13897 Call mail-encode-header.
b8d747b9
KH
13898
13899 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13900
db0406bb 139012011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13902
4d90d6d0
DK
13903 * mail/supercite.el (sc-default-cite-frame):
13904 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13905
eb8a5e9b
GM
139062011-05-24 Glenn Morris <rgm@gnu.org>
13907
f8630703
GM
13908 * progmodes/python.el (brm-menu): Declare.
13909
8831bbed
GM
13910 * emulation/viper.el (viper-set-hooks): Declare.
13911
eb8a5e9b
GM
13912 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13913 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13914 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13915 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13916 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13917 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13918
a2a25d24
SM
139192011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 Add an :exit-function for completion-at-point.
13922
13923 * minibuffer.el (completion--done): New fun.
13924 (completion--do-completion): Use it. New arg `expect-exact'.
13925 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13926 since completion--do-completion does it for us now.
13927 (minibuffer-force-complete): Use completion--done and
13928 completion--replace. Handle sole-completion case with more care.
13929 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13930 (completion-extra-properties): New var.
13931 (completion-annotate-function): Make obsolete.
13932 (minibuffer-completion-help): Adjust accordingly.
13933 Use completion-list-insert-choice-function.
13934 (completion-at-point, completion-help-at-point):
13935 Bind completion-extra-properties.
13936 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13937 * simple.el (completion-list-insert-choice-function): New var.
13938 (completion-setup-function): Preserve it.
13939 (choose-completion): Pay attention to it, shuffle the code a bit.
13940 (choose-completion-string): New arg `insert-function'.
13941
13942 * textmodes/bibtex.el: Convert to lexical binding.
13943 (bibtex-mode-map): Use completion-at-point.
13944 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13945 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13946 (bibtex-complete): Define as obsolete alias.
13947 (bibtex-complete-internal): Remove.
13948 (bibtex-format-entry): Remove unused sub-group in regexp.
13949 * shell.el (shell--command-completion-data)
13950 (shell-environment-variable-completion):
13951 * pcomplete.el (pcomplete-completions-at-point):
13952 * comint.el (comint--complete-file-name-data): Use :exit-function
13953 instead of completion-table-with-terminator so it also works for
13954 choose-completion.
13955
e44e373d
SM
139562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13957
4f91a816
SM
13958 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13959
782fc819
SM
13960 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13961 (bug#8710).
13962
e44e373d
SM
13963 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13964
381987c3
KM
139652011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13966
13967 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13968 customization variable and implement: If non-nil, auto-fill will
13969 be inhibited while on topic's header line.
13970
b776bc70
VB
139712011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13972
13973 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13974 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13975 always have a solution in grid size = 5 cases.
13976 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13977 (5x5-solver-output, 5x5-log-buffer): New vars.
13978 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13979 Make these variables buffer local to achieve 5x5 multi-session-ness.
13980 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13981 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13982 (5x5-solve-suggest): New funs.
13983 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13984 randomize a grid so that we ensure that there is always a solution.
13985 (5x5-make-random-grid): Allow other movement than flipping.
13986
7de88b6e
KR
139872011-05-23 Kevin Ryde <user42@zip.com.au>
13988
13989 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13990 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13991 advice and passes PREDICATE.
13992
b1ef1257
SM
139932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13994
bbca48fe
SM
13995 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13996 byte-compile-lambda if it's actually a lambda.
13997
b1ef1257
SM
13998 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13999 Fix function quoting. Use backquote better.
14000
92a9cc65
YS
140012011-05-22 Yuanle Song <sylecn@gmail.com>
14002
14003 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14004 matching (Bug#8516).
14005
f0fb8059
JA
140062011-01-22 Jari Aalto <jari.aalto@cante.net>
14007
14008 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14009 different face (Bug#8178).
14010
d5b44c93
CY
140112011-05-22 Chong Yidong <cyd@stupidchicken.com>
14012
14013 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14014 defface (Bug#8144).
14015
79106a44
SM
140162011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14017
9c848d8a
SM
14018 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14019 funcall as well (bug#8712). Warn when performing those conversions.
14020 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14021
79106a44
SM
14022 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14023
88dfa756
GM
140242011-05-22 Glenn Morris <rgm@gnu.org>
14025
14026 * files.el (hack-local-variables-prop-line): Small simplifications.
14027 (hack-local-variables, hack-local-variables-prop-line):
14028 If MODE-ONLY, return the mode, rather than just `t'.
14029
b7cf2c79
SM
140302011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14031
14032 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14033
3f1a8558
GM
140342011-05-21 Glenn Morris <rgm@gnu.org>
14035
7e4ccca3
GM
14036 * files.el (hack-local-variables-prop-line, hack-local-variables):
14037 If only interested in the mode, don't bother doing the other stuff.
14038
637d46ca
GM
14039 * image-mode.el (image-after-revert-hook):
14040 Redraw all frames on which the image is visible. (Bug#8567)
14041
973d955b
GM
14042 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14043
3f1a8558
GM
14044 * wid-edit.el (widget-checklist-match-inline):
14045 Fix 2011-04-19 change. (Bug#8649)
14046
96479927
SM
140472011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14048
1dcf791f
SM
14049 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14050 Also allow singlespace after single-letter capitals followed by a dot.
14051
96479927
SM
14052 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14053 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14054
35fd0881
N
140552011-05-20 Nix <nix@esperi.org.uk>
14056
14057 * files.el (basic-save-buffer-2):
14058 Fix handling of break-hardlink-on-save with non-existent files.
14059
82745640
DD
140602011-05-19 Deniz Dogan <deniz@dogan.se>
14061
14062 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14063 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14064
4a720484
GM
140652011-05-19 Glenn Morris <rgm@gnu.org>
14066
d1f21341
GM
14067 * progmodes/f90.el (f90-type-def-re):
14068 Handle "type, bind(c)". (Bug#8691)
14069
4a720484
GM
14070 * emacs-lisp/autoload.el (batch-update-autoloads):
14071 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14072
2fb0a219
MA
140732011-05-18 Michael Albinus <michael.albinus@gmx.de>
14074
14075 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14076 property for the correct connection in case of multihops.
14077
e565dd37
GM
140782011-05-18 Glenn Morris <rgm@gnu.org>
14079
c2571358 14080 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14081 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14082
e565dd37
GM
14083 Rationalize calendar handling of day and month abbrev-arrays.
14084 * calendar/calendar.el (calendar-customized-p): New function.
14085 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14086 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14087 Add :set function.
14088 (calendar-abbrev-length, calendar-day-abbrev-array)
14089 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14090 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14091 Elements may no longer be nil.
14092 (calendar-day-name, calendar-month-name):
14093 Update for changed nature of abbrev arrays.
14094 * calendar/diary-lib.el (diary-name-pattern):
14095 Update for changed nature of abbrev arrays.
14096 (diary-mark-entries-1): Update calendar-make-alist calls.
14097 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14098 * calendar/cal-html.el (cal-html-day-abbrev-array):
14099 Simply inherit from calendar-day-abbrev-array.
14100
1d99a745
SM
141012011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14102
14103 * progmodes/grep.el (grep-mode): Disable default
14104 compilation-directory-matcher setting (bug#8684).
14105
7c1d9aa0
MA
141062011-05-17 Michael Albinus <michael.albinus@gmx.de>
14107
14108 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14109 instead of "head" and "tail". There were problems with SunOS 5.9,
14110 and it performs better.
14111
3952e9d8
GM
141122011-05-17 Glenn Morris <rgm@gnu.org>
14113
2dd12e7f
GM
14114 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14115
e4157b9c
GM
14116 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14117 Replace obsolete function.
14118
8e249bbd
GM
14119 * shell.el (pcomplete-parse-arguments-function): Declare.
14120
3952e9d8
GM
14121 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14122 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14123 (appt-check): Doc fixes.
14124 (appt-disp-window-function, appt-delete-window-function):
14125 Remove needless special case in custom :type.
14126 (appt-display-count): Default to 0, not nil.
14127 (appt-check): Reset appt-display-count to 0, not nil.
14128
c71a0d48 141292011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14130
c71a0d48
GM
14131 * progmodes/python.el (python-font-lock-keywords):
14132 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14133
31d55be9
SM
141342011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14135
14136 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14137
3bfacb2f
KR
141382011-05-16 Kevin Ryde <user42@zip.com.au>
14139
14140 * info-look.el (makefile-automake-mode): New setups, looking in
14141 automake manual, then makefile-mode.
14142 (makefile-mode): Remove automake manual, have it just in
14143 makefile-automake-mode since there's various things different or
14144 not relevant to plain make.
14145 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14146 believe a hypothetical automake-mode would go to makefile-mode,
14147 not the other way around.
14148
c8e83751
CY
141492011-05-15 Chong Yidong <cyd@stupidchicken.com>
14150
5e9e35cd
CY
14151 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14152 hunk-end tags (Bug#8672).
14153
c8e83751
CY
14154 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14155 vc-annotate-show-diff-revision-at-line (Bug#8671).
14156
50b23e5a
GM
141572011-05-14 Glenn Morris <rgm@gnu.org>
14158
7210a739
GM
14159 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14160 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14161 (change-log-font-lock-keywords): Also handle multiple author lines
14162 with leading tabs. (Bug#8644)
7210a739 14163
4691905a
GM
14164 * calendar/appt.el (appt-check): Rename some local variables.
14165 Some simplification/reordering.
14166
50b23e5a
GM
14167 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14168 (feedmail-sendmail-f-doesnt-sell-me-out)
14169 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14170 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14171 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14172 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14173 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14174 (feedmail-binmail-gnulinuxish-template):
14175 Rename from feedmail-binmail-linuxish-template.
14176 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14177 Use insert-buffer-substring.
14178
215cda7c
BC
141792011-05-14 Bill Carpenter <bill@carpenter.org>
14180
14181 * mail/feedmail.el (feedmail-patch-level): Increase.
14182 (feedmail-debug): New custom group.
14183 (feedmail-confirm-outgoing-timeout)
14184 (feedmail-sendmail-f-doesnt-sell-me-out)
14185 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14186 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14187 (feedmail-sender-line, feedmail-from-line)
14188 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14189 (feedmail-spray-this-address)
215cda7c
BC
14190 (feedmail-spray-address-fiddle-plex-list)
14191 (feedmail-queue-use-send-time-for-date)
14192 (feedmail-queue-use-send-time-for-message-id)
14193 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14194 (feedmail-buffer-eating-function):
14195 Doc fixes.
14196 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14197 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14198 (feedmail-message-action-scroll-down): New functions.
14199 (feedmail-queue-directory, feedmail-queue-draft-directory):
14200 Use expand-file-name.
14201 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14202 Remove C-v help entry.
14203 (feedmail-queue-buffer-file-name): New variable.
14204 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14205 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14206 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14207 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14208 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14209 (feedmail-message-action-toggle-spray)
14210 (feedmail-run-the-queue-no-prompts)
14211 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14212 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14213 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14214 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14215 (feedmail-envelope-deducer, feedmail-fiddle-from)
14216 (feedmail-fiddle-sender, feedmail-default-date-generator)
14217 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14218 (feedmail-fiddle-spray-address)
14219 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14220 (feedmail-fiddle-list-of-fiddle-plexes)
14221 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14222 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14223 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14224 Change default. Doc fix.
14225 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14226 (feedmail-binmail-linuxish-template): New constant.
14227 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14228 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14229 (feedmail-send-it): Add debug call.
14230 Use feedmail-queue-buffer-file-name, and
14231 feedmail-send-it-immediately-wrapper.
14232 (feedmail-message-action-send): Add debug call.
14233 Use feedmail-send-it-immediately-wrapper.
14234 (feedmail-queue-express-to-queue): Add debug call.
14235 Run feedmail-queue-express-hook.
14236 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14237 (feedmail-message-action-help-blat):
14238 Rename from feedmail-queue-send-edit-prompt-help-first.
14239 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14240 Check line-endings. Handle errors better.
14241 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14242 Doc fix. Add debug call.
14243 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14244 Use feedmail-queue-send-edit-prompt-inner.
14245 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14246 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14247 from feedmail-queue-send-edit-prompt.
14248 (feedmail-queue-send-edit-prompt-help)
14249 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14250 (feedmail-tidy-up-slug): Add debug call.
14251 Respect feedmail-queue-slug-suspect-regexp.
14252 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14253 (feedmail-dump-message-to-queue): Add debug call.
14254 Expand queue-directory.
14255 (feedmail-dump-message-to-queue): Change message slightly.
14256 Use feedmail-say-chatter.
14257 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14258 (feedmail-send-it-immediately-wrapper): New function.
14259 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14260 Insert empty string rather than newline. Handle full-frame case.
14261 Use catch/throw. Use feedmail-say-chatter.
14262 (feedmail-fiddle-from): Try mail-host-address.
14263 (feedmail-default-message-id-generator): Doc fix.
14264 Bind system-time-locale. Handle missing end.
14265 (feedmail-fiddle-x-mailer): Add debug call.
14266 Handle feedmail-x-mailer-line being nil.
14267 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14268 Add debug call. Use buffer-substring-no-properties.
14269 (feedmail-say-debug, feedmail-say-chatter): New functions.
14270 (feedmail-find-eoh): Give an explicit error.
14271
42c7e61e
UJ
142722011-05-13 Ulf Jasper <ulf.jasper@web.de>
14273
c2571358 14274 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14275 family from helvetica to sans.
c2571358 14276 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14277 etc/images/newsticker.
14278
c2571358 14279 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14280 family from helvetica to sans.
14281
14282 * net/newst-plainview.el (newsticker-new-item-face)
14283 (newsticker-old-item-face, newsticker-immortal-item-face)
14284 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14285 (newsticker-statistics-face): Change default family from
42c7e61e 14286 helvetica to sans.
c2571358 14287 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14288 etc/images/newsticker.
14289
5d3385a0
JB
14290 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14291 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14292 auto-marking.
14293
8497a297
DV
142942011-05-13 Didier Verna <didier@xemacs.org>
14295
14296 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14297 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14298 TODO entries.
8497a297
DV
14299 (lisp-lambda-list-keyword-parameter-indentation)
14300 (lisp-lambda-list-keyword-parameter-alignment)
14301 (lisp-lambda-list-keyword-alignment): New customizable user options.
14302 (lisp-indent-defun-method): Improve docstring.
14303 (extended-loop-p): Fix comment.
14304 (lisp-indent-lambda-list-keywords-regexp): New variable.
14305 (lisp-indent-lambda-list): New function.
14306 (lisp-indent-259): Use it.
14307 (lisp-indent-defmethod): Support for more than one
14308 method qualifier and properly indent methods lambda-lists.
14309 (defgeneric): Provide a missing common-lisp-indent-function property.
14310
f278f87f
SM
143112011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14314 bounds for the empty string (bug#8667).
14315
5233edd7
GM
143162011-05-13 Glenn Morris <rgm@gnu.org>
14317
5237a44f
GM
14318 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14319
8340026c 14320 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14321 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14322
5233edd7 14323 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14324 (appt-time-msg-list): Doc fix.
a5464014 14325 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14326
92d10796
AS
143272011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14328
14329 * progmodes/ld-script.el (ld-script-keywords)
14330 (ld-script-builtins): Update keywords list.
14331
914a0ae1
SM
143322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14333
c89be45f
SM
14334 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14335
914a0ae1
SM
14336 * shell.el (shell-completion-vars): New function.
14337 (shell-mode):
14338 * simple.el (read-shell-command): Use it.
14339 (blink-matching-open): No need for " [...]" in minibuffer-message.
14340
98dc3df3
GM
143412011-05-12 Glenn Morris <rgm@gnu.org>
14342
14343 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14344 (appt-check): Simplify.
14345
d2fc7e3d 143462011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14347
4d61f28d 14348 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14349 literal "/dev/null".
14350
d2fc7e3d 143512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14352
14353 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14354 Fix typo.
14355
d2fc7e3d 143562011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14357
3f254caa
SM
14358 * progmodes/which-func.el (which-function):
14359 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14360 which might not be defined (Bug#8260).
14361
d45885f7
GM
143622011-05-12 Glenn Morris <rgm@gnu.org>
14363
14364 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14365 Let byte-compile-initial-macro-environment always take precedence.
14366
488086f4
SM
143672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14368
14369 * net/rcirc.el: Add support for SSL/TLS connections.
14370 (rcirc-server-alist): New field `encryption'.
14371 (rcirc): Check `encryption' settings.
14372 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14373 Merge make-local-variable into `set'.
14374 (rcirc--connection-open-p): New function.
14375 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14376 the process is not a network process (e.g. running gnutls-cli).
14377 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14378 Make rcirc-(en|de)code-coding-system local here.
14379 (rcirc-mode): Merge make-local-variable into `set'.
14380 (rcirc-parent-buffer): Make permanent buffer-local.
14381 (rcirc-multiline-minor-mode): Don't do it here.
14382 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14383 there's no server buffer.
14384
7d3b9d44
GM
143852011-05-11 Glenn Morris <rgm@gnu.org>
14386
f64049c6
GM
14387 * newcomment.el (comment-kill): Prefix "unused" local.
14388
93c9df73
GM
14389 * term/w32console.el (get-screen-color): Declare.
14390
7d3b9d44
GM
14391 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14392 Handle symbol elements of byte-compile-initial-macro-environment.
14393
9e2dd53f
LL
143942011-05-10 Leo Liu <sdl.web@gmail.com>
14395
488086f4
SM
14396 * bookmark.el (bookmark-bmenu-mode-map):
14397 Bind bookmark-bmenu-search to `/'.
8b340240 14398
9e2dd53f 14399 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14400 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14401 (Footnote-unicode): New function.
14402 (footnote-style-alist): Add unicode style to the list.
14403 (footnote-style): Doc fix.
9e2dd53f 14404
79b70037
GM
144052011-05-10 Jim Meyering <meyering@redhat.com>
14406
14407 Fix doubled-word typos.
14408 * international/quail.el (quail-insert-kbd-layout): and and -> and
14409 * kermit.el: and and -> and
14410 * net/ldap.el (ldap-search-internal): to to -> to
14411 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14412 * progmodes/js.el (js-mode): and and -> and
14413 * textmodes/artist.el (artist-move-to-xy): at at -> at
14414 (artist-draw-region-trim-line-endings): if if -> if
14415 And Safetyc -> Safety.
14416 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14417
b8f82dc1 144182011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14419 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14420
14421 * files.el (hack-one-local-variable-eval-safep):
14422 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14423
4f99f44b
GM
144242011-05-10 Glenn Morris <rgm@gnu.org>
14425
14426 * calendar/diary-lib.el (diary-list-entries-hook)
14427 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14428 (diary-nongregorian-marking-hook, diary-list-entries)
14429 (diary-include-other-diary-files, diary-mark-entries)
14430 (diary-mark-included-diary-files): Doc fixes.
14431
84f29e6b
JB
144322011-05-09 Juanma Barranquero <lekktu@gmail.com>
14433
14434 * misc.el: Require tabulated-list.el during compilation.
14435
9bedd73a
CY
144362011-05-09 Chong Yidong <cyd@stupidchicken.com>
14437
488086f4
SM
14438 * progmodes/compile.el (compilation-start):
14439 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14440 (compilation-filter-hook): Doc fix.
14441
797c735c
DD
144422011-05-09 Deniz Dogan <deniz@dogan.se>
14443
14444 * wdired.el: Remove outdated installation comment. Fix usage
14445 comment.
14446
5f4b1dfe
JB
144472011-05-09 Juanma Barranquero <lekktu@gmail.com>
14448
14449 * misc.el: Implement new command `list-dynamic-libraries'.
14450 (list-dynamic-libraries--loaded-only-p): New variable.
14451 (list-dynamic-libraries--refresh): New function.
14452 (list-dynamic-libraries): New command.
14453
4c44026c
CY
144542011-05-09 Chong Yidong <cyd@stupidchicken.com>
14455
488086f4
SM
14456 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14457 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14458 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14459 higher priority to avoid clobbering by gnu.
14460
027f966d
CY
144612011-05-08 Chong Yidong <cyd@stupidchicken.com>
14462
14463 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14464 if the face has existing theme settings (Bug#8454).
14465
085f5d7d
CY
144662011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14467
488086f4
SM
14468 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14469 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14470
2a86a00c
RS
14471 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14472 special file names `.' and `..' (Bug#8259).
14473
d9c54a06
CY
144742011-05-08 Chong Yidong <cyd@stupidchicken.com>
14475
488086f4
SM
14476 * progmodes/grep.el (grep-mode-font-lock-keywords):
14477 Remove buffer-changing entries.
d9c54a06
CY
14478 (grep-filter): New function.
14479 (grep-mode): Add it to compilation-filter-hook.
14480
14481 * progmodes/compile.el (compilation-filter-hook)
14482 (compilation-filter-start): New defvars.
14483 (compilation-filter): Call compilation-filter-hook prior to
14484 updating the process mark.
14485
c4662635
SM
144862011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14487
14488 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14489
b0512a1d
EZ
144902011-05-07 Eli Zaretskii <eliz@gnu.org>
14491
605c9376
EZ
14492 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14493 mailclient-send-it even if window-system is nil. (Bug#8595)
14494
c4662635
SM
14495 * term/w32console.el (terminal-init-w32console):
14496 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14497 background-mode. (Bug#8597)
14498
d1dc2cc2
SM
144992011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14500
14501 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14502 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14503 New functions.
14504 (defgeneric, eieio--defmethod): Use them.
14505 (eieio-defgeneric): Remove.
14506 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14507
915d1300
GM
145082011-05-07 Glenn Morris <rgm@gnu.org>
14509
a3961c3e
GM
14510 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14511 Use let rather than let*.
14512 (timeclock-find-discrep): Remove unused local.
14513
314347b9
GM
14514 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14515
915d1300
GM
14516 * calendar/appt.el (appt-time-msg-list): Doc fix.
14517
275b59b0
NF
145182011-05-06 Noah Friedman <friedman@splode.com>
14519
14520 * apropos.el (apropos-print-doc): Only use
14521 emacs-lisp-docstring-fill-column when it is bound to an integer,
14522 per that variable's documentation.
14523
6c19f744
SM
145242011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14527 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14528
60f884b2
GM
145292011-05-06 Glenn Morris <rgm@gnu.org>
14530
5006e634
GM
14531 * calendar/appt.el (appt-message-warning-time): Doc fix.
14532 (appt-warning-time-regexp): New option.
14533 (appt-make-list): Respect appt-message-warning-time.
14534
548d0a63
GM
14535 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14536 New options.
14537 (diary-add-to-list): Strip comments from the displayed string.
14538 (diary-mode): Set comment-start and comment-end.
14539
60f884b2
GM
14540 * vc/diff-mode.el (smerge-refine-subst): Declare.
14541 (diff-refine-hunk): Don't require smerge-mode when compiling.
14542
989681bb
JB
145432011-05-06 Juanma Barranquero <lekktu@gmail.com>
14544
14545 * simple.el (list-processes): Return nil as the docstring says.
14546
a6bc05e1
MA
145472011-05-05 Michael Albinus <michael.albinus@gmx.de>
14548
14549 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14550 to "".
14551 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14552 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14553 determining of binary transfer. (Bug#7383)
14554
23c22e9a
MA
145552011-05-05 Michael Albinus <michael.albinus@gmx.de>
14556
c4662635
SM
14557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14558 Fix port computation bug. (Bug#8618)
23c22e9a 14559
0bff894f
GM
145602011-05-05 Glenn Morris <rgm@gnu.org>
14561
b8296902
GM
14562 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14563
1f522ce8
GM
14564 * simple.el (shell-dynamic-complete-functions)
14565 (comint-dynamic-complete-functions): Declare.
14566
cf5bee67
GM
14567 * net/network-stream.el (gnutls-negotiate):
14568 * simple.el (tabulated-list-print): Fix declarations.
14569
14570 * progmodes/gud.el (syntax-symbol, syntax-point):
14571 Remove unnecessary and incorrect declarations.
14572
0bff894f
GM
14573 * emacs-lisp/check-declare.el (check-declare-scan):
14574 Handle byte-compile-initial-macro-environment in bytecomp.el
14575
9869b3ae
SM
145762011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 Fix earlier half-done eieio-defmethod change (bug#8338).
14579 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14580 Streamline and change calling convention.
14581 (defmethod): Adjust accordingly and simplify.
14582 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14583 new eieio--defmethod.
14584 (slot-boundp): Minor CSE simplification.
14585
9c1d5ac5
MZ
145862011-05-05 Milan Zamazal <pdm@zamazal.org>
14587
14588 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14589 (glasses-make-readable): Use glasses-separate-capital-groups.
14590
455c834e
JB
145912011-05-05 Juanma Barranquero <lekktu@gmail.com>
14592
14593 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14594 (warning-series): Doc fix.
14595 (display-warning): Don't try to create the buffer if we just found it.
14596
9ed7c8cb
CY
145972011-05-04 Chong Yidong <cyd@stupidchicken.com>
14598
14599 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14600 (autoload-find-generated-file): New function.
14601 (generate-file-autoloads): Bind generated-autoload-file to
14602 buffer-file-name.
9869b3ae
SM
14603 (update-file-autoloads, update-directory-autoloads):
14604 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14605 output file (Bug#7989).
14606 (batch-update-autoloads): Doc fix.
14607
0898ca10
JB
146082011-05-04 Juanma Barranquero <lekktu@gmail.com>
14609
14610 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14611
31dfb76c
GM
146122011-05-04 Glenn Morris <rgm@gnu.org>
14613
f330b642
GM
14614 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14615 function, so it follows changes in calendar-date-style.
14616 (diary-fancy-date-matcher): New function.
14617 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14618 (diary-fancy-font-lock-fontify-region-function):
14619 Use diary-fancy-date-pattern as a function.
14620
31dfb76c
GM
14621 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14622 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14623
48e79d6a
TZ
146242011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14625
14626 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14627 instead of positional arguments. Allow :keylist and :crlfiles
14628 arguments.
14629 (open-gnutls-stream): Call it.
14630
14631 * net/network-stream.el (network-stream-open-starttls): Adjust to
14632 call `gnutls-negotiate' with :process and :hostname arguments.
14633
dd5a5ee0
SM
146342011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14635
ef80fc09
SM
14636 * minibuffer.el (completion--message): New function.
14637 (completion--do-completion, minibuffer-complete)
14638 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14639 (completion--do-completion): Don't ignore completion-auto-help when in
14640 icomplete-mode.
14641
dd5a5ee0
SM
14642 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14643 internal encoding (e.g. tibetan zero is not whitespace).
14644 (global-whitespace-mode): Prefer save-current-buffer.
14645 (whitespace-trailing-regexp): Remove useless save-match-data.
14646 (whitespace-empty-at-bob-regexp): Minor simplification.
14647
b7d22a83
CY
146482011-05-03 Chong Yidong <cyd@stupidchicken.com>
14649
14650 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14651
5192af46
AM
146522011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14653
14654 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14655 Use `concat' to create string for insertion.
5192af46 14656
5767d190
SM
146572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14660 Avoid open-line which runs post-self-insert-hook.
14661 (bibtex-fill-entry): Remove unused `end' var.
14662
bf242939
AM
146632011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14664
5767d190
SM
14665 * textmodes/ispell.el (ispell-add-per-file-word-list):
14666 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14667
25666126
LL
146682011-05-03 Leo Liu <sdl.web@gmail.com>
14669
14670 * isearch.el (isearch-yank-pop): New command.
5767d190 14671 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14672 (isearch-forward): Mention it.
14673
52d3c2d0
SM
146742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14675
1bcace58
SM
14676 * simple.el (minibuffer-complete-shell-command): Remove.
14677 (minibuffer-local-shell-command-map): Use completion-at-point.
14678 (read-shell-command): Setup completion vars here instead.
14679 (read-expression-map): Bind TAB to symbol completion.
14680
52d3c2d0
SM
14681 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14682 error directly rather via storing it into `results'.
14683
35813471
LL
146842011-05-02 Leo Liu <sdl.web@gmail.com>
14685
14686 * vc/diff.el: Fix description.
14687
e793a940
LMI
146882011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14689
14690 * server.el (server-eval-at): New function.
14691
8de66e05
LMI
146922011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14693
14694 * net/network-stream.el (open-network-stream): Take a :nowait
14695 parameter and pass it on to `make-network-process'.
14696 (network-stream-open-plain): Ditto.
14697
dcb79f20
AS
146982011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14699
14700 * faces.el (face-spec-set-match-display): Don't match toolkit
14701 options on terminal frames.
14702
14a7fbd8
SM
147032011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14704
7eabc1be
SM
14705 * progmodes/pascal.el: Use lexical binding.
14706 (pascal-mode-map): Remove author preferences.
14707
14a7fbd8
SM
14708 * pcomplete.el (pcomplete-std-complete): Don't abuse
14709 completion-at-point.
14710
50f84510
JB
147112011-04-28 Juanma Barranquero <lekktu@gmail.com>
14712
6e087a44
JB
14713 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14714 removing code that has been dead since 1991 or so.
14715
50f84510
JB
14716 * startup.el (command-line): When warning about "_emacs", use a
14717 delayed warning to allow the user to filter it out.
14718
0ba690bd
DD
147192011-04-28 Deniz Dogan <deniz@dogan.se>
14720
14721 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14722 user has not joined.
14723
08abfaad
SM
147242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14727 aren't any completions at point.
14728
638f053a
JB
147292011-04-28 Juanma Barranquero <lekktu@gmail.com>
14730
14731 * subr.el (display-delayed-warnings): New function.
14732 (delayed-warnings-hook): New variable.
14733
8fff8daa
SM
147342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14735
08abfaad
SM
14736 * minibuffer.el (completion-at-point, completion-help-at-point):
14737 Don't presume that a given completion-at-point-function will always
14738 use the same calling convention.
14739
8fff8daa
SM
14740 * pcomplete.el (pcomplete-completions-at-point):
14741 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14742 pcomplete-seen is non-nil.
14743 (pcomplete-comint-setup): Also recognize the new comint/shell
14744 completion functions.
14745 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14746 pcomplete-seen is non-nil.
14747
841a1577 147482011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14749
841a1577 14750 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14751 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14752 the first character in the entry. This allows for code to add its
211ec907
UJ
14753 own uid to the entry.
14754 (icalendar--convert-float-to-ical): Add export of
14755 `diary-float'-entries save for those with the optional DAY
14756 argument.
14757
2a782793
DC
147582011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14759
14760 * subr.el (shell-quote-argument): Use alternate escaping strategy
14761 when we spot a variable reference in a string.
14762
0438ce91
DC
147632011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14764
14765 * cus-start.el (all): Define customization for debug-on-event.
14766
841a1577 147672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14768
14769 * subr.el (shell-quote-argument): Escape correctly under Windows.
14770
d090ed6c
SM
147712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14772
14773 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14774
bfd31217
MA
147752011-04-25 Michael Albinus <michael.albinus@gmx.de>
14776
d090ed6c
SM
14777 * net/tramp.el (tramp-process-actions): Add POS argument.
14778 Delete region between POS and (pos).
bfd31217 14779
d090ed6c
SM
14780 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14781 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14782 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14783
14784 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14785 position in `tramp-process-actions' call.
14786
14787 * net/trampver.el: Update release number.
14788
e92f3bd3
SM
147892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14790
850256b5
SM
14791 * custom.el (defcustom): Obey lexical-binding.
14792
e92f3bd3
SM
14793 Fix octave-inf completion problems reported by Alexander Klimov.
14794 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14795 Inherit from octave-mode-syntax-table.
14796 (inferior-octave-mode): Set info-lookup-mode.
14797 (inferior-octave-completion-at-point): New function.
14798 (inferior-octave-complete): Use it and completion-in-region.
14799 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14800 comint-filename-completion.
14801 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14802 symbol elements which shouldn't be word elements.
14803 (octave-font-lock-keywords, octave-beginning-of-defun)
14804 (octave-function-header-regexp): Adjust regexps accordingly.
14805 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14806
cd22b309
JB
148072011-04-25 Juanma Barranquero <lekktu@gmail.com>
14808
14809 * net/gnutls.el (gnutls-errorp): Declare before first use.
14810
8b492194
TZ
148112011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14812
14813 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14814 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14815 default trustfile exists before going to use it. Add missing
5a5fa834 14816 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14817 Reported by Claudio Bley <claudio.bley@gmail.com>.
14818 (open-gnutls-stream): Add usage example.
14819
14820 * net/network-stream.el (network-stream-open-starttls): Give host
14821 parameter to `gnutls-negotiate'.
14822 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14823 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14824
841a1577 148252011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14826
cd22b309
JB
14827 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14828 Use correct match group (bug#8438).
05842630 14829
3ba7869c
CY
148302011-04-24 Chong Yidong <cyd@stupidchicken.com>
14831
512e3ae1
CY
14832 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14833 (package-menu--generate): New arg specifying packages to show.
14834 (package-menu-refresh, package-menu-execute, list-packages):
14835 Callers changed.
14836 (package-show-package-list): New function, replacing deleted
14837 package--list-packages (renamed because it is non-internal).
14838
14839 * finder.el (finder-list-matches): Use package-show-package-list
14840 instead of deleted package--list-packages.
14841
e92f3bd3
SM
14842 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14843 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14844 (vc-annotate-mode-map): Bind it to RET.
14845
7031be6d
UR
148462011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14847
14848 * progmodes/etags.el (next-file): Don't use set-buffer to change
14849 buffers (Bug#8478).
14850
4ef177aa
CY
148512011-04-24 Chong Yidong <cyd@stupidchicken.com>
14852
c8d173eb
CY
14853 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14854
4ef177aa
CY
14855 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14856 (apropos-accumulator): Doc fix.
14857 (apropos-function, apropos-macro, apropos-command)
14858 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14859 (apropos-plist): Add face property.
14860 (apropos-symbols-internal): Fix indentation.
14861 (apropos-print): Simplify help, and recognize apropos-multi-type.
14862 (apropos-print-doc): Use button-type-get to extract the button's
14863 face property. Fill docstring (Bug#8352).
14864
4ffd0d6b 148652011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14866
14867 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14868
c6c32125 14869 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14870 (mpuz-mode-map): Use mapc.
c6c32125
JB
14871 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14872 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14873 Fix typos in docstrings.
14874
58d468b4
JB
14875 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14876 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14877
6470c3c6
JB
14878 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14879
4ffd0d6b 148802011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14881
14882 * minibuffer.el (completion--do-completion): Avoid the "Next char
14883 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14884
3ad8bad0
CY
14885 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14886 mouse-2 into unread-command-events, it is interpreted correctly.
14887
71d73c9c 14888 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14889 (image-toggle-display): Doc fix.
71d73c9c 14890
841a1577 148912011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14892
4ffd0d6b
GM
14893 * textmodes/page.el (what-page): Use line-number-at-pos to
14894 calculate line number (Bug#6825).
6e1dbaa9 14895
c2fb1b60
JB
148962011-04-22 Juanma Barranquero <lekktu@gmail.com>
14897
14898 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14899 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14900 Pass argument NO-DEFAULT to `find-tag-interactive'.
14901
e02f48d7
JB
149022011-04-22 Juanma Barranquero <lekktu@gmail.com>
14903
14904 Lexical-binding cleanup.
14905
14906 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14907 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14908 * progmodes/ada-prj.el (ada-prj-initialize-values)
14909 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14910 (ada-prj-show-value):
14911 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14912 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14913 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14914 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14915 * progmodes/bug-reference.el (bug-reference-push-button):
14916 * progmodes/fortran.el (fortran-line-length):
14917 * progmodes/glasses.el (glasses-change):
14918 * progmodes/octave-mod.el (octave-fill-paragraph):
14919 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14920 (python-pdbtrack-grub-for-buffer, python-sentinel):
14921 * progmodes/sql.el (sql-save-connection):
14922 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14923 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14924 Mark unused parameters.
14925
14926 * progmodes/compile.el (compilation--flush-directory-cache)
14927 (compilation--flush-parse, compile-internal): Mark unused parameters.
14928 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14929 (compilation-next-error-function): Remove unused variable `timestamp'.
14930
14931 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14932 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14933
14934 * progmodes/dcl-mode.el (dcl-end-of-command):
14935 Remove unused variable `start'.
14936 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14937 (dcl-option-value-basic, dcl-option-value-offset)
14938 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14939 Mark unused parameters.
14940 (dcl-save-local-variable): Remove unused variable `val'.
14941 (mode): Declare.
14942
14943 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14944 Mark unused parameters.
14945 (delphi-ignore-changes): Move before first use.
14946 (delphi-charset-token-at): Remove unused variable `start'.
14947 (delphi-else-start): Remove unused variable `if-count'.
14948 (delphi-comment-block-start, delphi-comment-block-end):
14949 Remove unused variable `kind'.
14950 (delphi-indent-line): Remove unused variable `new-point'.
14951
14952 * progmodes/ebrowse.el (ebrowse-files-list)
14953 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14954 Mark unused parameters. Don't quote `lambda'.
14955 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14956 Don't quote `lambda'.
14957 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14958 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14959 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14960 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14961 Use `ignore-errors'.
14962 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14963 (ebrowse-view/find-file-and-search-pattern)
14964 (ebrowse-view/find-member-declaration/definition):
14965 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14966 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14967 Rename parameter PREFIX-ARG to PREFIX.
14968 (ebrowse-tags-read-name): Remove unused variables `start' and
14969 `member-info'.
14970 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14971 to `tags-file'.
14972
14973 * progmodes/etags.el (local-find-tag-hook): Declare.
14974 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14975 Mark unused parameters.
14976
14977 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14978 (executable-interpret): Mark unused parameter.
14979
14980 * progmodes/flymake.el (flymake-process-sentinel)
14981 (flymake-after-change-function)
14982 (flymake-create-temp-with-folder-structure)
14983 (flymake-get-include-dirs-dot): Mark unused parameters.
14984 (flymake-safe-delete-directory): Remove unused variable `err'.
14985
14986 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14987 (speedbar-timer-fn, speedbar-line-text)
14988 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14989 (speedbar-center-buffer-smartly): Declare functions.
14990 (gdb-find-watch-expression): Remove unused variable `array'.
14991 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14992 (gdb-starting): Mark unused parameters.
14993 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14994 (gdb-table-string): Remove unused variable `res'.
14995 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14996 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14997 (gdb-display-buffer): Remove unused variable `cur-size'.
14998
14999 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15000 allow lexical-binding compilation.
15001 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15002 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15003 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15004 Mark unused parameters.
15005 (gud-gdb-marker-filter): Remove unused variable `match'.
15006 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15007 lambda expressions and funcall them, instead of using `fset'.
15008
15009 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15010 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15011
15012 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15013 variable `header-beg'; use `let'.
15014
15015 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15016 `restart', `last-sexp' and `at-do'.
15017
15018 * progmodes/js.el (js--debug): Mark unused parameter.
15019 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15020 (js--splice-into-items): Remove unused variable `item'.
15021 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15022
15023 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15024 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15025 (makefile-complete): Remove unused variable `try'.
15026 (makefile-fill-paragraph, makefile-match-function-end):
15027 Mark unused parameters.
15028
15029 * progmodes/octave-inf.el (inferior-octave-complete):
15030 Remove unused variable `proc'.
15031 (inferior-octave-output-digest): Mark unused parameter.
15032
15033 * progmodes/perl-mode.el (perl-calculate-indent):
15034 Remove unused variable `err'.
15035
15036 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15037 (prolog-indent-line): Mark unused parameters.
15038 (prolog-indent-line): Remove unused variable `beg'.
15039
15040 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15041 (reporter-dont-compact-list): Declare.
15042
15043 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15044 Remove unused variable `char'.
15045 (sh-debug): Mark unused parameter.
15046 (sh-get-indent-info): Remove unused variable `start'.
15047 (sh-calculate-indent): Remove unused variable `var'.
15048
15049 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15050 (simula-electric-keyword): Remove unused variable `null'.
15051 (simula-search-backward, simula-search-forward): Remove unused
15052 variables `begin' and `end'.
15053
15054 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15055 Remove unused variable `pos'.
15056 (vera-electric-tab, vera-comment-uncomment-region):
15057 Mark unused parameters.
15058 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15059
7ede3b65
CY
150602011-04-22 Chong Yidong <cyd@stupidchicken.com>
15061
15062 * emacs-lisp/package.el (package--builtins, package-alist)
15063 (package-load-descriptor, package-built-in-p, package-activate)
15064 (define-package, package-installed-p)
15065 (package-compute-transaction, package-buffer-info)
15066 (package--push): Doc fix. Distinguish more clearly between
15067 version strings and version lists.
15068
121656e9
JB
150692011-04-21 Juanma Barranquero <lekktu@gmail.com>
15070
15071 Lexical-binding cleanup.
15072
15073 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15074 (5x5-make-mutate-best):
15075 * play/fortune.el (fortune-in-buffer):
15076 * play/gomoku.el (gomoku-init-display):
15077 * play/solitaire.el (solitaire, solitaire-do-check):
15078 * play/tetris.el (tetris-default-update-speed-function):
15079 Mark unused parameters.
15080
15081 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15082 (bubbles--shift): Remove unused variable `char-org'.
15083 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15084 (bubbles--show-images): Remove unused variable `char'.
15085
15086 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15087 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15088 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15089 (decipher-analyze-buffer): Use ?\s.
15090 (decipher-make-checkpoint): Remove unused variable `mapping'.
15091
15092 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15093
15094 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15095 Remove unused variable `result'; use `let'.
15096
15097 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15098 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15099 (gametree-children-shown-p, gametree-compute-reduced-score):
15100 Use `ignore-errors'.
15101
15102 * play/handwrite.el (ps-lpr-switches): Declare.
15103 (handwrite): Remove unused variables `pmin' and `lastp'.
15104
15105 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15106
15107 * play/landmark.el (landmark-init-display)
15108 (landmark-update-naught-weights): Mark unused parameters.
15109 (landmark-y): Remove unused variable `noise'. Simplify.
15110 (landmark-human-plays): Remove unused variable `score'.
15111
15112 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15113 (mpuz-try-proposal): Remove unused variable `game'.
15114
15115 * play/zone.el (life-patterns): Declare.
15116
80f499c7
JB
151172011-04-20 Juanma Barranquero <lekktu@gmail.com>
15118
15119 * vc/vc.el (ediff-vc-internal): Declare function.
15120
024ff170
SM
151212011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15122
c0a193ea
SM
15123 * shell.el: Use lexical-binding and std completion UI.
15124 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15125 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15126 comint-preoutput-filter-functions rather than on
15127 comint-output-filter-functions.
15128 (shell-command-completion, shell--command-completion-data)
15129 (shell-filename-completion, shell-environment-variable-completion)
15130 (shell-c-a-p-replace-by-expanded-directory): New functions.
15131 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15132 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15133 (shell-dynamic-complete-environment-variable): Use them.
15134 (shell-dynamic-complete-as-environment-variable)
15135 (shell-dynamic-complete-as-command): Remove.
15136 (shell-match-partial-variable): Match past point.
15137 * comint.el: Clean up use of completion-at-point-functions.
15138 (comint-completion-at-point): New function.
15139 (comint-mode): Use it completion-at-point-functions.
15140 (comint-dynamic-complete): Make it obsolete.
15141 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15142 (comint-c-a-p-replace-by-expanded-history): New function.
15143 (comint-dynamic-complete-functions)
15144 (comint-replace-by-expanded-history): Use it.
15145 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15146 termination strings. Try harder to avoid second try-completion.
15147 (completion-in-region-mode-map): Disable bindings that don't work yet.
15148
2dbaa080
SM
15149 * comint.el: Use lexical-binding. Require CL.
15150 (comint-dynamic-complete-functions): Use comint-filename-completion.
15151 (comint-completion-addsuffix): Tweak custom type.
15152 (comint-filename-completion, comint--common-suffix)
15153 (comint--common-quoted-suffix, comint--table-subvert)
15154 (comint--complete-file-name-data): New functions.
15155 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15156 (comint-dynamic-list-filename-completions): Use them.
15157 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15158
2dbaa080
SM
15159 * minibuffer.el (completion-in-region-mode):
15160 Keep completion-in-region-mode--predicate global.
15161 (completion-in-region--postch):
15162 Assume completion-in-region-mode--predicate is not null.
15163
c79a6f38
SM
15164 * progmodes/flymake.el (flymake-start-syntax-check-process):
15165 Obey `dir'. Simplify.
15166
024ff170
SM
15167 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15168 we're in VC after all.
15169
1c6c854e
CS
151702011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15171
15172 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15173 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15174 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15175
bed7f140
SM
151762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15177
332e62ab
SM
15178 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15179 add sanity check.
15180
bed7f140
SM
15181 * obsolete/erc-hecomplete.el: Make obsolete.
15182 * obsolete/: Standardize obsolescence info in the header.
15183
f195c582
GM
151842011-04-20 Glenn Morris <rgm@gnu.org>
15185
15186 * calendar/solar.el (solar-horizontal-coordinates):
15187 Use the longitude argument rather than `calendar-longitude'.
15188 (solar-date-next-longitude): Remove unused locals.
15189
cb79b8c0
VJL
151902011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15191
15192 * whitespace.el: New version 13.2.1.
15193
151942011-04-20 felix <EmacsWiki> (tiny change)
15195
d8e4b68b 15196 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15197 switching between major modes on a file.
15198
602ea69d
SM
151992011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15200
15201 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15202 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15203 multi-line comments as well.
15204
06b60517
JB
152052011-04-19 Juanma Barranquero <lekktu@gmail.com>
15206
15207 Lexical-binding cleanup.
15208
15209 * arc-mode.el (archive-mode-revert):
15210 * cmuscheme.el (scheme-interactively-start-process):
15211 * custom.el (custom-initialize-delay):
15212 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15213 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15214 * emacs-lock.el (emacs-lock-clear-sentinel):
15215 * ezimage.el (defezimage):
15216 * follow.el (follow-avoid-tail-recenter):
15217 * fringe.el (set-fringe-mode-1):
15218 * generic-x.el (bat-generic-mode-compile):
15219 * help-mode.el (help-info-variable, help-do-xref)
15220 (help-mode-revert-buffer):
15221 * help.el (view-emacs-todo):
15222 * iswitchb.el (iswitchb-completion-help):
15223 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15224 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15225 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15226 * locate.el (locate-update):
15227 * longlines.el (longlines-encode-region)
15228 (longlines-after-change-function):
15229 * outline.el (outline-isearch-open-invisible):
15230 * ps-def.el (declare-function, charset-dimension, char-width)
15231 (encode-char):
15232 * ps-mule.el (ps-mule-plot-string):
15233 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15234 (recentf-edit-list-select, recentf-edit-list-validate)
15235 (recentf-open-files-action):
15236 * rect.el (delete-whitespace-rectangle-line)
15237 (rectangle-number-line-callback):
15238 * register.el (window-configuration-to-register)
15239 (frame-configuration-to-register):
15240 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15241 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15242 (xselect-convert-to-targets, xselect-convert-to-delete)
15243 (xselect-convert-to-filename, xselect-convert-to-charpos)
15244 (xselect-convert-to-lineno, xselect-convert-to-colno)
15245 (xselect-convert-to-os, xselect-convert-to-host)
15246 (xselect-convert-to-user, xselect-convert-to-class)
15247 (xselect-convert-to-name, xselect-convert-to-integer)
15248 (xselect-convert-to-atom, xselect-convert-to-identity):
15249 * subr.el (declare, ignore, process-kill-without-query)
15250 (text-clone-maintain):
15251 * terminal.el (te-get-char, te-tic-sentinel):
15252 * tool-bar.el (tool-bar-make-keymap):
15253 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15254 * type-break.el (type-break-mode, type-break-noninteractive-query):
15255 * view.el (View-back-to-mark):
15256 * wid-browse.el (widget-browse-action, widget-browse-widget)
15257 (widget-browse-widgets, widget-browse-sexp):
15258 * widget.el (define-widget-keywords):
15259 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15260 Mark unused parameters.
15261
15262 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15263 (align-areas): Remove unused variable `look'.
15264 (align-region): Remove unused variables `real-end' and `pos-list'.
15265
15266 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15267
15268 * bindings.el (mode-line-modified, mode-line-remote):
15269 Mark unused parameters.
15270 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15271
15272 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15273 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15274
15275 * comint.el (comint-history-isearch-pop-state)
15276 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15277 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15278 (comint-substitute-in-file-name): Doc fix.
15279
15280 * completion.el (cmpl-statistics-block): Mark unused parameter.
15281 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15282 (save-completions-to-file, load-completions-from-file):
15283 Remove unused local variable `e'.
15284
15285 * composite.el (compose-chars): Remove unused variable `len'.
15286 (lgstring-insert-glyph): Remove unused variable `g'.
15287 (compose-glyph-string): Remove unused variables `ascent',
15288 `descent', `lbearing' and `rbearing'.
15289 (compose-glyph-string-relative): Remove unused variables
15290 `lbearing', `rbearing' and `wadjust'.
15291 (compose-gstring-for-graphic): Remove unused variables `header',
15292 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15293 (compose-gstring-for-terminal): Remove unused variables `header'
15294 and `nchars'. Use `let', not `let*'.
15295
15296 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15297 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15298 (Custom-buffer-done, custom-buffer-create-internal)
15299 (custom-browse-visibility-action, custom-browse-group-tag-action)
15300 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15301 (widget-magic-mouse-down-action, custom-toggle-parent)
15302 (custom-add-parent-links, custom-toggle-hide-variable)
15303 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15304 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15305 (custom-face-menu-create, custom-variable-menu-create, get)
15306 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15307 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15308 (customize-apropos): Remove unused variable `tests'.
15309 (custom-group-value-create): Remove unused variable `hidden-p'.
15310 (sort-fold-case): Declare.
15311
15312 * cus-theme.el (custom-reset-standard-faces-list)
15313 (custom-reset-standard-variables-list): Declare.
15314 (customize-create-theme, custom-theme-revert, custom-theme-write)
15315 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15316 Mark unused parameters.
15317
15318 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15319
15320 * delim-col.el (delimit-columns-max): Move defvar before first use.
15321
15322 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15323 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15324
15325 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15326 (auto-insert): Declare.
15327 (desktop-restore-file-buffer): Rename desktop-* parameters;
15328 mark unused ones.
15329 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15330 (desktop-buffer): Rename desktop-* parameters.
15331
15332 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15333 (dframe-reposition-frame-xemacs, dframe-help-echo)
15334 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15335 Mark unused parameters.
15336
15337 * dired-aux.el (backup-extract-version-start, overwrite-query)
15338 (overwrite-backup-query, rename-regexp-query)
15339 (rename-non-directory-query): Declare.
15340 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15341 (dired-add-entry): Remove unused variable `orig-file-name'.
15342 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15343 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15344 `dired-copy-preserve-time' directly.
15345 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15346 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15347
15348 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15349 (dired-virtual-revert, dired-make-relative-symlink):
15350 Mark unused parameters.
15351 (manual-program): Declare.
15352 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15353 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15354 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15355
15356 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15357
15358 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15359
15360 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15361 Declare.
15362
15363 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15364
15365 * electric.el (Electric-command-loop): Rename parameter
15366 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15367
15368 * expand.el (expand-in-literal): Remove unused variable `here'.
15369
15370 * facemenu.el (facemenu-add-new-color):
15371 Remove unused variable `docstring'.
15372
15373 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15374 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15375 (face-attr-construct): Mark unused parameter. Doc fix.
15376 (read-color): Remove unused variable `hex-string'.
15377
15378 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15379 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15380 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15381 (display-buffer-other-frame): Remove unused variable `old-window'.
15382 (kill-buffer-hook): Declare.
15383 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15384 Mark unused parameters.
15385 (after-find-file): Pass 1 to `auto-save-mode', not t.
15386
15387 * files-x.el (auto-insert): Declare.
15388 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15389
15390 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15391 variable `buf'. Mark unused parameter.
06b60517
JB
15392 (find-lisp-insert-directory): Mark unused parameter.
15393
15394 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15395 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15396 (format-common-tail): Remove, unused.
15397 (format-deannotate-region): Remove unused variable `loc'.
15398 (format-annotate-region): Remove unused variable `p'.
15399 (format-annotate-single-property-change): Remove unused variables
15400 `default' and `tail'.
15401
15402 * forms.el (read-file-filter): Declare.
15403 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15404
15405 * frame.el (frame-creation-function-alist): Mark unused parameter.
15406 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15407
15408 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15409 Remove unused parameters.
15410 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15411 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15412
15413 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15414 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15415 (hfy-prepare-tag-map): Mark unused parameters.
15416 (htmlfontify-buffer): Use `called-interactively-p'.
15417
15418 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15419 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15420 (ibuffer-do-occur): Mark unused parameters.
15421 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15422 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15423
15424 * ibuffer.el: Don't quote `lambda'.
15425 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15426 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15427 Mark unused parameters.
15428
15429 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15430 (ido-completing-read): Mark unused parameters.
15431 (ido-copy-current-word): Mark unused parameters;
15432 remove unused variable `name'.
15433 (ido-sort-merged-list): Remove unused parameter `dirs'.
15434
15435 * ielm.el (ielm-input-sender): Mark unused parameter.
15436 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15437 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15438 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15439 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15440 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15441
15442 * image-dired.el (image-dired-display-thumbs): Remove unused
15443 variables `curr-file' and `count'.
15444 (image-dired-remove-tag): Remove unused variable `start'.
15445 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15446 variable `curr-file'
15447 (image-dired-rotate-original): Remove unused variable `temp-file'.
15448 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15449 Remove unused variable `file'.
15450 (image-dired-gallery-generate): Remove unused variable `curr'.
15451 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15452
15453 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15454
15455 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15456
15457 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15458
15459 * isearch.el (minibuffer-history-symbol): Declare.
15460 (isearch-edit-string): Remove unused variable `err'.
15461 (isearch-message-prefix, isearch-message-suffix):
15462 Mark unused parameters.
15463
15464 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15465
15466 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15467
15468 * makesum.el (double-column): Remove unused variable `cnt'.
15469
15470 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15471 (ido-ignore-item-temp-list): Declare.
15472
15473 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15474 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15475 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15476 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15477 `mouse-col-delta'.
15478
15479 * mouse-sel.el (mouse-extend-internal):
15480 Remove unused variable `orig-window-frame'.
15481
15482 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15483 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15484 Move declarations before first use.
15485 (pcomplete-opt): Mark unused parameters; doc fix.
15486
15487 * proced.el (proced-revert): Mark unused parameter.
15488 (proced-send-signal): Remove unused variable `err'.
15489
15490 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15491 Rename parameter PREFIX-ARG to ARG.
15492 (ps-basic-plot-string, ps-basic-plot-whitespace):
15493 Mark unused parameters.
15494
15495 * replace.el (replace-count): Define.
15496 (occur-revert-function): Mark unused parameters.
15497 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15498 (isearch-case-fold-search, isearch-string): Declare.
15499 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15500 bind `case-fold-search'. Remove unused variables `beg' and `end',
15501 and simplify.
15502 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15503 COUNT and bind `replace-count'.
15504 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15505 to COUNT.
15506
15507 * savehist.el (print-readably, print-string-length): Declare.
15508
15509 * shadowfile.el (shadow-expand-cluster-in-file-name):
15510 Remove unused variable `cluster'.
15511 (shadow-copy-file): Remove unused variable `i'.
15512 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15513 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15514 (shadow-define-literal-group, shadow-define-regexp-group)
15515 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15516
15517 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15518 (shell): Use `called-interactively-p'.
15519 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15520
15521 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15522 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15523 (delete-backward-char): Remove unused variable `ocol'.
15524 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15525 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15526 (event-apply-hyper-modifier, event-apply-shift-modifier)
15527 (event-apply-control-modifier, event-apply-meta-modifier):
15528 Mark unused parameters.
15529 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15530 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15531
15532 * speedbar.el (speedbar-ignored-directory-expressions)
15533 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15534 (speedbar-find-file, speedbar-dir-follow)
15535 (speedbar-directory-buttons-follow, speedbar-tag-find)
15536 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15537 (speedbar-buffers-line-directory, speedbar-buffer-click):
15538 Mark unused parameters.
15539 (speedbar-tag-file): Remove unused variable `mode'.
15540 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15541
15542 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15543
15544 * talk.el (talk): Remove unused variable `display'.
15545
15546 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15547 (tar-write-region-annotate): Mark unused parameter.
15548
15549 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15550 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15551 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15552 warning by another.
15553
15554 * time-stamp.el (time-stamp-string-preprocess):
15555 Remove unused variable `require-padding'.
15556
15557 * tree-widget.el (widget-glyph-enable): Declare.
15558 (tree-widget-action): Mark unused parameter.
15559
15560 * w32-fns.el (x-get-selection): Mark unused parameter.
15561 (autoload-make-program, generated-autoload-file): Declare.
15562
15563 * wdired.el (wdired-revert): Mark unused parameters.
15564 (wdired-xcase-word): Remove unused variable `err'.
15565
15566 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15567 (whitespace-help-scroll): Remove unused variable `data-help'.
15568
15569 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15570 (widget-image-insert, widget-after-change, default)
15571 (widget-default-format-handler, widget-default-notify)
15572 (widget-default-prompt-value, widget-info-link-action)
15573 (widget-url-link-action, widget-function-link-action)
15574 (widget-variable-link-action, widget-file-link-action)
15575 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15576 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15577 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15578 (widget-insert-button-action, widget-delete-button-action, visibility)
15579 (widget-documentation-link-action, widget-documentation-string-action)
15580 (widget-const-prompt-value, widget-regexp-match, symbol)
15581 (widget-coding-system-prompt-value)
15582 (widget-key-sequence-value-to-external, sexp)
15583 (widget-sexp-value-to-internal, character, vector, cons)
15584 (widget-choice-prompt-value, widget-boolean-prompt-value)
15585 (widget-color--choose-action): Mark unused parameters.
15586 (widget-item-match-inline, widget-choice-match-inline)
15587 (widget-checklist-match, widget-checklist-match-inline)
15588 (widget-group-match): Rename parameter VALUES to VALS.
15589 (widget-field-value-set): Remove unused variable `size'.
15590 (widget-color-action): Remove unused variables `value' and `start'.
15591
15592 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15593 variable `dir'. Doc fix.
06b60517
JB
15594 (windmove-find-other-window): Don't pass it.
15595
15596 * window.el (count-windows): Mark unused parameter.
15597 (bw-adjust-window): Remove unused variable `err'.
15598
15599 * woman.el (woman-file-name): Remove unused variable `default'.
15600 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15601 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15602 (global-font-lock-mode): Declare.
15603 (woman-decode-region): Mark unused parameter.
15604 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15605
15606 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15607 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15608 (x-dnd-handle-moz-url): Remove unused variable `title'.
15609 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15610
15611 * xml.el (xml-parse-tag, xml-parse-attlist):
15612 Remove unused variable `pos'.
15613
bc4f7f3d
GM
156142011-04-19 Glenn Morris <rgm@gnu.org>
15615
15616 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15617 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15618 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15619 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15620 * calendar/cal-html.el (cal-html-insert-minical):
15621 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15622 (calendar-mark-date-pattern):
15623 Prefix "unused" locals.
15624
15625 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15626 optional argument `style'.
15627
15628 * calendar/appt.el (appt-make-list):
15629 * calendar/cal-china.el (calendar-chinese-date-string):
15630 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15631 (diary-hebrew-yahrzeit):
15632 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15633 * calendar/calendar.el (calendar-generate-window):
15634 * calendar/time-date.el (time-to-days):
15635 Remove unused local variables.
15636
16a43933
CY
156372011-04-18 Chong Yidong <cyd@stupidchicken.com>
15638
15639 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15640 glyphless-char-display table.
15641 (tabulated-list-glyphless-char-display): New var.
15642
7eed1860
SS
156432011-04-18 Sam Steingold <sds@gnu.org>
15644
15645 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15646 to acknowledgments.
15647
4d2d1ccd
GM
156482011-04-17 Glenn Morris <rgm@gnu.org>
15649
15650 * calendar/diary-lib.el (diary-sexp-entry):
15651 * calendar/holidays.el (holiday-sexp):
15652 Set debug-on-error rather than the removed stack-trace-on-error.
15653
239da61d
GM
156542011-04-16 Glenn Morris <rgm@gnu.org>
15655
15656 * progmodes/f90.el: Use lexical-binding.
15657 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15658
8b05752a
SM
156592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15660
daca8ba5
SM
15661 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15662 (mail-mode): Setup mailalias completion here instead.
15663 * mail/mailalias.el: Use lexical-binding.
15664 (pattern, mailalias-done): Declare dynamic.
15665 (mail-completion-at-point-function): New function, from mail-complete.
15666 (mail-complete): Use it.
15667 (mail-completion-expand): New function.
15668 (mail-get-names): Use it.
15669 (mail-directory, mail-directory-process, mail-directory-stream):
15670 Don't use `pattern' for lexically bound arg.
15671
6f542485
SM
15672 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15673
037e7c3f
SM
15674 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15675 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15676 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15677
8b05752a
SM
15678 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15679 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15680 (byte-interactive-p): Define them again, for use when inlining
15681 old code.
15682
49093f60
JB
156832011-04-15 Juanma Barranquero <lekktu@gmail.com>
15684
15685 * loadup.el: Use `string-to-number', not `string-to-int'.
15686
b5b8e7de
SM
156872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15688
15689 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15690 gud-gdb-complete-command.
15691 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15692 (gud-gdb-completion-at-point): New function.
15693 (gud-gdb-completions): Remove.
15694
f42efeb5
MA
156952011-04-14 Michael Albinus <michael.albinus@gmx.de>
15696
49093f60
JB
15697 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15698 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15699 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15700 whether `executable-find' is bound.
f42efeb5
MA
15701
15702 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15703
e240cc21
SM
157042011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15705
15706 * minibuffer.el (completion-in-region-mode-predicate)
15707 (completion-in-region-mode--predicate): New vars.
15708 (completion-in-region, completion-in-region--postch)
15709 (completion-in-region-mode): Use them.
15710 (completion--capf-wrapper): Also return the hook function.
15711 (completion-at-point, completion-help-at-point):
15712 Adjust and provide a predicate.
c2bd2ab0
SM
15713
15714 Preserve arg names for advice of subr and lexical functions (bug#8457).
15715 * help-fns.el (help-function-arglist): Consolidate the subr and
15716 new-byte-code cases. Add argument `preserve-names' to extract names
15717 from the docstring when needed.
15718 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15719 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15720 (ad-arglist): Use help-function-arglist's new arg.
15721 (ad-definition-type): Use cond.
15722
c183f693
JB
157232011-04-13 Juanma Barranquero <lekktu@gmail.com>
15724
06641a47
JB
15725 * autorevert.el (auto-revert-handler):
15726 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15727 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15728 Don't quote lambda.
15729
c183f693
JB
15730 * image-mode.el (image-transform-set-scale):
15731 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15732
1e3b6001
G
157332011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
15735 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15736 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15737 Upgrades via gnutls-cli are too slow to be done opportunistically.
15738
2d6af8dd
JB
157392011-04-12 Juanma Barranquero <lekktu@gmail.com>
15740
15741 * dframe.el (dframe-current-frame): Remove spurious quote.
15742
c0749a51
GM
157432011-04-12 Glenn Morris <rgm@gnu.org>
15744
088d0d61
GM
15745 * calendar/cal-tex.el (cal-tex-end-document):
15746 Try to automatically use latin1 input if needed.
15747
c0749a51
GM
15748 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15749 Don't try to cons a mark onto an empty element.
15750
5c90fde0
LL
157512011-04-11 Leo Liu <sdl.web@gmail.com>
15752
15753 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15754 buffers.
15755 (ido-kill-buffer-at-head): Support killing virtual buffers.
15756
369e974d
CY
157572011-04-10 Chong Yidong <cyd@stupidchicken.com>
15758
15759 * minibuffer.el (completion-show-inline-help): New var.
15760 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15761 (minibuffer-force-complete, minibuffer-complete-word):
15762 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15763
15764 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15765 to avoid interference from inline help (Bug#5849).
15766
37f1c930
LL
157672011-04-10 Leo Liu <sdl.web@gmail.com>
15768
099c39a4
JB
15769 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15770 Fix typo.
37f1c930 15771
a32d4040
CY
157722011-04-09 Chong Yidong <cyd@stupidchicken.com>
15773
15774 * image-mode.el (image-toggle-display-image): Signal an error if
15775 not in Image mode.
15776 (image-transform-mode, image-transform-resize)
15777 (image-transform-set-rotation): Doc fix.
daca8ba5 15778 (image-transform-set-resize): Delete.
a32d4040
CY
15779 (image-transform-set-scale, image-transform-fit-to-height)
15780 (image-transform-fit-to-width): Handle image-toggle-display-image
15781 and image-transform-resize directly.
15782
099c39a4 157832011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15784
15785 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15786 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15787 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15788 (doc-view-mode-map): Add bindings for the new functions.
15789
099c39a4 157902011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15791
4d61f28d 15792 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15793 Fix typo in docstring.
15794
3726838a
EZ
157952011-04-08 Eli Zaretskii <eliz@gnu.org>
15796
04f33f1e
EZ
15797 * files.el (file-size-human-readable): Produce one digit after
15798 decimal, like "ls -lh" does.
15799
15800 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15801 the file size representation.
15802
3726838a
EZ
15803 * simple.el (list-processes): If async subprocesses are not
15804 available, error out with a clear error message.
15805
cbb59342
CY
158062011-04-08 Chong Yidong <cyd@stupidchicken.com>
15807
15808 * help.el (help-form-show): New function, to be called from C.
15809 Put help-form output in a buffer named differently than *Help*.
15810
e3971c44
EZ
158112011-04-08 Eli Zaretskii <eliz@gnu.org>
15812
15813 * files.el (file-size-human-readable): New function.
15814
15815 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15816 computing the representation inline. Don't require `cl'.
15817
12544bbe
GM
158182011-04-08 Glenn Morris <rgm@gnu.org>
15819
a1de6c6a
GM
15820 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15821
3c4671f4
GM
15822 * net/browse-url.el (browse-url-firefox):
15823 Test system-type, not system-configuration.
15824
b605679c
GM
15825 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15826 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15827 Use log-edit-empty-buffer-p. (Bug#7598)
15828
56442f0c
GM
15829 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15830 (rlogin-mode-map): Initialize in the defvar.
15831 (rlogin): Use ignore-errors.
15832
12544bbe
GM
15833 * replace.el (occur-mode-map): Some fixes for menu items.
15834
eb237b0f
AH
158352011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15836
15837 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15838
7d668f2c
CY
158392011-04-06 Chong Yidong <cyd@stupidchicken.com>
15840
e67a13ab
CY
15841 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15842 issuing unused warnings.
15843
15844 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15845 macro directly.
15846
7d668f2c
CY
15847 * simple.el: Lisp reimplement of list-processes. Based on an
15848 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15849 (process-menu-mode): New major mode.
15850 (list-processes--refresh, list-processes):
15851 (process-menu-visit-buffer): New functions.
15852
15853 * files.el (save-buffers-kill-emacs): Don't assume any return
15854 value of list-processes, which is undocumented anyway.
15855
a83ec3c9
CY
158562011-04-06 Chong Yidong <cyd@stupidchicken.com>
15857
15858 * emacs-lisp/tabulated-list.el: New file.
15859
e91a96fe
CY
15860 * emacs-lisp/package.el: Use Tabulated List mode.
15861 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15862 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15863 table format using Tabulated List mode variables.
15864 (package--push): New macro, replacing package-list-maybe-add.
15865 (package-menu--generate): Use package--push. Renamed from
15866 package--generate-package-list.
15867 (package-menu-refresh, list-packages): Use it.
daca8ba5 15868 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15869 Return insertion data instead of inserting it directly.
099c39a4
JB
15870 (package-menu-describe-package, package-menu-execute):
15871 Use tabulated-list-get-id.
e91a96fe
CY
15872 (package-menu-mark-delete, package-menu-mark-install)
15873 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15874 (package-menu-mark-obsolete-for-deletion):
15875 Use tabulated-list-put-tag.
e91a96fe
CY
15876 (package--list-packages, package-menu-revert)
15877 (package-menu-get-package, package-menu-get-version)
15878 (package-menu-sort-by-column): Functions deleted.
15879 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15880 (package-menu--status-predicate, package-menu--version-predicate)
15881 (package-menu--name-predicate)
15882 (package-menu--description-predicate): Handle arguments in the
15883 Tabulated List format.
15884 (package-list-packages-no-fetch): Call list-packages.
15885
3e214b50
JB
158862011-04-06 Juanma Barranquero <lekktu@gmail.com>
15887
15888 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15889 (after-find-file): Don't bind it.
3e214b50
JB
15890 (revert-buffer-in-progress-p): New variable.
15891 (revert-buffer): Bind it.
15892 Pass nil for `after-find-file-from-revert-buffer'.
15893
15894 * saveplace.el (save-place-find-file-hook): Use new variable
15895 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15896
3f0f1700
GM
158972011-04-06 Glenn Morris <rgm@gnu.org>
15898
c0274801
GM
15899 * Makefile.in (AUTOGEN_VCS): New variable.
15900 (autoloads): Use $AUTOGEN_VCS.
15901
3f0f1700
GM
15902 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15903 * calendar/calendar.el (calendar-mode-map):
15904 Check for toolkit scroll bars. (Bug#8305)
15905
41ea9e48
CY
159062011-04-05 Chong Yidong <cyd@stupidchicken.com>
15907
15908 * minibuffer.el (completion-in-region--postch)
15909 (completion-in-region-mode): Remove unnecessary messages.
15910
6194c800
JB
159112011-04-05 Juanma Barranquero <lekktu@gmail.com>
15912
33256f14
JB
15913 * font-lock.el (font-lock-refresh-defaults):
15914 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15915 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15916
6194c800
JB
15917 * info.el (Info-directory-list, Info-read-node-name-2)
15918 (Info-split-parameter-string): Doc fixes.
15919 (Info-virtual-nodes): Reflow docstring.
15920 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15921 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15922 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15923 Fix typos in docstrings.
15924 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15925 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15926 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15927 (Info-restore-desktop-buffer): Mark unused parameters.
15928 (Info-directory-find-file, Info-directory-find-node)
15929 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15930 (Info-virtual-index-find-node, Info-apropos-find-file)
15931 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15932 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15933 (Info-virtual-index): Remove unused local variable `nodename'.
15934
b87a8200 159352011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15936
b87a8200
DD
15937 * net/rcirc.el: Update my e-mail address.
15938 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15939
3b2ff876
CY
159402011-04-05 Chong Yidong <cyd@stupidchicken.com>
15941
15942 * startup.el (command-line): Save the cursor's theme-face
15943 directly, instead of using face-override-spec.
15944
15945 * custom.el (load-theme): Minor optimization in assigning faces.
15946
8d17e7ca
JB
159472011-04-04 Juanma Barranquero <lekktu@gmail.com>
15948
15949 * help-fns.el (describe-variable): Complete all variables having
15950 documentation, including keywords.
15951 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15952
2fbc1934
JB
159532011-04-04 Juanma Barranquero <lekktu@gmail.com>
15954
15955 Convert to lexical-binding.
15956
15957 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15958 (bs--get-marked-string, bs--get-modified-string)
15959 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15960 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15961 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15962
15963 * ehelp.el (electric-help-execute-extended)
15964 (electric-help-ctrl-x-prefix):
15965 * hexl.el (hexl-revert-buffer-function):
15966 * linum.el (linum-after-change, linum-after-scroll):
15967 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15968
15969 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15970
74f50695
DU
159712011-04-04 Daiki Ueno <ueno@unixuser.org>
15972
15973 * epa-dired.el:
15974 * epa-mail.el:
15975 * epa-hook.el:
15976 * epa-file.el:
15977 * epa.el:
15978 * epg.el: Use lexical binding.
15979
c11325f7
CY
159802011-04-03 Chong Yidong <cyd@stupidchicken.com>
15981
0d9e9a12
CY
15982 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15983
c11325f7 15984 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15985 dictionary case for flyspell-mark-duplications-exceptions.
15986 Use regexp matching for languages.
c11325f7
CY
15987 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15988 default dictionary (Bug#7926).
15989
da91b5f2
CY
159902011-04-02 Chong Yidong <cyd@stupidchicken.com>
15991
099c39a4
JB
15992 * emacs-lisp/package.el (package--with-work-buffer):
15993 Recognize https URLs.
da91b5f2 15994
099c39a4
JB
15995 * net/network-stream.el: Move from gnus/proto-stream.el.
15996 Change prefix to network-stream throughout.
da91b5f2
CY
15997 (open-protocol-stream): Merge into open-network-stream, leaving
15998 open-protocol-stream as an alias. Handle nil BUFFER args.
15999
16000 * subr.el (open-network-stream): Move to net/network-stream.el.
16001
afa8e9f6
GM
160022011-04-02 Glenn Morris <rgm@gnu.org>
16003
1d2e369d
GM
16004 * find-dired.el (find-exec-terminator): New option.
16005 (find-ls-option): Test for -ls support.
16006 (find-ls-subdir-switches): Test for -b in find-ls-option.
16007 (find-dired, find-grep-dired): Doc fixes.
16008 (find-dired): Use find-exec-terminator.
16009
8abb7da8 16010 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16011 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16012 (find-name-arg): Remove purecopy.
8abb7da8 16013
f3ca7378
GM
16014 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16015 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16016 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16017 accordingly. Don't add the null-device if not needed.
16018
afa8e9f6
GM
16019 * files.el (save-some-buffers): Doc fix.
16020
35eae264
EZ
160212011-04-02 Eli Zaretskii <eliz@gnu.org>
16022
16023 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16024
26b51db5
JB
160252011-04-01 Juanma Barranquero <lekktu@gmail.com>
16026
16027 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16028 Use `dolist' rather than `mapcar'.
16029
7200d79c
SM
160302011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16031
03408648 16032 Add lexical binding.
7200d79c 16033
03408648
SM
16034 * subr.el (apply-partially): Use new closures rather than CL.
16035 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16036 (dolist, dotimes): Use slightly different expansion for lexical code.
16037 (functionp): Move to C.
16038 (letrec): New macro.
16039 (with-wrapper-hook): Use it and apply-partially instead of CL.
16040 (eval-after-load): Preserve lexical-binding.
16041 (save-window-excursion, with-output-to-temp-buffer): Turn them
16042 into macros.
7200d79c 16043
03408648
SM
16044 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16045
16046 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16047 than the arglist.
16048 (help-add-fundoc-usage): Don't add `Not documented'.
16049 (help-function-arglist): Handle closures, subroutines, and new
16050 byte-code-functions.
16051 (help-make-usage): Remove leading underscores.
16052 (describe-function-1): Handle closures.
16053 (describe-variable): Use special-variable-p for completion.
16054
16055 * files.el (lexical-binding): Declare safe.
f488fb65 16056
03408648
SM
16057 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16058 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16059 (pcase): Add `let' pattern.
16060 Change memoization so it actually works.
16061 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16062 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16063 <let>: New case.
f488fb65 16064
03408648
SM
16065 * emacs-lisp/macroexp.el: Use lexical binding.
16066 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16067 Don't convert ' to #' without checking that it's indeed quoting
16068 a lambda.
16069
16070 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16071 Use eval-sexp-add-defvars.
03408648
SM
16072 (eval-sexp-add-defvars): New fun.
16073
16074 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16075
16076 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16077 Don't autoload.
16078 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16079 than the internal `byte-compile-lambda'.
16080 (defmethod): Don't hide code under quotes.
16081 (eieio-defmethod): New `code' argument.
16082
16083 * emacs-lisp/eieio-comp.el: Remove.
16084
16085 * emacs-lisp/edebug.el (edebug-eval-defun)
16086 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16087 (edebug-toggle): Avoid `eval'.
16088
16089 * emacs-lisp/disass.el (disassemble-internal): Handle new
16090 `closure' objects.
16091 (disassemble-1): Handle new byte codes.
16092
16093 * emacs-lisp/cl.el (pushnew): Silence warning.
16094
16095 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16096 (cl-byte-compile-throw): Remove.
16097 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16098
16099 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16100 closures.
16101
16102 * emacs-lisp/cconv.el: New file.
16103
16104 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16105 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16106 (byte-compile-initial-macro-environment):
16107 Handle declare-function here.
16108 (byte-compile--lexical-environment): New var.
16109 (byte-stack-ref, byte-stack-set, byte-discardN)
16110 (byte-discardN-preserve-tos): New lap codes.
16111 (byte-interactive-p): Don't use any more.
16112 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16113 New macros.
16114 (byte-compile-lapcode): Use them and handle new lap codes.
16115 (byte-compile-obsolete): Remove.
16116 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16117 (byte-compile-arglist-warn): Check late def of inlinable funs.
16118 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16119 since they should have been expanded by now.
16120 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16121 (byte-compile-from-buffer): Remove unused second arg.
16122 (byte-compile-preprocess): New function.
16123 (byte-compile-toplevel-file-form): New function to distinguish
16124 file-form calls from outside from file-form calls from hunk-handlers.
16125 (byte-compile-file-form): Simplify.
16126 (byte-compile-file-form-defsubst): Remove.
16127 (byte-compile-file-form-defmumble): Simplify now that
16128 byte-compile-lambda always returns a byte-code-function.
16129 (byte-compile): Preprocess.
16130 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16131 Remove, not used any more.
16132 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16133 (byte-compile-make-args-desc): New funs.
16134 (byte-compile-lambda): Handle lexical functions. Always return
16135 a byte-code-function.
16136 (byte-compile-reserved-constants): New var, to make up room for
16137 closed-over variables.
16138 (byte-compile-constants-vector): Obey it.
16139 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16140 (byte-compile-macroexpand-declare-function): New function.
16141 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16142 byte-code-functions.
16143 (byte-compile-form): Check obsolescence here.
16144 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16145 (byte-compile-variable-ref): Remove.
16146 (byte-compile-dynamic-variable-op): New fun.
16147 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16148 (byte-compile-variable-set): New funs.
16149 (byte-compile-discard): Add 2 args.
16150 (byte-compile-stack-ref, byte-compile-stack-set)
16151 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16152 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16153 macroexpand-all instead.
16154 (byte-compile-quote-form): Remove.
16155 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16156 (byte-compile-bind, byte-compile-unbind): New funs.
16157 (byte-compile-let): Handle let* and lexical binding.
16158 (byte-compile-let*): Remove.
16159 (byte-compile-catch, byte-compile-unwind-protect)
16160 (byte-compile-track-mouse, byte-compile-condition-case):
16161 Handle a new :fun-body form, used for lexical scoping.
16162 (byte-compile-save-window-excursion)
16163 (byte-compile-with-output-to-temp-buffer): Remove.
16164 (byte-compile-defun): Simplify.
16165 (byte-compile-stack-adjustment): New fun.
16166 (byte-compile-out): Use it.
16167 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16168
16169 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16170 handler any more.
16171
16172 * emacs-lisp/byte-opt.el: Use lexical binding.
16173 (byte-inline-lapcode): Remove (to bytecomp).
16174 (byte-compile-inline-expand): Pay attention to inlining to/from
16175 lexically bound code.
16176 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16177 any more.
16178 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16179 any more and don't call compiler-macros.
16180 (byte-compile-splice-in-already-compiled-code): Remove.
16181 (byte-code): Don't inline any more.
16182 (disassemble-offset): Receive `bytes' as argument rather than via
16183 dynamic scoping.
16184 (byte-compile-tag-number): Declare before first use.
16185 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16186 `return' even if make-spliceable.
16187 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16188 obsolete interactive-p.
16189 (byte-optimize-lapcode): Optimize new lap-codes.
16190 Don't trip up on new form of `byte-constant' lap code.
16191
16192 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16193
16194 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16195
16196 * custom.el (custom-initialize-default, custom-declare-variable):
16197 Use `defvar'.
16198
16199 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16200 New variables.
16201 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16202 (COMPILE_FIRST): Add macroexp and cconv.
16203 * makefile.w32-in: Mirror changes in Makefile.in.
16204
16205 * vc/cvs-status.el:
16206 * vc/diff-mode.el:
16207 * vc/log-edit.el:
16208 * vc/log-view.el:
16209 * vc/smerge-mode.el:
16210 * textmodes/bibtex-style.el:
090bd7cb 16211 * textmodes/css-mode.el:
03408648
SM
16212 * startup.el:
16213 * uniquify.el:
da91b5f2
CY
16214 * minibuffer.el:
16215 * newcomment.el:
16216 * reveal.el:
16217 * server.el:
16218 * mpc.el:
16219 * emacs-lisp/smie.el:
16220 * doc-view.el:
16221 * dired.el:
03408648
SM
16222 * abbrev.el: Use lexical binding.
16223
0f0c1f27
EZ
162242011-04-01 Eli Zaretskii <eliz@gnu.org>
16225
16226 * info.el (info-display-manual): New function.
16227
c82b2579
SM
162282011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16231
221ddf68
TH
162322011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16233
16234 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16235 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16236
cba6e77e
GM
162372011-03-31 Glenn Morris <rgm@gnu.org>
16238
e040639f
GM
16239 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16240
cba6e77e
GM
16241 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16242
6d0f1c9e
CS
162432011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16244
16245 * progmodes/python.el (python-default-interpreter)
16246 (python-python-command-args, python-jython-command-args)
16247 (python-which-shell, python-which-args, python-which-bufname)
16248 (python-file-queue, python-comint-output-filter-function)
16249 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16250 variables and functions.
16251
3e2d70fd
SM
162522011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16255 (completion-in-region-mode): New minor mode.
16256 (completion-in-region): Use it.
16257 (completion-in-region--data, completion-in-region-mode-map): New vars.
16258 (completion-in-region--postch): New function.
16259 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16260 New vars.
16261 (completion--capf-wrapper): New function.
16262 (completion-at-point): Use it to track well-behavedness of
16263 hook functions.
16264 (completion-help-at-point): New command.
16265
f3e4086c
JM
162662011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16267
16268 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16269 syntax class to search for whitespace on a single line
16270 (Message-ID: <4D938140.4030905@redhat.com>).
16271
eb7ffc14
LL
162722011-03-30 Leo Liu <sdl.web@gmail.com>
16273
16274 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16275 New commands.
16276 (edit-abbrevs-map): Bind them here.
16277 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16278
d806ab68
KM
162792011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16280
16281 * allout.el (allout-hide-by-annotation, allout-flag-region):
16282 Reduce possibility of overlay leakage by making them volatile.
16283
16284 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16285 hash is not shared between buffers. Mode initialization is
16286 responsible for giving it a useful starting value.
16287 (allout-item-span): Reduce possibility of overlay leakage by
16288 making them volatile.
16289 (allout-widgets-count-buttons-in-region): Add diagnostic function
16290 for tracking down button overlay leaks.
16291
ea622834
LL
162922011-03-29 Leo Liu <sdl.web@gmail.com>
16293
16294 * ido.el (ido-read-internal): Use the default history var
16295 minibuffer-history if no HISTORY is specified.
16296
b62f8267
G
162972011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16298
03408648
SM
16299 * net/imap.el (imap-shell-open, imap-process-connection-type):
16300 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16301 Kerberos, SSL, other subprocesses.
16302
947b6566
LL
163032011-03-28 Leo Liu <sdl.web@gmail.com>
16304
16305 * abbrev.el (abbrev-table-empty-p): New function.
16306 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16307 nonempty ones. (Bug#5937)
16308
5ffb62aa
JD
163092011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16310
16311 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16312
7a097943
LL
163132011-03-27 Leo Liu <sdl.web@gmail.com>
16314
16315 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16316 for foreground and background colors.
16317 (ansi-color-make-color-map): Adapt.
16318
c5b40130
LL
163192011-03-25 Leo Liu <sdl.web@gmail.com>
16320
1f48f7d2
LL
16321 * midnight.el (midnight-time-float): Remove. Note it calculates
16322 the microsecond component incorrectly and seconds-to-time does the
16323 same job.
625897ec 16324 Remove redundant (require 'timer).
1f48f7d2 16325
c5b40130
LL
16326 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16327 (ido-completions): Remove unused arguments. (Bug#8329)
16328
d86d2721
SM
163292011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * minibuffer.el (completion--flush-all-sorted-completions):
16332 Remove itself from hook.
16333 (completion-at-point): Let the functions perform the completion
16334 immediately and return nil or t.
16335 * comint.el (comint-dynamic-complete-functions): Now identical to
16336 completion-at-point-functions.
16337 (comint-dynamic-list-input-ring): Remove unused var `index'.
16338 (comint--match-partial-filename, comint--unquote&expand-filename):
16339 New funs, split from comint-match-partial-filename.
16340 (comint-dynamic-complete): Use completion-at-point.
16341 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16342
e8974c48
DA
163432011-03-24 Drew Adams <drew.adams@oracle.com>
16344
16345 * thingatpt.el: Support `defun'.
16346
def71b5e
LL
163472011-03-23 Leo Liu <sdl.web@gmail.com>
16348
cb5af48e
LL
16349 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16350
def71b5e
LL
16351 * help-mode.el (help-mode-finish): Tweak regexp.
16352
927c53e7
GM
163532011-03-23 Glenn Morris <rgm@gnu.org>
16354
18d05bed
GM
16355 * eshell/esh-opt.el (eshell-eval-using-options):
16356 Do not bind unused local variable `eshell-option-stub'.
16357
927c53e7
GM
16358 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16359
9d0da923
JB
163602011-03-22 Juanma Barranquero <lekktu@gmail.com>
16361
16362 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16363 keymap variable in `with-no-warnings' to avoid a warning when the
16364 keymap has been already `defconst'ed.
16365
4b978a67
LL
163662011-03-22 Leo Liu <sdl.web@gmail.com>
16367
16368 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16369 encode all chars in abbrevs; otherwise use emacs-mule or
16370 utf-8-emacs. (Bug#8308)
16371
5fd62452
JB
163722011-03-22 Juanma Barranquero <lekktu@gmail.com>
16373
0b1596c6
JB
16374 * simple.el (backward-delete-char-untabify):
16375 Avoid warning about using `delete-backward-char'.
16376
5fd62452
JB
16377 * image.el (image-type-file-name-regexps): Make it variable.
16378 `imagemagick-register-types' modifies it, and the user may want
16379 to add new extensions for known image types.
16380 (imagemagick-register-types): Throw error if not using ImageMagick.
16381
0b4e93f1
LL
163822011-03-22 Leo Liu <sdl.web@gmail.com>
16383
16384 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16385 located before rcirc-prompt-end-marker.
16386 (rcirc-complete): Error if point is not after rcirc prompt.
16387 Handle the case when table is nil.
9882e214 16388 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16389
fccee4ab
CY
163902011-03-22 Chong Yidong <cyd@stupidchicken.com>
16391
16392 * custom.el (custom--inhibit-theme-enable): Make it affect only
16393 custom-theme-set-variables and custom-theme-set-faces.
16394 (provide-theme): Ignore custom--inhibit-theme-enable.
16395 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16396 (custom-enabling-themes): Delete variable.
d86d2721
SM
16397 (enable-theme): Accept only loaded themes as arguments.
16398 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16399 (custom-enabled-themes): Forbid themes from setting this.
16400 Eliminate use of custom-enabling-themes.
16401 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16402
af896da6
LL
164032011-03-21 Leo Liu <sdl.web@gmail.com>
16404
16405 * ido.el (ido-read-internal): Add ido-selected to history instead
16406 of user input.
16407
78f64af0
SM
164082011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16409
16410 * subr.el (deferred-action-list, deferred-action-function):
16411 Mark obsolete.
16412
b16ac1ec
LL
164132011-03-21 Leo Liu <sdl.web@gmail.com>
16414
810f7698
LL
16415 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16416 change on 2011-02-13 (bug#8309).
16417
b16ac1ec
LL
16418 * minibuffer.el (read-file-name-function): Change default value.
16419 (read-file-name--defaults): Rename from read-file-name-defaults.
16420 (read-file-name-default): Rename from read-file-name.
16421 (read-file-name): Call read-file-name-function.
16422
4e05e67e
GM
164232011-03-21 Glenn Morris <rgm@gnu.org>
16424
16425 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16426 Doc fixes.
16427
4359915b
CY
164282011-03-21 Chong Yidong <cyd@stupidchicken.com>
16429
16430 * cus-theme.el: Add missing provide statement.
16431 (customize-create-theme): Extract theme value correctly.
16432 (custom-theme-visit-theme): Autoload.
16433 (customize-create-theme): Prompt before inserting default faces.
16434
1fe275ee
JB
164352011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16436
16437 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16438 units and musical notes.
16439
cd394be1 164402011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16441
16442 * ido.el (ido-read-internal): Use completing-read-default.
16443 (ido-completing-read): Fix compatibility with completing-read.
16444
7d476bde
CO
164452011-03-20 Christian Ohler <ohler@gnu.org>
16446
16447 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16448 (ert-delete-all-tests): Use `called-interactively-p' rather than
16449 `interactive-p'.
16450 (ert--make-xrefs-region): Respect END.
16451
fe0fb33e
CY
164522011-03-19 Chong Yidong <cyd@stupidchicken.com>
16453
ff854b0b
CY
16454 * dired-aux.el (dired-create-directory): Signal an error if the
16455 directory already exists (Bug#8246).
16456
fe0fb33e
CY
16457 * facemenu.el (list-colors-display): Call list-faces-display
16458 inside with-help-window.
16459 (list-colors-print): Use display property to align the final
16460 column, instead of checking window-width.
16461
576bce32
EZ
164622011-03-19 Eli Zaretskii <eliz@gnu.org>
16463
4d61f28d 16464 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16465 windows-nt systems.
16466 (emerge-protect-metachars): Quote correctly for ms-dos and
16467 windows-nt systems.
16468
89c41d68 164692011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16470
16471 * info.el (info-initialize): Replace all uses of `:' with
16472 path-separator for compatibility with non-Unix systems.
16473 Cache quoting of path-separator. (Bug#8258)
16474
b14e3e21 164752011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16476
16477 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16478 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16479 (mouse-avoidance-mode): Fix typos in docstrings.
16480
4525ce3e
CY
164812011-03-19 Chong Yidong <cyd@stupidchicken.com>
16482
16483 * startup.el (package-subdirectory-regexp): Move from package.el.
16484 Omit \\` and \\', and let callers add them.
16485
16486 * emacs-lisp/package.el (package-strip-version)
16487 (package-load-all-descriptors): Add \\` and \\' to
16488 package-subdirectory-regexp before using it.
16489 (package-untar-buffer): New arg DIR; ensure that file untars only
16490 into this expected directory. Remove superfluous delete-region.
16491 (package-unpack): Caller changed.
16492 (package-tar-file-info): Use package-subdirectory-regexp.
16493
a904a09a 164942011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16495
a904a09a
SM
16496 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16497 diff-mode-shared-map (bug#8284).
16498 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16499
165002011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16501
16502 * calendar/time-date.el (format-seconds): Use assoc instead of
16503 assoc-string, since assoc-string doesn't exist in XEmacs.
16504
171fc304
JB
165052011-03-17 Juanma Barranquero <lekktu@gmail.com>
16506
16507 * custom.el (custom-known-themes): Reflow docstring.
16508 (custom-theme-load-path): Fix typo in docstring.
16509 (load-theme): Fix typo in error message.
16510 (custom-available-themes, custom-variable-theme-value):
16511 Use `let', not `let*'.
16512
d71990a1
JB
165132011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16514
16515 * calc/README: Mention inclusion of musical notes.
16516
16517 * calc/calc-units.el (calc-lu-quant): Rename from
16518 `calc-logunits-quantity'.
16519 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16520 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16521 (calc-db): Rename from `calc-dblevel'.
16522 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16523 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16524 (calc-np): Rename from `calc-nplevel'.
16525 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16526 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16527 (calc-lu-plus): Rename from `calc-logunits-add'.
16528 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16529 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16530 (calc-lu-minus): Rename from `calc-logunits-sub'.
16531 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16532 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16533 (calc-lu-times): Rename from `calc-logunits-mul'.
16534 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16535 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16536 (calc-lu-divide): Rename from `calc-logunits-div'.
16537 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16538 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16539
16540 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16541 functions being autoloaded.
16542
16543 * calc/calc.el (calc-lu-power-reference): Rename from
16544 `calc-logunits-power-reference'.
16545 (calc-lu-field-reference): Rename from
16546 `calc-logunits-field-reference'.
16547
7a71b18d
GM
16548 * calc/calc-help.el (calc-l-prefix-help):
16549 Mention musical note functions.
d71990a1 16550
40c2934b
SM
165512011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16552
16553 * minibuffer.el (completion-all-sorted-completions):
16554 Use :completion-cycle-penalty text property if present.
16555
b0911414
KM
165562011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16557
16558 * allout.el (allout-yank-processing): Adjust for new rebulleting
16559 regime so bullet being yanked is used without prompting the user
16560 for a choice.
16561
8a05b668
JB
165622011-03-16 Juanma Barranquero <lekktu@gmail.com>
16563
16564 * startup.el (command-line): Warn the user that _emacs is deprecated.
16565
5ba5fb81
JB
165662011-03-16 Juanma Barranquero <lekktu@gmail.com>
16567
16568 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16569 (delphi-verbose, delphi-comment-face, delphi-string-face)
16570 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16571 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16572 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16573 (delphi-new-comment-line, delphi-font-lock-defaults)
16574 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16575 Fix typos in docstrings.
16576
2dab465b
KM
165772011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16578
5ba5fb81 16579 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16580 Invert the roles of character and string values for INSTEAD, so a
16581 string is used for the more common case of a defaulting prompt.
16582
0adf5618
SM
165832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16584
16585 * progmodes/ruby-mode.el (ruby-backward-sexp):
16586 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16587 * play/gamegrid.el (gamegrid-make-face):
16588 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16589 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16590 * notifications.el (notifications-notify):
16591 * net/xesam.el (xesam-search-engines):
16592 * net/quickurl.el (quickurl-list-insert):
16593 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16594
d72700e5
CY
165952011-03-15 Chong Yidong <cyd@stupidchicken.com>
16596
16597 * startup.el (command-line): Update package subdirectory regexp.
16598
49c5410a
SM
165992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16600
c6eee9aa
SM
16601 * allout.el (allout-abbreviate-flattened-numbering)
16602 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16603
49c5410a
SM
16604 * subr.el (read-char-choice): Only show the cursor after the prompt,
16605 not after the answer.
16606
047b2bb9
KR
166072011-03-15 Kevin Ryde <user42@zip.com.au>
16608
16609 * help-fns.el (variable-at-point): Skip leading quotes, if any
16610 (bug#8253).
16611
0a57d256
SM
166122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16613
16614 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16615 warning message.
16616
77c992bc
MA
166172011-03-14 Michael Albinus <michael.albinus@gmx.de>
16618
16619 * shell.el (shell): When called interactively, offer to change the
16620 shell file name on remote hosts.
16621
eebc475d
TZ
166222011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16623
16624 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16625 integration for LDAP parameters. The host, base, user or binddn,
16626 and secret tokens can be specified in a netrc file, for instance.
16627 This is optional because an `auth-source' parameter must be
16628 specified in the search attributes.
16629
9d05d1ba
JB
166302011-03-13 Juanma Barranquero <lekktu@gmail.com>
16631
16632 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16633
09d9db2c
GM
166342011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16635
16636 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16637 into declaration. Remove redundant and harmful binding.
16638
166392011-03-12 Eli Zaretskii <eliz@gnu.org>
16640
16641 * files.el (file-ownership-preserved-p): Pass `integer' as an
16642 explicit 2nd argument to `file-attributes'. If the file's owner
16643 is the Administrators group on Windows, and the current user is
16644 Administrator, consider that a match.
16645
16646 * server.el (server-ensure-safe-dir): Consider server directory
16647 safe on MS-Windows if its owner is the Administrators group while
16648 the current Emacs user is Administrator. Use `=' to compare
16649 numerical UIDs, since they could be integers or floats.
16650
219bd536
JB
166512011-03-12 Juanma Barranquero <lekktu@gmail.com>
16652
16653 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16654
f3afd36b
MA
166552011-03-12 Michael Albinus <michael.albinus@gmx.de>
16656
16657 Sync with Tramp 2.2.1.
16658
16659 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16660
16661 * net/trampver.el: Update release number.
16662
3aaaa6f1
SM
166632011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16664
94642599
SM
16665 * progmodes/compile.el (compilation--previous-directory): Fix up
16666 various nil/dead-marker mismatches (bug#8014).
16667 (compilation-directory-properties, compilation-error-properties):
16668 Don't call it at a position past the one we're about to change.
16669
3aaaa6f1
SM
16670 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16671 Disable obsolescence warnings in the file that declares it.
16672
14239447
KM
166732011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16674
099c39a4
JB
16675 * allout-widgets.el (allout-widgets-tally):
16676 Initialize allout-widgets-tally as a hash table rather than nil to
16677 prevent mode-line redisplay warnings. Also, clarify the module
16678 description and fix a comment typo.
14239447 16679
135e287c
JB
166802011-03-11 Juanma Barranquero <lekktu@gmail.com>
16681
16682 * help-fns.el (describe-variable): Don't complete keywords.
16683 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16684
ffbf300e
CY
166852011-03-10 Chong Yidong <cyd@stupidchicken.com>
16686
ba08b241
CY
16687 * emacs-lisp/package.el (package-version-join): Impose a standard
16688 string representation for pre/alpha/beta version lists.
16689 (package-unpack-single): Standardize the directory name by passing
16690 it through package-version-join.
16691 (package-strip-rcs-id): Accept any version string that does not
16692 signal an error in version-to-list.
ffbf300e 16693
f346fd6b
MA
166942011-03-10 Michael Albinus <michael.albinus@gmx.de>
16695
16696 * simple.el (delete-trailing-whitespace): Return nil for the
16697 benefit of `write-file-functions'.
16698
ccb55d27
GM
166992011-03-10 Glenn Morris <rgm@gnu.org>
16700
5ceaac0c
GM
16701 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16702
02da65ff
GM
16703 * vc/vc-git.el (vc-git-program): New option.
16704 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16705 (vc-git--call): Use it.
16706
b2f603cc
GM
16707 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16708
5772caab
GM
16709 * cus-edit.el (Custom-newline): If no button at point, look
16710 for a subgroup button at start-of-line. (Bug#2298)
16711
ccb55d27
GM
16712 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16713
ec6ecaed
JD
167142011-03-10 Julien Danjou <julien@danjou.info>
16715
16716 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16717 `cursor-type' is nil.
16718
9d5aa01d
JB
167192011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16720
16721 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16722
b6a5875b
KM
167232011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16724
7a71b18d 16725 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16726 preserves the existing header prefix, rebulleting it if necessary,
16727 rather than replacing it. This is necessary for proper operation
16728 of cooperative addons like allout-widgets.
1154d12e
JB
16729 (allout-make-topic-prefix, allout-rebullet-heading):
16730 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16731 value as alternate bullet to be used, instead of prompting the user
16732 for a bullet character.
b6a5875b 16733
ee545c35
MA
167342011-03-09 Michael Albinus <michael.albinus@gmx.de>
16735
d86d2721
SM
16736 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16737 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16738 `tramp-default-port'.
16739
c47971d7
DD
167402011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16741
16742 * net/rcirc.el (rcirc-handler-001): Remove useless
16743 with-rcirc-process-buffer.
16744 (rcirc-check-auth-status): Swap arguments to string-match.
16745
13522cb4
GM
167462011-03-09 Glenn Morris <rgm@gnu.org>
16747
0be6f4f1
GM
16748 * shell.el (shell-mode):
16749 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16750
13522cb4
GM
16751 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16752 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16753
515de2e3
CY
167542011-03-08 Chong Yidong <cyd@stupidchicken.com>
16755
16756 * emacs-lisp/package.el (package-refresh-contents)
16757 (package-menu-execute): Use condition-case-no-debug.
16758
b511b994
MA
167592011-03-08 Michael Albinus <michael.albinus@gmx.de>
16760
16761 * simple.el (shell-command-to-string): Use `process-file'.
16762
16763 * emacs-lisp/package.el (package-tar-file-info): Handle also
16764 remote files.
16765
d86d2721
SM
16766 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16767 Use `equal' for upload base check.
b511b994 16768
25bbfb31
AM
167692011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16770
16771 * textmodes/texinfo.el (texinfo-environments):
16772 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16773
be996521
GM
167742011-03-08 Glenn Morris <rgm@gnu.org>
16775
e9c8529f
GM
16776 * cus-start.el (cursor-in-non-selected-windows):
16777 Fix :set quoting oddness. (Bug#8192)
16778
be996521
GM
16779 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16780 in some setf expressions. (Bug#2159)
16781
2bb5649e
CY
167822011-03-08 Chong Yidong <cyd@stupidchicken.com>
16783
16784 * custom.el (custom-available-themes): Return themes in
16785 alphabetical order.
16786
33383987 16787See ChangeLog.15 for earlier changes.
e3d51b27
MR
16788
16789;; Local Variables:
16790;; coding: utf-8
e3d51b27
MR
16791;; End:
16792
acaf905b 16793 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16794
16795 This file is part of GNU Emacs.
16796
16797 GNU Emacs is free software: you can redistribute it and/or modify
16798 it under the terms of the GNU General Public License as published by
16799 the Free Software Foundation, either version 3 of the License, or
16800 (at your option) any later version.
16801
16802 GNU Emacs is distributed in the hope that it will be useful,
16803 but WITHOUT ANY WARRANTY; without even the implied warranty of
16804 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16805 GNU General Public License for more details.
16806
16807 You should have received a copy of the GNU General Public License
16808 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.