Simplify export of symbols to GDB; fix related .gdbinit bugs.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
670d85ea
SM
12012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * mouse.el (popup-menu): Fix last change.
4
7abaf5cc
SM
52012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 Autoload from Lisp with more care. Follow aliases when looking for
8 function properties.
9 * subr.el (autoloadp): New function.
10 (symbol-file): Use it.
11 (function-get): New function.
12 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
13 autoload-do-load.
14 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
15 (lisp-indent-function):
16 * emacs-lisp/gv.el (gv-get):
17 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
18 * emacs-lisp/byte-opt.el (byte-optimize-form):
19 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
21 Use function-get.
22 * emacs-lisp/cl.el: Don't propagate function properties any more.
23
24 * speedbar.el (speedbar-add-localized-speedbar-support):
25 * emacs-lisp/disass.el (disassemble-internal):
26 * desktop.el (desktop-load-file):
27 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
28 (describe-function-1):
29 * emacs-lisp/find-func.el (find-function-noselect):
30 * emacs-lisp/elp.el (elp-instrument-function):
31 * emacs-lisp/advice.el (ad-has-proper-definition):
32 * apropos.el (apropos-safe-documentation, apropos-macrop):
33 * emacs-lisp/debug.el (debug-on-entry):
34 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
35 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
36 * calc/calc.el (name): Use autoloadp & autoload-do-load.
37
b1364986
AA
382012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
39
40 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
41 function, not an obsolete variable (Bug#12046).
42
67ada220
AS
432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
44
45 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
46
f08088e3
CS
472012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
48
49 * emacs-lisp/pp.el (pp-display-expression): Select old selected
50 window only if it is still live (Bug#12034).
51
8137e7b3
MR
522012-07-25 Martin Rudalics <rudalics@gmx.at>
53
54 * subr.el (redirect-frame-focus): Add advertised calling
55 convention (Bug#12030).
56
09ae5da1
PE
572012-07-25 Paul Eggert <eggert@cs.ucla.edu>
58
59 Prefer typical American spelling for "acknowledgment".
60 * vc/add-log.el (change-log-acknowledgment): Rename from
61 change-log-acknowledgement, with an alias for the old name.
62
3cc5a3a8
JB
632012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
64
65 * calc-alg.el (math-simplify-divide): Don't cross multiply
66 in an equation when the lhs is a variable.
67
b7af7f62
JD
682012-07-24 Julien Danjou <julien@danjou.info>
69
70 * net/netrc.el (netrc-find-service-number, netrc-store-data):
71 Remove, unused.
72
ec1b09b1
EZ
732012-07-23 Eli Zaretskii <eliz@gnu.org>
74
75 * startup.el (command-line): Don't display an empty user name in
76 the error message about non-existent home directory, when
77 init-file-user was set to an empty string. See
78 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
79 for the details and context.
80
b525fd8a
VB
812012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
82
83 * ses.el (ses-cell-formula-aset): New macro.
84 (ses-cell-references-aset): New macro.
85 (ses-cell-p): New function.
86 (ses-rename-cell): Do no longer rely on complex operations like
87 ses-cell-set-formula or ses-set-cell to change the cell and handle
88 the undo at the same time, but rather use lower level new macros
89 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
90 the undo directly. Refresh the mode line.
91
2c73e345
LL
922012-07-21 Leo Liu <sdl.web@gmail.com>
93
670d85ea
SM
94 * progmodes/cc-cmds.el (c-defun-name):
95 Use match-string-no-properties instead for consistency.
2c73e345 96
542dfbde
LL
972012-07-20 Leo Liu <sdl.web@gmail.com>
98
3646bcd6
LL
99 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
100 (Bug#7879)
101
542dfbde
LL
102 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
103
25721031
CY
1042012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
107 * progmodes/bug-reference.el, misearch.el: Provide themselves
108 (bug#11915).
109
110 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
111 of narrowed buffer (bug#11966).
112
316e68a7
VB
1132012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
114
115 * ses.el (ses-rename-cell): Set new name also in reference list of
116 cells of which the renamed cell depends.
117
bbf0e7d9
MY
1182012-07-20 Masatake YAMATO <yamato@redhat.com>
119
120 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
121 to check whether menu-bar is shown or not. If not shown,
122 show the menu-bar as a popup menu instead of using tmm.
123 * mouse.el (popup-menu): Accept `point' as `position' argument.
124
c28662a8
DG
1252012-07-20 Dmitry Gutov <dgutov@yandex.ru>
126
127 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
128 up inside string symbol literal (bug#11923).
129
87ab808f
EZ
1302012-07-20 Eli Zaretskii <eliz@gnu.org>
131
132 * startup.el (fancy-startup-text): Read the whole tutorial, not
133 just its first 256 bytes. Prevents gibberish in display of the
134 tutorial title.
135
89dea803
DA
1362012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
137
138 Drop idle buffer compaction due to an absence of the
139 proved efficiency.
140 * compact.el: Remove.
141
8a4e6db8
SS
1422012-07-19 Sam Steingold <sds@gnu.org>
143
144 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
145 vc-bzr-pull & vc-bzr-merge-branch.
146 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
147 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
148 for consistency with compilation-error-regexp-alist.
149 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
150 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
151 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
152 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
153
5db81e33
SM
1542012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * emacs-lisp/chart.el: Use lexical-binding.
157 (chart-emacs-storage): Don't hardcode the list of entries.
158
5b835e1d
DA
1592012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
160
161 Next round of tweaks caused by Fgarbage_collect changes.
162 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
163
9cd47b72
DA
1642012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
165
166 Compact buffers when idle.
167 * compact.el: New file.
168
1d6fc0df
SM
1692012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * subr.el (eventp): Presume that if it looks vaguely like an event,
172 it's an event (bug#10190).
173
1d29cc7d
FEG
1742012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
175
176 Enhancements to ppss related code (thanks Stefan).
177 * progmodes/python.el (python-indent-context)
178 (python-indent-calculate-indentation, python-indent-dedent-line)
179 (python-indent-electric-colon, python-nav-forward-block)
180 (python-mode-abbrev-table)
1d6fc0df 181 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
182 for ppss context.
183 (python-info-continuation-line-p): Cleanup.
184 (python-info-ppss-context): Do not catch 'quote.
185 (python-info-ppss-context-type)
186 (python-info-ppss-comment-or-string-p): Simplify.
187
d583cbe6
FEG
1882012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
189
190 * progmodes/python.el: Enhancements to eldoc support.
191 (python-info-current-symbol): New function.
192 (python-eldoc-at-point): Use python-info-current-symbol.
193 (python-info-current-defun): Fix cornercase on first defun scan.
194 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
195 and signal error when no inferior python process is available.
196
eceb6feb
DG
1972012-07-18 Dmitry Gutov <dgutov@yandex.ru>
198
199 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
200 assume it's always t.
201 (vc-git-registered): Remove caching, the function is only called
202 once.
203 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
204
4c8ff0fe
CY
2052012-07-18 Chong Yidong <cyd@gnu.org>
206
19fb7186
CY
207 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
208
9587c688
CY
209 * simple.el (count-words): Report on narrowing (Bug#9959).
210
0fe776a1
CY
211 * bindings.el: Bind M-= to count-words.
212
4c8ff0fe
CY
213 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
214
7f5331cc
MY
2152012-07-18 Masatake YAMATO <yamato@redhat.com>
216
217 * progmodes/sh-script.el (sh-imenu-generic-expression):
218 Capture a function with `function' keyword and without parentheses
219 like "function FOO" (bug#11856).
220
2dc2a609
TH
2212012-07-18 Tassilo Horn <tassilo@member.fsf.org>
222
223 * window.el (split-window-sensibly): Make WINDOW argument
224 optional.
225
439f7677
CY
2262012-07-18 Chong Yidong <cyd@gnu.org>
227
9aeb25a6
CY
228 * subr.el (keyboard-translate): Doc fix (Bug#7261).
229
439f7677
CY
230 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
231 and make C-x 8 RET exit isearch (Bug#11439).
232
233 * international/iso-transl.el: Move isearch-mode-map key
234 definitions to isearch.el.
235
12999ea8
SM
2362012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
239 (eieio-defclass): Use gv-define-setter when possible.
240
3ab6e069
DA
2412012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
242
243 Reflect recent changes in Fgarbage_collect.
244 * emacs-lisp/chart.el (chart-emacs-storage): Change to
245 reflect new format of data returned by Fgarbage_collect.
246
0a60bc10
FEG
2472012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
248
249 New utility functions + python-info-ppss-context fix (Bug#11910).
250 * progmodes/python.el (python-info-beginning-of-block-statement-p)
251 (python-info-ppss-comment-or-string-p): New functions.
252 (python-info-ppss-context): Small fix for string check.
253
6dafa0d5
JL
2542012-07-17 Juri Linkov <juri@jurta.org>
255
256 * dired-aux.el (dired-do-async-shell-command): Doc fix.
257 (dired-do-async-shell-command): Don't add `*' at the end of the
258 command (Bug#11815).
259 (dired-do-shell-command): Doc fix.
260 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
261 Join the individual commands using either "&" or ";" as the
262 separator depending on the values of these trailing characters.
263 At the end re-add the trailing "&". (Bug#10598)
264
265 * simple.el (async-shell-command): Sync the interactive spec with
266 `shell-command'. Doc fix.
267 (shell-command): Doc fix.
268
b19dd9d1
JL
2692012-07-17 Juri Linkov <juri@jurta.org>
270
271 * descr-text.el (describe-char): Fix format args. (Bug#10129)
272
bcdc27d7 2732012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 274
bcdc27d7 275 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
276 * progmodes/python.el (python-nav-beginning-of-statement):
277 Rename from python-nav-statement-start.
bcdc27d7
FEG
278 (python-nav-end-of-statement): Rename from
279 python-nav-statement-end.
280 (python-nav-beginning-of-block): Rename from
281 python-nav-block-start.
282 (python-nav-end-of-block): Rename from python-nav-block-end.
283
191da00e
FEG
2842012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
285
7f5331cc
MY
286 * progmodes/python.el (python-shell-send-string-no-output):
287 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
288 future interactions (Bug#11868).
289
4dc7c8d5 2902012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 291
88ecaf8f
SM
292 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
293
ef501ef0
SM
294 * emacs-lisp/elint.el (elint-find-args-in-code):
295 Use help-function-arglist, so as to handle lexical byte-code.
296
aa7aaf8f
SM
297 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
298 change (bug#11826).
299
45fd731c
SM
3002012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
301
2143fa32
SM
302 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
303 Avoid spuriously marking the buffer as modified because of c-is-sws.
304
efc26dbe
SM
305 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
306 as not-a-comment (bug#11946).
307
f5695c9a
SM
308 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
309 for uninterned vars.
310
311 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
312 Use read-event since we don't really want to read chars but bytes.
313
45fd731c
SM
314 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
315 $$..$$ but also $..$ using regexps (bug#11953).
316 Use tex-verbatim for \url and \path.
317 (tex-font-lock-keywords): Define as defconst like the others.
318 (tex-common-initialization): Don't use font-lock-syntax-table any more.
319
ddfc8813
RK
3202012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
321
322 * international/mule-cmds.el (ucs-insert): Make it an obsolete
323 alias for insert-char.
324
758e556a
FEG
3252012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
326
327 * progmodes/python.el: Simplified imenu implementation.
328 (python-nav-jump-to-defun): Remove command.
329 (python-mode-map): Use `imenu' instead.
330 (python-nav-list-defun-positions-cache)
331 (python-imenu-include-defun-type, python-imenu-make-tree)
332 (python-imenu-subtree-root-label, python-imenu-index-alist):
333 Remove vars.
334 (python-nav-list-defun-positions, python-nav-read-defun)
335 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
336 (python-imenu-make-tree, python-imenu-create-index):
337 Remove functions.
758e556a
FEG
338 (python-mode): Update to interact with imenu by setting
339 `imenu-extract-index-name-function' only.
340
032d23ab
FEG
3412012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
342
343 * progmodes/python.el: Enhancements to navigation commands.
344 (python-nav-backward-sentence)
345 (python-nav-forward-sentence): Remove.
346 (python-nav-backward-statement, python-nav-forward-statement)
347 (python-nav-statement-start, python-nav-statement-end)
348 (python-nav-backward-block, python-nav-forward-block)
349 (python-nav-block-start, python-nav-block-end)
350 (python-nav-forward-sexp-function)
351 (python-info-current-line-comment-p)
352 (python-info-current-line-empty-p): New functions.
353 (python-indent-context): Use `python-nav-statement-start'.
354
01795a1b
MA
3552012-07-16 Michael Albinus <michael.albinus@gmx.de>
356
9328d9aa
MA
357 * eshell/em-ls.el (eshell/ls): Use `apply'.
358
359 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
360 multi-hops, instead of Tramp internals.
361
01795a1b
MA
362 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
363
364 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
365 when F1 and F2 are located on different hosts.
366
63408057
CY
3672012-07-14 Chong Yidong <cyd@gnu.org>
368
369 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
370 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
371 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
372 (xterm-mouse--read-event-sequence-1000)
373 (xterm-mouse--read-event-sequence-1006): New functions. For old
374 mouse protocol, handle M-mouse-X events correctly.
375 (xterm-mouse-event): New arg specifying mouse protocol.
376 (turn-on-xterm-mouse-tracking-on-terminal)
377 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
378 sequence to toggle extended coordinates on newer XTerms.
379 This appears to be harmless on terminals which do not support this.
63408057 380
cd276f6e
LL
3812012-07-14 Leo Liu <sdl.web@gmail.com>
382
28ca98ac
LL
383 Add fringe bitmap indicators for flymake. (Bug#11253)
384 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
385 (flymake-make-overlay): New arg BITMAP.
386 (flymake-error-bitmap, flymake-warning-bitmap)
387 (flymake-fringe-indicator-position): New user variables.
388
cd276f6e
LL
389 * fringe.el: New bitmap exclamation-mark.
390
04408072
JD
3912012-07-14 Jan Djärv <jan.h.d@swipnet.se>
392
393 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
394 also (Bug#7879).
395
b5cf7fc4
CY
3962012-07-14 Chong Yidong <cyd@gnu.org>
397
398 * electric.el (electric-pair-post-self-insert-function): Fix pair
399 insertion in empty-region case (Bug#11520).
400
be755c79
RT
4012012-07-14 Chong Yidong <cyd@gnu.org>
402
45fd731c
SM
403 * bindings.el: Consolidate ctl-x-r-map bindings.
404 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
405
406 * rect.el, register.el: Move bindings to bindings.el.
407
4082012-07-14 Reuben Thomas <rrt@sc3d.org>
409
410 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
411
7f5b3198
AS
4122012-07-13 Andreas Schwab <schwab@linux-m68k.org>
413
414 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
415
97662200
JB
4162012-07-13 Juanma Barranquero <lekktu@gmail.com>
417
80185fed
JB
418 * bindings.el (top): Use `mapc' instead of `mapcar'.
419
97662200
JB
420 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
421
2bb1ae55
MA
4222012-07-13 Michael Albinus <michael.albinus@gmx.de>
423
424 * progmodes/sql.el (sql-comint): Suppress the check for program on
425 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
426 (Bug#11908)
427
dea31bd3
CY
4282012-07-13 Chong Yidong <cyd@gnu.org>
429
430 * bindings.el: Assign a non-nil permanent-local property to
431 per-buffer variables which lack a default value (Bug#11930).
432
433 * help-fns.el (describe-variable): In the "automatically becomes
434 local" notice, take note of permanent-local variables.
435
b68b3337
CY
4362012-07-13 Chong Yidong <cyd@gnu.org>
437
438 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
439 to allow printing the message when called from Lisp.
440
441 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
442 Remove toggle-read-only.
443
444 * bs.el (bs-toggle-readonly):
45fd731c
SM
445 * buff-menu.el (Buffer-menu-toggle-read-only):
446 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
447
448 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
449 Remove with-no-warnings around toggle-read-only.
450 (ffap-read-only, ffap-read-only-other-window)
451 (ffap-read-only-other-frame): Callers changed.
452
453 * help-mode.el: Don't require view package.
454 (help-mode-finish): Set buffer-read-only instead of calling
455 toggle-read-only.
456
457 * bindings.el (mode-line-toggle-read-only):
458 * dired.el (dired-toggle-read-only):
459 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
460 with non-nil second arg.
461
462 * emacs-lisp/eieio-custom.el (eieio-customize-object):
463 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
464 directly.
465
56bc1586
EZ
4662012-07-12 Eli Zaretskii <eliz@gnu.org>
467
468 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
469 not incf.
470
a464a6c7
SM
4712012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 More CL cleanups and reduction of use of cl.el.
474 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
475 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
476 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
477 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
478 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
479 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
480 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
481 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
482 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
483 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
484 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
485 * eshell/em-cmpl.el, eshell/em-banner.el:
486 * calendar/parse-time.el: Use cl-lib.
487 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
488 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
489 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
490 * term/ns-win.el, term.el, shell.el, ps-samp.el:
491 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
492 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
493 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
494 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
495 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
496 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
497 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
498 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
499 `lambda' rather than with `quote'.
500 (eshell-do-opt): Adjust accordingly.
501 (eshell-process-option): Simplify.
502 * eshell/esh-var.el:
503 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
504 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
505 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
506 to `pcase--dontcare'.
507 * emacs-lisp/cl.el (labels): Mark obsolete.
508 (cl--letf, letf): Move to cl-lib.
509 (cl--letf*, letf*): Remove.
510 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
511 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
512 (cl-progv): Rewrite.
513 (cl--letf, cl-letf): Move from cl.el.
514 (cl-letf*): New macro.
515 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
516
7ad4afe1
MA
5172012-07-11 Michael Albinus <michael.albinus@gmx.de>
518
519 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
520
9af57756
CY
5212012-07-11 Chong Yidong <cyd@gnu.org>
522
523 * vc/log-edit.el (log-edit-vc-backend): New variable.
524 (log-edit): Doc fix.
525
526 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
527 argument of log-edit to set up all local variables.
528 (vc-start-logentry): New optional arg specifying VC backend.
529
530 * vc/vc.el (vc-checkin): Use it.
531 (vc-deduce-fileset): Handle Log Edit buffers.
532 (vc-diff): Make first argument optional too.
533
534 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
535
8477cc7a
MA
5362012-07-10 Michael Albinus <michael.albinus@gmx.de>
537
538 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
539 command, just in case. The function is not needed anymore.
540 (eshell-external-command): Do not call `eshell-remote-command'.
541
19faa8e8
SM
5422012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
543
f58e0fd5
SM
544 Reduce use of (require 'cl).
545 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
546 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
547 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
548 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
549 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
550 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
551 * battery.el, avoid.el, abbrev.el: Use cl-lib.
552 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
553 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
554 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
555 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
556 * calculator.el, autorevert.el, apropos.el: Don't require CL.
557 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
558 (byte-compile-unfold-bcf, byte-compile-check-variable):
559 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
560 (byte-compile-nilconstp):
561 * emacs-lisp/autoload.el (make-autoload): Use pcase.
562 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
563
2519d43a
SM
564 * emacs-lisp/gv.el (cond): Make it a valid place.
565 (if): Simplify slightly.
566
19faa8e8
SM
567 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
568 (pcase--self-quoting-p): New function.
569 (pcase--u1): Use it.
570
c4907a5e
GM
5712012-07-10 Glenn Morris <rgm@gnu.org>
572
573 * emacs-lisp/authors.el (authors-fixed-entries):
574 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
575
c4444d16
PE
5762012-07-09 Paul Eggert <eggert@cs.ucla.edu>
577
578 Rename configure.in to configure.ac (Bug#11603).
579 * emacs-lisp/authors.el (authors-canonical-file-name):
580 * progmodes/autoconf.el (autoconf-mode):
581 Prefer configure.ac to configure.in.
582
d75be97d
CY
5832012-07-08 Chong Yidong <cyd@gnu.org>
584
01ac65bd
CY
585 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
586 Implement the mouse-1-click-follows-link handling properly.
587
588 * info.el (Info-link-keymap): Use follow-link mechanism for
589 header-line links (Bug#374).
590
d75be97d
CY
591 * simple.el (deactivate-mark): Do not set the primary selection
592 if another program has acquired it (Bug#11772).
593
87a92845 5942012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
595
596 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
597 (woman-decode-region): Replace escaped-escapes without destroying
598 bold or underline (Bug#11552).
87a92845 599 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 600
621b9d6c
CY
6012012-07-07 Chong Yidong <cyd@gnu.org>
602
603 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
604 (interprogram-cut-function, interprogram-paste-function):
605 Mention that we typically mean the clipboard.
621b9d6c 606
133a11fc
GM
6072012-07-06 Glenn Morris <rgm@gnu.org>
608
0d27a45e
GM
609 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
610
133a11fc
GM
611 * files.el (toggle-read-only): Restrict message to interactive use.
612
07b151f1
MA
6132012-07-06 Michael Albinus <michael.albinus@gmx.de>
614
615 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
616
617 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
618
211b896b
GM
6192012-07-06 Glenn Morris <rgm@gnu.org>
620
50394322
GM
621 * Makefile.in (compile-one-process): Rename from "recompile".
622
211b896b
GM
623 * Makefile.in (bzr-update): "compile" is the same as "recompile
624 autoloads", but parallelizable, so use that instead.
625
4737eec9
DG
6262012-07-06 Dmitry Gutov <dgutov@yandex.ru>
627
628 * window.el (quit-window): Always restore window height when
8137e7b3 629 it's saved in quit-restore parameter (Bug#11810).
4737eec9 630
226c3633 6312012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
632
633 * simple.el (kill-whole-line): Doc tweak.
634
226c3633 6352012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
636
637 * files.el (file-relative-name): Compare file names
638 case-insensitively if on MS-Windows or MS-DOS, or if
639 read-file-name-completion-ignore-case is non-nil. Don't use
640 case-fold-search for this purpose. (Bug#11827)
641
4dc7c8d5
SM
6422012-07-17 Andreas Schwab <schwab@linux-m68k.org>
643
644 * calendar/cal-dst.el (calendar-current-time-zone):
645 Return calendar-current-time-zone-cache if non-nil.
646
6472012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 6482012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 649
19faa8e8
SM
650 * calendar/cal-dst.el (calendar-current-time-zone):
651 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 652
60198fc9
GM
6532012-07-06 Glenn Morris <rgm@gnu.org>
654
655 * Makefile.in (cvs-update): Remove old alias.
656
957b3189
MA
6572012-07-05 Michael Albinus <michael.albinus@gmx.de>
658
659 Sync with Tramp 2.2.6-pre.
660
661 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
662 compatible declaration.
663
19faa8e8
SM
664 * net/tramp-cmds.el (tramp-append-tramp-buffers):
665 Protect `list-load-path-shadows' call.
957b3189
MA
666
667 * net/tramp-compat.el (top): Require packages, which aren't
668 autoloaded anymore for XEmacs. Protect call of
669 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
670 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
671 it hurts at least for SXEmacs.
672 (tramp-compat-temporary-file-directory): In XEmacs, there is no
673 standard-value for `temporary-file-directory'.
674
675 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
676 Redirect stderr to /dev/null.
677 (tramp-sh-handle-write-region): uid and gid can be floats.
678 Reported by Russell Sim <russell.sim@gmail.com>.
679 (tramp-sh-handle-vc-registered): Hide errors.
680 (tramp-vc-file-name-handler): Use dummy results for `process-file'
681 and `start-file-process'.
682 (tramp-maybe-open-connection): Check also whether `non-essential'
683 is bound.
684
566df3fc
CY
6852012-07-04 Chong Yidong <cyd@gnu.org>
686
687 * xml.el (xml--parse-buffer): Use xml-syntax-table.
688 (xml-parse-tag): Likewise, and avoid changing entity tables.
689 (xml-syntax-table): Define from scratch, making sure not to give
690 x2000 and other Unicode spaces whitespace syntax, since those are
691 not spaces in XML.
692 (xml-parse-fragment): Delete unused function.
693 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
694 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
695 (xml-entity-ref, xml-pe-reference-re)
696 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
697 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
698 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
699 (xml-entity-value-re): Use syntax references in regexps where
700 possible; no need to define inside a let-binding.
701 (xml-parse-dtd): Use xml-pe-reference-re.
702 (xml-entity-or-char-ref-re): New defconst.
703 (xml-parse-string, xml-substitute-special): Use it.
704
30eabd7a
SM
7052012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
706
0781098a
SM
707 * files.el (locate-dominating-file): Allow `name' to be a predicate.
708 (find-file--read-only): New function.
709 (find-file-read-only, find-file-read-only-other-window)
710 (find-file-read-only-other-frame): Use it.
711 (insert-file-contents-literally): Don't `fset'.
712 (get-free-disk-space): Use locate-dominating-file.
713
b5771c0d
SM
714 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
715 function is already compiled.
716
30eabd7a
SM
717 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
718
b4886f6e
MA
7192012-07-03 Michael Albinus <michael.albinus@gmx.de>
720
721 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
722 files on the same host.
723
b9d82339
AS
7242012-07-03 Andreas Schwab <schwab@linux-m68k.org>
725
726 * help-fns.el (describe-function-1): Only call
727 help-fns--autoloaded-p when we have a file name. (Bug#11848)
728
a76e6535
CY
7292012-07-03 Chong Yidong <cyd@gnu.org>
730
731 * xml.el: Protect parser against XML bombs.
732 (xml-entity-expansion-limit): New variable.
733 (xml-parse-string, xml-substitute-special): Use it.
734 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
735
b544fef2
GM
7362012-07-03 Glenn Morris <rgm@gnu.org>
737
738 * progmodes/bug-reference.el (bug-reference-bug-regexp):
739 Allow linking to specific messages in debbugs reports (eg 123#5).
740
a7aef6f5
CY
7412012-07-02 Chong Yidong <cyd@gnu.org>
742
743 * xml.el: Fix entity and character reference expansion, allowing
744 them to expand into markup as per XML spec.
745 (xml-default-ns): New variable.
746 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
747 (xml-parse-region): Make first two arguments optional.
748 Discard text properties.
749 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
750 All callers changed.
a7aef6f5
CY
751 (xml-parse-tag): Call xml-parse-tag-1. For backward
752 compatibility, this function should not modify buffer contents.
753 (xml-parse-tag-1): Fix opening-tag regexp.
754 (xml-parse-string): Rewrite, handling entity and character
755 references properly.
756 (xml--entity-replacement-text): Signal an error if a parameter
757 entity is undefined.
758
3df31c9f
SM
7592012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
760
2b5208f1
SM
761 * comint.el (comint-output-filter): Filter out repeated prompts.
762
3df31c9f
SM
763 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
764 and file-name-absolute-p.
765 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
766 internal calls.
767
e3ac1281
PE
7682012-07-02 Paul Eggert <eggert@cs.ucla.edu>
769
770 Spelling fixes.
771 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
772 Rename from byte-compile--refiy-function. All uses changed.
773
fbf2e7ad
CY
7742012-07-01 Chong Yidong <cyd@gnu.org>
775
776 * xml.el (xml--parse-buffer): New function. Move most of
777 xml-parse-region here.
778 (xml-parse-region): Copy region into a temporary buffer, since
779 parameter entity substitution requires changing buffer contents.
780 Use xml--parse-buffer.
781 (xml-parse-file): Use xml--parse-buffer.
782 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 783 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 784
9bf0aa15
GM
7852012-06-30 Glenn Morris <rgm@gnu.org>
786
bbce2853
GM
787 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
788
9bf0aa15
GM
789 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
790 Remove outdated and unnecessary dbus declarations.
791
0d23c240
EZ
7922012-06-30 Eli Zaretskii <eliz@gnu.org>
793
794 * emacs-lisp/timer.el (timer-until): Subtract results of
795 float-time, instead of taking float-time of the result of
796 time-subtract, since float-time signals an error for negative time
797 arguments.
798
b3218de1
CY
7992012-06-30 Chong Yidong <cyd@gnu.org>
800
801 * xml.el (xml-*-re): Convert defvars into defconsts, and
802 eval-and-compile them so eval-and-compile works on derivatives.
803 (xml--entity-replacement-text): Use eval-and-comple.
804
a40c87a0
MA
8052012-06-30 Michael Albinus <michael.albinus@gmx.de>
806
807 * vc/vc-git.el (vc-git-registered): Use cache property
808 `git-registered'.
809 (vc-git-mode-line-string): Call `vc-working-revision' instead of
810 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 811 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 812
ac87de97
DG
8132012-06-30 Dmitry Gutov <dgutov@yandex.ru>
814
815 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 816 removed (likely outside Emacs). (Bug#11757)
ac87de97 817
ac10fe06
SM
8182012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
819
3df31c9f 820 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 821
7f3fbd5d
CY
8222012-06-30 Chong Yidong <cyd@gnu.org>
823
824 * xml.el: Implement XML parameter entities.
825 (xml-parameter-entity-alist): New variable.
826 (xml-parse-region, xml-parse-fragment): Preserve previous values
827 of xml-entity-alist and xml-parameter-entity-alist, so that
828 repeated calls on different documents do not change them.
829 (xml-parse-tag): Fix doctype regexp.
830 (xml--entity-replacement-text): New function.
831 (xml-parse-dtd): Use it. Don't handle system entities; doing that
832 properly requires url retrieval which is unimplemented.
833 (xml-escape-string): Doc fix.
834
3cfbebba
SM
8352012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
838
2af3565e
DA
8392012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
840
841 * fringe.el (fringe-mode): Doc fix.
842
929df0e7
MA
8432012-06-29 Michael Albinus <michael.albinus@gmx.de>
844
845 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
846 is non-nil.
847 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
848 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
849
c8d3a25c 8502012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 851
c8d3a25c
GM
852 * calendar/cal-dst.el (calendar-current-time-zone):
853 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 854
c8d3a25c 8552012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
856
857 * progmodes/which-func.el (which-func-format):
858 Add mouse-face. (Bug#11698)
859
c8d3a25c
GM
8602012-06-29 Leo Liu <sdl.web@gmail.com>
861
862 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
863
8642012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * minibuffer.el (minibuffer-confirm-exit-commands):
867 Add completion-at-point (bug#11725).
868
8692012-06-29 Glenn Morris <rgm@gnu.org>
870
871 * progmodes/f90.el (f90-font-lock-keywords-2):
872 Add some preprocessor elements. (Bug#10499)
873
8742012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * progmodes/cperl-mode.el (cperl-update-syntaxification):
877 Use syntax-propertize (bug#11739).
878
2badeec4
JB
8792012-06-28 Juanma Barranquero <lekktu@gmail.com>
880
881 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
882
ae4969c2
JD
8832012-06-28 Julien Danjou <julien@danjou.info>
884
885 * term.el (term-handle-colors-array): Use a set of new faces to
886 color the terminal. Also uses :inverse-video property.
887 (term-default-fg-color): Set to nil by default, deprecate in favor
888 of `term-face'.
889 (term-default-bg-color): Set to nil by default, deprecate in favor
890 of `term-face'.
891 (term-current-face): Use `term-face' by default.
892 (term-bold-attribute): Variable deleted.
893
1c9bd870
GM
8942012-06-28 Glenn Morris <rgm@gnu.org>
895
896 * simple.el (completion-list-mode-finish):
897 Don't use toggle-read-only. (Since completion-list-mode has
898 a special mode-class, it wasn't doing anything extra anyway.)
899
c207708c
SM
9002012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 Make inlining of other-mode interpreted functions work (bug#11799).
903 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
904 (byte-compile): Use it to fix compilation of lexical-binding closures.
905 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
906 function, if needed.
907
3fd56834
SM
9082012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
909
04901786
SM
910 * help-mode.el (help-make-xrefs): Don't just withstand
911 cyclic-variable-indirection but any error in documentation-property.
912
1ec4b7b2
SM
913 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
914 memory use.
915 * bindings.el (bindings--define-key): New function.
916 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
917 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
918 * bindings.el: Use it to purecopy define-key bindings.
919
e309e2a5
SM
920 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
921
d5c6faf9
SM
922 * emacs-lisp/cl.el (flet): Mark obsolete.
923 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
924 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
925 * progmodes/js.el (js-c-fill-paragraph):
926 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
927 (ebrowse-switch-member-buffer-to-derived-class):
928 * play/5x5.el (5x5-solver): Use cl-flet.
929
6e9590e2
SM
930 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
931 (cl--symbol-function): New macro.
932 (cl--letf, cl--letf*): Use it.
933
3fd56834
SM
934 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
935 Strip "toggle-" if any.
936
35ff222c
GM
9372012-06-27 Glenn Morris <rgm@gnu.org>
938
1ba6038a
GM
939 * info.el (Info-default-directory-list): Move here from paths.el.
940 * paths.el: Remove file, which is now empty.
941 * loadup.el: No longer load "paths".
942
0ea0e51b
GM
943 * custom.el (custom-initialize-delay): Doc fix.
944
35ff222c
GM
945 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
946 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
947 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
948 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
949 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
950 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
951 * eshell/eshell.el (eshell-defgroup): Remove alias.
952
c89926a5
CY
9532012-06-27 Chong Yidong <cyd@gnu.org>
954
955 * help.el (help-enable-auto-load): New variable.
956
957 * help-fns.el (help-fns--autoloaded-p): New function.
958 (describe-function-1): Refer to a function as "autoloaded" if it
959 was autoloaded at any time in the past. Perform autoloading if
960 help-enable-auto-load is non-nil.
961
cc06e7e7
EZ
9622012-06-26 Eli Zaretskii <eliz@gnu.org>
963
964 * makefile.w32-in (compile, compile-always): Depend on
965 update-subdirs, not on subdirs.el. Otherwise, several different
966 sub-targets of 'bootstrap' running in parallel could
967 simultaneously write to subdirs.el, producing a garbled file.
968
d2c32364
SS
9692012-06-26 Sam Steingold <sds@gnu.org>
970
971 * files.el (file-name-base): New convenience function.
0d14cc21
GM
972 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
973 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
974 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
975 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
976 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
977 * textmodes/tex-mode.el: Use it.
978 Did not touch cedet and org because they are maintained elsewhere.
979
5cf983b2
MR
9802012-06-26 Martin Rudalics <rudalics@gmx.at>
981
982 * calendar/calendar.el (calendar-exit): Don't try to delete or
983 iconify last frame. See:
984 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
985
8c4f2952
JD
9862012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
987
988 * server.el (server-process-filter): Remember dir in the
989 process's `server-client-directory' properties.
990
772b2e2c
CY
9912012-06-24 Chong Yidong <cyd@gnu.org>
992
993 * xml.el (xml-parse-tag): Correctly handle comment embedded in
994 non-tag text.
995
711b11e1
JB
9962012-06-23 Juanma Barranquero <lekktu@gmail.com>
997
998 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
999
dc5d230c
SM
10002012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * help-fns.el (describe-variable): Don't croak when doc is not found.
1003 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1004 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1005 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1006 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1007 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1008 ((lambda ..) ..).
1009 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1010
136e1c1d
CY
10112012-06-23 Chong Yidong <cyd@gnu.org>
1012
e8c1cabf
CY
1013 * info.el (Info-mouse-follow-link): Accept symbol values of
1014 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1015 (Info-fontify-node): Use Info-link-keymap for all navigation
1016 buttons, with link-args property to perform the desired action.
1017 (Info-link-keymap): Doc fix.
1018 (Info-next-link-keymap, Info-prev-link-keymap)
1019 (Info-up-link-keymap): Delete now-unused keymaps.
1020
0e9e6c6a
CY
10212012-06-23 Chong Yidong <cyd@gnu.org>
1022
05e89fea
CY
1023 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1024
0e9e6c6a
CY
1025 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1026 system abbrevs.
1027
1028 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1029
e33c6771
SM
10302012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1031
b68581e2
SM
1032 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1033 (bug#11719).
1034
e33c6771
SM
1035 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1036 the requote function doesn't work properly (bug#11714).
1037
7117e105
GM
10382012-06-23 Glenn Morris <rgm@gnu.org>
1039
1040 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1041
36cec983
SM
10422012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1043
1044 Further GV/CL cleanups.
1045 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1046 gv-expander.
1047 (gv--defun-declaration): New function.
1048 (defun-declarations-alist): Use it.
1049 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1050 (gv-place): Autoload.
1051 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1052 original definition of dotimes and dolist.
1053 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1054 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1055 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1056 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1057 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1058 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1059 to the function's definition.
1060 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1061 * window.el:
1062 * files.el:
1063 * faces.el:
1064 * env.el: Don't use CL.
1065
d35af63c
PE
10662012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1067
1068 Support higher-resolution time stamps (Bug#9000).
1069
1070 * calendar/time-date.el (with-decoded-time-value): New arg
1071 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1072 (encode-time-value): New optional arg PICO. New type 3.
1073 (time-to-seconds) [!float-time]: Support the new picoseconds
1074 component if it's used.
1075 (seconds-to-time, time-subtract, time-add):
1076 Support ps-resolution time stamps as well.
1077
1078 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1079 (timerp): Timer vectors now have length 9, not 8.
1080 (timer--time): Support new-style (4-part) time stamps.
1081 (timer-next-integral-multiple-of-time): Time stamps now have
1082 picosecond resolution, so take a bit more care about rounding.
1083 (timer-relative-time, timer-inc-time): New optional arg psecs.
1084 (timer-set-time-with-usecs): Set psecs to 0.
1085 (timer--activate): Check psecs component, too.
1086
1087 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1088
ac77b21a
SM
10892012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1090
f143bfe3
SM
1091 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1092 Move the non-essential binding to the post/pre-command-hook where it is
1093 more obviously correct.
1094
ac77b21a
SM
1095 * subr.el (read-passwd): Don't use a history at all.
1096 * savehist.el (savehist-save): Remove password saved accidentally
1097 because of the above bug.
1098
76386c5a
BG
10992012-06-22 Bastien Guerry <bzg@gnu.org>
1100
1101 * files.el (toggle-read-only): Display a message telling whether
1102 the buffer is read-only or not (bug#11726).
1103
2ee3d7f0
SM
11042012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * emacs-lisp/gv.el: New file.
1107 * subr.el (push, pop): Extend to generalized variables.
1108 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1109 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1110 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1111 gv-define-simple-setter, and gv-define-expander.
1112 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1113 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1114 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1115 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1116 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1117 gv-letplace.
1118 (cl-defstruct): Don't define setf-method any more.
1119 * emacs-lisp/cl.el (flet): Don't autoload.
1120 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1121 (define-setf-expander, defsetf, define-modify-macro)
1122 (cl-struct-setf-expander): Move from cl-lib.el.
1123 * emacs-lisp/syntax.el:
1124 * emacs-lisp/ewoc.el:
1125 * emacs-lisp/smie.el:
1126 * emacs-lisp/cconv.el:
1127 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1128 (timer--time): Use gv-define-simple-setter.
1129 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1130 to avoid coding-system problems in subr.el. Adjust all users.
1131 (macroexp--maxsize, macroexp-small-p): New functions.
1132 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1133 * scroll-bar.el (scroll-bar-mode):
1134 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1135 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1136 * winner.el (winner-configuration, winner-make-point-alist)
1137 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1138 * files.el (locate-file-completion-table): Avoid list*.
1139
c5695d1d
CY
11402012-06-22 Chong Yidong <cyd@gnu.org>
1141
1142 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1143 (dired-create-files): Doc fix (Bug#11329).
1144 (dired-do-copy): Doc fix (Bug#11334).
1145 (dired-mark-read-string): Doc fix (Bug#11553).
1146
2ee3d7f0
SM
1147 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1148 Doc fix (Bug#11326).
c5695d1d
CY
1149 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1150 (dired-dwim-target): Doc fix.
1151
1152 * wdired.el (wdired-mode): Doc fix.
1153
89b5595a
GM
11542012-06-22 Glenn Morris <rgm@gnu.org>
1155
575db3f1
GM
1156 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1157 (pcmpl-rpm-cache-stamp-file): New constant.
1158 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1159 (pcmpl-rpm-packages): Optionally cache list of packages.
1160
a4c8dd51
GM
1161 * pcmpl-rpm.el (pcmpl-rpm): New group.
1162 (pcmpl-rpm-query-options): New option.
1163 (pcmpl-rpm-packages): No need to inline it.
1164 Use pcmpl-rpm-query-options.
1165
89b5595a
GM
1166 * calendar/calendar.el (calendar-in-read-only-buffer):
1167 Avoid some needless mode changes.
1168
e76f0800
CY
11692012-06-21 Chong Yidong <cyd@gnu.org>
1170
1171 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1172 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1173 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1174
297a8f1d
CY
11752012-06-20 Chong Yidong <cyd@gnu.org>
1176
1177 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1178
d34c18b1
DR
11792012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1180
1181 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1182 (bug#11201).
1183
32f7f28e
CY
11842012-06-20 Chong Yidong <cyd@gnu.org>
1185
1186 * term.el (term-window-width): Handle the case of a missing right
1187 fringe (Bug#8837).
1188 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1189 (term-mode): Use define-derived-mode. Minor cleanups.
1190 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1191 (term-move-columns, term-insert-char, term-emulate-terminal)
1192 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1193
493c6688
MA
11942012-06-20 Michael Albinus <michael.albinus@gmx.de>
1195
d34c18b1
DR
1196 * net/ange-ftp.el (ange-ftp-get-passwd):
1197 Bind `enable-recursive-minibuffers'.
493c6688
MA
1198 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1199
3f06ecf4
DR
12002012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1201
1202 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1203
68f12411
GM
12042012-06-19 Glenn Morris <rgm@gnu.org>
1205
1206 * progmodes/python.el (python-mode): Derive from prog-mode.
1207
b3820318
KG
12082012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1209
1210 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1211 (edt-user-menu-bar-update-buffers): New functions.
1212 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1213
c6bf3022
CY
12142012-06-19 Chong Yidong <cyd@gnu.org>
1215
1216 * subr.el (with-selected-window): Preserve the selected window's
1217 terminal's top-frame (Bug#4702).
1218
1219 * window.el (save-selected-window): Likewise.
1220
25f09295
SM
12212012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * progmodes/python.el (python-rx-constituents): Move backquote.
1224 (python-skeleton-define, python-define-auxiliary-skeleton):
1225 Use `declare'.
1226
6b11952a
MA
12272012-06-18 Michael Albinus <michael.albinus@gmx.de>
1228
1229 * minibuffer.el (read-file-name-default): Revert the patch from
1230 2012-06-17.
1231
ee4b1330
SM
12322012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1235 (pcase--u1, pcase--q1): Don't use apply-partially.
1236
35647f79
GM
12372012-06-18 Glenn Morris <rgm@gnu.org>
1238
1239 * progmodes/python.el (python-proc, python-buffer)
1240 (python-send-receive, python-send-string): Fix obsolete versions.
1241
24b0cff0
MR
12422012-06-18 Martin Rudalics <rudalics@gmx.at>
1243
1244 * window.el (special-display-p): Completely remove stringp
1245 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1246
29855149
MA
12472012-06-17 Michael Albinus <michael.albinus@gmx.de>
1248
1249 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1250
1251 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1252
1253 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1254 * net/tramp-sh.el (tramp-maybe-open-connection):
1255 Throw if `non-essential' is non-nil.
1256
07463363
MR
12572012-06-17 Martin Rudalics <rudalics@gmx.at>
1258
1259 * window.el (special-display-p): Signal an error if BUFFER-NAME
1260 is not a string (Bug#11713).
1261
48d1354e
PE
12622012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1263
1264 * progmodes/python.el (python-info-beginning-of-backslash):
1265 Rename from python-info-beginning-of-backlash, as a spelling fix.
1266
eb4a8a9a
CY
12672012-06-17 Chong Yidong <cyd@gnu.org>
1268
1269 * term.el (term-emulate-terminal): If term-check-size is called,
1270 move point to the process mark without resetting point (Bug#4635).
1271
ddfbf826 12722012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1273
1274 * international/mule-cmds.el (mule-menu-keymap)
1275 (set-language-environment, set-locale-environment): Doc tweaks.
1276
9b0e3eba
AA
12772012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1278
1279 * cus-face.el (custom-face-attributes): Add wave-style underline
1280 attribute.
1281 * faces.el (set-face-attribute): Update docstring to describe
1282 wave-style underline attribute.
1283
771e3eae
CY
12842012-06-16 Chong Yidong <cyd@gnu.org>
1285
1286 * term/xterm.el (terminal-init-xterm): Discard input before
1287 querying background mode (Bug#10959).
1288
7ae2ea10
SM
12892012-06-16 Stefan Merten <smerten@oekonux.de>
1290
1291 * textmodes/rst.el: Added and corrected some comments.
1292 (rst-re-alist-def): Improve symbol syntax.
1293 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1294 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1295 (rst-official-version, rst-official-cvs-rev): Update version
1296 information.
7ae2ea10 1297
b6974efa
JB
12982012-06-15 Juanma Barranquero <lekktu@gmail.com>
1299
1300 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1301 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1302
8826d473
GM
13032012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1304
1305 * progmodes/python.el: New python.el merge.
1306 (python-guess-indent): Obsolete var.
1307 (python-indent-guess-indent-offset): New defcustom.
1308 (python-indent): Obsolete var.
1309 (python-indent-offset): New defcustom.
1310 (python-python-command, python-jython-command): Delete var.
1311 (python-shell-interpreter): New defcustom.
1312 (python-pdbtrack-do-tracking-p): Delete var.
1313 (python-pdbtrack-activate): New defcustom.
1314 (python-use-skeletons): Obsolete var.
1315 (python-skeleton-autoinsert): New defcustom.
1316 (inferior-python-filter-regexp, python-continuation-offset)
1317 (python-honour-comment-indentation, python-indent-string-contents)
1318 (python-jython-packages, python-mode-hook)
1319 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1320 (python-shell-prompt-alist)
1321 (python-source-modes): Delete defcustoms.
1322 (python-check-buffer-name, python-eldoc-setup-code)
1323 (python-eldoc-string-code, python-ffap-setup-code)
1324 (python-ffap-string-code, python-fill-comment-function)
1325 (python-fill-decorator-function, python-fill-paren-function)
1326 (python-fill-string-function, python-imenu-include-defun-type)
1327 (python-imenu-make-tree, python-imenu-subtree-root-label)
1328 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1329 (python-shell-compilation-regexp-alist)
1330 (python-shell-completion-module-string-code)
1331 (python-shell-completion-pdb-string-code)
1332 (python-shell-completion-setup-code)
1333 (python-shell-completion-string-code)
1334 (python-shell-enable-font-lock, python-shell-exec-path)
1335 (python-shell-extra-pythonpaths)
1336 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1337 (python-shell-process-environment)
1338 (python-shell-prompt-block-regexp)
1339 (python-shell-prompt-output-regexp)
1340 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1341 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1342 (python-shell-virtualenv-path): New defcustoms.
1343 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1344 (inferior-python-mode-syntax-table, python--prompt-regexp)
1345 (python-buffer, python-command python-python-command)
1346 (python-default-template, python-imports, python-indent-index)
1347 (python-indent-list, python-indent-list-length)
1348 (python-mode-running, python-pdbtrack-is-tracking-p)
1349 (python-preoutput-continuation, python-preoutput-leftover)
1350 (python-preoutput-result, python-preoutput-skip-next-prompt)
1351 (python-prev-dir/file, python-recursing)
1352 (python-saved-check-command, python-version-checked)
1353 (python-which-func-length-limit)
1354 (view-return-to-alist): Delete vars.
1355 (python-check-custom-command, python-dotty-syntax-table)
1356 (python-imenu-index-alist, python-indent-current-level)
1357 (python-indent-dedenters, python-indent-levels)
1358 (python-nav-beginning-of-defun-regexp)
1359 (python-nav-list-defun-positions-cache)
1360 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1361 (python-shell-internal-buffer)
1362 (python-skeleton-available): New vars.
1363 (def-python-skeleton): Delete macro.
1364 (python-skeleton-define): New macro.
1365 (python-define-auxiliary-skeleton, python-rx): New macros.
1366 (python-insert-class): Delete command.
1367 (python-skeleton-class): New command.
1368 (python-insert-def): Delete command.
1369 (python-skeleton-def): New command.
1370 (python-insert-for): Delete command.
1371 (python-skeleton-for): New command.
1372 (python-insert-if): Delete command.
1373 (python-skeleton-if): New command.
1374 (python-insert-try/except, python-insert-try/finally): Delete commands.
1375 (python-skeleton-try): New command.
1376 (python-insert-while): Delete command.
1377 (python-skeleton-while): New command.
1378 (python-backspace): Delete command.
1379 (python-indent-dedent-line-backspace): New command.
1380 (python-electric-colon): Delete command.
1381 (python-indent-electric-colon): New command.
1382 (python-guess-indent): Delete command.
1383 (python-indent-guess-indent-offset): New command.
1384 (python-shift-left): Delete command.
1385 (python-indent-shift-left): New command.
1386 (python-shift-right): Delete command.
1387 (python-indent-shift-right): New command.
1388 (python-find-function): Delete command.
1389 (python-nav-jump-to-defun): New command.
1390 (python-next-statement): Delete command.
1391 (python-nav-forward-sentence): New command.
1392 (python-previous-statement): Delete command.
1393 (python-nav-backward-sentence): New command.
1394 (python-fill-paragraph): Delete command.
1395 (python-fill-paragraph-function): New command.
1396 (python-send-buffer): Delete command.
1397 (python-shell-send-buffer): New command.
1398 (python-send-defun): Delete command.
1399 (python-shell-send-defun): New command.
1400 (python-send-region, python-send-region-and-go): Delete commands.
1401 (python-shell-send-region)
1402 (python-shell-switch-to-shell): New commands.
1403 (python-send-string): Delete command.
1404 (python-shell-send-string): New command.
1405 (python-switch-to-python): Delete command.
1406 (python-shell-switch-to-shell): New command.
1407 (python-describe-symbol): Delete command.
1408 (python-eldoc-at-point): New command.
1409 (python--set-prompt-regexp, python-args-to-list)
1410 (python-after-info-look, python-check-version)
1411 (python-check-comint-prompt, python-find-imports)
1412 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1413 (python-unload-function, python-expand-template)
1414 (python-maybe-jython, python-preoutput-filter)
1415 (python-pdbtrack-get-source-buffer)
1416 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1417 (python-pdbtrack-toggle-stack-tracking)
1418 (python-pdbtrack-track-stack-file, python-initial-text)
1419 (python-first-word, python-comment-line-p, python-send-command)
1420 (python-setup-brm, python-sentinel, python-set-proc)
1421 (python-skip-out, python-input-filter, python-outdent-p)
1422 (python-outline-level, python-backslash-continuation-line-p)
1423 (python-end-of-block, python-end-of-statement, python-mark-block)
1424 (python-beginning-of-block, python-beginning-of-statement)
1425 (python-blank-line-p, python-beginning-of-string)
1426 (python-open-block-statement-p): Delete functions.
1427 (python-indent-line, python-indent-line-1): Delete functions.
1428 (python-indent-line): New function.
1429 (python-indentation-levels): Delete function.
1430 (python-indent-calculate-levels): New function.
1431 (python-proc): Delete function.
1432 (python-shell-get-process): New function.
1433 (python-send-receive): Delete function.
1434 (python-shell-send-string-no-output): New function.
1435 (python-module-path): Delete function.
1436 (python-ffap-module-path): New function.
1437 (python-completion-at-point)
1438 (python-symbol-completions): Delete functions.
1439 (python-completion-complete-at-point): New function.
1440 (python-load-file): Delete function.
1441 (python-shell-send-file): New function.
1442 (python-calculate-indentation): Delete function.
1443 (python-indent-calculate-indentation): New function.
1444 (python-skip-comments/blanks): Delete function.
1445 (python-util-forward-comment): New function.
1446 (python-continuation-line-p): Delete function.
1447 (python-info-continuation-line-p): New function.
1448 (python-which-func, python-current-defun): Delete function.
1449 (python-info-current-defun): New function.
1450 (python-beginning-of-defun): Delete function.
1451 (python-nav-beginning-of-defun): New function.
1452 (python-close-block-statement-p)
1453 (python-block-end-p): Delete function.
1454 (python-info-closing-block): New function.
1455 (python-comint-output-filter-function)
1456 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1457 (python-fill-comment, python-fill-decorator, python-fill-paren)
1458 (python-fill-string, python-imenu-make-element-tree)
1459 (python-imenu-make-tree, python-imenu-tree-assoc)
1460 (python-indent-context, python-indent-dedent-line)
1461 (python-indent-line-function)
1462 (python-indent-post-self-insert-function)
1463 (python-indent-toggle-levels)
1464 (python-info-assignment-continuation-line-p)
1465 (python-info-beginning-of-backlash)
1466 (python-info-block-continuation-line-p)
1467 (python-info-closing-block-message)
1468 (python-info-line-ends-backslash-p)
1469 (python-info-looking-at-beginning-of-defun)
1470 (python-info-ppss-context, python-info-ppss-context-type)
1471 (python-nav-list-defun-positions, python-nav-read-defun)
1472 (python-nav-sentence-end, python-nav-sentence-start)
1473 (python-pdbtrack-comint-output-filter-function)
1474 (python-pdbtrack-set-tracked-buffer)
1475 (python-shell-calculate-exec-path)
1476 (python-shell-calculate-process-environment)
1477 (python-shell-completion--do-completion-at-point)
1478 (python-shell-completion--get-completions)
1479 (python-shell-completion-complete-at-point)
1480 (python-shell-completion-complete-or-indent)
1481 (python-shell-get-or-create-process)
1482 (python-shell-get-process-name)
1483 (python-shell-internal-get-or-create-process)
1484 (python-shell-internal-get-process-name)
1485 (python-shell-internal-send-string, python-shell-make-comint)
1486 (python-shell-parse-command, python-shell-send-setup-code)
1487 (python-skeleton-add-menu-items)
1488 (python-util-clone-local-variables, python-util-position)
1489 (run-python-internal, python-indentation-levels)
1490 (python-nav-beginning-of-defun)
1491 (python-completion-complete-at-point): New functions.
1492 (run-python): Change arguments. New API requirements.
1493
4302f5ba
SM
14942012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1495
f38ea36d
SM
1496 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1497 (bug#11649).
1498
1499 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1500 (macroexp--expand-all): Use it.
1501
4302f5ba
SM
1502 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1503 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1504 Use `cl-function' instead.
1505
33377562
JB
15062012-06-14 Juanma Barranquero <lekktu@gmail.com>
1507
1508 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1509 Suggested by Stefan Monnier while discussing bug#11657.
1510
54c5ba1a
SS
15112012-06-14 Sam Steingold <sds@gnu.org>
1512
1513 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1514
f9f1b1fe
AS
15152012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1516
1517 * play/doctor.el (doctor-doc): Remove parameter and use
1518 doctor-sent instead of sent.
1519 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1520
a81068ba
SM
15212012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1522
5a315f9c
SM
1523 * files.el: Require cl-lib.
1524 (file-name-non-special): Replace case -> cl-case.
1525
1526 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1527
a81068ba
SM
1528 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1529 mapping from #' to function*.
1530
8cca9703
CY
15312012-06-13 Chong Yidong <cyd@gnu.org>
1532
1533 * mouse.el (mouse-drag-track): Do not set the mark if the user
1534 releases the mouse without selecting anything (Bug#11588).
1535
a12ac9d7
SM
15362012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1537
ccf1dc18
SM
1538 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1539 as well (bug#11646).
1540
ef62b23d
SM
1541 * loadup.el: Count byte-code functions as well.
1542
c4c8444a
SM
1543 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1544 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1545
a12ac9d7
SM
1546 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1547 (bug#11649). Add cl-defun and cl-defmacro.
1548
87e6e64f
DA
15492012-06-13 Drew Adams <drew.adams@oracle.com>
1550
1551 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1552 Fix last change.
1553
682cefaf
MA
15542012-06-13 Michael Albinus <michael.albinus@gmx.de>
1555
1556 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1557 Otherwise, it blocks in batch mode.
1558
773e1f08
JB
15592012-06-13 Juanma Barranquero <lekktu@gmail.com>
1560
1561 * help-mode.el (bookmark-make-record-default): Declare.
1562
60057926
CY
15632012-06-13 Chong Yidong <cyd@gnu.org>
1564
1565 * emacs-lisp/package.el (list-packages): Compute a list of
1566 packages that are newly-available since the last list-packages
1567 invocation.
1568 (package-menu--new-package-list): New var.
1569 (package-menu--generate, package-menu--print-info)
1570 (package-menu--status-predicate, package-menu-mark-install):
1571 Handle new status label "new".
1572
ad4d226c
SM
15732012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1576 conversion to backquotes.
1577
f1a4e679
CY
15782012-06-12 Chong Yidong <cyd@gnu.org>
1579
1580 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1581 Rename from gud-inhibit-global-bindings.
1582
1583 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1584
1585 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1586 hook from nxml-glyph-set-hook.
1587
1588 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1589 declaration.
1590
1591 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1592
1593 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1594 Convert to defcustom.
1595
0c9e42b5
DA
15962012-06-12 Drew Adams <drew.adams@oracle.com>
1597
1598 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1599 New functions.
1600 (help-mode): Use them.
1601
09e06855
GM
16022012-06-11 Glenn Morris <rgm@gnu.org>
1603
1604 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1605 Use preprocessor face for directives.
1606 (fortran-directive-re): Doc fix.
1607
71adb94b
SM
16082012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1609
2eb87922
SM
1610 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1611 conversion to backquotes (bug#11652).
1612
71adb94b
SM
1613 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1614 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1615 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1616 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1617 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1618 (cl-ninth, cl-tenth): Mark them as inlinable.
1619 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1620 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1621 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1622 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1623 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1624 (cl-list*, cl-adjoin): Don't put an autoload manually.
1625 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1626 (cl--compiler-macro-list*): Add autoload cookie.
1627 (cl--compiler-macro-cXXr): New function.
2eb87922 1628
71adb94b
SM
1629 * help-fns.el (help-fns--compiler-macro): New function extracted from
1630 describe-function-1; follow aliases and use `compiler-macro' property.
1631 (describe-function-1): Use it.
1632
a6674402
CY
16332012-06-11 Chong Yidong <cyd@gnu.org>
1634
1635 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1636 is uninstalled, if imagemagick is installed.
1637
bb3faf5b
SM
16382012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * emacs-lisp/cl-lib.el: Use lexical-binding.
1641 (cl-map-extents, cl-maclisp-member): Remove.
1642 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1643 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1644 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1645 * emacs-lisp/cl-extra.el: Use lexical-binding.
1646 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1647 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1648 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1649 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1650 * emacs-lisp/cl-seq.el: Use lexical-binding.
1651 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1652 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1653 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1654 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1655 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1656 CL's internals.
1657
2fe4b125
MA
16582012-06-11 Michael Albinus <michael.albinus@gmx.de>
1659
1660 Sync with Tramp 2.2.6-pre.
1661
1662 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1663 `print-length' and `print-level' to nil, in order to avoid
1664 truncation. Reported by Christopher Schmidt
1665 <christopher@ristopher.com>.
1666
1667 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1668
1669 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1670 New defmacro.
1671 (tramp-compat-copy-directory): Add optional argument
1672 COPY-CONTENTS. It is not handled yet.
1673
1674 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1675 (tramp-ftp-file-name-p): Simplify.
1676
1677 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1678 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1679 connection vector.
1680
1681 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1682 (tramp-methods): Do not use `tramp-password-end-of-line'.
1683 (tramp-completion-function-alist-putty): Handle UNIX case.
1684 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1685 (tramp-do-file-attributes-with-stat)
1686 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1687 gid as real numbers. They could run out of integer range on cygwin.
1688 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1689 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1690 (tramp-open-connection-setup-interactive-shell):
1691 Use `tramp-cleanup'. Move check for busyboxes ...
1692 (tramp-find-shell): ... here. Simplify implementation.
1693 Set "remote-shell" property also for alternative shells.
1694 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1695 If failing, a regular file would be written otherwise.
1696 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1697 (tramp-find-inline-encoding): Cache the coding commands in the
1698 process cache. Apply test command on the remote side, if defined.
1699 (tramp-find-inline-compress): Cache the compress commands in the
1700 process cache.
1701 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1702 when requested. Handle hops.
1703 (tramp-current-connection): New defvar.
87e6e64f
DA
1704 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1705 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1706 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1707 (tramp-get-inline-compress, tramp-get-inline-coding):
1708 Read connection properties from the process cache.
2fe4b125
MA
1709
1710 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1711 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1712 New defconsts.
2fe4b125
MA
1713 (tramp-smb-prompt): Extend for powershell prompt.
1714 (tramp-smb-file-name-handler-alist): Add handlers for
1715 `process-file', `shell-command' and `start-file-process'.
1716 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1717 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1718 (tramp-smb-file-name-p): Simplify.
1719 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1720 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1721 (tramp-smb-shell-quote-argument): New defuns.
1722 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1723 Implement using "tar". By this, time-stamps are preserved.
1724 (tramp-smb-handle-copy-file): Handle also the case of directories.
1725 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1726 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1727 Use `tramp-get-connection-buffer').
2fe4b125
MA
1728 (tramp-smb-handle-rename-file): Use "rename", when source and
1729 target are on the same share.
87e6e64f
DA
1730 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1731 Use `tramp-smb-server-version'.
2fe4b125
MA
1732 (tramp-smb-wait-for-output): Remove prompt.
1733
1734 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1735 (tramp-methods, tramp-rsh-end-of-line):
1736 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1737 (tramp-save-ad-hoc-proxies): New defcustom.
1738 (tramp-completion-function-alist): Adapt docstring.
1739 (tramp-default-password-end-of-line): Remove defcustom.
1740 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1741 (tramp-user-regexp, tramp-file-name-regexp-unified)
1742 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1743 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1744 (tramp-remote-file-name-spec-regexp): New defconst.
1745 (tramp-file-name-structure): Extend structure for hops.
1746 (tramp-get-method-parameter): Move up.
1747 (tramp-file-name-p, tramp-dissect-file-name)
1748 (with-parsed-tramp-file-name): Handle hops.
1749 (tramp-file-name-hop): New defun.
1750 (tramp-make-tramp-file-name): New optional arg HOP.
1751 (tramp-message-show-progress-reporter-message): New defvar.
1752 (tramp-with-progress-reporter): Use it. We cannot use
1753 `tramp-message-show-message' here, because this suppresses also
1754 error buffers.
1755 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1756 `tramp-message-show-message' is nil.
1757 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1758 (tramp-cleanup): New defun.
1759 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1760 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1761 an error unchanged.
1762 (tramp-completion-handle-file-name-all-completions): Handle hops.
1763 Fix an error when called from ido.
1764 (tramp-completion-dissect-file-name): Use better local variable
1765 name. Add hop to the vector.
1766 (tramp-handle-insert-file-contents): Use progress-reporter for the
1767 whole scenario.
1768 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1769 to `t'.
1770 (tramp-check-for-regexp): Simplify search.
1771 (tramp-enter-password): Remove it. Move implementation ...
1772 (tramp-action-password): ... here.
1773 (tramp-mode-string-to-int, tramp-local-host-p)
1774 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1775 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1776 Set tramp-autoload cookie.
2fe4b125
MA
1777
1778 * net/trampver.el: Update release number.
1779
17802012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1781 Michael Albinus <michael.albinus@gmx.de>
1782
1783 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1784 (tramp-parse-group, tramp-parse-file)
1785 (tramp-parse-shostkeys-sknownhosts): New defuns.
1786 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1787 (tramp-parse-shosts-group, tramp-parse-sconfig)
1788 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1789 (tramp-parse-sknownhosts, tramp-parse-hosts)
1790 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1791 Use them.
1792 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1793 (tramp-parse-putty-group): Don't narrow.
1794 (tramp-parse-putty): Make a loop.
1795 (tramp-file-name-handler): Catch the `suppress' signal.
1796
72834e10
CY
17972012-06-11 Chong Yidong <cyd@gnu.org>
1798
1799 * image.el (imagemagick-register-types): Put the ImageMagick entry
1800 at the end of image-type-file-name-regexps.
1801
a4712e11
JB
18022012-06-11 Johan Bockgård <bojohan@gnu.org>
1803
1804 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1805 (pcase, pcase-let*, pcase-dolist): Use them.
1806
82ad98e3
SM
18072012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * emacs-lisp/pcase.el (pcase--let*): New function.
1810 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1811 (pcase--expand): Use macroexp-let².
1812
f80efb86
SM
18132012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1816 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1817 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1818 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1819 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1820 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1821
31ca4639 18222012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1823
31ca4639
CY
1824 * mail/rmail.el (rmail-yank-current-message): Leave point at
1825 correct position. (Bug#11660)
94f0aa34 1826
31ca4639 18272012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1828
31ca4639 1829 * allout-widgets.el: Fix code header.
9e1b8ec4 1830
31ca4639 18312012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1832
f80efb86
SM
1833 * cus-edit.el (customize-changed-options-previous-release):
1834 Bump to 24.1.
31ca4639 1835
642b6d30
AS
18362012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1837
1838 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1839
4f5d2ba1
CY
18402012-06-09 Chong Yidong <cyd@gnu.org>
1841
1842 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1843
e75852fd
MR
18442012-06-09 Martin Rudalics <rudalics@gmx.at>
1845
1846 * window.el (special-display-popup-frame): Don't use
1847 window--display-buffer (Bug#11651).
1848
1e48e282
EZ
18492012-06-09 Eli Zaretskii <eliz@gnu.org>
1850
8a26b487
EZ
1851 Fix parallel builds: make sure loaddefs.el is not being written
1852 while Lisp files are compiled.
1853 (compile): Don't depend on 'mh-autoloads'.
1854 (compile-CMD, compile-SH): Depend on 'autoloads'.
1855 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1856
1e48e282
EZ
1857 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1858
6175e34b
CY
18592012-06-09 Chong Yidong <cyd@gnu.org>
1860
1861 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1862 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1863 Doc fixes (Bug#11225).
1864
d9857e53
SM
18652012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1868 a function if there's a clear indication that it has a compiler-macro.
1869 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1870 (macro-declarations-alist): Add arglist to declaration functions.
1871 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1872 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1873 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1874 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1875 Also add autoload to find the compiler macro.
1876 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1877 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1878 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1879 (cl--compiler-macro-get): New functions, replacing calls to
1880 cl-define-compiler-macro.
1881 (cl-typep) [compiler-macro]: Use macroexp-let².
1882
f81298f8 18832012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1884
1885 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1886 string properly, fixes Bug#11473.
1887
4b56d0fe
CY
18882012-06-08 Chong Yidong <cyd@gnu.org>
1889
1890 * faces.el (set-face-attribute): Doc fix.
1891 (modify-face): Don't use :bold and :italic.
1892 (error, warning, success): Tweak definitions.
1893
1894 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1895 (custom-modified, custom-set, custom-changed, custom-themed)
1896 (custom-saved, custom-button, custom-button-mouse)
1897 (custom-button-pressed, custom-state, custom-comment-tag)
1898 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1899 (custom-group-subtitle): Use new-style face specs.
1900 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1901 (custom-set-face, custom-changed-face, custom-saved-face)
1902 (custom-button-face, custom-button-pressed-face)
1903 (custom-documentation-face, custom-state-face)
1904 (custom-comment-face, custom-comment-tag-face)
1905 (custom-variable-tag-face, custom-variable-button-face)
1906 (custom-face-tag-face, custom-group-tag-face-1)
1907 (custom-group-tag-face): Remove obsolete face alias.
1908
1909 * epa.el (epa-validity-high, epa-validity-medium)
1910 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1911 (epa-field-name, epa-field-body):
1912 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1913 (font-lock-keyword-face, font-lock-builtin-face)
1914 (font-lock-function-name-face, font-lock-variable-name-face)
1915 (font-lock-type-face, font-lock-constant-face):
1916 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1917 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1918 * speedbar.el (speedbar-button-face, speedbar-file-face)
1919 (speedbar-directory-face, speedbar-tag-face)
1920 (speedbar-selected-face, speedbar-highlight-face)
1921 (speedbar-separator-face):
1922 * whitespace.el (whitespace-newline, whitespace-space)
1923 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1924 (whitespace-line, whitespace-space-before-tab)
1925 (whitespace-space-after-tab, whitespace-indentation)
1926 (whitespace-empty):
1927 * emulation/cua-base.el (cua-global-mark):
1928 * eshell/em-prompt.el (eshell-prompt):
1929 * net/newst-plainview.el (newsticker-new-item-face)
1930 (newsticker-old-item-face, newsticker-immortal-item-face)
1931 (newsticker-obsolete-item-face, newsticker-date-face)
1932 (newsticker-statistics-face, newsticker-default-face):
1933 * net/newst-reader.el (newsticker-feed-face)
1934 (newsticker-extra-face, newsticker-enclosure-face):
1935 * net/newst-treeview.el (newsticker-treeview-face)
1936 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1937 (newsticker-treeview-immortal-face)
1938 (newsticker-treeview-obsolete-face)
1939 (newsticker-treeview-selection-face):
1940 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1941 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1942 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1943 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1944 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1945 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1946 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1947 (mpuz-text):
1948 * progmodes/vera-mode.el (vera-font-lock-number)
1949 (vera-font-lock-function, vera-font-lock-interface):
1950 * textmodes/table.el (table-cell): Use new-style face specs, and
1951 don't use the old :bold and :italic attributes.
1952
1953 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1954 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1955 (ebrowse-member-class, ebrowse-progress): Likewise.
1956 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1957 (ebrowse-file-name-face, ebrowse-default-face)
1958 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1959 (ebrowse-progress-face): Remove obsolete faces.
1960
1961 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1962 Inherit from error and warning faces respectively.
1963
1964 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1965 Likewise.
f80efb86
SM
1966 (flyspell-incorrect-face, flyspell-duplicate-face):
1967 Remove obsolete aliases.
4b56d0fe 1968
03310646
MA
19692012-06-08 Michael Albinus <michael.albinus@gmx.de>
1970
1971 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1972 Avoid infloop.
1973
513749ee
SM
19742012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * startup.el (argv, argi): Make lexically scoped.
1977 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1978 * emacs-lisp/cl-macs.el: Use lexical-binding.
1979 Rename cl-bind-* to cl--bind-*.
1980 * files.el: Don't require `cl' since it doesn't use it.
1981 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1982
595ef4ad
JB
19832012-06-08 Juanma Barranquero <lekktu@gmail.com>
1984
1985 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1986 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1987 instead of calling external sort utility.
1988 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1989
e9f66fcb
EZ
19902012-06-08 Eli Zaretskii <eliz@gnu.org>
1991
1992 * descr-text.el (describe-char): Mention how to insert the
1993 character, if the current input method doesn't support it.
1994 See the discussion in this thread for the details:
1995 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1996
3d10db47
SS
19972012-06-08 Sam Steingold <sds@gnu.org>
1998
1999 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2000 XF86Back to previous-buffer.
2001 (minibuffer-local-map): Bind them to next-history-element and
2002 previous-history-element respectively.
2003 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2004 help-go-back respectively.
2005 * info.el (Info-mode-map): Bind them to Info-history-forward and
2006 Info-history-back respectively.
2007 These are the keys next to Up on the ThinkPad keyboard.
2008
de7e2b36
SM
20092012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2012 * emacs-lisp/cl-macs.el: Provide itself.
2013 (cl--labels-convert-cache): New var.
2014 (cl--labels-convert): New function.
2015 (cl-flet, cl-labels): New implementation with new semantics, relying on
2016 lexical-binding.
2017 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2018 (cl-closure-vars, cl--function-convert-cache)
2019 (cl--function-convert): Move from cl-macs.el.
2020 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2021 rename by removing the "cl-" prefix.
2022 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2023
6fa6c4ae
SM
20242012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2027 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2028 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2029 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2030 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2031 (cl-hash-table-count): Add old compatibility aliases.
2032
2033 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2034 Use macroexpand-all-environment instead.
2035 (cl--old-macroexpand): New var.
2036 (cl--sm-macroexpand): New function.
2037 (cl-symbol-macrolet): Use it during macro expansion.
2038 (cl--function-convert-cache): New var.
2039 (cl--function-convert): New function, extracted from
2040 cl-macroexpand-all.
2041 (cl-lexical-let): Use it.
2042
2043 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2044 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2045 (cl-member): Remove old alias.
2046
2047 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2048 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2049 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2050 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2051 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2052 (cl-macroexpand-cmacs): Remove var.
2053 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2054 Use macroexpand-all instead.
2055
4dd1c416
SM
20562012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2059 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2060 (macroexp-copyable-p): New functions and macros.
2061 * emacs-lisp/edebug.el (edebug-unwrap):
2062 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2063 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2064 (pcase--let*): Remove.
2065 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2066 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2067 macroexp-const-p instead.
2068 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2069
2070 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2071 instead of "cl-" for internal definitions. Use macroexp-const-p.
2072 (cl-old-bc-file-form): Remove var.
2073 (cl-const-exprs-p): Remove fun.
2074 (cl-labels, cl-macrolet): Use backquote.
2075 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2076 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2077 (cl-define-setf-expander): Rename from cl-define-setf-method.
2078 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2079
2080 * international/mule-cmds.el: Don't require CL.
2081 (view-hello-file): Don't use `letf'.
2082
ed8bd4d7
SM
20832012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2084
7287f2f3
SM
2085 * tmm.el (tmm-prompt): Use string-prefix-p.
2086 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2087 (tmm-add-prompt): Use minibuffer-completion-help.
2088 (tmm-delete-map): Remove.
2089
ed8bd4d7
SM
2090 * subr.el (kbd): Make it its own function.
2091
7b4cdbf4
SM
20922012-06-07 Stefan Merten <smerten@oekonux.de>
2093
2094 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2095 Silence compiler warnings. Fix versions.
ed8bd4d7 2096 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2097 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2098 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2099 (rst-package-emacs-version-alist): Correct Emacs version to
2100 represent major merge with upstream.
ed8bd4d7 2101 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2102
2b48d721
GM
21032012-06-06 Glenn Morris <rgm@gnu.org>
2104
2105 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2106 Only print environment variables if set.
2107
fa779ab0
SM
21082012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2111 (macroexp--cons): Rename from maybe-cons.
2112 (macroexp--accumulate): Rename from macroexp-accumulate.
2113 (macroexp--all-forms): Rename from macroexpand-all-forms.
2114 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2115 (macroexp--expand-all): Rename from macroexpand-all-1.
2116
628299e0
SS
21172012-06-06 Sam Steingold <sds@gnu.org>
2118
2119 * calendar/calendar.el (calendar-in-read-only-buffer):
2120 Call `special-mode' to enable the standard read-only keybindings.
2121
b7bb5838
SM
21222012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2125 with "loading" messages (bug#11635).
2126
dfb308ba
MA
21272012-06-06 Michael Albinus <michael.albinus@gmx.de>
2128
2129 * files.el (enable-remote-dir-locals): New option.
2130 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2131
0372ee92
MA
2132 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2133 Ensure, that the temp directory is local.
2134
2135 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2136 `temporary-file-directory'.
2137
eed0bb91
MA
2138 * progmodes/python.el (python-send-region): Ensure, that the
2139 temporary file is created also in the remote case.
2140
7a58f64d
GM
21412012-06-06 Glenn Morris <rgm@gnu.org>
2142
f7dd4e98
GM
2143 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2144 (vc-rcs-update-changelog): Use it.
2145
090bd7cb 2146 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2147
7a58f64d
GM
2148 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2149 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2150 (vc-sccs-diff): Replace use of the external vcdiff script.
2151
daed4003
GM
21522012-06-05 Glenn Morris <rgm@gnu.org>
2153
2154 * ledit.el: Move to obsolete/.
2155
48c455c7
SS
21562012-06-05 Sam Steingold <sds@gnu.org>
2157
ed9265fc 2158 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2159 patch (Bug#11140).
2160
57a7d507
SM
21612012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2162
090bd7cb 2163 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2164
53aacf21
SM
2165 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2166 compiler-macro expansion.
2167
57a7d507
SM
2168 Add native compiler-macro support.
2169 * emacs-lisp/macroexp.el (macroexpand-all-1):
2170 Support compiler-macros directly. Properly follow aliases and apply
2171 the compiler macros more thoroughly.
2172 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2173 macroexpand now properly follows aliases.
2174 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2175 (cl-compiler-macroexpand): Use new prop.
2176 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2177
2178 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2179
51a5f9d8
MR
21802012-06-05 Martin Rudalics <rudalics@gmx.at>
2181
2182 * window.el (get-lru-window, get-mru-window, get-largest-window):
2183 New argument NOT-SELECTED to avoid picking the selected window.
2184 (window--display-buffer-1, window--display-buffer-2): Replace by
2185 new function window--display-buffer
2186 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2187 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2188 Use window--display-buffer.
51a5f9d8
MR
2189 (display-buffer-use-some-window): Remove temporary dedication
2190 hack by calling get-lru-window and get-largest-window with
2191 NOT-SELECTED argument non-nil. Call window--display-buffer.
2192
08f9f738
GM
21932012-06-05 Glenn Morris <rgm@gnu.org>
2194
2195 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2196 Replace external vcdiff script.
2197
e364a2b7
SM
21982012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2201
041df390
CY
22022012-06-04 Chong Yidong <cyd@gnu.org>
2203
e364a2b7
SM
2204 * image.el (imagemagick-types-inhibit): Revert last change.
2205 Add INFO and M.
47b36b94 2206 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2207
7c1898a7
SM
22082012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * emacs-lisp/cl-lib.el: Rename from cl.el.
2211 * emacs-lisp/cl.el: New compatibility file.
2212 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2213 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2214 to obey the "cl-" prefix.
2215 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2216
0c3461de
GM
22172012-06-03 Glenn Morris <rgm@gnu.org>
2218
1e266c88
GM
2219 * emacs-lisp/authors.el (authors-aliases): Addition.
2220
0c3461de
GM
2221 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2222 Fix :version.
2223
d8a52e15
SM
22242012-06-03 Stefan Merten <smerten@oekonux.de>
2225
2226 * textmodes/rst.el: Add comments.
2227 (rst-transition, rst-adornment): New faces.
2228 (rst-adornment-faces-alist): Make default safe to reevaluate.
2229 Fixes
2230 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2231 Improve customization tags.
2232 (rst-define-level-faces): Clarify meaning.
2233
5205d6f6
CY
22342012-06-03 Chong Yidong <cyd@gnu.org>
2235
2236 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2237 (compilation-mode-line-run, compilation-mode-line-exit):
2238 New faces.
5205d6f6
CY
2239 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2240
757ee657
JD
22412012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2242
7c1898a7
SM
2243 * progmodes/which-func.el (which-func-update-ediff-windows):
2244 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2245
5f2c76c6
CY
22462012-06-03 Chong Yidong <cyd@gnu.org>
2247
2248 * bindings.el: Remove explicit help text from format-mode-line.
2249 It is now supplied by mode-line-default-help-echo.
2250 (mode-line-front-space, mode-line-end-spaces)
2251 (mode-line-misc-info): New variables.
2252 (mode-line-modes, mode-line-position): Move the default value to
2253 the variable definition.
2254 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2255 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2256 (mode-line-modified-help-echo): New functions.
2257 (mode-line-mule-info, mode-line-modified): Use them.
2258 (mode-line-eol-desc, propertized-buffer-identification):
2259 Consistency fixes for help text.
cbe46e5f
CY
2260 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2261 set-buffer-file-coding-system (Bug#289).
2262 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2263
f2d6a3df
SM
22642012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * simple.el (execute-extended-command): Set real-this-command
2267 (bug#11506).
2268
37269466
CY
22692012-06-02 Chong Yidong <cyd@gnu.org>
2270
2271 Remove incorrect uses of "modeline" in comments, docstrings, and
2272 function/variable names (Bug#10329).
2273
2274 * cus-edit.el (mode-line):
2275 * dframe.el (dframe-mouse-hscroll):
2276 * emacs-lisp/re-builder.el:
2277 * emacs-lisp/easy-mmode.el (define-minor-mode):
2278 * frame.el (set-frame-name):
2279 * help.el (lookup-minor-mode-from-indicator):
2280 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2281 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2282 (c-toggle-hungry-state):
2283 * progmodes/antlr-mode.el (antlr-language-alist):
2284 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2285 * progmodes/vhdl-mode.el (vhdl-mode):
2286 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2287 * term/ns-win.el (ns-face-at-pos):
2288 * term/sup-mouse.el (sup-mouse-report):
2289 * textmodes/flyspell.el (flyspell-mode-line-string):
2290 * textmodes/ispell.el (ispell-highlight-face):
2291 * textmodes/reftex-global.el:
2292 * vc/vc-arch.el (vc-arch-mode-line-string):
2293 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2294 * vc/vc-git.el (vc-git-mode-line-string):
2295 * vc/vc-hooks.el (vc-display-status)
2296 (vc-default-mode-line-string):
2297 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2298
2299 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2300
2301 * dired.el (dired-sort-set-mode-line): Rename from
2302 dired-sort-set-modeline. All callers changed.
2303
2304 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2305 eshell-status-in-modeline.
2306
2307 * foldout.el (foldout-mode-line-string): Rename from
2308 foldout-modeline-string. All callers changed.
2309 (foldout-update-mode-line): Rename from foldout-update-modeline.
2310
2311 * subr.el (redraw-modeline): Make into obsolete alias.
2312
2313 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2314 timeclock-modeline-display. Make old name an alias.
2315 (timeclock-update-mode-line): Likewise. All callers changed.
2316 (timeclock-mode-line-display): No need to check before using
2317 add-hook.
2318 (timeclock-relative, timeclock-day-over-hook)
2319 (timeclock-use-elapsed, timeclock-mode-string)
2320 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2321
2322 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2323 crisp-mode-modeline-string.
2324
2325 * play/solitaire.el (solitaire-build-mode-line): Rename from
2326 solitaire-build-modeline. All callers changed.
2327
2328 * play/zone.el (zone-hiding-mode-line): Rename from
2329 zone-hiding-modeline. All callers changed.
2330 (zone): Remove unusued `modeline-hidden-level' property.
2331
2332 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2333 xscheme-modeline-initialize. All callers changed.
2334
2335 * strokes.el (strokes-lighter): Rename from
2336 strokes-modeline-string.
2337
2338 * textmodes/sgml-mode.el (html-face-tag-alist)
2339 (html-tag-face-alist): Use mode-line face instead of obsolete
2340 alias modeline.
2341
42152ee4
SM
23422012-06-02 Stefan Merten <smerten@oekonux.de>
2343
2344 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2345 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2346
95f520b5
CY
23472012-06-02 Chong Yidong <cyd@gnu.org>
2348
2349 * image.el (imagemagick-enabled-types): Rename from
2350 imagemagick-types-enable. Add many more types.
2351 (imagemagick-types-inhibit): Change default to nil.
2352 (imagemagick-filter-types): Caller changed.
2353
4a5f187a
SM
23542012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2355
03fef3e6
SM
2356 * emacs-lisp/cl-macs.el: Use backquotes.
2357 (cl-transform-function-property): Use eval-and-compile rather than
2358 abusing `require'.
2359 (defstruct): Use declare-function instead of with-no-warnings.
2360
4a5f187a
SM
2361 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2362 (byte-compile-output-docform): Re-add the print-circle bindings.
2363 (byte-compile-fix-header): Use #$ just because it's shorter.
2364 (byte-compile-output-file-form): Remove defun/defmacro.
2365
bd56924f
MR
23662012-06-01 Martin Rudalics <rudalics@gmx.at>
2367
2368 * simple.el (choose-completion): Remove now obsolete binding for
2369 owindow.
2370
046e38ce
MA
23712012-06-01 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2374 in order to avoid "Stack overflow in regexp matcher".
2375
32d72c2f
GM
23762012-05-31 Glenn Morris <rgm@gnu.org>
2377
2378 * image.el: For clarity, call imagemagick-register-types at
2379 top-level, rather than relying on a custom :initialize.
2380 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2381 (imagemagick-filter-types): New function. (Bug#7406)
2382 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2383 If disabling support, remove elements altogether rather
2384 than using an impossible regexp.
2385 (imagemagick-types-inhibit): Give it the default init function.
2386
dd41169b
SM
23872012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2388
4a5f187a
SM
2389 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2390 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2391
efc00ab1 23922012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2393
2394 * desktop.el (desktop-read): Clear previous and next buffers for
2395 all windows and bury *Messages* buffer (bug#11556).
2396
500fcedc
SM
23972012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 Add `declare' for `defun'. Align `defmacro's with it.
2400 * emacs-lisp/easy-mmode.el (define-minor-mode)
2401 (define-globalized-minor-mode): Don't autoload the var definitions.
2402 * emacs-lisp/byte-run.el: Use lexical-binding.
2403 (defun-declarations-alist, macro-declarations-alist): New vars.
2404 (defmacro, defun): Use them.
2405 (make-obsolete, define-obsolete-function-alias)
2406 (make-obsolete-variable, define-obsolete-variable-alias):
2407 Use `declare'.
2408 (macro-declaration-function): Mark obsolete.
2409 * emacs-lisp/autoload.el: Use lexical-binding.
2410 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2411
6e8a1786
AM
24122012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2413
2414 * textmodes/ispell.el (ispell-with-no-warnings):
2415 Define as a macro.
500fcedc
SM
2416 (ispell-kill-ispell, ispell-change-dictionary):
2417 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2418 `interactive-p'.
2419
61b108cc
SM
24202012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2421
2422 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2423 (macro-declaration-function): Move var from C code.
2424 (macro-declaration-function): Define function with defalias.
2425 * emacs-lisp/macroexp.el (macroexpand-all-1):
2426 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2427 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2428 defun/defmacro any more.
2429 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2430 Provide fallback for unknown arglist.
2431 (byte-compile-arglist-warn): Change calling convention.
2432 (byte-compile-output-file-form): Move print-vars binding.
2433 (byte-compile-output-docform): Simplify accordingly.
2434 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2435 (byte-compile-defmacro-declaration): Remove.
2436 (byte-compile-file-form-defmumble): Generalize to defalias.
2437 (byte-compile-output-as-comment): Return byte-positions.
2438 Simplify callers accordingly.
2439 (byte-compile-lambda): Use `assert'.
2440 (byte-compile-defun, byte-compile-defmacro): Remove.
2441 (byte-compile-file-form-defalias):
2442 Use byte-compile-file-form-defmumble.
2443 (byte-compile-defalias-warn): Remove.
2444
6d3f7c2f
SM
24452012-05-29 Stefan Merten <smerten@oekonux.de>
2446
2447 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2448 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2449
2450 (rst-mode-abbrev-table): Merge definition.
2451 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2452 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2453
6dbaa1c7
UJ
24542012-05-29 Ulf Jasper <ulf.jasper@web.de>
2455
2456 * calendar/icalendar.el
2457 (icalendar-export-region): Export UID properly.
2458
d209e2fb 24592012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2460 * calendar/icalendar.el (icalendar-import-format):
2461 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2462 (icalendar-import-format-uid): New.
2463 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2464 Export UID.
2465
6876a58d
SM
24662012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2467
2468 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2469 different alternative patterns.
2470 (pcase-codegen): Be more careful to preserve identity.
2471 (pcase--u1): Don't forget to mark vars as used.
2472
2473 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2474 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2475 (byte-compile-from-buffer): ...rather than here.
2476
2477 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2478 functions from byte-compile-function-environment.
2479
46b7967e
TN
24802012-05-29 Troels Nielsen <bn.troels@gmail.com>
2481
2482 * window.el (window-deletable-p): Avoid deleting the root window
2483 of a frame with an active minibuffer.
2484
69d565e2
MR
24852012-05-29 Martin Rudalics <rudalics@gmx.at>
2486
2487 * simple.el (choose-completion): Use quit-window (Bug#11567).
2488
a149fa51
CY
24892012-05-29 Chong Yidong <cyd@gnu.org>
2490
2491 * whitespace.el (whitespace-cleanup): Fix usage of
2492 whitespace-empty-at-bob-regexp (Bug#11492).
2493
2b311310
AH
24942012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2495
2496 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2497 revert (Bug#11488).
2498
b9cb2387
JL
24992012-05-29 Juri Linkov <juri@jurta.org>
2500
2501 * isearch.el (isearch-mode-map): Bind `M-s _' to
2502 `isearch-toggle-symbol'. Bind `M-s c' to
2503 `isearch-toggle-case-fold'.
2504 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2505 (isearch-forward): Add `M-s _' to the docstring.
2506 (isearch-forward-symbol, isearch-toggle-case-fold)
2507 (isearch-symbol-regexp): New functions. (Bug#11381)
2508
d5e61c1c
JL
25092012-05-29 Juri Linkov <juri@jurta.org>
2510
2511 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2512 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2513 a function, call it to get the regexp.
2514 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2515 property `isearch-message-prefix' instead of the string "word ".
2516 (isearch-search-fun-default): For the case of `isearch-word',
2517 return a lambda that calls re-search-forward/re-search-backward
2518 with a regexp returned by `word-search-regexp' or by the function
2519 in `isearch-word'.
2520
8cbd80f7
JL
25212012-05-29 Juri Linkov <juri@jurta.org>
2522
2523 * isearch.el (isearch-search-fun-default): New function.
2524 (isearch-search-fun): Move default part to the new function
2525 `isearch-search-fun-default'.
2526 (isearch-search-fun-function): Set the default value to
2527 `isearch-search-fun-default'. (Bug#11381)
2528
2529 * comint.el (comint-history-isearch-end):
2530 Use `isearch-search-fun-default'.
2531 (comint-history-isearch-search): Use `isearch-search-fun-default'
2532 and remove spacial case for `isearch-word'.
2533 (comint-history-isearch-wrap): Remove spacial case for
2534 `isearch-word'.
2535
2536 * hexl.el (hexl-isearch-search-function):
2537 Use `isearch-search-fun-default'.
2538
2539 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2540 Use `word-search-regexp' for `isearch-word'.
2541
2542 * misearch.el (multi-isearch-search-fun):
2543 Use `isearch-search-fun-default'.
2544
2545 * simple.el (minibuffer-history-isearch-search):
2546 Use `isearch-search-fun-default' and remove spacial case for
2547 `isearch-word'.
2548 (minibuffer-history-isearch-wrap): Remove spacial case for
2549 `isearch-word'.
2550
2551 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2552 Remove spacial case for `isearch-word'.
2553 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2554
85c8c5b6
AM
25552012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2556
2557 Decrease XEmacs incompatibilities.
2558 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2559 Use `string-match'.
2560 (flyspell-delete-region-overlays): Use alternative definition for
2561 XEmacs.
2562 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2563 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2564 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2565 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2566 `define-obsolete-face-alias' under XEmacs, but old method.
2567
2568 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2569 `with-no-warnings' definition or Emacs alias.
2570 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2571 (ispell-word): Do not use `region-p' if XEmacs.
2572
8cab9efc
AM
25732012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2574
2575 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2576 Check for `ispell-dictionary-base-alist' instead of full
2577 `ispell-dictionary-alist'.
2578 (ispell-init-process): Show spellchecker when starting new Ispell
2579 process.
2580
fda91268
RZ
25812012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2584 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2585
694ea8e3
JB
25862012-05-27 Juanma Barranquero <lekktu@gmail.com>
2587
2588 * version.el (motif-version-string, gtk-version-string)
2589 (ns-version-string): Declare.
2590
e4d4f539
JL
25912012-05-27 Juri Linkov <juri@jurta.org>
2592
2593 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2594 after the `eval-defun-1' specialcaseing
2595 like in `edebug-eval-defun' (bug#10181).
2596
2597 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2598 like in `eval-defun-1'.
2599
33017faf 26002012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2601
fda91268
RZ
2602 * mail/sendmail.el (mail-yank-region):
2603 Recognize rmail-yank-current-message in addition to insert-buffer.
2604 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2605 a *mail* buffer created through rmail-start-mail with sendmail as
2606 mail-user-agent.
2607
33017faf
GM
26082012-05-27 Chong Yidong <cyd@gnu.org>
2609
2610 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2611 Default to 256 (Bug#11267).
2612
2613 * help.el (describe-mode): Doc fix.
2614
04188bb9
GM
26152012-05-26 Glenn Morris <rgm@gnu.org>
2616
38264cc9
GM
2617 * w32-fns.el (w32-init-info): Remove.
2618 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2619
eb7afdad
GM
2620 * info.el (info-initialize): For self-contained NS builds, put the
2621 included info/ directory at the front. (Bug#2791)
2622
04188bb9
GM
2623 * paths.el (Info-default-directory-list): Make it a defcustom,
2624 mainly so that we can use custom-initialize-delay.
2625
a179e3f7
SM
26262012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2627
43416392
SM
2628 * subr.el (buffer-has-markers-at): Mark obsolete.
2629
a179e3f7 2630 * subr.el (lambda): Use declare.
43416392 2631
a179e3f7
SM
2632 * emacs-lisp/lisp-mode.el (lambda):
2633 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2634
34a008d9
AH
26352012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2636
2637 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2638
0a3b289f
GM
26392012-05-26 Glenn Morris <rgm@gnu.org>
2640
2641 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2642
758c81e8
GM
26432012-05-25 Glenn Morris <rgm@gnu.org>
2644
f9f334f0
GM
2645 * paths.el: Remove no-byte-compile.
2646 * loadup.el: No need to load paths.el uncompiled.
2647
87eb79c2
GM
2648 * image.el (imagemagick-types-inhibit): Doc fix.
2649
758c81e8
GM
2650 * version.el: Remove no-byte-compile and associated formatting.
2651 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2652 is ancient code from when there was an "inc-vers.el".
2653
e7e85dc0
SM
26542012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * progmodes/gdb-mi.el: Minor style changes.
2657 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2658 Turn into minor modes.
2659 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2660 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2661 (gdb-shell): Remove unneeded let-binding.
2662 (gdb-get-many-fields): Eliminate O(n²) behavior.
2663
f31237a4
EZ
26642012-05-25 Eli Zaretskii <eliz@gnu.org>
2665
2666 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2667 platforms that don't link in fontset.c.
2668
bc1b21bb
JL
26692012-05-25 Juri Linkov <juri@jurta.org>
2670
2671 Use the same diff color scheme as in modern VCSes (bug#10181).
2672
2673 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2674 to avoid confusion with `diff-added' that now uses green colors.
2675 (diff-removed): Use shades of red.
2676 (diff-added): Use shades of green.
2677 (diff-changed): Leave just the yellow color.
2678 (diff-use-changed-face): New variable.
2679 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2680 how to highlight context diff changes.
2681 (diff-refine-change): Use shades of yellow.
2682 (diff-refine-removed): New face that uses shades of red.
2683 (diff-refine-added): New face that uses shades of green.
2684 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2685 `diff-refine-removed' in the call to `smerge-refine-subst'
2686 depending on the value of `diff-use-changed-face'.
2687
2688 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2689 (smerge-other): Use shades of green.
2690 (smerge-base): Use shades of yellow.
2691 (smerge-refined-change): Empty face.
2692 (smerge-refined-removed): New face that uses shades of red.
2693 (smerge-refined-added): New face that uses shades of green.
2694 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2695 args `props-r' and `props-a', and use them. Doc fix.
2696 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2697 on its value use different faces `smerge-refined-change',
2698 `smerge-refined-removed', `smerge-refined-added' in the call to
2699 `smerge-refine-subst'.
2700
2701 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2702 Add face condition `min-colors 88' with shades of red.
2703 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2704 `min-colors 88' with shades of green.
2705 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2706 `min-colors 88' with shades of yellow.
2707
6df9112c
GM
27082012-05-24 Glenn Morris <rgm@gnu.org>
2709
ead5edc0
GM
2710 * paths.el (prune-directory-list, remote-shell-program): Move to...
2711 * files.el (prune-directory-list, remote-shell-program): ...here.
2712 For the latter, delay initialization, prefer ssh, just search PATH.
2713
f18b81e6
GM
2714 * paths.el (term-file-prefix): Move to faces.el (the only user).
2715 * faces.el (term-file-prefix): Move here, make it a defcustom.
2716
ee2f89a6
GM
2717 * paths.el (news-directory, news-path, news-inews-program):
2718 Move to gnus/nnspool.el.
61a583ca 2719
f8815e4c
GM
2720 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2721
c8f3b42c
GM
2722 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2723 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2724 Make the latter a defcustom, with a delayed initialization.
2725
6df9112c
GM
2726 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2727 These were deleted from Gnus itself late 2010.
2728
5dadff36
JB
27292012-05-22 Juanma Barranquero <lekktu@gmail.com>
2730
9e1701c6
JB
2731 * progmodes/which-func.el (which-func-ff-hook):
2732 Check against user-error, not error.
2733
bd7239f5 2734 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2735 cl-specs.el, which no longer exists.
2736
3290526d
GM
27372012-05-22 Glenn Morris <rgm@gnu.org>
2738
2739 * info.el (info-emacs-bug): New command.
2740 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2741 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2742
ff0c3cfb
GM
27432012-05-21 Glenn Morris <rgm@gnu.org>
2744
2745 * makefile.w32-in (update-subdirs-SH):
2746 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2747
5814f126
SM
27482012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2749
a52c0aa0
SM
2750 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2751
5814f126
SM
2752 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2753 Simplify Maven regexp, and make sure the file can't start with a space
2754 (bug#11517).
2755
b847032c
GM
27562012-05-21 Glenn Morris <rgm@gnu.org>
2757
2758 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2759 Scrap superfluous subshells.
2760
3858bfe7
SM
27612012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2764 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2765
d14b0029
JB
27662012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2767
2768 * calc/calc.el (calc-ensure-consistent-units): New variable.
2769
a52c0aa0
SM
2770 * calc/calc-units.el (math-consistent-units-p)
2771 (math-check-unit-consistency): New functions.
2772 (calc-quick-units, calc-convert-units):
2773 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2774 is non-nil.
d14b0029
JB
2775 (calc-extract-units): Fix typo.
2776
60c4db3a
SM
27772012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2778
77f3b62e
SM
2779 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2780
60c4db3a
SM
2781 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2782 (flyspell-default-deplacement-commands): Don't spell check after
2783 repeated window/frame switches (e.g. triggered by mouse-movement).
2784 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2785 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2786 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2787 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2788 Remove unused vars.
2789 (flyspell-get-casechars, flyspell-get-not-casechars):
2790 Simplify; Don't bother removing a ] just to add it back.
2791 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2792
d209e2fb 27932012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2794
2795 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2796 New functions.
bd7239f5 2797 (math-function-table): Add support for more C functions.
b1a10716 2798
3f1b25b5
AM
27992012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2800
090bd7cb
JB
2801 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2802 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2803 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2804
b581bb5c
SM
28052012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2808 their respective macro declarations.
2809 * skeleton.el (define-skeleton):
2810 * progmodes/compile.el (define-compilation-mode):
2811 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2812 (define-ibuffer-filter):
2813 * emacs-lisp/generic.el (define-generic-mode):
2814 * emacs-lisp/easy-mmode.el (define-minor-mode)
2815 (define-globalized-minor-mode):
2816 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2817 * emacs-lisp/byte-run.el (defsubst):
2818 * custom.el (deftheme): Add doc-string metadata.
2819
70b8ef8f
SM
28202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2823
b1198e17
SM
28242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2825
9abdc45d
SM
2826 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2827
b1198e17
SM
2828 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2829 * emacs-lisp/cl-macs.el: Idem.
2830 * emacs-lisp/cl-specs.el: Remove.
2831
4735906a
SM
28322012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 Minor renaming of internal CL functions and variables.
2835 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2836 (cl--position): Rename from cl-position.
2837 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2838 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2839 (cl--random-state): Rename from *random-state*.
2840
ac348012
SM
28412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2844 parens around the arg list (bug#11499).
2845
a0a79cde
JL
28462012-05-17 Juri Linkov <juri@jurta.org>
2847
2848 * isearch.el (word-search-regexp, word-search-backward)
2849 (word-search-forward, word-search-backward-lax)
2850 (word-search-forward-lax): Move functions from search.c
2851 (bug#10145, bug#11381).
2852
65034a51
AM
28532012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2854
090bd7cb
JB
2855 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2856 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2857 Delay for otherchars as for normal word components.
65034a51 2858
1a72a195
SM
28592012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * minibuffer.el (completion--sifn-requote): Fix last change.
2862 (minibuffer-local-must-match-filename-map):
2863 Move define-obsolete-variable-alias before its var.
2864
fdb058c2
SM
28652012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2866
c41045e6
SM
2867 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2868
036dfb8b
SM
2869 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2870 behavior.
2871 (completion--string-equal-p): New function.
2872 (completion--twq-all): Use it to get better assertion failure data.
2873
2473256d
SM
2874 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2875 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2876 (shell--requote-argument): New functions.
2877 (shell-completion-vars): Use them.
2878 (shell--parse-pcomplete-arguments): Rename from
2879 shell-parse-pcomplete-arguments.
2880 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2881 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2882 Obey comint-file-name-quote-list.
2883
fdb058c2
SM
2884 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2885 (smie-indent-keyword): Use it.
2886
51fa99f1
SM
28872012-05-14 Stefan Merten <smerten@oekonux.de>
2888
2889 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2890
e18afed7 28912012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2892
2893 * net/rlogin.el (rlogin-mode-map): Fix last change.
2894
e18afed7 28952012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2896
2897 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2898 the following \r\n using a single `process-send-string', since the
2899 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2900 with two `process-send-string's (Bug#11444).
8633b1f4 2901
e18afed7 29022012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2903
fdb058c2
SM
2904 * shell.el (shell-parse-pcomplete-arguments):
2905 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2906
2d21d7f6
WJ
29072012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2908
e18afed7 2909 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2910 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2911 (image-transform-width, image-transform-fit-width): New functions.
2912 (image-transform-properties): Use them.
2913 (image-transform-check-size): New function.
2914 (image-toggle-display-image): Use it (for testing).
2915 (image-transform-set-rotation): Reduce angle mod 360.
2916 Delete obsolete comment.
2917
7102e6d0
WJ
29182012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2919
2920 * image-mode.el: Fix scaling (bug#11399).
2921 (image-transform-resize): Doc fix.
2922 (image-transform-properties): Default scale is 1 and height should
2923 be an integer.
2924
06bc5e6e
SM
29252012-05-13 Johan Bockgård <bojohan@gnu.org>
2926
2927 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2928 than hard-coding `car', to fix misbehavior when moving forward.
2929
0ae03b6a
CY
29302012-05-13 Chong Yidong <cyd@gnu.org>
2931
2932 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2933 (tabulated-list-entries, tabulated-list-padding)
2934 (tabulated-list-sort-key): Make permanent-local.
2935
2936 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2937 (electric-buffer-list): Put electric buffer menu
2938 command descriptions in this docstring, instead of the docstring
2939 of electric-buffer-menu-mode. Code cleanups.
2940 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2941 Electric-buffer-menu-mode.
2942 (electric-buffer-update-highlight): Minor code cleanup.
2943
205a7391
MA
29442012-05-13 Michael Albinus <michael.albinus@gmx.de>
2945
2946 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2947 (Bug#11447)
2948
e5bd0a28
SM
29492012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 Move define-obsolete-variable-alias before the var's definition.
2952 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2953 * tooltip.el (tooltip-hook):
2954 * textmodes/reftex-toc.el (reftex-toc-map):
2955 * textmodes/reftex-sel.el (reftex-select-label-map)
2956 (reftex-select-bib-map):
2957 * textmodes/reftex-index.el (reftex-index-map)
2958 (reftex-index-phrases-map):
2959 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2960 * progmodes/meta-mode.el (meta-mode-map):
2961 * novice.el (disabled-command-hook):
2962 * loadhist.el (unload-hook-features-list):
2963 * frame.el (blink-cursor):
2964 * files.el (find-file-not-found-hooks, write-file-hooks)
2965 (write-contents-hooks):
2966 * emulation/tpu-edt.el (GOLD-map):
2967 * emacs-lock.el (emacs-lock-from-exiting):
2968 * emacs-lisp/generic.el (generic-font-lock-defaults):
2969 * emacs-lisp/chart.el (chart-map):
2970 * dos-fns.el (register-name-alist):
2971 * dired-x.el (dired-omit-files-p):
2972 * desktop.el (desktop-enable):
2973 * cus-edit.el (custom-mode-hook):
2974 * buff-menu.el (buffer-menu-mode-hook):
2975 * bookmark.el (bookmark-read-annotation-text-func)
2976 (bookmark-exit-hooks):
2977 * allout.el (allout-mode-deactivate-hook)
2978 (allout-exposure-change-hook, allout-structure-added-hook)
2979 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2980 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2981 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2982 comes before the corresponding variable's definition.
2983
ac59c2f6
CY
29842012-05-12 Chong Yidong <cyd@gnu.org>
2985
2986 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2987 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2988 (Buffer-menu-mode-map): Bind it.
2989 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2990
dee6c9a3
SM
29912012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2171cea5
SM
2993 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2994 (prolog-upper-case-string, prolog-lower-case-string)
2995 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2996 (prolog-use-smie, prolog-smie-grammar): New vars.
2997 (prolog-smie-forward-token, prolog-smie-backward-token)
2998 (prolog-smie-rules): New funs.
2999 (prolog-comment-indent): Remove.
3000 (prolog-mode-variables): Use default comment indentation instead.
3001 Setup SMIE.
3002 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3003 (prolog-mode): Don't call them any more.
3004 (prolog-electric-colon, prolog-electric-dash)
3005 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3006
aa0382bd
SM
3007 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3008
dbacb4bd
SM
3009 * minibuffer.el (completion--twq-all): Again, allow case differences.
3010
13bdd94c
SM
3011 * term.el: Move keymap initialization code to be more idiomatic.
3012 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3013 (term-terminal-menu): Move initialization into declaration.
3014 (term-escape-char): Let the user set it in her .emacs.
3015
ff46c759
SM
3016 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3017 Provide SMIE-based indentation (not enabled by default yet).
3018 (sh-mode-map): Don't bind electric keys.
3019 Use electric-pair-mode instead of skeleton-pair.
3020 (sh-assignment-regexp): Fit within 80 columns.
3021 (sh-indent-supported): Specify actual shell name instead of boolean.
3022 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3023 (sh-maybe-here-document): Use it. Make obsolete.
3024 (sh-electric-here-document-mode) New minor mode.
3025 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3026 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3027 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3028 (sh-smie-rc-grammar, sh-use-smie): New vars.
3029 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3030 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3031 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3032 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3033 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3034 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3035 (sh-set-shell): Use smie-setup if requested.
3036
dee6c9a3
SM
3037 * term.el (term-set-escape-char): Properly set term-escape-char.
3038 See http://stackoverflow.com/questions/10524656.
3039
9f9aa044
CY
30402012-05-10 Chong Yidong <cyd@gnu.org>
3041
3042 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3043 Use url-generic-parse-url, and handle host names and Windows
3044 filenames properly.
3045 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3046 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3047 URL schemes to work on.
3048 (ffap--toggle-read-only): New function.
3049 (ffap-read-only, ffap-read-only-other-window)
3050 (ffap-read-only-other-frame): Use it.
3051 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3052 necessary for ffap-url-unwrap-remote.
3053
836d29b3
DA
30542012-05-10 Dave Abrahams <dave@boostpro.com>
3055
3056 * cus-start.el (create-lockfiles): Add it.
3057
00fd78ed
CY
30582012-05-09 Chong Yidong <cyd@gnu.org>
3059
3060 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3061 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3062
666b903b 30632012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3064
3065 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3066
666b903b 30672012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3068
3069 * ansi-color.el (ansi-color-process-output): Check for validity of
3070 comint-last-output-start before using it. This avoids a bad
3071 interaction with gdb-mi's input/output buffer.
3072
666b903b 30732012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3074
3075 * files.el (dir-locals-read-from-file):
3076 Mention dir-locals in any error message.
3077
666b903b 30782012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3079
3080 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3081 package (Bug#11410).
3082
f677562b
CY
3083 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3084 variables into description.
3085
666b903b 30862012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3087
3088 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3089 shell-delimiter-argument-list (bug#11348).
3090 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3091
b499d8d0
JB
30922012-05-09 Juanma Barranquero <lekktu@gmail.com>
3093
8f6b6da8
JB
3094 * textmodes/rst.el: Silence byte-compiler warnings.
3095 (rst-re-alist, rst-reset-section-caches): Move around.
3096 (rst-re): Use `characterp', not `char-valid-p'.
3097 (font-lock-beg, font-lock-end): Declare.
3098
4824146a
JB
3099 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3100 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3101
b499d8d0
JB
3102 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3103
ad89bb83
GM
31042012-05-08 Glenn Morris <rgm@gnu.org>
3105
3106 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3107
8bba5a75
SM
31082012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3109
49ed9c8e
SM
3110 * vc/log-edit.el: Add GNU coding standards highlighting.
3111 (log-edit-font-lock-gnu-style)
3112 (log-edit-font-lock-gnu-keywords): New vars.
3113 (log-edit-font-lock-keywords): New fun.
3114 (log-edit-mode): Don't fold case in font-lock.
3115 (log-edit-font-lock-keywords): Do not assume case-folding.
3116
07d00b56
SM
3117 * imenu.el: Misc cleanup. Make docstrings out of comments.
3118 Use lexical-binding.
3119 (imenu--index-alist, imenu--last-menubar-index-alist)
3120 (imenu-menubar-modified-tick): Use defvar-local.
3121 (imenu--split-menu): Remove unused var.
3122 (imenu--cleanup-seen): Declare as global.
3123 (imenu--cleanup): Use dolist.
3124
8bba5a75
SM
3125 * subr.el (defvar-local): Add debug spec and doc-string position.
3126
5075bdb5
GM
31272012-05-08 Glenn Morris <rgm@gnu.org>
3128
090bd7cb 3129 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3130 * language/english.el, language/georgian.el, language/greek.el:
3131 * language/japanese.el, language/khmer.el, language/korean.el:
3132 * language/lao.el, language/misc-lang.el, language/romanian.el:
3133 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3134 * language/thai.el, language/utf-8-lang.el:
3135 Remove no-byte-compile setting.
3136
5075bdb5
GM
3137 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3138
06f679a7
AH
31392012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3140
3141 * progmodes/make-mode.el (makefile-browse):
3142 Remove unnecessary interactive. (Bug#11324)
3143
03794570
GM
31442012-05-07 Glenn Morris <rgm@gnu.org>
3145
af8630f4
GM
3146 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3147
03794570
GM
3148 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3149
f0809a9d
SM
31502012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3151
28be5ce7
SM
3152 * loadup.el: Preload newcomment.el.
3153 * newcomment.el: Move autoload-only code to toplevel.
3154
f0809a9d
SM
3155 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3156 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3157 Handle new :right-align column property.
3158 (tabulated-list-print-col): Idem, plus use `display' text-property to
3159 try and preserve alignment for variable pitch fonts.
3160
1241b724
CY
31612012-05-07 Chong Yidong <cyd@gnu.org>
3162
3163 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3164 (tabulated-list-use-header-line): New var.
3165 (tabulated-list-init-header): Use it.
3166 (tabulated-list-print-fake-header): New function.
3167 (tabulated-list-print): Use it.
3168 (tabulated-list-sort-button-map): Add non-header-line commands.
3169 (tabulated-list-init-header): Add column name property to basic
3170 labels as well.
3171 (tabulated-list-col-sort): Handle non-header-line button case.
3172 (tabulated-list--sort-by-column-name): Fix a corner case.
3173
f0809a9d
SM
3174 * buff-menu.el (list-buffers--refresh):
3175 Handle Buffer-menu-use-header-line.
1241b724 3176
e5f9458f
CY
31772012-05-06 Chong Yidong <cyd@gnu.org>
3178
3179 * buff-menu.el: Convert to Tabulated List mode.
3180 (Buffer-menu-buffer+size-width): Make obsolete.
3181 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3182 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3183 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3184 documentation into docstring of buffer-menu.
3185 (Buffer-menu-toggle-files-only): Add an informative message.
3186 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3187 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3188 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3189 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3190 (Buffer-menu-execute, Buffer-menu-select)
3191 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3192 (Buffer-menu-bury): Use Tabulated List machinery.
3193 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3194 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3195 Delete.
e5f9458f
CY
3196 (list-buffers--refresh): New function.
3197 (list-buffers-noselect): Use it.
3198 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3199 (Buffer-menu--pretty-file-name): New helper functions.
3200
3201 * loadup.el: Preload tabulated-list.
3202
3203 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3204 tabulated-list-sort-column.
3205 (tabulated-list-init-header): Add the initial aligning space even
3206 if tabulated-list-padding is zero.
3207
e129292c
CS
32082012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3209
3210 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3211 whose cdr is not a cons cell correctly (bug#11038).
3212
6632d361
CY
32132012-05-06 Chong Yidong <cyd@gnu.org>
3214
e129292c
CS
3215 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3216 Accept additional plist in column descriptors.
6632d361
CY
3217 (tabulated-list-init-header): Obey it.
3218 (tabulated-list-get-entry): New function.
3219 (tabulated-list-put-tag): Use it. Use string-width instead of
3220 length.
3221 (tabulated-list--column-number): New function.
3222 (tabulated-list-print): Use it.
e129292c
CS
3223 (tabulated-list-print-col): New function.
3224 Set `tabulated-list-column-name' property on each column's text.
6632d361 3225 (tabulated-list-print-entry): Use it.
e129292c
CS
3226 (tabulated-list-delete-entry, tabulated-list-set-col):
3227 New functions.
6632d361
CY
3228 (tabulated-list-sort-column): New command (Bug#11337).
3229
3cc99f68
CY
3230 * buff-menu.el (list-buffers): Move C-x C-b binding from
3231 buff-menu.el to bindings.el.
3232
3233 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3234 :advertised-binding feature.
3235
52b61776
TN
32362012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3237
3238 * progmodes/compile.el (compilation-internal-error-properties):
3239 Calculate start position correctly when end-col is set but
3240 end-line is not (Bug#11382).
3241
ebfe2597
WJ
32422012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3243
3244 * man.el (Man-unindent): Use text-property-default-nonsticky to
3245 prevent untabify from inheriting face properties (Bug#11408).
3246
6d3f7c2f
SM
32472012-05-05 Stefan Merten <smerten@oekonux.de>
3248
3249 * textmodes/rst.el: Major merge with upstream development up to
3250 Docutils SVN r7399 / rst.el V1.2.1.
3251
3252 Clarify maintainership and authors.
3253
3254 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3255 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3256 (rst-official-version, rst-official-cvs-rev, rst-version)
3257 (rst-package-emacs-version-alist): New functions and variables
3258 for version information.
3259
3260 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3261 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3262 (rst-mode-syntax-table, rst-mode): New and corrected functions
3263 and variables representing reStructuredText features.
3264
3265 (rst-re): New function for reStructuredText regexes. Use in
3266 many places.
3267
3268 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3269 (rst-mode-map): Rebind keys.
3270
3271 (rst-mode-lazy, rst-font-lock-keywords)
3272 (rst-font-lock-extend-region)
3273 (rst-font-lock-extend-region-internal)
3274 (rst-font-lock-extend-region-extend)
3275 (rst-font-lock-find-unindented-line-limit)
3276 (rst-font-lock-find-unindented-line-match)
3277 (rst-adornment-level, rst-font-lock-adornment-level)
3278 (rst-font-lock-adornment-match)
3279 (rst-font-lock-handle-adornment-pre-match-form)
3280 (rst-font-lock-handle-adornment-matcher): Major revision of
3281 font-locking. Integrate with other code. Use `jit-lock-mode'.
3282
3283 (rst-preferred-adornments, rst-adjust-hook)
3284 (rst-new-adornment-down, rst-preferred-bullets)
3285 (rst-preferred-bullets, rst-indent, rst-indent-width)
3286 (rst-indent-field, rst-indent-literal-normal)
3287 (rst-indent-literal-minimized, rst-indent-comment): Change,
3288 extend and improve customization.
3289
3290 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3291 (rst-normalize-cursor-position, rst-get-decoration)
3292 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3293 (rst-rstrip, rst-toc-insert-find-delete-contents)
3294 (rst-shift-fill-region, rst-compute-bullet-tabs)
3295 (rst-debug-print-tabs, rst-debug-mark-found)
3296 (rst-shift-region-guts, rst-shift-region-right)
3297 (rst-shift-region-left, rst-use-char-classes)
3298 (rst-font-lock-keywords-function)
3299 (rst-font-lock-indentation-point)
3300 (rst-font-lock-find-unindented-line-begin)
3301 (rst-font-lock-find-unindented-line-end)
3302 (rst-font-lock-find-unindented-line)
3303 (rst-font-lock-adornment-point, rst-font-lock-level)
3304 (rst-adornment-level-alist): Remove functions and variables.
3305
3306 (rst-compare-adornments, rst-get-adornment-match)
3307 (rst-suggest-new-adornment, rst-get-adornments-around)
3308 (rst-adornment-complete-p, rst-get-next-adornment)
3309 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3310 (rst-straighten-adornments): Standardize function names to
3311 use "adornment" instead of "decoration". Correct callers.
3312 Similar standardizing in many places.
3313
3314 (rst-update-section, rst-adjust, rst-promote-region)
3315 (rst-enumerate-region, rst-bullet-list-region)
3316 (rst-repeat-last-character): Correct use of `interactive'.
3317
3318 (rst-classify-adornment, rst-find-all-adornments)
3319 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3320 (rst-find-leftmost-column, rst-repeat-last-character):
3321 Refactor functions.
3322
3323 (rst-find-title-line, rst-reset-section-caches)
3324 (rst-get-adornments-around, rst-adjust-adornment-work)
3325 (rst-arabic-to-roman, rst-roman-to-arabic)
3326 (rst-insert-list-pos, rst-insert-list-new-item)
3327 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3328 New functions.
3329
3330 (rst-all-sections, rst-section-hierarchy)
3331 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3332 New variables.
3333
3334 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3335 configuration instead of only buffer. Change where necessary.
3336
3337 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3338 (rst-shift-region, rst-adaptive-fill): New functions for
3339 indentation and filling.
3340
3341 (rst-comment-line-break, rst-comment-indent)
3342 (rst-comment-insert-comment, rst-comment-region)
3343 (rst-uncomment-region): New functions for handling comments.
3344
3345 (rst-compile): Quote shell arguments.
3346
3347 (rst-compile-pdf-preview, rst-compile-slides-preview):
3348 Delete temporary files after use.
3349
a43f98b3
GM
33502012-05-05 Glenn Morris <rgm@gnu.org>
3351
48176e8b
GM
3352 * calendar/cal-html.el: Optionally include holidays in the output.
3353 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3354 (cal-html-holidays): New option.
3355 (cal-html-css-default): Add holiday entry.
3356 (holiday-in-range): Autoload it.
3357 (cal-html-htmlify-entry): Add optional class argument.
3358 (cal-html-htmlify-list): Add optional holidays argument.
3359 (cal-html-insert-agenda-days): Include holidays in the output.
3360 (cal-html-one-month): Maybe include holidays.
3361
a43f98b3
GM
3362 * calendar/holidays.el (holiday-in-range):
3363 Move here from cal-tex-list-holidays.
3364 * calendar/cal-tex.el (cal-tex-list-holidays):
3365 Make it an obsolete alias for holiday-in-range. Update all callers.
3366
fef9d149 33672012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3368
3369 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3370 Nextstep.
3371
248da2f4
RW
33722012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3373
3374 * files.el (file-auto-mode-skip): New var.
3375 (set-auto-mode-1): Use it.
3376
f95e9344
SM
33772012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3378
df96ab1e
SM
3379 * repeat.el: Use lexical-binding.
3380 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3381 (repeat-undo-count): Remove.
3382 (repeat):
3383 * progmodes/octave-mod.el (octave-abbrev-start):
3384 * progmodes/f90.el (f90-abbrev-start):
3385 * face-remap.el (text-scale-adjust):
3386 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3387
5342bb06
SM
3388 * emacs-lisp/pcase.el (pcase--let*): New function.
3389 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3390 a bit more.
3391 (pcase--split-pred): Be more clever about ruling out overlap between
3392 a predicate and some constant pattern.
3393 (pcase--q1): Use `null' instead of (eq foo nil).
3394
f95e9344
SM
3395 * subr.el (setq-local, defvar-local): New macros.
3396 (kbd): Redefine as an alias.
3397 (with-selected-window): Leave unrelated frames alone.
3398 (set-temporary-overlay-map): New function.
3399
71873e2b
SM
34002012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * subr.el (user-error): New function.
3403 * window.el (switch-to-buffer):
3404 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3405 (smerge-match-conflict):
3406 * simple.el (previous-matching-history-element)
3407 (next-matching-history-element, goto-history-element, undo-more)
3408 (undo-start):
3409 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3410 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3411 (next-file, tags-loop-scan, list-tags, complete-tag):
3412 * progmodes/compile.el (compilation-loop):
3413 * mouse.el (mouse-minibuffer-check):
3414 * man.el (Man-bgproc-sentinel, Man-goto-page):
3415 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3416 (Info-history-forward, Info-follow-reference, Info-menu)
3417 (Info-extract-menu-item, Info-extract-menu-counting)
3418 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3419 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3420 (Info-next-reference, Info-prev-reference, Info-index)
3421 (Info-index-next, Info-follow-nearest-node)
3422 (Info-copy-current-node-name):
3423 * imenu.el (imenu--make-index-alist)
3424 (imenu-default-create-index-function, imenu-add-to-menubar):
3425 * files.el (basic-save-buffer, recover-file):
3426 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3427 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3428 (checkdoc-message-text, checkdoc-defun):
3429 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3430 * cus-edit.el (customize-changed-options, customize-rogue)
3431 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3432 (custom-variable-mark-to-reset-standard)
3433 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3434 (custom-file):
3435 * completion.el (check-completion-length):
3436 * comint.el (comint-search-arg)
3437 (comint-previous-matching-input-string-position)
3438 (comint-previous-matching-input)
3439 (comint-replace-by-expanded-history-before-point, comint-send-input)
3440 (comint-copy-old-input, comint-backward-matching-input)
3441 (comint-goto-process-mark, comint-set-process-mark):
3442 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3443 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3444
8a61ee22
SM
34452012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3446
66408d1e
SM
3447 * dabbrev.el (dabbrev--ignore-case-p): New function.
3448 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3449 Use it.
3450
8a61ee22
SM
3451 * files.el (automount-dir-prefix): Mark as obsolete.
3452
3c74813a
GM
34532012-05-04 Glenn Morris <rgm@gnu.org>
3454
3455 * patcomp.el, play/bruce.el: Move to obsolete/.
3456
0bfcf5c5
PE
34572012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3458
3459 Fix minor Y10k bugs.
3460 * arc-mode.el (archive-unixdate):
3461 * autoinsert.el (auto-insert-alist):
3462 * calc/calc-forms.el (math-this-year):
3463 * emacs-lisp/copyright.el (copyright-current-year)
3464 (copyright-update-year, copyright):
3465 * tar-mode.el (tar-clip-time-string):
3466 * time.el (display-time-update):
3467 Don't assume years have 4 digits.
3468
78f3273a
CY
34692012-05-04 Chong Yidong <cyd@gnu.org>
3470
3471 * dos-w32.el (file-name-buffer-file-type-alist)
3472 (direct-print-region-use-command-dot-com):
3473 * ffap.el (ffap-menu-regexp):
3474 * find-file.el (ff-special-constructs):
3475 * follow.el (follow-debug):
3476 * forms.el (forms--debug):
3477 * iswitchb.el (iswitchb-all-frames):
3478 * ido.el (ido-all-frames):
3479 * emacs-lisp/timer.el (timer-max-repeats):
3480 * mail/feedmail.el (feedmail-mail-send-hook)
3481 (feedmail-mail-send-hook-queued):
3482 * mail/footnote.el (footnote-signature-separator):
3483 * mail/mailabbrev.el (mail-alias-separator-string)
3484 (mail-abbrev-mode-regexp):
3485 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3486 * progmodes/idlwave.el (idlwave-libinfo-file)
3487 (idlwave-default-completion-case-is-down)
3488 (idlwave-library-routines): Convert defvars to defcustoms.
3489
3490 * mail/rmail.el (rmail-decode-mime-charset):
3491 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3492 (idlwave-shell-fix-inserted-breaks)
3493 (idlwave-shell-activate-alt-keybindings)
3494 (idlwave-shell-use-breakpoint-glyph):
3495 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3496
f7ae6719
SM
34972012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3498
3499 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3500
47086495
WS
35012012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3502
3503 * progmodes/verilog-mode.el (font-lock-keywords):
3504 Fix mis-highligting auto. Reported by Craig Barner.
3505 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3506 defines from global name space. Reported by Dan Dever.
3507 (verilog-auto-reset, verilog-auto-reset-widths)
3508 (verilog-auto-tieoff): Support using unbased numbers for
3509 AUTORESET and AUTOTIEOFF.
3510 (verilog-submit-bug-report): Update variable list.
3511 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3512 parenthesis from not matching. Reported by Michael Rytting.
3513 (verilog-auto-template-lint): Fix hash error when linting modules
3514 with no used templates.
3515 (verilog-warn, verilog-warn-error)
3516 (verilog-warn-fatal): When non-interactive report multiple
3517 warnings before exiting. Suggested by Brad Dobbie.
3518 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3519 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3520 to report unused template errors. Reported by Brad Dobbie.
3521 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3522 nets, bug438. Reported by Vns Blore.
3523 (verilog-auto-inout-module, verilog-auto-reg)
3524 (verilog-read-decls, verilog-read-sub-decls-sig)
3525 (verilog-signals-edit-wire-reg, verilog-signals-with):
3526 Fix passing of Verilog data types in ANSI input/output ports
3527 such as "output logic" into the AUTOs. Special case "wire" and
3528 "reg" for backwards compatibility presuming Verilog 2001.
3529 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3530 (verilog-preprocess): Fix replication of preprocess output.
3531 Reported by Brad Dobbie.
3532 (verilog-auto-inst-interfaced-ports):
3533 Create verilog-auto-inst-interfaced-ports, bug429.
3534 Reported by Julian Gorfajn.
3535 (verilog-after-save-font-hook)
3536 (verilog-before-save-font-hook): New variable.
3537 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3538 (verilog-save-font-mods): Wrap disabling fontification, reported
3539 by David Rogoff.
3540 (verilog-do-indent, verilog-pretty-declarations-auto)
3541 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3542 Reported by Pierre-David Pfister.
3543 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3544 of class declarations, bug292. Reported by Kevin Heilman.
3545 (verilog-read-decls): Fix 'parameter type' not appearing in
3546 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3547 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3548 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3549 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3550 Reported by David Kravitz.
3551
35522012-05-03 Michael McNamara <mac@mail.brushroad.com>
3553
3554 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3555 assignment with tests in ifs and for loops.
3556 (verilog-extended-complete-re, verilog-complete-reg): Change so
3557 that DPI inport functions don't look like fuction declarations.
3558 (verilog-pretty-expr): Don't line up assignment
3559 operations to the test and increment in if and for loops
3560 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3561 that DPI inport functions don't look like fuction declarations.
47086495 3562
2e51d4b5
KH
35632012-05-03 Kenichi Handa <handa@m17n.org>
3564
3565 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3566 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3567 (Bug#11282).
3568
2bd785a2
SM
35692012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * emacs-lisp/bytecomp.el
3572 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3573 since cconv.el might have introduced :fun-body, internal-make-closure,
3574 and friends for bytecomp to handle (bug#11391).
3575 * custom.el (defcustom): Avoid ((λ ..) ..).
3576
99d27583
SM
35772012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3580
55a71479
JB
35812012-05-02 Juanma Barranquero <lekktu@gmail.com>
3582
3583 * notifications.el (dbus-debug):
3584 * term/linux.el (gpm-mouse-enable):
3585 * term/screen.el (xterm-register-default-colors): Declare.
3586
7b97c764
CY
35872012-05-02 Chong Yidong <cyd@gnu.org>
3588
2bc356d7
CY
3589 * cus-start.el (gc-cons-percentage, exec-suffixes)
3590 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3591 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3592 (make-cursor-line-fully-visible, void-text-area-pointer)
3593 (font-list-limit): Add customization data.
3594
7b97c764
CY
3595 * allout.el (allout-exposure-change-functions)
3596 (allout-structure-added-functions)
3597 (allout-structure-deleted-functions)
3598 (allout-structure-shifted-functions): Rename abnormal hooks from
3599 *-hook, and convert to defcustoms.
5d3385a0
JB
3600 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3601 Convert to defcustoms.
7b97c764
CY
3602 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3603
3604 * allout-widgets.el: Hook callers changed.
3605
90207a15 36062012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3607
3608 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3609 the yanked message in preference to the default value of
3610 buffer-file-coding-system.
3611
90207a15 36122012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3613
5d3385a0
JB
3614 * window.el (display-buffer--action-function-custom-type):
3615 Fix entry.
d9558cad 3616
90207a15 36172012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3618
3619 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3620
d80ac57b
GM
36212012-05-01 Glenn Morris <rgm@gnu.org>
3622
976f7668
GM
3623 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3624
beb83b5a
GM
3625 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3626
d80ac57b
GM
3627 * cus-edit.el (custom-variable-documentation): Simplify with format.
3628
b593d6a9
AH
36292012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3630 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * simple.el (suggest-key-bindings, execute-extended-command):
3633 Move from keyboard.c.
3634
782fbf2a
CY
36352012-05-01 Chong Yidong <cyd@gnu.org>
3636
3637 * follow.el: Eliminate advice.
3638 (set-process-filter, process-filter, sit-for): Advice deleted.
3639 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3640 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3641 Vars deleted.
782fbf2a
CY
3642 (follow-auto): Use a :set function.
3643 (follow-mode): Rewritten. Don't advise process filters.
3644 (follow-switch-to-current-buffer-all, follow-scroll-up)
3645 (follow-scroll-down): Assume follow-mode is bound.
3646 (follow-comint-scroll-to-bottom)
3647 (follow-align-compilation-windows): New functions.
3648 (follow--window-sorter): New function.
3649 (follow-all-followers): Use it to explicitly sort windows by their
3650 positions; don't make assumptions about next-window order.
3651 (follow-windows-start-end, follow-delete-other-windows-and-split)
3652 (follow-calc-win-start): Doc fix.
3653 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3654 vertical-motion unnecessarily.
3655 (follow-adjust-window): New function.
3656 (follow-post-command-hook): Use it.
3657 (follow-call-set-process-filter, follow-call-process-filter)
3658 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3659 (follow-stop-intercept-process-output, follow-generic-filter):
3660 Functions deleted.
3661 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3662 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3663 New functions, replacing advice on scroll-bar-* commands.
87233a14 3664 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3665
3666 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3667 (comint-postoutput-scroll-to-bottom): Use it.
3668 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3669
290af740
GM
36702012-05-01 Glenn Morris <rgm@gnu.org>
3671
3672 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3673 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3674 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3675 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3676 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3677 Remove no-byte-compile setting.
3678
6eac8dc9
SM
36792012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3682 all-completions code to not return a number in the last cdr.
3683
9cc7819c
LL
36842012-04-30 Leo Liu <sdl.web@gmail.com>
3685
3686 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3687 read-only error.
3688
c93b886f
CY
36892012-04-29 Chong Yidong <cyd@gnu.org>
3690
3691 * follow.el (follow-calc-win-end): Rewrite to handle partial
3692 screen lines correctly (Bug#8390).
3693 (follow-avoid-tail-recenter): Minor cleanup.
3694
8b6c19f4
SM
36952012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 Avoid the obsolete `assoc' package.
3698 * speedbar.el (speedbar-refresh): Avoid adelete.
3699 (speedbar-file-lists): Simplify and avoid aput.
3700 * man.el (Man--sections, Man--refpages): New vars, replacing
3701 Man-sections-alist and Man-refpages-alist.
3702 (Man-build-section-alist, Man-build-references-alist):
3703 Use them; avoid aput.
3704 (Man--last-section, Man--last-refpage): New vars.
3705 (Man-follow-manual-reference): Use them.
3706 Use the `default' arg of completing-read.
3707 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3708
c5bb7569
CY
37092012-04-27 Chong Yidong <cyd@gnu.org>
3710
d1d2e2e8
CY
3711 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3712
15cd8efd
CY
3713 * startup.el (x-apply-session-resources): New function.
3714
3715 * term/ns-win.el (ns-initialize-window-system):
3716 * term/w32-win.el (w32-initialize-window-system):
3717 * term/x-win.el (x-initialize-window-system): Use it to properly
3718 set menu-bar-mode and other vars from X resources, even if the
3719 initial frame is not a window-system frame (Bug#2299).
3720
c5bb7569
CY
3721 * subr.el (read-key): Avoid running filter function when setting
3722 up temporary tool bar entries (Bug#9922).
3723
a8e7d6d7 37242012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3725
3726 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3727 (Bug#11344)
3728
a8e7d6d7 37292012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3730
3731 * select.el (xselect--encode-string): New function, split from
3732 xselect-convert-to-string.
3733 (xselect-convert-to-string): Use it.
3734 (xselect-convert-to-filename, xselect-convert-to-os)
3735 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3736 returned strings are properly encoded (Bug#11315).
3737
a8e7d6d7 37382012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3739
3740 * simple.el (delete-active-region): Move to killing custom group.
3741
a8e7d6d7 37422012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3743
3744 * progmodes/which-func.el (which-func-current): Quote %
3745 characters for mode-line processing.
3746
578c1d4b 37472012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3748
3749 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3750 reaching eob (Bug#11286).
3751
a8e7d6d7 37522012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3753
3754 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3755 (gdb): Make it buffer-local and init to zero.
3756 (gdb-control-commands-regexp): New variable.
3757 (gdb-send): Don't wrap in "-interpreter-exec console" if
3758 gdb-control-level is positive. Increment gdb-control-level
3759 whenever the command matches gdb-control-commands-regexp, and
3760 decrement it each time the command is "end". (Bug#11279)
3761
a8e7d6d7 37622012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3763
3764 * window.el (adjust-window-trailing-edge, enlarge-window)
3765 (shrink-window, window-resize):
3766 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3767 windows (Bug#11276).
3768
b3608390
CY
37692012-04-27 Chong Yidong <cyd@gnu.org>
3770
3771 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3772 fix "missing prefix" warning. All callers changed.
b3608390 3773
797e6e88
SM
37742012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3775
3776 * emacs-lisp/assoc.el: Move to obsolete/.
3777
e95a67dc
SM
37782012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3779
657c21e4 3780 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3781
3782 * term/ns-win.el (ns-define-service):
3783 * progmodes/pascal.el (pascal-goto-defun):
3784 * progmodes/js.el (js--read-tab):
3785 * progmodes/etags.el (tags-lazy-completion-table):
3786 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3787 * emacs-lisp/ewoc.el (ewoc--wrap):
3788 * emacs-lisp/assoc.el (aput, adelete, amake):
3789 * doc-view.el (doc-view-convert-current-doc):
3790 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3791
cb3e7ae0
CY
37922012-04-26 Chong Yidong <cyd@gnu.org>
3793
dce04f7f
CY
3794 * image.el (image-type-from-buffer): Only return supported image
3795 type (Bug#9045).
3796
cb3e7ae0
CY
3797 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3798 value, for symmetry with diff-end-of-hunk.
3799 (diff-split-hunk, diff-find-source-location)
3800 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3801 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3802 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3803 compute the relevant hunk or file properly (Bug#6005).
3804 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3805
0d42eb3e
SM
38062012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * vc/vc-mtn.el:
3809 * vc/vc-hg.el:
3810 * vc/vc-git.el:
3811 * vc/vc-dir.el:
3812 * vc/vc-cvs.el:
3813 * vc/vc-bzr.el:
3814 * vc/vc-arch.el:
3815 * vc/vc.el: Replace lexical-let by lexical-binding.
3816 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3817 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3818 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3819
f08ae1c9
CY
38202012-04-26 Chong Yidong <cyd@gnu.org>
3821
8b71081d
CY
3822 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3823 (diff-mode-shared-map): Bind it to / and [remap undo].
3824
f08ae1c9
CY
3825 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3826 (ediff-window-setup-function): Use it as the default, to set up
3827 windows based on whether the current frame is graphical (Bug#2138).
3828 (ediff-choose-window-setup-function-automatically): Make obsolete.
3829
3830 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3831
ef24141c
SM
38322012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3833
cc356a5d
SM
3834 * ffap.el: Remove old code for obsolete package.
3835 (ffap-complete-as-file-p): Remove.
3836
b4ff4f1f
SM
3837 Use completion-table-with-quoting for comint and pcomplete.
3838 * comint.el (comint--unquote&requote-argument)
3839 (comint--unquote-argument, comint--requote-argument): New functions.
3840 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3841 (comint-quote-filename): Use regexp-opt-charset.
3842 (comint--common-suffix, comint--common-quoted-suffix)
3843 (comint--table-subvert): Remove.
3844 (comint-unquote-function, comint-requote-function): New vars.
3845 (comint--complete-file-name-data): Use them with
3846 completion-table-with-quoting.
3847 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3848 * pcomplete.el (pcomplete-arg-quote-list)
3849 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3850 (pcomplete-unquote-argument-function): Default to non-nil.
3851 (pcomplete-unquote-argument): Simplify.
3852 (pcomplete--common-quoted-suffix): Remove.
3853 (pcomplete-requote-argument-function): New var.
3854 (pcomplete--common-suffix): New function.
3855 (pcomplete-completions-at-point): Use completion-table-with-quoting
3856 and completion-table-subvert.
3857
79c4eeb4
SM
3858 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3859 (minibuffer--double-dollars): Preserve properties.
3860 (completion--sifn-requote): New function.
3861 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3862
ef24141c
SM
3863 * minibuffer.el: Add support for completion of quoted/escaped data.
3864 (completion-table-with-quoting, completion-table-subvert): New funs.
3865 (completion--twq-try, completion--twq-all): New functions.
3866 (completion--nth-completion): New function.
3867 (completion-try-completion, completion-all-completions): Use it.
3868
784e7d6e
LL
38692012-04-25 Leo Liu <sdl.web@gmail.com>
3870
dd2ac746
SM
3871 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3872 Use compilation-message if available to find real filename.
784e7d6e 3873
07875ee7
CY
38742012-04-25 Chong Yidong <cyd@gnu.org>
3875
3876 * vc/diff-mode.el (diff-setup-whitespace): New function.
3877 (diff-mode): Use it.
3878
3879 * vc/diff.el (diff-sentinel):
3880 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3881 Whitespace mode variables based on diff style (Bug#8612).
3882
5055880d
LL
38832012-04-25 Leo Liu <sdl.web@gmail.com>
3884
daf75653
LL
3885 * progmodes/python.el (python-send-region): Add suffix .py to the
3886 temp file.
3887
5055880d
LL
3888 * files.el (auto-mode-alist): Use javascript-mode instead.
3889
db9b177b
AH
38902012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3891
ef24141c 3892 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3893
090bd7cb 3894 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3895 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3896 references, see Bug#9.
ef24141c 3897 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3898 when receiving a fault reply.
ef24141c 3899 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3900
090bd7cb 3901 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3902 (soap-inspect-simple-type): New function.
db9b177b 3903
090bd7cb 3904 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3905 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3906 (soap-decode-basic-type, soap-encode-basic-type):
3907 support unsignedInt and double basic types.
db9b177b 3908 (soap-resolve-references-for-simple-type)
ef24141c
SM
3909 (soap-parse-simple-type, soap-encode-simple-type): New function.
3910 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3911
090bd7cb 3912 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3913 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3914 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3915 the local name of "soapenc:Array".
3916 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3917 decoding integer, byte and anyURI xsd types.
3918
1fc6097b
CY
39192012-04-25 Chong Yidong <cyd@gnu.org>
3920
3921 * cus-edit.el (custom-buffer-create-internal): Update header text.
3922
afc6df87
EZ
39232012-04-25 Eli Zaretskii <eliz@gnu.org>
3924
3925 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3926 settings on 'system-type', not on 'window-system'. On MS-Windows,
3927 set interactive-mode on in GDB.
3928
dfbd787f
SM
39292012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3932 (ruby-syntax-propertize-regexp): Remove.
3933 (ruby-syntax-propertize-function): Split regexp into chunks.
3934 Match following code directly.
3935
85222d44
DG
39362012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3937
51a8ea2a
DG
3938 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3939 (ruby-syntax-propertize-regexp): New function.
3940 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3941 by a special keyword.
3942
85222d44
DG
3943 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3944 (ruby-syntax-general-delimiters-goto-beg)
3945 (ruby-syntax-propertize-general-delimiters): New functions.
3946 (ruby-syntax-propertize-function): Use them to handle GDL.
3947 (ruby-font-lock-keywords): Move old handling of GDL...
3948 (ruby-font-lock-syntactic-keywords): .. to here.
3949 (ruby-calculate-indent): Adjust indentation for GDL.
3950
b613912b
MA
39512012-04-24 Michael Albinus <michael.albinus@gmx.de>
3952
b5380639
MA
3953 * notifications.el (top): Remove unneeded declarations.
3954 (notifications-specification-version): Change to "1.2".
e43042fe 3955 (notifications-interface, notifications-notify-method)
b613912b
MA
3956 (notifications-close-notification-method): Fix docstring.
3957 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3958 (notifications-notify): Add :action-items, :resident and
3959 :transient hints. Change "image_data" to "image-data" and
3960 "image_path" to "image-path".
b613912b
MA
3961 (notifications-get-capabilities): New defun.
3962
257440aa
LL
39632012-04-24 Leo Liu <sdl.web@gmail.com>
3964
3965 * progmodes/python.el: Move hideshow setup to the end.
3966
b1bac16e
MR
39672012-04-24 Martin Rudalics <rudalics@gmx.at>
3968
3969 * window.el (handle-select-window): Clear echo area since this is
3970 no more done by read_char (Bug#11304).
3971
d81bd059
SM
39722012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3975 and `/ M' to filter-derived-mode.
3976 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3977 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3978 (ibuffer-mark-by-mode): Use default rather than initial-input.
3979 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3980
c4cf6d91
IA
39812012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3982
3983 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3984 (ibuffer-filter-by-derived-mode): New filter.
3985 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3986
7511ded8
CY
39872012-04-23 Andreas Politz <politza@fh-trier.de>
3988
3989 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3990
775c916b
CY
39912012-04-23 Chong Yidong <cyd@gnu.org>
3992
3993 * cus-edit.el (customize-apropos, customize-apropos-options):
3994 Disable matching of non-option variables (Bug#11176).
3995 (customize-option, customize-option-other-window)
3996 (customize-changed-options): Doc fix.
3997 (customize-apropos-options, customize-apropos-faces)
3998 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3999
4000 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4001 Fix word list splitting (Bug#11132).
46c71e23
CY
4002 (apropos-symbol, apropos-keybinding, apropos-label)
4003 (apropos-property, apropos-function-button)
4004 (apropos-variable-button, apropos-misc-button): New faces.
4005 (apropos-symbol-face, apropos-keybinding-face)
4006 (apropos-label-face, apropos-property-face, apropos-match-face):
4007 Variables removed (Bug#8396).
4008 (apropos-library-button, apropos-format-plist, apropos-print)
4009 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4010
2df41f9c
MA
40112012-04-23 Michael Albinus <michael.albinus@gmx.de>
4012
4013 * net/xesam.el (xesam-mode-map): Use let-bound map in
4014 initialization. (Bug#11292)
4015
da00640a
AM
40162012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4017
4018 Preserve ispell session localwords when switching back to
4019 original buffer.
4020
090bd7cb
JB
4021 * textmodes/ispell.el (ispell-buffer-session-localwords):
4022 New buffer-local variable to hold buffer session localwords.
ed9265fc 4023 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4024 localwords.
4025 (ispell-command-loop, ispell-change-dictionary)
4026 (ispell-buffer-local-words): Preserve session localwords when
4027 needed.
4028
090bd7cb
JB
4029 * textmodes/flyspell.el (flyspell-process-localwords)
4030 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4031
f621ccf5
AM
40322012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4033
090bd7cb
JB
4034 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4035 using obsolete `translation-table-for-input'.
ef24141c
SM
4036 (ispell-word, ispell-process-line, ispell-complete-word):
4037 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4038
c2d1019e
CY
40392012-04-22 Chong Yidong <cyd@gnu.org>
4040
4041 * cus-edit.el (custom-variable-menu)
4042 (custom-variable-reset-saved, custom-face-menu)
4043 (custom-face-reset-saved): If there is no saved value, make the
4044 "reset-saved" operation bring back the default (Bug#9509).
4045 (custom-face-state): Properly detect themed faces.
4046
eeddc531
CY
4047 * faces.el (face-spec-set): Stop supporting deprecated form of
4048 third arg.
4049
dcbf5805
MA
40502012-04-22 Michael Albinus <michael.albinus@gmx.de>
4051
4052 Move functions from C to Lisp. Make non-blocking method calls
4053 the default. Implement further D-Bus standard interfaces.
4054
ef24141c
SM
4055 * net/dbus.el (dbus-message-internal): Declare function.
4056 Remove unneeded function declarations.
dcbf5805
MA
4057 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4058 (dbus-message-type-method-return, dbus-message-type-error)
4059 (dbus-message-type-signal): Declare variables. Remove local
4060 definitions.
4061 (dbus-interface-dbus, dbus-interface-peer)
4062 (dbus-interface-introspectable, dbus-interface-properties)
4063 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4064 Adapt docstring.
4065 (dbus-interface-objectmanager): New defconst.
4066 (dbus-call-method, dbus-call-method-asynchronously)
4067 (dbus-send-signal, dbus-method-return-internal)
4068 (dbus-method-error-internal, dbus-register-service)
4069 (dbus-register-signal, dbus-register-method): New defuns, moved
4070 from dbusbind.c
4071 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4072 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4073 New defuns.
dcbf5805
MA
4074 (dbus-call-method-non-blocking): Make it an obsolete function.
4075 (dbus-unregister-object, dbus-unregister-service)
4076 (dbus-handle-event, dbus-register-property)
4077 (dbus-property-handler): Obey the new structure of
4078 `bus-registered-objects'.
4079 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4080 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4081 Use `dbus-call-method'.
4082
cf20dee0
CY
40832012-04-22 Chong Yidong <cyd@gnu.org>
4084
4085 * cus-edit.el (custom-commands, custom-reset-menu)
4086 (Custom-reset-standard): Tweak labels.
4087 (custom-reset-button-menu): Change default to t.
4088 (custom-buffer-create-internal): For the custom-reset-button-menu
4089 case, put the revert button first.
4090 (custom-group-subtitle): New face.
4091 (custom-group-value-create): Align docstring to a specific column.
4092
4093 * wid-edit.el (widget-documentation-link-add): Don't handle
4094 indentation in this function.
4095 (widget-documentation-string-indent-to): New function.
4096 (widget-documentation-string-value-create): Use it.
4097
4098 * autorevert.el (auto-revert):
4099 * epg-config.el (epg):
4100 * ibuffer.el (ibuffer):
4101 * mpc.el (mpc):
4102 * ses.el (ses):
4103 * eshell/eshell.el (eshell):
4104 * net/ange-ftp.el (ange-ftp):
4105 * progmodes/ebnf2ps.el (postscript):
4106 * progmodes/flymake.el (flymake):
4107 * progmodes/prolog.el (prolog):
4108 * progmodes/verilog-mode.el (verilog-mode):
4109 * progmodes/which-func.el (which-func):
4110 * term/xterm.el (xterm):
4111 * textmodes/picture.el (picture):
4112 * textmodes/tildify.el (tildify):
4113 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4114 customization buffers.
4115
583e23bd
AM
41162012-04-22 Alan Mackenzie <acm@muc.de>
4117
4118 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4119 Adding a ) can hide the resulting (..) from searches. Fix it.
4120 Bound the backward search to the position of the existing (.
4121
7dd51bf1
JB
41222012-04-21 Juanma Barranquero <lekktu@gmail.com>
4123
4124 * progmodes/verilog-mode.el (verilog-mode): Check whether
4125 which-func-modes is t before adding verilog-mode.
4126 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4127
d64a438f
LL
41282012-04-21 Leo Liu <sdl.web@gmail.com>
4129
7dd51bf1 4130 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4131
081e8d65
MV
41322012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4133
4134 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4135 filling of the last column of a table (Bug#5635).
4136 (woman-find-next-control-line): New arg, specifying an additional
4137 regexp component for the control line.
4138 (woman2-roff-buffer): Use it.
4139 (woman-break-table): New function.
4140 (woman2-TS): Use it.
4141
41422012-04-21 Chong Yidong <cyd@gnu.org>
4143
4144 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4145 (woman-horizontal-escapes, woman-negative-vertical-space)
4146 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4147 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4148
ed571ccb
SM
41492012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * minibuffer.el (completion-file-name-table): Complete user names.
4152
39773899
LL
41532012-04-20 Leo Liu <sdl.web@gmail.com>
4154
4155 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4156 and pcase-let*.
4157
de6ff46d
CY
41582012-04-20 Chong Yidong <cyd@gnu.org>
4159
4160 * server.el (server-execute): Respect initial-buffer-choice if it
4161 is a string and there are no files to open (Bug#2825).
4162 (server-create-window-system-frame, server-create-tty-frame):
4163 Don't switch buffers here.
2d0e8e61
CY
4164 (server-process-filter): Only try to open a window system frame if
4165 compiled with graphical support (Bug#8314).
de6ff46d 4166
54071013
DN
41672012-04-20 Dan Nicolaescu <dann@gnu.org>
4168
4169 * battery.el (battery-echo-area-format): Display remaining time
4170 for sysfs backend too (Bug#11269).
4171 (battery-linux-sysfs): Fix conditional for the charge.
4172
f30d612a
CY
41732012-04-20 Chong Yidong <cyd@gnu.org>
4174
c07a4c0b 4175 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4176 (gdb-inferior-io--init-proc): New function.
4177 (gdb-init-1): Use it.
4178 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4179 responsible for allocating a new pty and hooking it to gdb when
4180 the old pty gets an EIO due to process exit.
4181 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4182 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4183 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4184
2116e93c
EZ
41852012-04-20 Eli Zaretskii <eliz@gnu.org>
4186
4187 * window.el (window-min-size, window-sizable, window-min-delta)
4188 (window-max-delta, window--resizable, window-resizable)
4189 (window-total-size, window-full-height-p, window-full-width-p)
4190 (window-in-direction, window--resize-mini-window, window-resize)
4191 (window--resize-child-windows-normal)
4192 (window--resize-child-windows, window--resize-siblings)
4193 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4194 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4195
c07a4c0b 41962012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4197
ef24141c
SM
4198 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4199 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4200 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4201 pty process (Bug#11273).
4202 (gdb-update): New arg to suppress talking to the gdb process.
4203 (gdb-done-or-error): Use it.
4204 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4205 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4206 sentinel not being called.
4207
4208 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4209
d02766ab
CY
4210 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4211
c07a4c0b 42122012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4213
4214 * net/network-stream.el (open-network-stream): Doc fix.
4215
c07a4c0b 42162012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4217
4218 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4219
c07a4c0b 42202012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4221
4222 Ensure searching for keywords is case sensitive.
4223
4224 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4225 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4226 (c-defun-name, c-mark-function, c-cpp-define-name)
4227 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4228 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4229
ef24141c
SM
4230 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4231 Bind case-fold-search to nil.
f0f6bc35 4232
c07a4c0b 42332012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4234
4235 * mail/sendmail.el (mail-bury): Call return action with the right
4236 Rmail buffer (Bug#11242).
4237
9a864fa2
CY
4238 * server.el (server-process-filter): Handle corner case where both
4239 tty and nowait options are present (Bug#11102).
4240
539aa513
EZ
42412012-04-20 Eli Zaretskii <eliz@gnu.org>
4242
4243 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4244 (top level): Put into the executable the ident-style '$Id:' tag on
4245 windows-nt as well.
539aa513 4246
cfc7d5da
SM
42472012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * electric.el (electric-indent-post-self-insert-function): Check that
4250 electric-indent-mode is enabled in current buffer.
4251
5b01685c
JB
42522012-04-19 Juanma Barranquero <lekktu@gmail.com>
4253
4254 * imenu.el (imenu-progress-message): Restore; it is "used" in
4255 erc/erc-imenu.el and net/snmp-mode.el.
4256
4d6769e1
JB
42572012-04-19 Juanma Barranquero <lekktu@gmail.com>
4258
4259 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4260 (mouse-avoidance-nudge-mouse): Remove unused binding.
4261
4262 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4263
4264 * descr-text.el (describe-char):
4265 * progmodes/python.el (python-describe-symbol):
4266 Don't call `toggle-read-only', set `buffer-read-only'.
4267
4268 * imenu.el (imenu-default-goto-function): Mark unused args.
4269 (imenu-progress-message): Remove obsolete macro; all callers changed.
4270
4271 * subr.el (keymap-canonicalize): Remove unused binding.
4272 (read-passwd): Mark unused arg.
4273
4274 * tutorial.el (tutorial--display-changes): Remove unused binding.
4275 (tutorial--save-tutorial-to): Remove unused variable.
4276
4277 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4278 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4279 (package-generate-autoloads, package-menu--generate)
4280 (package-menu--find-upgrades): Remove unused bindings.
4281
4282 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4283 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4284 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4285 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4286 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4287 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4288 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4289 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4290 (cua-delete-char-rectangle): Mark unused args.
4291 (cua-align-rectangle): Remove unused binding.
4292
4293 * mail/rmail.el (compilation--message->loc)
4294 (epa--find-coding-system-for-mime-charset): Declare.
4295
4296 * net/dbus.el (dbus-register-service): Declare.
4297 (dbus-name-owner-changed-handler): Remove unused binding.
4298
4299 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4300 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4301 (nxml-scan-backward-within): Mark unused arg.
4302 (nxml-dynamic-markup-word): Remove unused binding.
4303
4304 * mouse.el (mouse-menu-major-mode-map):
4305 * emacs-lisp/authors.el (authors-scan-change-log)
4306 (authors-add-to-author-list):
4307 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4308 * emacs-lisp/smie.el (smie-auto-fill):
4309 * mail/sendmail.el (mail-bury):
4310 * mail/unrmail.el (unrmail):
4311 * net/tls.el (open-tls-stream):
4312 * textmodes/picture.el (picture-mouse-set-point):
4313 Remove unused bindings.
4314
8c8fc5df
MA
43152012-04-19 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * net/tramp.el (tramp-action-password): Let-bind
4318 `enable-recursive-minibuffers' to t.
4319
a77b0ac9
SS
43202012-04-18 Sam Steingold <sds@gnu.org>
4321
4322 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4323 instead of 'string to accommodate values like [f11].
4324 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4325 * progmodes/gdb-mi.el: Likewise.
4326
12a106a9
LL
43272012-04-18 Leo Liu <sdl.web@gmail.com>
4328
4329 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4330 current buffer.
4331 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4332 LOCAL is nil.
4333
bc6494ef
CY
43342012-04-18 Chong Yidong <cyd@gnu.org>
4335
4336 * simple.el (line-move): Use forward-line if in batch mode
4337 (Bug#11053).
4338
c09c46b2
CS
43392012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4340
4341 * files.el (after-find-file): Do not try to add a final newline if
4342 the buffer is read-only (Bug#11156).
4343
5f6530ea
RS
43442012-04-17 Richard Stallman <rms@gnu.org>
4345
4346 * mail/rmail.el (rmail-start-mail):
4347 Pass (rmail-mail-return...) for the return-action.
4348 Pass (rmail-yank-current-message...) for the yank-action.
4349 (rmail-yank-current-message): New function.
4350 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4351 (rmail-reply): Likewise.
4352 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4353
4354 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4355 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4356 buffer, not newbuf.
4357
197b6f3c
JB
43582012-04-17 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * server.el (server-ensure-safe-dir): Simplify.
4361
2311d8e5 43622012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4363
2311d8e5
GM
4364 * emacs-lisp/smie.el: Provide smarter auto-filling.
4365 (smie-auto-fill): New function.
4366 (smie-setup): Use it.
98fb480e 4367
2311d8e5
GM
4368 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4369
43702012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4371
4372 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4373 (comment-indent): Use it.
4374
2311d8e5 43752012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4376
4377 * ses.el: The overall change is to add cell renaming, that is
4378 setting fancy names for cell symbols other than name matching
4379 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4380 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4381 (ses-create-cell-variable): New defun.
2311d8e5 4382 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4383 (ses-relocate-formula): Relocate formulas only for cells the
4384 symbols of which are not renamed, i.e. symbols whose names do not
4385 match regexp "\\`[A-Z]+[0-9]+\\'".
4386 (ses-relocate-all): Relocate values only for cells the symbols of
4387 which are not renamed.
4388 (ses-load): Create cells variables as the (ses-cell ...) are read,
4389 in order to check row col consistency with cell symbol name only
4390 for cells that are not renamed.
4391 (ses-replace-name-in-formula): New defun.
4392 (ses-rename-cell): New defun.
4bdf2ad2 4393
fc72b15c
PO
43942012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4395
4396 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4397 New option (bug#11118).
4398 (perl-calculate-indent): Respect it.
4399
12e10e61
GM
44002012-04-17 Glenn Morris <rgm@gnu.org>
4401
4402 * dired-aux.el (dired-mark-read-string): Doc fix.
4403
30009afd
DA
44042012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4405
4406 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4407 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4408
41f03f4d
GM
44092012-04-17 Glenn Morris <rgm@gnu.org>
4410
4411 * mouse.el (mouse-drag-track):
4412 * speedbar.el (speedbar-frame-mode):
4413 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4414
f45f90f3
LL
44152012-04-16 Leo Liu <sdl.web@gmail.com>
4416
4417 * progmodes/python.el: Trivial cleanup.
4418
94ee8db5
GM
44192012-04-16 Glenn Morris <rgm@gnu.org>
4420
121b8917
GM
4421 * vc/vc.el (vc-string-prefix-p):
4422 * vc/pcvs-util.el (cvs-string-prefix-p):
4423 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4424 * mpc.el (mpc-string-prefix-p):
4425 Make all of these into obsolete aliases for string-prefix-p.
4426 Update callers.
4427 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4428
1197ecfa
GM
4429 * textmodes/two-column.el: Move custom options to the start.
4430 (frame-width): Remove compat definition.
4431 (2C-associate-buffer, 2C-dissociate):
4432 Use with-current-buffer rather than save-excursion.
4433 (2C-dissociate): Force a mode-line update.
4434 (2C-autoscroll): Use ignore-errors.
4435
099e7202
GM
4436 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4437 Autoload trivia.
4438
bf350d6a
GM
4439 * emacs-lisp/cl-extra.el (*random-state*):
4440 Remove unnecessary declaration.
4441
0e829eab
GM
4442 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4443
e3ad7552
GM
4444 * play/cookie1.el (cookie-snarf):
4445 Give an explicit error if input file cannot be read.
4446
68892d27
GM
4447 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4448
20f0c46d
GM
4449 * progmodes/perl-mode.el (c-macro-expand):
4450 Remove unnecessary autoload (it is in loaddefs.el).
4451
5a0978ce
GM
4452 * textmodes/picture.el (picture-desired-column)
4453 (picture-update-desired-column): Convert comments to doc-strings.
4454 (picture-substitute): Remove function.
4455 (picture-mode-map): Initialize in the defvar.
4456
6b955486
GM
4457 * woman.el: Remove eval-after-load for tar-mode.
4458 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4459 (woman-tar-extract-file): Autoload it.
4460
94ee8db5
GM
4461 * frame.el (automatic-hscrolling): Make this alias obsolete.
4462
177eca34
AM
44632012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4464
090bd7cb 4465 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4466 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4467 (ispell-dictionary-base-alist): Revert to original XEmacs
4468 friendly version for default. [:alpha:] will be added in
090bd7cb 4469 `ispell-set-spellchecker-params' if needed.
177eca34 4470
c505aaeb
CY
44712012-04-16 Chong Yidong <cyd@gnu.org>
4472
b19dd9d1 4473 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4474 (imagemagick-register-types): Use it.
4475 (imagemagick-types-inhibit): Add :set function. Allow new value
4476 of t to inhibit all types.
4477
4478 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4479 so we can preload it.
4480
4481 * loadup.el (fboundp): Preload regexp-opt, needed by
4482 imagemagick-register-types.
4483
60efac0f
CY
44842012-04-15 Chong Yidong <cyd@gnu.org>
4485
4486 * frame.el (scrolling): Remove nearly unused customization group.
4487
4488 * scroll-all.el (scroll-all-mode): Move to windows group.
4489
5dd1713e
CY
44902012-04-15 Chong Yidong <cyd@gnu.org>
4491
4492 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4493
e6fd457e
CY
44942012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4497 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4498
e153c136
GM
44992012-04-15 Glenn Morris <rgm@gnu.org>
4500
4501 * simple.el (process-file-side-effects): Doc fix.
4502
e6fd457e 45032012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4504
4505 * international/mule-cmds.el (set-language-environment): Doc fix.
4506
3603c3b1
JB
45072012-04-14 Juanma Barranquero <lekktu@gmail.com>
4508
4509 * server.el (server-auth-key, server-generate-key): Doc fixes.
4510 (server-get-auth-key): Doc fix. Use `string-match-p'.
4511 (server-start): Reflow docstring.
4512
e6de100c
LI
45132012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4514
4515 * server.el (server-generate-key): `called-interactively-p'
4516 requires a parameter.
4517
29734c21
MN
45182012-04-14 Michal Nazarewicz <mina86@mina86.com>
4519
4520 * server.el (server-auth-key): New variable.
75f1671a 4521 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4522 (server-start): Use the new variable and functions to allow
4523 setting a permanent server key (bug#9423).
4524
d65c9521
LL
45252012-04-14 Leo Liu <sdl.web@gmail.com>
4526
4527 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4528
5ae255c7
PE
45292012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4530
4531 Spelling fixes.
4532 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4533 Emacs uses American spelling.
4534
d5e6342e
JB
45352012-04-14 Juanma Barranquero <lekktu@gmail.com>
4536
4537 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4538 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4539 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4540 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4541
ab036cd7
SM
45422012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * progmodes/which-func.el (which-func-modes): Change default.
4545
35dc09a1 45462012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4547
4548 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4549 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4550
35dc09a1 45512012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4552
4553 * custom.el (custom-theme-set-variables): Doc fix.
4554
35dc09a1 45552012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4556
4557 * international/mule.el (set-auto-coding-for-load): Doc fix.
4558
35dc09a1 45592012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4560
35dc09a1
GM
4561 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4562 imenu work again for Objective C Mode. Correct the *-index values,
4563 these having been disturbed by a previous change in 2011-08.
57f845ee 4564
0de3da9f
AM
4565 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4566 Correct two search limits.
4567
35dc09a1 45682012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4569
4570 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4571
35dc09a1 45722012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4573
4574 * international/characters.el: Fix sorting.
4575
35dc09a1 45762012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4577
4578 * international/characters.el: Add more missing Latin case pairs.
4579
35dc09a1 45802012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4581
4582 * files.el (dir-locals-set-class-variables): Doc fix.
4583
35dc09a1 45842012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4585
3f1b5bf8
EZ
4586 * international/characters.el: Add set-case-syntax-pair call for
4587 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4588 counterpart. (Bug#11209)
4589
9f847f41
EZ
4590 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4591
35dc09a1 45922012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4593
4594 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4595
35dc09a1 45962012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4597
35dc09a1
GM
4598 * textmodes/ispell.el (ispell-dictionary-base-alist):
4599 Add data for Hebrew.
e2627d21 4600
35dc09a1 46012012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4602
35dc09a1
GM
4603 * net/rcirc.el (rcirc-cmd-quit):
4604 Revert 2012-03-18 change (Bug#11192).
5c14e333 4605
35dc09a1 46062012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4607
4608 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4609
35dc09a1 46102012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4611
4517fe3a
SM
4612 * minibuffer.el (completion-in-region-mode-map):
4613 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4614
b472a594
VD
46152012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4616
4617 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4618
09b95ce3
MY
46192012-04-13 Masatake YAMATO <yamato@redhat.com>
4620
4621 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4622 to allow `C-M-f' and `C-M-b' to move to the nearest path
4623 separator (bug#9511).
4624
4b63a9ca
LI
46252012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4626
4627 * avoid.el: Require cl when compiling. And also move the
4628 `provide' to the end.
4629
7b55b8bf
TV
46302012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4631
4632 * avoid.el (mouse-avoidance-banish-position): New variable.
4633 (mouse-avoidance-banish-destination): Use it (bug#10165).
4634
adedaa1f
LL
46352012-04-13 Leo Liu <sdl.web@gmail.com>
4636
4637 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4638
70e74021
KB
46392012-04-13 Ken Brown <kbrown@cornell.edu>
4640
4641 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4642 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4643 (browse-url-filename-alist): For the same reason, don't modify
4644 file:// URLs on Cygwin.
4645
e75e89ba
SM
46462012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4647
4648 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4649 the region on shift if the binding is already shifted (bug#11221).
4650
82f289a4
GM
46512012-04-12 Glenn Morris <rgm@gnu.org>
4652
4653 * mail/mailpost.el: Move to obsolete/.
4654
d333dc4c
DA
46552012-04-12 Drew Adams <drew.adams@oracle.com>
4656
4657 * imenu.el (imenu--generic-function): Ignore invisible definitions
4658 (bug#10123).
4659
0d15b5ba
VD
46602012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4661
4662 * hexl.el (hexl-bits): New variable.
4663 (hexl-options): Mention the variable in the doc string.
75f1671a 4664 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4665 (hexl-mode): Mention the new variable.
75f1671a
JB
4666 (hexl-mode, hexl-current-address, hexl-current-address):
4667 Use the displen.
0d15b5ba
VD
4668 (hexl-ascii-start-column): New function.
4669 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4670 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4671
64a440db
AM
46722012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4673
4674 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4675 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4676 the encoding, as expected by hunspell.
4677
6decb6c2
SM
46782012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * battery.el (battery--linux-sysfs-regexp): New const.
4681 (battery-status-function): Use it. Remove yeeloong special case.
4682 (battery-yeeloong-sysfs): Remove.
4683 (battery-echo-area-format): Remove yeeloong special case.
4684
088be6fb
SM
46852012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4686
6622e416
SM
4687 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4688 Reported by Noah Friedman.
4689
088be6fb
SM
4690 * subr.el (read-passwd): Use read-string.
4691
b49f886e
LMI
46922012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4693
4694 * vcursor.el (vcursor-move): Increase the priority of the overlay
4695 (bug#9663).
4696
a63067fc
DD
46972012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4698
4699 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4700 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4701
ac3cf14a
WS
47022012-04-11 William Stevenson <yhvh2000@gmail.com>
4703
4704 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4705 define-minor-mode (bug#10760).
4706
c4fc691b 47072012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4708
4d6769e1 4709 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4710 that directories matching `grep-find-ignored-files' won't be
4711 pruned (bug#10351).
4712
af23e2e5
CY
47132012-04-11 Chong Yidong <cyd@gnu.org>
4714
4715 * startup.el (command-line): Remove support for long-obsolete
4716 variable font-lock-face-attributes.
4717
ab7ce8c1
GM
47182012-04-11 Glenn Morris <rgm@gnu.org>
4719
4720 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4721
de8c03dc
SM
47222012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * window.el (window--state-get-1): Obey window-point-insertion-type.
4725
050cc68b
LB
47262012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4727
4728 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4729 to previous function when point is on the first character of a
75f1671a 4730 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4731
a38c310c
GM
47322012-04-11 Glenn Morris <rgm@gnu.org>
4733
effed0c2
GM
4734 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4735 not just file-errors.
4736
a38c310c
GM
4737 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4738 (vc-bzr-sha1): Use internal sha1.
4739
0221e323
SM
47402012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4743
43956923
SG
47442012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4745
4746 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4747 that start in the middle of the line (bug#10496).
4748
6a8c9eaf
DN
47492012-04-10 Dan Nicolaescu <dann@gnu.org>
4750
4751 * battery.el (battery-linux-proc-acpi): Only one battery is
4752 discharged at a time, but that seems to confuse battery.el when
4753 computing `rate-type' for the battery not being discharged
4754 (bug#10332).
4755
1930bf5d
SM
47562012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4757
2a718f6f
SM
4758 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4759
599430d0
SM
4760 * international/quail.el: Use dolist and simplify.
4761 (quail-define-package, quail-update-keyboard-layout)
4762 (quail-define-rules): Use dolist.
4763 (quail-insert-kbd-layout, quail-get-translation): CSE.
4764
a2754b6c
SM
4765 * tmm.el: Use dolist, remove left over hook.
4766 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4767 Use dolist.
4768 (calendar-load-hook): Don't mess with it.
4769
1930bf5d
SM
4770 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4771 Use derived-mode-p. Run the diff asynchronously.
4772
9f67961c
LMI
47732012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4775 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4776
2a8ce227
JB
47772012-04-10 Juanma Barranquero <lekktu@gmail.com>
4778
4779 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4780 (list-dynamic-libraries--loaded): New function.
4781 (list-dynamic-libraries--refresh): Use it.
4782
8f33b5f8
NW
47832012-04-10 Nathan Weizenbaum <nweiz@google.com>
4784
1930bf5d
SM
4785 * progmodes/python.el (python-fill-paragraph):
4786 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4787 disabled (bug#7018).
4788
b12f0439
L
47892012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4790
1930bf5d 4791 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4792 DOS/MS Windows for the Baltic languages. There are still plenty
4793 of texts written in this encoding/codepage (bug#6519).
b12f0439 4794
57c3bd01
GM
47952012-04-10 Glenn Morris <rgm@gnu.org>
4796
4797 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4798 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4799
6c3eab30
FA
48002012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4801
1930bf5d 4802 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4803 next-line "n" and previous-line "p" in order to make recentf more
4804 consistent with ibuffer, dired or org-mode (bug#9387).
4805
24d78a88
LMI
48062012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4807
bc72b5d9
LMI
4808 * image.el (put-image): Return the overlay created instead of the
4809 optional input string (bug#7834). Note that this may break code
4810 that is (for some reason or other) depending on `put-image'
4811 returning the string.
4812
bd2dba5a
LMI
4813 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4814
74beb59f
LMI
4815 * simple.el (zap-to-char): Allow zapping using input methods
4816 (bug#1580).
4817
24d78a88
LMI
4818 * textmodes/fill.el (fill-region): Leave point and mark where they
4819 were before filling (bug#5399).
4820
263f20cd
GM
48212012-04-09 Glenn Morris <rgm@gnu.org>
4822
4823 * version.el (emacs-bzr-get-version):
4824 Handle lightweight checkouts of local branches.
4825
58d1f797
AS
48262012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4827
263f20cd 4828 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4829
b4d3bc10
CY
48302012-04-09 Chong Yidong <cyd@gnu.org>
4831
4832 * custom.el (custom-variable-p): Return nil for non-symbol
4833 arguments instead of signaling an error.
4834 (user-variable-p): Obsolete alias for custom-variable-p.
4835
4836 * apropos.el (apropos-variable):
4837 * files-x.el (read-file-local-variable):
4838 * simple.el (set-variable):
4839 * woman.el (woman-mini-help):
4840 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4841
fd06db5d
GM
48422012-04-09 Glenn Morris <rgm@gnu.org>
4843
e5fcdb5e
GM
4844 * startup.el (normal-top-level): Don't look for leim-list.el
4845 in places where it will not be found. (Bug#910)
4846
fd06db5d
GM
4847 * international/mule-cmds.el (set-default-coding-systems):
4848 * files.el (normal-mode):
4849 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4850 This function was removed with ucs-tables.el in 2008.
4851
b39bb7e1
EZ
48522012-04-08 Eli Zaretskii <eliz@gnu.org>
4853
4854 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4855 ispell-encoding8-command to "-i", without a trailing space.
4856 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4857 separate command-line arguments, to specify the encoding, since
4858 that's how hunspell expects it.
4859
5c5b8e23
GM
48602012-04-08 Glenn Morris <rgm@gnu.org>
4861
4862 * loadup.el: Load bindings before cus-start.
4863 This reduces somewhat the number of "rogue" settings in emacs -Q.
4864
a1ed8b05
GM
48652012-04-07 Glenn Morris <rgm@gnu.org>
4866
4867 * version.el (emacs-bzr-get-version): New function.
dfae128a 4868 (emacs-bzr-version): New variable.
a1ed8b05
GM
4869 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4870 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4871
b142f158
EZ
48722012-04-07 Eli Zaretskii <eliz@gnu.org>
4873
dfae128a
GM
4874 * international/uni-bidi.el, international/uni-category.el:
4875 * international/uni-combining.el, international/uni-decimal.el:
4876 * international/uni-decomposition.el, international/uni-digit.el:
4877 * international/uni-lowercase.el, international/uni-mirrored.el:
4878 * international/uni-name.el, international/uni-numeric.el:
4879 * international/uni-titlecase.el, international/uni-uppercase.el:
4880 Update for Unicode 6.1.
b142f158 4881
9078ead6
EZ
48822012-04-07 Eli Zaretskii <eliz@gnu.org>
4883
4884 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4885
f23d2c7d
LMI
48862012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4887
4888 * window.el (shrink-window): Mention the `window-min-height'
4889 variable in the doc string.
4890
0a0a3573
BG
48912012-04-05 Bastien Guerry <bzg@altern.org>
4892
4893 * color.el (color-lighten-name): Fix typo.
4894
e5248ac9
SM
48952012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * server.el (server--on-display-p): New function.
4898 (server--on-display-p): Use it.
4899
b4243e22
GV
49002012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4901
4902 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4903 (bug#11145).
4904
305d9f44
SM
49052012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * comint.el (comint--common-quoted-suffix): Check string boundary
4908 before comparing (bug#11158).
4909 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4910
3d439cd1
CY
49112012-04-04 Chong Yidong <cyd@gnu.org>
4912
321cc491
CY
4913 * minibuffer.el (completion-extra-properties): Doc fix.
4914
3d439cd1
CY
4915 * subr.el (delayed-warnings-hook): Doc fix.
4916
2d562c0f
DU
49172012-04-04 Daiki Ueno <ueno@unixuser.org>
4918
4919 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4920 selection (Bug#11159).
4921 (epa-insert-keys): Inform that the default public key will be
4922 exported if no key is selected.
4923
4443f204
RS
49242012-04-04 Richard Stallman <rms@gnu.org>
4925
4926 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4927
529c06b6
CY
49282012-04-03 Chong Yidong <cyd@gnu.org>
4929
4930 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4931 mail-insert-file, not its obsolete alias mail-attach-file.
4932
66b907dc
MA
49332012-04-03 Michael Albinus <michael.albinus@gmx.de>
4934
4935 * notifications.el (notifications-notify): Fix docstring.
4936
c0ea195d
GM
49372012-04-02 Glenn Morris <rgm@gnu.org>
4938
4939 * emacs-lisp/authors.el (authors-aliases): Another addition.
4940
5ca64e00
MA
49412012-04-02 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4944 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4945 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4946
42ee526b
CY
49472012-04-01 Chong Yidong <cyd@gnu.org>
4948
4949 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4950 Handle root directory properly.
4951 (copy-directory): Caller changed.
4952
4953 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4954 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4955
0b021094
GM
49562012-03-31 Glenn Morris <rgm@gnu.org>
4957
40f86458
GM
4958 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4959
7019c177
GM
4960 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4961
a1daddd6
GM
4962 * calendar/calendar.el (calendar-window-list)
4963 (calendar-hide-window): Restore. (Bug#11140)
4964 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4965
0b021094
GM
4966 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4967
40311efc
TV
49682012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4969
4970 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4971 Check if file is a symlink (Bug#10489).
4972
4973 * files.el (copy-directory): Likewise.
4974
5319014e
CY
49752012-03-30 Chong Yidong <cyd@gnu.org>
4976
4977 * image.el (imagemagick-types-inhibit)
4978 (imagemagick-register-types): Doc fix.
4979
935d1290
AM
49802012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4981
090bd7cb 4982 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 4983 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4984 and treats ~word as ordinary words in pipe mode.
935d1290 4985
61c6e8fd
GM
49862012-03-30 Glenn Morris <rgm@gnu.org>
4987
4988 * tutorial.el (help-with-tutorial): Ensure local variables don't
4989 happen to make the buffer read-only. (Bug#11127)
4990
81fdff00
SM
49912012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4994 (perl-calculate-indent): Return `noindent' in strings.
4995
6e7a6ec0
SS
49962012-03-28 Sam Steingold <sds@gnu.org>
4997
4998 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4999 instead of the broken adhockery which does not prevent calendar
5000 buffers from being displayed at random after exit.
5001 (calendar-window-list, calendar-hide-window): Remove the broken
5002 adhockery.
5003
fee88ca0
GM
50042012-03-28 Glenn Morris <rgm@gnu.org>
5005
5006 * replace.el (query-replace-map): Doc fix.
5007
38de3354
AS
50082012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5009
5010 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5011 contents. (Bug#11109)
5012
b973155e
SM
50132012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5016 (bug#11077).
5017 (avl-tree--check, avl-tree--check-node): New funs.
5018
dcb6e7b3
MR
50192012-03-27 Martin Rudalics <rudalics@gmx.at>
5020
5021 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5022 (switch-to-prev-buffer, switch-to-next-buffer):
5023 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5024 showing a buffer already is done on the same frame.
5025
b4fa35fa
GM
50262012-03-27 Glenn Morris <rgm@gnu.org>
5027
5028 * startup.el (mail-host-address): Doc fix.
5029
f9210e18
SM
50302012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5033 than 197 variables.
5034
c0bf7753
AF
50352012-03-26 Ami Fischman <ami@fischman.org>
5036
5037 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5038
33da7b16
GM
50392012-03-26 Glenn Morris <rgm@gnu.org>
5040
02243d9d
GM
5041 * files.el (save-buffers-kill-emacs): Doc fix.
5042
33da7b16
GM
5043 * startup.el (normal-top-level, command-line, command-line-1):
5044 Give them doc strings.
5045
e5a69fd0
EZ
50462012-03-25 Eli Zaretskii <eliz@gnu.org>
5047
5048 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5049 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5050
9a69676a
CY
50512012-03-25 Chong Yidong <cyd@gnu.org>
5052
4125cb8b
CY
5053 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5054 theme if it was previously enabled before (Bug#11031).
5055
dd470960
CY
5056 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5057 spec with custom-face-get-current-spec if its :shown-value is not
5058 determined yet (Bug#9337).
4125cb8b 5059 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5060
9a69676a
CY
5061 * button.el (button-at): Minor addition to docstring.
5062
6e7e90fa
SL
50632012-03-24 Simon Leinen <simon.leinen@gmail.com>
5064
5065 * vc/vc.el (vc-merge): Fix a prompt.
5066
f06e2758
CY
50672012-03-24 Chong Yidong <cyd@gnu.org>
5068
5069 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5070 point (Bug#9623).
5071
6e7e90fa
SL
5072 * button.el (button-at): Minor addition to docstring.
5073
b9d0879b
SM
50742012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * newcomment.el (comment-choose-indent): No space after BOL.
5077
e71cebb3
SS
50782012-03-22 Sam Steingold <sds@gnu.org>
5079
5080 * window.el (switch-to-prev-buffer): Revert last patch because the
5081 bug turned out to be an advertised feature (Elisp manual 28.14).
5082
335aff35
GM
50832012-03-22 Glenn Morris <rgm@gnu.org>
5084
5085 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5086 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5087
c676576a
LMI
50882012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5089
5090 * net/network-stream.el (network-stream-open-starttls): Make error
5091 message under Windows be less misleading.
5092
126f3d39
LW
50932012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5094
5095 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5096 understands (bug#9942).
5097
64fee311
CY
50982012-03-22 Chong Yidong <cyd@gnu.org>
5099
5100 * simple.el (end-of-visible-line): Handle return value of
5101 next-single-property-change properly (Bug#9371).
5102
a640d29a
KH
51032012-03-22 Kenichi Handa <handa@m17n.org>
5104
5105 * international/quail.el (quail-insert-kbd-layout): Fix previous
5106 change. To avoid unwanted bidi reordering, use
5107 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5108
39675016
DG
51092012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5110
5111 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5112 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5113 (ruby-beginning-of-indent): Be more careful with the difference
5114 between word-boundary and symbol boundary.
5115 (ruby-mode-syntax-table): Make : a symbol constituent.
5116
0a6934fc 51172012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5118
3d008e4f
SM
5119 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5120
0a6934fc
SM
51212012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5122
af67c9d7
SM
5123 * progmodes/etags.el (tags-completion-at-point-function):
5124 Improve last fix.
5125
1acad97c
SM
5126 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5127
e298b5da
SS
51282012-03-21 Sam Steingold <sds@gnu.org>
5129
5130 * progmodes/etags.el (tags-completion-at-point-function):
5131 Avoid the error when point is inside the pattern.
5132
91d82a70
JY
51332012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5134
5135 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5136 line (Bug#10855).
5137
69188b79
CY
51382012-03-21 Drew Adams <drew.adams@oracle.com>
5139
5140 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5141
99fc91fe
AK
51422012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5143
5144 * ido.el (ido-set-current-directory, ido-read-internal)
5145 (ido-choose-completion-string, ido-completion-help): Handle nil
5146 value of ido-completion-buffer (Bug#11008).
5147
087bbb4c
SS
51482012-03-21 Sam Steingold <sds@gnu.org>
5149
5150 * window.el (switch-to-prev-buffer): Do not switch to a visible
5151 window previous buffer, just like with the frame previous buffers.
5152
fb5b8aca
CY
51532012-03-21 Chong Yidong <cyd@gnu.org>
5154
5155 * faces.el (make-face, make-empty-face, copy-face):
5156 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5157 Doc fixes.
5158
dc9924b8
SM
51592012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5160
5161 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5162 (widget-complete): Remove broken use of it.
5163
f0bcceb9
CY
51642012-03-20 Chong Yidong <cyd@gnu.org>
5165
dc9924b8
SM
5166 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5167 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5168 characters.
5169
ee52ebf3
TH
51702012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5171
5172 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5173 to draw rectangles, not squares. (Regression introduced by revno
5174 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5175
4c5779ab
CY
51762012-03-18 Chong Yidong <cyd@gnu.org>
5177
5178 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5179 it is not yet defined (for temacs).
5180
15360934
LL
51812012-03-18 Leo Liu <sdl.web@gmail.com>
5182
dc9924b8 5183 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5184
d9a8eb66
EZ
51852012-03-17 Eli Zaretskii <eliz@gnu.org>
5186
5187 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5188 (ispell-choices-win-default-height, ispell-silently-savep)
5189 (ispell-dictionary-alist, ispell-encoding8-command)
5190 (ispell-check-version, ispell-aspell-find-dictionary)
5191 (ispell-valid-dictionary-list, ispell-words-keyword)
5192 (ispell-get-word, ispell-internal-change-dictionary)
5193 (ispell-region, ispell-skip-region-list)
5194 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5195 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5196 (ispell-message-text-end, ispell-message)
5197 (ispell-buffer-local-parsing): Doc fix.
5198
f02ff80d
J
51992012-03-13 Jambunathan K <kjambunathan@gmail.com>
5200
5201 * htmlfontify.el: Add support for code block fontification for ODT
5202 export (Bug #9914).
5203 (hfy-optimisations): Define new option
5204 `body-text-only'
5205 (hfy-fontify-buffer): Honor above setting.
5206 (hfy-begin-span, hfy-end-span): New routines factored out form
5207 `hfy-fontify-buffer'.
5208 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5209 that permit insertion of custom tags.
5210 (hfy-fontify-buffer): Use above handlers.
5211 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5212 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5213 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5214 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5215 bind a special variable `hfy-user-sheet-assoc'.
5216 (htmlfontify-string): New defun.
5217 (hfy-compile-face-map): Make sure that the last char in the
5218 buffer is correctly fontified.
5219 (hfy-face-resolve-face): Whitespace only change.
5220
9ac7a13f
EZ
52212012-03-17 Eli Zaretskii <eliz@gnu.org>
5222
5223 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5224 message more clear.
5225
e2b5bdd7
LL
52262012-03-16 Leo Liu <sdl.web@gmail.com>
5227
5228 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5229
2e492df3
AM
52302012-03-16 Alan Mackenzie <acm@muc.de>
5231
5232 Further optimise the handling of large macros.
5233
5234 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5235 limit to a call of `c-literal-limits'.
5236 (c-determine-+ve-limit): New function.
dc9924b8
SM
5237 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5238 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5239 In CASE 5B, restrict a search limit to 500.
5240 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5241
5242 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5243 Restrict macro bounds to +-500 from after-change's BEG END.
5244
50e94f0c
LL
52452012-03-16 Leo Liu <sdl.web@gmail.com>
5246
5247 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5248
6f09f6ed
AH
52492012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5250
5251 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5252 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5253
c7e73d51
GM
52542012-03-16 Glenn Morris <rgm@gnu.org>
5255
da986230
GM
5256 * view.el (view-buffer, view-buffer-other-window)
5257 (view-buffer-other-frame): Doc fixes re special mode-class.
5258
0835f01e
GM
5259 * subr.el (eval-after-load): If named feature is provided not from
5260 a file, run after-load forms. (Bug#10946)
5261
c7e73d51
GM
5262 * calendar/calendar.el (calendar-insert-at-column):
5263 Handle non-unit-width characters a bit better. (Bug#10978)
5264
3f2eafd1
CY
52652012-03-15 Chong Yidong <cyd@gnu.org>
5266
5267 * emacs-lisp/ring.el (ring-extend): New function.
5268 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5269
5270 * comint.el (comint-read-input-ring)
5271 (comint-add-to-input-history): Grow comint-input-ring lazily.
5272
103af3fe
SM
52732012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5274
663b1677
SM
5275 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5276 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5277
103af3fe
SM
5278 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5279 (imenu-add-to-menubar): Don't add a redundant index.
5280 (imenu-update-menubar): Handle a dynamically composed keymap.
5281
899cb7cb
KY
52822012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5283
5284 * mail/sendmail.el (mail-encode-header):
5285 Bind rfc2047-encode-encoded-words to nil.
5286
3809f91d
GM
52872012-03-13 Glenn Morris <rgm@gnu.org>
5288
5289 * calendar/calendar.el (calendar-string-spread):
5290 Handle non-unit-width characters a bit better. (Bug#10978)
5291
9e345a01
LL
52922012-03-13 Leo Liu <sdl.web@gmail.com>
5293
5294 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5295 directory and file as argument (Bug#10822).
5296
4a07df36
KS
52972012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5298
5299 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5300 For dynamically generated code, follow $PC.
5301 (gdb-disassembly-handler-custom): Handle no function name case.
5302
4aaa9356
TL
53032012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5304
5305 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5306 * emulation/ws-mode.el (ws-query-replace):
5307 * sort.el (sort-regexp-fields):
5308 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5309
225979da
SM
53102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * dabbrev.el: Fix cycle completion order (bug#10963).
5313 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5314 (dabbrev-completion): Don't use an obarray; provide
5315 a cycle-sort-function.
5316
e2f1fdab
LL
53172012-03-12 Leo Liu <sdl.web@gmail.com>
5318
dc9924b8 5319 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5320 (kill-do-not-save-duplicates): Doc fix.
5321
b19490ed
SM
53222012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * dabbrev.el: Fix cycle completion (bug#10963).
5325 Use lexical binding and wrap to 80 columns.
5326 (dabbrev-completion): Delay computing the list of completions.
5327
4b05d722
KH
53282012-03-12 Kenichi Handa <handa@m17n.org>
5329
5330 * international/quail.el (quail-insert-kbd-layout): Surround each
5331 row by LRO and PDF instead of inserting many LRMs. Pad the left
5332 and right of each non-spacing marks. Insert invisible space
5333 between lower and upper characters to prevent composition.
5334
dbbc2e69
SM
53352012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * minibuffer.el (minibuffer-complete): Don't get confused when the
5338 function is run twice via different commands (bug#10958).
5339 (complete-with-action): Fix docstring.
5340
292112ed
CY
53412012-03-12 Chong Yidong <cyd@gnu.org>
5342
5d1ac394
CY
5343 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5344 (nxml-completion-at-point-function): New function.
5345 (nxml-mode): Use it.
5346 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5347
292112ed
CY
5348 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5349 Load generated autoloads file before byte compiling (Bug#10970).
5350 (package--make-autoloads-and-compile): New helper fun.
5351
4098f8f7
CS
53522012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5353
5354 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5355
8f754691
MA
53562012-03-11 Michael Albinus <michael.albinus@gmx.de>
5357
5358 * autorevert.el (auto-revert-handler): Ensure, that
5359 file-readable-p is applied only for local files or in
5360 auto-revert-tail-mode.
5361
e29ab36b
AS
53622012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5363
dbbc2e69
SM
5364 * server.el (server-eval-at): Handle non-tcp connections.
5365 Decode result string.
ad0bf5b6 5366
e29ab36b
AS
5367 * server.el (server-msg-size): New constant.
5368 (server-reply-print): New function.
5369 (server-eval-and-print): Use it.
5370 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5371 Handle -print-nonl.
5372
de5939ba
CS
53732012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5374
5375 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5376 (Bug#10987).
5377
0c93eabf
CY
53782012-03-11 Chong Yidong <cyd@gnu.org>
5379
397a688f
CY
5380 * simple.el (goto-line): Doc fix (Bug#9938).
5381
2cc775f9
CY
5382 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5383
0c93eabf
CY
5384 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5385 when finished (Bug#10963).
5386
c491fa41
MR
53872012-03-11 Martin Rudalics <rudalics@gmx.at>
5388
5389 * window.el (split-window-below): Fix bug in case where
5390 split-window-keep-point is nil (Bug#10971).
5391
300e8fa5
JL
53922012-03-11 Juri Linkov <juri@jurta.org>
5393
5394 * replace.el (replace-highlight): Set isearch-word to nil
5395 unconditionally. (Bug#10887)
5396
dbf6c5a1
EZ
53972012-03-10 Eli Zaretskii <eliz@gnu.org>
5398
5399 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5400 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5401 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5402 (mairix-widget-create-query): Add usage information about mairix
5403 search forms: negating words, searching for substrings, etc.
5404
b9e501de
JP
54052012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5406
5407 * international/fontset.el (font-encoding-alist): Add an entry for
5408 ksx1001 (Bug#5667).
5409
92795c91
RS
54102012-03-10 Richard Stallman <rms@gnu.org>
5411
1694e6c1
RS
5412 * mail/sendmail.el (mail-encode-header):
5413 Set rfc2047-encode-encoded-words.
5414
607e8555
RS
5415 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5416
de3bc99a
RS
5417 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5418 view buffer means not swapped.
5419 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5420 (rmail-write-region-annotate): Error if real text has disappeared.
5421
92795c91
RS
5422 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5423
699bd04e
CY
54242012-03-10 Chong Yidong <cyd@gnu.org>
5425
5426 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5427 * emulation/cua-base.el (cua--init-keymaps):
5428 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5429
570a1714
MR
54302012-03-10 Martin Rudalics <rudalics@gmx.at>
5431
dbbc2e69
SM
5432 * speedbar.el (speedbar-unhighlight-one-tag-line):
5433 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5434
82dcf4e4
CY
54352012-03-10 Chong Yidong <cyd@gnu.org>
5436
7a2c7ca7
CY
5437 * minibuffer.el (completion-in-region, completion-help-at-point):
5438 Give the completion field overlay a high priority (Bug#6830).
5439
82dcf4e4
CY
5440 * dired.el (dired-goto-file): Recognize absolute file name
5441 listings (Bug#7126).
5442 (dired-goto-file-1): New helper function.
5443 (dired-toggle-read-only): Inhibit warnings.
5444
052e28ac
MA
54452012-03-09 Michael Albinus <michael.albinus@gmx.de>
5446
75f1671a 5447 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5448 there are no properties.
5449
95d5e396
LL
54502012-03-09 Leo Liu <sdl.web@gmail.com>
5451
5452 * savehist.el (savehist-printable): Stricter check for string
5453 value (Bug#10937).
5454
3f018d6d
EZ
54552012-03-09 Eli Zaretskii <eliz@gnu.org>
5456
dbbc2e69
SM
5457 * mail/smtpmail.el (smtpmail-send-it):
5458 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5459 valid mbox format.
5460
f7fd3d79
GM
54612012-03-09 Glenn Morris <rgm@gnu.org>
5462
5463 * files.el (dir-locals-find-file):
5464 Don't check result is regular, readable.
5465 (dir-locals-read-from-file): Demote errors.
5466
6ff6e72f
EZ
54672012-03-08 Eli Zaretskii <eliz@gnu.org>
5468
dbbc2e69
SM
5469 * international/quail.el (quail-insert-kbd-layout):
5470 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5471 layout cell, to prevent their reordering by bidi display engine.
5472 For details, see the discussion in
5473 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5474
9cec7834
AM
54752012-03-08 Alan Mackenzie <acm@muc.de>
5476
5477 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5478 the starting position; make it extend the marked region when
5479 invoked repeatedly - all under appropriate circumstances.
5480 Fixes bugs #5525, #10906.
5481
9a40b8d4
GM
54822012-03-08 Glenn Morris <rgm@gnu.org>
5483
5484 * files.el (locate-dominating-file, dir-locals-find-file):
5485 Undo 2012-03-06 change.
5486
7a08ed35
EZ
54872012-03-07 Eli Zaretskii <eliz@gnu.org>
5488
dbbc2e69
SM
5489 * international/quail.el (quail-help):
5490 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5491 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5492 for the reason.
5493
5aca4f71 54942012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5495
5496 Avoid superfluous registering of signals. (Bug#10807)
5497
5498 * notifications.el (notifications-on-action-object)
5499 (notifications-on-close-object): New defvars.
5500 (notifications-on-action-signal, notifications-on-closed-signal):
5501 Unregister the signal if not needed any longer.
5502 (notifications-notify): Register `notifications-action-signal' or
5503 `notifications-closed-signal', if :on-action or :on-close has been
5504 passed as argument.
5505
78e8b10a
CY
55062012-03-07 Chong Yidong <cyd@gnu.org>
5507
5508 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5509 non-X platforms.
5510
69481eb8
GM
55112012-03-06 Glenn Morris <rgm@gnu.org>
5512
5513 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5514 (x-disown-selection-internal, x-get-selection-internal):
5515 Doc fix (add arglist signatures). (Bug#10783)
5516
133b8e11
KS
55172012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5518
5519 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5520 Handle breakpoints with no "type".
5521
99a83064
GM
55222012-03-06 Glenn Morris <rgm@gnu.org>
5523
5524 * files.el (locate-dominating-file): Add optional predicate argument.
5525 (dir-locals-find-file): Make use of above change.
5526
17798e78
TTN
55272012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5528
5529 * info.el (Info-insert-dir): Also try "dir.gz".
5530
eb182446
GM
55312012-03-06 Glenn Morris <rgm@gnu.org>
5532
8f2114ee
GM
5533 * files.el (dir-locals-find-file):
5534 Ignore non-readable or non-regular files. (Bug#10928)
5535
eb182446
GM
5536 * files.el (locate-dominating-file): Doc fix.
5537
24679323
AS
55382012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5539
5540 * calendar/calendar.el (calendar-set-mode-line):
5541 `getenv' returns a string. (Bug#10951)
5542
01d972a9
LL
55432012-03-05 Leo Liu <sdl.web@gmail.com>
5544
109aa8a9
LL
5545 * simple.el (backward-delete-char-untabify): Constrain point to
5546 field (Bug#10939).
5547
01d972a9
LL
5548 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5549
10607bea
CY
55502012-03-05 Chong Yidong <cyd@gnu.org>
5551
5552 * simple.el (count-words): If called from Lisp, return the word
5553 count, for symmetry with `count-lines'. Arglist changed.
5554 (count-words--message): Args changed. Consolidate counting code
5555 from count-words and count-words-region.
5556 (count-words-region): Caller changed.
5557 (count-lines-region): Make it an obsolete alias.
5558
5dd11cfe
TH
55592012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5560
5561 * saveplace.el (save-place-to-alist)
5562 (save-place-ignore-files-regexp): Allow value nil to disable this
5563 feature.
5564
c349f4e6
CY
55652012-03-04 Chong Yidong <cyd@gnu.org>
5566
5567 * faces.el (face-spec-reset-face): For the default face, reset the
5568 attributes to default values (Bug#10748).
5569
e627be4c
LMI
55702012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5571
5572 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5573 previous patch: Check `message-send-mail-function', and not the
5574 default function (bug#10897).
5575
ebeabff4
MA
55762012-03-04 Michael Albinus <michael.albinus@gmx.de>
5577
a41a6cf4
MA
5578 * notifications.el (notifications-on-action-signal)
5579 (notifications-on-closed-signal): Check for unique service name of
5580 incoming event. Fix error in removing entry.
ebeabff4 5581 (top): Register for signals with wildcard service name.
a41a6cf4 5582 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5583
c1ca42b4
CY
55842012-03-04 Chong Yidong <cyd@gnu.org>
5585
dc9924b8 5586 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5587
ea16568d
GM
55882012-03-04 Glenn Morris <rgm@gnu.org>
5589
5590 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5591 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5592 (expand-abbrev, define-abbrev-table): Doc fixes.
5593
fbae4637
LMI
55942012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5595
5596 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5597 `message-default-send-mail-function' and not `send-mail-function'
5598 when doing the prompting for `sendmail-query-once' before sending
5599 in Message buffers (bug#10897).
5600
a1e7225c
LMI
5601 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5602 This is inconsistent with all the other stream functions, which leave
5603 the setting up to the higher levels (if so wanted) (bug#10931).
5604
56d093a9
AM
56052012-03-02 Alan Mackenzie <acm@muc.de>
5606
5607 Depessimize the handling of very large macros.
5608
5609 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5610 (c-macro-cache-syntactic): New variables to implement a one
5611 element macro cache.
5612 (c-invalidate-macro-cache): New function.
5613 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5614 Adapt to use the new cache.
5615 (c-state-safe-place): Use better the cache of safe positions.
5616 (c-state-semi-nonlit-pos-cache)
5617 (c-state-semi-nonlit-pos-cache-limit):
5618 New variables for...
5619 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5620 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5621 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5622 Use c-state-semi-safe-place.
56d093a9 5623
dbbc2e69
SM
5624 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5625 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5626
817e5c3d
MA
56272012-03-02 Michael Albinus <michael.albinus@gmx.de>
5628
dbbc2e69
SM
5629 * jka-compr.el (jka-compr-call-process):
5630 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5631 not remote.
5632
a032a702
MA
56332012-03-01 Michael Albinus <michael.albinus@gmx.de>
5634
5635 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5636 access of FILE2, if FILE1 does not exist.
5637
99a54f21
MA
5638 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5639 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5640
5641 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5642 Add "PAGER=" to `process-environment'.
5643
f6561e1f
MM
56442012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5645
5646 * progmodes/sql.el: Bug fix
5647 (sql-get-login-ext): Save login values in globals.
5648 (sql-get-login): Use new version of `sql-get-login-ext'.
5649 (sql-interactive-mode): Set global `sql-connection' to nil.
5650 (sql-connect): Set global values for connection.
5651 (sql-product-interactive): Save global values as buffer local.
5652
2d44d9cc
LL
56532012-02-29 Leo Liu <sdl.web@gmail.com>
5654
5655 * abbrev.el (define-abbrevs): Reset sys to nil.
5656
96b49301 56572012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5658
bf7f9bc5
JB
5659 * files.el (file-equal-p): Rename from `files-equal-p'.
5660 Return nil when one or both files don't exist.
96b49301 5661 (file-subdir-of-p): Now only top directory must exists,
5662 return nil if it doesn't.
bf7f9bc5
JB
5663 (copy-directory): No need to test with `file-subdir-of-p' after
5664 creating dir.
5665 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5666 to `file-equal-p'.
96b49301 5667
44e97401
GM
56682012-02-28 Glenn Morris <rgm@gnu.org>
5669
5670 * shell.el (shell-mode):
5671 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5672 * play/landmark.el (landmark-font-lock-face-O):
5673 * play/handwrite.el (handwrite):
5674 * play/gomoku.el (gomoku-O):
5675 * net/browse-url.el (browse-url-browser-display):
5676 * international/mule.el (define-charset):
5677 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5678 * filesets.el (filesets-find-file-delay):
5679 * eshell/em-xtra.el (eshell-xtra):
5680 * eshell/em-unix.el (eshell-grep):
5681 * emulation/viper.el (viper-mode):
5682 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5683 * emacs-lisp/easymenu.el (easy-menu-define):
5684 * calendar/timeclock.el (timeclock-use-display-time):
5685 * bs.el (bs-mode):
5686 * bookmark.el (bookmark-save-flag):
5687 Doc fix (standardize possessive apostrophe usage).
5688
c98c6276
CY
56892012-02-27 Chong Yidong <cyd@gnu.org>
5690
bf7f9bc5
JB
5691 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5692 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5693
c98c6276
CY
5694 * font-lock.el (font-lock-specified-p): Rename from
5695 font-lock-spec-present. Callers changed.
5696
9c62cd04 56972012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5698
bf7f9bc5
JB
5699 * emacs-lisp/package.el (package-compute-transaction):
5700 Handle holding a package version to t in package-load-list.
8ac9e529 5701
530739c9
MA
57022012-02-26 Michael Albinus <michael.albinus@gmx.de>
5703
5704 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5705 (tramp-get-inode, tramp-get-device): Use cached values.
5706
487915d7
AM
57072012-02-26 Alan Mackenzie <acm@muc.de>
5708
5709 Check there is a font-lock specification before doing initial
5710 fontification.
5711
5712 * font-core.el (font-lock-mode): Move the conditional from
5713 :after-hook to font-lock-initial-fontify.
5714 (font-lock-default-function): Move the check for a specification
5715 to font-lock-spec-present.
5716
dc9924b8 5717 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5718 (font-lock-spec-present): New function.
5719
4fd96557
JB
57202012-02-26 Jim Blandy <jimb@red-bean.com>
5721
5722 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5723 (gdb-send): Apply it to the operand of the '-interpreter-exec
5724 console' command, so that we can pass arguments with (say) quotes
5725 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5726
9a4888c0
CY
57272012-02-26 Chong Yidong <cyd@gnu.org>
5728
07498861
CY
5729 * help-fns.el (describe-function-1): Clarify description of
5730 remapping (Bug#10844).
5731
9a4888c0
CY
5732 * files.el (files-equal-p): Doc fix.
5733 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5734 and quit the loop once a mismatch is found.
5735
ea8fb88d
JB
57362012-02-25 Juanma Barranquero <lekktu@gmail.com>
5737
5738 * bs.el (bs--show-with-configuration): Don't throw an error
5739 if the window cannot be split; otherwise, subsequent calls to
5740 bs-show fail, restoring a stale window config. (Bug#10882)
5741
525795c1
JD
57422012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5743
5744 * term/ns-win.el (global-map): Bind ns-drag-file to
5745 ns-find-file (Bug#5855, Bug#10050).
5746
f008086f
AS
57472012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5748
5749 * calendar/parse-time.el (parse-time-string): Allow extractor to
5750 return nil.
5751
a3fcfa99
MA
57522012-02-25 Michael Albinus <michael.albinus@gmx.de>
5753
91027d08
JB
5754 * net/tramp.el (tramp-file-name-for-operation):
5755 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5756
5757 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5758 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5759 Add COPY-CONTENTS argument.
a3fcfa99 5760
67b0de11
CY
57612012-02-25 Chong Yidong <cyd@gnu.org>
5762
5763 Add custom groups for VC backends, for consistency with vc-bzr.
5764
5765 * vc/vc-arch.el (vc-arch):
5766 * vc/vc-cvs.el (vc-cvs):
5767 * vc/vc-git.el (vc-git):
5768 * vc/vc-hg.el (vc-hg):
5769 * vc/vc-mtn.el (vc-mtn):
5770 * vc/vc-rcs.el (vc-rcs):
5771 * vc/vc-sccs.el (vc-sccs):
5772 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5773 All relevant defcustoms reassigned.
5774
3c9dfce6
CY
57752012-02-25 Chong Yidong <cyd@gnu.org>
5776
1339bf43
CY
5777 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5778
3c9dfce6
CY
5779 * term/x-win.el (x-initialize-window-system): Reduce default for
5780 x-selection-timeout to 5 seconds (Bug#8869).
5781
25b2e303 57822012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5783
ec70a47d
GM
5784 * files.el (files-equal-p, file-subdir-of-p): New functions.
5785 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5786 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5787 * dired-aux.el (dired-copy-file-recursive): Same.
5788 (dired-create-files): Modify destination when source is equal to
5789 dest when copying files.
53a46cd0 5790 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5791
914260cd
MA
57922012-02-24 Michael Albinus <michael.albinus@gmx.de>
5793
5794 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5795 (Bug#10874)
5796
2cb228f7
AM
57972012-02-23 Alan Mackenzie <acm@muc.de>
5798
5799 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5800 parameter "after-hook:" to allow the expansion to run code after
5801 the execution of the mode hooks.
5802
5803 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5804 from font-lock-mode-internal.
2cb228f7 5805
91027d08 5806 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5807 :after-hook.
5808
8f0fde21
SM
58092012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5810
3e88618b
SM
5811 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5812 (completion--cache-all-sorted-completions): New function.
5813 (completion-all-sorted-completions): Use it.
5814 (completion--do-completion, minibuffer-force-complete):
5815 Use it to re-instate the flush hook.
5816
8f0fde21
SM
5817 * icomplete.el (icomplete-completions): Replace last fix with a better
5818 one (bug#10850).
5819
8e911f6f
DG
58202012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5821
5822 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5823 when it might call us back infinitely (bug#10797).
5824
49fe4321
GM
58252012-02-23 Glenn Morris <rgm@gnu.org>
5826
5827 * minibuffer.el (completion-category-overrides): Doc fix.
5828
b291b572
SM
58292012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5832 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5833
31a9ef2e
GM
58342012-02-23 Glenn Morris <rgm@gnu.org>
5835
5e6e6794 5836 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5837 (authors-obsolete-files-regexps, authors-ignored-files)
5838 (authors-ambiguous-files, authors-renamed-files-alist):
5839 Add more entries.
5840
0bd1e074
JL
58412012-02-23 Juri Linkov <juri@jurta.org>
5842
5843 * isearch.el (isearch-occur): Sync interactive spec with occur's
5844 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5845
b617673c
JL
5846 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5847
19e9789e
JL
58482012-02-22 Juri Linkov <juri@jurta.org>
5849
5850 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5851 (ucs-insert): Doc fix. Check for hex digits in the string.
5852 Don't display `nil' in the error message. (Bug#10857)
5853
f41ce09d
AM
58542012-02-22 Alan Mackenzie <acm@muc.de>
5855
7a71b18d 5856 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5857
ac2eceee
GM
58582012-02-22 Glenn Morris <rgm@gnu.org>
5859
5860 * ffap.el (ffap-c-path):
5861 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5862
abd1f678
CY
58632012-02-22 Chong Yidong <cyd@gnu.org>
5864
5865 * custom.el (load-theme): Doc fix.
5866
f25aef2e
GM
58672012-02-22 Glenn Morris <rgm@gnu.org>
5868
5869 * dired-x.el (dired-guess-shell-alist-default):
5870 Remove escape sequences from nroff output. (Bug#172)
5871
5f8dc2ca
GM
58722012-02-21 Glenn Morris <rgm@gnu.org>
5873
6ff86ec4
GM
5874 * vc/emerge.el (emerge-defvar-local):
5875 Set `permanent-local' property rather than unused `preserved'.
5876
be3223a3 5877 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5878 (picture-mode-map): Use it. (Bug#10860)
5879 (picture-mode): Doc fix.
5880
3fe58f4f
JB
58812012-02-21 Juanma Barranquero <lekktu@gmail.com>
5882
5883 * newcomment.el (uncomment-region-default): Remove unused binding.
5884
f9a998c3
GM
58852012-02-21 Glenn Morris <rgm@gnu.org>
5886
5887 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5888 (picture-self-insert, picture-tab-chars): Doc fix.
5889 (picture-mode-map): Fix C-a, C-e.
5890
c6029348
GM
58912012-02-20 Glenn Morris <rgm@gnu.org>
5892
5893 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5894
ab1ce9d7
LL
58952012-02-20 Leo Liu <sdl.web@gmail.com>
5896
5897 * icomplete.el (icomplete-completions): Check FROM arg before
5898 passing to substring (Bug#10850).
5899
0fd40f89
CY
59002012-02-19 Chong Yidong <cyd@gnu.org>
5901
5902 * comint.el: Require ansi-color.
5903 (comint-output-filter-functions): Add ansi-color-process-output.
5904
5905 * ansi-color.el: Don't set comint-output-filter-functions; it is
5906 now in the initial value defined in comint.el.
5907 (ansi-color-apply-face-function): New variable.
5908 (ansi-color-apply-on-region): Use it.
5909 (ansi-color-apply-overlay-face): New function.
5910
5911 * shell.el (shell): No need to require ansi-color.
5912 (shell-mode): Use ansi-color-apply-face-function to highlight
5913 color escapes using font-lock-face property (Bug#10835).
5914
20af2394
CY
59152012-02-19 Chong Yidong <cyd@gnu.org>
5916
5917 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5918 mode-line formats (Bug#10839).
5919
e23a3fbe
GM
59202012-02-18 Glenn Morris <rgm@gnu.org>
5921
b474519e
GM
5922 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5923
5924 * mail/undigest.el (unforward-rmail-message): Doc fix.
5925
e23a3fbe
GM
5926 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5927
57939ff4
EZ
59282012-02-18 Eli Zaretskii <eliz@gnu.org>
5929
5930 * international/characters.el (script-list): Sync with the latest
5931 Unicode Character Database.
5932
0c23686e
AS
59332012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5934
5935 * international/titdic-cnv.el: Remove duplicate coding tag.
5936 * language/cham.el: Likewise.
5937 * language/tai-viet.el: Likewise.
5938
6818b449
GM
59392012-02-18 Glenn Morris <rgm@gnu.org>
5940
5941 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5942 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5943 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5944 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5945 * calendar/holidays.el (holiday-bahai-holidays)
5946 (calendar-holidays, list-holidays):
5947 Use utf-8 Bahá'í in doc-strings, menus, etc.
5948
0311a3fc
TH
59492012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5950
5951 * saveplace.el (save-place-ignore-files-regexp): New variable
5952 allowing for excluding files from saving their location of point.
5953 The default value matches the temporary commit message editing
5954 files from Git, SVN, Bazaar, and Mercurial.
5955 (save-place-to-alist): Use it.
5956
d209e2fb 59572012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5958 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * newcomment.el (uncomment-region-default): Don't leave extra space
5961 when an arg is provided (bug#8150).
5962
ee0ce425
TZ
59632012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5964
eb864a71 5965 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5966
95ddf442
GM
59672012-02-17 Glenn Morris <rgm@gnu.org>
5968
5969 * net/socks.el: Require network-stream. (Bug#10599)
5970
48dd1e39 59712012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5972
5973 * international/charprop.el:
5974 * international/uni-name.el:
5975 * international/uni-old-name.el:
5976 * international/uni-comment.el: Regenerate.
5977
d68cd087
GM
59782012-02-16 Glenn Morris <rgm@gnu.org>
5979
5980 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5981 Interactively in calendar buffer, give an error if not on a date.
5982
13932042
GM
59832012-02-15 Glenn Morris <rgm@gnu.org>
5984
5985 * shell.el (shell-delimiter-argument-list):
5986 Revert 2011-02-17 change. (Bug#8027)
5987
c3a70e2b
CY
59882012-02-15 Chong Yidong <cyd@gnu.org>
5989
60236b0d
CY
5990 * minibuffer.el (completion-at-point-functions): Doc fix.
5991
c3a70e2b
CY
5992 * custom.el (defcustom): Doc fix; note use of defvar.
5993
9f26dc24
GM
59942012-02-15 Glenn Morris <rgm@gnu.org>
5995
5996 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5997 Doc fixes.
5998
6546b134
GM
59992012-02-14 Glenn Morris <rgm@gnu.org>
6000
6001 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6002
d29b2b4c
LI
60032012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6004
6005 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6006 way the ports list is computed.
835bdcba
LI
6007 (smtpmail-query-smtp-server): Prompt the user for a port number if
6008 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6009
08dcdbc9
TZ
60102012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6011
6012 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6013
2605051a
GM
60142012-02-13 Glenn Morris <rgm@gnu.org>
6015
6016 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6017
7ee99f32
TZ
60182012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6019
6020 * net/gnutls.el (gnutls-trustfiles): New variable.
6021 (gnutls-negotiate): Use it.
6022
5f0af64f
LI
60232012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6024
6025 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6026 does its stuff if Gnus is running.
6027
c14fcc95
AM
60282012-02-13 Alan Mackenzie <acm@muc.de>
6029
6030 Fix a loop in c-set-fl-decl-start.
6031
7a71b18d 6032 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6033 c-backward-syntactic-ws actually moves backwards.
6034
142b4d90
LL
60352012-02-13 Leo Liu <sdl.web@gmail.com>
6036
6037 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6038 beginning so that all \C-o chars are removed.
6039
fa9958a6
TZ
60402012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6041
dc9924b8 6042 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6043
0bc5886a
AM
60442012-02-12 Alan Mackenzie <acm@muc.de>
6045
6046 Fix infinite loop with long macros.
4d6769e1 6047 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6048
d4bd55e7
CY
60492012-02-12 Chong Yidong <cyd@gnu.org>
6050
6051 * window.el (display-buffer): Doc fix (Bug#10785).
6052
66f3fe22
GM
60532012-02-12 Glenn Morris <rgm@gnu.org>
6054
bd7da63e
GM
6055 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6056 (x-disown-selection-internal, x-get-selection-internal):
6057 Sync docs with the xselect.c versions.
6058
66f3fe22
GM
6059 * allout-widgets.el: Add missing license notice.
6060
3e0d2fa7
GM
60612012-02-11 Glenn Morris <rgm@gnu.org>
6062
cfecdf09
GM
6063 * select.el (x-get-selection-internal, x-own-selection-internal)
6064 (x-disown-selection-internal):
6065 * x-dnd.el (x-get-selection-internal): Update declarations.
6066
6d216d7f
GM
6067 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6068
2bed3f04
GM
6069 * window.el (window-sides-slots):
6070 * tool-bar.el (tool-bar-position):
6071 * term/xterm.el (xterm-extra-capabilities):
6072 * ses.el (ses-self-reference-early-detection):
6073 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6074 (verilog-auto-wire-type)
6075 (verilog-auto-delete-trailing-whitespace)
6076 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6077 (verilog-auto-tieoff-declaration):
6078 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6079 (sql-oracle-statement-starters, sql-oracle-scan-on):
6080 * progmodes/prolog.el (prolog-align-comments-flag)
6081 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6082 (prolog-left-indent-regexp, prolog-paren-indent-p)
6083 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6084 (prolog-types, prolog-mode-specificators)
6085 (prolog-determinism-specificators, prolog-directives)
6086 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6087 (prolog-electric-dot-flag)
6088 (prolog-electric-dot-full-predicate-template)
6089 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6090 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6091 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6092 (prolog-program-switches, prolog-prompt-regexp)
6093 (prolog-debug-on-string, prolog-debug-off-string)
6094 (prolog-trace-on-string, prolog-trace-off-string)
6095 (prolog-zip-on-string, prolog-zip-off-string)
6096 (prolog-use-standard-consult-compile-method-flag)
6097 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6098 (prolog-imenu-max-lines, prolog-info-predicate-index)
6099 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6100 (prolog-char-quote-workaround):
6101 * progmodes/cc-vars.el (c-defun-tactic):
6102 * net/tramp.el (tramp-encoding-command-interactive)
6103 (tramp-local-end-of-line):
6104 * net/soap-client.el (soap-client):
6105 * net/netrc.el (netrc-file):
6106 * net/gnutls.el (gnutls):
6107 * minibuffer.el (completion-category-overrides)
6108 (completion-cycle-threshold)
6109 (completion-pcm-complete-word-inserts-delimiters):
6110 * man.el (Man-name-local-regexp):
6111 * mail/feedmail.el (feedmail-display-full-frame):
6112 * international/characters.el (glyphless-char-display-control):
6113 * eshell/em-ls.el (eshell-ls-date-format):
6114 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6115 (lisp-lambda-list-keyword-parameter-indentation)
6116 (lisp-lambda-list-keyword-parameter-alignment):
6117 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6118 * dired-x.el (dired-omit-verbose):
6119 * cus-theme.el (custom-theme-allow-multiple-selections):
6120 * calc/calc.el (calc-highlight-selections-with-faces)
6121 (calc-lu-field-reference, calc-lu-power-reference)
6122 (calc-note-threshold):
6123 * battery.el (battery-mode-line-limit):
6124 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6125 (archive-7z-update):
6126 * allout.el (allout-prefixed-keybindings)
6127 (allout-unprefixed-keybindings)
6128 (allout-inhibit-auto-fill-on-headline)
6129 (allout-flattened-numbering-abbreviation):
6130 * allout-widgets.el (allout-widgets-auto-activation)
6131 (allout-widgets-icons-dark-subdir)
6132 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6133 (allout-widgets-theme-dark-background)
6134 (allout-widgets-theme-light-background)
6135 (allout-widgets-item-image-properties-emacs)
6136 (allout-widgets-item-image-properties-xemacs)
6137 (allout-widgets-run-unit-tests-on-load)
6138 (allout-widgets-time-decoration-activity)
6139 (allout-widgets-hook-error-post-time)
6140 (allout-widgets-track-decoration):
6141 Add missing :version tags to new defcustoms and defgroups.
6142
5fec1b8e
GM
6143 * progmodes/sql.el (sql-ansi-statement-starters)
6144 (sql-oracle-statement-starters): Add custom type.
6145
3e0d2fa7
GM
6146 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6147 (prolog-system-version): Give it a type.
6148
90b671e2
EZ
61492012-02-11 Eli Zaretskii <eliz@gnu.org>
6150
6151 * term/pc-win.el (x-select-text, x-selection-owner-p)
6152 (x-own-selection-internal, x-disown-selection-internal)
6153 (x-get-selection-internal): Sync doc strings and argument lists
6154 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6155
5eac0c02
LL
61562012-02-11 Leo Liu <sdl.web@gmail.com>
6157
6158 * progmodes/python.el (python-end-of-statement): Fix infinite
6159 loop. (Bug#10788)
6160
f82cb659
GM
61612012-02-10 Glenn Morris <rgm@gnu.org>
6162
6163 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6164 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6165
cc26d239
LI
61662012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6167
6168 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6169 about SMTP before checking the From header.
6170
91027d08 6171 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6172 into own function for reuse by emacsbug.el.
6173
1be3ca5a
LL
61742012-02-10 Leo Liu <sdl.web@gmail.com>
6175
6176 * subr.el (condition-case-unless-debug): Rename from
6177 condition-case-no-debug. All callers changed.
6178 (with-demoted-errors): Fix caller.
6179
6180 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6181 * nxml/rng-valid.el (rng-do-some-validation):
6182 * emacs-lisp/package.el (package-refresh-contents)
6183 (package-menu-execute):
6184 * desktop.el (desktop-create-buffer):
91027d08 6185 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6186
b011fbfe
GM
61872012-02-10 Glenn Morris <rgm@gnu.org>
6188
b2096d72
GM
6189 * textmodes/bibtex.el:
6190 Add missing :version tags for new/changed defcustoms.
6191
b011fbfe
GM
6192 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6193
4c7e65bf
LI
61942012-02-09 Lars Ingebrigtsen <larsi@rusty>
6195
6196 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6197 (smtpmail-via-smtp): Use it, or fall back on the From address.
6198 (smtpmail-send-it): Ditto.
6199
f3934f6f
SM
62002012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6203 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6204 (byte-compile-tmp-var): New const.
6205 (byte-compile-defvar): Use it to minimize .elc size.
6206 Just use `defvar' rather than simulate it (bug#10761).
6207
a075a2c5
GM
62082012-02-09 Glenn Morris <rgm@gnu.org>
6209
cf3aa21b
GM
6210 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6211
354998cd
GM
6212 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6213 Add :version tags.
6214
dc9924b8
SM
6215 * progmodes/compile.el (compilation-error-screen-columns)
6216 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6217
dab3703d
GM
6218 * vc/log-view.el (log-view-toggle-entry-display):
6219 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6220
3f88cd72
GM
6221 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6222 (report-emacs-bug-can-use-xdg-email):
6223 (report-emacs-bug-insert-to-mailer): Doc fixes.
6224 (report-emacs-bug): Message fix.
6225
d95b247d
GM
6226 * net/browse-url.el (browse-url-can-use-xdg-open)
6227 (browse-url-xdg-open): Doc fixes.
6228
a075a2c5
GM
6229 * electric.el (electric-indent-mode, electric-pair-mode)
6230 (electric-layout-rules, electric-layout-mode): Doc fixes.
6231 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6232
ffb6157e
MR
62332012-02-08 Martin Rudalics <rudalics@gmx.at>
6234
6235 * server.el (server-unselect-display): Don't inadvertently kill
6236 the current buffer. (Bug#10729)
6237
e1ac4066
GM
62382012-02-08 Glenn Morris <rgm@gnu.org>
6239
34e8a2da
GM
6240 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6241 (sql-list-table): Doc fixes.
6242
b4ac6e8c
GM
6243 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6244 Comment out (does nothing).
6245
e1ac4066
GM
6246 * completion.el (dynamic-completion-mode):
6247 * dirtrack.el (dirtrack-debug-mode):
6248 * electric.el (electric-layout-mode):
6249 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6250 * face-remap.el (text-scale-mode, buffer-face-mode):
6251 * iimage.el (iimage-mode):
6252 * image-mode.el (image-transform-mode):
6253 * minibuffer.el (completion-in-region-mode):
6254 * scroll-lock.el (scroll-lock-mode):
6255 * simple.el (next-error-follow-minor-mode):
6256 * tar-mode.el (tar-subfile-mode):
6257 * tooltip.el (tooltip-mode):
6258 * vcursor.el (vcursor-use-vcursor-map):
6259 * wid-browse.el (widget-minor-mode):
6260 * emulation/tpu-edt.el (tpu-edt-mode):
6261 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6262 * international/iso-ascii.el (iso-ascii-mode):
6263 * language/thai-util.el (thai-word-mode):
6264 * mail/supercite.el (sc-minor-mode):
6265 * net/goto-addr.el (goto-address-mode):
6266 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6267 * progmodes/cwarn.el (cwarn-mode):
6268 * progmodes/flymake.el (flymake-mode):
6269 * progmodes/glasses.el (glasses-mode):
6270 * progmodes/hideshow.el (hs-minor-mode):
6271 * progmodes/pascal.el (pascal-outline-mode):
6272 * textmodes/enriched.el (enriched-mode):
6273 * vc/smerge-mode.el (smerge-mode):
6274 Doc fixes (minor mode argument).
6275
5e0d957f
EZ
62762012-02-07 Eli Zaretskii <eliz@gnu.org>
6277
6278 * ls-lisp.el (ls-lisp-sanitize): New function.
6279 (ls-lisp-insert-directory): Use it to fix or remove any elements
6280 in file-alist with missing attributes. (Bug#4673)
6281
98d7371e
AM
62822012-02-07 Alan Mackenzie <acm@muc.de>
6283
6284 Fix spurious recognition of c-in-knr-argdecl.
6285
6286 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6287 putative K&R region.
6288
667ced3a
AM
62892012-02-07 Alan Mackenzie <acm@muc.de>
6290
eb864a71
LM
6291 * progmodes/cc-engine.el (c-forward-objc-directive):
6292 Prevent looping in "#pragma mark @implementation".
667ced3a 6293
5b77774d
MA
62942012-02-07 Michael Albinus <michael.albinus@gmx.de>
6295
6296 * notifications.el (notifications-on-closed-signal): Make `reason'
6297 optional. (Bug#10744)
6298
af008560
GM
62992012-02-07 Glenn Morris <rgm@gnu.org>
6300
60d47423
GM
6301 * emacs-lisp/easy-mmode.el (define-minor-mode):
6302 Doc fixes for the macro and the mode it defines.
6303
dd605cc4
GM
6304 * image.el (imagemagick-types-inhibit): Doc fix.
6305
af008560
GM
6306 * cus-start.el (imagemagick-render-type): Add it.
6307
5cc59a37
LI
63082012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6309
4d6769e1
JB
6310 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6311 Set the default at load time, too, so that `font-lock-fontify-buffer'
6312 can be called without setting up the entire mode first. This fixes
6313 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6314
9a6dd747
CY
63152012-02-06 Chong Yidong <cyd@gnu.org>
6316
2d16b285
CY
6317 * simple.el (list-processes--refresh): Delete exited processes
6318 (Bug#8094).
6319
171e9b6e
CY
6320 * comint.el (comint-next-prompt): next-single-char-property-change
6321 and prev-single-char-property-change never return nil (Bug#8657).
6322
9a6dd747
CY
6323 * custom.el (defcustom): Doc fix (Bug#9711).
6324
aa4589a7
CY
63252012-02-05 Chong Yidong <cyd@gnu.org>
6326
5c2a252f
CY
6327 * cus-edit.el (custom-variable-reset-backup): Quote the value
6328 before storing it in the customized-value property (Bug#6712).
4aab9006 6329 (custom-display): Add a customization type tag.
983b9602 6330 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6331
aa4589a7
CY
6332 * wid-edit.el (widget-field-value-get): New optional arg to
6333 suppress trailing whitespace truncation.
6334 (character): Use it (Bug#2689).
6335
1ff980ae
AS
63362012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6337
6338 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6339 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6340
03988c98
CY
63412012-02-05 Chong Yidong <cyd@gnu.org>
6342
eeb6cc88
CY
6343 * cus-edit.el (custom-variable-value-create): For mismatched
6344 types, show the current value (Bug#7600).
6345
03988c98
CY
6346 * custom.el (defcustom): Doc fix.
6347
f8cdeef0
GM
63482012-02-05 Glenn Morris <rgm@gnu.org>
6349
6350 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6351
0696d255
JB
63522012-02-05 Juanma Barranquero <lekktu@gmail.com>
6353
6354 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6355 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6356 (pp-last-sexp): Use `looking-at-p'.
6357
34c99998
GM
63582012-02-04 Glenn Morris <rgm@gnu.org>
6359
8f05da42
GM
6360 * files.el (revert-buffer):
6361 Doc fix (mention revert-buffer-in-progress-p).
6362
f160676e
GM
6363 * emacs-lisp/ert-x.el (ert-simulate-command):
6364 Check deferred-action-list (which is obsolete) is bound.
6365
c7291ad9
GM
6366 * subr.el (with-wrapper-hook): Doc fixes.
6367
34c99998
GM
6368 * simple.el (filter-buffer-substring-functions)
6369 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6370
6283a7d3
LL
63712012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6372
6373 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6374 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6375
e96e3013
LL
63762012-02-04 Leo Liu <sdl.web@gmail.com>
6377
6378 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6379
8ded50f2
GM
63802012-02-04 Glenn Morris <rgm@gnu.org>
6381
82ff1d13
GM
6382 * image.el (image-extension-data): Add obsolete alias.
6383
987a0a16
GM
6384 * isearch.el (isearch-update): Doc fix.
6385
ea32ef46
GM
6386 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6387
8ded50f2
GM
6388 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6389
eea14f31
GM
63902012-02-03 Glenn Morris <rgm@gnu.org>
6391
6392 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6393 (image-animate-timeout): Doc fix.
6394
6395 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6396
12f381b7
GM
63972012-02-02 Glenn Morris <rgm@gnu.org>
6398
953cebf5
GM
6399 * server.el (server-auth-dir): Doc fix.
6400 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6401
12f381b7
GM
6402 * subr.el (run-mode-hooks): Doc fix.
6403
953a8c3b
JL
64042012-02-02 Juri Linkov <juri@jurta.org>
6405
6406 * image-mode.el (image-toggle-display-image): Remove tautological
6407 `major-mode' from the `derived-mode-p' test.
6408
c5d3843c
KH
64092012-02-02 Kenichi Handa <handa@m17n.org>
6410
9f6e692e 6411 * composite.el (compose-region): Cancel previous change.
c5d3843c 6412
159462d4 64132012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6414
6415 * composite.el (compose-region, compose-string): Signal error for
6416 a null string component (Bug#6988).
6417
9f562668
CY
64182012-02-01 Chong Yidong <cyd@gnu.org>
6419
e2cef717
CY
6420 * view.el (view-buffer-other-window, view-buffer-other-frame):
6421 Handle special modes like view-buffer (Bug#10650).
6422 (view-buffer): Simplify.
6423
9f562668
CY
6424 * frame.el (set-frame-font): Tweak meaning of third argument.
6425
9f6e692e
JB
6426 * dynamic-setting.el (font-setting-change-default-font):
6427 Use set-frame-font (Bug#9982).
9f562668 6428
781acb9f
GM
64292012-02-01 Glenn Morris <rgm@gnu.org>
6430
6035be52
GM
6431 * progmodes/compile.el (compilation-internal-error-properties):
6432 Respect compilation-first-column in the "*compilation*" buffer.
6433
781acb9f
GM
6434 * emacs-lisp/easy-mmode.el (define-minor-mode):
6435 Relax :variable's test for a named function.
6436
abbceb00
AM
64372012-01-31 Alan Mackenzie <acm@muc.de>
6438
6439 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6440 off by one error.
6441
fce3fdeb
CY
64422012-01-31 Chong Yidong <cyd@gnu.org>
6443
6444 * frame.el (set-frame-font): New arg ALL-FRAMES.
6445
6446 * menu-bar.el (menu-set-font): Use set-frame-font.
6447
6448 * faces.el (face-spec-reset-face): Don't apply unspecified
6449 attribute values to the default face.
6450
47893581
JB
64512012-01-31 Juanma Barranquero <lekktu@gmail.com>
6452
6453 * progmodes/cwarn.el (cwarn): Remove dead link.
6454 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6455 Remove * from defcustom docstrings.
6456 (turn-on-cwarn-mode): Make obsolete.
6457 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6458 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6459
e58e988a
GM
64602012-01-31 Glenn Morris <rgm@gnu.org>
6461
60dc2671 6462 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6463 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6464 Allow named functions to be used as the cdr of :variable.
e58e988a 6465
7a3f511d
GM
64662012-01-30 Glenn Morris <rgm@gnu.org>
6467
6468 * emacs-lisp/authors.el (authors-fixed-entries):
6469 Remove reference to deleted file rnewspost.el.
6470
cb882333
JB
64712012-01-29 Juanma Barranquero <lekktu@gmail.com>
6472
6473 * window.el (window-with-parameter): Remove unused variable `windows'.
6474 (window--side-check): Remove unused variable `code'.
6475 (window--resize-siblings): Remove unused variable `first'.
6476 (adjust-window-trailing-edge): Remove unused variable `failed'.
6477 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6478 Use `let', not `let*'.
6479 (balance-windows-2): Remove unused variable `found'.
6480 (window--state-put-2): Remove unused variable `splits'.
6481 (window-state-put): Remove unused variable `selected'.
6482 (same-window-p): Use `string-match-p'.
6483 (display-buffer-assq-regexp): Remove unused variable `value'.
6484 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6485 Mark argument ALIST as ignored.
6486 (pop-to-buffer): Remove unused variable `old-window'.
6487
907201af
EZ
64882012-01-29 Eli Zaretskii <eliz@gnu.org>
6489
6490 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6491 and .lzma compressed files.
6492
ea162670
CY
64932012-01-29 Chong Yidong <cyd@gnu.org>
6494
5b95ee8a
CY
6495 * frame.el (window-system-default-frame-alist): Doc fix.
6496
ea162670
CY
6497 * dynamic-setting.el (font-setting-change-default-font): Don't
6498 change the default face if SET-FONT argument is non-nil (Bug#9982).
6499
d6e6f4b1
SB
65002012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6501
6502 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6503
0f29fa41 65042012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6505
6506 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6507 breakpoints in files outside current directory (Bug#6098).
6508
db174434
CY
65092012-01-29 Chong Yidong <cyd@gnu.org>
6510
6b25e4e2
SE
6511 * progmodes/python.el: Require ansi-color at top-level.
6512
6df6ae42
JB
6513 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6514 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6515 (lisp-mode-abbrev-table): Add doc.
6516 (lisp-mode-variables): Don't set local-abbrev-table.
6517 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6518
e70ee681
RW
65192012-01-28 Roland Winkler <winkler@gnu.org>
6520
6521 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6522
ace88aa2
RW
65232012-01-28 Roland Winkler <winkler@gnu.org>
6524
6525 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6526 (bibtex-set-dialect): Use it. Either set global values of
6527 dialect-dependent variables or bind these variables buffer-locally
6528 (Bug#10254).
6529 (bibtex-mode): Call bibtex-set-dialect via
6530 hack-local-variables-hook.
eb864a71
LM
6531 (bibtex-dialect): Update docstring.
6532 Add safe-local-variable predicate.
ace88aa2
RW
6533 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6534 bibtex-set-dialect.
6535 (bibtex-mode-map): Define menu for each dialect.
6536 (bibtex-entry): Fix docstring.
6537
93376c5b
CY
65382012-01-28 Chong Yidong <cyd@gnu.org>
6539
6540 * eshell/esh-arg.el (eshell-quote-argument): New function.
6541
6542 * eshell/esh-ext.el (eshell-invoke-batch-file):
6543 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6544 first arg to eshell-parse-command (Bug#10523).
6545
4372494f
DA
65462012-01-28 Drew Adams <drew.adams@oracle.com>
6547
6548 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6549 `default-directory' is non-nil.
6550
4d4ec1f8
EZ
65512012-01-28 Eli Zaretskii <eliz@gnu.org>
6552
6553 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6554 line that displays system-configuration-options. (Bug#9924)
6555
7c188927
DA
65562012-01-28 Drew Adams <drew.adams@oracle.com>
6557
6558 * descr-text.el (describe-char): Show information about POS, in
6559 addition to information about the character at POS. Improve and
6560 update the doc string. Change "code point" to "code point in
6561 charset", to avoid confusion with the character's Unicode code
6562 point shown above that. (Bug#10129)
6563
e0da685a
EZ
65642012-01-28 Eli Zaretskii <eliz@gnu.org>
6565
6566 * descr-text.el (describe-char): Show the raw character, not only
6567 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6568 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6569 for the reasons.
6570
70550acf
PH
65712012-01-28 Phil Hagelberg <phil@hagelb.org>
6572
eb864a71
LM
6573 * emacs-lisp/package.el (package-install):
6574 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6575
0ce8e868
CY
65762012-01-28 Chong Yidong <cyd@gnu.org>
6577
cb882333
JB
6578 * emacs-lisp/package.el (package-maybe-load-descriptor):
6579 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6580 (package-maybe-load-descriptor): Use it.
6581 (package-download-transaction): Fully load required packages
6582 inside the loop, so that `require' calls work (Bug#10593).
6583 (package-install): No need to call package-initialize now.
6584
2e7f3bea
CY
65852012-01-28 Chong Yidong <cyd@gnu.org>
6586
6e9bad14
CY
6587 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6588
f823b8ca
CY
6589 * tooltip.el (tooltip-mode): Doc fix.
6590 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6591
2680c309
CY
6592 * frame.el (set-cursor-color): Doc fix (Bug#352).
6593
d7a9e63b
CY
6594 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6595 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6596
2e7f3bea
CY
6597 * cus-edit.el (custom-buffer-create-internal): Fix search button
6598 action (Bug#10542).
2ae01800 6599 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6600
fc4f7a23
EW
66012012-01-27 Eduard Wiebe <usenet@pusto.de>
6602
6603 * dired.el (dired-mark-files-regexp):
6604 Include any subdirectory components. (Bug#10445)
6605
7dd37071
ML
66062012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6607
6608 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6609 Handle [host]:port syntax. (Bug#10533)
6610
a268160b
AH
66112012-01-27 Alex Harsanyi <harsanyi@mac.com>
6612
6613 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6614
e43273ef
GM
66152012-01-26 Glenn Morris <rgm@gnu.org>
6616
6617 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6618 * term.el (term-raw-escape-map): Use Control-X-prefix.
6619 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6620
1edf595d
MR
66212012-01-25 Martin Rudalics <rudalics@gmx.at>
6622
6623 * window.el (window-state-get, window--state-get-1): Don't deal
6624 with fixed-sizeness of windows. Simplify code.
6625
fa8eafef
JC
66262012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6627
6df6ae42
JB
6628 * window.el (window--state-get-1, window--state-put-2):
6629 Don't save and restore the mark.
fa8eafef 6630
0b21c100
CY
66312012-01-25 Chong Yidong <cyd@gnu.org>
6632
6633 * custom.el (custom-variable-p): Doc fix.
6634
5ae1a6c8
GM
66352012-01-25 Glenn Morris <rgm@gnu.org>
6636
40047858
GM
6637 * dired.el (dired-goto-file): Handle some of the more common
6638 characters that `ls -b' escapes. (Bug#10596)
6639
5ddce96c
GM
6640 * progmodes/compile.el (compilation-next-error-function):
6641 Respect compilation-first-column in the "*compilation*" buffer.
6642 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6643
5ae1a6c8
GM
6644 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6645
b559f1a9
GM
66462012-01-24 Glenn Morris <rgm@gnu.org>
6647
6648 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6649
6725d21a
JD
66502012-01-24 Julien Danjou <julien@danjou.info>
6651
6652 * color.el (color-rgb-to-hsl): Fix value computing.
6653 (color-hue-to-rgb): New function.
6654 (color-hsl-to-rgb): New function.
6655 (color-clamp, color-saturate-hsl, color-saturate-name)
6656 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6657 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6658
70df4bbe
GM
66592012-01-24 Glenn Morris <rgm@gnu.org>
6660
6661 * vc/vc-rcs.el (vc-rcs-create-tag):
6662 * vc/vc-sccs.el (vc-sccs-create-tag):
6663 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6664
802a2ae2
ML
66652012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6666
6667 * eshell/esh-util.el (eshell-read-hosts-file):
6668 Skip comment lines. (Bug#10549)
6669
d7128bb1
ML
6670 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6671
d1a5c3b4
JB
66722012-01-23 Juanma Barranquero <lekktu@gmail.com>
6673
2724d9c7
JB
6674 * subr.el (display-delayed-warnings): Doc fix.
6675 (collapse-delayed-warnings): New function to collapse identical
6676 adjacent warnings.
6677 (delayed-warnings-hook): Add it.
d1a5c3b4 6678
a5509865
MA
66792012-01-22 Michael Albinus <michael.albinus@gmx.de>
6680
6681 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6682
a5509865
MA
6683 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6684 (tramp-default-user-alist): Don't add "pscp".
6685 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6686 property "login-as", if set. (Bug#10530)
6687
cc6d5805
MA
66882012-01-21 Michael Albinus <michael.albinus@gmx.de>
6689
6690 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6691 "plink1" and "psftp". (Bug#10530)
6692
66932012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6694
6695 * international/mule-cmds.el (prefer-coding-system): Show a
6696 warning message if the default value of file-name-coding-system
6697 was not changed.
6698
f0960428
JC
66992012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6700
cb882333
JB
6701 * windmove.el (windmove-reference-loc):
6702 Fix windmove-reference-loc miscalculation.
f0960428 6703
dd6f2a63
JB
67042012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6705
6706 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6707 default unit.
6708
7b447e9b
GM
67092012-01-21 Glenn Morris <rgm@gnu.org>
6710
117a9ea1
GM
6711 * international/mule.el (auto-coding-alist): Add .tbz.
6712
7b447e9b
GM
6713 * files.el (local-enable-local-variables): Doc fix.
6714 (inhibit-local-variables-regexps): Rename from
6715 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6716 Doc fix. Add some extensions from auto-coding-alist.
6717 (inhibit-local-variables-suffixes):
6718 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6719 (inhibit-local-variables-p):
6720 New function, extracted from set-auto-mode-1.
6721 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6722 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6723 (hack-local-variables): Doc fix. Make the mode-only case
6724 respect enable-local-variables and friends.
6725 Respect inhibit-local-variables-regexps for file-locals, but
6726 not for directory-locals.
6727 (set-visited-file-name):
6728 Take account of inhibit-local-variables-regexps.
6729 Whether it applies may change as the file name is changed.
6730 * jka-cmpr-hook.el (jka-compr-install):
6731 * jka-compr.el (jka-compr-uninstall):
6732 Update for inhibit-first-line-modes-suffixes name change.
6733
dd6e3cdd
MR
67342012-01-20 Martin Rudalics <rudalics@gmx.at>
6735
6736 * help-macro.el (make-help-screen): Temporarily restore original
6737 binding for minor-mode-map-alist (Bug#10454).
6738
0d0deb38
JD
67392012-01-19 Julien Danjou <julien@danjou.info>
6740
6741 * color.el (color-name-to-rgb): Use the white color to find the max
6742 color component value and return correctly computed values.
6743 (color-name-to-rgb): Add missing float conversion for max value.
6744
34a02f46
MR
67452012-01-19 Martin Rudalics <rudalics@gmx.at>
6746
6747 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6748 special state value for window-persistent-parameters.
6749 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6750 (window--state-put-2): Reset all window parameters to nil before
6751 assigning values of persistent parameters.
6752
606c44c4
AM
67532012-01-18 Alan Mackenzie <acm@muc.de>
6754
6755 Eliminate sluggishness and hangs in fontification of "semicolon
6756 deserts".
6757
cb882333
JB
6758 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6759 Change value 10000 -> 3000.
606c44c4
AM
6760 (c-state-safe-place): Reformulate so it doesn't stack up an
6761 infinite number of wrong entries in c-state-nonlit-pos-cache.
6762 (c-determine-limit-get-base, c-determine-limit): New functions to
6763 determine backward search limits disregarding literals.
6764 (c-find-decl-spots): Amend commenting.
6765 (c-cheap-inside-bracelist-p): New function which detects "={".
6766
6767 * progmodes/cc-fonts.el
6768 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6769 backward search.
6770 (c-font-lock-declarations): Fix an occurrence of point being
6771 undefined. Check additionally for point being in a bracelist or
6772 near a macro invocation without a semicolon so as to avoid a
6773 fruitless time consuming search for a declarator. Give a more
6774 precise search limit for declarators using the new
6775 c-determine-limit.
6776
f3860cea
GM
67772012-01-18 Glenn Morris <rgm@gnu.org>
6778
6779 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6780 (set-auto-mode): Doc fixes.
6781
1db03b16
GM
67822012-01-17 Glenn Morris <rgm@gnu.org>
6783
0e6038be
GM
6784 * isearch.el (search-nonincremental-instead): Fix doc typo.
6785
1db03b16
GM
6786 * dired.el (dired-insert-directory): Handle newlines in directory name.
6787 (dired-build-subdir-alist): Unescape newlines in directory name.
6788
4cb0aa75
MA
67892012-01-17 Michael Albinus <michael.albinus@gmx.de>
6790
6791 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6792 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6793 (tramp-action-terminal): Use it. (Bug#10530)
6794
1d00653d
SM
67952012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6798
6a6ee00d
MR
67992012-01-16 Martin Rudalics <rudalics@gmx.at>
6800
6801 * window.el (window-state-ignored-parameters): Remove variable.
6802 (window--state-get-1): Rename argument MARKERS to IGNORE.
6803 Handle persistent window parameters. Make copy of clone-of
6804 parameter only if requested. (Bug#10348)
6805 (window--state-put-2): Install a window parameter only if it has
6806 a non-nil value or an existing parameter shall be overwritten.
6807
97912def
MA
68082012-01-15 Michael Albinus <michael.albinus@gmx.de>
6809
6810 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6811
688070a5
EZ
68122012-01-14 Eli Zaretskii <eliz@gnu.org>
6813
6814 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6815 don't pass the (nil) value of `upnode' to string-match.
6816
301afadc
CY
68172012-01-14 Chong Yidong <cyd@gnu.org>
6818
6819 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6820 Fix values recognized by the cursorBlink resource.
301afadc 6821
9e5788aa
PE
68222012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6823
6824 * epg.el (epg--make-temp-file): Avoid permission race condition
6825 when running on old Emacs versions (bug#10403).
6826
3cdb7f5a
GM
68272012-01-14 Glenn Morris <rgm@gnu.org>
6828
6829 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6830
8c82b1b4
AM
68312012-01-13 Alan Mackenzie <acm@muc.de>
6832
6833 Fix filling for when filladapt mode is enabled.
6834
6835 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6836 c-mask-paragraph, pass in `fill-paragraph' rather than
6837 `fill-region-as-paragraph'. (This is a reversion of a previous
6838 change.)
eb864a71
LM
6839 * progmodes/cc-mode.el (c-basic-common-init):
6840 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6841
e517eda4
GM
68422012-01-13 Glenn Morris <rgm@gnu.org>
6843
1498536e
GM
6844 * dired.el (dired-switches-escape-p): New function.
6845 (dired-insert-directory): Use dired-switches-escape-p.
6846 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6847
e517eda4
GM
6848 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6849
328f984d
GM
68502012-01-12 Glenn Morris <rgm@gnu.org>
6851
6852 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6853 changes in adaptive-fill-regexp. (Bug#10276)
6854
2cc769a8
AM
68552012-01-11 Alan Mackenzie <acm@muc.de>
6856
6857 Fix Emacs bug #10463 - put `widen's around the critical spots.
6858
1d00653d 6859 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6860 widen around each invocation of c-state-pp-to-literal. Remove an
6861 unused let variable.
6862
e52c37fa
GM
68632012-01-11 Glenn Morris <rgm@gnu.org>
6864
6865 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6866 Doc fix.
e52c37fa 6867
96f8741e
CY
68682012-01-10 Chong Yidong <cyd@gnu.org>
6869
1d00653d
SM
6870 * net/network-stream.el (network-stream-open-starttls):
6871 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6872 response to the capability command.
6873
b09a806e
GM
68742012-01-10 Glenn Morris <rgm@gnu.org>
6875
6876 * mail/unrmail.el (unrmail): Tweak previous change.
6877
7655cb66
CY
68782012-01-09 Chong Yidong <cyd@gnu.org>
6879
6880 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6881
9d5a8f0b
AM
68822012-01-08 Alan Mackenzie <acm@muc.de>
6883
6884 Optimise font locking in long enum definitions.
6885
6886 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6887 arm to a cond form to handle enums.
6888 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6889 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6890
9a0115ab 68912012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6892
6893 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6894 (Bug#10401)
6bb72cbd 6895
f186bb95
LMI
68962012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6897
29232a68
LMI
6898 * faces.el (set-face-attribute): Clarify the meaning of the nil
6899 frame (bug#10294).
6900
4e5d086d
LMI
6901 * subr.el (with-selected-frame): Mention that the selected frame
6902 is restored (bug#9980).
6903
8e66aebe
LMI
6904 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6905 (bug#9759).
6906
cd394be1 6907 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6908 (password-read): Don't autoload unused function.
6909
adf4e762
JB
69102012-01-07 Juanma Barranquero <lekktu@gmail.com>
6911
6912 * progmodes/which-func.el (which-func-mode): Turn into a
6913 non-interactive function and mark as obsolete (bug#10428).
6914
89bd9ccd
CY
69152012-01-06 Chong Yidong <cyd@gnu.org>
6916
6917 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6918 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6919 functions, along with 1 and -1.
6920
4afee9d5
EZ
69212012-01-06 Eli Zaretskii <eliz@gnu.org>
6922
6923 * time.el (display-time-load-average)
6924 (display-time-default-load-average): Doc fixes. See the thread
6925 starting at
6926 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6927 for the details.
6928
536aea70
GM
69292012-01-06 Glenn Morris <rgm@gnu.org>
6930
665ae865
GM
6931 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6932 has no messages. (Bug#10377)
6933
c869783d
GM
6934 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6935 than Info-edit. (Bug#10385)
6936
2bb4227e
GM
6937 * time.el (display-time-load-average, display-time-next-load-average):
6938 Doc fixes.
6939
7d5944b9
GM
6940 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6941 local setting of buffer-read-only to the input buffer. (Bug#10419)
6942
536aea70
GM
6943 * calendar/calendar.el (calendar-mode):
6944 Locally set scroll-margin to 0. (Bug#10379)
6945
7dccca16
UM
69462012-01-06 Ulrich Mueller <ulm@gentoo.org>
6947
6948 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6949
afbb7930
GM
69502012-01-05 Glenn Morris <rgm@gnu.org>
6951
6952 * eshell/em-unix.el (diff-no-select): Autoload it.
6953 (eshell/diff): Use diff-no-select. (Bug#10420)
6954
04482335
CY
69552012-01-05 Chong Yidong <cyd@gnu.org>
6956
7baca3bc
CY
6957 * shell.el (shell-dynamic-complete-functions): Revert last change.
6958 (shell-command-completion-function): New function.
6959 (shell-completion-vars): Use it to implement
6960 shell-completion-execonly (Bug#10417).
6961
04482335
CY
6962 * custom.el (enable-theme): Don't set custom-safe-themes.
6963
1d00653d
SM
6964 * cus-theme.el (custom-theme-merge-theme):
6965 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6966
bb5aa5d6
MM
69672012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6968
6969 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6970 first prompt in `sql-interacive-mode'.
6971 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6972 keywords.
6df6ae42 6973 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6974 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6975 context of original buffer. Invoke `sql-login-hook'.
6976
a7183d7c
EZ
69772012-01-04 Eli Zaretskii <eliz@gnu.org>
6978
6979 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6980 letters in cite-prefix.
6981
a1eacd1e
LMI
69822012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6983
6984 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6985
787cdb34
CY
69862012-01-03 Chong Yidong <cyd@gnu.org>
6987
1d00653d
SM
6988 * shell.el (shell-dynamic-complete-functions):
6989 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6990 comint-filename-completion first (Bug#10417).
6991
30710442
RS
69922012-01-02 Richard Stallman <rms@gnu.org>
6993
6994 * battery.el (battery-status-function):
6995 Detect when to use battery-yeeloong-sysfs.
6996 (battery-echo-area-format): Add string for Yeeloong.
6997 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6998 (battery-yeeloong-sysfs): New function.
6999
f75bfc33
CY
70002012-01-02 Chong Yidong <cyd@gnu.org>
7001
7002 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7003 (dirtrack): Merge code for handling relative filenames in prompt
7004 from shell-dir-cookie-watcher.
7005 (dirtrack-debug-message): New arg to avoid excess format calls.
7006
7007 * shell.el (shell-dir-cookie-re): Variable deleted.
7008 (shell-dir-cookie-watcher): Function deleted.
7009 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7010 with dirtrack-mode.
7011
651e947e
EZ
70122012-01-01 Eli Zaretskii <eliz@gnu.org>
7013
1d00653d
SM
7014 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7015 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7016 libgnutls-26.dll.
7017
94d4c7dc
AS
70182011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7019
7020 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7021
8d43f3cd
EZ
70222011-12-31 Eli Zaretskii <eliz@gnu.org>
7023
7024 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7025 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7026
98c8795a
MA
70272011-12-29 Michael Albinus <michael.albinus@gmx.de>
7028
7029 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7030 also for alternative shells.
7031 (tramp-open-connection-setup-interactive-shell): Check, whether
7032 the shell is a busybox.
7033 (tramp-send-command): Don't suppress multiple prompts for
7034 busyboxes, it hurts.
7035
51281b32
CY
70362011-12-28 Chong Yidong <cyd@gnu.org>
7037
7038 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7039 (gdb-get-source-file): Move mode line update to
7040 gdb-get-source-file (Bug#10087).
7041
2170cb53
CY
70422011-12-25 Chong Yidong <cyd@gnu.org>
7043
7044 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7045 gud-gdb-marker-filter without taking it as an argument.
7046 (gud-gdb-run-command-fetch-lines): Caller changed.
7047 (gud-gdb-completion-function): New variable.
7048 (gud-gdb-completion-at-point): Use it.
7049 (gud-gdb-completions-1): Split from gud-gdb-completions.
7050
7051 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7052 function as separate arguments.
7053 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7054 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7055 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7056 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7057 (gdb-stopped, def-gdb-auto-update-trigger)
7058 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7059 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7060 Callers changed.
2170cb53
CY
7061 (gud-gdbmi-completions): New function.
7062 (gdb): Use it for generating the completion table.
7063
be8b11bb
AM
70642011-12-24 Alan Mackenzie <acm@muc.de>
7065
7066 Introduce a mechanism to widen the region used in context font
1d00653d 7067 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7068
1d00653d
SM
7069 * progmodes/cc-langs.el (c-before-font-lock-functions):
7070 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7071 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7072 functions to be run just before context (etc.) font locking.
7073
7074 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7075 New, functionality extracted from
be8b11bb 7076 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7077 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7078 (c-after-change): Set c-in-after-change-fontification.
7079 (c-set-fl-decl-start): Rejig its interface, so it can be called
7080 from both after-change and context fontifying.
b81d40f0
JB
7081 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7082 New functions.
7083 (c-standard-font-lock-fontify-region-function): New variable.
7084 (c-font-lock-fontify-region): New function.
be8b11bb 7085
341cf6ac
JL
70862011-12-24 Juri Linkov <juri@jurta.org>
7087
7088 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7089 (Bug#10348)
7090
bffcee0a
MA
70912011-12-23 Michael Albinus <michael.albinus@gmx.de>
7092
7093 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7094 existence of source file. (Bug#10325)
7095
cb5e207c
AM
70962011-12-23 Alan Mackenzie <acm@muc.de>
7097
7098 Fix unstable fontification inside templates.
7099
b81d40f0
JB
7100 * progmodes/cc-langs.el (c-before-font-lock-functions):
7101 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7102 additionally has c-set-fl-decl-start. The other languages (apart
7103 from AWK) have that as a single entry.
7104
b81d40f0
JB
7105 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7106 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7107 c-set-fl-decl-start.
7108
b81d40f0
JB
7109 * progmodes/cc-mode.el (c-common-init, c-after-change):
7110 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7111 (c-set-fl-decl-start): New function, extracted from
7112 c-font-lock-enclosing-decls and enhanced.
7113
60ff536c
JB
71142011-12-23 Juanma Barranquero <lekktu@gmail.com>
7115
7116 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7117
1c4757d6
JL
71182011-12-22 Juri Linkov <juri@jurta.org>
7119
7120 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7121
d031f2c7
CY
71222011-12-22 Chong Yidong <cyd@gnu.org>
7123
7124 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7125
bace743a
DA
71262011-12-21 Drew Adams <drew.adams@oracle.com>
7127
7128 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7129
728a1f2b
JC
71302011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7131
7132 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7133
0d373f73
TZ
71342011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7135
fec0aaa4
TZ
7136 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7137 highlighting and support. Fix up comments for capitalization.
7138 (cfengine-mode-debug): New var.
7139 (cfengine3-mode): Change the modeline indicator to "CFE3".
7140 (cfengine3-font-lock-keywords): Improve defun highlighting.
7141 (cfengine2-actions): Rename from `cfengine-actions'.
7142 (cfengine2-font-lock-keywords): Rename from
7143 `cfengine-font-lock-keywords'.
7144 (cfengine2-imenu-expression): Rename from
7145 `cfengine-imenu-expression'.
7146 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7147 (cfengine2-beginning-of-defun): Rename from
7148 `cfengine-beginning-of-defun'.
7149 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7150 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7151 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7152 modeline indicator to "CFE2".
7153 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7154 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7155
bc86f573
CY
71562011-12-21 Chong Yidong <cyd@gnu.org>
7157
7158 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7159 filename argument.
7160
d45ba96b
MR
71612011-12-20 Martin Rudalics <rudalics@gmx.at>
7162
7163 * window.el (window-normalize-buffer-to-display): Remove.
7164 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7165
a6198c90
CY
71662011-12-19 Chong Yidong <cyd@gnu.org>
7167
7168 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7169 Don't signal an error in a predicate function; return non-nil.
7170 (vc-dir-mark-file): Move the error here.
7171 (vc-dir-mark-unmark): If acting on the region, keep going if one
7172 of the entries cannot be marked/unmarked.
7173 (vc-dir-mark-all-files): If current entry is a directory, mark
7174 only child files, as documented.
7175
34c5fb55
VB
71762011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7177
7178 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7179 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7180 addition.
7181
c803b2b7
JD
71822011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7183
7184 * term/ns-win.el (ns-get-selection-internal)
7185 (ns-store-selection-internal): Declare.
1154d12e
JB
7186 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7187 Declare as obsolete.
7188 (ns-get-pasteboard, ns-paste-secondary):
7189 Use ns-get-selection-internal.
7190 (ns-set-pasteboard, ns-copy-including-secondary):
7191 Use ns-store-selection-internal.
c803b2b7 7192
9cff91f8 71932011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7194
7195 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7196 (vc-deduce-fileset): Doc fix.
99a289d9 7197
f16c898a
AS
71982011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7199
7200 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7201
763237c4
SS
72022011-12-13 Sam Steingold <sds@gnu.org>
7203
7204 * man.el (Man-getpage-in-background): When running under a
7205 window-system, ignore $MANWIDTH and $COLUMNS.
7206
5fc1c122
KH
72072011-12-15 Kenichi Handa <handa@m17n.org>
7208
7209 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7210 (setup-ethiopic-environment-internal): Comment out key-binding for
7211 ethio-toggle-punctuation.
7212
13d49cbb
AM
72132011-12-13 Alan Mackenzie <acm@muc.de>
7214
898169a2
AM
7215 Add the switch statement to AWK Mode.
7216
7a71b18d 7217 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7218 "default" to the keywords regexp.
7219
7a71b18d 7220 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7221 expression as the rest.
1d00653d
SM
7222 (c-nonlabel-token-key): Allow string literals for AWK.
7223 Refactor for the other modes.
898169a2 7224
13d49cbb 7225 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7226 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7227 routines. Limit backward searching in c-font-lock-enclosing.decl.
7228
7229 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7230 pp-state and literal type in addition to the limits.
1d00653d 7231 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7232 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7233 (c-slow-in-literal, c-fast-in-literal): Remove.
7234 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7235
7236 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7237 being in a literal. Add a limit for backward searching.
7238
7239 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7240 c-slow-in-literal.
7241
15e0efc7
SM
72422011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7243
7244 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7245
454592a6
MR
72462011-12-13 Martin Rudalics <rudalics@gmx.at>
7247
7248 * window.el (delete-other-windows): Use correct frame in call to
7249 window-with-parameter.
7250
87393f26
DP
72512011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7252
7253 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7254 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7255 (makefile-gmake-statements, makefile-makepp-statements):
7256 Use it and add new makepp keywords.
7257 (makefile-makepp-font-lock-keywords): Add new patterns.
7258 (makefile-match-function-end): Match new [...] and [[...]].
7259
11636b22
JB
72602011-12-11 Juanma Barranquero <lekktu@gmail.com>
7261
7262 * ses.el (ses-call-printer-return, ses-cell-property-get)
7263 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7264 (ses-create-cell-variable, ses-reset-header-string)
7265 (ses-cell-set-formula, ses-repair-cell-reference-all)
7266 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7267 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7268 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7269 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7270 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7271 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7272 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7273 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7274 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7275 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7276 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7277 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7278
cf018193
VB
72792011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7280
7281 * ses.el: The overall change is to add cell renaming, that is
7282 setting fancy names for cell symbols other than name matching
7283 "\\`[A-Z]+[0-9]+\\'" regexp .
7284 (ses-create-cell-variable): New defun.
7285 (ses-relocate-formula): Relocate formulas only for cells the
7286 symbols of which are not renamed, i.e. symbols whose names do not
7287 match regexp "\\`[A-Z]+[0-9]+\\'".
7288 (ses-relocate-all): Relocate values only for cells the symbols of
7289 which are not renamed.
7290 (ses-load): Create cells variables as the (ses-cell ...) are read,
7291 in order to check row col consistency with cell symbol name only
7292 for cells that are not renamed.
7293 (ses-replace-name-in-formula): New defun.
7294 (ses-rename-cell): New defun.
7295
ee957461
CY
72962011-12-11 Chong Yidong <cyd@gnu.org>
7297
7298 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7299 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7300
9a9e9ef0
MR
73012011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7302
7303 * window.el (other-window): Fix docstring.
7304
92a8eba5
EZ
73052011-12-10 Eli Zaretskii <eliz@gnu.org>
7306
7307 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7308 `from' or `to' address before taking its substring.
7309 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7310 encoded name is chopped in the middle of the encoded string, and
7311 thus displayed encoded.
7312
e152e577
JB
73132011-12-10 Juanma Barranquero <lekktu@gmail.com>
7314
7315 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7316
e5d84bfe
EZ
73172011-12-10 Eli Zaretskii <eliz@gnu.org>
7318
7319 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7320 to use texinfo-update-node and commands that call it if the
7321 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7322 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7323 (texinfo-all-menus-update, texinfo-master-menu)
7324 (texinfo-update-node, texinfo-every-node-update)
7325 (texinfo-multiple-files-update): Doc fix. Warn against updating
7326 all the @node lines.
7327 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7328 argument is numeric. Explain better in the doc string what the
7329 function really does.
7330 (texinfo-insert-master-menu-list): Improve the error message
7331 displayed if there's no menu in the Top node.
7332 (Bug#2975) See also this thread:
e5d84bfe
EZ
7333 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7334
1d84e9bb
MG
73352011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7336
7337 * speedbar.el (speedbar-supported-extension-expressions):
7338 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7339
382c953b
JB
73402011-12-09 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * printing.el (pr-mode-alist):
7343 * simple.el (filter-buffer-substring-functions)
7344 (completion-list-insert-choice-function):
7345 * window.el (window-with-parameter, window-atom-root)
7346 (window-sides-slots, window-size-fixed, window-min-delta)
7347 (window-max-delta, window--resize-mini-window)
7348 (window--resize-child-windows-normal, window-tree)
7349 (delete-other-windows, quit-window, split-window)
7350 (display-buffer-record-window, special-display-buffer-names)
7351 (special-display-regexps, special-display-popup-frame)
7352 (same-window-p, split-window-sensibly)
7353 (display-buffer-overriding-action, display-buffer-alist)
7354 (display-buffer-base-action, display-buffer, switch-to-buffer)
7355 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7356 (fit-window-to-buffer, recenter-positions)
7357 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7358 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7359 and remove unneeded backslashes in docstrings.
7360
39c9faef
SM
73612011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7362
98449af8
SM
7363 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7364
39c9faef
SM
7365 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7366 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7367 end in ".mk".
7368 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7369 when reading the makefile (bug#10116).
7370
86ed9fdc
SM
73712011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7374 (bug#10116).
7375
5580f89d
GM
73762011-12-06 Glenn Morris <rgm@gnu.org>
7377
7378 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7379
28d3917c
CY
73802011-12-06 Chong Yidong <cyd@gnu.org>
7381
7382 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7383
a98edce9
JB
73842011-12-06 Juanma Barranquero <lekktu@gmail.com>
7385
7386 * textmodes/table.el (table-shorten-cell): Fix typo.
7387
e65adfac
CG
73882011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7389
7390 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7391
71cc0b74
EZ
73922011-12-05 Eli Zaretskii <eliz@gnu.org>
7393
7394 * descr-text.el (describe-char): Fix display of strong
7395 right-to-left characters and directional embeddings and overrides.
7396
7397 * simple.el (what-cursor-position): Fix display of codepoints of
7398 strong right-to-left characters.
7399
315bc30d
CY
74002011-12-05 Chong Yidong <cyd@gnu.org>
7401
7402 * faces.el (read-color): Doc fix.
7403
58a70b94
GM
74042011-12-05 Glenn Morris <rgm@gnu.org>
7405
7406 * align.el (align--set-marker): Add doc-string.
7407 Don't try to move something that is not a marker. (Bug#10216)
7408
5158face
GM
74092011-12-04 Glenn Morris <rgm@gnu.org>
7410
7411 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7412 overly zealous deletion of trailing whitespace.
7413
520fca41
JB
74142011-12-04 Juanma Barranquero <lekktu@gmail.com>
7415
7416 * server.el (server-delete-client): On Windows, do not try to delete
7417 the only terminal.
7418 (server-process-filter): On Windows, treat requests for a tty frame as
7419 if they were for a GUI frame if the running server is in GUI mode.
7420
5e605a2e
GM
74212011-12-03 Glenn Morris <rgm@gnu.org>
7422
7423 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7424
5c3fe83f
SM
74252011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7426
6f5e57e7
SM
7427 * electric.el: Streamline electric-indent's hook.
7428 (electric-indent-chars): Revert to simple list.
7429 (electric-indent-functions): New var.
7430 (electric-indent-post-self-insert-function): Use it.
7431
5c3fe83f
SM
7432 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7433 there's no inferior buffer (bug#10196).
7434 (prolog-consult-compile): Don't use toggle-read-only.
7435
6bdac736
MA
74362011-12-02 Michael Albinus <michael.albinus@gmx.de>
7437
7438 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7439 interrupt. (Bug#10187)
7440
6131ba7f
SM
74412011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7442
99c79fee
SM
7443 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7444 (bug#9160).
7445
6131ba7f
SM
7446 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7447 (bug#10191).
7448
cb0a02ea
JL
74492011-12-02 Juri Linkov <juri@jurta.org>
7450
7451 * info.el (Info-search): Display "end of manual" when Isearch
7452 reaches the end of single-file Info manual. (Bug#9918)
7453
66e0570c
EZ
74542011-12-02 Eli Zaretskii <eliz@gnu.org>
7455
7456 * isearch.el (isearch-message-prefix): Run the input method part
7457 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7458
02b16839
JL
74592011-12-02 Juri Linkov <juri@jurta.org>
7460
7461 * isearch.el (isearch-occur): Use `word-search-regexp' for
7462 `isearch-word'.
7463 (isearch-search-and-update): Add condition for `isearch-word' and
7464 call `word-search-regexp'. (Bug#10145)
7465
0b950688
GM
74662011-12-01 Glenn Morris <rgm@gnu.org>
7467
7468 * eshell/em-hist.el (eshell-hist-initialize):
7469 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7470 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7471
9505c3c7
SM
74722011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7475
1bbe96b2 74762011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7477
a1beca85
SM
7478 * progmodes/verilog-mode.el (verilog-pretty-expr):
7479 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7480 verilog, such as += *= and the like.
7481 (verilog-assignment-operator-re): Regular expression to find the
7482 assigment operator in a verilog assignment.
7483 (verilog-assignment-operation-re): Regular expression to find an
7484 assignment statement for pretty-expr.
7485 (verilog-in-attribute-p): Query returns true if point is in an
7486 attribute context; used to skip these for expression line up from
7487 pretty-expr.
7488 (verilog-in-parameter-p): Query returns true if point is in an
7489 parameter definition context; used to skip these for expression
7490 line up from pretty-expr.
7491 (verilog-in-parenthesis-p): Query returns true if point is in a
7492 parenthetical expression, specifically ( ) but not [ ] or { };
7493 used by pretty-expr.
7494 (verilog-just-one-space): If there is no space, don't add one.
7495 (verilog-get-lineup-indent-2): Specifically skip just attribute
7496 contexts for expression lineup, rather than skipping all
7497 parenthetical expressions.
7498 (verilog-calculate-indent): Fix comment, and fix indent.
7499 (verilog-do-indent): Indent declarations in lists (suggested by
7500 Joachim Lechner).
7501 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7502 skeleton items.
7503 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7504 by Alain Mellan).
7505
1bbe96b2 75062011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7507
7508 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7509 parameters with embedded comments. Reported by Ray Stevens.
7510 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7511 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7512 Reported by Tim Holt.
7513 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7514 instantiated by upper module causing wrong expansion until AUTOed a
7515 second time. Reported by K C Buckenmaier.
7516 (verilog-diff-auto): Fix showing .* as a difference when
7517 `verilog-auto-star-save' off. Reported by Dan Dever.
7518 (verilog-auto-reset, verilog-read-always-signals)
7519 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7520 temporary signals in reset list if
7521 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7522 style to each signal's assignment type, bug381.
7523 Reported by Thomas Esposito.
6288f0ca
WS
7524 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7525 (verilog-uvm-statement-re): Support UVM indentation and
7526 highlighting, with old OVM keywords only.
a1beca85 7527 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7528 Support AUTOTIEOFF creating non-wire data types.
7529 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7530 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7531 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7532 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7533 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7534 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7535 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7536 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7537 non-numeric vector width. Reported by Alex Reed.
7538 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7539 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7540 (verilog-auto-delete-trailing-whitespace):
7541 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7542 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7543 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7544 Fix verilog-scan-cache corruption when running user AUTO expansion
7545 hooks that call indentation routines.
7546 (verilog-simplify-range-expression): Fix typo ignoring lower case
7547 identifiers.
7548 (verilog-delete-auto): Fix delete-autos to also remove user created
7549 automatics, as long as they start with AUTO.
7550 (verilog-batch-diff-auto, verilog-diff-auto)
7551 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7552 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7553 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7554 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7555 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7556 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7557 is disabled and its cache will get corrupt, causing AUTOS not to
7558 expand. Instead use only -quick functions.
7559 (verilog-scan-region): Fix scanning over escaped quotes.
7560 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7561 (verilog-re-search-backward-quick)
7562 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7563 related functions now ignore strings, to fix misparsing of strings
7564 with magic comments embedded in them.
a1beca85
SM
7565 (verilog-read-auto-template):
7566 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7567 Reported by Brad Dobbie.
7568 (verilog-read-auto-template):
7569 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7570 Reported by Brad Dobbie.
6288f0ca
WS
7571 (verilog-auto-inst, verilog-auto-inst-param)
7572 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7573 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7574 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7575 debugging templates without merge conflicts, bug357.
7576 Reported by Brad Dobbie.
7577 (verilog-read-auto-template):
7578 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7579 Reported by Brad Dobbie.
7580 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7581 abbrevs so user won't be asked to save.
7582 (verilog-read-auto-lisp-present): Fix to start at beginning of
7583 buffer in case called outside of verilog-auto.
7584 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7585 to "X-2". Reported by Matthew Myers.
7586 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7587 all inputs from module templates. Reported by Leith Johnson.
7588 (verilog-module-inside-filename-p): Fix locating programs as with
7589 modules.
7590 (verilog-auto-inst-port): Fix vl-width expressions when using
7591 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7592 (verilog-decls-get-regs, verilog-decls-get-signals,
7593 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7594 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7595 verilog-read-decls): Combine reg and wire structures into one var
7596 structure to represent SystemVerilog concepts.
7597 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7598 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7599 (verilog-auto-wire-type, verilog-insert-definition):
7600 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7601 SystemVerilog "logic" keyword instead of "wire"/"reg".
7602 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7603 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7604 ifdef or generate if so there's not a driver conflict).
7605 Reported by Matthew Myers.
7606 (verilog-auto-declare-nettype, verilog-insert-definition):
7607 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7608 `default_nettype none. Reported by Julian Gorfajn.
7609 (verilog-read-always-signals-recurse, verilog-read-decls)
7610 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7611 malformed end statement, bug325. Reported by Joshua Wise and
7612 Andrew Drake.
7613 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7614 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7615 when expanding .* in interfaces, bug320.
7616 Reported by Pierre-David Pfister.
6288f0ca 7617 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7618 name and open parenthesis, bug317.
7619 Reported by Pierre-David Pfister.
6288f0ca
WS
7620 (verilog-simplify-range-expression): Fix simplification of
7621 multiplications inside AUTOWIRE connections, bug303.
7622 (verilog-auto-inst-port): Support parameter expansion in
7623 multidimensional arrays.
7624 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7625 after "assert property". Reported by Julian Gorfajn.
7626 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7627 with multiplication, bug303.
7628 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7629 Reported by Jan Frode Lonnum.
7630
1bbe96b2
GM
76312011-11-30 Juanma Barranquero <lekktu@gmail.com>
7632
7633 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7634 (hfy-shell-file-name, hfy-shell):
7635 * international/fontset.el (x-decompose-font-name): Fix typos.
7636
76372011-11-29 Ken Brown <kbrown@cornell.edu>
7638
7639 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7640 (gdb-version): Remove defvar.
7641 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7642 (gdb-gud-context-command, gdb-non-stop-handler)
7643 (gdb-current-context-command, gdb-stopped): Use it.
7644 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7645 (gdb-non-stop-handler): Don't enable pretty-printing here.
7646 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7647 non-stop mode. Use the following.
7648 (gdb-check-target-async): New defun.
7649 (gud-watch, gdb-stopped): Fix whitespace.
7650 (gdb-get-source-file): Don't try to display the source file if
7651 `gdb-main-file' is nil.
7652
76532011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * align.el: Try to generate fewer markers (bug#10047).
7656 (align--set-marker): New macro.
7657 (align-region): Use it.
7658
c935221f
SM
76592011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7662
e70b5064
CY
76632011-11-29 Chong Yidong <cyd@gnu.org>
7664
7665 * indent.el (indent-for-tab-command, indent-according-to-mode):
7666 Doc fix.
7667 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7668
f3af92b7
MA
76692011-11-29 Michael Albinus <michael.albinus@gmx.de>
7670
7671 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7672 aware of remote file names. (Bug#10124)
7673
ed472be9
CY
76742011-11-29 Chong Yidong <cyd@gnu.org>
7675
7676 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7677
24510c22
SM
76782011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * files.el (find-file): Don't use force-same-window (bug#10144).
7681 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7682 use pop-to-buffer if the selected window can't be used.
7683 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7684
c60c3703
EZ
76852011-11-28 Eli Zaretskii <eliz@gnu.org>
7686
7687 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7688 special-mode-map.
7689
e95def75
CY
76902011-11-28 Chong Yidong <cyd@gnu.org>
7691
7692 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7693
c3f1c606
NR
76942011-11-27 Nick Roberts <nickrob@snap.net.nz>
7695
7696 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7697 gdb-get-source-file-list on gdb-create-source-file-list.
7698
00db469c
EZ
76992011-11-26 Eli Zaretskii <eliz@gnu.org>
7700
7701 * whitespace.el (whitespace-newline): Use a different foreground
7702 color for 16-color light-background displays.
7703
4ad3bc2a
CY
77042011-11-24 Chong Yidong <cyd@gnu.org>
7705
7706 * window.el (display-buffer--special-action): Doc fix.
7707
e9fce1ac
JB
77082011-11-25 Juanma Barranquero <lekktu@gmail.com>
7709
7710 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7711 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7712 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7713 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7714 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7715 (avl-tree-stack-first):
7716 * emacs-lisp/cconv.el (cconv--analyse-use):
7717 * net/gnutls.el (gnutls-negotiate): Fix typos.
7718
cb825e5d
GM
77192011-11-24 Glenn Morris <rgm@gnu.org>
7720
3adbe224
GM
7721 * lpr.el (lpr-windows-system, lpr-lp-system):
7722 * mail/binhex.el (binhex-begin-line):
7723 * progmodes/grep.el (grep-history, grep-find-history):
7724 * textmodes/flyspell.el:
7725 * vc/pcvs-defs.el (cvs-global-menu):
7726 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7727 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7728 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7729
321decc8
GM
7730 * net/tls.el: Fix case of "GnuTLS".
7731
420b63ad
GM
7732 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7733
cb825e5d
GM
7734 * version.el (emacs-build-system): Give it a doc-string.
7735
a0649f08
JL
77362011-11-24 Juri Linkov <juri@jurta.org>
7737
7738 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7739
c0bc0fd4
GM
77402011-11-24 Glenn Morris <rgm@gnu.org>
7741
7742 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7743 if called on a non-mime message just toggle the headers. (Bug#8006)
7744
20db1522
JB
77452011-11-24 Juanma Barranquero <lekktu@gmail.com>
7746
7747 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7748 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7749 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7750 (allout-rebullet-heading, allout-open-sibtopic)
7751 (allout-toggle-current-subtree-encryption)
7752 (allout-toggle-subtree-encryption, allout-encrypt-string)
7753 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7754 (allout-distinctive-bullets-string, allout-auto-activation):
7755 * window.el (window-normalize-buffer-to-display):
7756 * progmodes/verilog-mode.el (verilog-batch-indent):
7757 * textmodes/bibtex.el (bibtex-field-braces-opt)
7758 (bibtex-field-strings-opt):
7759 * vc/cvs-status.el (cvs-tree-merge):
7760 Fix typos.
7761
7262a87c
MA
77622011-11-23 Michael Albinus <michael.albinus@gmx.de>
7763
7764 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7765 `non-essential' to t, in order to avoid remote connections.
7766
283430a1
EZ
77672011-11-23 Eli Zaretskii <eliz@gnu.org>
7768
a1beca85
SM
7769 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7770 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7771 case-insensitively.
7772
d2992a38
ML
77732011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7774
7775 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7776
50419064
GM
77772011-11-23 Glenn Morris <rgm@gnu.org>
7778
da94eca1
GM
7779 * paths.el (rmail-file-name): Reformat the doc-string so that it
7780 is picked up.
7781
9aac4de2
GM
7782 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7783 (rmail-auto-file): Ignore case in the "special" field names,
7784 as mail-fetch-field does for all others.
7785
8038d2d2
GM
7786 * mail/rmail.el (rmail-forward):
7787 * mail/rmailkwd.el (rmail-set-label):
7788 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7789 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7790
f3fe222a
GM
7791 * mail/rmail.el (rmail-current-message): Doc fix.
7792
50419064
GM
7793 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7794
28109f49
SM
77952011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7798
394c65f1
GM
77992011-11-22 Glenn Morris <rgm@gnu.org>
7800
7801 * mail/rmailmm.el (test-rmail-mime-handler)
7802 (test-rmail-mime-bulk-handler)
7803 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7804
f2a0aa3a
JL
78052011-11-21 Juri Linkov <juri@jurta.org>
7806
1154d12e
JB
7807 * calc/calc.el (calc-read-key-sequence):
7808 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7809
9c34a344
LMI
78102011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7811
7812 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7813 Tell the caller that the next line needs recomputation, even
7814 though it doesn't start a sexp (bug#10094).
7815
f04a3be9
SM
78162011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7819
7978747f
SM
78202011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7821
f04a3be9
SM
7822 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7823 Use force-same-window.
7978747f 7824
fe7a3057
JB
78252011-11-20 Juanma Barranquero <lekktu@gmail.com>
7826
7827 * descr-text.el (describe-char-unicode-data):
7828 * json.el (json-string-escape):
7829 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7830 (Footnote-unicode, Footnote-style-p):
7831 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7832
24901d61
CY
78332011-11-20 Chong Yidong <cyd@gnu.org>
7834
7835 * window.el (replace-buffer-in-windows): Restore interactive spec.
7836
bac7ff22
SM
78372011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7838
24f3d7b9
SM
7839 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7840
bac7ff22
SM
7841 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7842 (byte-compile-global-not-obsolete-vars): New var.
7843 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7844 Use it.
7845 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7846
cd1181db
JB
78472011-11-20 Juanma Barranquero <lekktu@gmail.com>
7848
7849 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7850 * progmodes/pascal.el (electric-pascal-equal):
7851 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7852 * xml.el (xml-substitute-special): Fix typos.
7853
7fb18e9e
GM
78542011-11-20 Glenn Morris <rgm@gnu.org>
7855
7856 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7857 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7858 Doc fixes.
7859 (rmail-decode-mime-charset): Mark as obsolete.
7860
7861 * mail/rmailsum.el (rmail-message-regexp-p-1):
7862 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7863 Before using mime functions, check they are set. (Bug#10077)
7864
d5a6b3ba
JL
78652011-11-19 Juri Linkov <juri@jurta.org>
7866
7867 * info.el (Info-finder-find-node): Use `package--builtins' instead
7868 of `package-alist'. Use node names formed by the pattern "Keyword "
7869 and the keyword name.
7870
e981b61f
AS
78712011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7872
1d00653d 7873 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7874
3ffbc301
JL
78752011-11-19 Juri Linkov <juri@jurta.org>
7876
7877 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7878 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7879 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7880 `old-history', `old-history-forward'. Add let-binding
7881 `window-selected'. Remove calls to `kill-buffer',
7882 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7883 before calling `Info-find-node', so `Info-find-node-2' will reread
7884 the Info file. Restore window positions only when `window-selected'
7885 is non-nil.
7886
30c62133
JL
78872011-11-19 Juri Linkov <juri@jurta.org>
7888
7889 * isearch.el (isearch-lazy-highlight-new-loop):
7890 Remove condition `(not isearch-error)'. (Bug#9918)
7891
7892 * misearch.el (multi-isearch-search-fun): Add condition
7893 `(not bound)' to ignore lazy-highlighting search.
7894 Add the search-failed message "end of multi" when the end of
7895 multi-sequence is reached. Uncapitalize the search-failed
7896 message "Repeat for next buffer".
7897
7898 * info.el (Info-search): Add the search-failed message
7899 "end of the manual" when the end of the manual is reached
7900 in Isearch mode.
7901
645ca9cf
JL
79022011-11-19 Juri Linkov <juri@jurta.org>
7903
7904 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7905 Use non-destructive `remove' instead of `delete' because
7906 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7907 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7908
df754f66
JL
79092011-11-19 Juri Linkov <juri@jurta.org>
7910
7911 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7912 to nil instead of binding `search-ring' and `regexp-search-ring'.
7913 (Bug#9185)
7914
0e23d96a
EZ
79152011-11-19 Eli Zaretskii <eliz@gnu.org>
7916
7917 * simple.el (line-move): Force movement by logical lines for any
7918 hscrolled window, not only when auto-hscroll-mode is on.
7919 (line-move-visual): Update doc string to that effect. (Bug#10076)
7920
8a6ccb66
AS
79212011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7922
7923 * language/european.el (macintosh): Define as alias for mac-roman.
7924
49ae5b39
EZ
79252011-11-19 Eli Zaretskii <eliz@gnu.org>
7926
7927 * mail/rmailmm.el (rmail-mime-display-header)
7928 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7929 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7930 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7931 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7932 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7933 of a raw aref.
7934 (rmail-mime-entity-segment): To get past the tagline, move forward
7935 2 more lines, to account for the 2 empty lines that precede and
7936 follow the line with the buttons.
7937 (rmail-mime-update-tagline): Move one more line, to get past the
7938 empty line that follows the buttons in the tagline. (Bug#9520)
7939
c56cad4a
MR
79402011-11-19 Martin Rudalics <rudalics@gmx.at>
7941
7942 * window.el (window-max-delta-1, window-min-delta-1)
7943 (window-min-size-1, window-state-get-1, window-state-put-1)
7944 (window-state-put-2): Use "window--" prefix.
7945
cbe71af3
SM
79462011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7947
2ad52c60
SM
7948 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7949 (smie-warning-count): New var.
7950 (smie-set-prec2tab): Use it.
7951 (smie-bnf->prec2): Improve warnings. Add docstring.
7952 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7953 (smie-bnf--set-class): New function.
7954 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7955 corner case.
7956
6944dbc1
SM
7957 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7958 (compilation-error-properties, compilation-move-to-column):
7959 Handle compilation-first-column while in the target buffer.
7960
c400c4d7
SM
7961 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7962 Don't hardcode point-min==1.
7963
6dbe3e96
SM
7964 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7965 (eshell-rewrite-for-command): Remove workaround.
7966 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7967 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7968 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7969
cbe71af3
SM
7970 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7971
a8e1496d
GM
79722011-11-17 Glenn Morris <rgm@gnu.org>
7973
7974 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7975 Ignore buffer-local generated-autoload-file if it is the same
7976 as the global value. (Bug#10049)
7977
df85d315
JB
79782011-11-17 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7981 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7982 (reftex-toc-previous-heading, reftex-toc-max-level)
7983 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7984 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7985 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7986 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7987 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7988 (reftex-toc-rename-label, reftex-toc-visit-location)
7989 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7990 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7991 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7992 leaving "*toc*" only for references to the buffer.
7993
a0c2d0ae
MR
79942011-11-17 Martin Rudalics <rudalics@gmx.at>
7995
7996 * window.el (window-resize, delete-window, split-window):
7997 Replace window-splits by window-combination-resize.
1d00653d 7998 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7999
35c0bac8
GM
80002011-11-17 Glenn Morris <rgm@gnu.org>
8001
8002 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8003 Make bash entry derive from sh entry, not shell entry.
8004
d0c8fc8a
MA
80052011-11-16 Michael Albinus <michael.albinus@gmx.de>
8006
7262a87c
MA
8007 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8008 local file name.
8009
7877f373
JB
80102011-11-16 Juanma Barranquero <lekktu@gmail.com>
8011
8012 * menu-bar.el (menu-bar-file-menu):
8013 * printing.el (pr-ps-utility):
8014 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8015 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8016 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8017 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8018 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8019 (icalendar--convert-cyclic-to-ical)
8020 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8021 (icalendar--convert-ical-to-diary)
8022 (icalendar--convert-recurring-to-diary)
8023 (icalendar--convert-non-recurring-all-day-to-diary)
8024 (icalendar-import-format-sample):
8025 * progmodes/idlw-shell.el (idlwave-shell-mode):
8026 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8027 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8028 (vhdl-ps-print-init): Fix typos.
8029
10649b82
KM
80302011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8031
9d0cfcd6
GM
8032 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8033 FSF and collapse date sequence, obscure author/maintainer email address
8034 better, remove extra version line, track relocation of author's webpage.
10649b82 8035
9d0cfcd6
GM
8036 * progmodes/python.el (python-pdbtrack-input-prompt)
8037 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8038 regular python pdb prompts. Adjustments shamelessly taken exactly as
8039 suggested in EmacsWiki page (tiny change):
8040 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8041
58179cce
JB
80422011-11-16 Juanma Barranquero <lekktu@gmail.com>
8043
8044 * expand.el (expand-pos, expand-index, expand-point):
8045 Remove redundant info from docstring.
8046 (expand-add-abbrevs): Doc fix.
8047 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8048 (expand-sample-perl-mode-expand-list): Fix typos.
8049
8050 * net/dbus.el (dbus-event-member-name):
8051 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8052 * term/pc-win.el (msdos-create-frame-with-faces):
8053 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8054
b6f67890
MR
80552011-11-16 Martin Rudalics <rudalics@gmx.at>
8056
8057 * window.el (split-window, window-state-get-1)
8058 (window-state-put-1, window-state-put-2): Rename occurrences of
8059 window-nest to window-combination-limit.
1d00653d 8060 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8061
ce7ddba0
CY
80622011-11-16 Chong Yidong <cyd@gnu.org>
8063
8064 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8065 regexp (Bug#10033).
8066
3ae704f4
SM
80672011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8070 `completing-read' will remove *Completions* and will preserve
8071 current-buffer for us.
8072 (tmm-add-prompt): Users of *Completions* will always (re)set its
8073 major mode.
8074 (tmm-old-comp-map): Remove.
8075
6ad1cdde
GM
80762011-11-16 Glenn Morris <rgm@gnu.org>
8077
8078 * mail/rmailedit.el: Require rmailmm when compiling.
8079 (rmail-old-mime-state): New declaration.
8080 (rmail-edit-current-message): If editing a mime message,
8081 edit the "raw" message from the mbox buffer.
8082 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8083
d20faa20
GM
80842011-11-15 Glenn Morris <rgm@gnu.org>
8085
8086 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8087 which wasn't being used. Add optional arg to force given state.
8088 (rmail-mime): Add optional arg to force given state.
8089
c7015153
JB
80902011-11-15 Juanma Barranquero <lekktu@gmail.com>
8091
8092 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8093 * frame.el (display-mm-dimensions-alist):
8094 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8095 (outline-move-subtree-down):
8096 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8097 (newsticker--treeview-do-get-node):
8098 * net/quickurl.el (quickurl-list-buffer-name):
8099 * progmodes/dcl-mode.el (dcl-mode):
8100 * progmodes/gdb-mi.el (gdb-mapcar*):
8101 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8102
45261b50
GM
81032011-11-15 Glenn Morris <rgm@gnu.org>
8104
8105 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8106 in a boolean sense, so just make it a boolean, and fix the doc.
8107 (rmail-show-mime-function, rmail-mime-feature)
8108 (rmail-require-mime-maybe): Doc fixes.
8109 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8110
8111 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8112
0d26e0b6
JB
81132011-11-15 Juanma Barranquero <lekktu@gmail.com>
8114
8115 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8116 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8117 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8118 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8119
447f30f6
GM
81202011-11-15 Glenn Morris <rgm@gnu.org>
8121
672b871d
GM
8122 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8123 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8124 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8125 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8126 (rmail-mime, rmail-show-mime): Doc fixes.
8127
f6aa5bb1
GM
8128 * term/ns-win.el (mode-line-frame-identification):
8129 Leave it alone. (Bug#10051)
8130
947cd66b
GM
8131 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8132
447f30f6
GM
8133 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8134 Handle empty buffers. (Bug#9978)
8135
0b381c7e
JB
81362011-11-14 Juanma Barranquero <lekktu@gmail.com>
8137
8138 * international/mule.el (define-charset):
8139 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8140 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8141 * progmodes/verilog-mode.el (verilog-backward-token):
8142 * textmodes/ispell.el (lookup-words):
8143 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8144
71e027ac
GM
81452011-11-14 Glenn Morris <rgm@gnu.org>
8146
56632ce4
GM
8147 * progmodes/executable.el
8148 (executable-make-buffer-file-executable-if-script-p):
8149 Handle file-modes returning nil.
8150
40500957
GM
8151 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8152 message - not necessary, and causes problems. (Bug#9831)
8153
071c2340
GM
8154 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8155
d3cfca60
GM
8156 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8157
71e027ac
GM
8158 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8159 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8160 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8161
89d61221
MR
81622011-11-12 Martin Rudalics <rudalics@gmx.at>
8163
8164 * window.el (window-resize, delete-window): Use window-splits
8165 variable instead of function.
8166 (window-state-get-1, window-state-put-2, window-state-put):
8167 Don't deal with windows' splits status.
8168
98282f6f
GM
81692011-11-12 Glenn Morris <rgm@gnu.org>
8170
8171 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8172 (apropos-documentation): Doc fixes.
8173
40a8bdf6
JB
81742011-11-11 Juanma Barranquero <lekktu@gmail.com>
8175
8176 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8177 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8178
65bd19ff
SM
81792011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * electric.el (electric-indent-post-self-insert-function): Make it
8182 possible for a char to only indent in some circumstances.
8183 (electric-indent-mode): Simplify.
8184
54f9154c
MR
81852011-11-11 Martin Rudalics <rudalics@gmx.at>
8186
8187 * window.el (windows-with-parameter): Remove unused function.
8188 (windows-at-side): Rename to window-at-side-list.
8189 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8190 (window-side-check, window-size-ignore, window-size-fixed-1)
8191 (window-in-direction-2): Prefix with "window--".
8192 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8193
68cbc58b
GM
81942011-11-11 Glenn Morris <rgm@gnu.org>
8195
8196 * subr.el (eval-after-load): If FILE is already loaded,
8197 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8198
b2621720
GM
81992011-11-10 Glenn Morris <rgm@gnu.org>
8200
9a4de110
GM
8201 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8202 Call svn via vc-svn-command rather than vc-do-command.
8203 (vc-svn-command): Add --non-interactive. (Bug#9993)
8204 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8205
b2621720
GM
8206 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8207 Add toggle-read-only. (Bug#7292)
8208 * files.el (toggle-read-only): Mention that it should only
8209 be used interactively. (Bug#10006)
8210
1dce7193
SM
82112011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8212
d9ac1a1e
SM
8213 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8214 Adjust regexp for OCaml warnings.
8215
0c325082
SM
8216 * electric.el (electric-pair-post-self-insert-function): Let user
8217 turn it off buffer-locally (bug#9932).
8218
90132c14
SM
8219 * progmodes/python.el (python-beginning-of-statement):
8220 Rewrite (bug#2703).
8221
1dce7193
SM
8222 * progmodes/compile.el: Better handle TABs (bug#9749).
8223 (compilation-internal-error-properties)
8224 (compilation-next-error-function): Obey the target buffer's
8225 compilation-error-screen-columns.
8226
c4e7c63a
JB
82272011-11-09 Juanma Barranquero <lekktu@gmail.com>
8228
8229 * progmodes/meta-mode.el: Remove obsolete comments.
8230 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8231 Fix typos in docstrings.
8232
2cffd681
MR
82332011-11-09 Martin Rudalics <rudalics@gmx.at>
8234
8235 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8236 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8237 (window--resizable): New function. Make all callers of
8238 window-resizable call window--resizable instead.
8239 (window-resizable): Rewrite in terms of window--resizable.
8240
0edcba87
GM
82412011-11-08 Glenn Morris <rgm@gnu.org>
8242
8243 * progmodes/delphi.el (delphi-mode-syntax-table):
8244 Let define-derived-mode define a proper syntax table. (Bug#9994)
8245
4b0d61e3
SM
82462011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * window.el: Stay away from defsubst.
8249 (window-list-no-nils): Remove.
8250 (window-state-get-1, window-state-get): Use backquote instead.
8251
cd394be1 82522011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8253
4b0d61e3 8254 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8255 Fix incorrect use of default argument in `completing-read'.
8256
e1c2c6f2
MR
82572011-11-08 Martin Rudalics <rudalics@gmx.at>
8258
8259 * window.el (display-buffer-function, special-display-function):
8260 Mention display-buffer-record-window but do not mention
8261 help-setup parameter in doc-strings.
b3f4a882 8262 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8263
105216ed
CY
82642011-11-08 Chong Yidong <cyd@gnu.org>
8265
8266 * window.el (window-total-height, window-total-width): Doc fix.
8267 (window-body-size): Move from C.
8268 (window-body-height, window-body-width): Move to C.
8269
0a9f9ab5
SM
82702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * window.el: Make special-display like display-buffer-alist (bug#9532).
8273 (display-buffer--special-action): New function, morphed
8274 from display-buffer--special.
8275 (display-buffer): Use it to handle special-display-buffers at higher
8276 priority (just after display-buffer-alist).
8277 (display-buffer-fallback-action, display-buffer--other-frame-action)
8278 (pop-to-buffer-same-window): Remove display-buffer--special.
8279
a769dd15
GM
82802011-11-07 Glenn Morris <rgm@gnu.org>
8281
8282 * calendar/cal-menu.el (cal-menu-set-date-title):
8283 Do nothing if not in a calendar. (Bug#9976)
8284
05a61ee3
SM
82852011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * files.el (find-file): Always use selected-window.
8288
be7f5545
MR
82892011-11-07 Martin Rudalics <rudalics@gmx.at>
8290
8291 * window.el (window-combinations): Make WINDOW argument
8292 mandatory. Rewrite doc-string.
8293 (walk-window-subtree, window-atom-check, window-min-delta)
8294 (window-max-delta, window--resize-this-window)
8295 (window--resize-root-window-vertically, window-tree)
8296 (balance-windows, window-state-put): Rewrite doc-strings as to
8297 not mention the term "subwindow".
8298 (window--resize-subwindows-skip-p): Rename to
8299 window--resize-child-windows-skip-p.
8300 (window--resize-subwindows-normal): Rename to
8301 window--resize-child-windows-normal.
8302 (window--resize-subwindows): Rename to
8303 window--resize-child-windows.
8304 (window-or-subwindow-p): Rename to window--in-subtree-p.
8305
3c6702ef
ML
83062011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8307
8308 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8309 Ensure that mbox format messages end in two newlines (Bug#9974).
8310
49745b39
CY
83112011-11-06 Chong Yidong <cyd@gnu.org>
8312
8313 * window.el (window-combination-p): Function deleted; its
8314 side-effect is not used in any existing code.
8315 (window-combinations, window-combined-p): Call window-*-child
8316 directly.
8317
24300f5f
CY
83182011-11-05 Chong Yidong <cyd@gnu.org>
8319
8320 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8321 (window-size-ignore, window-state-get): Callers changed.
8322 (window-normalize-window): Rename from window-normalize-any-window.
8323 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8324 (window-normalize-live-window): Delete.
447f16b8
CY
8325 (window-combination-p, window-combined-p, window-combinations)
8326 (walk-window-subtree, window-atom-root, window-min-size)
8327 (window-sizable, window-sizable-p, window-size-fixed-p)
8328 (window-min-delta, window-max-delta, window-resizable)
8329 (window-resizable-p, window-full-height-p, window-full-width-p)
8330 (window-current-scroll-bars, window-point-1, set-window-point-1)
8331 (window-at-side-p, window-in-direction, window-resize)
8332 (adjust-window-trailing-edge, maximize-window, minimize-window)
8333 (window-deletable-p, delete-window, delete-other-windows)
8334 (record-window-buffer, unrecord-window-buffer)
8335 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8336 (quit-window, split-window, window-state-put)
8337 (set-window-text-height, fit-window-to-buffer)
8338 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8339
89bd5ee1
EZ
83402011-11-04 Eli Zaretskii <eliz@gnu.org>
8341
53479029
EZ
8342 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8343 rfc2047-decode-string.
8344 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8345 warnings.
8346
89bd5ee1
EZ
8347 * window.el (window-body-height, window-body-width): Mention in
8348 the doc string that the return values are in frame's canonical
8349 units. (Bug#9949)
8350
bd17fdee
AM
83512011-11-03 Alan Mackenzie <acm@muc.de>
8352
8353 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8354 change in cc-engine.el.
8355
acc825c5
SM
83562011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8359
1885e5b8
MR
83602011-11-02 Martin Rudalics <rudalics@gmx.at>
8361
8362 * window.el (quit-window): Call unrecord-window-buffer after
8363 showing another buffer in the window. (Bug#9937)
acc825c5 8364 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8365
ebe06da9
JB
83662011-11-02 Juanma Barranquero <lekktu@gmail.com>
8367
8368 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8369 Accept status with more than 9 shelves. (Bug#9935)
8370 Reported by Colin D Bennett <colin@gibibit.com>.
8371
4ee88440
MR
83722011-11-01 Martin Rudalics <rudalics@gmx.at>
8373
8374 * help.el (with-help-window): Don't reference
8375 temp-buffer-show-specifiers in doc-string.
8376
08e1d82c
AS
83772011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8378
8379 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8380 menu-item.
8381
84bd6e9e
VJL
83822011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8383
8384 * whitespace.el: New version 13.2.2.
8385 (whitespace-newline-mode): Disable properly. Reported by Sarah
8386 <EmacsWiki>.
8387
dba0634a
UJ
83882011-10-30 Ulf Jasper <ulf.jasper@web.de>
8389
8390 * net/newst-treeview.el: Remove "Time-stamp".
8391 (newsticker--group-manage-orphan-feeds): Do not call
8392 newsticker--treeview-tree-update.
db22a3c2
JB
8393 (newsticker-treeview-update, newsticker-treeview):
8394 Call newsticker--treeview-tree-update if necessary.
dba0634a 8395
3d8daefe
MR
83962011-10-30 Martin Rudalics <rudalics@gmx.at>
8397
8398 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8399 (window-iso-combinations): Remove "iso-" infix.
8400 Suggested by Chong Yidong.
3d8daefe
MR
8401 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8402 (window-max-delta-1, window-resize, window--resize-siblings)
8403 (window--resize-this-window, adjust-window-trailing-edge)
8404 (split-window, balance-windows-1)
8405 (shrink-window-if-larger-than-buffer):
8406 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8407 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8408
1bc4c3ae
SM
84092011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8412 in place (bug#9907).
8413 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8414 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8415 (eshell-structure-basic-command, eshell-rewrite-while-command)
8416 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8417 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8418 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8419 (eshell-do-pipelines-synchronously, eshell-eval-command):
8420 Use backquotes and prefer setq to set.
8421 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8422 (eshell-macrop): Use functionp.
c1e2f5fa 8423 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8424
30b65d9c
CY
84252011-10-30 Chong Yidong <cyd@gnu.org>
8426
8427 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8428 instead of set-mark (Bug#9810).
8429
2d197ffb
CY
84302011-10-30 Chong Yidong <cyd@gnu.org>
8431
8432 * window.el (split-window-below, split-window-right): Rename from
8433 split-window-above-each-other and split-window-side-by-side
8434 respectively. All callers changed.
8435 (split-window-sensibly, split-window-sensibly): Use them.
8436 (split-window-keep-point): Doc fix.
8437
8438 * isearch.el: Add isearch-scroll property to split-window-below
8439 and split-window-right.
8440
8441 * follow.el (follow-mode):
8442 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8443 * progmodes/ada-xref.el (ada-gdb-application):
8444 * emulation/vip.el (vip-buffer-in-two-windows):
8445 * image-dired.el (image-dired-dired-with-window-configuration):
8446 * dired-x.el (dired-do-find-marked-files):
8447 * dired.el (dired-pop-to-buffer):
8448 * bs.el (bs--show-with-configuration):
8449 * vc/emerge.el (emerge-setup-windows):
8450 * textmodes/two-column.el (2C-two-columns):
8451 * textmodes/reftex-toc.el (reftex-toc):
8452 * progmodes/gdb-mi.el (gdb-setup-windows):
8453 * progmodes/fortran.el (fortran-window-create):
8454 * net/newst-treeview.el (newsticker--treeview-window-init):
8455 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8456 * emulation/tpu-edt.el (tpu-gold-map):
8457 * emulation/crisp.el (crisp-mode-map):
8458 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8459
38bb2ca8
CY
84602011-10-29 Chong Yidong <cyd@gnu.org>
8461
aa4de341
CY
8462 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8463
e1eb5385
CY
8464 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8465
5d2ece3c
CY
8466 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8467 forged Ispell output (Bug#7904).
8468
38bb2ca8
CY
8469 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8470
d0af9f77
SM
84712011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * doc-view.el: Avoid ugly errors about not finding nil.
8474 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8475 (doc-view-dvipdf-program, doc-view-unoconv-program)
8476 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8477 Avoid nil or absolute file name as default value.
8478 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8479
52bedd34
AM
84802011-10-28 Alan Mackenzie <acm@muc.de>
8481
db22a3c2 8482 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8483
7e43cfa5
AM
84842011-10-28 Alan Mackenzie <acm@muc.de>
8485
8486 Amend the handling of c-beginning/end-of-defun in nested declaration
8487 scopes.
8488
52bedd34
AM
8489 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8490 cc-langs.el. Change it to a defcustom.
7e43cfa5 8491
52bedd34
AM
8492 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8493 cc-vars.el.
7e43cfa5 8494
d0af9f77
SM
8495 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8496 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8497
52bedd34 8498 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8499 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8500 (c-widen-to-enclosing-decl-scope): New function.
8501 (c-while-widening-to-decl-block): New macro.
8502 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8503 outward for defun boundaries, and correspondingly change symbol
8504 `respect-enclosure' to `go-outward'.
8505 (c-declaration-limits): Change algorithm to report only the "innermost"
8506 defun's boundaries.
8507
1a2ce9ee
DD
85082011-10-28 Deniz Dogan <deniz@dogan.se>
8509
8510 * net/rcirc.el (rcirc-mode): Use hard newlines.
8511
bc97a826
AM
85122011-10-28 Alan Mackenzie <acm@muc.de>
8513
8514 Amend to indent and fontify macros "which include their own semicolon"
8515 correctly, using the "virtual semicolon" mechanism.
8516
52bedd34 8517 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8518
d0af9f77 8519 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8520 Recode to scan one line at a time rather than having \n and \r
58179cce 8521 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8522 (c-forward-label): Amend for virtual semicolons.
58179cce 8523 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8524
52bedd34
AM
8525 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8526 of the new C macros.
bc97a826 8527
52bedd34 8528 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8529 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8530 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8531 (c-opt-cpp-macro-define): Make into a full language variable.
8532 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8533 AWK Mode (including \n, \r) removed, no longer needed.
8534
d0af9f77
SM
8535 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8536 Invoke c-make-macro-with-semi-re.
bc97a826 8537
52bedd34
AM
8538 * progmodes/cc-vars.el (c-macro-with-semi-re):
8539 (c-macro-names-with-semicolon): New variables.
58179cce 8540 (c-make-macro-with-semi-re): New function.
bc97a826 8541
7a6c0941
SM
85422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * vc/log-edit.el: Fill empty field rather than adding new one.
8545 (log-edit-add-field): New function.
8546 (log-edit-insert-changelog): Use it.
8547
b0c4cdcf
ML
85482011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8549
8550 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8551
ee1f1da9
SM
85522011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8553
8554 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8555 (gdb--check-interpreter): New function.
8556 (gdb): Use it.
8557
51bc5f8b
GM
85582011-10-27 Glenn Morris <rgm@gnu.org>
8559
416a2c45
GM
8560 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8561 (least-positive-float, least-negative-float)
8562 (least-positive-normalized-float, least-negative-normalized-float)
8563 (float-epsilon, float-negative-epsilon):
8564 Remove unnecessary declarations.
8565
8566 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8567 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8568 (least-positive-float, least-negative-float)
8569 (least-positive-normalized-float, least-negative-normalized-float)
8570 (float-epsilon, float-negative-epsilon): Add doc-strings,
8571 based on those in cl.texi.
8572
51bc5f8b
GM
8573 * files.el (set-visited-file-name): If the major-mode changed,
8574 reload the local variables. (Bug#9796)
8575
15de15c6
CY
85762011-10-27 Chong Yidong <cyd@gnu.org>
8577
8578 * subr.el (change-major-mode-after-body-hook): New hook.
8579 (run-mode-hooks): Run it.
8580
ee1f1da9
SM
8581 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8582 Use change-major-mode-before-body-hook.
15de15c6
CY
8583
8584 * simple.el (fundamental-mode):
8585 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8586 change introducing fundamental-mode-hook.
8587
5430d399
JB
85882011-10-26 Juanma Barranquero <lekktu@gmail.com>
8589
acc825c5 8590 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8591
ad74a69e
MA
85922011-10-26 Michael Albinus <michael.albinus@gmx.de>
8593
8594 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8595 tramp.el explicitly. (Bug#7583)
ad74a69e 8596
71d4c2a5
SM
85972011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * progmodes/octave-mod.el:
8600 * progmodes/octave-inf.el: Update maintainer.
8601
b1f6fa26
CY
86022011-10-26 Chong Yidong <cyd@gnu.org>
8603
8604 * subr.el (with-wrapper-hook): Rewrite doc.
8605
3f04efd6
MA
86062011-10-25 Michael Albinus <michael.albinus@gmx.de>
8607
8608 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8609 filenames "/method:foo:". (Bug#9793)
3f04efd6 8610
410488d3
SM
86112011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8614 (bug#9865).
8615
c1ebb47e
GM
86162011-10-24 Glenn Morris <rgm@gnu.org>
8617
8618 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8619
7f5c46c7
MA
86202011-10-24 Michael Albinus <michael.albinus@gmx.de>
8621
8622 * notifications.el: Add the requirement of a running D-Bus session
8623 bus to the Commentary.
8624
db2440b6
JL
86252011-10-24 Juri Linkov <juri@jurta.org>
8626
8627 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8628 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8629 (Bug#9364)
8630
feecf435
JL
86312011-10-24 Juri Linkov <juri@jurta.org>
8632
8633 * info.el (Info-following-node-name-re): Add newline to the list
8634 of allowed characters for leading space. (Bug#9824)
8635
a3839de2
SM
86362011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8637
acc825c5
SM
8638 * progmodes/octave-inf.el (inferior-octave-mode-map):
8639 Fix C-c C-h binding.
a3839de2
SM
8640 * progmodes/octave-mod.el (octave-help): Remove.
8641
09388e76
MA
86422011-10-23 Michael Albinus <michael.albinus@gmx.de>
8643
8644 Sync with Tramp 2.2.3.
8645
8646 * net/tramp-cache.el (top): Pacify byte-compiler using
8647 `init-file-user' and `site-run-file'.
8648
8649 * net/trampver.el: Update release number.
8650
86c60681
CY
86512011-10-23 Chong Yidong <cyd@gnu.org>
8652
8653 * files.el (toggle-read-only): Remove obsolete comment about
8654 version control.
8655
8656 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8657 for toggle-read-only. Note that this hasn't called vc-next-action
8658 since 2008-05-02, though it wasn't documented at the time.
8659
a3839de2
SM
8660 * vc/ediff-init.el (ediff-toggle-read-only-function):
8661 Use toggle-read-only.
86c60681 8662
cd5495ff
AM
86632011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8664
8665 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8666 of c-parse-state.
8667
00b77525 8668 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8669 correct faulty logical expression.
cd5495ff
AM
8670 (c-parse-state-state, c-record-parse-state-state):
8671 (c-replay-parse-state-state): New defvar/defuns.
8672 (c-debug-parse-state): Use new functions.
8673
42ee24ed
MR
86742011-10-22 Martin Rudalics <rudalics@gmx.at>
8675
8676 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8677 last fix. Use window-in-direction correctly.
42ee24ed 8678
a7dee7e7
CY
86792011-10-21 Chong Yidong <cyd@gnu.org>
8680
8681 * progmodes/idlwave.el (idlwave-mode):
8682 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8683 require-final-newline; that's done in prog-mode.
8684 Suggested by Stefan Monnier.
a7dee7e7 8685
e07b9a6d
MR
86862011-10-21 Martin Rudalics <rudalics@gmx.at>
8687
8688 * mouse.el (mouse-drag-window-above)
8689 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8690 (mouse-drag-mode-line-1, mouse-drag-header-line)
8691 (mouse-drag-vertical-line-rightward-window): Remove.
8692 (mouse-drag-line): New function.
8693 (mouse-drag-mode-line, mouse-drag-header-line)
8694 (mouse-drag-vertical-line): Call mouse-drag-line.
8695 * window.el (window-at-side-p, windows-at-side): New functions.
8696
7e1361d9
UM
86972011-10-21 Ulrich Mueller <ulm@gentoo.org>
8698
8699 * tar-mode.el (tar-grind-file-mode):
8700 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8701
30fcaf3a
CY
87022011-10-21 Chong Yidong <cyd@gnu.org>
8703
8704 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8705 * progmodes/vera-mode.el (vera-mode):
8706 Use mode-require-final-newline.
30fcaf3a 8707
516eddb0
GM
87082011-10-20 Glenn Morris <rgm@gnu.org>
8709
db22a3c2 8710 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8711
10d5f513
CS
87122011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8713
8714 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8715
ac6c8639
CY
87162011-10-20 Chong Yidong <cyd@gnu.org>
8717
8718 * emulation/cua-base.el (cua-mode):
8719 * mail/footnote.el (footnote-mode):
8720 * mail/mailabbrev.el (mail-abbrevs-mode):
8721 * net/xesam.el (xesam-minor-mode):
8722 * progmodes/bug-reference.el (bug-reference-mode):
8723 * progmodes/cap-words.el (capitalized-words-mode):
8724 * progmodes/compile.el (compilation-minor-mode)
8725 (compilation-shell-minor-mode):
8726 * progmodes/gud.el (gud-tooltip-mode):
8727 * progmodes/hideif.el (hide-ifdef-mode):
8728 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8729 * progmodes/subword.el (subword-mode):
8730 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8731 * progmodes/which-func.el (which-function-mode):
8732 * term/tvi970.el (tvi970-set-keypad-mode):
8733 * term/vt100.el (vt100-wide-mode):
8734 * textmodes/flyspell.el (flyspell-mode):
8735 * textmodes/ispell.el (ispell-minor-mode):
8736 * textmodes/nroff-mode.el (nroff-electric-mode):
8737 * textmodes/paragraphs.el (use-hard-newlines):
8738 * textmodes/refill.el (refill-mode):
8739 * textmodes/reftex.el (reftex-mode):
8740 * textmodes/rst.el (rst-minor-mode):
8741 * textmodes/sgml-mode.el (html-autoview-mode)
8742 (sgml-electric-tag-pair-mode):
8743 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8744 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8745 * emulation/crisp.el (crisp-mode):
8746 * emacs-lisp/eldoc.el (eldoc-mode):
8747 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8748 minor mode behavior.
8749
aa42ab43
JL
87502011-10-19 Juri Linkov <juri@jurta.org>
8751
8752 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8753 the list of hard-coded chars with escape-glyph face.
8754
89400f1d
SM
87552011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8758
305c07f6
MA
87592011-10-19 Michael Albinus <michael.albinus@gmx.de>
8760
8761 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8762 running process.
8763
13754b54
GM
87642011-10-19 Glenn Morris <rgm@gnu.org>
8765
8766 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8767 Ignore ignored files. (Bug#9726)
8768
06e21633
CY
87692011-10-19 Chong Yidong <cyd@gnu.org>
8770
8771 Doc fix for minor modes, stating that an omitted argument enables
8772 the mode unconditionally when called from Lisp.
8773
8774 * abbrev.el (abbrev-mode):
8775 * allout.el (allout-mode):
8776 * autoinsert.el (auto-insert-mode):
8777 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8778 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8779 (global-auto-revert-mode):
8780 * battery.el (display-battery-mode):
8781 * composite.el (global-auto-composition-mode)
8782 (auto-composition-mode):
8783 * delsel.el (delete-selection-mode):
8784 * desktop.el (desktop-save-mode):
8785 * dired-x.el (dired-omit-mode):
8786 * dirtrack.el (dirtrack-mode):
8787 * doc-view.el (doc-view-minor-mode):
8788 * double.el (double-mode):
8789 * electric.el (electric-indent-mode, electric-pair-mode):
8790 * emacs-lock.el (emacs-lock-mode):
8791 * epa-hook.el (auto-encryption-mode):
8792 * follow.el (follow-mode):
8793 * font-core.el (font-lock-mode):
8794 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8795 * help.el (temp-buffer-resize-mode):
8796 * hilit-chg.el (highlight-changes-mode)
8797 (highlight-changes-visible-mode):
8798 * hi-lock.el (hi-lock-mode):
8799 * hl-line.el (hl-line-mode, global-hl-line-mode):
8800 * icomplete.el (icomplete-mode):
8801 * ido.el (ido-everywhere):
8802 * image-file.el (auto-image-file-mode):
8803 * image-mode.el (image-minor-mode):
8804 * iswitchb.el (iswitchb-mode):
8805 * jka-cmpr-hook.el (auto-compression-mode):
8806 * linum.el (linum-mode):
8807 * longlines.el (longlines-mode):
8808 * master.el (master-mode):
8809 * mb-depth.el (minibuffer-depth-indicate-mode):
8810 * menu-bar.el (menu-bar-mode):
8811 * minibuf-eldef.el (minibuffer-electric-default-mode):
8812 * mouse-sel.el (mouse-sel-mode):
8813 * msb.el (msb-mode):
8814 * mwheel.el (mouse-wheel-mode):
8815 * outline.el (outline-minor-mode):
8816 * paren.el (show-paren-mode):
8817 * recentf.el (recentf-mode):
8818 * reveal.el (reveal-mode, global-reveal-mode):
8819 * rfn-eshadow.el (file-name-shadow-mode):
8820 * ruler-mode.el (ruler-mode):
8821 * savehist.el (savehist-mode):
8822 * scroll-all.el (scroll-all-mode):
8823 * scroll-bar.el (scroll-bar-mode):
8824 * server.el (server-mode):
8825 * shell.el (shell-dirtrack-mode):
8826 * simple.el (auto-fill-mode, transient-mark-mode)
8827 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8828 (line-number-mode, column-number-mode, size-indication-mode)
8829 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8830 * strokes.el (strokes-mode):
8831 * time.el (display-time-mode):
8832 * t-mouse.el (gpm-mouse-mode):
8833 * tool-bar.el (tool-bar-mode):
8834 * tooltip.el (tooltip-mode):
8835 * type-break.el (type-break-mode-line-message-mode)
8836 (type-break-query-mode):
8837 * view.el (view-mode):
8838 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8839 (global-whitespace-mode, global-whitespace-newline-mode):
8840 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8841
a3839de2
SM
8842 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8843 Fix autogenerated docstring.
06e21633 8844
5214e501
JL
88452011-10-19 Juri Linkov <juri@jurta.org>
8846
8847 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8848 by checking environment variables "DESKTOP_SESSION" and
8849 "XDG_CURRENT_DESKTOP". (Bug#9779)
8850
195f8db9
JL
88512011-10-19 Juri Linkov <juri@jurta.org>
8852
8853 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8854 (browse-url-chromium-program, browse-url-chromium-arguments):
8855 New defcustoms.
8856 (browse-url-default-browser): Check for `browse-url-chromium' and
8857 call `browse-url-chromium-program'.
8858 (browse-url-chromium): New command. (Bug#9779)
8859
343a34ff
JB
88602011-10-18 Juanma Barranquero <lekktu@gmail.com>
8861
8862 * facemenu.el (list-colors-duplicates): On Windows, detect more
8863 duplicates by assuming that only colors matching "^System" are
8864 special "system colors". (Bug#9722)
8865
6978a151
SM
88662011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8869 to distinguish the author from the committer.
8870
6a80b297
MA
88712011-10-18 Michael Albinus <michael.albinus@gmx.de>
8872
8873 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8874
b31a5677
JK
88752011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8876
8877 * international/mule.el (sgml-html-meta-auto-coding-function):
8878 Add support for detecting encoding in HTML5 specified only as
8879 <meta charset="UTF-8">. Implementation just makes http-equiv and
8880 content-type parts from HTML4 encoding string optional. (Bug#9716)
8881
80c6d77f
GM
88822011-10-18 Glenn Morris <rgm@gnu.org>
8883
8884 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8885
08b0fee8
CY
88862011-10-18 Chong Yidong <cyd@gnu.org>
8887
8888 * faces.el (cursor): Doc fix.
8889
67e729a5
CY
88902011-10-17 Chong Yidong <cyd@gnu.org>
8891
8892 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8893
343a34ff 88942011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8895
8896 * dirtrack.el (dirtrack): Support shell buffers with path
8897 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8898
0bc06380
TZ
88992011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8900
8901 * json.el: Bump version to 1.3 and note change in History.
8902 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8903
8b79f3e0
SM
89042011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8905
5a7c536b
SM
8906 * comint.el (comint-insert-input, comint-send-input)
8907 (comint-get-old-input-default, comint-backward-matching-input)
8908 (comint-next-prompt): Use nil instead of `input' for field property of
8909 past user input (bug#114).
8910
96a8a0df
SM
8911 * minibuffer.el (completion--replace): Inherit surrounding properties
8912 (bug#114).
8913 (minibuffer-complete-and-exit): Use it.
8914
8b79f3e0
SM
8915 * comint.el (comint--table-subvert): Quote the all-completions output
8916 (bug#9160).
8917
b8f7ff0d
MR
89182011-10-17 Martin Rudalics <rudalics@gmx.at>
8919
8b79f3e0 8920 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8921
b8f7ff0d 8922 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8923 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8924 entries and separate them from frame entries.
8925
c235b555
GM
89262011-10-15 Glenn Morris <rgm@gnu.org>
8927
8928 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8929 Doc fixes.
8930
6bbfa6e1
CY
89312011-10-15 Chong Yidong <cyd@stupidchicken.com>
8932
8b79f3e0
SM
8933 * net/network-stream.el (network-stream-open-starttls):
8934 Improve detection of failure due to lack of TLS support.
ec5c990d 8935
6bbfa6e1
CY
8936 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8937 putting the input text in front and in bold.
8938
98488977
SM
89392011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8940
3d1337be
SM
8941 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8942
ee0b45e4
SM
8943 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8944 empty buffer.
8945
98488977
SM
8946 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8947 unread-command-events rather than pushing yet-another event.
8948
186f4720
EZ
89492011-10-14 Eli Zaretskii <eliz@gnu.org>
8950
8951 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8952 the explanation of the possible choices. Make the options passed
8953 to completing-read shorter.
8954
8b7a997c
AM
89552011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8956
8957 * textmodes/flyspell.el (flyspell-large-region): Make sure
8958 extended character mode is used if defined (Bug#1339).
8959
12587bbb
EZ
89602011-10-13 Eli Zaretskii <eliz@gnu.org>
8961
8962 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8963 character info for LRE, LRO, RLE, and RLO characters by appending
8964 an invisible PDF.
12587bbb 8965
bad41229
SM
89662011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8969 even in case of error; add debug spec; simplify data flow.
8970 (with-timeout-handler): Remove.
8971
28dbc92f
MA
89722011-10-12 Michael Albinus <michael.albinus@gmx.de>
8973
8974 Fix Bug#6019, Bug#9315.
8975
8976 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8977 complete `buffer-file-name', the local file name part could look
8978 remotely (for example on VMS).
8979
8980 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8981 `tramp-run-real-handler'.
8982 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8983 already quoted by '"'.
8984
8985 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8986 Let `file-name-handler-alist' be nil, the local file name part
8987 could look remotely (for example on VMS).
8988
e1b0b23a
SM
89892011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8992 from here...
8993 (flyspell-post-command-hook): ...to here.
8994
a120bde9
SM
89952011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8998 if not needed.
8999 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9000 using completion. Protect against "slow" callers.
9001 Remove the "message hack".
9002
7ce7717b
JL
90032011-10-11 Juri Linkov <juri@jurta.org>
9004
9005 * isearch.el (isearch-lazy-highlight-word): New variable.
9006 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9007 Use it. (Bug#9727)
9008
c02ee9d6
GM
90092011-10-11 Glenn Morris <rgm@gnu.org>
9010
9011 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9012 like f90-previous-statement does.
9013
93e616fd 90142011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9015
1f190e73 9016 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9017 only in interactive use, to avoid error.
9018
af7b6078
SM
90192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * minibuffer.el (completion-file-name-table): Fix last change,
9022 i.e. ignore normal errors but not the other ones.
9023
0563dae9
MR
90242011-10-10 Martin Rudalics <rudalics@gmx.at>
9025
9026 * window.el (special-display-buffer-names)
9027 (special-display-regexps): Remove some remnants of earlier
9028 changes from doc-strings.
366ca7f3
MR
9029 (quit-windows-on): New function.
9030
9031 * vc/vc.el (vc-revert, vc-rollback):
9032 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9033 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9034 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9035
49677495
MR
90362011-10-09 Martin Rudalics <rudalics@gmx.at>
9037
9038 * window.el (frame-auto-hide-function): Add version tag.
9039 (Bug#9699)
9040
56f2d1e1
MA
90412011-10-09 Michael Albinus <michael.albinus@gmx.de>
9042
9043 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9044 condition.
9045
112a6592
LL
90462011-10-09 Leo Liu <sdl.web@gmail.com>
9047
9048 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9049 (Bug#9701)
9050
0812589b
GM
90512011-10-08 Glenn Morris <rgm@gnu.org>
9052
9053 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9054 before the first code statement zero indent. (Bug#9690)
9055
b2b0776e
CY
90562011-10-08 Chong Yidong <cyd@stupidchicken.com>
9057
9058 * simple.el (count-words-region): Always count in the region.
9059 Report the number of lines and characters too.
9060 (count-words): New command, which counts in the buffer if the
9061 region is inactive, as count-words-region used to.
9062 (count-words--message): New function. Handle plurals.
9063 (count-lines-region): Make it an alias for count-words-region.
9064
9065 * bindings.el (esc-map): Replace count-lines-region with
9066 count-words-region.
9067
c557cd6b
MR
90682011-10-08 Martin Rudalics <rudalics@gmx.at>
9069
9070 * window.el (window--delete): Delete dedicated frame
9071 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9072 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9073
61a57ef4 90742011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9075
3a7d293b 9076 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9077
c3833279
CY
90782011-10-07 Chong Yidong <cyd@stupidchicken.com>
9079
9080 * bindings.el ([M-left],[M-right]): Bind to left-word and
9081 right-word respectively.
9082
21ce8245
GM
90832011-10-07 Glenn Morris <rgm@gnu.org>
9084
9085 * cus-start.el (debug-on-quit): Fix custom type.
9086
6d823bb2
LMI
90872011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088
0181e193
LMI
9089 * subr.el (define-key-after): Clarify that the function is not
9090 useful for non-menu keymaps.
9091
6d823bb2
LMI
9092 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9093
8e3459ce 90942011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9095
21ce8245 9096 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9097 in current minibuffer (Fix bug with recursive minibuffers).
9098
a1c2d21e
CY
90992011-10-06 Chong Yidong <cyd@stupidchicken.com>
9100
9101 * progmodes/gdb-mi.el (gdb): Doc fix.
9102
5a4cf282
MR
91032011-10-05 Martin Rudalics <rudalics@gmx.at>
9104
9105 * window.el (frame-auto-hide-function): New option replacing
9106 frame-auto-delete. Suggested by Stefan Monnier.
9107 (window--delete): Call frame-auto-hide-function instead of
9108 investigating frame-auto-delete.
c96111ea
MR
9109 (window-point-1, set-window-point-1): New functions.
9110 (window-in-direction, record-window-buffer, window-state-get-1)
9111 (display-buffer-record-window): Use window-point-1 instead of
9112 window-point.
9113 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9114
9854542e
SM
91152011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9118
8943cfb0
GM
91192011-10-05 Glenn Morris <rgm@gnu.org>
9120
9121 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9122 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9123
647ab967
LL
91242011-10-05 Leo Liu <sdl.web@gmail.com>
9125
9126 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9127 works with buffer object.
9128
3ddfbced
SM
91292011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * mpc.el (mpc-tool-bar-map): Add labels.
9132
bdfa5dd2
GM
91332011-10-04 Glenn Morris <rgm@gnu.org>
9134
9135 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9136
0e2070b5
MR
91372011-10-04 Martin Rudalics <rudalics@gmx.at>
9138
9139 * window.el (window--delete): New function.
9140 (frame-auto-delete): Resuscitate option.
9141 (bury-buffer, replace-buffer-in-windows)
9142 (quit-window): Rewrite using window--delete.
9143 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9144 Pass display-buffer-mark-dedicated to window--display-buffer-2
9145 (Bug#9639).
9146
3dc61a09
SM
91472011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9148
915a9b64
SM
9149 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9150 returns a list (bug#9554). Add remote file name completion.
9151 * comint.el (comint--table-subvert): Curry and get quote&unquote
9152 functions as arguments.
9153 (comint--complete-file-name-data): Adjust call accordingly.
9154 * pcomplete.el (pcomplete--table-subvert): Remove.
9155 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9156
3dc61a09
SM
9157 * minibuffer.el (completion-table-case-fold): Use currying.
9158 (completion--styles-type, completion--cycling-threshold-type):
9159 New constants.
9160 (completion-styles, completion-category-overrides)
9161 (completion-cycle-threshold): Use them.
9162 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9163 completion-table-case-fold.
9164
8ea0a993
SB
91652011-10-03 Stephen Berman <stephen.berman@gmx.net>
9166
9167 * minibuffer.el (completion-category-overrides): Fix type of styles
9168 and add more user friendly tags (bug#9660).
9169
8c24b7f6
SM
91702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9173 (mule-input-method-string): New widget.
9174 (default-input-method, language-info-custom-alist): Use it.
9175
428fe61a
SM
91762011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9177
32c1fffd
SM
9178 * pcomplete.el: Require comint.
9179 (pcomplete--common-suffix): Remove.
9180 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9181 (pcomplete--table-subvert): Sync with comint--table-subvert.
9182 (pcomplete--entries): Use comint-completion-file-name-table.
9183 * comint.el (comint-unquote-filename): Simplify.
9184 (comint-completion-file-name-table): New function (bug#9616).
9185 (comint--complete-file-name-data): Use it.
9186
428fe61a
SM
9187 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9188 (pcmpl-gnu-tar-buffer): Remove.
9189 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9190 around. Make sure pcomplete-suffix-list is only changed temporarily.
9191 Don't look inside the tar's file if it's too large.
428fe61a 9192
04c52e2f
CY
91932011-10-01 Chong Yidong <cyd@stupidchicken.com>
9194
ce3cefcc
CY
9195 * cus-edit.el (custom-mode-map):
9196 * epa.el (epa-key-list-mode-map):
9197 * man.el (Man-mode-map):
9198 * startup.el (splash-screen-keymap):
9199 * simple.el (special-mode-map): Use scroll-up-command and
9200 scroll-down-command.
9201
9202 * progmodes/idlw-help.el (idlwave-help-mode-map):
9203 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9204 * net/newst-plainview.el (newsticker-mode-map):
9205 * emulation/ws-mode.el (wordstar-mode-map):
9206 * emulation/vi.el (vi-com-map):
9207 * calc/calc-graph.el (calc-graph-show-dumb):
9208 * term/sun.el (terminal-init-sun):
9209 * term/ns-win.el (global-map):
9210 * progmodes/grep.el (grep-mode-map):
9211 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9212 * mail/rmail.el (rmail-mode-map):
9213 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9214
04c52e2f
CY
9215 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9216 custom-safe-themes as special.
9217
79adf8c8
JD
92182011-10-01 Julien Danjou <julien@danjou.info>
9219
9220 * notifications.el (notifications-notify): Fix docstring.
9221
63bd50d3
PS
92222011-10-01 Per Starbäck <per@starback.se>
9223
9224 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9225
199e4c7e
MR
92262011-09-30 Martin Rudalics <rudalics@gmx.at>
9227
9228 * startup.el (command-line-1): Fix last fix by inserting
9229 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9230 (Bug#9605) and (Bug#9636)
199e4c7e 9231
fe5f08dd
EZ
92322011-09-29 Eli Zaretskii <eliz@gnu.org>
9233
9234 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9235 window is hscrolled, move by logical lines. (Bug#9607)
9236 (line-move-visual): Update the doc string to the above effect.
9237
b5516bbd
MR
92382011-09-29 Martin Rudalics <rudalics@gmx.at>
9239
ccee00c0
MR
9240 * window.el (display-buffer-record-window): When WINDOW is the
9241 selected window use `point' instead of `window-point'. (Bug#9626)
9242
b5516bbd
MR
9243 * startup.el (command-line-1): Use insert-before-markers when
9244 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9245
b5516bbd
MR
9246 * help.el (help-window): Remove variable.
9247
52aa0014
GM
92482011-09-29 Glenn Morris <rgm@gnu.org>
9249
9250 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9251
df9a7357
JB
92522011-09-29 Juanma Barranquero <lekktu@gmail.com>
9253
9254 * descr-text.el (describe-char-categories): Accept category
9255 descriptions more than one line long.
9256
a8406c20
SM
92572011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9258
88d9610c
SM
9259 * simple.el (delete-trailing-whitespace): Fix last change.
9260
a5daf810
SM
9261 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9262 Don't confuse "y => 3" as the beginning of a `y' operation.
9263
a8406c20
SM
9264 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9265 object has more than 4 slots (bug#9613).
9266
a239d4e9
JB
92672011-09-28 Juanma Barranquero <lekktu@gmail.com>
9268
9269 * subr.el (with-output-to-temp-buffer):
9270 * net/quickurl.el (quickurl, quickurl-browse-url):
9271 Fix typos in docstrings.
9272
693fbdb6
EZ
92732011-09-27 Eli Zaretskii <eliz@gnu.org>
9274
9275 * minibuffer.el (completion-styles)
9276 (completion-category-overrides): Cross reference each other in doc
9277 strings.
9278
8b457e28
GM
92792011-09-27 Glenn Morris <rgm@gnu.org>
9280
9281 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9282 to split-string. (Bug#9606)
9283
85a16208
LMI
92842011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285
9286 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9287 (bug#9615).
9288
502f9ebd
CY
92892011-09-27 Chong Yidong <cyd@stupidchicken.com>
9290
9291 * emacs-lisp/package.el (list-packages): Fix echo area message.
9292
7690bdea
LL
92932011-09-27 Leo Liu <sdl.web@gmail.com>
9294
9295 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9296
e2ee6f30
MA
92972011-09-25 Michael Albinus <michael.albinus@gmx.de>
9298
9299 * net/dbus.el (dbus-unregister-object): Don't release services for
9300 registered signals. (Bug#9581)
9301
f3f98342
TZ
93022011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9303
9304 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9305 function that picks between cfengine 2 and 3 support
9306 automatically. Update docs accordingly.
9307
dd7aa8dd
KH
93082011-09-22 Kenichi Handa <handa@m17n.org>
9309
9310 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9311 ZERO.
9312 (indian-itrans-v5-table-for-tamil): New variable.
9313 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9314
3f2b07f8
KM
93152011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9316
9317 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9318 that's true if the current command involved collapsing of text.
9319 It's reset to false at the beginning of the next command.
9320 (allout-post-command-business): Move the cursor to the beginning
9321 of entry if the cursor is hidden and collapsing activity just
9322 happened.
9323
371d6a61
CY
93242011-09-24 Chong Yidong <cyd@stupidchicken.com>
9325
9326 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9327 tracking (Bug#9541).
9328
2ac2721a
UJ
93292011-09-24 Ulf Jasper <ulf.jasper@web.de>
9330
9331 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9332 (newsticker-show-news): Automatically load html rendering package
9333 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9334 because w3m-fill-column is let-bound" and the error "Symbol's value
9335 as variable is void: w3m-fill-column".
2ac2721a 9336
fac7ae53
MA
93372011-09-24 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9340 Release services only if they are defined. (Bug#9581)
9341
e08b633b
RS
93422011-09-23 Richard Stallman <rms@gnu.org>
9343
e488d29c
RS
9344 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9345 distinguish start of paragraph from start of its text.
9346
19c38752
RS
9347 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9348
e08b633b
RS
9349 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9350 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9351 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9352
0a39f27e
AS
93532011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9354
9355 * international/mule-diag.el (mule-diag): Insert a newline after
9356 each fontset description.
9357
db4e950d
SM
93582011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * simple.el (delete-trailing-whitespace):
9361 Document last change; simplify.
9362
eca3f3ea
PW
93632011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9364
d68e189a
PW
9365 * simple.el (delete-trailing-whitespace): Also delete
9366 extra newlines at the end of the buffer.
9367
eca3f3ea
PW
9368 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9369 (picture-newline): Use forward-line so as to ignore fields.
9370
01c157cc
SM
93712011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * subr.el (with-wrapper-hook): Fix edebug spec.
9374
022de23e
LMI
93752011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9376
9377 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9378 (bug#4538).
9379
91683089
MA
93802011-09-23 Michael Albinus <michael.albinus@gmx.de>
9381
eca3f3ea
PW
9382 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9383 Fix nasty bug using wrong cached values.
91683089 9384
5bdd6fa4
AM
93852011-09-23 Alan Mackenzie <acm@muc.de>
9386
9387 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9388
97adfb97
CY
93892011-09-23 Chong Yidong <cyd@stupidchicken.com>
9390
9391 * window.el (pop-to-buffer): Ensure right window is selected if we
9392 chose another frame.
9393
d4ef2b50
EZ
93942011-09-22 Eli Zaretskii <eliz@gnu.org>
9395
9396 * simple.el (what-cursor-position): Use get-char-property-change
9397 and next-single-char-property-change, to be able to show display
9398 properties that come from overlays as well as text properties.
9399
72258fe5
CY
94002011-09-22 Chong Yidong <cyd@stupidchicken.com>
9401
9402 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9403
9404 * cmuscheme.el (run-scheme, switch-to-scheme):
9405 * cus-edit.el (customize-group, custom-buffer-create)
9406 (customize-browse):
9407 * info.el (info):
9408 * shell.el (shell):
9409 * mail/sendmail.el (mail):
9410 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9411
8f098516
RS
94122011-09-22 Richard Stallman <rms@gnu.org>
9413
9414 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9415 move back only to line beg, don't move back over blank lines.
9416
e74f1bb6
MA
94172011-09-22 Michael Albinus <michael.albinus@gmx.de>
9418
9419 * files.el (copy-directory): Set directory attributes only in case
9420 they could be retrieved from the source directory. (Bug#9565)
9421
bfeef8b6
DK
94222011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9423
9424 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9425 (hs-find-block-beginning, hs-hide-level-recursive):
9426 Ignore strings as well as comments. (Bug#9502)
9427
7e423bb8
AS
94282011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9429
9430 * progmodes/sql.el (sql-comint-postgres):
9431 Convert port number to a string. (Bug#9566)
9432
b4d72fcf
MR
94332011-09-22 Martin Rudalics <rudalics@gmx.at>
9434
9435 * window.el (quit-window): Undedicate window when switching to
9436 previous buffer. Reported by Thierry Volpiatto
9437 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9438 (special-display-popup-frame): When popping up a new frame reset
9439 its previous buffers to nil. Simplify code.
b4d72fcf 9440
a7b88dc6
MA
94412011-09-21 Michael Albinus <michael.albinus@gmx.de>
9442
9443 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9444 and process filter, as done also in `shell-command'.
9445
cf4eacfd
MR
94462011-09-21 Martin Rudalics <rudalics@gmx.at>
9447
eca3f3ea 9448 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9449 Call set-window-start with NOFORCE argument t.
9450 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9451 (quit-window): Reword doc-string. Handle new format of
9452 quit-restore parameter. Don't delete window if it has a
9453 previous buffer we can show instead of the present one.
9454 (display-buffer-record-window): Rewrite using a new format for
9455 the quit-restore window parameter
9456 (special-display-popup-frame, display-buffer-same-window)
9457 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9458 (display-buffer-pop-up-window, display-buffer-use-some-window):
9459 Adapt symbol passed to display-buffer-record-window.
9460 * help.el (help-window-setup): Handle new format of quit-restore
9461 parameter.
9462
8d28cb95
SM
94632011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9464
94ab793f
SM
9465 * faces.el (face-list): Fix docstring (bug#9564).
9466
8d28cb95
SM
9467 * window.el (display-buffer--action-function-custom-type):
9468 Don't include internal functions in the Custom interface.
9469
3820edeb
JL
94702011-09-20 Juri Linkov <juri@jurta.org>
9471
9472 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9473 (Info-forward-node, Info-backward-node, Info-next-preorder)
9474 (Info-last-preorder): Use it. (Bug#9528)
9475
5147931d
JL
94762011-09-20 Juri Linkov <juri@jurta.org>
9477
9478 * info.el (Info-last-preorder): Visit last menu item only when
9479 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9480
cf499a1a
JD
94812011-09-20 Julien Danjou <julien@danjou.info>
9482
9483 * password-cache.el (password-cache-remove): Remove entries even if the
9484 value is nil, so that password with a nil value (negative caching) is
9485 possible to invalidate.
9486
f84e2fe2
LM
94872011-09-20 Lawrence Mitchell <wence@gmx.li>
9488
9489 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9490 all whitespace around breakpoint. (Bug#9553)
9491 (f90-find-breakpoint): Only break at whitespace inside a comment.
9492
78054a46
SM
94932011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9494
9495 * minibuffer.el (completion-file-name-table): Keep track of errors.
9496 (completion-table-with-predicate): Handle the case where pred1 is nil.
9497 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9498
345083b2
SM
94992011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9500
e24e27be
SM
9501 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9502 (debugger-return-value): Signal an error if the debugging context does
9503 not await any return value.
9504
345083b2
SM
9505 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9506 * image-mode.el (image-toggle-display-text)
9507 (image-toggle-display-image): Stay away from evil `intangible'.
9508
08d355e3
LL
95092011-09-19 Leo Liu <sdl.web@gmail.com>
9510
9511 * replace.el (occur-revert-arguments): Make it permanent-local.
9512 (occur-mode): Don't call font-lock-defontify.
9513
f01da43f
CY
95142011-09-19 Chong Yidong <cyd@stupidchicken.com>
9515
9516 * net/ldap.el (ldap-search-internal): Don't push empty search
9517 result (Bug#9508).
9518
b6072fa6
SM
95192011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9522
443d6696
MA
95232011-09-19 Michael Albinus <michael.albinus@gmx.de>
9524
9525 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9526 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9527
7cc6e154
JL
95282011-09-18 Juri Linkov <juri@jurta.org>
9529
9530 * buff-menu.el (Buffer-menu-mode-map):
9531 * dired.el (dired-mode-map):
9532 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9533 (lisp-interaction-mode-map):
9534 * emacs-lisp/package.el (package-menu-mode-map):
9535 * epa.el (epa-key-list-mode-map):
9536 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9537 (menu-bar-options-menu):
9538 * outline.el (outline-mode-menu-bar-map):
9539 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9540 * vc/vc-dir.el (vc-dir-menu-map):
9541 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9542 Capitalize non-function content words in menu item strings.
9543
9544 * dired.el (dired-mode-map): Add menu item for
9545 `image-dired-dired-toggle-marked-thumbs'.
9546
80302a81
JL
95472011-09-18 Juri Linkov <juri@jurta.org>
9548
9549 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9550 to `isearch-case-fold-search' and restore its original value
9551 after the `isearch-mode' call.
9552
46c5cf66
JL
95532011-09-18 Juri Linkov <juri@jurta.org>
9554
9555 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9556 because `zgrep' returns 1 for successful matches (bug#9226).
9557
d18b513b
JL
95582011-09-18 Juri Linkov <juri@jurta.org>
9559
9560 * info.el (Info-extract-menu-node-name): Check the second match
9561 for empty string (second test-case of bug#9528).
9562 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9563 intermediate nodes to the history (first test-case of bug#9528).
9564
72753f87
JL
95652011-09-18 Juri Linkov <juri@jurta.org>
9566
9567 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9568 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9569
c9384295
JL
95702011-09-18 Juri Linkov <juri@jurta.org>
9571
1154d12e
JB
9572 * info.el (Info-file-supports-index-cookies):
9573 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9574 outputs one more line for long file names (bug#4142).
c9384295 9575
d473dce8
CY
95762011-09-18 Chong Yidong <cyd@stupidchicken.com>
9577
9578 * newcomment.el (comment-normalize-vars): If prompting for
9579 comment-start, set comment-start-skip too (Bug#8424).
9580
2176854d
JB
95812011-09-18 Johan Bockgård <bojohan@gnu.org>
9582
9583 * icomplete.el: Fix previous fix of Bug#5849.
9584 (icomplete-mode): Don't set completion-show-inline-help.
9585 (icomplete-minibuffer-setup): Set completion-show-inline-help
9586 locally during icompletion.
9587
3aace4e4
CY
95882011-09-18 Chong Yidong <cyd@stupidchicken.com>
9589
c940224f
CY
9590 * woman.el (woman2-process-escapes): Don't delete unrecognized
9591 escapes (Bug#7843).
9592
3aace4e4
CY
9593 * files.el (inhibit-first-line-modes-regexps): Add image files.
9594 (hack-local-variables-prop-line): Return nil for malformed
9595 prop-lines (Bug#9044).
9596
710dec63
MA
95972011-09-18 Michael Albinus <michael.albinus@gmx.de>
9598
9599 * net/tramp.el (top): Don't require 'shell.
9600 (tramp-methods): Fix docstring.
9601 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9602 Return complete remote file name. Handle "smb" case.
9603 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9604 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9605
9606 * net/tramp-compat.el (top): Require 'shell.
9607
9608 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9609 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9610 `tramp-current-host'.
9611 (tramp-get-remote-tmpdir): Remove.
9612
9613 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9614 `tramp-tmpdir' entries.
9615 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9616 (tramp-smb-handle-file-attributes): Ignore errors.
9617 (tramp-smb-wait-for-output): Check also for process end.
9618
5d5ac8ec
LMI
96192011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9620
9621 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9622 when sending QUIT (bug#9312).
9623
8c0f49f0
CY
96242011-09-17 Chong Yidong <cyd@stupidchicken.com>
9625
9626 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9627 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9628 occur-mode-display-occurrence.
9629 (occur-edit-mode): Add usage message.
9630 (occur-cease-edit): New command.
9631 (occur-after-change-function): Use text properties to find the
9632 position of the prefix text.
9633 (occur-engine): Set stickiness of prefix text properties.
9634
8f1383f7
GM
96352011-09-17 Glenn Morris <rgm@gnu.org>
9636
9637 * progmodes/etags.el (complete-tag):
9638 Fix call to completion-in-region. (Bug#9526)
9639
744ba0e3
JL
96402011-09-17 Juri Linkov <juri@jurta.org>
9641
9642 * textmodes/ispell.el (ispell-word): Add to the error message
9643 the word, ispell program name and current dictionary (bug#9121).
9644 (ispell-tex-arg-end): Capitalize "error" in the error message.
9645
d9bbf400
AS
96462011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9647
9648 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9649 check. (Bug#4251)
9650
8da11505
JL
96512011-09-17 Juri Linkov <juri@jurta.org>
9652
9653 * window.el (window-safe-min-height, window-safe-min-width):
9654 Fix typos (followup to bug#9522).
9655
a91adc7e
SJ
96562011-09-17 Sven Joachim <svenjoac@gmx.de>
9657
9658 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9659
064f328a
EZ
96602011-09-16 Eli Zaretskii <eliz@gnu.org>
9661
9662 * simple.el (line-move): If goal-column is set, move by logical
9663 lines, not by display lines. (Bug#971)
9664 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9665 to reflect the above change.
9666
e69df516
SM
96672011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9668
9669 * image.el (imagemagick-register-types): Use regexp-opt.
9670
cbb0f9ab
CY
96712011-09-15 Chong Yidong <cyd@stupidchicken.com>
9672
9673 * window.el (display-buffer-base-action): Rename from
9674 display-buffer-default-action. Make default value empty.
9675 (display-buffer-overriding-action): Convert to defvar.
9676 (display-buffer-fallback-action): New var.
9677
25322144
CY
96782011-09-15 Chong Yidong <cyd@stupidchicken.com>
9679
9680 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9681 declaration.
9682 (package--add-to-archive-contents): If there is a duplicate entry
9683 with an older version, remove it.
9684 (package-menu-mark-delete, package-menu-mark-install)
9685 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9686 (package-menu-mark-obsolete-for-deletion):
9687 Use package-menu-get-status instead of a regexp search.
25322144
CY
9688 (package-menu-get-status): Use tabulated-list-entry.
9689 (package-menu-mark-upgrades): New command.
d770725a 9690 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9691 (package-menu-execute): Do installation before deletion.
9692 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9693 instead of checking major-mode.
9694 (package-menu--find-upgrades): New function.
9695
7520339c
LMI
96962011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9697
9698 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9699 passwords in the log buffer.
65a046c4
LMI
9700 (smtpmail-process-filter): Update the process marker so that the
9701 "broken by peer" status message is inserted in the right place.
7520339c 9702
d3c30954
SM
97032011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9704
3fe48822
SM
9705 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9706 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9707 bibtex-completion-at-point-function.
9708 (bibtex-completion-at-point-function): Use them.
9709
1b8b3954
SM
9710 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9711
d3c30954
SM
9712 * mpc.el (mpc-constraints-tag-lookup): New function.
9713 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9714 also to browser "album|playlist".
9715
72779976
JL
97162011-09-14 Juri Linkov <juri@jurta.org>
9717
9718 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9719 (isearch-edit-string): Use length of `isearch-string' when
9720 `isearch-fail-pos' returns nil.
9721 (isearch-message): Remove duplicate code and call
9722 `isearch-fail-pos' with arg `t'.
9723
a0bf2bcd
CY
97242011-09-14 Chong Yidong <cyd@stupidchicken.com>
9725
17bb0a2d
CY
9726 * replace.el (occur-mode-goto-occurrence): Don't force using other
9727 window (Bug#9499).
9728
a0bf2bcd
CY
9729 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9730
f678e0b6
MR
97312011-09-14 Martin Rudalics <rudalics@gmx.at>
9732
9733 * window.el (display-buffer-window): Remove.
9734 (display-buffer-record-window): Use help-setup window parameter
9735 instead of variable display-buffer-window.
9736 (display-buffer-function, special-display-buffer-names)
9737 (special-display-function): Mention help-setup parameter instead
9738 of display-buffer-window in doc-string.
d3c30954
SM
9739 * help.el (help-window-setup): New argument help-window.
9740 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9741 Reword some messages.
9742 (with-help-window): Pass window used for displaying the buffer
9743 to help-window-setup. Don't set display-buffer-window.
9744
8e39b2e8
GM
97452011-09-13 Glenn Morris <rgm@gnu.org>
9746
9747 * emacs-lisp/debug.el (debugger-make-xrefs):
9748 Preserve point. (Bug#9462)
9749
85e9c04b
CY
97502011-09-13 Chong Yidong <cyd@stupidchicken.com>
9751
9752 * window.el (window-deletable-p): Use next-frame.
9753
1b36ed6a
MR
97542011-09-13 Martin Rudalics <rudalics@gmx.at>
9755
9756 * window.el (window-auto-delete): Remove.
9757 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9758 dedication and previous buffers.
1b36ed6a
MR
9759 (switch-to-prev-buffer): Don't delete window.
9760 (delete-windows-on): Delete a window's frame if and only if the
9761 window is dedicated.
9762 (replace-buffer-in-windows): Delete buffer's window or frame if
9763 and only if window is dedicated.
9764 (quit-window): Handle quit-restore as before last change.
4d61f28d 9765 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9766
ef8ef9fb
CY
97672011-09-13 Chong Yidong <cyd@stupidchicken.com>
9768
9769 * window.el (window-deletable-p): Never delete the last frame on a
9770 given terminal.
9771
b2cba41e
GM
97722011-09-13 Glenn Morris <rgm@gnu.org>
9773
9774 * help.el (describe-key-briefly): Copy previous standard-output change.
9775
51553db6 97762011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9777
9778 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9779
b7556719
GM
97802011-09-13 Glenn Morris <rgm@gnu.org>
9781
9782 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9783 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9784
64b51947
CY
97852011-09-12 Chong Yidong <cyd@stupidchicken.com>
9786
9787 * dired-aux.el (dired-mark-read-string): Don't return default
9788 value on empty input (Bug#9361).
9789 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9790 Omit initial minibuffer contents.
9791 (dired-do-chmod): Signal an error on empty input.
9792 (dired-mark-read-string): Don't return default on empty input.
9793
9794 * files.el (file-modes-symbolic-to-number): Doc fix.
9795
393a301e
SM
97962011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * international/mule-cmds.el (ucs-completions): Remove.
9799 (read-char-by-name): Use complete-with-action instead; add metadata.
9800
fa5660f9
CY
98012011-09-11 Chong Yidong <cyd@stupidchicken.com>
9802
9803 * window.el (display-buffer--action-function-custom-type)
9804 (display-buffer--action-custom-type): New vars.
9805 (display-buffer-alist, display-buffer-default-action)
9806 (display-buffer-overriding-action): Add defcustom types.
9807
4a592f66
CY
9808 * frame.el (delete-other-frames): Doc fix (Bug#276).
9809
73d56dbd
LMI
98102011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9811
9812 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9813
37ac18a3
CY
98142011-09-11 Chong Yidong <cyd@stupidchicken.com>
9815
9816 Change modes that used same-window-* vars to use switch-to-buffer.
9817
9818 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9819 Use switch-to-buffer.
9820
9821 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9822 (customize-browse, custom-buffer-create-other-window):
9823 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9824
9825 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9826 (Info-prev, Info-up, Info-speedbar-goto-node)
9827 (info-display-manual): Use switch-to-buffer.
9828 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9829
9830 * mail/sendmail.el (mail): Use switch-to-buffer.
9831 (mail-recover): Use switch-to-buffer-other-window.
9832
9833 * cmuscheme.el (run-scheme, switch-to-scheme):
9834 * ielm.el (ielm):
9835 * shell.el (shell):
9836 * net/rlogin.el (rlogin):
9837 * net/telnet.el (telnet, rsh):
9838 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9839
10195bd6
AS
98402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9841
9842 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9843
b322f63a
LMI
98442011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9845
39d7fed6
LMI
9846 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9847 so don't mention it (bug#9301).
ba5a81f1 9848 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9849
ee0e9f11
LMI
9850 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9851 match `x', `w32' and `ns', like the manual says (bug#9029).
9852
0b1c89c1 9853 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9854 (process-kill-buffer-query-function): Mention the buffer name in
9855 the query.
0b1c89c1 9856
77549ea8
LMI
9857 * image-mode.el (image-next-line): The line parameter is mandatory
9858 (bug#9258).
9859
803ef892
LMI
9860 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9861 which can be useful (bug#9301).
9862
12980837
LMI
9863 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9864
91054f8f
LMI
9865 * subr.el (match-string): Mention that the current buffer should
9866 be the same as the search was done in (bug#9282).
9867
b322f63a
LMI
9868 * facemenu.el: Disable the remove-* commands if the mark isn't
9869 active (bug#9162).
9870
3199b96f
CY
98712011-09-10 Chong Yidong <cyd@stupidchicken.com>
9872
9873 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9874 of display-buffer.
9875 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9876
9877 * replace.el (occur-mode-goto-occurrence)
9878 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9879 and display-buffer.
9880
9881 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9882 display-buffer.
9883
9884 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9885 special-display and same-window variables.
9886 (mail-other-window): Use switch-to-buffer-other-window.
9887 (mail-other-frame): USe switch-to-buffer-other-frame.
9888
393a301e
SM
9889 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9890 Use display-buffer-other-frame.
3199b96f
CY
9891 (gdb-display-gdb-buffer): Use pop-to-buffer.
9892
9893 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9894
9895 * progmodes/python.el: Don't set same-window-buffer-names.
9896
9897 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9898
9899 * window.el (display-buffer-alist): Add *Python*.
9900
8319e0bf
CY
99012011-09-10 Chong Yidong <cyd@stupidchicken.com>
9902
9903 * window.el (display-buffer-alist): Add entry for buffers
9904 previously handled same-window-*.
9905 (display-buffer-alist, display-buffer-default-action)
9906 (display-buffer-overriding-action): Mark as risky.
9907 (display-buffer-alist): Document action function changes.
9908 (display-buffer--same-window-action)
9909 (display-buffer--other-frame-action): New variables.
9910 (switch-to-buffer, display-buffer-other-frame): Use them.
9911 (display-buffer): Rename reuse-frame entry to reusable-frames.
9912 (display-buffer-reuse-selected-window): Function deleted.
9913 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9914 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9915 (display-buffer-special): New function.
9916 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9917 display-buffer-reuse-or-pop-window. Split off special-display
9918 part into display-buffer-special.
9919 (display-buffer-use-some-window): Don't perform any special
9920 pop-up-frames handling.
9921 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9922 (display-buffer--maybe-same-window): Rename from
0d3ff375 9923 display-buffer-maybe-same-window.
8319e0bf 9924
919a69aa
CY
9925 * info.el: Don't set same-window-regexps.
9926 (info-setup): New function.
9927 (info-other-window, info): Call it.
9928
9929 * cus-edit.el: Don't set same-window-regexps.
9930 (customize-group): New argument.
9931 (customize-group-other-window): Use it.
9932 (customize-face, customize-face-other-window): Likewise.
9933 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9934
8319e0bf
CY
9935 * net/rlogin.el:
9936 * net/telnet.el:
9937 * progmodes/gud.el: Don't set same-window-regexps.
9938
9939 * cmuscheme.el:
9940 * ielm.el:
9941 * shell.el:
9942 * mail/sendmail.el:
9943 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9944
25173000
JL
99452011-09-10 Juri Linkov <juri@jurta.org>
9946
9947 * isearch.el (isearch-edit-string): Remove obsolete mention of
9948 `C-w' (`isearch-yank-word-or-char') from docstring.
9949 (isearch-query-replace): Fix typo in docstring (bug#9466).
9950
056e44ef
JL
99512011-09-10 Juri Linkov <juri@jurta.org>
9952
9953 * paren.el (show-paren-function): Don't show escaped parens.
9954 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9955
c3760c17
EZ
99562011-09-10 Eli Zaretskii <eliz@gnu.org>
9957
9958 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9959 (mm-default-file-encoding): Remove autoload forms, they are
9960 replaced with autoload cookies in mml.el and mm-encode.el.
9961 (mail-add-attachment): New command.
9962 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9963 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9964 the doc string.
9965 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9966
fece895e
RT
99672011-09-10 Reuben Thomas <rrt@sc3d.org>
9968
e69df516
SM
9969 * simple.el (count-words-region): Use buffer if there's no region
9970 (bug#9429).
fece895e 9971
5e68ce4a
JL
99722011-09-09 Juri Linkov <juri@jurta.org>
9973
9974 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9975 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9976 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9977
0a6b9622
AM
99782011-09-09 Alan Mackenzie <acm@muc.de>
9979
9980 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9981 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9982
14a29deb
EZ
99832011-09-09 Eli Zaretskii <eliz@gnu.org>
9984
9985 Fix for Savannah bug#9392.
9986 * simple.el (mail-encode-mml): New defvar.
9987
9988 * mail/rmail.el (mail-encode-mml): Add a defvar.
9989 (rmail-enable-mime-composing): Default to t.
9990 (rmail-forward): Use MIME method of forwarding only if both
9991 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9992 Set mail-encode-mml non-nil if the MIME method was used.
9993
9994 * mail/sendmail.el (mml-to-mime): Add autoload form.
9995 (mail-encode-mml): Add a defvar.
9996 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9997 to nil.
9998 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9999 message through mml-to-mime, and reset mail-encode-mml to nil.
10000
28c45130
GM
100012011-09-09 Glenn Morris <rgm@gnu.org>
10002
10003 * woman.el (woman-if-body): When processing an .el block,
10004 do not delete the next .el block as well. (Bug#9447)
69f4b618 10005 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10006
9b1c252e
MR
100072011-09-08 Martin Rudalics <rudalics@gmx.at>
10008
10009 * window.el (window-deletable-p): Make sure window is live before
10010 invoking window-prev-buffers.
10011
567457e3
LL
100122011-09-08 Leo Liu <sdl.web@gmail.com>
10013
10014 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10015
97f05794
JL
100162011-09-08 Juri Linkov <juri@jurta.org>
10017
10018 * progmodes/compile.el (compilation-environment): Make it
10019 a defcustom (bug#8340).
10020
8b0874b5
MR
100212011-09-08 Martin Rudalics <rudalics@gmx.at>
10022
10023 * window.el (frame-auto-delete): Rename to window-auto-delete.
10024 Make it control auto-deletion of windows and/or frames.
10025 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10026 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10027 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10028 Rewrite handling of case when window/frame can be deleted.
10029 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10030 argument t. (Bug#9456)
8b0874b5 10031
4feb6e73
CY
100322011-09-07 Chong Yidong <cyd@stupidchicken.com>
10033
10034 * help-mode.el (help-mode): Restore autoload.
10035
91ab9c13
JL
100362011-09-07 Juri Linkov <juri@jurta.org>
10037
10038 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10039 `compilation-environment'. Set buffer-local
10040 `compilation-environment' to `thisenv' later after (funcall mode).
10041 (Bug#8340)
10042
10043 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10044 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10045 instead of replacing its value. (Bug#8340)
10046
0527e251
JL
100472011-09-07 Juri Linkov <juri@jurta.org>
10048
10049 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10050 based on text properties put by `grep-filter' instead of matching
10051 escape sequences.
10052 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10053 to the value of `grep-error-screen-columns' (bug#9438).
10054
249f792c
JL
100552011-09-07 Juri Linkov <juri@jurta.org>
10056
10057 * simple.el (next-error-highlight, next-error-highlight-no-select):
10058 Doc fix (bug#9432).
10059
ff7271b9
OT
100602011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10061
10062 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10063 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10064
183fc730
LL
100652011-09-07 Leo Liu <sdl.web@gmail.com>
10066
10067 * net/rcirc.el (rcirc-mode): Conditionally initialize
10068 rcirc-input-ring.
10069
77694924
SM
100702011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * emacs-lisp/find-func.el (find-function-C-source): Only set
10073 find-function-C-source-directory after checking that we found a source
10074 file there (bug#9440).
10075
d809b8eb
AM
100762011-09-06 Alan Mackenzie <acm@muc.de>
10077
10078 * isearch.el (isearch-other-meta-char): Wherever a key list is
10079 unread, "unread" the prefix arg, too. This fixes bug #8901.
10080
453de99f
OG
100812011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10082
10083 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10084
90439906
JL
100852011-09-05 Juri Linkov <juri@jurta.org>
10086
10087 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10088
f62bd846
JL
100892011-09-05 Juri Linkov <juri@jurta.org>
10090
10091 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10092 keeping point where processing of grep matches begins, and
10093 continue to delete remaining escape sequences from the same point.
10094 (grep-filter): Make leading zero optional in "0?1;31m" because
10095 git-grep emits "\033[1;31m" escape sequences unlike expected
10096 "\033[01;31m" as GNU Grep does (bug#9408).
10097 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10098
045820ec
JL
100992011-09-05 Juri Linkov <juri@jurta.org>
10100
10101 * subr.el (y-or-n-p): Capitalize "yes".
10102
f5e29b9b
MA
101032011-09-04 Michael Albinus <michael.albinus@gmx.de>
10104
10105 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10106 `tramp-cache-unload-hook' where appropriate.
10107 (tramp-methods): Rename `tramp-remote-sh' to
10108 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10109 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10110
10111 * net/tramp-sh.el (top): Don't require 'shell.
10112 (tramp-methods): Add `tramp-remote-shell' and
10113 `tramp-remote-shell-args' entries.
10114 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10115 (tramp-sh-handle-shell-command): Remove.
10116 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10117 Use `tramp-remote-shell'.
10118
2784c434
CY
101192011-09-03 Chong Yidong <cyd@stupidchicken.com>
10120
393a301e 10121 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10122 (sendmail-query-once): Save directly to send-mail-function.
10123 Update message-send-mail-function too.
10124
10125 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10126
464cdf56
CS
101272011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10128
10129 * progmodes/python.el (python-mode-map): Use correct function to
10130 start python interpreter from menu-bar (as reported by Geert
10131 Kloosterman).
10132 (inferior-python-mode-map): Fix typo.
393a301e 10133 (python-shell-map): Remove.
464cdf56 10134
d37e5c87
DD
101352011-09-03 Deniz Dogan <deniz@dogan.se>
10136
10137 * net/rcirc.el (rcirc-print): Simplify code for
10138 rcirc-scroll-show-maximum-output. There is no need to walk
10139 through all windows to find the right one.
10140
f3ada0ee
CS
101412011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10142
10143 * help.el (help-return-method): Doc fix.
10144
1f3c99ca
MR
101452011-09-03 Martin Rudalics <rudalics@gmx.at>
10146
10147 * window.el (window-deletable-p): Don't return a non-nil value
10148 when there's a buffer that was shown in the window before.
10149 (Bug#9419)
393a301e
SM
10150 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10151 Set window's previous buffers to nil.
1f3c99ca 10152
a3cf097f
EZ
101532011-09-03 Eli Zaretskii <eliz@gnu.org>
10154
10155 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10156 newline before and after the tag line, so it doesn't interfere
10157 with determining the paragraph direction of bidirectional text.
10158
3d03de90
LL
101592011-09-03 Leo Liu <sdl.web@gmail.com>
10160
10161 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10162
c3313451
CY
101632011-09-02 Chong Yidong <cyd@stupidchicken.com>
10164
393a301e 10165 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10166 (pop-to-buffer): Change interactive spec. Pass second argument
10167 directly to display-buffer.
10168 (display-buffer): Fix interactive spec. Use functionp to
10169 distinguish between a function and a list of functions.
10170
10171 * abbrev.el (edit-abbrevs):
10172 * arc-mode.el (archive-extract):
10173 * autoinsert.el (auto-insert):
10174 * bookmark.el (bookmark-bmenu-list):
10175 * files.el (find-file):
10176 * view.el (view-buffer):
10177 * progmodes/compile.el (compilation-goto-locus):
10178 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10179
89894cd8
CY
101802011-09-02 Chong Yidong <cyd@stupidchicken.com>
10181
10182 * window.el (display-buffer-alist): Doc fix.
10183 (display-buffer): Add docstring. Don't treat
10184 display-buffer-default specially.
10185 (display-buffer-reuse-selected-window)
10186 (display-buffer-same-window, display-buffer-maybe-same-window)
10187 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10188 (display-buffer-pop-up-window)
10189 (display-buffer-reuse-or-pop-window)
10190 (display-buffer-use-some-window): New functions.
10191 (display-buffer-default-action): Use them.
393a301e 10192 (display-buffer-default): Delete.
89894cd8
CY
10193 (pop-to-buffer-1): Fix choice of actions.
10194
ae0bc9fb
SM
101952011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * minibuffer.el (completion--insert-strings): Don't get confused by
10198 completion entries that end with an LF char.
10199
e9d90883
EZ
102002011-09-01 Eli Zaretskii <eliz@gnu.org>
10201
10202 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10203
437014c8
CY
102042011-09-01 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10207 (display-buffer-same-window, display-buffer-other-window):
10208 New functions.
437014c8
CY
10209 (pop-to-buffer-1): New function. Use the above.
10210 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10211 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10212
10213 * view.el (view-buffer-other-window, view-buffer-other-frame):
10214 Just use pop-to-buffer.
10215
a5e063d5
TV
102162011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10217
10218 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10219
793d32bb
WH
102202011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10221
10222 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10223
d65e4c15
RS
102242011-08-31 Richard Stallman <rms@gnu.org>
10225
10226 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10227 of the separation of rmail-view-buffer from rmail-buffer.
10228 If you say no to "replace original", the decrypt is in the
10229 view buffer. If you say yes, the decrypt goes into the
10230 rmail buffer also.
10231
f818cd2a
MR
102322011-08-31 Martin Rudalics <rudalics@gmx.at>
10233
10234 * window.el (display-buffer-window): Rewrite doc-string.
10235 (display-buffer-record-window): New function.
10236 (display-buffer-macro-specifiers)
10237 (display-buffer-even-window-sizes, display-buffer-set-height)
10238 (display-buffer-set-width, display-buffer-in-window)
10239 (display-buffer-reuse-window, display-buffer-split-specifiers)
10240 (display-buffer-side-specifiers, display-buffer-split-window-1)
10241 (display-buffer-split-window, display-buffer-split-atom-window)
10242 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10243 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10244 (display-buffer-other-window-means-other-frame)
10245 (display-buffer-normalize-special)
10246 (display-buffer-normalize-default)
10247 (display-buffer-normalize-argument)
10248 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10249 (display-buffer-normalize-specifiers, display-buffer-frame)
10250 (display-buffer-same-window, display-buffer-same-frame)
10251 (display-buffer-other-window)
10252 (display-buffer-same-frame-other-window)
10253 (display-buffer-other-frame, pop-to-buffer-same-window)
10254 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10255 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10256 (switch-to-buffer-same-frame)
10257 (switch-to-buffer-other-window-same-frame)
10258 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10259 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10260 (display-buffer-alist-set): Remove.
10261 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10262 (special-display-regexps, special-display-function):
10263 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10264 parameter.
10265 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10266 (special-display-frame-alist, special-display-popup-frame)
10267 (same-window-buffer-names, same-window-regexps, same-window-p)
10268 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10269 (split-window-preferred-function, split-height-threshold)
10270 (split-width-threshold, window-splittable-p)
10271 (split-window-sensibly, window--try-to-split-window)
10272 (window--frame-usable-p, even-window-heights)
10273 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10274 (window--display-buffer-2, display-buffer-other-frame):
10275 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10276 (display-buffer-default, display-buffer-assq-regexp): New functions.
10277 (display-buffer-alist): Rewrite doc-string.
10278 (display-buffer-default-action)
10279 (display-buffer-overriding-action): New variables.
10280 (display-buffer, switch-to-buffer): Rewrite.
10281 (pop-to-buffer): Restore Emacs 23 behavior but use
10282 window-normalize-buffer-to-display.
10283 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10284 Restore Emacs 23 behavior but use
10285 window-normalize-buffer-to-switch-to.
10286 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10287 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10288 Rewrite using Emacs 23 options.
f818cd2a 10289
5bc3b51d
MA
102902011-08-31 Michael Albinus <michael.albinus@gmx.de>
10291
10292 * net/tramp.el (tramp-root-regexp): Remove.
10293 (tramp-completion-file-name-regexp-unified)
10294 (tramp-completion-file-name-regexp-separate)
10295 (tramp-completion-file-name-regexp-url): Don't use leading volume
10296 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10297 (tramp-drop-volume-letter): Simplify definition.
10298 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10299
b1a4f8e1
SM
103002011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10303 (bug#9356).
10304
5664fa7b
RT
103052011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10306
b1a4f8e1 10307 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10308
9a45d6c3
JL
103092011-08-29 Juri Linkov <juri@jurta.org>
10310
10311 * isearch.el (isearch-done): Don't display message "Mark saved"
10312 when arg `edit' is non-nil to prevent its flicker in the echo area.
10313
fb87e0fb
CY
103142011-08-28 Chong Yidong <cyd@stupidchicken.com>
10315
10316 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10317 obsolete packages for deletion.
10318
09ac1c2a
CS
103192011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10320
10321 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10322 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10323 view-mode from help-mode.
10324 (help-xref-override-view-map): Remove.
10325 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10326 view-mode is not used anymore.
10327
7a1ff57f
CY
103282011-08-28 Chong Yidong <cyd@stupidchicken.com>
10329
10330 * server.el (server-port): Doc fix.
10331
b9696605
CY
10332 * cus-theme.el (custom-theme-choose-mode): Inherit from
10333 special-mode (Bug#9124).
10334 (custom-theme-choose-mode-map): Add special-mode to parent.
10335
ef8cdf8c
AM
103362011-08-28 Alan Mackenzie <acm@muc.de>
10337
10338 * progmodes/cc-fonts.el
10339 (c-make-font-lock-BO-decl-search-function): New function.
10340 (c-basic-matchers-after - "Fontify the clauses after various
10341 keywords"): Extract the three keyword lists for the 3 erroneous
10342 constructs from the list of four, and use the new function above
10343 in place of an old one.
10344
27de4e20
DD
103452011-08-28 Deniz Dogan <deniz@dogan.se>
10346
10347 * net/rcirc.el (rcirc-insert-prev-input)
10348 (rcirc-insert-next-input): Remove unused argument.
10349
356a3681
SM
103502011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10353
3fc9b218
AM
103542011-08-27 Alan Mackenzie <acm@muc.de>
10355
10356 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10357 handle function pointer parameters properly.
10358
538a061c
MR
103592011-08-27 Martin Rudalics <rudalics@gmx.at>
10360
10361 * window.el (display-buffer-reuse-window): Fix case where
10362 selected window was reused with non-nil OTHER-WINDOW argument.
10363 (Bug#9381)
10364
35b1c40c
DD
103652011-08-27 Deniz Dogan <deniz@dogan.se>
10366
10367 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10368 oftc's NickServ messages.
10369
2f6a3e79
GM
103702011-08-27 Glenn Morris <rgm@gnu.org>
10371
10372 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10373
7254299e
CY
103742011-08-26 Chong Yidong <cyd@stupidchicken.com>
10375
10376 * emacs-lisp/package.el (package-install): Call package-initialize
10377 if called interactively.
10378
f8ccf167
LL
103792011-08-26 Leo Liu <sdl.web@gmail.com>
10380
10381 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10382
3e8cd5ce
JL
103832011-08-25 Juri Linkov <juri@jurta.org>
10384
10385 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10386 `search-whitespace-regexp' (bug#9364).
10387
93eb7113
JL
103882011-08-25 Juri Linkov <juri@jurta.org>
10389
10390 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10391 `regexp-search-ring' to their global values to protect from
10392 updating by `read-from-minibuffer' (bug#9185).
10393
f65d1611
JL
103942011-08-25 Juri Linkov <juri@jurta.org>
10395
10396 * textmodes/ispell.el (ispell-command-loop): Add newline
10397 at the end of the "Use option `i'..." line.
10398
f1cf7a31
JL
103992011-08-25 Juri Linkov <juri@jurta.org>
10400
10401 * battery.el (display-battery-mode): If `battery-status-function'
10402 or `battery-mode-line-format' is nil, display the message and set
10403 `display-battery-mode' to nil (bug#9363).
10404
0c95fcf7
EZ
104052011-08-25 Eli Zaretskii <eliz@gnu.org>
10406
10407 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10408 bidi-string-mark-left-to-right; they are unnecessary now.
10409
a2ebe600
DD
104102011-08-25 Deniz Dogan <deniz@dogan.se>
10411
10412 * net/quickurl.el: Documentation typo fixes.
10413
e4ed06f1
CY
104142011-08-25 Chong Yidong <cyd@stupidchicken.com>
10415
10416 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10417
e5f1c99e
GM
104182011-08-25 Glenn Morris <rgm@gnu.org>
10419
b2948976
GM
10420 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10421
e5f1c99e
GM
10422 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10423 (smtpmail-via-smtp): Handle nil response from smtp.
10424
f22f4808
JL
104252011-08-24 Juri Linkov <juri@jurta.org>
10426
10427 * proced.el (proced-marked): Inherit from `error' instead of
10428 `font-lock-warning-face'.
10429
10430 * ibuffer.el (ibuffer-marked-face): Change default face from
10431 `font-lock-warning-face' to `warning'.
10432 (ibuffer-deletion-face): Change default face from
10433 `font-lock-type-face' to `error'.
10434
10435 * battery.el (battery-update): Use the face `error' instead of
10436 `font-lock-warning-face' (bug#6117).
10437
6a93965e
JL
104382011-08-24 Juri Linkov <juri@jurta.org>
10439
10440 * faces.el (success): Change face color from "Green3" to
10441 "ForestGreen" on light background (bug#9353).
10442
1ed43b09
CY
104432011-08-24 Chong Yidong <cyd@stupidchicken.com>
10444
5664fa7b
RT
10445 * window.el (quit-window): Rename from quit-restore-window.
10446 Use same arglist as old quit-window.
1ed43b09
CY
10447 (frame-auto-delete): Doc fix.
10448
10449 * view.el (view-mode-exit): Use quit-window.
10450
11dcdbb2
JL
104512011-08-24 Juri Linkov <juri@jurta.org>
10452
10453 * isearch.el (isearch-ring-adjust1): Start visiting previous
10454 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10455 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10456 for empty search string (when the last search string is reused
10457 automatically) to adjust the isearch ring to the last element and
10458 prepare the correct index for further M-p commands (bug#9185).
10459
de62b4df
KH
104602011-08-24 Kenichi Handa <handa@m17n.org>
10461
10462 * international/ucs-normalize.el: If decomposition property of
10463 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10464 nil.
10465 (nfd, nfkd): Likewise.
10466
963b492b
SM
104672011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10470 from process filters aren't reliably transmitted to the surrounding
10471 accept-process-output.
10472 (mpc-proc-check): New function.
10473 (mpc-proc-sync): Use it (bug#8293)
10474
93b6b5e1
SM
104752011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10478 Add compatibility functions (bug#9313).
10479
bca633fb
EZ
104802011-08-23 Eli Zaretskii <eliz@gnu.org>
10481
b177498a
EZ
10482 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10483
6df6ae42 10484 * international/uni-bidi.el: Regenerate.
bca633fb 10485
0902a04e
KH
104862011-08-23 Kenichi Handa <handa@m17n.org>
10487
10488 * international/charprop.el:
10489 * international/uni-bidi.el:
10490 * international/uni-category.el:
10491 * international/uni-combining.el:
10492 * international/uni-comment.el:
10493 * international/uni-decimal.el:
10494 * international/uni-decomposition.el:
10495 * international/uni-digit.el:
10496 * international/uni-lowercase.el:
10497 * international/uni-mirrored.el:
10498 * international/uni-name.el:
10499 * international/uni-numeric.el:
10500 * international/uni-old-name.el:
10501 * international/uni-titlecase.el:
10502 * international/uni-uppercase.el: Regenerate.
10503
3bbf23bc
MR
105042011-08-23 Martin Rudalics <rudalics@gmx.at>
10505
10506 * help.el (help-window-setup): Fix message displayed when other
10507 window is reused. (Bug#9341)
10508
b3fd59bd
SM
105092011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10510
1802e444
SM
10511 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10512 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10513
b3fd59bd
SM
10514 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10515 Mark obsolete.
10516 * shell.el (shell-parse-pcomplete-arguments): New function.
10517 (shell-completion-vars): Use it instead (bug#9160).
10518
4eb61348
SM
105192011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10520
867cab74
SM
10521 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10522 strings and comments (bug#9333).
10523
4eb61348
SM
10524 * emacs-lisp/debug.el (debug-arglist): New function.
10525 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10526 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10527
262a1439
JL
105282011-08-22 Juri Linkov <juri@jurta.org>
10529
56ee679c
JL
10530 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10531 Revert regexp that highlights output switches to its old
10532 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10533
262a1439
JL
10534 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10535 to check for empty output (bug#9226).
10536
f13f86fb
CY
105372011-08-22 Chong Yidong <cyd@stupidchicken.com>
10538
10539 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10540 symbol-constituent as the default, as that stops font-lock from
10541 working properly (Bug#8843).
10542
c65c9622
LMI
105432011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10544
10545 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10546 `coding-system-for-*' around the process open call to avoid
10547 auth-source side effects.
e7f2c178 10548 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10549 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10550 probe hangs.
c65c9622 10551
23a8a5ab
CY
105522011-08-21 Chong Yidong <cyd@stupidchicken.com>
10553
ff98b2dd
CY
10554 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10555
23a8a5ab
CY
10556 * emacs-lisp/find-func.el (find-function-noselect): New arg
10557 lisp-only.
10558
10559 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10560 signal an error for built-in functions (Bug#6664).
10561
f5e3c598
LMI
105622011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10563
10564 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10565 (smtpmail-try-auth-methods): Use it.
10566
a3f2468a
CY
105672011-08-21 Chong Yidong <cyd@stupidchicken.com>
10568
2c34e8da
CY
10569 * font-lock.el (font-lock-fontify-region)
10570 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10571 (font-lock-default-unfontify-buffer)
10572 (font-lock-default-fontify-region)
10573 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10574
b3fd59bd
SM
10575 * progmodes/compile.el (compilation-error-properties):
10576 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10577 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10578 `ant' regexp.
ee31aabc 10579
a3f2468a
CY
10580 * net/browse-url.el (browse-url-firefox): Don't call
10581 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10582
8e999f70
GM
105832011-08-20 Glenn Morris <rgm@gnu.org>
10584
c21a496a
GM
10585 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10586
59ee0542
GM
10587 * tutorial.el (tutorial--default-keys): Update some default bindings.
10588
8e999f70
GM
10589 * files.el (hack-local-variables): Fully ignore case for "mode:".
10590
e3715033
AM
105912011-08-20 Alan Mackenzie <acm@muc.de>
10592
10593 Resolve invalid use of a regexp in regexp-opt.
10594
4d61f28d
JB
10595 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10596 detection for a java annotation.
e3715033 10597
4d61f28d 10598 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10599 detection for a java annotation.
10600
4d61f28d
JB
10601 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10602 handling for java.
e3715033
AM
10603 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10604
04ed2e9c
CY
106052011-08-20 Chong Yidong <cyd@stupidchicken.com>
10606
10607 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10608 (Bug#9274).
10609
826cee64
AM
106102011-08-20 Alan Mackenzie <acm@muc.de>
10611
58179cce 10612 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10613 such a construct. Mainly for when jit-lock etc. starts a chunk
10614 here.
10615
58179cce 10616 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10617 variable.
58179cce 10618 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10619 c-make-font-lock-search-function.
10620 (c-make-font-lock-search-function): Use the above function.
10621 (c-make-font-lock-context-search-function): New function.
10622 (c-cpp-matchers): Enhance the preprocessor expression case with
10623 the above function
10624 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10625 which takes an expression.
10626
10627 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10628
13009bd8
MR
106292011-08-20 Martin Rudalics <rudalics@gmx.at>
10630
10631 * window.el (display-buffer-reuse-window)
10632 (display-buffer-pop-up-window): Don't reuse or split a side
10633 window.
10634
9234ff7f
GM
106352011-08-19 Glenn Morris <rgm@gnu.org>
10636
10637 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10638 Downcase "Mode:". (Bug#9331)
9234ff7f 10639
f635daa1
CY
106402011-08-18 Chong Yidong <cyd@stupidchicken.com>
10641
10642 * international/characters.el: Add L and R categories.
10643
10644 * subr.el (bidi-string-mark-left-to-right): Rename from
10645 string-mark-left-to-right. Use category search.
10646
10647 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10648
bc987f8b
JL
106492011-08-18 Juri Linkov <juri@jurta.org>
10650
10651 * faces.el (error, warning, success): New faces with definitions
10652 copied from old default values of `font-lock-warning-face',
10653 `compilation-warning', `compilation-info' (bug#6117).
10654
10655 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10656
10657 * progmodes/compile.el (compilation-error): Inherit from `error'.
10658 (compilation-warning): Inherit from `warning'.
10659 (compilation-info): Inherit from `success'.
10660
10661 * dired.el (dired-marked): Inherit from `warning'.
10662 (dired-flagged): Inherit from `error'.
10663
57173b96
LMI
106642011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10665
3e79eb87
LMI
10666 * mail/smtpmail.el (auth-source): Require to avoid problems with
10667 binding variables (bug#9298). Also clean up some unused
10668 autoloads.
10669
b3fd59bd
SM
10670 * net/network-stream.el (network-stream-open-starttls):
10671 Support using starttls.el without using gnutls-cli.
57173b96 10672
02b404de
JL
106732011-08-17 Juri Linkov <juri@jurta.org>
10674
10675 * progmodes/grep.el (rgrep): Handle the case when
10676 `grep-find-command' is a cons cell (bug#9278).
10677
8c9177f2
MR
106782011-08-17 Martin Rudalics <rudalics@gmx.at>
10679
10680 * window.el (display-buffer-pop-up-frame): Run frame creation
10681 function with BUFFER current (as special-display-popup-frame
10682 does). Reported by Drew Adams.
10683
3644a0ab
DU
106842011-08-17 Daiki Ueno <ueno@unixuser.org>
10685
10686 * epa-mail.el: Simplify GnuPG group expansion using
10687 epg-expand-group.
10688 (epa-mail-group-alist, epa-mail-group-modtime)
10689 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10690 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10691 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10692 Remove.
10693
5e617bc2 106942011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10695
10696 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10697
9c4aeabf
AM
106982011-08-16 Alan Mackenzie <acm@muc.de>
10699
10700 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10701 Correct, to avoid the inside of macros.
10702
3a99bf64
RS
107032011-08-16 Richard Stallman <rms@gnu.org>
10704
04963aa8
RS
10705 * epa-mail.el: Handle GnuPG group definitions.
10706 (epa-mail-group-alist, epa-mail-group-modtime)
10707 (epa-mail-gnupg-conf-file): New variables.
10708 (epa-mail-parse-groups, epa-mail-sync-groups)
10709 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10710 (epa-mail-expand-recipients): New functions.
10711 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10712
177549d0
RS
10713 * mail/rmail.el (rmail-epa-decrypt): New command.
10714
fe38beef
RS
10715 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10716 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10717 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10718 (epa-decrypt-armor-in-region): Make error message clearer.
10719
934eacb9
SM
107202011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10721
10722 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10723 and "a2b" to "ab" for `prefix'.
10724
d024fb4e
CY
107252011-08-14 Chong Yidong <cyd@stupidchicken.com>
10726
10727 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10728 filter groups.
de148fee
CY
10729 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10730 Fourquet (Bug#8804).
d024fb4e 10731
62f1ca49
JB
107322011-08-12 Juanma Barranquero <lekktu@gmail.com>
10733
10734 * startup.el (argi): Declare as global variable (bug#9275).
10735
9ccaaa4b
CY
107362011-08-12 Chong Yidong <cyd@stupidchicken.com>
10737
10738 * subr.el (string-mark-left-to-right): Search the entire string
10739 for RTL script, not just the terminating character. Doc fix.
10740
a3dae87a
SM
107412011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10742
6cd18349
SM
10743 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10744 New function.
10745 (js--regexp-literal, js-syntax-propertize-function): Remove.
10746 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10747 (js-mode-map): Don't rebind electric keys.
10748 (js-insert-and-indent): Remove.
10749 (js-mode): Setup electric-layout and electric-indent instead.
10750
a3dae87a
SM
10751 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10752
9d5cb631
DU
107532011-08-12 Daiki Ueno <ueno@unixuser.org>
10754
10755 * epa.el (epa-progress-callback-function): Fix the logic of
10756 displaying progress.
10757 * epa-file.el (epa-file-insert-file-contents): Make progress
10758 display more user-friendly.
10759 (epa-file-write-region): Ditto.
10760
3e26a4a2
CY
107612011-08-10 Chong Yidong <cyd@stupidchicken.com>
10762
10763 * subr.el (string-mark-left-to-right): New function.
10764
10765 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10766 Use string-mark-left-to-right.
10767 (list-buffers-noselect): Caller changed.
10768
a3dae87a
SM
10769 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10770 Use string-mark-left-to-right.
3e26a4a2
CY
10771 (tabulated-list-print): Recenter after moving point.
10772
ac8cf6e6
JL
107732011-08-10 Juri Linkov <juri@jurta.org>
10774
10775 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10776 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10777 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10778
8d96c9a4
CY
107792011-08-09 Chong Yidong <cyd@stupidchicken.com>
10780
10781 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10782 (Bug#7554).
10783
7be1c708 107842011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10785
10786 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10787 character. (Bug#6594)
10788
37e11a63
CY
107892011-08-08 Chong Yidong <cyd@stupidchicken.com>
10790
839dde57
CY
10791 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10792 (image-dired--with-db-file): New macro.
10793 (image-dired-write-tags, image-dired-remove-tag)
10794 (image-dired-create-gallery-lists, image-dired-write-comments)
10795 (image-dired-get-comment, image-dired-mark-tagged-files)
10796 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10797 (image-dired-gallery-generate): Use insert-file-contents.
10798
37e11a63
CY
10799 * time.el (display-time-world-list, display-time-world-display):
10800 * time-stamp.el (time-stamp-string):
10801 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10802 set-time-zone-rule (Bug#7337).
10803
0b4946c4
DU
108042011-08-08 Daiki Ueno <ueno@unixuser.org>
10805
10806 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10807 (epg-error-to-string, epg-errors-to-string): New function.
10808 (epg-wait-for-completion): Reverse errors list.
10809 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10810 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10811 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10812 (epg-sign-keys, epg-generate-key-from-file)
10813 (epg-generate-key-from-string): Format errors by using
10814 epg-errors-to-string (bug#9255).
10815 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10816
75bfc667
JL
108172011-08-07 Juri Linkov <juri@jurta.org>
10818
10819 * faces.el (list-faces-display): Remove extra angle bracket
10820 from `help-mode-map'.
10821
10822 * info.el (Info-history-toc-nodes): Doc fix.
10823
10824 * longlines.el (longlines-mode): Doc fix.
10825
673e08bb
SM
108262011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10827
4640dd88
SM
10828 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10829 of statements and in a few more cases (bug#9183).
10830
673e08bb
SM
10831 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10832 New functions.
10833 (cl-transform-lambda): Use them (bug#9239).
10834
89b3f019
MR
108352011-08-05 Martin Rudalics <rudalics@gmx.at>
10836
10837 * window.el (display-buffer-same-window)
10838 (display-buffer-same-frame, display-buffer-other-window)
10839 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10840 (pop-to-buffer-other-window)
10841 (pop-to-buffer-same-frame-other-window)
10842 (pop-to-buffer-other-frame): Make them defuns.
10843 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10844
640c8776
SM
108452011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * subr.el (make-composed-keymap): Move from C. Change calling
10848 convention, and improve docstring to bring attention to a subtle point.
10849 * minibuffer.el (completing-read-default): Adjust accordingly.
10850
63648a95
MA
108512011-08-03 Michael Albinus <michael.albinus@gmx.de>
10852
10853 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10854 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10855
10856 * net/trampver.el: Update release number.
10857
b796c9b7
SM
108582011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10861 "in" (bug#9190).
10862
2239d7d5
LMI
108632011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10864
e07dd7c3
LMI
10865 * mail/sendmail.el (sendmail-query-once): Restore the current
10866 buffer after querying (bug#9074).
10867
0e6a2bd7
LMI
10868 * dired.el (dired-flagged): Use different faces for marked and
10869 flagged files (bug#6117).
10870
ce887515
LMI
10871 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10872 (bug#4433).
10873
92f2affc
LMI
10874 * ido.el (ido-mode): Switch off the message if called
10875 non-interactively.
10876
57d5aff0
LMI
10877 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10878 before 587, since it appears that that's more likely to work for
10879 more people.
10880
98cd6c18 10881 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10882 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10883 exist.
10884
b96dec83
LMI
10885 * info.el: Remove the `Info-beginning-of-buffer' function
10886 (bug#8325).
10887
b796c9b7
SM
10888 * net/network-stream.el (network-stream-open-starttls):
10889 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10890
d90e2ea0
MR
108912011-08-01 Martin Rudalics <rudalics@gmx.at>
10892
10893 * window.el (display-buffer-in-window): Don't set dedicated status
10894 of window here (Bug#9215).
10895 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10896 (display-buffer-pop-up-side-window)
b796c9b7 10897 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10898
cca09170
SM
108992011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10902 before binding generated-autoload-file.
10903
027b979c
DD
109042011-08-01 Deniz Dogan <deniz@dogan.se>
10905
10906 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10907
3c7ee4f3
MA
109082011-07-30 Michael Albinus <michael.albinus@gmx.de>
10909
10910 Sync with Tramp 2.2.2.
10911
10912 * net/trampver.el: Update release number.
10913
2cc8e51a
JL
109142011-07-30 Juri Linkov <juri@jurta.org>
10915
10916 * dired-aux.el (dired-touch-initial): Remove function.
10917 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10918 current time, and `default' to the last modification time of the
10919 current marked file (bug#6887).
10920
a514d856
JM
109212011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10922
10923 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10924 numeric argument to read-number (bug#9163).
a514d856 10925
8a7eddd7
MA
109262011-07-27 Michael Albinus <michael.albinus@gmx.de>
10927
10928 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10929 connection process, it could be nil.
10930
1ddd96f5
LL
109312011-07-27 Leo Liu <sdl.web@gmail.com>
10932
10933 Simplify url handling in rcirc-mode.
10934
10935 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10936 (rcirc-browse-url-at-mouse): Remove.
10937 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10938
b248a85d
AM
109392011-07-26 Alan Mackenzie <acm@muc.de>
10940
10941 Fontify bitfield declarations properly.
10942
10943 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10944 (c-symbol-chars): Now exported as a lang variable.
10945 (c-not-primitive-type-keywords): New lang variable.
10946
10947 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10948 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10949 parsed as a bitfield declaration.
b248a85d 10950
b796c9b7
SM
10951 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10952 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10953 (c-punctuation-in): New function.
10954 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10955 declarations properly.
10956
68575ab0
UJ
109572011-07-26 Ulf Jasper <ulf.jasper@web.de>
10958
10959 * calendar/icalendar.el (icalendar--all-events): Take care of
10960 multiple vcalendars in a single file.
b796c9b7 10961 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10962
0f0a88b9
DD
109632011-07-25 Deniz Dogan <deniz@dogan.se>
10964
10965 * image.el (insert-image): Clarifying docstring.
10966
0b3f36df
MA
109672011-07-24 Michael Albinus <michael.albinus@gmx.de>
10968
10969 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10970 `tramp-send-command-and-check' if there is no error.
10971 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10972
a9901f61
AM
109732011-07-22 Alan Mackenzie <acm@muc.de>
10974
10975 Prevent cc-langs.elc being loaded at run time.
10976
10977 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10978 cc-langs.
10979
4d61f28d 10980 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10981 "(require 'cc-langs)". Quote a form so it will evaluate at
10982 (cc-mode's) compilation time.
10983
11d074b2
MA
109842011-07-22 Michael Albinus <michael.albinus@gmx.de>
10985
10986 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10987 loading. (Bug#9114)
10988
938b94c8
MR
109892011-07-21 Martin Rudalics <rudalics@gmx.at>
10990
10991 * window.el (display-buffer-pop-up-window)
10992 (display-buffer-pop-up-side-window)
10993 (display-buffer-in-side-window): Call display-buffer-set-height
10994 and display-buffer-set-width after setting the new window's
b796c9b7 10995 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10996
bfa4f190
SS
109972011-07-20 Sam Steingold <sds@gnu.org>
10998
10999 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11000 (etags-tags-included-tables): Call `convert-standard-filename' on
11001 the file names contained in TAGS so that windows Emacs can handle
11002 TAGS files created by cygwin ctags.
11003
8ca42262
LMI
110042011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11005
11006 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11007 which apparently didn't work.
11008
5db2afd2 110092011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11010
5db2afd2
RW
11011 * proced.el (proced-send-signal): For *Marked Processes* buffer
11012 put point at beginning of buffer.
11013
92e15d10
SB
110142011-07-19 Stephen Berman <stephen.berman@gmx.net>
11015
11016 * proced.el (proced-format): Make header lines align with the text
11017 (bug#1779).
11018
1bfd59e5
LMI
110192011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11020
11021 * view.el (view-buffer): Allow running in `special' modes if we're
11022 visiting a file (bug#8615).
11023
f5aae37c
MR
110242011-07-19 Martin Rudalics <rudalics@gmx.at>
11025
11026 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11027 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11028 New functions.
f5aae37c
MR
11029 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11030 more accurately.
11031
bf2c1571
AM
110322011-07-18 Alan Mackenzie <acm@muc.de>
11033
11034 Fontify declarators properly when, e.g., a jit-lock chunk begins
11035 inside a declaration.
11036
11037 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11038
b796c9b7
SM
11039 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11040 New function.
bf2c1571
AM
11041 (c-complex-decl-matchers): Insert reference to
11042 c-font-lock-enclosing-decls.
11043
11044 * progmodes/cc-engine.el (c-backward-single-comment):
11045 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11046 to nil around calls to (forward-comment -1).
11047
4e190b80
LMI
110482011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11049
12dc863d
LMI
11050 * image.el (put-image): Doc typo fix.
11051
a762e966
LMI
11052 * progmodes/etags.el (tags-search): Doc typo fix.
11053
4e190b80
LMI
11054 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11055 password if we get errors 550 to 554.
11056
f019fb21
LMI
110572011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11058
b796c9b7 11059 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11060
81746738
LMI
11061 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11062 indentation character (bug#6380).
11063
3ee3a1b5
LMI
11064 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11065
c82f64de
LMI
11066 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11067 to clarify what the problem is (bug#4291).
11068
f019fb21
LMI
11069 * simple.el (current-kill): Clarify what
11070 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11071 (auto-fill-mode): Document `auto-fill-function' in relation to
11072 `auto-fill-mode' (bug#2470).
f019fb21 11073
0794775d
LM
110742011-07-16 Lawrence Mitchell <wence@gmx.li>
11075
11076 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11077 method if slot is read-only (bug#9035).
11078
be39b8cc
MR
110792011-07-16 Martin Rudalics <rudalics@gmx.at>
11080
b796c9b7 11081 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11082 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11083 selected before, see discussion of (Bug#8615), (Bug#6954).
11084 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11085
6ccf7859
GM
110862011-07-15 Glenn Morris <rgm@gnu.org>
11087
11088 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11089 Respect help-form.
6ccf7859 11090
87e86684
LM
110912011-07-09 Lawrence Mitchell <wence@gmx.li>
11092
11093 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11094 (gnutls-negotiate): Use it.
11095
d6066239
LMI
110962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11097
b796c9b7
SM
11098 * net/gnutls.el (gnutls-negotiate):
11099 Upcase `gnutls-algorithm-priority'.
d6066239 11100
bd23ebc0
GM
111012011-07-15 Glenn Morris <rgm@gnu.org>
11102
c65bca65
GM
11103 * jka-compr.el (jka-compr-verbose): Move from here...
11104 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11105 Add missing :version tag.
11106 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11107
478615cc
LMI
111082011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11109
7b41decb
LMI
11110 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11111 (gnutls-negotiate): Use it.
11112
dbc44fcd
LMI
11113 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11114
06789f97
LMI
11115 * info.el (Info-beginning-of-buffer): New command.
11116 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11117 announcing `b' as the key (bug#8325).
ab896c37 11118 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11119
c39da690
LMI
11120 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11121
3aa5f34b
LMI
11122 * international/mule-cmds.el
11123 (describe-specified-language-support): Make the error message
11124 clearer (bug#8905).
11125
4bf0979f
LMI
11126 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11127
478615cc
LMI
11128 * isearch.el (isearch-barrier): Add a doc string, since it's
11129 mentioned in a function doc string (bug#8678).
11130
75c68aa1
MR
111312011-07-15 Martin Rudalics <rudalics@gmx.at>
11132
11133 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11134 buffer argument (Bug#9083) and self-identifying label argument.
11135
a7c33da2
GM
111362011-07-15 Glenn Morris <rgm@gnu.org>
11137
11138 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11139
2f5c6024
LMI
111402011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11141
11142 * man.el (Man-fontify-manpage): Fix message when formatting the
11143 man page (bug#7929).
11144
0bb23927 111452011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11146
11147 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11148 argument LRM; if non-nil, append an invisible LRM character to the
11149 buffer name.
11150 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11151 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11152 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11153 paragraph direction.
cce4b0a7 11154
621ef9ab
LMI
111552011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11156
d1583c48
LMI
11157 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11158 the man page name (bug#7929).
11159
6a57fb5f
LMI
11160 * image.el (put-image): Mention the `put-image' overlay property
11161 (bug#7834).
11162
d7956b14
LMI
11163 * scroll-bar.el (set-scroll-bar-mode): Mention that
11164 `scroll-bar-mode' lists the values (bug#7772).
11165
5b2d4a66
LMI
11166 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11167 command (bug#7729).
11168
7509a874
LMI
11169 * rect.el (apply-on-rectangle): Return the point after the last
11170 operation.
11171 (string-rectangle): Go to the point after the last operation
11172 (bug#7522).
11173
4fe74b19
LMI
11174 * printing.el (pr-toggle-region): Clarify the documentation
11175 slightly (bug#7493).
11176
b796c9b7
SM
11177 * time.el (display-time-update):
11178 Allow `display-time-mail-function' to return nil (bug#7158).
11179 Fix suggested by Detlev Zundel.
ab283561 11180
fc233c9d
LMI
11181 * vc/diff.el (diff): Clarify the order the file names are read
11182 (bug#7111).
11183
43f5740b
LMI
11184 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11185 the doc string (bug#7015).
11186
f2182a76
LMI
11187 * font-lock.el (font-lock-maximum-decoration): Mention what
11188 numeric levels mean (bug#6935).
11189
621ef9ab
LMI
11190 * startup.el (initial-buffer-choice): Don't mention the `none'
11191 selection, which is against policy.
11192
adc47434
MR
111932011-07-14 Martin Rudalics <rudalics@gmx.at>
11194
b796c9b7
SM
11195 * window.el (display-buffer-normalize-special):
11196 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11197
7e5bfb8f
EZ
111982011-07-14 Eli Zaretskii <eliz@gnu.org>
11199
11200 * subr.el (version<, version<=, version=): Mention "-CVS" and
11201 "-12345" alpha version numbers.
11202
27fa387a
CY
112032011-07-14 Chong Yidong <cyd@stupidchicken.com>
11204
11205 * bindings.el: Add advertised binding for set-mark-command
11206 (Bug#5772).
11207
8bdfa064
CY
112082011-07-14 Chong Yidong <cyd@stupidchicken.com>
11209
11210 * bindings.el (mode-line-other-buffer):
11211 * bookmark.el (bookmark-bmenu-2-window):
11212 * bs.el (bs-cycle-next, bs-cycle-previous):
11213 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11214 switch-to-buffer.
11215
11216 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11217 Delete.
8bdfa064 11218
5eba16a3
JB
112192011-07-14 Juanma Barranquero <lekktu@gmail.com>
11220
11221 * follow.el (follow-debug-message, follow-redisplay):
11222 * jka-cmpr-hook.el (with-auto-compression-mode):
11223 Fix typos in docstrings.
11224
15853710
LMI
112252011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11226
a28e4607
LMI
11227 * subr.el (with-silent-modifications): Clarify somewhat what the
11228 macro inhibits (bug#6525).
11229
15853710
LMI
11230 * simple.el (eval-expression): Note what it does if called
11231 interactively (bug#6495).
11232
bee0fcef
CY
112332011-07-13 Chong Yidong <cyd@stupidchicken.com>
11234
b796c9b7
SM
11235 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11236 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11237
11238 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11239 Remove switch-to-buffer.
11240
58274504
LMI
112412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11242
bd2fcc8d
LMI
11243 * files.el (make-directory): Clarify that an error will be raised
11244 if there's an error (bug#6397).
11245
0f04b32c
LMI
11246 * startup.el (initial-buffer-choice): Add `none' as a choice
11247 (bug#6234).
11248
465c5fc8
LMI
11249 * subr.el (add-hook): Clarify section about buffer-local hooks
11250 (bug#6218).
11251
58274504
LMI
11252 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11253
bead9a43
JB
112542011-07-13 Juanma Barranquero <lekktu@gmail.com>
11255
11256 * tabify.el (untabify): Preserve the current column so that point
11257 doesn't move (bug#6032).
11258
3af98a7b
LMI
112592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260
b796c9b7
SM
11261 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11262 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11263
6240145a
GM
112642011-07-13 Glenn Morris <rgm@gnu.org>
11265
11266 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11267 (dired-insert-directory): Give a message the first time
11268 if ls is found not to support --dired.
11269
1d8c2ccc
LMI
112702011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11271
11272 * simple.el (toggle-truncate-lines): Clarify what is toggled
11273 (bug#5580). Text by Drew Adams.
11274
5fc4038e
CY
112752011-07-13 Chong Yidong <cyd@stupidchicken.com>
11276
11277 * simple.el (blink-matching-open): Make the error message from the
11278 last change less verbose.
11279
bf6012e5
DN
112802011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11281
11282 * font-lock.el (font-lock-comment-face): Use the high contrast
11283 "yellow" color for font-lock-comment-face on low color terminals
11284 using a dark background color (bug#4221).
11285
343c3b5a
LMI
112862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11287
7e9505c5
LMI
11288 * dired.el (dired-insert-set-properties): Make the doc string
11289 reflect what it does now (bug#5325).
11290
c26fdcf5
LMI
11291 * simple.el (blink-matching-open): Say that we were unable to find
11292 the match within the limit, if we're limited (bug#5122).
11293
bb388cc5
LMI
11294 * international/mule-cmds.el (prefer-coding-system): Add an
11295 example (bug#4869).
11296
343c3b5a
LMI
11297 * progmodes/etags.el (tags-search): Document `file-list-form'
11298 (bug#4731).
11299
2a517d45
LM
113002011-07-13 Lawrence Mitchell <wence@gmx.li>
11301
11302 * net/browse-url.el (browse-url-default-browser)
11303 (browse-url-browser-function): Make the default browser choice a
11304 bit more logical (bug#4300). Also clean up the doc string.
11305
b6c78ef2
JB
113062011-07-13 Juanma Barranquero <lekktu@gmail.com>
11307
11308 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11309 binary endings (bug#4440).
11310
1c4dd947
LMI
113112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11312
a2014063
LMI
11313 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11314 which can be pretty annoying (bug#8971).
11315
9c9c2d88
LMI
11316 * jka-compr.el (jka-compr-verbose): New variable, and use
11317 throughout (bug#8971).
11318
1c4dd947
LMI
11319 * info.el (Info-find-file): Fall back on the installation
11320 directory if we can't find the info node anywhere else.
11321
a1c9f41b
SO
113222011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11323
11324 * vc/vc.el (vc-revert-file):
11325 Don't set file time-stamp in the past. (Bug#5181)
11326
536f3d36
LMI
113272011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11328
7152b011
LMI
11329 * files.el (after-find-file): Give a better error message when
11330 trying to find a symlink that points to a file that doesn't exist
11331 (bug#4398).
11332
536f3d36
LMI
11333 * progmodes/cc-vars.el: Remove (probably) misleading comment
11334 (bug#4396).
11335
460c0fba
JB
113362011-07-12 Johan Bockgård <bojohan@gnu.org>
11337
11338 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11339
7a6bda45
CY
113402011-07-12 Chong Yidong <cyd@stupidchicken.com>
11341
11342 * mouse-sel.el: Hack restoring functionality, while keeping
11343 compatibility with 2010-07-03 changes to mouse selection.
11344 (mouse-sel-primary-overlay): New var.
11345 (mouse-sel-selection-alist): Use it.
11346 (mouse-sel-mode): Doc fix; remove points that are default features
11347 of mouse.el.
11348
c79598ef
JB
113492011-07-12 Johan Bockgård <bojohan@gnu.org>
11350
11351 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11352 Fix previous fix (bug#2490).
11353
ff8be6ef
RW
113542011-07-12 Roland Winkler <winkler@gnu.org>
11355
b796c9b7
SM
11356 * textmodes/bibtex.el (bibtex-initialize):
11357 Use pop-to-buffer-same-window.
ff8be6ef
RW
11358 (bibtex-search-entries): Fix interactive call.
11359
296ba3ee
LMI
113602011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11361
f5242a02 11362 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11363 Fontise bytecomp Error lines more correctly (bug#2490).
11364 Fix suggested by Johan Bockgård.
f5242a02 11365
296ba3ee
LMI
11366 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11367
11368 * dired-x.el (dired-guess-default): Use `delete-dups'.
11369
f69fd0d2
CY
113702011-07-12 Chong Yidong <cyd@stupidchicken.com>
11371
11372 * dired.el (dired-mark-prompt):
11373 * dired-aux.el (dired-read-shell-command): Doc fix.
11374
eab5dc07
LMI
113752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11376
b796c9b7
SM
11377 * mail/sendmail.el (sendmail-query-once):
11378 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11379 emacs -Q.
11380
11381 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11382
eab5dc07
LMI
11383 * cus-edit.el (custom-file): Take an optional no-error variable.
11384 (customize-save-variable): Set the variable, and give a warning if
11385 running under "emacs -q".
11386
a1e65d42
JB
113872011-07-11 Juanma Barranquero <lekktu@gmail.com>
11388
11389 * loadhist.el (unload-feature-special-hooks):
11390 Add `auto-coding-functions', `fill-nobreak-predicate' and
11391 `find-directory-functions' (bug#5327).
11392
1d52da10
LMI
113932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11394
be958f1d
LMI
11395 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11396
5bedb26c
LMI
11397 * cus-edit.el (custom-guess-name-alist): -alist variables should
11398 use the `alist' type (bug#3120). Suggested by Drew Adams.
11399
1d52da10
LMI
11400 * printing.el: Add documentation to all the `pr-toggle-' commands.
11401
cd394be1 114022011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11403
11404 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11405 backends where it makes sense (bug#2623).
11406
dcc88d8a
LMI
114072011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11408
c3de9feb
LMI
11409 * dired-x.el (dired-guess-default): Remove duplicate shell command
11410 entries (bug#2028).
8a93078b 11411 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11412 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11413
dcc88d8a
LMI
11414 * subr.el (remove-duplicates): New conveniency function.
11415
505e3645
LMI
114162011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11417
11418 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11419 (bug#1526).
11420
114212011-07-10 Martin Rudalics <rudalics@gmx.at>
11422
11423 * window.el (display-buffer-normalize-default): Don't invert
11424 meaning of even-window-heights. Reported by Eli Zaretskii
11425 <eliz@gnu.org>.
11426
455e4fa1
BR
114272011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11428
11429 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11430
8e0bc3e9
CY
114312011-07-10 Chong Yidong <cyd@stupidchicken.com>
11432
11433 * window.el (display-buffer): Fix arguments to
11434 display-buffer-reuse-window in last change.
11435
fa7c3228
CY
11436 * faces.el (link): Use a less saturated blue on light backgrounds.
11437
11438 * startup.el (fancy-startup-text, fancy-about-text)
11439 (fancy-startup-tail): Use font-lock faces, for background safety.
11440
c0a7f300
BN
114412011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11442
b796c9b7
SM
11443 * emulation/viper-cmd.el (viper-change-state-to-vi):
11444 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11445
4dc2a129
MR
114462011-07-09 Martin Rudalics <rudalics@gmx.at>
11447
11448 * window.el (display-buffer-default-specifiers): Remove.
11449 (display-buffer-macro-specifiers): Remove default specifiers.
11450 (display-buffer-alist): Default to nil.
b796c9b7 11451 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11452 (display-buffer-pop-up-window): Allow splitting internal
11453 windows. Check whether a live window was created.
11454 (display-buffer-other-window-means-other-frame)
11455 (display-buffer-normalize-arguments): Rename to
11456 display-buffer-normalize-argument and rewrite. Set the
11457 other-window specifier.
11458 (display-buffer-normalize-special): New function.
11459 (display-buffer-normalize-options): Rename to
11460 display-buffer-normalize-default and rewrite.
11461 (display-buffer-normalize-options-inhibit): Remove.
11462 (display-buffer-normalize-specifiers): Rewrite.
11463 (display-buffer): Process other-window specifier and call
11464 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11465 more faithfully.
b796c9b7 11466 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11467 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11468 (display-buffer-in-window, display-buffer-alist-set):
11469 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11470 <tassilo@member.fsf.org>.
11471
2d43b8c9
LL
114722011-07-09 Leo Liu <sdl.web@gmail.com>
11473
11474 * register.el (insert-register): Restore accidental change on
11475 2011-06-26. (Bug#9028)
11476
7f9b7c53
GM
114772011-07-09 Glenn Morris <rgm@gnu.org>
11478
11479 * subr.el (remq): Handle the empty list. (Bug#9024)
11480
f042cfd8
AS
114812011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11482
11483 * mail/sendmail.el (send-mail-function): No longer delay custom
11484 initialization.
11485 * custom.el (custom-initialize-delay): Doc fix.
11486
856b2f11
SM
114872011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11490
afae1d68
MA
114912011-07-08 Michael Albinus <michael.albinus@gmx.de>
11492
11493 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11494 human-friendly prompt.
11495
0757af94
SM
114962011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11497
11498 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11499 provided by a particular plugin.
11500
d760b731
LMI
115012011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11502
11503 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11504 save customizations (with "emacs -Q"), just set the variable
11505 instead of erroring out.
11506
11507 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11508
cd79ce90
JL
115092011-07-08 Juri Linkov <juri@jurta.org>
11510
11511 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11512 (archive-zip-update-case): Use 7z if found by `executable-find'.
11513 The order of searching the available programs is the same as in
11514 `archive-zip-extract' (bug#8968).
11515
14cc04aa
CY
115162011-07-07 Chong Yidong <cyd@stupidchicken.com>
11517
11518 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11519 (menu-bar-options-menu): Tweak descriptions.
11520
0a1848ec
LMI
115212011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11522
11523 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11524 menu items into verb phrases (bug#1421). Also refill to fit under
11525 80 columns.
11526
f5bd0689
CY
115272011-07-07 Chong Yidong <cyd@stupidchicken.com>
11528
538e85c6
CY
11529 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11530 (Info-read-node-name): Doc fix (Bug#1084).
11531
f5bd0689
CY
11532 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11533 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11534 (end-of-sexp, beginning-of-sexp)
11535 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11536 (forward-symbol, forward-same-syntax, word-at-point)
11537 (sentence-at-point): Doc fix (Bug#1144).
11538
56ec5115
LMI
115392011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11540
f3f8e37f
LMI
11541 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11542 should cover it (bug#1281).
11543
0757af94 11544 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11545
e9fce1ac 11546 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11547 negotiation fails, then possibly try again with a non-encrypted
11548 connection (bug#9017).
11549
56ec5115
LMI
11550 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11551 be used.
11552
c2f9aec8
RS
115532011-07-07 Richard Stallman <rms@gnu.org>
11554
11555 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11556 property, and handle its changed format.
11557 Look for the correct line number.
11558 Use file's line contents (but not past first =) to find
11559 correct line in message.
11560
ef7b981d 115612011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11562
11563 * international/characters.el (build-unicode-category-table):
11564 Delete it.
0757af94 11565 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11566
0757af94 11567 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11568 to src/chartab.c.
11569 (get-char-code-property): Call unicode-property-table-internal to
11570 load a file. Call get-unicode-property-internal where necessary.
11571 (put-char-code-property): Call unicode-property-table-internal to
11572 load a file. Call put-unicode-property-internal where necessary.
11573 put-unicode-property-internal where necessary.
0757af94
SM
11574 (char-code-property-description):
11575 Call unicode-property-table-internal to load a file.
c805dec0
KH
11576
11577 * international/charprop.el:
11578 * international/uni-bidi.el:
11579 * international/uni-category.el:
11580 * international/uni-combining.el:
11581 * international/uni-comment.el:
11582 * international/uni-decimal.el:
11583 * international/uni-decomposition.el:
11584 * international/uni-digit.el:
11585 * international/uni-lowercase.el:
11586 * international/uni-mirrored.el:
11587 * international/uni-name.el:
11588 * international/uni-numeric.el:
11589 * international/uni-old-name.el:
11590 * international/uni-titlecase.el:
11591 * international/uni-uppercase.el: Regenerate.
11592
11593 * loadup.el: Load international/charprop.el before
11594 international/characters.
11595
e14b388a
CY
115962011-07-07 Chong Yidong <cyd@stupidchicken.com>
11597
11598 * window.el (next-buffer, previous-buffer): Signal an error if
11599 called from a minibuffer window.
11600
11601 * bindings.el: Revert 2011-07-04 change.
11602
354cf0ba
RS
116032011-07-06 Richard Stallman <rms@gnu.org>
11604
11605 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11606 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11607 Treat markers like ints.
11608 (rmail-mime-entity): Doc fix.
11609
a48868a7
LMI
116102011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11611
4906cd3d
LMI
11612 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11613 defcustom again for backwards compatibility.
11614
e0457abe
LMI
11615 * simple.el (shell-command-on-region): Fill.
11616
d67f7e1f
LMI
11617 * dired-aux.el (dired-kill-line): Add a doc string.
11618
fe204702
LMI
11619 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11620 to "\\sw\\|\\s_" (bug#358).
11621
a48868a7
LMI
11622 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11623 (dired-unmark-backward): Ditto.
11624 (dired-flag-backup-files): Ditto.
11625
11626 * dired-x.el (dired-mark-sexp): Ditto.
11627
aa8a705c
RS
116282011-07-06 Richard Stallman <rms@gnu.org>
11629
11630 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11631 (rmail-mime-entity): New arg TRUNCATED.
11632 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11633 New functions.
11634 (rmail-mime-save): Warn if entity is truncated.
11635 (rmail-mime-toggle-hidden): Likewise, for showing.
11636 (rmail-mime-process-multipart): Record when an entity is truncated.
11637
a9a936b9
RS
11638 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11639 if ENTITY is a string.
11640
1f2b92cb
LMI
116412011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11642
f4f73198 11643 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11644 of faces when `M-C-x'-ing their definitions (bug#8378).
11645 Also clean up the code slightly.
f4f73198 11646
12b16734 11647 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11648 because that makes the colors go away.
12b16734 11649
f0691d22
LMI
11650 * mail/sendmail.el (send-mail-function): Change the default to
11651 `sendmail-query-once'.
9e87df06 11652 (sendmail-query-once): Add an autoload cookie.
f0691d22 11653
1f2b92cb
LMI
11654 * net/network-stream.el (network-stream-open-starttls): Try using
11655 a plain connection even if the server offered STARTTLS, and we
11656 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11657 capability. This should make smtpmail.el work in slightly more
11658 configurations.
11659
1cdd2a1b
MA
116602011-07-06 Michael Albinus <michael.albinus@gmx.de>
11661
11662 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11663 New defun.
11664 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11665
fbcc67e2
MM
116662011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11667
11668 * progmodes/sql.el: Version 3.0
0757af94 11669 (sql-product-alist): Add product :completion-object,
fbcc67e2 11670 :completion-column, and :statement attributes.
0757af94 11671 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11672 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11673 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11674 ansi keywords.
11675 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11676 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11677 (sql-oracle-show-reserved-words): New function for development.
11678 (sql-product-font-lock): Simplify for source code buffers.
11679 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11680 New functions.
11681 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11682 (sql-mode-map): Add statement movement functions.
11683 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11684 New variable.
fbcc67e2
MM
11685 (sql-statement-regexp, sql-beginning-of-statement)
11686 (sql-end-of-statement, sql-signum): New functions.
0757af94 11687 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11688 (sql-show-sqli-buffer): Bug fix.
11689 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11690 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11691 with sql-interactive-mode.
11692 (sql-save-connection): Save buffer local settings.
0757af94 11693 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11694 (sql-product-interactive): Bug fix.
11695 (sql-preoutput-hold): New variable.
11696 (sql-interactive-remove-continuation-prompt): Bug fixes.
11697 (sql-debug-redirect): New variable.
11698 (sql-str-literal): New function.
11699 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11700 Redesign.
fbcc67e2
MM
11701 (sql-oracle-save-settings, sql-oracle-restore-settings)
11702 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11703 (sql-completion-object, sql-completion-column)
11704 (sql-completion-sqlbuf): New variables.
11705 (sql-build-completions-1, sql-build-completions)
11706 (sql-try-completion): New functions.
11707 (sql-read-table-name): Use them.
11708 (sql-contains-names): New buffer local variable.
11709 (sql-list-all, sql-list-table): Use it.
11710 (sql-oracle-completion-types): New variable.
11711 (sql-oracle-completion-object, sql-sqlite-completion-object)
11712 (sql-postgres-completion-object): New functions.
11713
d4eaeab1
GM
117142011-07-06 Glenn Morris <rgm@gnu.org>
11715
11716 * window.el (pop-to-buffer): Doc fix.
11717
322b7dab 117182011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11719
11720 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11721
322b7dab 117222011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11723
322b7dab 11724 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11725
322b7dab 11726 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11727
605dd5bf
CY
117282011-07-05 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * button.el (button): Inherit from link face. Suggested by Dan
11731 Nicolaescu.
11732
7dbfa719
SM
117332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11734
3db614b0
SM
11735 * progmodes/gdb-mi.el: Fit in 80 columns.
11736 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11737 switch-to-buffer.
11738
7dbfa719
SM
11739 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11740 if imenu is simply not configured (bug#8941).
11741
919d884a
KM
117422011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11743
11744 * allout.el (allout-post-undo-hook): New allout outline-change
11745 event hook to signal undo activity.
11746 (allout-post-command-business): Run allout-post-undo-hook if an
11747 undo just occurred.
7dbfa719
SM
11748 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11749 * allout-widgets.el (allout-widgets-after-undo-function):
11750 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11751 in the vicinity of an undo.
11752 (allout-widgets-mode): Include allout-widgets-after-undo-function
11753 on the new allout-post-undo-hook.
11754
450a0f09
SM
117552011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11758 Let define-derived-mode define it.
11759 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11760 cycles of abbrev-table inheritance (bug#8998).
11761
2de69e00
RW
117622011-07-05 Roland Winkler <winkler@gnu.org>
11763
11764 * textmodes/bibtex.el: Add support for biblatex.
11765 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11766 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11767 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11768 (bibtex-entry-alist, bibtex-field-alist): New variables.
11769 (bibtex-entry-field-alist): Obsolete alias for
11770 bibtex-BibTeX-entry-alist.
11771 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11772 (bibtex-set-dialect): New command.
11773 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11774 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11775 Bind via bibtex-set-dialect.
2de69e00
RW
11776 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11777 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11778 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11779 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11780 Define via bibtex-set-dialect.
450a0f09
SM
11781 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11782 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11783 (bibtex-vec-push, bibtex-vec-incr): New functions.
11784 (bibtex-format-entry, bibtex-field-list)
11785 (bibtex-print-help-message, bibtex-validate)
11786 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11787
2dcdbdd9
SM
117882011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * progmodes/compile.el (compilation-goto-locus):
11791 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11792 * bs.el (bs-cycle-next, bs-cycle-previous):
11793 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11794 * bindings.el (mode-line-other-buffer):
11795 * autoinsert.el (auto-insert):
11796 * arc-mode.el (archive-extract):
11797 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11798
b27640fe
JB
117992011-07-05 Juanma Barranquero <lekktu@gmail.com>
11800
11801 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11802 Fix check of `emacs-lock-unlockable-modes'.
11803 Coerce true values of `emacs-lock--try-unlocking' to t.
11804
53bbe3ad
JB
118052011-07-05 Juanma Barranquero <lekktu@gmail.com>
11806
11807 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11808 * emacs-lock.el: New file.
11809
1d3cdbc7
JD
118102011-07-05 Julien Danjou <julien@danjou.info>
11811
11812 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11813 than `boundp' to check if face is set.
11814
9173deec
JB
118152011-07-05 Juanma Barranquero <lekktu@gmail.com>
11816
11817 * register.el (registerv-make):
11818 * window.el (window-min-height): Fix typos in docstrings.
11819
869795d6
JD
118202011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11821
9173deec 11822 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11823 Update doc string.
11824
b768cdcd
JB
118252011-07-04 Juanma Barranquero <lekktu@gmail.com>
11826
11827 * server.el (server-execute): Catch quit and call
11828 `server-return-error' to pass the error back to emacsclient and
11829 close the connection (bug#8942).
11830
13aa217b
KM
118312011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11832
11833 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11834 insecure exception for current topic. Also note that auto-saves
11835 are handled differently.
11836
5d3385a0 11837 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11838 State variables for tracking auto-save inhibition situation.
11839
11840 (allout-write-contents-hook-handler): Rename from
11841 'allout-write-file-hook-handler', and describe how it depends on
11842 write-contents-functions sensitivity to non-nil value to prevent
11843 file write.
11844
11845 (allout-auto-save-hook-handler): Remove. auto-save does not check
11846 this in individual buffers, only in the starting buffer, so this
11847 is not the right way for us to inhibit auto-save in a buffer
11848 according to its condition.
11849
11850 (allout-mode): Use new allout-write-contents-hook-handler, and
11851 only with write-contents-functions. Remove auto-save provisions -
11852 they're implemented elsewhere.
11853
11854 (allout-before-change-handler): If undo is in progress, note that
11855 for attention of allout-post-command-business.
11856
11857 (allout-post-command-business): If the command we're following was
11858 an undo, check for change in the status of encrypted items and
11859 adjust auto-save inhibitions accordingly.
11860
11861 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11862 according to whether there are or aren't any plain-text topics
11863 pending encryption.
11864
2dcdbdd9 11865 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11866 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11867 if there are plain-text topics pending encryption.
13aa217b
KM
11868
11869 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11870 buffer-saved-size and some allout state to not inhibit auto-saves
11871 if there are no longer any plain-text topics pending encryption.
11872
0757af94
SM
11873 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11874 No longer provide for exemption of the current topic.
13aa217b 11875
ac89b32c
JL
118762011-07-04 Juri Linkov <juri@jurta.org>
11877
11878 Add 7z operations to delete and save changed members (bug#8968).
11879 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11880 New defcustoms.
11881 (archive-7z-write-file-member): New function.
11882 (archive-7z-summarize): Fix the number of dashes in the
11883 listing output.
11884
8fa39615
SM
118852011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11888 (bug#8958).
11889
2f11b3f1
CY
118902011-07-04 Chong Yidong <cyd@stupidchicken.com>
11891
d66fef2b
CY
11892 * bindings.el: Ignore next-buffer and previous-buffer in
11893 minibuffer-local-map.
11894
2f11b3f1
CY
11895 * font-lock.el (font-lock-builtin-face): Change light background
11896 color to dark slate blue (Bug#6693).
11897
f932a347
WD
118982011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11899
11900 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11901
c8af70e1
SM
119022011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11905 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11906 Add switch-to-buffer.
11907
f158badc
LMI
119082011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11909
11910 * isearch.el (isearch-search-fun-function): Clarify further the
11911 meaning of the function returned.
11912
6d95bd46
MA
119132011-07-04 Michael Albinus <michael.albinus@gmx.de>
11914
11915 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11916
11917 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11918 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11919 Use it.
11920 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11921 `tramp-default-remote-path' does not exist.
11922 (tramp-send-command-and-read): New optional argument NOERROR.
11923 (tramp-open-connection-setup-interactive-shell)
11924 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11925 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11926 (tramp-process-sentinel): Flush also process' connection property.
11927 (tramp-sh-handle-start-file-process): Do not set process
11928 sentinel. It is done now ...
11929 (tramp-maybe-open-connection): ... here. (Bug#8929)
11930
909e6b67
MK
119312011-07-04 MON KEY <monkey@sandpframing.com>
11932
11933 * play/animate.el (animate-string): Doc fixes and allow changing
11934 the buffer name (bug#5417).
11935
119362011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11937
c8af70e1 11938 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11939
f34755dc
PE
119402011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11941
396cec72
PE
11942 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11943 This is simpler and helps future-proof the code.
11944 (timer-until): Use time-subtract and float-time.
08235028 11945 (timer--time-less-p): Use time-less-p.
f34755dc 11946
56e6cc31
JB
119472011-07-04 Juanma Barranquero <lekktu@gmail.com>
11948
3abb79e5
JB
11949 * type-break.el (timep): Use the value of `float-time' to avoid a
11950 byte-compiler warning.
11951
56e6cc31
JB
11952 * server.el (server-eval-and-print): Return any result, even nil.
11953
7b9430b4
PE
119542011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11955
11956 * type-break.el: Accept time formats that the builtins accept.
11957 (timep, type-break-time-difference): Accept any format that
11958 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11959 This is simpler and helps future-proof the code.
11960 (type-break-time-difference): Round rather than ignoring
11961 subseconds components.
11962
3034e9e7
LMI
119632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11964
11965 * info.el (Info-apropos-matches): Make non-interactive, since it
11966 doesn't seem to do anything useful as a command (bug#8829).
11967
1485f4c0
CY
119682011-07-03 Chong Yidong <cyd@stupidchicken.com>
11969
11970 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11971 Move from faces.el.
1485f4c0
CY
11972 (frame-default-terminal-background): New function.
11973
11974 * custom.el (custom-push-theme): Don't record faces in `changed'
11975 theme; this doesn't work correctly for per-frame face settings.
11976 (disable-theme): Use face-set-after-frame-default to reset faces.
11977 (custom--frame-color-default): New function.
11978
9fa3dd45
LMI
119792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11980
c8af70e1 11981 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11982 (bug#8769).
11983
6cbbc20c
KR
119842011-03-29 Kevin Ryde <user42@zip.com.au>
11985
11986 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11987 `perl-Test2' extend to match possible "fail #N" rep count
11988 (bug#8377).
11989
c7f98048
LMI
119902011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11991
65676592
LMI
11992 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11993 `smtpmail-via-smtp' now returns the error instead of nil.
11994
c7f98048
LMI
11995 * isearch.el (isearch-search-fun-function): Clarify the doc string
11996 (bug#8101).
11997
56e6cc31 119982011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11999
12000 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12001 unnecessary spaces (bug#8987).
12002
2b216704
LMI
120032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12004
12005 * net/network-stream.el (open-network-stream): Use the
12006 :end-of-capability command thoughout.
12007
120082011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12009
12010 * net/network-stream.el (open-network-stream): Add the
12011 :end-of-capability command parameter, used by pop3.el.
12012
36adf6ce
LMI
120132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12014
1ca0da0e
LMI
12015 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12016
fc00f69c
LMI
12017 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12018 for list)" (bug#6475).
12019
28fd8759 12020 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12021 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12022 an error (bug#6297).
12023
0dd8b6da
LMI
12024 * man.el (Man-reference-regexp): Allow matching possible
12025 word-wrapped references (bug#6289).
12026
ce1438d6
LMI
12027 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12028 for consistency with the other vc buffers (bug#6197).
12029 (vc-checkin): Ditto.
12030
12031 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12032
36adf6ce
LMI
12033 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12034
e83cc1f7
LMI
120352011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12036
8a20ca4c
LMI
12037 * custom.el (defcustom): Clarify that :set is only used in the
12038 Customize user interface (bug#6089).
12039
83319045
LMI
12040 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12041 associated with a file, refuse to run instead of erroring out
12042 (bug#6084).
12043
a8392169
LMI
12044 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12045 the doc string, since it appears that using `fill-column' always
12046 controls the width (bug#7845).
12047
e83cc1f7
LMI
12048 * simple.el (shell-command-on-region): Say where the error output
12049 went if `shell-command-default-error-buffer' is set (bug#6857).
12050
e47ca23b
KM
120512011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12052
12053 * allout.el (allout-yank-processing): Adjust cursor position for
12054 backwards-deleted space.
12055
12056 (allout-rebullet-heading): Register changes with
12057 allout-exposure-changed-hook, so the modified topic is properly
12058 decorated.
12059
5cf56143
LMI
120602011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12061
08549772
LMI
12062 * minibuffer.el (completion-in-region): Document PREDICATE
12063 (bug#7136).
12064
48e96771
LMI
12065 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12066 of keyword/argument pairs (bug#6904).
12067
c8af70e1
SM
12068 * replace.el (multi-occur):
12069 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12070
e17d05e2
LMI
120712011-07-02 Drew Adams <drew.adams@oracle.com>
12072
12073 * dired.el (dired-mark-if): Make the message about whether it's
12074 marking or unmarking clearer (bug#8523).
12075
063b0e45
LMI
120762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12077
12078 * disp-table.el (display-table-print-array): New function.
12079 (describe-display-table): Use it to print the vectors more pretty
12080 (Bug#8859).
12081
28545e04
MR
120822011-07-02 Martin Rudalics <rudalics@gmx.at>
12083
12084 * window.el (window-state-get-1): Don't assign clone numbers.
12085 Add clone-of item to list of window parameters.
12086 (window-state-put-2): Don't process clone numbers.
12087 (display-buffer-alist): Fix doc-string.
12088
3349e122
SM
120892011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12090
12091 * subr.el (remq): Don't allocate if it's not needed.
12092 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12093 (keymap--merge-bindings): New functions.
12094 (keymap-canonicalize): Use them to refine the canonicalization.
12095 * minibuffer.el (minibuffer-local-completion-map)
12096 (minibuffer-local-must-match-map): Move initialization from C.
12097 (minibuffer-local-filename-completion-map): Move initialization from C;
12098 don't inherit from anything here.
12099 (minibuffer-local-filename-must-match-map): Make obsolete.
12100 (completing-read-default): Use make-composed-keymap to combine
12101 minibuffer-local-filename-completion-map with either
12102 minibuffer-local-must-match-map or
12103 minibuffer-local-filename-completion-map.
12104
d224ac83
GM
121052011-07-01 Glenn Morris <rgm@gnu.org>
12106
3de63bf8
GM
12107 * type-break.el (type-break-time-sum): Use dolist.
12108
d224ac83
GM
12109 * textmodes/flyspell.el (flyspell-word-search-backward):
12110 Replace CL function.
12111
1a1e3f32
SM
121122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12113
fe3f64d5
SM
12114 * mouse.el (mouse--strip-first-event): New function.
12115 (function-key-map): Use it to map fringe clicks to normal clicks
12116 by default.
12117
eb604e34
SM
12118 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12119 (vc-bzr-revision-completion-table): Add support for annotate and date.
12120
1a1e3f32
SM
12121 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12122 inherit from parent.
12123
5bd35902
LMI
121242011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12125
ace6c69c 12126 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12127 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12128
191e2bed
LMI
12129 * dired.el (dired-mode): Fix up the doc string as suggested by
12130 Drew Adams (bug#8817).
12131
5bd35902
LMI
12132 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12133 cookie, since the manual says that it should be possible to add
12134 this function to `find-file-hook' (bug#8709).
12135
eee8207a
TZ
121362011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12137
12138 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12139 here. Noted Ted Zlatanov as the maintainer.
12140 (cfengine-common-settings, cfengine-common-syntax): New functions
12141 to set up common things between `cfengine-mode' and
12142 `cfengine3-mode'.
12143 (cfengine3-mode): New mode.
12144 (cfengine3-defuns cfengine3-defuns-regex
12145 (cfengine3-class-selector-regex cfengine3-category-regex)
12146 (cfengine3-vartypes cfengine3-font-lock-keywords)
12147 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12148 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12149
36b148cf
MA
121502011-07-01 Michael Albinus <michael.albinus@gmx.de>
12151
12152 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12153
12154 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12155
0bf4ba9a
MR
121562011-07-01 Martin Rudalics <rudalics@gmx.at>
12157
12158 * window.el (same-window-buffer-names, same-window-regexps)
12159 (same-window-p, special-display-frame-alist)
12160 (special-display-popup-frame, special-display-function)
12161 (special-display-buffer-names, special-display-regexps)
12162 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12163 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12164 (split-window-preferred-function, split-height-threshold)
12165 (split-width-threshold, even-window-heights)
12166 (display-buffer-mark-dedicated, window-splittable-p)
12167 (split-window-sensibly, window-safely-shrinkable-p):
12168 Un-obsolete.
12169 (display-buffer): Don't spread args with function specifier
12170 because special-display-popup-frame won't like it.
12171
35837f51
PE
121722011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12173
d0672f86
PE
12174 Time-stamp simplifications and fixes.
12175 These improve accuracy slightly, and future-proof the code
12176 against some potential changes to current-time format.
12177
b9444d97
PE
12178 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12179 by using time-since and float-time.
12180
0ef923dc
PE
12181 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12182 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12183 + NNN microseconds".
12184
2f81380d
PE
12185 * type-break.el (type-break-time-sum): Rewrite using time-add.
12186
845b5c3e
PE
12187 * play/hanoi.el (hanoi-current-time-float): Remove.
12188 All uses replaced by float-time.
12189
ee6f1be0
PE
12190 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12191 This yields a more-accurate answer.
12192 (rng-time-to-float): Remove; no longer needed.
12193
fe955043
PE
12194 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12195
5777162a
PE
12196 * calendar/timeclock.el (timeclock-seconds-to-time):
12197 Defalias to seconds-to-time, since they're the same thing.
12198
3103f8b6 12199 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12200 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12201 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12202
0e61a35f
SM
122032011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * window.el (bury-buffer): Don't iconify the only frame.
12206 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12207 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12208
ddd63a1e
CY
122092011-07-01 Chong Yidong <cyd@stupidchicken.com>
12210
0e61a35f
SM
12211 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12212 Add mouse-yank-primary.
ddd63a1e 12213
055f4923
TZ
122142011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12215
12216 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12217
6a2fb145
SM
122182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12219
12220 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12221 (find-library-name): Use it to find relative load names when provided
12222 absolute file name (bug#8803).
12223
fd4983f2
LMI
122242011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12225
887d14ad
LMI
12226 * textmodes/flyspell.el (flyspell-word): Consider words that
12227 differ only in case as potential doublons (bug#5687).
12228
c53dc7fc
LMI
12229 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12230 Remove two rather uninteresting debugging-like messages to make
12231 debbugs.el more silent.
12232
fd4983f2
LMI
12233 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12234 a password-like phrase.
12235
7a71b18d 122362011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12237
12238 * progmodes/cc-guess.el: New file.
12239
6a2fb145 12240 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12241
12242 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12243 derived from `c-basic-common-init'.
12244
12245 * progmodes/cc-mode.el (top-level): Require cc-guess.
12246 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12247
1fa280a3
LM
122482011-06-30 Lawrence Mitchell <wence@gmx.li>
12249
12250 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12251
e6597158
AM
122522011-06-30 Alan Mackenzie <acm@muc.de>
12253
1fa280a3
LM
12254 * progmodes/cc-engine.el (c-guess-continued-construct):
12255 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12256 lock is disabled. Name this case as "CASE G".
12257
68ba37fb
KM
122582011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12259
12260 * allout.el (allout-yank-processing): Fix injection of extra space
12261 between bullet and non-whitespace character in first topic when
12262 pasting, ensuring that the actual spacing in the pasted topic
12263 following the bullet char is preserved. This extra space was
12264 causing pasted encrypted topics to get a decrypted status even
12265 when the content was actually still encrypted. Now the decryption
12266 status from before the paste is preserved.
12267
12268 (allout-flag-region): Set all allout overlays so they evaporate
12269 when reduced to zero length (evanescent), to prevent overlay
12270 leakage.
12271
887a0b34
GM
122722011-06-30 Glenn Morris <rgm@gnu.org>
12273
94b9acce
GM
12274 * w32-fns.el (w32-charset-info-alist): Declare.
12275
1d9b46d4
GM
12276 * find-dired.el (find-grep-options): Simplify.
12277
cc232200
GM
12278 * term/ns-win.el (ns-set-resource): Declare.
12279
28e77c46
GM
12280 * ses.el (row, col): Declare dynamic variables honestly.
12281
887a0b34
GM
12282 * textmodes/reftex-parse.el (index-tags): Declare.
12283
658d8eb8
CY
122842011-06-30 Chong Yidong <cyd@stupidchicken.com>
12285
12286 * cus-edit.el (customize-push-and-save): New function.
12287
12288 * files.el (hack-local-variables-confirm): Use it.
12289
1fa280a3
LM
12290 * custom.el (load-theme): New arg NO-CONFIRM.
12291 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12292 (custom-enabled-themes): Doc fix.
12293
12294 * cus-theme.el (customize-create-theme)
12295 (custom-theme-merge-theme): Callers to load-theme changed.
12296
bb617717
LMI
122972011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12298
d61bdd5d
LMI
12299 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12300 short URLs have at least one dot in them (bug #7614).
12301
bb617717
LMI
12302 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12303 nil, because using a pty is apparently too slow (bug #895).
12304
2f31f37a
LMI
123052011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12306
12307 * mail/sendmail.el (sendmail-query-once): New function.
12308 (sendmail-query-once-function): New variable.
12309
3076b24e
GM
123102011-06-29 Glenn Morris <rgm@gnu.org>
12311
faf2a174
GM
12312 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12313
3076b24e
GM
12314 * ses.el (top-level): Require cl when compiling.
12315 (ses-set-localvars): Fix error statement.
12316 Call it at compile time to silence a storm of warnings.
12317
5386012d
MR
123182011-06-29 Martin Rudalics <rudalics@gmx.at>
12319
12320 * window.el (normalize-live-buffer): Rename to
12321 window-normalize-buffer.
12322 (normalize-live-frame): Rename to window-normalize-frame.
12323 (normalize-any-window): Rename to window-normalize-any-window.
12324 (normalize-live-window): Rename to window-normalize-live-window.
12325 (make-window-atom): Rename to window-make-atom.
12326 (window-resize-reset): Rename to window--resize-reset.
12327 (window-resize-reset-1): Rename to window--resize-reset-1.
12328 (resize-mini-window): Rename to window--resize-mini-window.
12329 (resize-subwindows-skip-p): Rename to
12330 window--resize-subwindows-skip-p.
12331 (resize-subwindows-normal): Rename to
12332 window--resize-subwindows-normal.
12333 (resize-subwindows): Rename to window--resize-subwindows.
12334 (resize-other-windows): Rename to window--resize-siblings.
12335 (resize-this-window): Rename to window--resize-this-window.
12336 (resize-root-window): Rename to window--resize-root-window.
12337 (resize-root-window-vertically): Rename to
12338 window--resize-root-window-vertically.
12339 (normalize-buffer-to-display): Rename to
12340 window-normalize-buffer-to-display.
12341 (normalize-buffer-to-switch-to): Rename to
12342 window-normalize-buffer-to-switch-to.
12343 Correspondingly update all callers of the functions listed
12344 above.
12345 (display-buffer-alist, display-buffer-normalize-arguments)
12346 (display-buffer-normalize-options, display-buffer)
12347 (display-buffer-alist-set): Use "function" instead of
12348 "fun-with-args".
12349
1176868d
CY
123502011-06-28 Chong Yidong <cyd@stupidchicken.com>
12351
12352 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12353 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12354 debbugs.gnu.org. Mention acknowledgment email.
12355
20a7a65f
LMI
123562011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12357
12358 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12359 buffer multibyteness, since it shouldn't matter.
12360
5f45cca5
MR
123612011-06-28 Martin Rudalics <rudalics@gmx.at>
12362
12363 * window.el (display-buffer-in-side-window): Handle dedicated
12364 windows as in display-buffer-reuse-window.
12365 (display-buffer-normalize-alist): Use value of override
12366 specifier.
12367 (display-buffer-normalize-specifiers): Use value of
12368 other-window-means-other-frame specifier.
12369 (display-buffer-alist): Rewrite some texts in widgets.
12370 (display-buffer): Spread arguments when calling function
12371 specified by fun-with-args.
12372
ad85fe1f
DD
123732011-06-28 Deniz Dogan <deniz@dogan.se>
12374
1fa280a3
LM
12375 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12376 Unnest `let'.
da68c4c8 12377
ad85fe1f
DD
12378 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12379 selectors (Bug#5732).
ec49bd31 12380 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12381
a08cc025
JA
123822011-06-27 Jari Aalto <jari.aalto@cante.net>
12383
12384 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12385 (eshell-ls-date-format): New defcustom.
12386 (eshell-ls-file): Use it.
12387
e2b551c5
SM
123882011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12389
12390 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12391
8982b231
KY
123922011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12393
12394 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12395 (ange-ftp-make-tmp-name): New arg.
12396 (ange-ftp-file-local-copy): Use it.
12397
36c9fa27
J
123982011-06-27 Jambunathan K <kjambunathan@gmail.com>
12399
12400 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12401 no-conversion (Bug#8870).
12402
d68443dc
MR
124032011-06-27 Martin Rudalics <rudalics@gmx.at>
12404
12405 * window.el (window-right, window-left, window-child)
12406 (window-child-count, window-last-child)
12407 (window-iso-combination-p, walk-window-tree-1)
12408 (window-atom-check-1, window-tree-1, delete-window)
12409 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12410 new naming conventions - window-vchild, window-hchild,
12411 window-next and window-prev are now called window-top-child,
12412 window-left-child, window-next-sibling and window-prev-sibling
12413 respectively.
d615d6d2
MR
12414 (resize-window-reset): Rename to window-resize-reset.
12415 (resize-window-reset-1): Rename to window-resize-reset-1.
12416 (resize-window): Rename to window-resize.
12417 (window-min-height, window-min-width)
12418 (resize-mini-window, resize-this-window, resize-root-window)
12419 (resize-root-window-vertically, adjust-window-trailing-edge)
12420 (enlarge-window, shrink-window, maximize-window)
12421 (minimize-window, delete-window, quit-restore-window)
12422 (split-window, balance-windows, balance-windows-area-adjust)
12423 (balance-windows-area, window-state-put-2)
12424 (display-buffer-even-window-sizes, display-buffer-set-height)
12425 (display-buffer-set-width, set-window-text-height)
12426 (fit-window-to-buffer): Rename all "resize-window" prefixed
12427 calls to use the "window-resize" prefix convention.
12428 (display-buffer-alist): Fix symbol for label specifier.
12429 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12430 corresponding specifier.
12431 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12432
b6458526
VB
124332011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12434
12435 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12436 convention.
12437 (ses-call-printer): Does not pass an empty string to formatter when the
12438 cell is empty to keep from barking printer Calc math-format-value.
12439
d31fd9ac
RS
124402011-06-27 Richard Stallman <rms@gnu.org>
12441
43d5bf84
RS
12442 * battery.el (battery-mode-line-limit): New variable.
12443 (battery-update): Handle it.
12444
d31fd9ac
RS
12445 * mail/rmailmm.el (rmail-mime-process-multipart):
12446 Handle truncated messages.
12447
819a6054
GM
124482011-06-27 Glenn Morris <rgm@gnu.org>
12449
12450 * progmodes/flymake.el (flymake-err-line-patterns):
12451 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12452
cedc73f2
VB
124532011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12454
819a6054 12455 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12456 (ses--clean-!, ses--clean-_): New functions.
12457 (ses-range): Add configurability of readout order, and conversion
12458 to Calc vector.
12459
5e5d49b6
VB
12460 * ses.el (ses-repair-cell-reference-all): New function.
12461 (ses-cell-symbol): Set macro as safe, so that it can be used in
12462 formulas.
12463
56e6cc31 12464 * ses.el: Update cycle detection algorithm.
90ca8b49 12465 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12466 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12467 (ses-set-localvars): New function.
12468 (ses-make-cell): Add property-list as a cell element.
12469 (ses-cell-property-get-fun, ses-cell-property-get)
12470 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12471 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12472 New functions.
90ca8b49
VB
12473 (ses-cell-property-set, ses-cell-property-pop)
12474 (ses-cell-property-get-handle): New macro.
12475 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12476 New aliases, used for code readability.
12477 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12478 cycle detection.
12479 (ses-self-reference-early-detection): New defcustom.
fac916bf 12480 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12481 (ses-mode): Use ses-set-localvars.
12482 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12483 before lauching the update processing.
12484 (ses-initialize-Dijkstra-attempt): New function.
12485 (ses-recalculate-cell): Update for cycle detection based on
12486 Dijkstra algorithm.
12487
2bb63e81
VB
12488 * ses.el: Fix commenting and indenting convention.
12489
c9d29fb8
SM
124902011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 * bs.el (bs-cycle-next): Complete last change.
12493
d8e4b68b
JB
124942011-06-27 Drew Adams <drew.adams@oracle.com>
12495
12496 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12497
40098786
LMI
124982011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12499
c9d29fb8
SM
12500 * net/network-stream.el (network-stream-open-starttls):
12501 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12502 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12503
40098786
LMI
12504 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12505 to binary to possibly avoid line encoding issues on Windows (among
12506 other things).
12507
468d09d4
LMI
125082011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12509
12510 * net/network-stream.el (open-network-stream): Return an :error
12511 saying what the problem was, if possible.
12512
12513 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12514 server.
12515
12516 * net/network-stream.el (network-stream-open-starttls): If we
12517 wanted to use STARTTLS, and the server offered it, but we weren't
12518 able to because we had no STARTTLS support, then close the connection.
12519 (open-network-stream): Return an :error element, if present.
12520
16f07dd7
CY
125212011-06-26 Chong Yidong <cyd@stupidchicken.com>
12522
88821ca0
CY
12523 * hl-line.el (hl-line-sticky-flag): Doc fix.
12524 (global-hl-line-sticky-flag): New option (Bug#8323).
12525 (global-hl-line-highlight): Obey it.
12526
16f07dd7
CY
12527 * vc/vc.el (vc-revert-show-diff): Default to t.
12528
6b5ccddf
KM
125292011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12530
c9d29fb8
SM
12531 * allout-widgets.el (allout-widgets-post-command-business):
12532 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12533 undecorated when an isearch is continued past, and isearch
12534 automatically collapses them. This leads to "widget leaks", where
12535 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12536 hidden widgets can slow down cursor travel, substantially.
12537 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12538 so we're doing without this nicety.
12539
12540 (allout-widgets-tally-string): Don't try to do a hash-table-count
12541 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12542 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12543 *Messages* when allout-widgets-maintain-tally is t.
12544
355f2e07
MR
125452011-06-26 Martin Rudalics <rudalics@gmx.at>
12546
12547 * window.el (display-buffer-normalize-argument): Rename to
12548 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12549 LABEL argument. Respect special-display-function when popping up
12550 a new frame. Fix code searching for a window showing the buffer
12551 on another frame.
c9d29fb8
SM
12552 (display-buffer-normalize-specifiers):
12553 Call display-buffer-normalize-arguments.
355f2e07
MR
12554 (display-buffer-in-window): Don't undedicate the window if its
12555 buffer remains the same.
12556 Reported by Drew Adams <drew.adams@oracle.com>.
12557 (display-buffer-alist): Add choice for same-window macro
12558 specfier.
12559 (display-buffer): Mention special meaning of LABEL argument in
12560 doc-string. Fix quoting. Don't pop up a new frame even as
12561 fallback.
12562
7ca8fc42
JB
125632011-06-26 Juanma Barranquero <lekktu@gmail.com>
12564
12565 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12566 avoid deleting the current window in some cases (bug#8911).
12567
bc312254
AS
125682011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12569
12570 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12571 (Bug#8934)
12572
2db18f3f
LMI
125732011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12574
c9d29fb8
SM
12575 * net/network-stream.el (network-stream-open-starttls):
12576 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12577 (network-stream-open-tls): Ditto.
12578
6302e0d3
LL
125792011-06-26 Leo Liu <sdl.web@gmail.com>
12580
12581 * register.el (registerv): New struct.
12582 (registerv-make): New function.
c9d29fb8
SM
12583 (jump-to-register, describe-register-1, insert-register):
12584 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12585 struct. (Bug#8415)
12586
5fdd4046
CY
125872011-06-26 Chong Yidong <cyd@stupidchicken.com>
12588
2afef60a
CY
12589 * vc/vc.el (vc-revert-show-diff): New defcustom.
12590 (vc-diff-internal): New arg specifying diff buffer.
12591 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12592 reuse an existing *vc-diff* buffer (Bug#8927).
12593
5fdd4046
CY
12594 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12595
e93db24a
GM
125962011-06-26 Glenn Morris <rgm@gnu.org>
12597
12598 * progmodes/f90.el (f90-critical-indent): New option.
12599 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12600 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12601 (f90-mode): Doc fix.
12602 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12603 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12604 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12605 (f90-match-end): Handle block, critical.
12606
eefff499
GM
126072011-06-25 Glenn Morris <rgm@gnu.org>
12608
f6ba4cc9
GM
12609 * calendar/diary-lib.el (diary-included-files): Doc fix.
12610 (diary-include-files): New function, extracted from
12611 diary-include-other-diary-files and diary-mark-included-diary-files.
12612 (diary-include-other-diary-files, diary-mark-included-diary-files):
12613 Just call diary-include-files.
12614 (diary-mark-entries): Reset diary-included-files on first call.
12615
16712304
GM
12616 * calendar/diary-lib.el (diary-mark-entries)
12617 (diary-mark-included-diary-files):
12618 Visit included diary-files in temp buffers.
12619
5d8e0d43
GM
12620 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12621 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12622 (f90-start-block-re, f90-imenu-generic-expression)
12623 (f90-looking-at-program-block-start, f90-no-block-limit):
12624 Add support for submodules.
12625
ccf7a5d5
GM
12626 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12627 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12628
11fdef7d 126292011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12630
12631 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12632 buffer-file-type before setting its value, to avoid disastrous
eefff499 12633 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12634
74f53697
JB
126352011-06-25 Juanma Barranquero <lekktu@gmail.com>
12636
12637 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12638
12639 * ses.el (ses-unload-function):
12640 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12641
12642 * proced.el (proced-unload-function):
12643 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12644
18a4ce5e
AR
126452011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12646
12647 * server.el (server-create-window-system-frame): Add parameters arg.
12648 (server-process-filter): Doc fix. Handle frame-parameters.
12649
519d22cc
JB
126502011-06-25 Juanma Barranquero <lekktu@gmail.com>
12651
12652 Fix bug#8730, bug#8781.
12653
12654 * loadhist.el (unload--set-major-mode): New function.
12655 (unload-feature): Use it.
12656
12657 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12658 (python-unload-function): New function.
12659
c206f5b0
SM
126602011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12661
12662 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12663
f9ad64f3
GS
126642011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12665
12666 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12667 the candidates list.
12668
7d0da90e
JB
126692011-06-24 Juanma Barranquero <lekktu@gmail.com>
12670
12671 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12672
14b4e83d
RS
126732011-06-23 Richard Stallman <rms@gnu.org>
12674
12675 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12676 (rmail-variables): Set next-error-move-function.
12677 (rmail-what-message): Take argument POS.
12678 (rmail-next-error-move): New function.
12679
273d2baf
SM
126802011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12681
12682 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12683 messages for adjacent non-terminals.
12684
56c2cc9a
RS
126852011-06-23 Richard Stallman <rms@gnu.org>
12686
12687 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12688 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12689 (rmail-start-mail): Don't specify use of rmail-mail-return;
12690 that's done by mail-bury now.
12691 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12692
d59eb518
MA
126932011-06-23 Michael Albinus <michael.albinus@gmx.de>
12694
12695 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12696 SIZE is a number.
12697
02cfc6d6
MR
126982011-06-23 Martin Rudalics <rudalics@gmx.at>
12699
12700 * window.el (get-lru-window, get-mru-window)
12701 (get-largest-window): Never return a minibuffer window.
12702 (display-buffer-pop-up-window): Fix a bug that could lead to
12703 reusing the minibuffer window.
12704 (display-buffer): Pass original specifier argument to
12705 display-buffer-function instead of the normalized one.
12706 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12707
4e323265
LL
127082011-06-22 Leo Liu <sdl.web@gmail.com>
12709
12710 * minibuffer.el (completing-read-function)
12711 (completing-read-default): Move from minibuf.c
12712
7a70468f
RS
127132011-06-22 Richard Stallman <rms@gnu.org>
12714
50718fc2
RS
12715 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12716 to Rmail even if not started by a special Rmail command.
12717
7a70468f
RS
12718 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12719 Copy the buffer currently showing just one message.
12720
297dde5a
RW
127212011-06-22 Roland Winkler <winkler@gnu.org>
12722
12723 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12724 (bibtex-clean-entry): First delete the old key so that a
12725 customized algorithm for generating the new key does not get
12726 confused by the old key.
12727 (bibtex-url): Obey regexp of first step.
12728 (bibtex-search-entries): Do not use add-to-list with local
12729 list-var.
12730
97bb1093
LMI
127312011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12732
12733 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12734 stored a user name, then query for the password first, instead of
12735 waiting for SMTP to give an error message and the trying again.
12736
1c0f1a19
JD
127372011-06-22 Lawrence Mitchell <wence@gmx.li>
12738
12739 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12740 BUFFER in call-process.
12741
396f7c9d
LMI
127422011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12743
12744 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12745 QUIT twice.
ddb7ffee
LMI
12746 (smtpmail-try-auth-methods): Require user name and password from
12747 auth-source.
396f7c9d 12748
8998d1b3
MR
127492011-06-22 Martin Rudalics <rudalics@gmx.at>
12750
12751 * window.el (display-buffer-default-specifiers)
12752 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12753 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12754 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12755
12756 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12757 (special-display-frame-alist, special-display-popup-frame):
12758 Remove duplicate declarations. These are now in window.el.
12759
4ea31e07
LMI
127602011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12761
c9d29fb8
SM
12762 * mail/smtpmail.el (smtpmail-via-smtp):
12763 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12764 server supports it. SMTP servers that support STARTTLS commonly
12765 require it.
12766
12767 * net/network-stream.el (network-stream-open-starttls): Support
12768 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12769 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12770
95f41d9a
LMI
12771 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12772 upgrades with `open-network-stream', and rely solely on
12773 auth-source for all credentials. Big changes throughout the file,
12774 but in particular:
c9d29fb8
SM
12775 (smtpmail-auth-credentials): Remove.
12776 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12777 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12778 MAIL FROM, too.
95f41d9a 12779
c9d29fb8
SM
12780 * net/network-stream.el (network-stream-open-starttls):
12781 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12782 STARTTLS.
12783 (auth-source): Require.
12784 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12785 (network-stream-certificate): Change cert-cert to cert and
12786 cert-key to key.
4ea31e07 12787
065ec2c7
MA
127882011-06-21 Michael Albinus <michael.albinus@gmx.de>
12789
12790 * net/tramp-cache.el (top): Don't load the persistency file when
12791 "emacs -Q" has been called.
12792
cd93b359
DR
127932011-06-21 Tim Harper <timcharper@gmail.com>
12794
d8e4b68b
JB
12795 * term/ns-win.el (ns-initialize-window-system):
12796 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12797 resource to NO as it is not yet supported by the NS port.
12798
ae9c0411
JB
127992011-06-21 Juanma Barranquero <lekktu@gmail.com>
12800
12801 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12802 (list-dynamic-libraries): ...not here.
12803
7f3f739f
LL
128042011-06-21 Leo Liu <sdl.web@gmail.com>
12805
12806 * subr.el (sha1): Implement sha1 using secure-hash.
12807
327c8fb1
MR
128082011-06-21 Martin Rudalics <rudalics@gmx.at>
12809
12810 * window.el (display-buffer-alist): In default value do not
12811 enforce searching a window on any but the selected frame.
12812 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12813 (display-buffer-select-window): Remove function.
12814 (display-buffer-in-window): When a window on another frame gets
12815 reused, do not select it any more but just raise its frame if
12816 necessary (Bug#8851) and (Bug#8856).
12817 (display-buffer-normalize-options): Handle pop-up-frames related
12818 options more faithfully.
12819 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12820 window if it is on another frame.
c9d29fb8
SM
12821 (display-buffer-alist, display-buffer-default-specifiers):
12822 Don't make new frame unsplittable by default.
9e9de014
MR
12823 (display-buffer-normalize-argument): Fix doc-string typo and use
12824 'same-frame-other-window instead of 'other-window when associating
12825 with display-buffer-macro-specifiers.
327c8fb1 12826
7cf3f556
VB
128272011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12828
12829 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12830 New functions.
12831 (5x5-mode-map, 5x5-mode-menu): Bind them.
12832 (5x5-draw-grid): Tweak the solver's rendering.
12833
60a406cf
SM
128342011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12835
12836 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12837 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12838
d8e4b68b 128392011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12840
12841 * menu-bar.el: Use function variable instead of switch-to-buffer.
12842 (menu-bar-select-buffer-function): New variable.
60a406cf 12843 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12844
478d6f95
SM
128452011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12848 variable's status.
12849
ca530739
JD
128502011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12851
12852 * x-dnd.el (x-dnd-version-from-flags)
12853 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12854 and long as number (Bug#8899).
12855 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12856
bcd70d97
SM
128572011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12858
60a406cf 12859 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12860 (completion-try-completion, completion-all-completions): Compute the
12861 metadata argument if it's missing; make it optional (bug#8795).
12862
60a406cf 12863 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12864 (widget-complete): Use new :completion-function property.
12865 (widget-completions-at-point): New function.
12866 (default): Use :completion-function instead of :complete.
60a406cf
SM
12867 (widget-default-completions): Rename from widget-default-complete;
12868 Rewrite.
bcd70d97
SM
12869 (widget-string-complete, widget-file-complete, widget-color-complete):
12870 Remove functions.
12871 (file, symbol, function, variable, coding-system, color):
12872 * international/mule-cmds.el (default-input-method, charset)
12873 (language-info-custom-alist):
12874 * cus-edit.el (face): Use new property :completions.
12875
12876 * progmodes/pascal.el (pascal-completions-at-point): New function.
12877 (pascal-mode): Use it.
12878 (pascal-mode-map): Use completion-at-point.
12879 (pascal-toggle-completions): Make obsolete.
12880 (pascal-complete-word, pascal-show-completions):
12881 * progmodes/octave-mod.el (octave-complete-symbol):
12882 Redefine as obsolete alias.
12883 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12884 Signal absence of completion info for old Octave,
12885 (inferior-octave-complete): Redefine as obsolete alias.
12886 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12887 (meta-completions-at-point): Rename from meta-complete-symbol and
12888 adapt it for use on completion-at-point-functions.
12889 (meta-common-mode): Use it.
12890 (meta-looking-at-backward, meta-match-buffer): Remove.
12891 (meta-complete-symbol): Redefine as obsolete alias.
12892 (meta-common-mode-map): Use completion-at-point.
12893 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12894 (makefile-mode-map): Use completion-at-point.
12895 (makefile-completions-at-point): Rename from makefile-complete and
12896 adapt it for use on completion-at-point-functions.
12897 (makefile-mode): Use it.
12898 (makefile-complete): Redefine as obsolete alias.
12899
aebf69c8
DD
129002011-06-20 Deniz Dogan <deniz@dogan.se>
12901
12902 * net/rcirc.el: Delete trailing whitespaces once and for all.
12903
bfbbb27d
DC
129042011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12905
12906 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12907
d264a46b
CY
129082011-06-19 Chong Yidong <cyd@stupidchicken.com>
12909
4ca009e5
CY
12910 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12911
d264a46b
CY
12912 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12913
fbf5b3ce
MR
129142011-06-19 Martin Rudalics <rudalics@gmx.at>
12915
12916 * window.el (display-buffer-other-window-means-other-frame):
12917 Call display-buffer-normalize-alist.
12918 (display-buffer-normalize-specifiers-1): Rename to
12919 display-buffer-normalize-argument. New argument other-frame.
12920 Rewrite.
12921 (display-buffer-normalize-specifiers-2): Rename to
12922 display-buffer-normalize-options.
12923 (display-buffer-normalize-alist-1): New function.
12924 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12925 display-buffer-normalize-alist.
12926 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12927 (display-buffer-normalize-options-inhibit): New variable.
12928 (display-buffer-normalize-specifiers): Rewrite calling
12929 display-buffer-normalize-alist,
12930 display-buffer-normalize-argument, and
12931 display-buffer-normalize-options. Don't call the latter if
12932 display-buffer-normalize-options-inhibit is non-nil.
12933 (frame-auto-delete): New option.
12934 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12935 (window-list-no-nils, window-state-ignored-parameters)
12936 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12937 (window-state-put-1, window-state-put-2, window-state-put):
12938 New functions.
9a028c23
MR
12939 (display-buffer-normalize-options): Move special-display-p group
12940 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12941
6d10d800
CY
129422011-06-18 Chong Yidong <cyd@stupidchicken.com>
12943
6420d28b
CY
12944 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12945 groups (Bug#8776).
12946 (rx-submatch-n): New function.
12947 (rx): Document it.
12948
ddb8b596
CY
12949 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12950 (Bug#8768).
12951
12952 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12953
77080289
CY
12954 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12955
61dfb316
CY
12956 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12957 anytime existing face settings are present (Bug#8889).
12958
6d10d800
CY
12959 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12960 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12961 Remove unused argument.
12962
be3fb2b8
MR
129632011-06-18 Martin Rudalics <rudalics@gmx.at>
12964
bcd70d97
SM
12965 * window.el (display-buffer-default-specifiers):
12966 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12967 pop-up-window-min-width, and another reuse-window specifier
12968 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12969 (display-buffer-normalize-specifiers-2):
12970 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12971 pop-up-windows is unset. Add a reuse-window specifier for the
12972 case popping up a new window fails.
12973 (special-display-popup-frame): Remove double quoting.
28dec25a 12974 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12975
1c6d8c76
SM
129762011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12977
12978 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12979 according to comint-completion-addsuffix.
12980
12981 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12982 (pcomplete-suffix-list): Mark as obsolete.
12983 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12984 pcomplete-seen in the closure.
12985 (pcomplete-comint-setup): Setup completion-at-point as well.
12986 (pcomplete--entries): New function.
12987 (pcomplete--env-regexp): New var.
12988 (pcomplete-entries): Rewrite to work with partial-completion and
12989 without relying on pcomplete-suffix-list.
12990 (pcomplete-pare-list): Remove, unused.
12991
25aef8b8
MR
129922011-06-17 Martin Rudalics <rudalics@gmx.at>
12993
12994 * window.el (display-buffer-alist): Set pop-up-window-min-height
12995 and pop-up-window-min-width in default value. Reported by
12996 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12997 other-window-means-other-frame.
12998 (display-buffer-macro-specifiers): Comment out entry for
12999 other-window specifier.
13000 (display-buffer-other-window-means-other-frame): New function.
13001 (display-buffer-normalize-specifiers-1): New arguments
13002 buffer-name and label. Treat other-window case specially.
13003 (display-buffer-normalize-specifiers-2): Treat other-window case
13004 specially.
13005 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13006 (display-buffer-normalize-specifiers):
13007 Call display-buffer-normalize-specifiers-3.
25aef8b8 13008
dbad4f69
MR
130092011-06-17 Martin Rudalics <rudalics@gmx.at>
13010
13011 * window.el (same-window-p): Fix two typos introduced when
13012 adding with-no-warnings.
d1067961
MR
13013 (display-buffer-normalize-specifiers-1): Don't check
13014 pop-up-frames for 'unset initialization.
13015 (display-buffer-normalize-specifiers-2): Major rewrite using
13016 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13017 (pop-up-frames, display-buffer-reuse-frames)
13018 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13019 Suggested by David Engster <deng@randomsample.de>.
13020 (even-window-heights): Initialize to 'unset.
13021 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13022 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13023 other window case.
dbad4f69 13024
9b9c9e3a
MR
130252011-06-16 Martin Rudalics <rudalics@gmx.at>
13026
bcd70d97
SM
13027 * window.el (display-buffer-normalize-specifiers-1):
13028 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13029 second argument of display-buffer (Bug#8865).
981d5c09
MR
13030 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13031 (switch-to-buffer-other-window-same-frame)
13032 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13033 Adams (Bug#8875).
9c2755e9
MR
13034 (display-buffer): Don't check noninteractive when calling
13035 display-buffer-pop-up-frame.
13036 (display-buffer-pop-up-frame): Never pop up a frame in
13037 noninteractive mode (Bug#8857).
67222e1d
MR
13038 (enlarge-window, shrink-window): Don't report an error when the
13039 window can't be resized as requested (Bug#8862).
9b9c9e3a 13040
2b75be67
SM
130412011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13042
9ffdd3ba
SM
13043 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13044
cb581a67
SM
13045 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13046
2b75be67
SM
13047 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13048
8c0e3589
AM
130492011-06-15 Alan Mackenzie <acm@muc.de>
13050
cb581a67
SM
13051 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13052 for declarators, disable knr checking to speed up for normal files.
13053 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13054
b96e6cde
LMI
130552011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13056
4bba86e6
LMI
13057 * net/network-stream.el (open-network-stream): Add the keyword
13058 :always-query-capabilities for the case where you want to force a
13059 `plain' network connection, but the protocol still requires the
13060 capabilitiy command (i.e., SMTP and EHLO).
13061
2b75be67 13062 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13063 consistency with other `-live-p' functions.
13064
efdcdbf8
SM
130652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 * window.el (same-window-buffer-names, same-window-regexps)
13068 (special-display-frame-alist, special-display-popup-frame)
13069 (special-display-function, special-display-buffer-names)
13070 (special-display-regexps, pop-up-frame-alist)
13071 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13072 (pop-up-windows, split-window-preferred-function)
13073 (split-height-threshold, split-width-threshold, even-window-heights)
13074 (display-buffer-mark-dedicated): Don't encourage the use of
13075 display-buffer-alist from Elisp code.
13076
c5cde042
DN
130772011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13078
13079 * progmodes/python.el (python-mode): Derive from prog-mode.
13080 * progmodes/ps-mode.el (ps-mode):
13081 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13082 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13083 * progmodes/ld-script.el (ld-script-mode): Likewise.
13084
baa1c9ab
MR
130852011-06-15 Martin Rudalics <rudalics@gmx.at>
13086
13087 * window.el (display-buffer-alist): Trim default value to avoid
13088 popping up a new frame (Bug#8857) or reusing an arbitrary window
13089 on another frame.
13090 (display-buffer): Do not fall back on popping up a new frame in
13091 batch mode (Bug#8857).
13092
c5dd5a51
CY
130932011-06-14 Chong Yidong <cyd@stupidchicken.com>
13094
13095 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13096 (custom-theme-summary): New function.
13097 (customize-themes): Use it.
13098
d647b7c4
GM
130992011-06-13 Glenn Morris <rgm@gnu.org>
13100
13101 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13102
9481c002
MR
131032011-06-13 Martin Rudalics <rudalics@gmx.at>
13104
357f93d2
MR
13105 * help.el (help-window): Remove variable.
13106 (help-window-point-marker, temp-buffer-max-height)
13107 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13108 (help-print-return-message): Don't set help-window.
13109 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13110 (help-window-setup-finish): Remove.
13111 (help-window-display-message, help-window-setup)
13112 (with-help-window): Major rewrite based on new
13113 display-buffer-window variable.
13114
13115 * help-mode.el (help-mode-finish): Remove help-window related
13116 code.
13117
13118 * view.el (view-exits-all-viewing-windows): Remove reference to
13119 view-return-to-alist in doc-string.
13120 (view-return-to-alist): Make obsolete.
13121 (view-buffer): Call pop-to-buffer-same-window and remove
13122 undo-window code.
13123 (view-buffer-other-window): Call pop-to-buffer-other-window and
13124 simplify code. Ignore second argument.
13125 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13126 simplify code. Ignore second argument.
13127 (view-return-to-alist-update): Make obsolete.
13128 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13129 Rewrite using quit-restore window parameters.
2b75be67
SM
13130 (view-mode-exit): Rename second argument to EXIT-ONLY.
13131 Rewrite using quit-restore-window.
357f93d2
MR
13132 (View-exit, View-exit-and-edit, View-leave, View-quit)
13133 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13134 appropriate arguments.
13135 (view-end-message): Use quit-restore window parameter.
13136
9481c002
MR
13137 * window.el (display-buffer-function): Rewrite doc-string.
13138 (display-buffer-window, display-buffer-alist): New variables.
13139 (display-buffer-split-specifiers)
13140 (display-buffer-side-specifiers)
13141 (display-buffer-macro-specifiers): New constants.
13142 (display-buffer-even-window-sizes, display-buffer-set-height)
13143 (display-buffer-set-width, display-buffer-select-window)
13144 (display-buffer-in-window, display-buffer-reuse-window)
13145 (display-buffer-split-window-1, display-buffer-split-window)
13146 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13147 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13148 (display-buffer-in-side-window, normalize-buffer-to-display)
13149 (display-buffer-normalize-specifiers-1)
13150 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13151 (display-buffer-normalize-specifiers, display-buffer-frame):
13152 New functions.
9481c002
MR
13153 (display-buffer): Major rewrite.
13154 (display-buffer-other-window, display-buffer-other-frame)
13155 (pop-to-buffer, switch-to-buffer-other-window)
13156 (switch-to-buffer-other-frame): Rewrite.
13157 (display-buffer-same-window, display-buffer-same-frame)
13158 (display-buffer-same-frame-other-window)
13159 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13160 (pop-to-buffer-other-window)
13161 (pop-to-buffer-same-frame-other-window)
13162 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13163 (switch-to-buffer-other-window-same-frame): New functions.
13164 (same-window-p, special-display-p): Rewrite disabling warnings.
13165 Make obsolete.
13166 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13167 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13168 Make obsolete
13169 (same-window-buffer-names, same-window-regexps)
13170 (special-display-frame-alist, special-display-popup-frame)
13171 (special-display-function, special-display-buffer-names)
13172 (special-display-regexps, pop-up-frame-alist)
13173 (pop-up-frame-function, split-window-preferred-function)
13174 (split-height-threshold, split-width-threshold)
13175 (even-window-heights): Make obsolete.
13176
9db51aca
GM
131772011-06-12 Glenn Morris <rgm@gnu.org>
13178
13179 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13180 Misc simplifications.
9db51aca 13181
39cffb44
MR
131822011-06-12 Martin Rudalics <rudalics@gmx.at>
13183
13184 * window.el (window-safely-shrinkable-p): Restore function which
13185 was inadvertently removed in change from 2011-06-11. Declare as
13186 obsolete.
13187
2b75be67
SM
13188 * calendar/calendar.el (calendar-generate-window):
13189 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13190 window-safely-shrinkable-p.
13191
a8955be7
GM
131922011-06-12 Glenn Morris <rgm@gnu.org>
13193
13194 * progmodes/fortran.el (fortran-mode-syntax-table):
13195 * progmodes/f90.el (f90-mode-syntax-table):
13196 Set % to punctuation. (Bug#8820)
13197 (f90-find-tag-default): Remove, no longer needed.
13198
f0d4059d
DC
131992011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13200
13201 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13202
1100a63c
CY
132032011-06-11 Chong Yidong <cyd@stupidchicken.com>
13204
13205 * image.el (image-animated-p): Return animation delay in seconds.
13206 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13207 (image-animate-timeout): Remove DELAY argument. Don't assume
13208 every subimage has the same delay; get it from image-animated-p.
13209 (image-animate): Caller changed.
13210
def722bf
MA
132112011-06-11 Michael Albinus <michael.albinus@gmx.de>
13212
13213 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13214 to ignored backtrace functions.
13215
0a2bb1a9
GM
132162011-06-11 Glenn Morris <rgm@gnu.org>
13217
13218 * calendar/appt.el (appt-disp-window-function): Doc fix.
13219 (appt-check): Handle overlapping appointments. (Bug#8337)
13220
6198ccd0
MR
132212011-06-11 Martin Rudalics <rudalics@gmx.at>
13222
13223 * window.el (window-tree-1, window-tree): New functions, moving
13224 the latter to window.el.
13225 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13226 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13227 (bw-refresh-edges): Remove.
13228 (balance-windows-1, balance-windows-2): New functions.
13229 (balance-windows): Rewrite in terms of window tree functions,
13230 balance-windows-1 and balance-windows-2.
13231 (bw-adjust-window): Remove.
13232 (balance-windows-area-adjust): New function with functionality of
13233 bw-adjust-window but using resize-window.
2b75be67
SM
13234 (set-window-text-height): Rewrite doc-string.
13235 Use normalize-live-window and resize-window.
13236 (enlarge-window-horizontally, shrink-window-horizontally):
13237 Rename argument to DELTA.
6198ccd0
MR
13238 (window-buffer-height): New function.
13239 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13240 Rewrite using new window resize routines.
2b75be67
SM
13241 (kill-buffer-and-window, mouse-autoselect-window-select):
13242 Use ignore-errors instead of condition-case.
6198ccd0
MR
13243 (quit-window): Call delete-frame instead of delete-windows-on
13244 for the only buffer on frame.
13245
9397e56f
MR
132462011-06-10 Martin Rudalics <rudalics@gmx.at>
13247
13248 * loadup.el (top-level): Load window before files for the sake
13249 of replace-buffer-in-windows.
13250
13251 * files.el (read-buffer-to-switch)
13252 (switch-to-buffer-other-window)
2b75be67
SM
13253 (switch-to-buffer-other-frame, display-buffer-other-frame):
13254 Move to window.el.
9397e56f
MR
13255
13256 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13257 (previous-buffer): Move to window.el.
13258
13259 * bindings.el (unbury-buffer): Move to window.el.
13260
13261 * window.el (delete-other-windows-vertically): Move after
13262 definition of delete-other-windows.
13263 (other-window, delete-windows-on, replace-buffer-in-windows):
13264 Move here from window.c.
13265 (record-window-buffer, unrecord-window-buffer)
13266 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13267 (switch-to-next-buffer): New functions.
13268 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13269 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13270 (previous-buffer): Move here from simple.el.
13271 Call switch-to-prev-buffer.
9397e56f
MR
13272 (bury-buffer): Move here from buffer.c. Switch to previous
13273 buffer when window cannot be deleted.
13274 (unbury-buffer): Move here from bindings.el.
13275 (ctl-x-map): Move binding for other-window from window.c to
13276 here.
13277 (read-buffer-to-switch, switch-to-buffer-other-window)
13278 (switch-to-buffer-other-frame): Move here from files.el.
13279 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13280 (switch-to-buffer): Move here from buffer.c.
13281 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13282
562dd5e9
MR
132832011-06-10 Martin Rudalics <rudalics@gmx.at>
13284
13285 * window.el (window-min-height, window-min-width): Move here
13286 from window.c. Add defcustoms and rewrite doc-strings.
13287 (resize-mini-window, resize-window): New functions.
13288 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13289 Move here from window.c.
13290 (maximize-window, minimize-window): New functions.
13291 (delete-window, delete-other-windows, split-window): Move here
13292 from window.c.
13293 (window-split-min-size): New function.
13294 (split-window-keep-point): Mention split-window-above-each-other
13295 instead of split-window-vertically.
2b75be67 13296 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13297 Rename split-window-vertically to split-window-above-each-other
13298 and provide defalias for old definition.
13299 (split-window-side-by-side, split-window-horizontally):
13300 Rename split-window-horizontally to split-window-side-by-side
13301 and provide defalias for the old definition.
562dd5e9
MR
13302 (ctl-x-map): Move bindings for delete-window,
13303 delete-other-windows and enlarge-window here from window.c.
13304 Replace bindings for split-window-vertically and
13305 split-window-horizontally by bindings for
13306 split-window-above-each-other and split-window-side-by-side.
13307
13308 * cus-start.el (all): Remove entries for window-min-height and
13309 window-min-width. Add entries for window-splits and
13310 window-nest.
13311
f0da764a
GM
133122011-06-09 Glenn Morris <rgm@gnu.org>
13313
80675c21
GM
13314 * calendar/appt.el (appt-mode-line): New function.
13315 (appt-check, appt-disp-window): Use it.
13316
f0da764a
GM
13317 * files.el (hack-one-local-variable-eval-safep):
13318 Allow minor-modes with explicit +/-1 arguments.
13319
59f623b7
TZ
133202011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13321
13322 * term/xterm.el (xterm): Add defgroup.
13323 (xterm-extra-capabilities): Add defcustom to supply known xterm
13324 capabilities, skip querying them, or query them (default).
13325 (terminal-init-xterm): Use it.
13326 (terminal-init-xterm-modify-other-keys): New function to set up
13327 modifyOtherKeys support to simplify `terminal-init-xterm'.
13328
9aab8e0d
MR
133292011-06-09 Martin Rudalics <rudalics@gmx.at>
13330
13331 * window.el (resize-window-reset, resize-window-reset-1)
13332 (resize-subwindows-skip-p, resize-subwindows-normal)
13333 (resize-subwindows, resize-other-windows, resize-this-window)
13334 (resize-root-window, resize-root-window-vertically)
13335 (window-deletable-p, window-or-subwindow-p)
13336 (frame-root-window-p): New functions.
13337
e8b08aee
GM
133382011-06-09 Glenn Morris <rgm@gnu.org>
13339
13340 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13341 (ange-ftp-get-files): Use it.
13342
254c37a5
AK
133432011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13344
13345 * mail/sendmail.el (mail-recover-1, mail-recover):
13346 * files.el (recover-file, recover-session):
13347 Handle dired-listing-switches not being just a single short option.
13348
35d7dbd3
GM
133492011-06-09 Glenn Morris <rgm@gnu.org>
13350
13351 * calendar/appt.el (appt-display-message, appt-disp-window):
13352 Handle lists of appointments.
13353
387522b2
MR
133542011-06-08 Martin Rudalics <rudalics@gmx.at>
13355
2b75be67
SM
13356 * window.el (one-window-p): Move down in code.
13357 Rewrite doc-string.
13358 (window-current-scroll-bars): Rewrite doc-string.
13359 Normalize live window argument.
387522b2
MR
13360 (walk-windows, get-window-with-predicate, count-windows):
13361 Rewrite doc-string. Use window-list-1.
13362 (window-in-direction-2, window-in-direction, get-mru-window):
13363 New functions.
13364
d8e4b68b 133652011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13366
13367 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13368 Doc fix (Bug#8713).
13369
133702011-06-08 Chong Yidong <cyd@stupidchicken.com>
13371
13372 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13373
133742011-06-08 Juanma Barranquero <lekktu@gmail.com>
13375
13376 * loadhist.el (unload-feature-special-hooks):
13377 Add `comint-output-filter-functions'.
13378
0de12c52
IK
133792011-06-08 Ivan Kanis <gnu@kanis.fr>
13380
13381 * calendar/appt.el (appt-check): Move some initializations into the let.
13382
f3d1777e
MR
133832011-06-08 Martin Rudalics <rudalics@gmx.at>
13384
13385 * window.el (window-height): Defalias to window-total-height.
13386 (window-width): Defalias to window-body-width.
13387
18af70d0
CY
133882011-06-07 Chong Yidong <cyd@stupidchicken.com>
13389
13390 * image-mode.el (image-toggle-animation): New command.
13391 (image-mode-map): Bind it to RET.
13392 (image-mode): Update message.
13393 (image-toggle-display-image): Avoid a spurious cache flush.
13394 (image-transform-rotation): Doc fix.
13395 (image-transform-properties): Return quickly in the normal case.
13396 (image-animate-loop): Rename from image-animate-max-time.
13397
2b75be67 13398 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13399 (create-animated-image): Remove unnecessary function.
13400 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13401 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13402 (image-animate-timer): Use car-safe.
13403 (image-animate-timeout): Rename argument.
13404
190b47e6
MR
134052011-06-07 Martin Rudalics <rudalics@gmx.at>
13406
13407 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13408 window.c. Rename first argument to ALL-FRAMES.
13409 Rephrase doc-strings.
13410 (get-buffer-window-list): Rewrite using window-list-1.
13411 Rephrase doc-string.
a1511caf
MR
13412 (window-safe-min-height, window-safe-min-width): New constants.
13413 (window-size-ignore, window-min-size, window-min-size-1)
13414 (window-sizable, window-sizable-p, window-size-fixed-1)
13415 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13416 (window-max-delta-1, window-max-delta, window-resizable)
13417 (window-resizable-p, window-total-height, window-total-width)
13418 (window-body-width): New functions.
13419 (window-full-height-p, window-full-width-p): Rewrite using
13420 window-total-size.
13421 (window-body-height): Rewrite using window-body-size.
190b47e6 13422
85cc1f11
MR
134232011-06-06 Martin Rudalics <rudalics@gmx.at>
13424
13425 * window.el (window-right, window-left, window-child)
13426 (window-child-count, window-last-child, window-any-p)
13427 (normalize-live-buffer, normalize-live-frame)
13428 (normalize-any-window, normalize-live-window)
13429 (window-iso-combination-p, window-iso-combined-p)
13430 (window-iso-combinations)
13431 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13432 (windows-with-parameter, window-with-parameter)
13433 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13434 (window-atom-check, window-side-check, window-check):
13435 New functions.
85cc1f11
MR
13436 (ignore-window-parameters, window-sides, window-sides-vertical)
13437 (window-sides-slots): New variables.
13438 (window-size-fixed): Move down in code. Minor doc-string fix.
13439
e7156492
AS
134402011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13441
13442 * comint.el (comint-dynamic-complete-as-filename)
13443 (comint-dynamic-complete-filename): Correctly call
13444 completion-in-region.
13445
7e821d0d
DD
134462011-06-05 Deniz Dogan <deniz@dogan.se>
13447
13448 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13449 in last change.
13450
ac09b8a1
DD
134512011-06-05 Deniz Dogan <deniz@dogan.se>
13452
13453 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13454 (rcirc): Use it to prompt for encryption.
13455
34699b85
RW
134562011-06-05 Roland Winkler <winkler@gnu.org>
13457
13458 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13459 (bibtex-search-entries): New command bound to C-c C-a.
13460 (bibtex-display-entries): New function.
13461
004dedd3
RW
134622011-06-05 Roland Winkler <winkler@gnu.org>
13463
13464 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13465 (bibtex-insert-kill): After yanking insert newline if necessary.
13466 (bibtex-initialize): Call bibtex-string-files-init only once.
13467 (bibtex-mode): Do not call easy-menu-add.
13468 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13469 (bibtex-yank): Set arg properly if nil.
13470
022fe7ce
RW
134712011-06-05 Roland Winkler <winkler@gnu.org>
13472
2b75be67
SM
13473 * textmodes/bibtex.el (bibtex-search-entry-globally):
13474 New variable.
022fe7ce
RW
13475 (bibtex-search-entry): Use it.
13476
b7c3692a
RW
134772011-06-05 Roland Winkler <winkler@gnu.org>
13478
13479 * textmodes/bibtex.el (bibtex-entry-format): New option
13480 sort-fields.
13481 (bibtex-format-entry, bibtex-reformat): Honor this option.
13482 (bibtex-parse-entry): Return fields in proper order.
13483
8eda563d
JB
134842011-06-05 Juanma Barranquero <lekktu@gmail.com>
13485
13486 * doc-view.el (doc-view-remove-if): Move computation of result out
13487 of `dolist' to silence misleading lexical-binding warning.
13488
7dbe3dbc
CY
134892011-06-04 Chong Yidong <cyd@stupidchicken.com>
13490
13491 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13492 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13493
0c33dd17
MA
134942011-06-04 Michael Albinus <michael.albinus@gmx.de>
13495
13496 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13497 "SunOS 5.10".
13498
f8f91c2b
MA
134992011-06-04 Michael Albinus <michael.albinus@gmx.de>
13500
13501 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13502 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13503 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13504 (tramp-parse-putty):
13505 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13506 (tramp-completion-function-alist-ssh)
13507 (tramp-completion-function-alist-telnet)
13508 (tramp-completion-function-alist-su)
13509 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13510 cookie.
13511
13512 * net/tramp-ftp.el:
13513 * net/tramp-sh.el:
13514 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13515 load "tramp.el" `tramp-set-completion-function'.
13516
e17d9003
SM
135172011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13518
13519 * shell.el: Require and use pcomplete.
13520 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13521 (shell-completion-vars): Set pcomplete-default-completion-function.
13522
6c4cab03
DD
135232011-06-04 Deniz Dogan <deniz@dogan.se>
13524
13525 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13526 `memq' (Bug#8799).
13527
ea9fafe0
SM
135282011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13531
b3e945d3
JB
135322011-06-02 Juanma Barranquero <lekktu@gmail.com>
13533
13534 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13535 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13536 * vc/log-view.el (log-view-beginning-of-defun):
13537 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13538 (smerge-refine-forward, smerge-refine-chopup-region):
13539 Silence warning for unused `dotimes' counter variables.
13540
7d520089
SM
135412011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13542
13543 * net/tramp.el (tramp-with-progress-reporter): Rename from
13544 with-progress-reporter. Use `declare'.
13545 * net/tramp-smb.el:
13546 * net/tramp-sh.el:
13547 * net/tramp-gvfs.el: Update all uses.
13548
a1c2400f
JB
135492011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13550
13551 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13552 buffer isn't killed before making it current.
13553
2403c841
SM
135542011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 Silence various byte-compiler warnings.
13557 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13558 `access-type' and new obsolescence format.
13559 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13560 new format.
13561 (byte-compile-check-variable): New `access-type' argument.
13562 Only warn if the access-type is obsolete.
13563 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13564 (byte-compile-variable-set): Adjust callers.
13565 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13566 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13567 setting it as obsolete.
13568 * simple.el (minibuffer-completing-symbol):
13569 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13570 access as obsolete.
13571 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13572 obsolete yet.
13573 * international/quail.el (quail-mouse-choose-completion): Remove unused
13574 code referring to obsolete var.
13575 (quail-choose-completion-string): Remove.
13576 * server.el (server-clients-with, server-kill-buffer-query-function)
13577 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13578 * proced.el (proced-send-signal):
13579 * emacs-lisp/lisp.el (lisp-complete-symbol):
13580 Replace completion-annotate-function with completion-extra-properties.
13581
2462470b
SM
135822011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13583
fb5b2591
SM
13584 * simple.el (goto-line): Use read-number.
13585 (overriding-map-is-bound): Remove.
13586 (saved-overriding-map): Change default.
13587 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13588 Take the map as argument.
13589 (universal-argument, negative-argument, digit-argument): Use it.
13590 (restore-overriding-map): Adjust.
13591 (do-auto-fill): Use fill-forward-paragraph.
13592 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13593
fd6fa53f
SM
13594 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13595 (minibuffer-inactive-mode): New major mode.
13596 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13597 the *Messages* buffer" hack.
13598 (mouse-popup-menubar): Don't burp if the event is a normal key.
13599
2462470b
SM
13600 Miscellaneous tweaks.
13601 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13602 lexical scoping as in subr.el's dolist and dotimes.
13603 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13604 Silence compiler warning.
13605 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13606 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13607 * international/ccl.el (ccl-compile): Trivial simplification.
13608 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13609 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13610 `printflag' argument.
13611 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13612 Purecopy the whole obsolescence data.
13613
108bf785
LL
136142011-06-01 Leo Liu <sdl.web@gmail.com>
13615
13616 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13617 improve doc-string as suggested by Marco Pessotto
13618 <melmothx@gmail.com>.
13619 (rcirc-print): Fix last change.
13620
30a23501
SM
136212011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13622
13623 * minibuffer.el (complete-with-action): Return nil for the metadata and
13624 boundaries of non-functional tables.
13625 (completion-table-dynamic): Return nil for the metadata.
13626 (completion-table-with-terminator): Add default case, using
13627 complete-with-action.
13628 (completion--metadata): New function.
13629 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13630 to try and avoid pathological performance problems.
13631 (completion--embedded-envvar-table): Return `category' metadata.
13632
bcd54f83
LMI
136332011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13634
13635 * subr.el (process-alive-p): New tiny convenience function.
13636
e227544d
SM
136372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13638
13639 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13640 content but also its previous major mode.
13641
e8296fdc
HE
136422011-05-31 Helmut Eller <eller.helmut@gmail.com>
13643
4d61f28d 13644 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13645 *Backtrace* buffer when we exit with C-M-c.
13646
620c53a6
SM
136472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13648
13649 * minibuffer.el: Add metadata method to completion tables.
13650 (completion-category-overrides): New defcustom.
13651 (completion-metadata, completion--field-metadata)
13652 (completion-metadata-get, completion--styles)
13653 (completion--cycle-threshold): New functions.
13654 (completion-try-completion, completion-all-completions):
13655 Add `metadata' argument to choose completion-styles.
13656 (completion--do-completion): Use metadata to choose cycling.
13657 (completion-all-sorted-completions): Use metadata for sorting.
13658 Remove :completion-cycle-penalty which is not needed any more.
13659 (completion--try-word-completion): Add `metadata' argument.
13660 (minibuffer-completion-help): Check metadata for annotation function
13661 and sorting.
13662 (completion-file-name-table): Return `category' metadata.
13663 (minibuffer-completing-file-name): Make obsolete.
13664 * simple.el (minibuffer-completing-symbol): Make obsolete.
13665 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13666 completion-try-completion.
13667
1257e755
SM
136682011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13669
13670 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13671
3767e706
LL
136722011-05-30 Leo Liu <sdl.web@gmail.com>
13673
13674 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13675 (rcirc-print): Decode all incoming messages (bug#8744).
13676 (rcirc-decode-coding-system): Allow value nil for automatic coding
13677 system detection.
3767e706 13678
d1a5d56a
GM
136792011-06-01 Glenn Morris <rgm@gnu.org>
13680
13681 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13682
e8cbec34
CY
136832011-05-29 Chong Yidong <cyd@stupidchicken.com>
13684
13685 * image.el (image-animate-max-time): Allow nil and t values.
13686 Default to nil.
13687 (create-animated-image): Doc fix.
13688 (image-animate-start): Remove second arg; just use
13689 image-animate-max-time.
13690 (image-animate-timeout): Doc fix. Args changed.
13691
13692 * image-mode.el (image-toggle-display-image): Ensure that the
13693 image spec passed to the animate timer is the same object as in
58179cce 13694 the buffer's display property (Bug#6981).
e8cbec34
CY
13695 (image-transform-properties): Doc fix.
13696
13697 * image.el (image-animate-max-time): Default to nil.
13698
159daf87
MR
136992011-05-29 Martin Rudalics <rudalics@gmx.at>
13700
13701 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13702 entire buffer list (Bug#8184).
13703
d66c4c7c
CY
137042011-05-29 Chong Yidong <cyd@stupidchicken.com>
13705
13706 * image.el (imagemagick-types-inhibit)
13707 (imagemagick-register-types): Doc fix.
13708
80aec780
DD
137092011-05-29 Deniz Dogan <deniz@dogan.se>
13710
13711 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13712 default.
13713
1dd3c2d9
CY
137142011-05-29 Chong Yidong <cyd@stupidchicken.com>
13715
13716 * select.el: Don't perform clipboard-manager saving in hooks;
13717 leave the hooks empty.
13718
60e56523
LL
137192011-05-28 Leo Liu <sdl.web@gmail.com>
13720
13721 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13722 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13723 (occur-edit-mode): New major mode (Bug#8463).
13724 (occur-after-change-function): New function.
13725 (occur-engine): Give Occur tags a read-only property.
13726
2b1e1a22
KR
137272011-05-28 Kevin Ryde <user42@zip.com.au>
13728
13729 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13730
5d344e88
CY
137312011-05-28 Chong Yidong <cyd@stupidchicken.com>
13732
8e6ca83d
CY
13733 * bindings.el (help-echo): Make the initial non-indicator dash
13734 empty on graphical terminals (Bug#7295).
13735
5d344e88
CY
13736 * files.el (auto-mode-alist): Move config rule after the
13737 in-stripping one (Bug#8547).
13738
bfbbace7
CY
13739 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13740
fbeba6e2
CY
13741 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13742 setting (Bug#8740).
13743
60ed8c72
AA
137442011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13745
4ac619f0
AA
13746 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13747 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13748 (Bug#8539).
60ed8c72 13749
23db196e
CY
137502011-05-28 Chong Yidong <cyd@stupidchicken.com>
13751
13752 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13753
5012f24c
DK
137542011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13755
13756 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13757 (hs-hide-block-at-point, hs-find-block-beginning)
13758 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13759 (Bug#8279).
13760
6a639b16
GM
137612011-05-28 Glenn Morris <rgm@gnu.org>
13762
13763 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13764
d43eaf2c
CY
137652011-05-28 Chong Yidong <cyd@stupidchicken.com>
13766
5199bde1
CY
13767 * help-fns.el (describe-function-1): If the function is a derived
13768 major mode, print the parent mode.
13769
d43eaf2c
CY
13770 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13771 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13772
423428a8
SM
137732011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13774
0ff8e1ba 13775 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13776 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13777 * progmodes/etags.el (tags-completion-at-point-function):
13778 * info-look.el (info-lookup-completions-at-point): Mark as
13779 non-exclusive.
13780 (info-complete): Adjust accordingly.
13781
423428a8
SM
13782 * info-look.el: Convert to lexical-binding and completion-at-point.
13783 (info-lookup-completions-at-point): New function.
13784 (info-complete): Use it and completion-in-region.
13785
b74aa22b
DA
137862011-05-28 Drew Adams <drew.adams@oracle.com>
13787
13788 * isearch.el: Let M-e start with point at the first mismatched char.
13789 (isearch-fail-pos): New function.
13790 (isearch-edit-string): Use it.
13791
66e2e71d
DK
137922011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13793
13794 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13795
b1890b0f 137962011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13797
13798 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13799 traversal functions for avl-trees.
13800 (avl-tree--stack): New struct.
13801 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13802 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13803 (avl-tree--do-enter): Add optional `updatefun' arg.
13804 Change return value.
eb95d01d 13805 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13806 (avl-tree--do-delete): Add `test' and `nilflag' args.
13807 Change return value.
eb95d01d
TC
13808 (avl-tree-member): Add optional `nilflag'
13809 (avl-tree-member-p): New function.
13810 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13811 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13812 (avl-tree-stack-empty-p): New functions.
13813
3769ddcf
TC
13814 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13815 avl-tree--del-balance1 and make it work both ways.
13816 (avl-tree--del-balance2): Remove.
13817 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13818 make it work both ways.
13819 (avl-tree--enter-balance2): Remove.
13820 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13821 New macros.
13822 (avl-tree--mapc, avl-tree-map): Add direction argument.
13823
eb95d01d 138242011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13825
13826 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13827
a9f737ee
CY
138282011-05-27 Chong Yidong <cyd@stupidchicken.com>
13829
13830 * select.el: Support clipboard managers with built-in function
13831 x-clipboard-manager-save, via delete-frame-functions and
13832 kill-emacs-hook.
13833 (xselect-convert-to-targets): Add MULTIPLE target to list.
13834 (xselect-convert-to-save-targets): New function.
13835
c92a1e54
KH
138362011-05-27 Kenichi Handa <handa@m17n.org>
13837
13838 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13839 let-binding rfc2047-encode-encoded-words to nil.
13840
e145f188
GM
138412011-05-27 Glenn Morris <rgm@gnu.org>
13842
5ec8a862
GM
13843 * mail/emacsbug.el: Don't require url-util.
13844
4b29d9fb
GM
13845 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13846
e145f188
GM
13847 * files.el (set-auto-mode):
13848 Also respect mode: entries at the end of the file. (Bug#8586)
13849
7d15102b
GM
138502011-05-26 Glenn Morris <rgm@gnu.org>
13851
98f593b8
GM
13852 * files.el (hack-local-variables-prop-line, hack-local-variables):
13853 Downcase mode names, as seems to be traditional.
27b48e63 13854 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13855
7d15102b
GM
13856 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13857 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13858
51d5b4ec
JD
138592011-05-25 Julien Danjou <julien@danjou.info>
13860
13861 * textmodes/rst.el (rst-define-level-faces): Do not define face
13862 symbol if it is already defined.
13863
91513f63
VB
138642011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13865
13866 * play/5x5.el (5x5-new-game, 5x5-randomize):
13867 Reset 5x5-solver-output to nil when a new grid is cast.
13868 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13869 these debugging traces, as defmacro breaks the compiled code.
13870
4d90d6d0
DK
138712011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13872
13873 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13874
e1b90ef6
LL
138752011-05-24 Leo Liu <sdl.web@gmail.com>
13876
13877 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13878 (vc-bzr-sha1): Adapt.
13879
d8e4b68b 13880 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13881
13882 * bindings.el: Provide sha1 feature.
13883
db0406bb 138842011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13885
13886 * mail/sendmail.el: Require `rfc2047'.
13887 (mail-insert-from-field): Do not perform RFC2047 encoding.
13888 (mail-encode-header): New function.
13889 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13890 buffer to the return value of select-message-coding-system.
13891 Call mail-encode-header.
b8d747b9
KH
13892
13893 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13894
db0406bb 138952011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13896
4d90d6d0
DK
13897 * mail/supercite.el (sc-default-cite-frame):
13898 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13899
eb8a5e9b
GM
139002011-05-24 Glenn Morris <rgm@gnu.org>
13901
f8630703
GM
13902 * progmodes/python.el (brm-menu): Declare.
13903
8831bbed
GM
13904 * emulation/viper.el (viper-set-hooks): Declare.
13905
eb8a5e9b
GM
13906 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13907 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13908 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13909 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13910 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13911 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13912
a2a25d24
SM
139132011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13914
13915 Add an :exit-function for completion-at-point.
13916
13917 * minibuffer.el (completion--done): New fun.
13918 (completion--do-completion): Use it. New arg `expect-exact'.
13919 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13920 since completion--do-completion does it for us now.
13921 (minibuffer-force-complete): Use completion--done and
13922 completion--replace. Handle sole-completion case with more care.
13923 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13924 (completion-extra-properties): New var.
13925 (completion-annotate-function): Make obsolete.
13926 (minibuffer-completion-help): Adjust accordingly.
13927 Use completion-list-insert-choice-function.
13928 (completion-at-point, completion-help-at-point):
13929 Bind completion-extra-properties.
13930 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13931 * simple.el (completion-list-insert-choice-function): New var.
13932 (completion-setup-function): Preserve it.
13933 (choose-completion): Pay attention to it, shuffle the code a bit.
13934 (choose-completion-string): New arg `insert-function'.
13935
13936 * textmodes/bibtex.el: Convert to lexical binding.
13937 (bibtex-mode-map): Use completion-at-point.
13938 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13939 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13940 (bibtex-complete): Define as obsolete alias.
13941 (bibtex-complete-internal): Remove.
13942 (bibtex-format-entry): Remove unused sub-group in regexp.
13943 * shell.el (shell--command-completion-data)
13944 (shell-environment-variable-completion):
13945 * pcomplete.el (pcomplete-completions-at-point):
13946 * comint.el (comint--complete-file-name-data): Use :exit-function
13947 instead of completion-table-with-terminator so it also works for
13948 choose-completion.
13949
e44e373d
SM
139502011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13951
4f91a816
SM
13952 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13953
782fc819
SM
13954 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13955 (bug#8710).
13956
e44e373d
SM
13957 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13958
381987c3
KM
139592011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13960
13961 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13962 customization variable and implement: If non-nil, auto-fill will
13963 be inhibited while on topic's header line.
13964
b776bc70
VB
139652011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13966
13967 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13968 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13969 always have a solution in grid size = 5 cases.
13970 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13971 (5x5-solver-output, 5x5-log-buffer): New vars.
13972 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13973 Make these variables buffer local to achieve 5x5 multi-session-ness.
13974 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13975 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13976 (5x5-solve-suggest): New funs.
13977 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13978 randomize a grid so that we ensure that there is always a solution.
13979 (5x5-make-random-grid): Allow other movement than flipping.
13980
7de88b6e
KR
139812011-05-23 Kevin Ryde <user42@zip.com.au>
13982
13983 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13984 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13985 advice and passes PREDICATE.
13986
b1ef1257
SM
139872011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13988
bbca48fe
SM
13989 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13990 byte-compile-lambda if it's actually a lambda.
13991
b1ef1257
SM
13992 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13993 Fix function quoting. Use backquote better.
13994
92a9cc65
YS
139952011-05-22 Yuanle Song <sylecn@gmail.com>
13996
13997 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13998 matching (Bug#8516).
13999
f0fb8059
JA
140002011-01-22 Jari Aalto <jari.aalto@cante.net>
14001
14002 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14003 different face (Bug#8178).
14004
d5b44c93
CY
140052011-05-22 Chong Yidong <cyd@stupidchicken.com>
14006
14007 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14008 defface (Bug#8144).
14009
79106a44
SM
140102011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14011
9c848d8a
SM
14012 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14013 funcall as well (bug#8712). Warn when performing those conversions.
14014 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14015
79106a44
SM
14016 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14017
88dfa756
GM
140182011-05-22 Glenn Morris <rgm@gnu.org>
14019
14020 * files.el (hack-local-variables-prop-line): Small simplifications.
14021 (hack-local-variables, hack-local-variables-prop-line):
14022 If MODE-ONLY, return the mode, rather than just `t'.
14023
b7cf2c79
SM
140242011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14025
14026 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14027
3f1a8558
GM
140282011-05-21 Glenn Morris <rgm@gnu.org>
14029
7e4ccca3
GM
14030 * files.el (hack-local-variables-prop-line, hack-local-variables):
14031 If only interested in the mode, don't bother doing the other stuff.
14032
637d46ca
GM
14033 * image-mode.el (image-after-revert-hook):
14034 Redraw all frames on which the image is visible. (Bug#8567)
14035
973d955b
GM
14036 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14037
3f1a8558
GM
14038 * wid-edit.el (widget-checklist-match-inline):
14039 Fix 2011-04-19 change. (Bug#8649)
14040
96479927
SM
140412011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14042
1dcf791f
SM
14043 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14044 Also allow singlespace after single-letter capitals followed by a dot.
14045
96479927
SM
14046 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14047 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14048
35fd0881
N
140492011-05-20 Nix <nix@esperi.org.uk>
14050
14051 * files.el (basic-save-buffer-2):
14052 Fix handling of break-hardlink-on-save with non-existent files.
14053
82745640
DD
140542011-05-19 Deniz Dogan <deniz@dogan.se>
14055
14056 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14057 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14058
4a720484
GM
140592011-05-19 Glenn Morris <rgm@gnu.org>
14060
d1f21341
GM
14061 * progmodes/f90.el (f90-type-def-re):
14062 Handle "type, bind(c)". (Bug#8691)
14063
4a720484
GM
14064 * emacs-lisp/autoload.el (batch-update-autoloads):
14065 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14066
2fb0a219
MA
140672011-05-18 Michael Albinus <michael.albinus@gmx.de>
14068
14069 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14070 property for the correct connection in case of multihops.
14071
e565dd37
GM
140722011-05-18 Glenn Morris <rgm@gnu.org>
14073
c2571358 14074 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14075 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14076
e565dd37
GM
14077 Rationalize calendar handling of day and month abbrev-arrays.
14078 * calendar/calendar.el (calendar-customized-p): New function.
14079 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14080 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14081 Add :set function.
14082 (calendar-abbrev-length, calendar-day-abbrev-array)
14083 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14084 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14085 Elements may no longer be nil.
14086 (calendar-day-name, calendar-month-name):
14087 Update for changed nature of abbrev arrays.
14088 * calendar/diary-lib.el (diary-name-pattern):
14089 Update for changed nature of abbrev arrays.
14090 (diary-mark-entries-1): Update calendar-make-alist calls.
14091 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14092 * calendar/cal-html.el (cal-html-day-abbrev-array):
14093 Simply inherit from calendar-day-abbrev-array.
14094
1d99a745
SM
140952011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14096
14097 * progmodes/grep.el (grep-mode): Disable default
14098 compilation-directory-matcher setting (bug#8684).
14099
7c1d9aa0
MA
141002011-05-17 Michael Albinus <michael.albinus@gmx.de>
14101
14102 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14103 instead of "head" and "tail". There were problems with SunOS 5.9,
14104 and it performs better.
14105
3952e9d8
GM
141062011-05-17 Glenn Morris <rgm@gnu.org>
14107
2dd12e7f
GM
14108 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14109
e4157b9c
GM
14110 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14111 Replace obsolete function.
14112
8e249bbd
GM
14113 * shell.el (pcomplete-parse-arguments-function): Declare.
14114
3952e9d8
GM
14115 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14116 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14117 (appt-check): Doc fixes.
14118 (appt-disp-window-function, appt-delete-window-function):
14119 Remove needless special case in custom :type.
14120 (appt-display-count): Default to 0, not nil.
14121 (appt-check): Reset appt-display-count to 0, not nil.
14122
c71a0d48 141232011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14124
c71a0d48
GM
14125 * progmodes/python.el (python-font-lock-keywords):
14126 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14127
31d55be9
SM
141282011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14129
14130 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14131
3bfacb2f
KR
141322011-05-16 Kevin Ryde <user42@zip.com.au>
14133
14134 * info-look.el (makefile-automake-mode): New setups, looking in
14135 automake manual, then makefile-mode.
14136 (makefile-mode): Remove automake manual, have it just in
14137 makefile-automake-mode since there's various things different or
14138 not relevant to plain make.
14139 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14140 believe a hypothetical automake-mode would go to makefile-mode,
14141 not the other way around.
14142
c8e83751
CY
141432011-05-15 Chong Yidong <cyd@stupidchicken.com>
14144
5e9e35cd
CY
14145 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14146 hunk-end tags (Bug#8672).
14147
c8e83751
CY
14148 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14149 vc-annotate-show-diff-revision-at-line (Bug#8671).
14150
50b23e5a
GM
141512011-05-14 Glenn Morris <rgm@gnu.org>
14152
7210a739
GM
14153 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14154 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14155 (change-log-font-lock-keywords): Also handle multiple author lines
14156 with leading tabs. (Bug#8644)
7210a739 14157
4691905a
GM
14158 * calendar/appt.el (appt-check): Rename some local variables.
14159 Some simplification/reordering.
14160
50b23e5a
GM
14161 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14162 (feedmail-sendmail-f-doesnt-sell-me-out)
14163 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14164 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14165 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14166 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14167 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14168 (feedmail-binmail-gnulinuxish-template):
14169 Rename from feedmail-binmail-linuxish-template.
14170 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14171 Use insert-buffer-substring.
14172
215cda7c
BC
141732011-05-14 Bill Carpenter <bill@carpenter.org>
14174
14175 * mail/feedmail.el (feedmail-patch-level): Increase.
14176 (feedmail-debug): New custom group.
14177 (feedmail-confirm-outgoing-timeout)
14178 (feedmail-sendmail-f-doesnt-sell-me-out)
14179 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14180 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14181 (feedmail-sender-line, feedmail-from-line)
14182 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14183 (feedmail-spray-this-address)
215cda7c
BC
14184 (feedmail-spray-address-fiddle-plex-list)
14185 (feedmail-queue-use-send-time-for-date)
14186 (feedmail-queue-use-send-time-for-message-id)
14187 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14188 (feedmail-buffer-eating-function):
14189 Doc fixes.
14190 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14191 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14192 (feedmail-message-action-scroll-down): New functions.
14193 (feedmail-queue-directory, feedmail-queue-draft-directory):
14194 Use expand-file-name.
14195 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14196 Remove C-v help entry.
14197 (feedmail-queue-buffer-file-name): New variable.
14198 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14199 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14200 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14201 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14202 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14203 (feedmail-message-action-toggle-spray)
14204 (feedmail-run-the-queue-no-prompts)
14205 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14206 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14207 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14208 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14209 (feedmail-envelope-deducer, feedmail-fiddle-from)
14210 (feedmail-fiddle-sender, feedmail-default-date-generator)
14211 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14212 (feedmail-fiddle-spray-address)
14213 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14214 (feedmail-fiddle-list-of-fiddle-plexes)
14215 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14216 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14217 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14218 Change default. Doc fix.
14219 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14220 (feedmail-binmail-linuxish-template): New constant.
14221 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14222 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14223 (feedmail-send-it): Add debug call.
14224 Use feedmail-queue-buffer-file-name, and
14225 feedmail-send-it-immediately-wrapper.
14226 (feedmail-message-action-send): Add debug call.
14227 Use feedmail-send-it-immediately-wrapper.
14228 (feedmail-queue-express-to-queue): Add debug call.
14229 Run feedmail-queue-express-hook.
14230 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14231 (feedmail-message-action-help-blat):
14232 Rename from feedmail-queue-send-edit-prompt-help-first.
14233 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14234 Check line-endings. Handle errors better.
14235 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14236 Doc fix. Add debug call.
14237 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14238 Use feedmail-queue-send-edit-prompt-inner.
14239 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14240 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14241 from feedmail-queue-send-edit-prompt.
14242 (feedmail-queue-send-edit-prompt-help)
14243 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14244 (feedmail-tidy-up-slug): Add debug call.
14245 Respect feedmail-queue-slug-suspect-regexp.
14246 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14247 (feedmail-dump-message-to-queue): Add debug call.
14248 Expand queue-directory.
14249 (feedmail-dump-message-to-queue): Change message slightly.
14250 Use feedmail-say-chatter.
14251 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14252 (feedmail-send-it-immediately-wrapper): New function.
14253 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14254 Insert empty string rather than newline. Handle full-frame case.
14255 Use catch/throw. Use feedmail-say-chatter.
14256 (feedmail-fiddle-from): Try mail-host-address.
14257 (feedmail-default-message-id-generator): Doc fix.
14258 Bind system-time-locale. Handle missing end.
14259 (feedmail-fiddle-x-mailer): Add debug call.
14260 Handle feedmail-x-mailer-line being nil.
14261 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14262 Add debug call. Use buffer-substring-no-properties.
14263 (feedmail-say-debug, feedmail-say-chatter): New functions.
14264 (feedmail-find-eoh): Give an explicit error.
14265
42c7e61e
UJ
142662011-05-13 Ulf Jasper <ulf.jasper@web.de>
14267
c2571358 14268 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14269 family from helvetica to sans.
c2571358 14270 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14271 etc/images/newsticker.
14272
c2571358 14273 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14274 family from helvetica to sans.
14275
14276 * net/newst-plainview.el (newsticker-new-item-face)
14277 (newsticker-old-item-face, newsticker-immortal-item-face)
14278 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14279 (newsticker-statistics-face): Change default family from
42c7e61e 14280 helvetica to sans.
c2571358 14281 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14282 etc/images/newsticker.
14283
5d3385a0
JB
14284 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14285 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14286 auto-marking.
14287
8497a297
DV
142882011-05-13 Didier Verna <didier@xemacs.org>
14289
14290 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14291 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14292 TODO entries.
8497a297
DV
14293 (lisp-lambda-list-keyword-parameter-indentation)
14294 (lisp-lambda-list-keyword-parameter-alignment)
14295 (lisp-lambda-list-keyword-alignment): New customizable user options.
14296 (lisp-indent-defun-method): Improve docstring.
14297 (extended-loop-p): Fix comment.
14298 (lisp-indent-lambda-list-keywords-regexp): New variable.
14299 (lisp-indent-lambda-list): New function.
14300 (lisp-indent-259): Use it.
14301 (lisp-indent-defmethod): Support for more than one
14302 method qualifier and properly indent methods lambda-lists.
14303 (defgeneric): Provide a missing common-lisp-indent-function property.
14304
f278f87f
SM
143052011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14306
14307 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14308 bounds for the empty string (bug#8667).
14309
5233edd7
GM
143102011-05-13 Glenn Morris <rgm@gnu.org>
14311
5237a44f
GM
14312 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14313
8340026c 14314 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14315 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14316
5233edd7 14317 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14318 (appt-time-msg-list): Doc fix.
a5464014 14319 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14320
92d10796
AS
143212011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14322
14323 * progmodes/ld-script.el (ld-script-keywords)
14324 (ld-script-builtins): Update keywords list.
14325
914a0ae1
SM
143262011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14327
c89be45f
SM
14328 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14329
914a0ae1
SM
14330 * shell.el (shell-completion-vars): New function.
14331 (shell-mode):
14332 * simple.el (read-shell-command): Use it.
14333 (blink-matching-open): No need for " [...]" in minibuffer-message.
14334
98dc3df3
GM
143352011-05-12 Glenn Morris <rgm@gnu.org>
14336
14337 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14338 (appt-check): Simplify.
14339
d2fc7e3d 143402011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14341
4d61f28d 14342 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14343 literal "/dev/null".
14344
d2fc7e3d 143452011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14346
14347 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14348 Fix typo.
14349
d2fc7e3d 143502011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14351
3f254caa
SM
14352 * progmodes/which-func.el (which-function):
14353 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14354 which might not be defined (Bug#8260).
14355
d45885f7
GM
143562011-05-12 Glenn Morris <rgm@gnu.org>
14357
14358 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14359 Let byte-compile-initial-macro-environment always take precedence.
14360
488086f4
SM
143612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14362
14363 * net/rcirc.el: Add support for SSL/TLS connections.
14364 (rcirc-server-alist): New field `encryption'.
14365 (rcirc): Check `encryption' settings.
14366 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14367 Merge make-local-variable into `set'.
14368 (rcirc--connection-open-p): New function.
14369 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14370 the process is not a network process (e.g. running gnutls-cli).
14371 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14372 Make rcirc-(en|de)code-coding-system local here.
14373 (rcirc-mode): Merge make-local-variable into `set'.
14374 (rcirc-parent-buffer): Make permanent buffer-local.
14375 (rcirc-multiline-minor-mode): Don't do it here.
14376 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14377 there's no server buffer.
14378
7d3b9d44
GM
143792011-05-11 Glenn Morris <rgm@gnu.org>
14380
f64049c6
GM
14381 * newcomment.el (comment-kill): Prefix "unused" local.
14382
93c9df73
GM
14383 * term/w32console.el (get-screen-color): Declare.
14384
7d3b9d44
GM
14385 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14386 Handle symbol elements of byte-compile-initial-macro-environment.
14387
9e2dd53f
LL
143882011-05-10 Leo Liu <sdl.web@gmail.com>
14389
488086f4
SM
14390 * bookmark.el (bookmark-bmenu-mode-map):
14391 Bind bookmark-bmenu-search to `/'.
8b340240 14392
9e2dd53f 14393 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14394 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14395 (Footnote-unicode): New function.
14396 (footnote-style-alist): Add unicode style to the list.
14397 (footnote-style): Doc fix.
9e2dd53f 14398
79b70037
GM
143992011-05-10 Jim Meyering <meyering@redhat.com>
14400
14401 Fix doubled-word typos.
14402 * international/quail.el (quail-insert-kbd-layout): and and -> and
14403 * kermit.el: and and -> and
14404 * net/ldap.el (ldap-search-internal): to to -> to
14405 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14406 * progmodes/js.el (js-mode): and and -> and
14407 * textmodes/artist.el (artist-move-to-xy): at at -> at
14408 (artist-draw-region-trim-line-endings): if if -> if
14409 And Safetyc -> Safety.
14410 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14411
b8f82dc1 144122011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14413 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14414
14415 * files.el (hack-one-local-variable-eval-safep):
14416 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14417
4f99f44b
GM
144182011-05-10 Glenn Morris <rgm@gnu.org>
14419
14420 * calendar/diary-lib.el (diary-list-entries-hook)
14421 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14422 (diary-nongregorian-marking-hook, diary-list-entries)
14423 (diary-include-other-diary-files, diary-mark-entries)
14424 (diary-mark-included-diary-files): Doc fixes.
14425
84f29e6b
JB
144262011-05-09 Juanma Barranquero <lekktu@gmail.com>
14427
14428 * misc.el: Require tabulated-list.el during compilation.
14429
9bedd73a
CY
144302011-05-09 Chong Yidong <cyd@stupidchicken.com>
14431
488086f4
SM
14432 * progmodes/compile.el (compilation-start):
14433 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14434 (compilation-filter-hook): Doc fix.
14435
797c735c
DD
144362011-05-09 Deniz Dogan <deniz@dogan.se>
14437
14438 * wdired.el: Remove outdated installation comment. Fix usage
14439 comment.
14440
5f4b1dfe
JB
144412011-05-09 Juanma Barranquero <lekktu@gmail.com>
14442
14443 * misc.el: Implement new command `list-dynamic-libraries'.
14444 (list-dynamic-libraries--loaded-only-p): New variable.
14445 (list-dynamic-libraries--refresh): New function.
14446 (list-dynamic-libraries): New command.
14447
4c44026c
CY
144482011-05-09 Chong Yidong <cyd@stupidchicken.com>
14449
488086f4
SM
14450 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14451 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14452 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14453 higher priority to avoid clobbering by gnu.
14454
027f966d
CY
144552011-05-08 Chong Yidong <cyd@stupidchicken.com>
14456
14457 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14458 if the face has existing theme settings (Bug#8454).
14459
085f5d7d
CY
144602011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14461
488086f4
SM
14462 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14463 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14464
2a86a00c
RS
14465 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14466 special file names `.' and `..' (Bug#8259).
14467
d9c54a06
CY
144682011-05-08 Chong Yidong <cyd@stupidchicken.com>
14469
488086f4
SM
14470 * progmodes/grep.el (grep-mode-font-lock-keywords):
14471 Remove buffer-changing entries.
d9c54a06
CY
14472 (grep-filter): New function.
14473 (grep-mode): Add it to compilation-filter-hook.
14474
14475 * progmodes/compile.el (compilation-filter-hook)
14476 (compilation-filter-start): New defvars.
14477 (compilation-filter): Call compilation-filter-hook prior to
14478 updating the process mark.
14479
c4662635
SM
144802011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14481
14482 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14483
b0512a1d
EZ
144842011-05-07 Eli Zaretskii <eliz@gnu.org>
14485
605c9376
EZ
14486 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14487 mailclient-send-it even if window-system is nil. (Bug#8595)
14488
c4662635
SM
14489 * term/w32console.el (terminal-init-w32console):
14490 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14491 background-mode. (Bug#8597)
14492
d1dc2cc2
SM
144932011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14496 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14497 New functions.
14498 (defgeneric, eieio--defmethod): Use them.
14499 (eieio-defgeneric): Remove.
14500 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14501
915d1300
GM
145022011-05-07 Glenn Morris <rgm@gnu.org>
14503
a3961c3e
GM
14504 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14505 Use let rather than let*.
14506 (timeclock-find-discrep): Remove unused local.
14507
314347b9
GM
14508 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14509
915d1300
GM
14510 * calendar/appt.el (appt-time-msg-list): Doc fix.
14511
275b59b0
NF
145122011-05-06 Noah Friedman <friedman@splode.com>
14513
14514 * apropos.el (apropos-print-doc): Only use
14515 emacs-lisp-docstring-fill-column when it is bound to an integer,
14516 per that variable's documentation.
14517
6c19f744
SM
145182011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14519
14520 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14521 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14522
60f884b2
GM
145232011-05-06 Glenn Morris <rgm@gnu.org>
14524
5006e634
GM
14525 * calendar/appt.el (appt-message-warning-time): Doc fix.
14526 (appt-warning-time-regexp): New option.
14527 (appt-make-list): Respect appt-message-warning-time.
14528
548d0a63
GM
14529 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14530 New options.
14531 (diary-add-to-list): Strip comments from the displayed string.
14532 (diary-mode): Set comment-start and comment-end.
14533
60f884b2
GM
14534 * vc/diff-mode.el (smerge-refine-subst): Declare.
14535 (diff-refine-hunk): Don't require smerge-mode when compiling.
14536
989681bb
JB
145372011-05-06 Juanma Barranquero <lekktu@gmail.com>
14538
14539 * simple.el (list-processes): Return nil as the docstring says.
14540
a6bc05e1
MA
145412011-05-05 Michael Albinus <michael.albinus@gmx.de>
14542
14543 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14544 to "".
14545 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14546 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14547 determining of binary transfer. (Bug#7383)
14548
23c22e9a
MA
145492011-05-05 Michael Albinus <michael.albinus@gmx.de>
14550
c4662635
SM
14551 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14552 Fix port computation bug. (Bug#8618)
23c22e9a 14553
0bff894f
GM
145542011-05-05 Glenn Morris <rgm@gnu.org>
14555
b8296902
GM
14556 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14557
1f522ce8
GM
14558 * simple.el (shell-dynamic-complete-functions)
14559 (comint-dynamic-complete-functions): Declare.
14560
cf5bee67
GM
14561 * net/network-stream.el (gnutls-negotiate):
14562 * simple.el (tabulated-list-print): Fix declarations.
14563
14564 * progmodes/gud.el (syntax-symbol, syntax-point):
14565 Remove unnecessary and incorrect declarations.
14566
0bff894f
GM
14567 * emacs-lisp/check-declare.el (check-declare-scan):
14568 Handle byte-compile-initial-macro-environment in bytecomp.el
14569
9869b3ae
SM
145702011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14571
14572 Fix earlier half-done eieio-defmethod change (bug#8338).
14573 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14574 Streamline and change calling convention.
14575 (defmethod): Adjust accordingly and simplify.
14576 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14577 new eieio--defmethod.
14578 (slot-boundp): Minor CSE simplification.
14579
9c1d5ac5
MZ
145802011-05-05 Milan Zamazal <pdm@zamazal.org>
14581
14582 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14583 (glasses-make-readable): Use glasses-separate-capital-groups.
14584
455c834e
JB
145852011-05-05 Juanma Barranquero <lekktu@gmail.com>
14586
14587 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14588 (warning-series): Doc fix.
14589 (display-warning): Don't try to create the buffer if we just found it.
14590
9ed7c8cb
CY
145912011-05-04 Chong Yidong <cyd@stupidchicken.com>
14592
14593 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14594 (autoload-find-generated-file): New function.
14595 (generate-file-autoloads): Bind generated-autoload-file to
14596 buffer-file-name.
9869b3ae
SM
14597 (update-file-autoloads, update-directory-autoloads):
14598 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14599 output file (Bug#7989).
14600 (batch-update-autoloads): Doc fix.
14601
0898ca10
JB
146022011-05-04 Juanma Barranquero <lekktu@gmail.com>
14603
14604 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14605
31dfb76c
GM
146062011-05-04 Glenn Morris <rgm@gnu.org>
14607
f330b642
GM
14608 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14609 function, so it follows changes in calendar-date-style.
14610 (diary-fancy-date-matcher): New function.
14611 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14612 (diary-fancy-font-lock-fontify-region-function):
14613 Use diary-fancy-date-pattern as a function.
14614
31dfb76c
GM
14615 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14616 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14617
48e79d6a
TZ
146182011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14619
14620 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14621 instead of positional arguments. Allow :keylist and :crlfiles
14622 arguments.
14623 (open-gnutls-stream): Call it.
14624
14625 * net/network-stream.el (network-stream-open-starttls): Adjust to
14626 call `gnutls-negotiate' with :process and :hostname arguments.
14627
dd5a5ee0
SM
146282011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14629
ef80fc09
SM
14630 * minibuffer.el (completion--message): New function.
14631 (completion--do-completion, minibuffer-complete)
14632 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14633 (completion--do-completion): Don't ignore completion-auto-help when in
14634 icomplete-mode.
14635
dd5a5ee0
SM
14636 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14637 internal encoding (e.g. tibetan zero is not whitespace).
14638 (global-whitespace-mode): Prefer save-current-buffer.
14639 (whitespace-trailing-regexp): Remove useless save-match-data.
14640 (whitespace-empty-at-bob-regexp): Minor simplification.
14641
b7d22a83
CY
146422011-05-03 Chong Yidong <cyd@stupidchicken.com>
14643
14644 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14645
5192af46
AM
146462011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14647
14648 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14649 Use `concat' to create string for insertion.
5192af46 14650
5767d190
SM
146512011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14654 Avoid open-line which runs post-self-insert-hook.
14655 (bibtex-fill-entry): Remove unused `end' var.
14656
bf242939
AM
146572011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14658
5767d190
SM
14659 * textmodes/ispell.el (ispell-add-per-file-word-list):
14660 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14661
25666126
LL
146622011-05-03 Leo Liu <sdl.web@gmail.com>
14663
14664 * isearch.el (isearch-yank-pop): New command.
5767d190 14665 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14666 (isearch-forward): Mention it.
14667
52d3c2d0
SM
146682011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14669
1bcace58
SM
14670 * simple.el (minibuffer-complete-shell-command): Remove.
14671 (minibuffer-local-shell-command-map): Use completion-at-point.
14672 (read-shell-command): Setup completion vars here instead.
14673 (read-expression-map): Bind TAB to symbol completion.
14674
52d3c2d0
SM
14675 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14676 error directly rather via storing it into `results'.
14677
35813471
LL
146782011-05-02 Leo Liu <sdl.web@gmail.com>
14679
14680 * vc/diff.el: Fix description.
14681
e793a940
LMI
146822011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14683
14684 * server.el (server-eval-at): New function.
14685
8de66e05
LMI
146862011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14687
14688 * net/network-stream.el (open-network-stream): Take a :nowait
14689 parameter and pass it on to `make-network-process'.
14690 (network-stream-open-plain): Ditto.
14691
dcb79f20
AS
146922011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14693
14694 * faces.el (face-spec-set-match-display): Don't match toolkit
14695 options on terminal frames.
14696
14a7fbd8
SM
146972011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14698
7eabc1be
SM
14699 * progmodes/pascal.el: Use lexical binding.
14700 (pascal-mode-map): Remove author preferences.
14701
14a7fbd8
SM
14702 * pcomplete.el (pcomplete-std-complete): Don't abuse
14703 completion-at-point.
14704
50f84510
JB
147052011-04-28 Juanma Barranquero <lekktu@gmail.com>
14706
6e087a44
JB
14707 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14708 removing code that has been dead since 1991 or so.
14709
50f84510
JB
14710 * startup.el (command-line): When warning about "_emacs", use a
14711 delayed warning to allow the user to filter it out.
14712
0ba690bd
DD
147132011-04-28 Deniz Dogan <deniz@dogan.se>
14714
14715 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14716 user has not joined.
14717
08abfaad
SM
147182011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14721 aren't any completions at point.
14722
638f053a
JB
147232011-04-28 Juanma Barranquero <lekktu@gmail.com>
14724
14725 * subr.el (display-delayed-warnings): New function.
14726 (delayed-warnings-hook): New variable.
14727
8fff8daa
SM
147282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14729
08abfaad
SM
14730 * minibuffer.el (completion-at-point, completion-help-at-point):
14731 Don't presume that a given completion-at-point-function will always
14732 use the same calling convention.
14733
8fff8daa
SM
14734 * pcomplete.el (pcomplete-completions-at-point):
14735 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14736 pcomplete-seen is non-nil.
14737 (pcomplete-comint-setup): Also recognize the new comint/shell
14738 completion functions.
14739 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14740 pcomplete-seen is non-nil.
14741
841a1577 147422011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14743
841a1577 14744 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14745 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14746 the first character in the entry. This allows for code to add its
211ec907
UJ
14747 own uid to the entry.
14748 (icalendar--convert-float-to-ical): Add export of
14749 `diary-float'-entries save for those with the optional DAY
14750 argument.
14751
2a782793
DC
147522011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14753
14754 * subr.el (shell-quote-argument): Use alternate escaping strategy
14755 when we spot a variable reference in a string.
14756
0438ce91
DC
147572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14758
14759 * cus-start.el (all): Define customization for debug-on-event.
14760
841a1577 147612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14762
14763 * subr.el (shell-quote-argument): Escape correctly under Windows.
14764
d090ed6c
SM
147652011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14766
14767 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14768
bfd31217
MA
147692011-04-25 Michael Albinus <michael.albinus@gmx.de>
14770
d090ed6c
SM
14771 * net/tramp.el (tramp-process-actions): Add POS argument.
14772 Delete region between POS and (pos).
bfd31217 14773
d090ed6c
SM
14774 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14775 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14776 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14777
14778 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14779 position in `tramp-process-actions' call.
14780
14781 * net/trampver.el: Update release number.
14782
e92f3bd3
SM
147832011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14784
850256b5
SM
14785 * custom.el (defcustom): Obey lexical-binding.
14786
e92f3bd3
SM
14787 Fix octave-inf completion problems reported by Alexander Klimov.
14788 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14789 Inherit from octave-mode-syntax-table.
14790 (inferior-octave-mode): Set info-lookup-mode.
14791 (inferior-octave-completion-at-point): New function.
14792 (inferior-octave-complete): Use it and completion-in-region.
14793 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14794 comint-filename-completion.
14795 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14796 symbol elements which shouldn't be word elements.
14797 (octave-font-lock-keywords, octave-beginning-of-defun)
14798 (octave-function-header-regexp): Adjust regexps accordingly.
14799 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14800
cd22b309
JB
148012011-04-25 Juanma Barranquero <lekktu@gmail.com>
14802
14803 * net/gnutls.el (gnutls-errorp): Declare before first use.
14804
8b492194
TZ
148052011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14806
14807 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14808 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14809 default trustfile exists before going to use it. Add missing
5a5fa834 14810 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14811 Reported by Claudio Bley <claudio.bley@gmail.com>.
14812 (open-gnutls-stream): Add usage example.
14813
14814 * net/network-stream.el (network-stream-open-starttls): Give host
14815 parameter to `gnutls-negotiate'.
14816 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14817 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14818
841a1577 148192011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14820
cd22b309
JB
14821 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14822 Use correct match group (bug#8438).
05842630 14823
3ba7869c
CY
148242011-04-24 Chong Yidong <cyd@stupidchicken.com>
14825
512e3ae1
CY
14826 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14827 (package-menu--generate): New arg specifying packages to show.
14828 (package-menu-refresh, package-menu-execute, list-packages):
14829 Callers changed.
14830 (package-show-package-list): New function, replacing deleted
14831 package--list-packages (renamed because it is non-internal).
14832
14833 * finder.el (finder-list-matches): Use package-show-package-list
14834 instead of deleted package--list-packages.
14835
e92f3bd3
SM
14836 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14837 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14838 (vc-annotate-mode-map): Bind it to RET.
14839
7031be6d
UR
148402011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14841
14842 * progmodes/etags.el (next-file): Don't use set-buffer to change
14843 buffers (Bug#8478).
14844
4ef177aa
CY
148452011-04-24 Chong Yidong <cyd@stupidchicken.com>
14846
c8d173eb
CY
14847 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14848
4ef177aa
CY
14849 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14850 (apropos-accumulator): Doc fix.
14851 (apropos-function, apropos-macro, apropos-command)
14852 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14853 (apropos-plist): Add face property.
14854 (apropos-symbols-internal): Fix indentation.
14855 (apropos-print): Simplify help, and recognize apropos-multi-type.
14856 (apropos-print-doc): Use button-type-get to extract the button's
14857 face property. Fill docstring (Bug#8352).
14858
4ffd0d6b 148592011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14860
14861 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14862
c6c32125 14863 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14864 (mpuz-mode-map): Use mapc.
c6c32125
JB
14865 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14866 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14867 Fix typos in docstrings.
14868
58d468b4
JB
14869 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14870 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14871
6470c3c6
JB
14872 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14873
4ffd0d6b 148742011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14875
14876 * minibuffer.el (completion--do-completion): Avoid the "Next char
14877 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14878
3ad8bad0
CY
14879 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14880 mouse-2 into unread-command-events, it is interpreted correctly.
14881
71d73c9c 14882 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14883 (image-toggle-display): Doc fix.
71d73c9c 14884
841a1577 148852011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14886
4ffd0d6b
GM
14887 * textmodes/page.el (what-page): Use line-number-at-pos to
14888 calculate line number (Bug#6825).
6e1dbaa9 14889
c2fb1b60
JB
148902011-04-22 Juanma Barranquero <lekktu@gmail.com>
14891
14892 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14893 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14894 Pass argument NO-DEFAULT to `find-tag-interactive'.
14895
e02f48d7
JB
148962011-04-22 Juanma Barranquero <lekktu@gmail.com>
14897
14898 Lexical-binding cleanup.
14899
14900 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14901 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14902 * progmodes/ada-prj.el (ada-prj-initialize-values)
14903 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14904 (ada-prj-show-value):
14905 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14906 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14907 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14908 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14909 * progmodes/bug-reference.el (bug-reference-push-button):
14910 * progmodes/fortran.el (fortran-line-length):
14911 * progmodes/glasses.el (glasses-change):
14912 * progmodes/octave-mod.el (octave-fill-paragraph):
14913 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14914 (python-pdbtrack-grub-for-buffer, python-sentinel):
14915 * progmodes/sql.el (sql-save-connection):
14916 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14917 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14918 Mark unused parameters.
14919
14920 * progmodes/compile.el (compilation--flush-directory-cache)
14921 (compilation--flush-parse, compile-internal): Mark unused parameters.
14922 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14923 (compilation-next-error-function): Remove unused variable `timestamp'.
14924
14925 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14926 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14927
14928 * progmodes/dcl-mode.el (dcl-end-of-command):
14929 Remove unused variable `start'.
14930 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14931 (dcl-option-value-basic, dcl-option-value-offset)
14932 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14933 Mark unused parameters.
14934 (dcl-save-local-variable): Remove unused variable `val'.
14935 (mode): Declare.
14936
14937 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14938 Mark unused parameters.
14939 (delphi-ignore-changes): Move before first use.
14940 (delphi-charset-token-at): Remove unused variable `start'.
14941 (delphi-else-start): Remove unused variable `if-count'.
14942 (delphi-comment-block-start, delphi-comment-block-end):
14943 Remove unused variable `kind'.
14944 (delphi-indent-line): Remove unused variable `new-point'.
14945
14946 * progmodes/ebrowse.el (ebrowse-files-list)
14947 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14948 Mark unused parameters. Don't quote `lambda'.
14949 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14950 Don't quote `lambda'.
14951 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14952 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14953 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14954 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14955 Use `ignore-errors'.
14956 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14957 (ebrowse-view/find-file-and-search-pattern)
14958 (ebrowse-view/find-member-declaration/definition):
14959 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14960 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14961 Rename parameter PREFIX-ARG to PREFIX.
14962 (ebrowse-tags-read-name): Remove unused variables `start' and
14963 `member-info'.
14964 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14965 to `tags-file'.
14966
14967 * progmodes/etags.el (local-find-tag-hook): Declare.
14968 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14969 Mark unused parameters.
14970
14971 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14972 (executable-interpret): Mark unused parameter.
14973
14974 * progmodes/flymake.el (flymake-process-sentinel)
14975 (flymake-after-change-function)
14976 (flymake-create-temp-with-folder-structure)
14977 (flymake-get-include-dirs-dot): Mark unused parameters.
14978 (flymake-safe-delete-directory): Remove unused variable `err'.
14979
14980 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14981 (speedbar-timer-fn, speedbar-line-text)
14982 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14983 (speedbar-center-buffer-smartly): Declare functions.
14984 (gdb-find-watch-expression): Remove unused variable `array'.
14985 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14986 (gdb-starting): Mark unused parameters.
14987 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14988 (gdb-table-string): Remove unused variable `res'.
14989 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14990 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14991 (gdb-display-buffer): Remove unused variable `cur-size'.
14992
14993 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14994 allow lexical-binding compilation.
14995 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14996 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14997 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14998 Mark unused parameters.
14999 (gud-gdb-marker-filter): Remove unused variable `match'.
15000 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15001 lambda expressions and funcall them, instead of using `fset'.
15002
15003 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15004 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15005
15006 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15007 variable `header-beg'; use `let'.
15008
15009 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15010 `restart', `last-sexp' and `at-do'.
15011
15012 * progmodes/js.el (js--debug): Mark unused parameter.
15013 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15014 (js--splice-into-items): Remove unused variable `item'.
15015 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15016
15017 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15018 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15019 (makefile-complete): Remove unused variable `try'.
15020 (makefile-fill-paragraph, makefile-match-function-end):
15021 Mark unused parameters.
15022
15023 * progmodes/octave-inf.el (inferior-octave-complete):
15024 Remove unused variable `proc'.
15025 (inferior-octave-output-digest): Mark unused parameter.
15026
15027 * progmodes/perl-mode.el (perl-calculate-indent):
15028 Remove unused variable `err'.
15029
15030 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15031 (prolog-indent-line): Mark unused parameters.
15032 (prolog-indent-line): Remove unused variable `beg'.
15033
15034 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15035 (reporter-dont-compact-list): Declare.
15036
15037 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15038 Remove unused variable `char'.
15039 (sh-debug): Mark unused parameter.
15040 (sh-get-indent-info): Remove unused variable `start'.
15041 (sh-calculate-indent): Remove unused variable `var'.
15042
15043 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15044 (simula-electric-keyword): Remove unused variable `null'.
15045 (simula-search-backward, simula-search-forward): Remove unused
15046 variables `begin' and `end'.
15047
15048 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15049 Remove unused variable `pos'.
15050 (vera-electric-tab, vera-comment-uncomment-region):
15051 Mark unused parameters.
15052 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15053
7ede3b65
CY
150542011-04-22 Chong Yidong <cyd@stupidchicken.com>
15055
15056 * emacs-lisp/package.el (package--builtins, package-alist)
15057 (package-load-descriptor, package-built-in-p, package-activate)
15058 (define-package, package-installed-p)
15059 (package-compute-transaction, package-buffer-info)
15060 (package--push): Doc fix. Distinguish more clearly between
15061 version strings and version lists.
15062
121656e9
JB
150632011-04-21 Juanma Barranquero <lekktu@gmail.com>
15064
15065 Lexical-binding cleanup.
15066
15067 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15068 (5x5-make-mutate-best):
15069 * play/fortune.el (fortune-in-buffer):
15070 * play/gomoku.el (gomoku-init-display):
15071 * play/solitaire.el (solitaire, solitaire-do-check):
15072 * play/tetris.el (tetris-default-update-speed-function):
15073 Mark unused parameters.
15074
15075 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15076 (bubbles--shift): Remove unused variable `char-org'.
15077 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15078 (bubbles--show-images): Remove unused variable `char'.
15079
15080 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15081 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15082 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15083 (decipher-analyze-buffer): Use ?\s.
15084 (decipher-make-checkpoint): Remove unused variable `mapping'.
15085
15086 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15087
15088 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15089 Remove unused variable `result'; use `let'.
15090
15091 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15092 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15093 (gametree-children-shown-p, gametree-compute-reduced-score):
15094 Use `ignore-errors'.
15095
15096 * play/handwrite.el (ps-lpr-switches): Declare.
15097 (handwrite): Remove unused variables `pmin' and `lastp'.
15098
15099 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15100
15101 * play/landmark.el (landmark-init-display)
15102 (landmark-update-naught-weights): Mark unused parameters.
15103 (landmark-y): Remove unused variable `noise'. Simplify.
15104 (landmark-human-plays): Remove unused variable `score'.
15105
15106 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15107 (mpuz-try-proposal): Remove unused variable `game'.
15108
15109 * play/zone.el (life-patterns): Declare.
15110
80f499c7
JB
151112011-04-20 Juanma Barranquero <lekktu@gmail.com>
15112
15113 * vc/vc.el (ediff-vc-internal): Declare function.
15114
024ff170
SM
151152011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15116
c0a193ea
SM
15117 * shell.el: Use lexical-binding and std completion UI.
15118 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15119 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15120 comint-preoutput-filter-functions rather than on
15121 comint-output-filter-functions.
15122 (shell-command-completion, shell--command-completion-data)
15123 (shell-filename-completion, shell-environment-variable-completion)
15124 (shell-c-a-p-replace-by-expanded-directory): New functions.
15125 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15126 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15127 (shell-dynamic-complete-environment-variable): Use them.
15128 (shell-dynamic-complete-as-environment-variable)
15129 (shell-dynamic-complete-as-command): Remove.
15130 (shell-match-partial-variable): Match past point.
15131 * comint.el: Clean up use of completion-at-point-functions.
15132 (comint-completion-at-point): New function.
15133 (comint-mode): Use it completion-at-point-functions.
15134 (comint-dynamic-complete): Make it obsolete.
15135 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15136 (comint-c-a-p-replace-by-expanded-history): New function.
15137 (comint-dynamic-complete-functions)
15138 (comint-replace-by-expanded-history): Use it.
15139 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15140 termination strings. Try harder to avoid second try-completion.
15141 (completion-in-region-mode-map): Disable bindings that don't work yet.
15142
2dbaa080
SM
15143 * comint.el: Use lexical-binding. Require CL.
15144 (comint-dynamic-complete-functions): Use comint-filename-completion.
15145 (comint-completion-addsuffix): Tweak custom type.
15146 (comint-filename-completion, comint--common-suffix)
15147 (comint--common-quoted-suffix, comint--table-subvert)
15148 (comint--complete-file-name-data): New functions.
15149 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15150 (comint-dynamic-list-filename-completions): Use them.
15151 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15152
2dbaa080
SM
15153 * minibuffer.el (completion-in-region-mode):
15154 Keep completion-in-region-mode--predicate global.
15155 (completion-in-region--postch):
15156 Assume completion-in-region-mode--predicate is not null.
15157
c79a6f38
SM
15158 * progmodes/flymake.el (flymake-start-syntax-check-process):
15159 Obey `dir'. Simplify.
15160
024ff170
SM
15161 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15162 we're in VC after all.
15163
1c6c854e
CS
151642011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15165
15166 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15167 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15168 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15169
bed7f140
SM
151702011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15171
332e62ab
SM
15172 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15173 add sanity check.
15174
bed7f140
SM
15175 * obsolete/erc-hecomplete.el: Make obsolete.
15176 * obsolete/: Standardize obsolescence info in the header.
15177
f195c582
GM
151782011-04-20 Glenn Morris <rgm@gnu.org>
15179
15180 * calendar/solar.el (solar-horizontal-coordinates):
15181 Use the longitude argument rather than `calendar-longitude'.
15182 (solar-date-next-longitude): Remove unused locals.
15183
cb79b8c0
VJL
151842011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15185
15186 * whitespace.el: New version 13.2.1.
15187
151882011-04-20 felix <EmacsWiki> (tiny change)
15189
d8e4b68b 15190 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15191 switching between major modes on a file.
15192
602ea69d
SM
151932011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15196 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15197 multi-line comments as well.
15198
06b60517
JB
151992011-04-19 Juanma Barranquero <lekktu@gmail.com>
15200
15201 Lexical-binding cleanup.
15202
15203 * arc-mode.el (archive-mode-revert):
15204 * cmuscheme.el (scheme-interactively-start-process):
15205 * custom.el (custom-initialize-delay):
15206 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15207 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15208 * emacs-lock.el (emacs-lock-clear-sentinel):
15209 * ezimage.el (defezimage):
15210 * follow.el (follow-avoid-tail-recenter):
15211 * fringe.el (set-fringe-mode-1):
15212 * generic-x.el (bat-generic-mode-compile):
15213 * help-mode.el (help-info-variable, help-do-xref)
15214 (help-mode-revert-buffer):
15215 * help.el (view-emacs-todo):
15216 * iswitchb.el (iswitchb-completion-help):
15217 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15218 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15219 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15220 * locate.el (locate-update):
15221 * longlines.el (longlines-encode-region)
15222 (longlines-after-change-function):
15223 * outline.el (outline-isearch-open-invisible):
15224 * ps-def.el (declare-function, charset-dimension, char-width)
15225 (encode-char):
15226 * ps-mule.el (ps-mule-plot-string):
15227 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15228 (recentf-edit-list-select, recentf-edit-list-validate)
15229 (recentf-open-files-action):
15230 * rect.el (delete-whitespace-rectangle-line)
15231 (rectangle-number-line-callback):
15232 * register.el (window-configuration-to-register)
15233 (frame-configuration-to-register):
15234 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15235 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15236 (xselect-convert-to-targets, xselect-convert-to-delete)
15237 (xselect-convert-to-filename, xselect-convert-to-charpos)
15238 (xselect-convert-to-lineno, xselect-convert-to-colno)
15239 (xselect-convert-to-os, xselect-convert-to-host)
15240 (xselect-convert-to-user, xselect-convert-to-class)
15241 (xselect-convert-to-name, xselect-convert-to-integer)
15242 (xselect-convert-to-atom, xselect-convert-to-identity):
15243 * subr.el (declare, ignore, process-kill-without-query)
15244 (text-clone-maintain):
15245 * terminal.el (te-get-char, te-tic-sentinel):
15246 * tool-bar.el (tool-bar-make-keymap):
15247 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15248 * type-break.el (type-break-mode, type-break-noninteractive-query):
15249 * view.el (View-back-to-mark):
15250 * wid-browse.el (widget-browse-action, widget-browse-widget)
15251 (widget-browse-widgets, widget-browse-sexp):
15252 * widget.el (define-widget-keywords):
15253 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15254 Mark unused parameters.
15255
15256 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15257 (align-areas): Remove unused variable `look'.
15258 (align-region): Remove unused variables `real-end' and `pos-list'.
15259
15260 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15261
15262 * bindings.el (mode-line-modified, mode-line-remote):
15263 Mark unused parameters.
15264 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15265
15266 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15267 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15268
15269 * comint.el (comint-history-isearch-pop-state)
15270 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15271 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15272 (comint-substitute-in-file-name): Doc fix.
15273
15274 * completion.el (cmpl-statistics-block): Mark unused parameter.
15275 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15276 (save-completions-to-file, load-completions-from-file):
15277 Remove unused local variable `e'.
15278
15279 * composite.el (compose-chars): Remove unused variable `len'.
15280 (lgstring-insert-glyph): Remove unused variable `g'.
15281 (compose-glyph-string): Remove unused variables `ascent',
15282 `descent', `lbearing' and `rbearing'.
15283 (compose-glyph-string-relative): Remove unused variables
15284 `lbearing', `rbearing' and `wadjust'.
15285 (compose-gstring-for-graphic): Remove unused variables `header',
15286 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15287 (compose-gstring-for-terminal): Remove unused variables `header'
15288 and `nchars'. Use `let', not `let*'.
15289
15290 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15291 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15292 (Custom-buffer-done, custom-buffer-create-internal)
15293 (custom-browse-visibility-action, custom-browse-group-tag-action)
15294 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15295 (widget-magic-mouse-down-action, custom-toggle-parent)
15296 (custom-add-parent-links, custom-toggle-hide-variable)
15297 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15298 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15299 (custom-face-menu-create, custom-variable-menu-create, get)
15300 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15301 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15302 (customize-apropos): Remove unused variable `tests'.
15303 (custom-group-value-create): Remove unused variable `hidden-p'.
15304 (sort-fold-case): Declare.
15305
15306 * cus-theme.el (custom-reset-standard-faces-list)
15307 (custom-reset-standard-variables-list): Declare.
15308 (customize-create-theme, custom-theme-revert, custom-theme-write)
15309 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15310 Mark unused parameters.
15311
15312 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15313
15314 * delim-col.el (delimit-columns-max): Move defvar before first use.
15315
15316 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15317 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15318
15319 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15320 (auto-insert): Declare.
15321 (desktop-restore-file-buffer): Rename desktop-* parameters;
15322 mark unused ones.
15323 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15324 (desktop-buffer): Rename desktop-* parameters.
15325
15326 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15327 (dframe-reposition-frame-xemacs, dframe-help-echo)
15328 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15329 Mark unused parameters.
15330
15331 * dired-aux.el (backup-extract-version-start, overwrite-query)
15332 (overwrite-backup-query, rename-regexp-query)
15333 (rename-non-directory-query): Declare.
15334 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15335 (dired-add-entry): Remove unused variable `orig-file-name'.
15336 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15337 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15338 `dired-copy-preserve-time' directly.
15339 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15340 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15341
15342 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15343 (dired-virtual-revert, dired-make-relative-symlink):
15344 Mark unused parameters.
15345 (manual-program): Declare.
15346 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15347 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15348 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15349
15350 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15351
15352 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15353
15354 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15355 Declare.
15356
15357 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15358
15359 * electric.el (Electric-command-loop): Rename parameter
15360 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15361
15362 * expand.el (expand-in-literal): Remove unused variable `here'.
15363
15364 * facemenu.el (facemenu-add-new-color):
15365 Remove unused variable `docstring'.
15366
15367 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15368 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15369 (face-attr-construct): Mark unused parameter. Doc fix.
15370 (read-color): Remove unused variable `hex-string'.
15371
15372 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15373 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15374 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15375 (display-buffer-other-frame): Remove unused variable `old-window'.
15376 (kill-buffer-hook): Declare.
15377 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15378 Mark unused parameters.
15379 (after-find-file): Pass 1 to `auto-save-mode', not t.
15380
15381 * files-x.el (auto-insert): Declare.
15382 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15383
15384 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15385 variable `buf'. Mark unused parameter.
06b60517
JB
15386 (find-lisp-insert-directory): Mark unused parameter.
15387
15388 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15389 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15390 (format-common-tail): Remove, unused.
15391 (format-deannotate-region): Remove unused variable `loc'.
15392 (format-annotate-region): Remove unused variable `p'.
15393 (format-annotate-single-property-change): Remove unused variables
15394 `default' and `tail'.
15395
15396 * forms.el (read-file-filter): Declare.
15397 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15398
15399 * frame.el (frame-creation-function-alist): Mark unused parameter.
15400 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15401
15402 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15403 Remove unused parameters.
15404 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15405 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15406
15407 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15408 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15409 (hfy-prepare-tag-map): Mark unused parameters.
15410 (htmlfontify-buffer): Use `called-interactively-p'.
15411
15412 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15413 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15414 (ibuffer-do-occur): Mark unused parameters.
15415 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15416 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15417
15418 * ibuffer.el: Don't quote `lambda'.
15419 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15420 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15421 Mark unused parameters.
15422
15423 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15424 (ido-completing-read): Mark unused parameters.
15425 (ido-copy-current-word): Mark unused parameters;
15426 remove unused variable `name'.
15427 (ido-sort-merged-list): Remove unused parameter `dirs'.
15428
15429 * ielm.el (ielm-input-sender): Mark unused parameter.
15430 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15431 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15432 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15433 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15434 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15435
15436 * image-dired.el (image-dired-display-thumbs): Remove unused
15437 variables `curr-file' and `count'.
15438 (image-dired-remove-tag): Remove unused variable `start'.
15439 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15440 variable `curr-file'
15441 (image-dired-rotate-original): Remove unused variable `temp-file'.
15442 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15443 Remove unused variable `file'.
15444 (image-dired-gallery-generate): Remove unused variable `curr'.
15445 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15446
15447 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15448
15449 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15450
15451 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15452
15453 * isearch.el (minibuffer-history-symbol): Declare.
15454 (isearch-edit-string): Remove unused variable `err'.
15455 (isearch-message-prefix, isearch-message-suffix):
15456 Mark unused parameters.
15457
15458 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15459
15460 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15461
15462 * makesum.el (double-column): Remove unused variable `cnt'.
15463
15464 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15465 (ido-ignore-item-temp-list): Declare.
15466
15467 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15468 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15469 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15470 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15471 `mouse-col-delta'.
15472
15473 * mouse-sel.el (mouse-extend-internal):
15474 Remove unused variable `orig-window-frame'.
15475
15476 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15477 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15478 Move declarations before first use.
15479 (pcomplete-opt): Mark unused parameters; doc fix.
15480
15481 * proced.el (proced-revert): Mark unused parameter.
15482 (proced-send-signal): Remove unused variable `err'.
15483
15484 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15485 Rename parameter PREFIX-ARG to ARG.
15486 (ps-basic-plot-string, ps-basic-plot-whitespace):
15487 Mark unused parameters.
15488
15489 * replace.el (replace-count): Define.
15490 (occur-revert-function): Mark unused parameters.
15491 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15492 (isearch-case-fold-search, isearch-string): Declare.
15493 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15494 bind `case-fold-search'. Remove unused variables `beg' and `end',
15495 and simplify.
15496 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15497 COUNT and bind `replace-count'.
15498 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15499 to COUNT.
15500
15501 * savehist.el (print-readably, print-string-length): Declare.
15502
15503 * shadowfile.el (shadow-expand-cluster-in-file-name):
15504 Remove unused variable `cluster'.
15505 (shadow-copy-file): Remove unused variable `i'.
15506 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15507 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15508 (shadow-define-literal-group, shadow-define-regexp-group)
15509 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15510
15511 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15512 (shell): Use `called-interactively-p'.
15513 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15514
15515 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15516 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15517 (delete-backward-char): Remove unused variable `ocol'.
15518 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15519 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15520 (event-apply-hyper-modifier, event-apply-shift-modifier)
15521 (event-apply-control-modifier, event-apply-meta-modifier):
15522 Mark unused parameters.
15523 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15524 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15525
15526 * speedbar.el (speedbar-ignored-directory-expressions)
15527 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15528 (speedbar-find-file, speedbar-dir-follow)
15529 (speedbar-directory-buttons-follow, speedbar-tag-find)
15530 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15531 (speedbar-buffers-line-directory, speedbar-buffer-click):
15532 Mark unused parameters.
15533 (speedbar-tag-file): Remove unused variable `mode'.
15534 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15535
15536 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15537
15538 * talk.el (talk): Remove unused variable `display'.
15539
15540 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15541 (tar-write-region-annotate): Mark unused parameter.
15542
15543 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15544 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15545 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15546 warning by another.
15547
15548 * time-stamp.el (time-stamp-string-preprocess):
15549 Remove unused variable `require-padding'.
15550
15551 * tree-widget.el (widget-glyph-enable): Declare.
15552 (tree-widget-action): Mark unused parameter.
15553
15554 * w32-fns.el (x-get-selection): Mark unused parameter.
15555 (autoload-make-program, generated-autoload-file): Declare.
15556
15557 * wdired.el (wdired-revert): Mark unused parameters.
15558 (wdired-xcase-word): Remove unused variable `err'.
15559
15560 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15561 (whitespace-help-scroll): Remove unused variable `data-help'.
15562
15563 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15564 (widget-image-insert, widget-after-change, default)
15565 (widget-default-format-handler, widget-default-notify)
15566 (widget-default-prompt-value, widget-info-link-action)
15567 (widget-url-link-action, widget-function-link-action)
15568 (widget-variable-link-action, widget-file-link-action)
15569 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15570 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15571 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15572 (widget-insert-button-action, widget-delete-button-action, visibility)
15573 (widget-documentation-link-action, widget-documentation-string-action)
15574 (widget-const-prompt-value, widget-regexp-match, symbol)
15575 (widget-coding-system-prompt-value)
15576 (widget-key-sequence-value-to-external, sexp)
15577 (widget-sexp-value-to-internal, character, vector, cons)
15578 (widget-choice-prompt-value, widget-boolean-prompt-value)
15579 (widget-color--choose-action): Mark unused parameters.
15580 (widget-item-match-inline, widget-choice-match-inline)
15581 (widget-checklist-match, widget-checklist-match-inline)
15582 (widget-group-match): Rename parameter VALUES to VALS.
15583 (widget-field-value-set): Remove unused variable `size'.
15584 (widget-color-action): Remove unused variables `value' and `start'.
15585
15586 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15587 variable `dir'. Doc fix.
06b60517
JB
15588 (windmove-find-other-window): Don't pass it.
15589
15590 * window.el (count-windows): Mark unused parameter.
15591 (bw-adjust-window): Remove unused variable `err'.
15592
15593 * woman.el (woman-file-name): Remove unused variable `default'.
15594 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15595 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15596 (global-font-lock-mode): Declare.
15597 (woman-decode-region): Mark unused parameter.
15598 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15599
15600 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15601 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15602 (x-dnd-handle-moz-url): Remove unused variable `title'.
15603 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15604
15605 * xml.el (xml-parse-tag, xml-parse-attlist):
15606 Remove unused variable `pos'.
15607
bc4f7f3d
GM
156082011-04-19 Glenn Morris <rgm@gnu.org>
15609
15610 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15611 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15612 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15613 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15614 * calendar/cal-html.el (cal-html-insert-minical):
15615 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15616 (calendar-mark-date-pattern):
15617 Prefix "unused" locals.
15618
15619 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15620 optional argument `style'.
15621
15622 * calendar/appt.el (appt-make-list):
15623 * calendar/cal-china.el (calendar-chinese-date-string):
15624 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15625 (diary-hebrew-yahrzeit):
15626 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15627 * calendar/calendar.el (calendar-generate-window):
15628 * calendar/time-date.el (time-to-days):
15629 Remove unused local variables.
15630
16a43933
CY
156312011-04-18 Chong Yidong <cyd@stupidchicken.com>
15632
15633 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15634 glyphless-char-display table.
15635 (tabulated-list-glyphless-char-display): New var.
15636
7eed1860
SS
156372011-04-18 Sam Steingold <sds@gnu.org>
15638
15639 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15640 to acknowledgments.
15641
4d2d1ccd
GM
156422011-04-17 Glenn Morris <rgm@gnu.org>
15643
15644 * calendar/diary-lib.el (diary-sexp-entry):
15645 * calendar/holidays.el (holiday-sexp):
15646 Set debug-on-error rather than the removed stack-trace-on-error.
15647
239da61d
GM
156482011-04-16 Glenn Morris <rgm@gnu.org>
15649
15650 * progmodes/f90.el: Use lexical-binding.
15651 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15652
8b05752a
SM
156532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15654
daca8ba5
SM
15655 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15656 (mail-mode): Setup mailalias completion here instead.
15657 * mail/mailalias.el: Use lexical-binding.
15658 (pattern, mailalias-done): Declare dynamic.
15659 (mail-completion-at-point-function): New function, from mail-complete.
15660 (mail-complete): Use it.
15661 (mail-completion-expand): New function.
15662 (mail-get-names): Use it.
15663 (mail-directory, mail-directory-process, mail-directory-stream):
15664 Don't use `pattern' for lexically bound arg.
15665
6f542485
SM
15666 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15667
037e7c3f
SM
15668 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15669 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15670 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15671
8b05752a
SM
15672 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15673 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15674 (byte-interactive-p): Define them again, for use when inlining
15675 old code.
15676
49093f60
JB
156772011-04-15 Juanma Barranquero <lekktu@gmail.com>
15678
15679 * loadup.el: Use `string-to-number', not `string-to-int'.
15680
b5b8e7de
SM
156812011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15682
15683 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15684 gud-gdb-complete-command.
15685 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15686 (gud-gdb-completion-at-point): New function.
15687 (gud-gdb-completions): Remove.
15688
f42efeb5
MA
156892011-04-14 Michael Albinus <michael.albinus@gmx.de>
15690
49093f60
JB
15691 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15692 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15693 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15694 whether `executable-find' is bound.
f42efeb5
MA
15695
15696 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15697
e240cc21
SM
156982011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15699
15700 * minibuffer.el (completion-in-region-mode-predicate)
15701 (completion-in-region-mode--predicate): New vars.
15702 (completion-in-region, completion-in-region--postch)
15703 (completion-in-region-mode): Use them.
15704 (completion--capf-wrapper): Also return the hook function.
15705 (completion-at-point, completion-help-at-point):
15706 Adjust and provide a predicate.
c2bd2ab0
SM
15707
15708 Preserve arg names for advice of subr and lexical functions (bug#8457).
15709 * help-fns.el (help-function-arglist): Consolidate the subr and
15710 new-byte-code cases. Add argument `preserve-names' to extract names
15711 from the docstring when needed.
15712 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15713 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15714 (ad-arglist): Use help-function-arglist's new arg.
15715 (ad-definition-type): Use cond.
15716
c183f693
JB
157172011-04-13 Juanma Barranquero <lekktu@gmail.com>
15718
06641a47
JB
15719 * autorevert.el (auto-revert-handler):
15720 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15721 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15722 Don't quote lambda.
15723
c183f693
JB
15724 * image-mode.el (image-transform-set-scale):
15725 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15726
1e3b6001
G
157272011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15728
15729 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15730 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15731 Upgrades via gnutls-cli are too slow to be done opportunistically.
15732
2d6af8dd
JB
157332011-04-12 Juanma Barranquero <lekktu@gmail.com>
15734
15735 * dframe.el (dframe-current-frame): Remove spurious quote.
15736
c0749a51
GM
157372011-04-12 Glenn Morris <rgm@gnu.org>
15738
088d0d61
GM
15739 * calendar/cal-tex.el (cal-tex-end-document):
15740 Try to automatically use latin1 input if needed.
15741
c0749a51
GM
15742 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15743 Don't try to cons a mark onto an empty element.
15744
5c90fde0
LL
157452011-04-11 Leo Liu <sdl.web@gmail.com>
15746
15747 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15748 buffers.
15749 (ido-kill-buffer-at-head): Support killing virtual buffers.
15750
369e974d
CY
157512011-04-10 Chong Yidong <cyd@stupidchicken.com>
15752
15753 * minibuffer.el (completion-show-inline-help): New var.
15754 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15755 (minibuffer-force-complete, minibuffer-complete-word):
15756 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15757
15758 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15759 to avoid interference from inline help (Bug#5849).
15760
37f1c930
LL
157612011-04-10 Leo Liu <sdl.web@gmail.com>
15762
099c39a4
JB
15763 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15764 Fix typo.
37f1c930 15765
a32d4040
CY
157662011-04-09 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * image-mode.el (image-toggle-display-image): Signal an error if
15769 not in Image mode.
15770 (image-transform-mode, image-transform-resize)
15771 (image-transform-set-rotation): Doc fix.
daca8ba5 15772 (image-transform-set-resize): Delete.
a32d4040
CY
15773 (image-transform-set-scale, image-transform-fit-to-height)
15774 (image-transform-fit-to-width): Handle image-toggle-display-image
15775 and image-transform-resize directly.
15776
099c39a4 157772011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15778
15779 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15780 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15781 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15782 (doc-view-mode-map): Add bindings for the new functions.
15783
099c39a4 157842011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15785
4d61f28d 15786 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15787 Fix typo in docstring.
15788
3726838a
EZ
157892011-04-08 Eli Zaretskii <eliz@gnu.org>
15790
04f33f1e
EZ
15791 * files.el (file-size-human-readable): Produce one digit after
15792 decimal, like "ls -lh" does.
15793
15794 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15795 the file size representation.
15796
3726838a
EZ
15797 * simple.el (list-processes): If async subprocesses are not
15798 available, error out with a clear error message.
15799
cbb59342
CY
158002011-04-08 Chong Yidong <cyd@stupidchicken.com>
15801
15802 * help.el (help-form-show): New function, to be called from C.
15803 Put help-form output in a buffer named differently than *Help*.
15804
e3971c44
EZ
158052011-04-08 Eli Zaretskii <eliz@gnu.org>
15806
15807 * files.el (file-size-human-readable): New function.
15808
15809 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15810 computing the representation inline. Don't require `cl'.
15811
12544bbe
GM
158122011-04-08 Glenn Morris <rgm@gnu.org>
15813
a1de6c6a
GM
15814 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15815
3c4671f4
GM
15816 * net/browse-url.el (browse-url-firefox):
15817 Test system-type, not system-configuration.
15818
b605679c
GM
15819 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15820 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15821 Use log-edit-empty-buffer-p. (Bug#7598)
15822
56442f0c
GM
15823 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15824 (rlogin-mode-map): Initialize in the defvar.
15825 (rlogin): Use ignore-errors.
15826
12544bbe
GM
15827 * replace.el (occur-mode-map): Some fixes for menu items.
15828
eb237b0f
AH
158292011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15830
15831 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15832
7d668f2c
CY
158332011-04-06 Chong Yidong <cyd@stupidchicken.com>
15834
e67a13ab
CY
15835 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15836 issuing unused warnings.
15837
15838 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15839 macro directly.
15840
7d668f2c
CY
15841 * simple.el: Lisp reimplement of list-processes. Based on an
15842 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15843 (process-menu-mode): New major mode.
15844 (list-processes--refresh, list-processes):
15845 (process-menu-visit-buffer): New functions.
15846
15847 * files.el (save-buffers-kill-emacs): Don't assume any return
15848 value of list-processes, which is undocumented anyway.
15849
a83ec3c9
CY
158502011-04-06 Chong Yidong <cyd@stupidchicken.com>
15851
15852 * emacs-lisp/tabulated-list.el: New file.
15853
e91a96fe
CY
15854 * emacs-lisp/package.el: Use Tabulated List mode.
15855 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15856 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15857 table format using Tabulated List mode variables.
15858 (package--push): New macro, replacing package-list-maybe-add.
15859 (package-menu--generate): Use package--push. Renamed from
15860 package--generate-package-list.
15861 (package-menu-refresh, list-packages): Use it.
daca8ba5 15862 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15863 Return insertion data instead of inserting it directly.
099c39a4
JB
15864 (package-menu-describe-package, package-menu-execute):
15865 Use tabulated-list-get-id.
e91a96fe
CY
15866 (package-menu-mark-delete, package-menu-mark-install)
15867 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15868 (package-menu-mark-obsolete-for-deletion):
15869 Use tabulated-list-put-tag.
e91a96fe
CY
15870 (package--list-packages, package-menu-revert)
15871 (package-menu-get-package, package-menu-get-version)
15872 (package-menu-sort-by-column): Functions deleted.
15873 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15874 (package-menu--status-predicate, package-menu--version-predicate)
15875 (package-menu--name-predicate)
15876 (package-menu--description-predicate): Handle arguments in the
15877 Tabulated List format.
15878 (package-list-packages-no-fetch): Call list-packages.
15879
3e214b50
JB
158802011-04-06 Juanma Barranquero <lekktu@gmail.com>
15881
15882 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15883 (after-find-file): Don't bind it.
3e214b50
JB
15884 (revert-buffer-in-progress-p): New variable.
15885 (revert-buffer): Bind it.
15886 Pass nil for `after-find-file-from-revert-buffer'.
15887
15888 * saveplace.el (save-place-find-file-hook): Use new variable
15889 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15890
3f0f1700
GM
158912011-04-06 Glenn Morris <rgm@gnu.org>
15892
c0274801
GM
15893 * Makefile.in (AUTOGEN_VCS): New variable.
15894 (autoloads): Use $AUTOGEN_VCS.
15895
3f0f1700
GM
15896 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15897 * calendar/calendar.el (calendar-mode-map):
15898 Check for toolkit scroll bars. (Bug#8305)
15899
41ea9e48
CY
159002011-04-05 Chong Yidong <cyd@stupidchicken.com>
15901
15902 * minibuffer.el (completion-in-region--postch)
15903 (completion-in-region-mode): Remove unnecessary messages.
15904
6194c800
JB
159052011-04-05 Juanma Barranquero <lekktu@gmail.com>
15906
33256f14
JB
15907 * font-lock.el (font-lock-refresh-defaults):
15908 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15909 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15910
6194c800
JB
15911 * info.el (Info-directory-list, Info-read-node-name-2)
15912 (Info-split-parameter-string): Doc fixes.
15913 (Info-virtual-nodes): Reflow docstring.
15914 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15915 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15916 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15917 Fix typos in docstrings.
15918 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15919 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15920 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15921 (Info-restore-desktop-buffer): Mark unused parameters.
15922 (Info-directory-find-file, Info-directory-find-node)
15923 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15924 (Info-virtual-index-find-node, Info-apropos-find-file)
15925 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15926 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15927 (Info-virtual-index): Remove unused local variable `nodename'.
15928
b87a8200 159292011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15930
b87a8200
DD
15931 * net/rcirc.el: Update my e-mail address.
15932 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15933
3b2ff876
CY
159342011-04-05 Chong Yidong <cyd@stupidchicken.com>
15935
15936 * startup.el (command-line): Save the cursor's theme-face
15937 directly, instead of using face-override-spec.
15938
15939 * custom.el (load-theme): Minor optimization in assigning faces.
15940
8d17e7ca
JB
159412011-04-04 Juanma Barranquero <lekktu@gmail.com>
15942
15943 * help-fns.el (describe-variable): Complete all variables having
15944 documentation, including keywords.
15945 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15946
2fbc1934
JB
159472011-04-04 Juanma Barranquero <lekktu@gmail.com>
15948
15949 Convert to lexical-binding.
15950
15951 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15952 (bs--get-marked-string, bs--get-modified-string)
15953 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15954 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15955 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15956
15957 * ehelp.el (electric-help-execute-extended)
15958 (electric-help-ctrl-x-prefix):
15959 * hexl.el (hexl-revert-buffer-function):
15960 * linum.el (linum-after-change, linum-after-scroll):
15961 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15962
15963 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15964
74f50695
DU
159652011-04-04 Daiki Ueno <ueno@unixuser.org>
15966
15967 * epa-dired.el:
15968 * epa-mail.el:
15969 * epa-hook.el:
15970 * epa-file.el:
15971 * epa.el:
15972 * epg.el: Use lexical binding.
15973
c11325f7
CY
159742011-04-03 Chong Yidong <cyd@stupidchicken.com>
15975
0d9e9a12
CY
15976 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15977
c11325f7 15978 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15979 dictionary case for flyspell-mark-duplications-exceptions.
15980 Use regexp matching for languages.
c11325f7
CY
15981 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15982 default dictionary (Bug#7926).
15983
da91b5f2
CY
159842011-04-02 Chong Yidong <cyd@stupidchicken.com>
15985
099c39a4
JB
15986 * emacs-lisp/package.el (package--with-work-buffer):
15987 Recognize https URLs.
da91b5f2 15988
099c39a4
JB
15989 * net/network-stream.el: Move from gnus/proto-stream.el.
15990 Change prefix to network-stream throughout.
da91b5f2
CY
15991 (open-protocol-stream): Merge into open-network-stream, leaving
15992 open-protocol-stream as an alias. Handle nil BUFFER args.
15993
15994 * subr.el (open-network-stream): Move to net/network-stream.el.
15995
afa8e9f6
GM
159962011-04-02 Glenn Morris <rgm@gnu.org>
15997
1d2e369d
GM
15998 * find-dired.el (find-exec-terminator): New option.
15999 (find-ls-option): Test for -ls support.
16000 (find-ls-subdir-switches): Test for -b in find-ls-option.
16001 (find-dired, find-grep-dired): Doc fixes.
16002 (find-dired): Use find-exec-terminator.
16003
8abb7da8 16004 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16005 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16006 (find-name-arg): Remove purecopy.
8abb7da8 16007
f3ca7378
GM
16008 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16009 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16010 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16011 accordingly. Don't add the null-device if not needed.
16012
afa8e9f6
GM
16013 * files.el (save-some-buffers): Doc fix.
16014
35eae264
EZ
160152011-04-02 Eli Zaretskii <eliz@gnu.org>
16016
16017 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16018
26b51db5
JB
160192011-04-01 Juanma Barranquero <lekktu@gmail.com>
16020
16021 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16022 Use `dolist' rather than `mapcar'.
16023
7200d79c
SM
160242011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16025
03408648 16026 Add lexical binding.
7200d79c 16027
03408648
SM
16028 * subr.el (apply-partially): Use new closures rather than CL.
16029 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16030 (dolist, dotimes): Use slightly different expansion for lexical code.
16031 (functionp): Move to C.
16032 (letrec): New macro.
16033 (with-wrapper-hook): Use it and apply-partially instead of CL.
16034 (eval-after-load): Preserve lexical-binding.
16035 (save-window-excursion, with-output-to-temp-buffer): Turn them
16036 into macros.
7200d79c 16037
03408648
SM
16038 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16039
16040 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16041 than the arglist.
16042 (help-add-fundoc-usage): Don't add `Not documented'.
16043 (help-function-arglist): Handle closures, subroutines, and new
16044 byte-code-functions.
16045 (help-make-usage): Remove leading underscores.
16046 (describe-function-1): Handle closures.
16047 (describe-variable): Use special-variable-p for completion.
16048
16049 * files.el (lexical-binding): Declare safe.
f488fb65 16050
03408648
SM
16051 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16052 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16053 (pcase): Add `let' pattern.
16054 Change memoization so it actually works.
16055 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16056 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16057 <let>: New case.
f488fb65 16058
03408648
SM
16059 * emacs-lisp/macroexp.el: Use lexical binding.
16060 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16061 Don't convert ' to #' without checking that it's indeed quoting
16062 a lambda.
16063
16064 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16065 Use eval-sexp-add-defvars.
03408648
SM
16066 (eval-sexp-add-defvars): New fun.
16067
16068 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16069
16070 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16071 Don't autoload.
16072 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16073 than the internal `byte-compile-lambda'.
16074 (defmethod): Don't hide code under quotes.
16075 (eieio-defmethod): New `code' argument.
16076
16077 * emacs-lisp/eieio-comp.el: Remove.
16078
16079 * emacs-lisp/edebug.el (edebug-eval-defun)
16080 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16081 (edebug-toggle): Avoid `eval'.
16082
16083 * emacs-lisp/disass.el (disassemble-internal): Handle new
16084 `closure' objects.
16085 (disassemble-1): Handle new byte codes.
16086
16087 * emacs-lisp/cl.el (pushnew): Silence warning.
16088
16089 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16090 (cl-byte-compile-throw): Remove.
16091 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16092
16093 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16094 closures.
16095
16096 * emacs-lisp/cconv.el: New file.
16097
16098 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16099 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16100 (byte-compile-initial-macro-environment):
16101 Handle declare-function here.
16102 (byte-compile--lexical-environment): New var.
16103 (byte-stack-ref, byte-stack-set, byte-discardN)
16104 (byte-discardN-preserve-tos): New lap codes.
16105 (byte-interactive-p): Don't use any more.
16106 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16107 New macros.
16108 (byte-compile-lapcode): Use them and handle new lap codes.
16109 (byte-compile-obsolete): Remove.
16110 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16111 (byte-compile-arglist-warn): Check late def of inlinable funs.
16112 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16113 since they should have been expanded by now.
16114 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16115 (byte-compile-from-buffer): Remove unused second arg.
16116 (byte-compile-preprocess): New function.
16117 (byte-compile-toplevel-file-form): New function to distinguish
16118 file-form calls from outside from file-form calls from hunk-handlers.
16119 (byte-compile-file-form): Simplify.
16120 (byte-compile-file-form-defsubst): Remove.
16121 (byte-compile-file-form-defmumble): Simplify now that
16122 byte-compile-lambda always returns a byte-code-function.
16123 (byte-compile): Preprocess.
16124 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16125 Remove, not used any more.
16126 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16127 (byte-compile-make-args-desc): New funs.
16128 (byte-compile-lambda): Handle lexical functions. Always return
16129 a byte-code-function.
16130 (byte-compile-reserved-constants): New var, to make up room for
16131 closed-over variables.
16132 (byte-compile-constants-vector): Obey it.
16133 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16134 (byte-compile-macroexpand-declare-function): New function.
16135 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16136 byte-code-functions.
16137 (byte-compile-form): Check obsolescence here.
16138 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16139 (byte-compile-variable-ref): Remove.
16140 (byte-compile-dynamic-variable-op): New fun.
16141 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16142 (byte-compile-variable-set): New funs.
16143 (byte-compile-discard): Add 2 args.
16144 (byte-compile-stack-ref, byte-compile-stack-set)
16145 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16146 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16147 macroexpand-all instead.
16148 (byte-compile-quote-form): Remove.
16149 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16150 (byte-compile-bind, byte-compile-unbind): New funs.
16151 (byte-compile-let): Handle let* and lexical binding.
16152 (byte-compile-let*): Remove.
16153 (byte-compile-catch, byte-compile-unwind-protect)
16154 (byte-compile-track-mouse, byte-compile-condition-case):
16155 Handle a new :fun-body form, used for lexical scoping.
16156 (byte-compile-save-window-excursion)
16157 (byte-compile-with-output-to-temp-buffer): Remove.
16158 (byte-compile-defun): Simplify.
16159 (byte-compile-stack-adjustment): New fun.
16160 (byte-compile-out): Use it.
16161 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16162
16163 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16164 handler any more.
16165
16166 * emacs-lisp/byte-opt.el: Use lexical binding.
16167 (byte-inline-lapcode): Remove (to bytecomp).
16168 (byte-compile-inline-expand): Pay attention to inlining to/from
16169 lexically bound code.
16170 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16171 any more.
16172 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16173 any more and don't call compiler-macros.
16174 (byte-compile-splice-in-already-compiled-code): Remove.
16175 (byte-code): Don't inline any more.
16176 (disassemble-offset): Receive `bytes' as argument rather than via
16177 dynamic scoping.
16178 (byte-compile-tag-number): Declare before first use.
16179 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16180 `return' even if make-spliceable.
16181 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16182 obsolete interactive-p.
16183 (byte-optimize-lapcode): Optimize new lap-codes.
16184 Don't trip up on new form of `byte-constant' lap code.
16185
16186 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16187
16188 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16189
16190 * custom.el (custom-initialize-default, custom-declare-variable):
16191 Use `defvar'.
16192
16193 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16194 New variables.
16195 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16196 (COMPILE_FIRST): Add macroexp and cconv.
16197 * makefile.w32-in: Mirror changes in Makefile.in.
16198
16199 * vc/cvs-status.el:
16200 * vc/diff-mode.el:
16201 * vc/log-edit.el:
16202 * vc/log-view.el:
16203 * vc/smerge-mode.el:
16204 * textmodes/bibtex-style.el:
090bd7cb 16205 * textmodes/css-mode.el:
03408648
SM
16206 * startup.el:
16207 * uniquify.el:
da91b5f2
CY
16208 * minibuffer.el:
16209 * newcomment.el:
16210 * reveal.el:
16211 * server.el:
16212 * mpc.el:
16213 * emacs-lisp/smie.el:
16214 * doc-view.el:
16215 * dired.el:
03408648
SM
16216 * abbrev.el: Use lexical binding.
16217
0f0c1f27
EZ
162182011-04-01 Eli Zaretskii <eliz@gnu.org>
16219
16220 * info.el (info-display-manual): New function.
16221
c82b2579
SM
162222011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16223
16224 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16225
221ddf68
TH
162262011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16227
16228 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16229 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16230
cba6e77e
GM
162312011-03-31 Glenn Morris <rgm@gnu.org>
16232
e040639f
GM
16233 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16234
cba6e77e
GM
16235 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16236
6d0f1c9e
CS
162372011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16238
16239 * progmodes/python.el (python-default-interpreter)
16240 (python-python-command-args, python-jython-command-args)
16241 (python-which-shell, python-which-args, python-which-bufname)
16242 (python-file-queue, python-comint-output-filter-function)
16243 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16244 variables and functions.
16245
3e2d70fd
SM
162462011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16247
16248 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16249 (completion-in-region-mode): New minor mode.
16250 (completion-in-region): Use it.
16251 (completion-in-region--data, completion-in-region-mode-map): New vars.
16252 (completion-in-region--postch): New function.
16253 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16254 New vars.
16255 (completion--capf-wrapper): New function.
16256 (completion-at-point): Use it to track well-behavedness of
16257 hook functions.
16258 (completion-help-at-point): New command.
16259
f3e4086c
JM
162602011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16261
16262 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16263 syntax class to search for whitespace on a single line
16264 (Message-ID: <4D938140.4030905@redhat.com>).
16265
eb7ffc14
LL
162662011-03-30 Leo Liu <sdl.web@gmail.com>
16267
16268 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16269 New commands.
16270 (edit-abbrevs-map): Bind them here.
16271 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16272
d806ab68
KM
162732011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16274
16275 * allout.el (allout-hide-by-annotation, allout-flag-region):
16276 Reduce possibility of overlay leakage by making them volatile.
16277
16278 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16279 hash is not shared between buffers. Mode initialization is
16280 responsible for giving it a useful starting value.
16281 (allout-item-span): Reduce possibility of overlay leakage by
16282 making them volatile.
16283 (allout-widgets-count-buttons-in-region): Add diagnostic function
16284 for tracking down button overlay leaks.
16285
ea622834
LL
162862011-03-29 Leo Liu <sdl.web@gmail.com>
16287
16288 * ido.el (ido-read-internal): Use the default history var
16289 minibuffer-history if no HISTORY is specified.
16290
b62f8267
G
162912011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16292
03408648
SM
16293 * net/imap.el (imap-shell-open, imap-process-connection-type):
16294 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16295 Kerberos, SSL, other subprocesses.
16296
947b6566
LL
162972011-03-28 Leo Liu <sdl.web@gmail.com>
16298
16299 * abbrev.el (abbrev-table-empty-p): New function.
16300 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16301 nonempty ones. (Bug#5937)
16302
5ffb62aa
JD
163032011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16304
16305 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16306
7a097943
LL
163072011-03-27 Leo Liu <sdl.web@gmail.com>
16308
16309 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16310 for foreground and background colors.
16311 (ansi-color-make-color-map): Adapt.
16312
c5b40130
LL
163132011-03-25 Leo Liu <sdl.web@gmail.com>
16314
1f48f7d2
LL
16315 * midnight.el (midnight-time-float): Remove. Note it calculates
16316 the microsecond component incorrectly and seconds-to-time does the
16317 same job.
625897ec 16318 Remove redundant (require 'timer).
1f48f7d2 16319
c5b40130
LL
16320 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16321 (ido-completions): Remove unused arguments. (Bug#8329)
16322
d86d2721
SM
163232011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16324
16325 * minibuffer.el (completion--flush-all-sorted-completions):
16326 Remove itself from hook.
16327 (completion-at-point): Let the functions perform the completion
16328 immediately and return nil or t.
16329 * comint.el (comint-dynamic-complete-functions): Now identical to
16330 completion-at-point-functions.
16331 (comint-dynamic-list-input-ring): Remove unused var `index'.
16332 (comint--match-partial-filename, comint--unquote&expand-filename):
16333 New funs, split from comint-match-partial-filename.
16334 (comint-dynamic-complete): Use completion-at-point.
16335 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16336
e8974c48
DA
163372011-03-24 Drew Adams <drew.adams@oracle.com>
16338
16339 * thingatpt.el: Support `defun'.
16340
def71b5e
LL
163412011-03-23 Leo Liu <sdl.web@gmail.com>
16342
cb5af48e
LL
16343 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16344
def71b5e
LL
16345 * help-mode.el (help-mode-finish): Tweak regexp.
16346
927c53e7
GM
163472011-03-23 Glenn Morris <rgm@gnu.org>
16348
18d05bed
GM
16349 * eshell/esh-opt.el (eshell-eval-using-options):
16350 Do not bind unused local variable `eshell-option-stub'.
16351
927c53e7
GM
16352 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16353
9d0da923
JB
163542011-03-22 Juanma Barranquero <lekktu@gmail.com>
16355
16356 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16357 keymap variable in `with-no-warnings' to avoid a warning when the
16358 keymap has been already `defconst'ed.
16359
4b978a67
LL
163602011-03-22 Leo Liu <sdl.web@gmail.com>
16361
16362 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16363 encode all chars in abbrevs; otherwise use emacs-mule or
16364 utf-8-emacs. (Bug#8308)
16365
5fd62452
JB
163662011-03-22 Juanma Barranquero <lekktu@gmail.com>
16367
0b1596c6
JB
16368 * simple.el (backward-delete-char-untabify):
16369 Avoid warning about using `delete-backward-char'.
16370
5fd62452
JB
16371 * image.el (image-type-file-name-regexps): Make it variable.
16372 `imagemagick-register-types' modifies it, and the user may want
16373 to add new extensions for known image types.
16374 (imagemagick-register-types): Throw error if not using ImageMagick.
16375
0b4e93f1
LL
163762011-03-22 Leo Liu <sdl.web@gmail.com>
16377
16378 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16379 located before rcirc-prompt-end-marker.
16380 (rcirc-complete): Error if point is not after rcirc prompt.
16381 Handle the case when table is nil.
9882e214 16382 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16383
fccee4ab
CY
163842011-03-22 Chong Yidong <cyd@stupidchicken.com>
16385
16386 * custom.el (custom--inhibit-theme-enable): Make it affect only
16387 custom-theme-set-variables and custom-theme-set-faces.
16388 (provide-theme): Ignore custom--inhibit-theme-enable.
16389 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16390 (custom-enabling-themes): Delete variable.
d86d2721
SM
16391 (enable-theme): Accept only loaded themes as arguments.
16392 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16393 (custom-enabled-themes): Forbid themes from setting this.
16394 Eliminate use of custom-enabling-themes.
16395 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16396
af896da6
LL
163972011-03-21 Leo Liu <sdl.web@gmail.com>
16398
16399 * ido.el (ido-read-internal): Add ido-selected to history instead
16400 of user input.
16401
78f64af0
SM
164022011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16403
16404 * subr.el (deferred-action-list, deferred-action-function):
16405 Mark obsolete.
16406
b16ac1ec
LL
164072011-03-21 Leo Liu <sdl.web@gmail.com>
16408
810f7698
LL
16409 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16410 change on 2011-02-13 (bug#8309).
16411
b16ac1ec
LL
16412 * minibuffer.el (read-file-name-function): Change default value.
16413 (read-file-name--defaults): Rename from read-file-name-defaults.
16414 (read-file-name-default): Rename from read-file-name.
16415 (read-file-name): Call read-file-name-function.
16416
4e05e67e
GM
164172011-03-21 Glenn Morris <rgm@gnu.org>
16418
16419 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16420 Doc fixes.
16421
4359915b
CY
164222011-03-21 Chong Yidong <cyd@stupidchicken.com>
16423
16424 * cus-theme.el: Add missing provide statement.
16425 (customize-create-theme): Extract theme value correctly.
16426 (custom-theme-visit-theme): Autoload.
16427 (customize-create-theme): Prompt before inserting default faces.
16428
1fe275ee
JB
164292011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16430
16431 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16432 units and musical notes.
16433
cd394be1 164342011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16435
16436 * ido.el (ido-read-internal): Use completing-read-default.
16437 (ido-completing-read): Fix compatibility with completing-read.
16438
7d476bde
CO
164392011-03-20 Christian Ohler <ohler@gnu.org>
16440
16441 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16442 (ert-delete-all-tests): Use `called-interactively-p' rather than
16443 `interactive-p'.
16444 (ert--make-xrefs-region): Respect END.
16445
fe0fb33e
CY
164462011-03-19 Chong Yidong <cyd@stupidchicken.com>
16447
ff854b0b
CY
16448 * dired-aux.el (dired-create-directory): Signal an error if the
16449 directory already exists (Bug#8246).
16450
fe0fb33e
CY
16451 * facemenu.el (list-colors-display): Call list-faces-display
16452 inside with-help-window.
16453 (list-colors-print): Use display property to align the final
16454 column, instead of checking window-width.
16455
576bce32
EZ
164562011-03-19 Eli Zaretskii <eliz@gnu.org>
16457
4d61f28d 16458 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16459 windows-nt systems.
16460 (emerge-protect-metachars): Quote correctly for ms-dos and
16461 windows-nt systems.
16462
89c41d68 164632011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16464
16465 * info.el (info-initialize): Replace all uses of `:' with
16466 path-separator for compatibility with non-Unix systems.
16467 Cache quoting of path-separator. (Bug#8258)
16468
b14e3e21 164692011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16470
16471 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16472 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16473 (mouse-avoidance-mode): Fix typos in docstrings.
16474
4525ce3e
CY
164752011-03-19 Chong Yidong <cyd@stupidchicken.com>
16476
16477 * startup.el (package-subdirectory-regexp): Move from package.el.
16478 Omit \\` and \\', and let callers add them.
16479
16480 * emacs-lisp/package.el (package-strip-version)
16481 (package-load-all-descriptors): Add \\` and \\' to
16482 package-subdirectory-regexp before using it.
16483 (package-untar-buffer): New arg DIR; ensure that file untars only
16484 into this expected directory. Remove superfluous delete-region.
16485 (package-unpack): Caller changed.
16486 (package-tar-file-info): Use package-subdirectory-regexp.
16487
a904a09a 164882011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16489
a904a09a
SM
16490 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16491 diff-mode-shared-map (bug#8284).
16492 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16493
164942011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16495
16496 * calendar/time-date.el (format-seconds): Use assoc instead of
16497 assoc-string, since assoc-string doesn't exist in XEmacs.
16498
171fc304
JB
164992011-03-17 Juanma Barranquero <lekktu@gmail.com>
16500
16501 * custom.el (custom-known-themes): Reflow docstring.
16502 (custom-theme-load-path): Fix typo in docstring.
16503 (load-theme): Fix typo in error message.
16504 (custom-available-themes, custom-variable-theme-value):
16505 Use `let', not `let*'.
16506
d71990a1
JB
165072011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16508
16509 * calc/README: Mention inclusion of musical notes.
16510
16511 * calc/calc-units.el (calc-lu-quant): Rename from
16512 `calc-logunits-quantity'.
16513 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16514 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16515 (calc-db): Rename from `calc-dblevel'.
16516 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16517 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16518 (calc-np): Rename from `calc-nplevel'.
16519 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16520 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16521 (calc-lu-plus): Rename from `calc-logunits-add'.
16522 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16523 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16524 (calc-lu-minus): Rename from `calc-logunits-sub'.
16525 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16526 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16527 (calc-lu-times): Rename from `calc-logunits-mul'.
16528 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16529 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16530 (calc-lu-divide): Rename from `calc-logunits-div'.
16531 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16532 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16533
16534 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16535 functions being autoloaded.
16536
16537 * calc/calc.el (calc-lu-power-reference): Rename from
16538 `calc-logunits-power-reference'.
16539 (calc-lu-field-reference): Rename from
16540 `calc-logunits-field-reference'.
16541
7a71b18d
GM
16542 * calc/calc-help.el (calc-l-prefix-help):
16543 Mention musical note functions.
d71990a1 16544
40c2934b
SM
165452011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16546
16547 * minibuffer.el (completion-all-sorted-completions):
16548 Use :completion-cycle-penalty text property if present.
16549
b0911414
KM
165502011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16551
16552 * allout.el (allout-yank-processing): Adjust for new rebulleting
16553 regime so bullet being yanked is used without prompting the user
16554 for a choice.
16555
8a05b668
JB
165562011-03-16 Juanma Barranquero <lekktu@gmail.com>
16557
16558 * startup.el (command-line): Warn the user that _emacs is deprecated.
16559
5ba5fb81
JB
165602011-03-16 Juanma Barranquero <lekktu@gmail.com>
16561
16562 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16563 (delphi-verbose, delphi-comment-face, delphi-string-face)
16564 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16565 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16566 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16567 (delphi-new-comment-line, delphi-font-lock-defaults)
16568 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16569 Fix typos in docstrings.
16570
2dab465b
KM
165712011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16572
5ba5fb81 16573 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16574 Invert the roles of character and string values for INSTEAD, so a
16575 string is used for the more common case of a defaulting prompt.
16576
0adf5618
SM
165772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16578
16579 * progmodes/ruby-mode.el (ruby-backward-sexp):
16580 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16581 * play/gamegrid.el (gamegrid-make-face):
16582 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16583 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16584 * notifications.el (notifications-notify):
16585 * net/xesam.el (xesam-search-engines):
16586 * net/quickurl.el (quickurl-list-insert):
16587 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16588
d72700e5
CY
165892011-03-15 Chong Yidong <cyd@stupidchicken.com>
16590
16591 * startup.el (command-line): Update package subdirectory regexp.
16592
49c5410a
SM
165932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16594
c6eee9aa
SM
16595 * allout.el (allout-abbreviate-flattened-numbering)
16596 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16597
49c5410a
SM
16598 * subr.el (read-char-choice): Only show the cursor after the prompt,
16599 not after the answer.
16600
047b2bb9
KR
166012011-03-15 Kevin Ryde <user42@zip.com.au>
16602
16603 * help-fns.el (variable-at-point): Skip leading quotes, if any
16604 (bug#8253).
16605
0a57d256
SM
166062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16607
16608 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16609 warning message.
16610
77c992bc
MA
166112011-03-14 Michael Albinus <michael.albinus@gmx.de>
16612
16613 * shell.el (shell): When called interactively, offer to change the
16614 shell file name on remote hosts.
16615
eebc475d
TZ
166162011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16617
16618 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16619 integration for LDAP parameters. The host, base, user or binddn,
16620 and secret tokens can be specified in a netrc file, for instance.
16621 This is optional because an `auth-source' parameter must be
16622 specified in the search attributes.
16623
9d05d1ba
JB
166242011-03-13 Juanma Barranquero <lekktu@gmail.com>
16625
16626 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16627
09d9db2c
GM
166282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16629
16630 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16631 into declaration. Remove redundant and harmful binding.
16632
166332011-03-12 Eli Zaretskii <eliz@gnu.org>
16634
16635 * files.el (file-ownership-preserved-p): Pass `integer' as an
16636 explicit 2nd argument to `file-attributes'. If the file's owner
16637 is the Administrators group on Windows, and the current user is
16638 Administrator, consider that a match.
16639
16640 * server.el (server-ensure-safe-dir): Consider server directory
16641 safe on MS-Windows if its owner is the Administrators group while
16642 the current Emacs user is Administrator. Use `=' to compare
16643 numerical UIDs, since they could be integers or floats.
16644
219bd536
JB
166452011-03-12 Juanma Barranquero <lekktu@gmail.com>
16646
16647 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16648
f3afd36b
MA
166492011-03-12 Michael Albinus <michael.albinus@gmx.de>
16650
16651 Sync with Tramp 2.2.1.
16652
16653 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16654
16655 * net/trampver.el: Update release number.
16656
3aaaa6f1
SM
166572011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16658
94642599
SM
16659 * progmodes/compile.el (compilation--previous-directory): Fix up
16660 various nil/dead-marker mismatches (bug#8014).
16661 (compilation-directory-properties, compilation-error-properties):
16662 Don't call it at a position past the one we're about to change.
16663
3aaaa6f1
SM
16664 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16665 Disable obsolescence warnings in the file that declares it.
16666
14239447
KM
166672011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16668
099c39a4
JB
16669 * allout-widgets.el (allout-widgets-tally):
16670 Initialize allout-widgets-tally as a hash table rather than nil to
16671 prevent mode-line redisplay warnings. Also, clarify the module
16672 description and fix a comment typo.
14239447 16673
135e287c
JB
166742011-03-11 Juanma Barranquero <lekktu@gmail.com>
16675
16676 * help-fns.el (describe-variable): Don't complete keywords.
16677 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16678
ffbf300e
CY
166792011-03-10 Chong Yidong <cyd@stupidchicken.com>
16680
ba08b241
CY
16681 * emacs-lisp/package.el (package-version-join): Impose a standard
16682 string representation for pre/alpha/beta version lists.
16683 (package-unpack-single): Standardize the directory name by passing
16684 it through package-version-join.
16685 (package-strip-rcs-id): Accept any version string that does not
16686 signal an error in version-to-list.
ffbf300e 16687
f346fd6b
MA
166882011-03-10 Michael Albinus <michael.albinus@gmx.de>
16689
16690 * simple.el (delete-trailing-whitespace): Return nil for the
16691 benefit of `write-file-functions'.
16692
ccb55d27
GM
166932011-03-10 Glenn Morris <rgm@gnu.org>
16694
5ceaac0c
GM
16695 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16696
02da65ff
GM
16697 * vc/vc-git.el (vc-git-program): New option.
16698 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16699 (vc-git--call): Use it.
16700
b2f603cc
GM
16701 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16702
5772caab
GM
16703 * cus-edit.el (Custom-newline): If no button at point, look
16704 for a subgroup button at start-of-line. (Bug#2298)
16705
ccb55d27
GM
16706 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16707
ec6ecaed
JD
167082011-03-10 Julien Danjou <julien@danjou.info>
16709
16710 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16711 `cursor-type' is nil.
16712
9d5aa01d
JB
167132011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16714
16715 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16716
b6a5875b
KM
167172011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16718
7a71b18d 16719 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16720 preserves the existing header prefix, rebulleting it if necessary,
16721 rather than replacing it. This is necessary for proper operation
16722 of cooperative addons like allout-widgets.
1154d12e
JB
16723 (allout-make-topic-prefix, allout-rebullet-heading):
16724 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16725 value as alternate bullet to be used, instead of prompting the user
16726 for a bullet character.
b6a5875b 16727
ee545c35
MA
167282011-03-09 Michael Albinus <michael.albinus@gmx.de>
16729
d86d2721
SM
16730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16731 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16732 `tramp-default-port'.
16733
c47971d7
DD
167342011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16735
16736 * net/rcirc.el (rcirc-handler-001): Remove useless
16737 with-rcirc-process-buffer.
16738 (rcirc-check-auth-status): Swap arguments to string-match.
16739
13522cb4
GM
167402011-03-09 Glenn Morris <rgm@gnu.org>
16741
0be6f4f1
GM
16742 * shell.el (shell-mode):
16743 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16744
13522cb4
GM
16745 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16746 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16747
515de2e3
CY
167482011-03-08 Chong Yidong <cyd@stupidchicken.com>
16749
16750 * emacs-lisp/package.el (package-refresh-contents)
16751 (package-menu-execute): Use condition-case-no-debug.
16752
b511b994
MA
167532011-03-08 Michael Albinus <michael.albinus@gmx.de>
16754
16755 * simple.el (shell-command-to-string): Use `process-file'.
16756
16757 * emacs-lisp/package.el (package-tar-file-info): Handle also
16758 remote files.
16759
d86d2721
SM
16760 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16761 Use `equal' for upload base check.
b511b994 16762
25bbfb31
AM
167632011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16764
16765 * textmodes/texinfo.el (texinfo-environments):
16766 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16767
be996521
GM
167682011-03-08 Glenn Morris <rgm@gnu.org>
16769
e9c8529f
GM
16770 * cus-start.el (cursor-in-non-selected-windows):
16771 Fix :set quoting oddness. (Bug#8192)
16772
be996521
GM
16773 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16774 in some setf expressions. (Bug#2159)
16775
2bb5649e
CY
167762011-03-08 Chong Yidong <cyd@stupidchicken.com>
16777
16778 * custom.el (custom-available-themes): Return themes in
16779 alphabetical order.
16780
33383987 16781See ChangeLog.15 for earlier changes.
e3d51b27
MR
16782
16783;; Local Variables:
16784;; coding: utf-8
e3d51b27
MR
16785;; End:
16786
acaf905b 16787 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16788
16789 This file is part of GNU Emacs.
16790
16791 GNU Emacs is free software: you can redistribute it and/or modify
16792 it under the terms of the GNU General Public License as published by
16793 the Free Software Foundation, either version 3 of the License, or
16794 (at your option) any later version.
16795
16796 GNU Emacs is distributed in the hope that it will be useful,
16797 but WITHOUT ANY WARRANTY; without even the implied warranty of
16798 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16799 GNU General Public License for more details.
16800
16801 You should have received a copy of the GNU General Public License
16802 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.