Revert last save_excursion_save and save_excursion_restore changes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ca1302a4
JB
12012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calccomp.el (math-compose-expr): Use parentheses when
4 there is a product in the denominator of a fraction.
5
f8b91036
EZ
62012-07-26 Eli Zaretskii <eliz@gnu.org>
7
8 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9 ($(lisp)/calendar/diary-loaddefs.el)
10 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
11 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
12 failures in parallel bootstrap because subdirs.el is being
13 rewritten while the autoload files are built at the same time,
14 which needs to load subdirs.el.
15
c8e5a42c
MR
162012-07-26 Martin Rudalics <rudalics@gmx.at>
17
18 * mouse.el (popup-menu): Fix doc-string and re-indent code.
19 (mouse-drag-line): Don't exit tracking when a switch-frame or
20 switch-window event occurs (Bug#12006).
21
670d85ea
SM
222012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * mouse.el (popup-menu): Fix last change.
25
7abaf5cc
SM
262012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 Autoload from Lisp with more care. Follow aliases when looking for
29 function properties.
30 * subr.el (autoloadp): New function.
31 (symbol-file): Use it.
32 (function-get): New function.
33 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
34 autoload-do-load.
35 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
36 (lisp-indent-function):
37 * emacs-lisp/gv.el (gv-get):
38 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
39 * emacs-lisp/byte-opt.el (byte-optimize-form):
40 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
41 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
42 Use function-get.
43 * emacs-lisp/cl.el: Don't propagate function properties any more.
44
45 * speedbar.el (speedbar-add-localized-speedbar-support):
46 * emacs-lisp/disass.el (disassemble-internal):
47 * desktop.el (desktop-load-file):
48 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
49 (describe-function-1):
50 * emacs-lisp/find-func.el (find-function-noselect):
51 * emacs-lisp/elp.el (elp-instrument-function):
52 * emacs-lisp/advice.el (ad-has-proper-definition):
53 * apropos.el (apropos-safe-documentation, apropos-macrop):
54 * emacs-lisp/debug.el (debug-on-entry):
55 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
56 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
57 * calc/calc.el (name): Use autoloadp & autoload-do-load.
58
b1364986
AA
592012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
60
61 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
62 function, not an obsolete variable (Bug#12046).
63
67ada220
AS
642012-07-25 Andreas Schwab <schwab@linux-m68k.org>
65
66 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
67
f08088e3
CS
682012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
69
70 * emacs-lisp/pp.el (pp-display-expression): Select old selected
71 window only if it is still live (Bug#12034).
72
8137e7b3
MR
732012-07-25 Martin Rudalics <rudalics@gmx.at>
74
75 * subr.el (redirect-frame-focus): Add advertised calling
76 convention (Bug#12030).
77
09ae5da1
PE
782012-07-25 Paul Eggert <eggert@cs.ucla.edu>
79
80 Prefer typical American spelling for "acknowledgment".
81 * vc/add-log.el (change-log-acknowledgment): Rename from
82 change-log-acknowledgement, with an alias for the old name.
83
3cc5a3a8
JB
842012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
85
86 * calc-alg.el (math-simplify-divide): Don't cross multiply
87 in an equation when the lhs is a variable.
88
b7af7f62
JD
892012-07-24 Julien Danjou <julien@danjou.info>
90
91 * net/netrc.el (netrc-find-service-number, netrc-store-data):
92 Remove, unused.
93
ec1b09b1
EZ
942012-07-23 Eli Zaretskii <eliz@gnu.org>
95
96 * startup.el (command-line): Don't display an empty user name in
97 the error message about non-existent home directory, when
98 init-file-user was set to an empty string. See
99 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
100 for the details and context.
101
b525fd8a
VB
1022012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
103
104 * ses.el (ses-cell-formula-aset): New macro.
105 (ses-cell-references-aset): New macro.
106 (ses-cell-p): New function.
107 (ses-rename-cell): Do no longer rely on complex operations like
108 ses-cell-set-formula or ses-set-cell to change the cell and handle
109 the undo at the same time, but rather use lower level new macros
110 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
111 the undo directly. Refresh the mode line.
112
2c73e345
LL
1132012-07-21 Leo Liu <sdl.web@gmail.com>
114
670d85ea
SM
115 * progmodes/cc-cmds.el (c-defun-name):
116 Use match-string-no-properties instead for consistency.
2c73e345 117
542dfbde
LL
1182012-07-20 Leo Liu <sdl.web@gmail.com>
119
3646bcd6
LL
120 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
121 (Bug#7879)
122
542dfbde
LL
123 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
124
25721031
CY
1252012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
128 * progmodes/bug-reference.el, misearch.el: Provide themselves
129 (bug#11915).
130
131 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
132 of narrowed buffer (bug#11966).
133
316e68a7
VB
1342012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
135
136 * ses.el (ses-rename-cell): Set new name also in reference list of
137 cells of which the renamed cell depends.
138
bbf0e7d9
MY
1392012-07-20 Masatake YAMATO <yamato@redhat.com>
140
141 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
142 to check whether menu-bar is shown or not. If not shown,
143 show the menu-bar as a popup menu instead of using tmm.
144 * mouse.el (popup-menu): Accept `point' as `position' argument.
145
c28662a8
DG
1462012-07-20 Dmitry Gutov <dgutov@yandex.ru>
147
148 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
149 up inside string symbol literal (bug#11923).
150
87ab808f
EZ
1512012-07-20 Eli Zaretskii <eliz@gnu.org>
152
153 * startup.el (fancy-startup-text): Read the whole tutorial, not
154 just its first 256 bytes. Prevents gibberish in display of the
155 tutorial title.
156
89dea803
DA
1572012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
158
159 Drop idle buffer compaction due to an absence of the
160 proved efficiency.
161 * compact.el: Remove.
162
8a4e6db8
SS
1632012-07-19 Sam Steingold <sds@gnu.org>
164
165 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
166 vc-bzr-pull & vc-bzr-merge-branch.
167 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
168 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
169 for consistency with compilation-error-regexp-alist.
170 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
171 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
172 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
173 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
174
5db81e33
SM
1752012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * emacs-lisp/chart.el: Use lexical-binding.
178 (chart-emacs-storage): Don't hardcode the list of entries.
179
5b835e1d
DA
1802012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
181
182 Next round of tweaks caused by Fgarbage_collect changes.
183 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
184
9cd47b72
DA
1852012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
186
187 Compact buffers when idle.
188 * compact.el: New file.
189
1d6fc0df
SM
1902012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
191
192 * subr.el (eventp): Presume that if it looks vaguely like an event,
193 it's an event (bug#10190).
194
1d29cc7d
FEG
1952012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
196
197 Enhancements to ppss related code (thanks Stefan).
198 * progmodes/python.el (python-indent-context)
199 (python-indent-calculate-indentation, python-indent-dedent-line)
200 (python-indent-electric-colon, python-nav-forward-block)
201 (python-mode-abbrev-table)
1d6fc0df 202 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
203 for ppss context.
204 (python-info-continuation-line-p): Cleanup.
205 (python-info-ppss-context): Do not catch 'quote.
206 (python-info-ppss-context-type)
207 (python-info-ppss-comment-or-string-p): Simplify.
208
d583cbe6
FEG
2092012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
210
211 * progmodes/python.el: Enhancements to eldoc support.
212 (python-info-current-symbol): New function.
213 (python-eldoc-at-point): Use python-info-current-symbol.
214 (python-info-current-defun): Fix cornercase on first defun scan.
215 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
216 and signal error when no inferior python process is available.
217
eceb6feb
DG
2182012-07-18 Dmitry Gutov <dgutov@yandex.ru>
219
220 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
221 assume it's always t.
222 (vc-git-registered): Remove caching, the function is only called
223 once.
224 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
225
4c8ff0fe
CY
2262012-07-18 Chong Yidong <cyd@gnu.org>
227
19fb7186
CY
228 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
229
9587c688
CY
230 * simple.el (count-words): Report on narrowing (Bug#9959).
231
0fe776a1
CY
232 * bindings.el: Bind M-= to count-words.
233
4c8ff0fe
CY
234 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
235
7f5331cc
MY
2362012-07-18 Masatake YAMATO <yamato@redhat.com>
237
238 * progmodes/sh-script.el (sh-imenu-generic-expression):
239 Capture a function with `function' keyword and without parentheses
240 like "function FOO" (bug#11856).
241
2dc2a609
TH
2422012-07-18 Tassilo Horn <tassilo@member.fsf.org>
243
244 * window.el (split-window-sensibly): Make WINDOW argument
245 optional.
246
439f7677
CY
2472012-07-18 Chong Yidong <cyd@gnu.org>
248
9aeb25a6
CY
249 * subr.el (keyboard-translate): Doc fix (Bug#7261).
250
439f7677
CY
251 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
252 and make C-x 8 RET exit isearch (Bug#11439).
253
254 * international/iso-transl.el: Move isearch-mode-map key
255 definitions to isearch.el.
256
12999ea8
SM
2572012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
260 (eieio-defclass): Use gv-define-setter when possible.
261
3ab6e069
DA
2622012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
263
264 Reflect recent changes in Fgarbage_collect.
265 * emacs-lisp/chart.el (chart-emacs-storage): Change to
266 reflect new format of data returned by Fgarbage_collect.
267
0a60bc10
FEG
2682012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
269
270 New utility functions + python-info-ppss-context fix (Bug#11910).
271 * progmodes/python.el (python-info-beginning-of-block-statement-p)
272 (python-info-ppss-comment-or-string-p): New functions.
273 (python-info-ppss-context): Small fix for string check.
274
6dafa0d5
JL
2752012-07-17 Juri Linkov <juri@jurta.org>
276
277 * dired-aux.el (dired-do-async-shell-command): Doc fix.
278 (dired-do-async-shell-command): Don't add `*' at the end of the
279 command (Bug#11815).
280 (dired-do-shell-command): Doc fix.
281 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
282 Join the individual commands using either "&" or ";" as the
283 separator depending on the values of these trailing characters.
284 At the end re-add the trailing "&". (Bug#10598)
285
286 * simple.el (async-shell-command): Sync the interactive spec with
287 `shell-command'. Doc fix.
288 (shell-command): Doc fix.
289
b19dd9d1
JL
2902012-07-17 Juri Linkov <juri@jurta.org>
291
292 * descr-text.el (describe-char): Fix format args. (Bug#10129)
293
bcdc27d7 2942012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 295
bcdc27d7 296 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
297 * progmodes/python.el (python-nav-beginning-of-statement):
298 Rename from python-nav-statement-start.
bcdc27d7
FEG
299 (python-nav-end-of-statement): Rename from
300 python-nav-statement-end.
301 (python-nav-beginning-of-block): Rename from
302 python-nav-block-start.
303 (python-nav-end-of-block): Rename from python-nav-block-end.
304
191da00e
FEG
3052012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
306
7f5331cc
MY
307 * progmodes/python.el (python-shell-send-string-no-output):
308 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
309 future interactions (Bug#11868).
310
4dc7c8d5 3112012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 312
88ecaf8f
SM
313 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
314
ef501ef0
SM
315 * emacs-lisp/elint.el (elint-find-args-in-code):
316 Use help-function-arglist, so as to handle lexical byte-code.
317
aa7aaf8f
SM
318 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
319 change (bug#11826).
320
45fd731c
SM
3212012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
322
2143fa32
SM
323 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
324 Avoid spuriously marking the buffer as modified because of c-is-sws.
325
efc26dbe
SM
326 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
327 as not-a-comment (bug#11946).
328
f5695c9a
SM
329 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
330 for uninterned vars.
331
332 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
333 Use read-event since we don't really want to read chars but bytes.
334
45fd731c
SM
335 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
336 $$..$$ but also $..$ using regexps (bug#11953).
337 Use tex-verbatim for \url and \path.
338 (tex-font-lock-keywords): Define as defconst like the others.
339 (tex-common-initialization): Don't use font-lock-syntax-table any more.
340
ddfc8813
RK
3412012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
342
343 * international/mule-cmds.el (ucs-insert): Make it an obsolete
344 alias for insert-char.
345
758e556a
FEG
3462012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
347
348 * progmodes/python.el: Simplified imenu implementation.
349 (python-nav-jump-to-defun): Remove command.
350 (python-mode-map): Use `imenu' instead.
351 (python-nav-list-defun-positions-cache)
352 (python-imenu-include-defun-type, python-imenu-make-tree)
353 (python-imenu-subtree-root-label, python-imenu-index-alist):
354 Remove vars.
355 (python-nav-list-defun-positions, python-nav-read-defun)
356 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
357 (python-imenu-make-tree, python-imenu-create-index):
358 Remove functions.
758e556a
FEG
359 (python-mode): Update to interact with imenu by setting
360 `imenu-extract-index-name-function' only.
361
032d23ab
FEG
3622012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
363
364 * progmodes/python.el: Enhancements to navigation commands.
365 (python-nav-backward-sentence)
366 (python-nav-forward-sentence): Remove.
367 (python-nav-backward-statement, python-nav-forward-statement)
368 (python-nav-statement-start, python-nav-statement-end)
369 (python-nav-backward-block, python-nav-forward-block)
370 (python-nav-block-start, python-nav-block-end)
371 (python-nav-forward-sexp-function)
372 (python-info-current-line-comment-p)
373 (python-info-current-line-empty-p): New functions.
374 (python-indent-context): Use `python-nav-statement-start'.
375
01795a1b
MA
3762012-07-16 Michael Albinus <michael.albinus@gmx.de>
377
9328d9aa
MA
378 * eshell/em-ls.el (eshell/ls): Use `apply'.
379
380 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
381 multi-hops, instead of Tramp internals.
382
01795a1b
MA
383 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
384
385 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
386 when F1 and F2 are located on different hosts.
387
63408057
CY
3882012-07-14 Chong Yidong <cyd@gnu.org>
389
390 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
391 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
392 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
393 (xterm-mouse--read-event-sequence-1000)
394 (xterm-mouse--read-event-sequence-1006): New functions. For old
395 mouse protocol, handle M-mouse-X events correctly.
396 (xterm-mouse-event): New arg specifying mouse protocol.
397 (turn-on-xterm-mouse-tracking-on-terminal)
398 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
399 sequence to toggle extended coordinates on newer XTerms.
400 This appears to be harmless on terminals which do not support this.
63408057 401
cd276f6e
LL
4022012-07-14 Leo Liu <sdl.web@gmail.com>
403
28ca98ac
LL
404 Add fringe bitmap indicators for flymake. (Bug#11253)
405 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
406 (flymake-make-overlay): New arg BITMAP.
407 (flymake-error-bitmap, flymake-warning-bitmap)
408 (flymake-fringe-indicator-position): New user variables.
409
cd276f6e
LL
410 * fringe.el: New bitmap exclamation-mark.
411
04408072
JD
4122012-07-14 Jan Djärv <jan.h.d@swipnet.se>
413
414 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
415 also (Bug#7879).
416
b5cf7fc4
CY
4172012-07-14 Chong Yidong <cyd@gnu.org>
418
419 * electric.el (electric-pair-post-self-insert-function): Fix pair
420 insertion in empty-region case (Bug#11520).
421
be755c79
RT
4222012-07-14 Chong Yidong <cyd@gnu.org>
423
45fd731c
SM
424 * bindings.el: Consolidate ctl-x-r-map bindings.
425 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
426
427 * rect.el, register.el: Move bindings to bindings.el.
428
4292012-07-14 Reuben Thomas <rrt@sc3d.org>
430
431 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
432
7f5b3198
AS
4332012-07-13 Andreas Schwab <schwab@linux-m68k.org>
434
435 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
436
97662200
JB
4372012-07-13 Juanma Barranquero <lekktu@gmail.com>
438
80185fed
JB
439 * bindings.el (top): Use `mapc' instead of `mapcar'.
440
97662200
JB
441 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
442
2bb1ae55
MA
4432012-07-13 Michael Albinus <michael.albinus@gmx.de>
444
445 * progmodes/sql.el (sql-comint): Suppress the check for program on
446 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
447 (Bug#11908)
448
dea31bd3
CY
4492012-07-13 Chong Yidong <cyd@gnu.org>
450
451 * bindings.el: Assign a non-nil permanent-local property to
452 per-buffer variables which lack a default value (Bug#11930).
453
454 * help-fns.el (describe-variable): In the "automatically becomes
455 local" notice, take note of permanent-local variables.
456
b68b3337
CY
4572012-07-13 Chong Yidong <cyd@gnu.org>
458
459 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
460 to allow printing the message when called from Lisp.
461
462 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
463 Remove toggle-read-only.
464
465 * bs.el (bs-toggle-readonly):
45fd731c
SM
466 * buff-menu.el (Buffer-menu-toggle-read-only):
467 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
468
469 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
470 Remove with-no-warnings around toggle-read-only.
471 (ffap-read-only, ffap-read-only-other-window)
472 (ffap-read-only-other-frame): Callers changed.
473
474 * help-mode.el: Don't require view package.
475 (help-mode-finish): Set buffer-read-only instead of calling
476 toggle-read-only.
477
478 * bindings.el (mode-line-toggle-read-only):
479 * dired.el (dired-toggle-read-only):
480 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
481 with non-nil second arg.
482
483 * emacs-lisp/eieio-custom.el (eieio-customize-object):
484 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
485 directly.
486
56bc1586
EZ
4872012-07-12 Eli Zaretskii <eliz@gnu.org>
488
489 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
490 not incf.
491
a464a6c7
SM
4922012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 More CL cleanups and reduction of use of cl.el.
495 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
496 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
497 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
498 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
499 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
500 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
501 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
502 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
503 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
504 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
505 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
506 * eshell/em-cmpl.el, eshell/em-banner.el:
507 * calendar/parse-time.el: Use cl-lib.
508 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
509 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
510 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
511 * term/ns-win.el, term.el, shell.el, ps-samp.el:
512 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
513 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
514 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
515 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
516 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
517 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
518 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
519 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
520 `lambda' rather than with `quote'.
521 (eshell-do-opt): Adjust accordingly.
522 (eshell-process-option): Simplify.
523 * eshell/esh-var.el:
524 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
525 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
526 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
527 to `pcase--dontcare'.
528 * emacs-lisp/cl.el (labels): Mark obsolete.
529 (cl--letf, letf): Move to cl-lib.
530 (cl--letf*, letf*): Remove.
531 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
532 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
533 (cl-progv): Rewrite.
534 (cl--letf, cl-letf): Move from cl.el.
535 (cl-letf*): New macro.
536 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
537
7ad4afe1
MA
5382012-07-11 Michael Albinus <michael.albinus@gmx.de>
539
540 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
541
9af57756
CY
5422012-07-11 Chong Yidong <cyd@gnu.org>
543
544 * vc/log-edit.el (log-edit-vc-backend): New variable.
545 (log-edit): Doc fix.
546
547 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
548 argument of log-edit to set up all local variables.
549 (vc-start-logentry): New optional arg specifying VC backend.
550
551 * vc/vc.el (vc-checkin): Use it.
552 (vc-deduce-fileset): Handle Log Edit buffers.
553 (vc-diff): Make first argument optional too.
554
555 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
556
8477cc7a
MA
5572012-07-10 Michael Albinus <michael.albinus@gmx.de>
558
559 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
560 command, just in case. The function is not needed anymore.
561 (eshell-external-command): Do not call `eshell-remote-command'.
562
19faa8e8
SM
5632012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
564
f58e0fd5
SM
565 Reduce use of (require 'cl).
566 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
567 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
568 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
569 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
570 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
571 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
572 * battery.el, avoid.el, abbrev.el: Use cl-lib.
573 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
574 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
575 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
576 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
577 * calculator.el, autorevert.el, apropos.el: Don't require CL.
578 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
579 (byte-compile-unfold-bcf, byte-compile-check-variable):
580 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
581 (byte-compile-nilconstp):
582 * emacs-lisp/autoload.el (make-autoload): Use pcase.
583 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
584
2519d43a
SM
585 * emacs-lisp/gv.el (cond): Make it a valid place.
586 (if): Simplify slightly.
587
19faa8e8
SM
588 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
589 (pcase--self-quoting-p): New function.
590 (pcase--u1): Use it.
591
c4907a5e
GM
5922012-07-10 Glenn Morris <rgm@gnu.org>
593
594 * emacs-lisp/authors.el (authors-fixed-entries):
595 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
596
c4444d16
PE
5972012-07-09 Paul Eggert <eggert@cs.ucla.edu>
598
599 Rename configure.in to configure.ac (Bug#11603).
600 * emacs-lisp/authors.el (authors-canonical-file-name):
601 * progmodes/autoconf.el (autoconf-mode):
602 Prefer configure.ac to configure.in.
603
d75be97d
CY
6042012-07-08 Chong Yidong <cyd@gnu.org>
605
01ac65bd
CY
606 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
607 Implement the mouse-1-click-follows-link handling properly.
608
609 * info.el (Info-link-keymap): Use follow-link mechanism for
610 header-line links (Bug#374).
611
d75be97d
CY
612 * simple.el (deactivate-mark): Do not set the primary selection
613 if another program has acquired it (Bug#11772).
614
87a92845 6152012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
616
617 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
618 (woman-decode-region): Replace escaped-escapes without destroying
619 bold or underline (Bug#11552).
87a92845 620 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 621
621b9d6c
CY
6222012-07-07 Chong Yidong <cyd@gnu.org>
623
624 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
625 (interprogram-cut-function, interprogram-paste-function):
626 Mention that we typically mean the clipboard.
621b9d6c 627
133a11fc
GM
6282012-07-06 Glenn Morris <rgm@gnu.org>
629
0d27a45e
GM
630 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
631
133a11fc
GM
632 * files.el (toggle-read-only): Restrict message to interactive use.
633
07b151f1
MA
6342012-07-06 Michael Albinus <michael.albinus@gmx.de>
635
636 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
637
638 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
639
211b896b
GM
6402012-07-06 Glenn Morris <rgm@gnu.org>
641
50394322
GM
642 * Makefile.in (compile-one-process): Rename from "recompile".
643
211b896b
GM
644 * Makefile.in (bzr-update): "compile" is the same as "recompile
645 autoloads", but parallelizable, so use that instead.
646
4737eec9
DG
6472012-07-06 Dmitry Gutov <dgutov@yandex.ru>
648
649 * window.el (quit-window): Always restore window height when
8137e7b3 650 it's saved in quit-restore parameter (Bug#11810).
4737eec9 651
226c3633 6522012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
653
654 * simple.el (kill-whole-line): Doc tweak.
655
226c3633 6562012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
657
658 * files.el (file-relative-name): Compare file names
659 case-insensitively if on MS-Windows or MS-DOS, or if
660 read-file-name-completion-ignore-case is non-nil. Don't use
661 case-fold-search for this purpose. (Bug#11827)
662
4dc7c8d5
SM
6632012-07-17 Andreas Schwab <schwab@linux-m68k.org>
664
665 * calendar/cal-dst.el (calendar-current-time-zone):
666 Return calendar-current-time-zone-cache if non-nil.
667
6682012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 6692012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 670
19faa8e8
SM
671 * calendar/cal-dst.el (calendar-current-time-zone):
672 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 673
60198fc9
GM
6742012-07-06 Glenn Morris <rgm@gnu.org>
675
676 * Makefile.in (cvs-update): Remove old alias.
677
957b3189
MA
6782012-07-05 Michael Albinus <michael.albinus@gmx.de>
679
680 Sync with Tramp 2.2.6-pre.
681
682 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
683 compatible declaration.
684
19faa8e8
SM
685 * net/tramp-cmds.el (tramp-append-tramp-buffers):
686 Protect `list-load-path-shadows' call.
957b3189
MA
687
688 * net/tramp-compat.el (top): Require packages, which aren't
689 autoloaded anymore for XEmacs. Protect call of
690 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
691 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
692 it hurts at least for SXEmacs.
693 (tramp-compat-temporary-file-directory): In XEmacs, there is no
694 standard-value for `temporary-file-directory'.
695
696 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
697 Redirect stderr to /dev/null.
698 (tramp-sh-handle-write-region): uid and gid can be floats.
699 Reported by Russell Sim <russell.sim@gmail.com>.
700 (tramp-sh-handle-vc-registered): Hide errors.
701 (tramp-vc-file-name-handler): Use dummy results for `process-file'
702 and `start-file-process'.
703 (tramp-maybe-open-connection): Check also whether `non-essential'
704 is bound.
705
566df3fc
CY
7062012-07-04 Chong Yidong <cyd@gnu.org>
707
708 * xml.el (xml--parse-buffer): Use xml-syntax-table.
709 (xml-parse-tag): Likewise, and avoid changing entity tables.
710 (xml-syntax-table): Define from scratch, making sure not to give
711 x2000 and other Unicode spaces whitespace syntax, since those are
712 not spaces in XML.
713 (xml-parse-fragment): Delete unused function.
714 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
715 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
716 (xml-entity-ref, xml-pe-reference-re)
717 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
718 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
719 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
720 (xml-entity-value-re): Use syntax references in regexps where
721 possible; no need to define inside a let-binding.
722 (xml-parse-dtd): Use xml-pe-reference-re.
723 (xml-entity-or-char-ref-re): New defconst.
724 (xml-parse-string, xml-substitute-special): Use it.
725
30eabd7a
SM
7262012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
727
0781098a
SM
728 * files.el (locate-dominating-file): Allow `name' to be a predicate.
729 (find-file--read-only): New function.
730 (find-file-read-only, find-file-read-only-other-window)
731 (find-file-read-only-other-frame): Use it.
732 (insert-file-contents-literally): Don't `fset'.
733 (get-free-disk-space): Use locate-dominating-file.
734
b5771c0d
SM
735 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
736 function is already compiled.
737
30eabd7a
SM
738 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
739
b4886f6e
MA
7402012-07-03 Michael Albinus <michael.albinus@gmx.de>
741
742 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
743 files on the same host.
744
b9d82339
AS
7452012-07-03 Andreas Schwab <schwab@linux-m68k.org>
746
747 * help-fns.el (describe-function-1): Only call
748 help-fns--autoloaded-p when we have a file name. (Bug#11848)
749
a76e6535
CY
7502012-07-03 Chong Yidong <cyd@gnu.org>
751
752 * xml.el: Protect parser against XML bombs.
753 (xml-entity-expansion-limit): New variable.
754 (xml-parse-string, xml-substitute-special): Use it.
755 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
756
b544fef2
GM
7572012-07-03 Glenn Morris <rgm@gnu.org>
758
759 * progmodes/bug-reference.el (bug-reference-bug-regexp):
760 Allow linking to specific messages in debbugs reports (eg 123#5).
761
a7aef6f5
CY
7622012-07-02 Chong Yidong <cyd@gnu.org>
763
764 * xml.el: Fix entity and character reference expansion, allowing
765 them to expand into markup as per XML spec.
766 (xml-default-ns): New variable.
767 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
768 (xml-parse-region): Make first two arguments optional.
769 Discard text properties.
770 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
771 All callers changed.
a7aef6f5
CY
772 (xml-parse-tag): Call xml-parse-tag-1. For backward
773 compatibility, this function should not modify buffer contents.
774 (xml-parse-tag-1): Fix opening-tag regexp.
775 (xml-parse-string): Rewrite, handling entity and character
776 references properly.
777 (xml--entity-replacement-text): Signal an error if a parameter
778 entity is undefined.
779
3df31c9f
SM
7802012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
781
2b5208f1
SM
782 * comint.el (comint-output-filter): Filter out repeated prompts.
783
3df31c9f
SM
784 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
785 and file-name-absolute-p.
786 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
787 internal calls.
788
e3ac1281
PE
7892012-07-02 Paul Eggert <eggert@cs.ucla.edu>
790
791 Spelling fixes.
792 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
793 Rename from byte-compile--refiy-function. All uses changed.
794
fbf2e7ad
CY
7952012-07-01 Chong Yidong <cyd@gnu.org>
796
797 * xml.el (xml--parse-buffer): New function. Move most of
798 xml-parse-region here.
799 (xml-parse-region): Copy region into a temporary buffer, since
800 parameter entity substitution requires changing buffer contents.
801 Use xml--parse-buffer.
802 (xml-parse-file): Use xml--parse-buffer.
803 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 804 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 805
9bf0aa15
GM
8062012-06-30 Glenn Morris <rgm@gnu.org>
807
bbce2853
GM
808 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
809
9bf0aa15
GM
810 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
811 Remove outdated and unnecessary dbus declarations.
812
0d23c240
EZ
8132012-06-30 Eli Zaretskii <eliz@gnu.org>
814
815 * emacs-lisp/timer.el (timer-until): Subtract results of
816 float-time, instead of taking float-time of the result of
817 time-subtract, since float-time signals an error for negative time
818 arguments.
819
b3218de1
CY
8202012-06-30 Chong Yidong <cyd@gnu.org>
821
822 * xml.el (xml-*-re): Convert defvars into defconsts, and
823 eval-and-compile them so eval-and-compile works on derivatives.
824 (xml--entity-replacement-text): Use eval-and-comple.
825
a40c87a0
MA
8262012-06-30 Michael Albinus <michael.albinus@gmx.de>
827
828 * vc/vc-git.el (vc-git-registered): Use cache property
829 `git-registered'.
830 (vc-git-mode-line-string): Call `vc-working-revision' instead of
831 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 832 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 833
ac87de97
DG
8342012-06-30 Dmitry Gutov <dgutov@yandex.ru>
835
836 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 837 removed (likely outside Emacs). (Bug#11757)
ac87de97 838
ac10fe06
SM
8392012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
840
3df31c9f 841 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 842
7f3fbd5d
CY
8432012-06-30 Chong Yidong <cyd@gnu.org>
844
845 * xml.el: Implement XML parameter entities.
846 (xml-parameter-entity-alist): New variable.
847 (xml-parse-region, xml-parse-fragment): Preserve previous values
848 of xml-entity-alist and xml-parameter-entity-alist, so that
849 repeated calls on different documents do not change them.
850 (xml-parse-tag): Fix doctype regexp.
851 (xml--entity-replacement-text): New function.
852 (xml-parse-dtd): Use it. Don't handle system entities; doing that
853 properly requires url retrieval which is unimplemented.
854 (xml-escape-string): Doc fix.
855
3cfbebba
SM
8562012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
859
2af3565e
DA
8602012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
861
862 * fringe.el (fringe-mode): Doc fix.
863
929df0e7
MA
8642012-06-29 Michael Albinus <michael.albinus@gmx.de>
865
866 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
867 is non-nil.
868 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
869 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
870
c8d3a25c 8712012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 872
c8d3a25c
GM
873 * calendar/cal-dst.el (calendar-current-time-zone):
874 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 875
c8d3a25c 8762012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
877
878 * progmodes/which-func.el (which-func-format):
879 Add mouse-face. (Bug#11698)
880
c8d3a25c
GM
8812012-06-29 Leo Liu <sdl.web@gmail.com>
882
883 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
884
8852012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * minibuffer.el (minibuffer-confirm-exit-commands):
888 Add completion-at-point (bug#11725).
889
8902012-06-29 Glenn Morris <rgm@gnu.org>
891
892 * progmodes/f90.el (f90-font-lock-keywords-2):
893 Add some preprocessor elements. (Bug#10499)
894
8952012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * progmodes/cperl-mode.el (cperl-update-syntaxification):
898 Use syntax-propertize (bug#11739).
899
2badeec4
JB
9002012-06-28 Juanma Barranquero <lekktu@gmail.com>
901
902 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
903
ae4969c2
JD
9042012-06-28 Julien Danjou <julien@danjou.info>
905
906 * term.el (term-handle-colors-array): Use a set of new faces to
907 color the terminal. Also uses :inverse-video property.
908 (term-default-fg-color): Set to nil by default, deprecate in favor
909 of `term-face'.
910 (term-default-bg-color): Set to nil by default, deprecate in favor
911 of `term-face'.
912 (term-current-face): Use `term-face' by default.
913 (term-bold-attribute): Variable deleted.
914
1c9bd870
GM
9152012-06-28 Glenn Morris <rgm@gnu.org>
916
917 * simple.el (completion-list-mode-finish):
918 Don't use toggle-read-only. (Since completion-list-mode has
919 a special mode-class, it wasn't doing anything extra anyway.)
920
c207708c
SM
9212012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 Make inlining of other-mode interpreted functions work (bug#11799).
924 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
925 (byte-compile): Use it to fix compilation of lexical-binding closures.
926 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
927 function, if needed.
928
3fd56834
SM
9292012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
930
04901786
SM
931 * help-mode.el (help-make-xrefs): Don't just withstand
932 cyclic-variable-indirection but any error in documentation-property.
933
1ec4b7b2
SM
934 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
935 memory use.
936 * bindings.el (bindings--define-key): New function.
937 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
938 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
939 * bindings.el: Use it to purecopy define-key bindings.
940
e309e2a5
SM
941 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
942
d5c6faf9
SM
943 * emacs-lisp/cl.el (flet): Mark obsolete.
944 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
945 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
946 * progmodes/js.el (js-c-fill-paragraph):
947 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
948 (ebrowse-switch-member-buffer-to-derived-class):
949 * play/5x5.el (5x5-solver): Use cl-flet.
950
6e9590e2
SM
951 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
952 (cl--symbol-function): New macro.
953 (cl--letf, cl--letf*): Use it.
954
3fd56834
SM
955 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
956 Strip "toggle-" if any.
957
35ff222c
GM
9582012-06-27 Glenn Morris <rgm@gnu.org>
959
1ba6038a
GM
960 * info.el (Info-default-directory-list): Move here from paths.el.
961 * paths.el: Remove file, which is now empty.
962 * loadup.el: No longer load "paths".
963
0ea0e51b
GM
964 * custom.el (custom-initialize-delay): Doc fix.
965
35ff222c
GM
966 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
967 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
968 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
969 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
970 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
971 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
972 * eshell/eshell.el (eshell-defgroup): Remove alias.
973
c89926a5
CY
9742012-06-27 Chong Yidong <cyd@gnu.org>
975
976 * help.el (help-enable-auto-load): New variable.
977
978 * help-fns.el (help-fns--autoloaded-p): New function.
979 (describe-function-1): Refer to a function as "autoloaded" if it
980 was autoloaded at any time in the past. Perform autoloading if
981 help-enable-auto-load is non-nil.
982
cc06e7e7
EZ
9832012-06-26 Eli Zaretskii <eliz@gnu.org>
984
985 * makefile.w32-in (compile, compile-always): Depend on
986 update-subdirs, not on subdirs.el. Otherwise, several different
987 sub-targets of 'bootstrap' running in parallel could
988 simultaneously write to subdirs.el, producing a garbled file.
989
d2c32364
SS
9902012-06-26 Sam Steingold <sds@gnu.org>
991
992 * files.el (file-name-base): New convenience function.
0d14cc21
GM
993 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
994 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
995 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
996 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
997 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
998 * textmodes/tex-mode.el: Use it.
999 Did not touch cedet and org because they are maintained elsewhere.
1000
5cf983b2
MR
10012012-06-26 Martin Rudalics <rudalics@gmx.at>
1002
1003 * calendar/calendar.el (calendar-exit): Don't try to delete or
1004 iconify last frame. See:
1005 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1006
8c4f2952
JD
10072012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1008
1009 * server.el (server-process-filter): Remember dir in the
1010 process's `server-client-directory' properties.
1011
772b2e2c
CY
10122012-06-24 Chong Yidong <cyd@gnu.org>
1013
1014 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1015 non-tag text.
1016
711b11e1
JB
10172012-06-23 Juanma Barranquero <lekktu@gmail.com>
1018
1019 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1020
dc5d230c
SM
10212012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * help-fns.el (describe-variable): Don't croak when doc is not found.
1024 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1025 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1026 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1027 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1028 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1029 ((lambda ..) ..).
1030 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1031
136e1c1d
CY
10322012-06-23 Chong Yidong <cyd@gnu.org>
1033
e8c1cabf
CY
1034 * info.el (Info-mouse-follow-link): Accept symbol values of
1035 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1036 (Info-fontify-node): Use Info-link-keymap for all navigation
1037 buttons, with link-args property to perform the desired action.
1038 (Info-link-keymap): Doc fix.
1039 (Info-next-link-keymap, Info-prev-link-keymap)
1040 (Info-up-link-keymap): Delete now-unused keymaps.
1041
0e9e6c6a
CY
10422012-06-23 Chong Yidong <cyd@gnu.org>
1043
05e89fea
CY
1044 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1045
0e9e6c6a
CY
1046 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1047 system abbrevs.
1048
1049 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1050
e33c6771
SM
10512012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1052
b68581e2
SM
1053 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1054 (bug#11719).
1055
e33c6771
SM
1056 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1057 the requote function doesn't work properly (bug#11714).
1058
7117e105
GM
10592012-06-23 Glenn Morris <rgm@gnu.org>
1060
1061 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1062
36cec983
SM
10632012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 Further GV/CL cleanups.
1066 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1067 gv-expander.
1068 (gv--defun-declaration): New function.
1069 (defun-declarations-alist): Use it.
1070 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1071 (gv-place): Autoload.
1072 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1073 original definition of dotimes and dolist.
1074 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1075 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1076 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1077 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1078 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1079 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1080 to the function's definition.
1081 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1082 * window.el:
1083 * files.el:
1084 * faces.el:
1085 * env.el: Don't use CL.
1086
d35af63c
PE
10872012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1088
1089 Support higher-resolution time stamps (Bug#9000).
1090
1091 * calendar/time-date.el (with-decoded-time-value): New arg
1092 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1093 (encode-time-value): New optional arg PICO. New type 3.
1094 (time-to-seconds) [!float-time]: Support the new picoseconds
1095 component if it's used.
1096 (seconds-to-time, time-subtract, time-add):
1097 Support ps-resolution time stamps as well.
1098
1099 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1100 (timerp): Timer vectors now have length 9, not 8.
1101 (timer--time): Support new-style (4-part) time stamps.
1102 (timer-next-integral-multiple-of-time): Time stamps now have
1103 picosecond resolution, so take a bit more care about rounding.
1104 (timer-relative-time, timer-inc-time): New optional arg psecs.
1105 (timer-set-time-with-usecs): Set psecs to 0.
1106 (timer--activate): Check psecs component, too.
1107
1108 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1109
ac77b21a
SM
11102012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1111
f143bfe3
SM
1112 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1113 Move the non-essential binding to the post/pre-command-hook where it is
1114 more obviously correct.
1115
ac77b21a
SM
1116 * subr.el (read-passwd): Don't use a history at all.
1117 * savehist.el (savehist-save): Remove password saved accidentally
1118 because of the above bug.
1119
76386c5a
BG
11202012-06-22 Bastien Guerry <bzg@gnu.org>
1121
1122 * files.el (toggle-read-only): Display a message telling whether
1123 the buffer is read-only or not (bug#11726).
1124
2ee3d7f0
SM
11252012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * emacs-lisp/gv.el: New file.
1128 * subr.el (push, pop): Extend to generalized variables.
1129 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1130 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1131 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1132 gv-define-simple-setter, and gv-define-expander.
1133 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1134 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1135 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1136 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1137 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1138 gv-letplace.
1139 (cl-defstruct): Don't define setf-method any more.
1140 * emacs-lisp/cl.el (flet): Don't autoload.
1141 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1142 (define-setf-expander, defsetf, define-modify-macro)
1143 (cl-struct-setf-expander): Move from cl-lib.el.
1144 * emacs-lisp/syntax.el:
1145 * emacs-lisp/ewoc.el:
1146 * emacs-lisp/smie.el:
1147 * emacs-lisp/cconv.el:
1148 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1149 (timer--time): Use gv-define-simple-setter.
1150 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1151 to avoid coding-system problems in subr.el. Adjust all users.
1152 (macroexp--maxsize, macroexp-small-p): New functions.
1153 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1154 * scroll-bar.el (scroll-bar-mode):
1155 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1156 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1157 * winner.el (winner-configuration, winner-make-point-alist)
1158 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1159 * files.el (locate-file-completion-table): Avoid list*.
1160
c5695d1d
CY
11612012-06-22 Chong Yidong <cyd@gnu.org>
1162
1163 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1164 (dired-create-files): Doc fix (Bug#11329).
1165 (dired-do-copy): Doc fix (Bug#11334).
1166 (dired-mark-read-string): Doc fix (Bug#11553).
1167
2ee3d7f0
SM
1168 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1169 Doc fix (Bug#11326).
c5695d1d
CY
1170 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1171 (dired-dwim-target): Doc fix.
1172
1173 * wdired.el (wdired-mode): Doc fix.
1174
89b5595a
GM
11752012-06-22 Glenn Morris <rgm@gnu.org>
1176
575db3f1
GM
1177 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1178 (pcmpl-rpm-cache-stamp-file): New constant.
1179 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1180 (pcmpl-rpm-packages): Optionally cache list of packages.
1181
a4c8dd51
GM
1182 * pcmpl-rpm.el (pcmpl-rpm): New group.
1183 (pcmpl-rpm-query-options): New option.
1184 (pcmpl-rpm-packages): No need to inline it.
1185 Use pcmpl-rpm-query-options.
1186
89b5595a
GM
1187 * calendar/calendar.el (calendar-in-read-only-buffer):
1188 Avoid some needless mode changes.
1189
e76f0800
CY
11902012-06-21 Chong Yidong <cyd@gnu.org>
1191
1192 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1193 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1194 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1195
297a8f1d
CY
11962012-06-20 Chong Yidong <cyd@gnu.org>
1197
1198 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1199
d34c18b1
DR
12002012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1201
1202 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1203 (bug#11201).
1204
32f7f28e
CY
12052012-06-20 Chong Yidong <cyd@gnu.org>
1206
1207 * term.el (term-window-width): Handle the case of a missing right
1208 fringe (Bug#8837).
1209 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1210 (term-mode): Use define-derived-mode. Minor cleanups.
1211 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1212 (term-move-columns, term-insert-char, term-emulate-terminal)
1213 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1214
493c6688
MA
12152012-06-20 Michael Albinus <michael.albinus@gmx.de>
1216
d34c18b1
DR
1217 * net/ange-ftp.el (ange-ftp-get-passwd):
1218 Bind `enable-recursive-minibuffers'.
493c6688
MA
1219 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1220
3f06ecf4
DR
12212012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1222
1223 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1224
68f12411
GM
12252012-06-19 Glenn Morris <rgm@gnu.org>
1226
1227 * progmodes/python.el (python-mode): Derive from prog-mode.
1228
b3820318
KG
12292012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1230
1231 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1232 (edt-user-menu-bar-update-buffers): New functions.
1233 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1234
c6bf3022
CY
12352012-06-19 Chong Yidong <cyd@gnu.org>
1236
1237 * subr.el (with-selected-window): Preserve the selected window's
1238 terminal's top-frame (Bug#4702).
1239
1240 * window.el (save-selected-window): Likewise.
1241
25f09295
SM
12422012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * progmodes/python.el (python-rx-constituents): Move backquote.
1245 (python-skeleton-define, python-define-auxiliary-skeleton):
1246 Use `declare'.
1247
6b11952a
MA
12482012-06-18 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * minibuffer.el (read-file-name-default): Revert the patch from
1251 2012-06-17.
1252
ee4b1330
SM
12532012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1256 (pcase--u1, pcase--q1): Don't use apply-partially.
1257
35647f79
GM
12582012-06-18 Glenn Morris <rgm@gnu.org>
1259
1260 * progmodes/python.el (python-proc, python-buffer)
1261 (python-send-receive, python-send-string): Fix obsolete versions.
1262
24b0cff0
MR
12632012-06-18 Martin Rudalics <rudalics@gmx.at>
1264
1265 * window.el (special-display-p): Completely remove stringp
1266 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1267
29855149
MA
12682012-06-17 Michael Albinus <michael.albinus@gmx.de>
1269
1270 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1271
1272 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1273
1274 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1275 * net/tramp-sh.el (tramp-maybe-open-connection):
1276 Throw if `non-essential' is non-nil.
1277
07463363
MR
12782012-06-17 Martin Rudalics <rudalics@gmx.at>
1279
1280 * window.el (special-display-p): Signal an error if BUFFER-NAME
1281 is not a string (Bug#11713).
1282
48d1354e
PE
12832012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1284
1285 * progmodes/python.el (python-info-beginning-of-backslash):
1286 Rename from python-info-beginning-of-backlash, as a spelling fix.
1287
eb4a8a9a
CY
12882012-06-17 Chong Yidong <cyd@gnu.org>
1289
1290 * term.el (term-emulate-terminal): If term-check-size is called,
1291 move point to the process mark without resetting point (Bug#4635).
1292
ddfbf826 12932012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1294
1295 * international/mule-cmds.el (mule-menu-keymap)
1296 (set-language-environment, set-locale-environment): Doc tweaks.
1297
9b0e3eba
AA
12982012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1299
1300 * cus-face.el (custom-face-attributes): Add wave-style underline
1301 attribute.
1302 * faces.el (set-face-attribute): Update docstring to describe
1303 wave-style underline attribute.
1304
771e3eae
CY
13052012-06-16 Chong Yidong <cyd@gnu.org>
1306
1307 * term/xterm.el (terminal-init-xterm): Discard input before
1308 querying background mode (Bug#10959).
1309
7ae2ea10
SM
13102012-06-16 Stefan Merten <smerten@oekonux.de>
1311
1312 * textmodes/rst.el: Added and corrected some comments.
1313 (rst-re-alist-def): Improve symbol syntax.
1314 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1315 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1316 (rst-official-version, rst-official-cvs-rev): Update version
1317 information.
7ae2ea10 1318
b6974efa
JB
13192012-06-15 Juanma Barranquero <lekktu@gmail.com>
1320
1321 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1322 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1323
8826d473
GM
13242012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1325
1326 * progmodes/python.el: New python.el merge.
1327 (python-guess-indent): Obsolete var.
1328 (python-indent-guess-indent-offset): New defcustom.
1329 (python-indent): Obsolete var.
1330 (python-indent-offset): New defcustom.
1331 (python-python-command, python-jython-command): Delete var.
1332 (python-shell-interpreter): New defcustom.
1333 (python-pdbtrack-do-tracking-p): Delete var.
1334 (python-pdbtrack-activate): New defcustom.
1335 (python-use-skeletons): Obsolete var.
1336 (python-skeleton-autoinsert): New defcustom.
1337 (inferior-python-filter-regexp, python-continuation-offset)
1338 (python-honour-comment-indentation, python-indent-string-contents)
1339 (python-jython-packages, python-mode-hook)
1340 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1341 (python-shell-prompt-alist)
1342 (python-source-modes): Delete defcustoms.
1343 (python-check-buffer-name, python-eldoc-setup-code)
1344 (python-eldoc-string-code, python-ffap-setup-code)
1345 (python-ffap-string-code, python-fill-comment-function)
1346 (python-fill-decorator-function, python-fill-paren-function)
1347 (python-fill-string-function, python-imenu-include-defun-type)
1348 (python-imenu-make-tree, python-imenu-subtree-root-label)
1349 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1350 (python-shell-compilation-regexp-alist)
1351 (python-shell-completion-module-string-code)
1352 (python-shell-completion-pdb-string-code)
1353 (python-shell-completion-setup-code)
1354 (python-shell-completion-string-code)
1355 (python-shell-enable-font-lock, python-shell-exec-path)
1356 (python-shell-extra-pythonpaths)
1357 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1358 (python-shell-process-environment)
1359 (python-shell-prompt-block-regexp)
1360 (python-shell-prompt-output-regexp)
1361 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1362 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1363 (python-shell-virtualenv-path): New defcustoms.
1364 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1365 (inferior-python-mode-syntax-table, python--prompt-regexp)
1366 (python-buffer, python-command python-python-command)
1367 (python-default-template, python-imports, python-indent-index)
1368 (python-indent-list, python-indent-list-length)
1369 (python-mode-running, python-pdbtrack-is-tracking-p)
1370 (python-preoutput-continuation, python-preoutput-leftover)
1371 (python-preoutput-result, python-preoutput-skip-next-prompt)
1372 (python-prev-dir/file, python-recursing)
1373 (python-saved-check-command, python-version-checked)
1374 (python-which-func-length-limit)
1375 (view-return-to-alist): Delete vars.
1376 (python-check-custom-command, python-dotty-syntax-table)
1377 (python-imenu-index-alist, python-indent-current-level)
1378 (python-indent-dedenters, python-indent-levels)
1379 (python-nav-beginning-of-defun-regexp)
1380 (python-nav-list-defun-positions-cache)
1381 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1382 (python-shell-internal-buffer)
1383 (python-skeleton-available): New vars.
1384 (def-python-skeleton): Delete macro.
1385 (python-skeleton-define): New macro.
1386 (python-define-auxiliary-skeleton, python-rx): New macros.
1387 (python-insert-class): Delete command.
1388 (python-skeleton-class): New command.
1389 (python-insert-def): Delete command.
1390 (python-skeleton-def): New command.
1391 (python-insert-for): Delete command.
1392 (python-skeleton-for): New command.
1393 (python-insert-if): Delete command.
1394 (python-skeleton-if): New command.
1395 (python-insert-try/except, python-insert-try/finally): Delete commands.
1396 (python-skeleton-try): New command.
1397 (python-insert-while): Delete command.
1398 (python-skeleton-while): New command.
1399 (python-backspace): Delete command.
1400 (python-indent-dedent-line-backspace): New command.
1401 (python-electric-colon): Delete command.
1402 (python-indent-electric-colon): New command.
1403 (python-guess-indent): Delete command.
1404 (python-indent-guess-indent-offset): New command.
1405 (python-shift-left): Delete command.
1406 (python-indent-shift-left): New command.
1407 (python-shift-right): Delete command.
1408 (python-indent-shift-right): New command.
1409 (python-find-function): Delete command.
1410 (python-nav-jump-to-defun): New command.
1411 (python-next-statement): Delete command.
1412 (python-nav-forward-sentence): New command.
1413 (python-previous-statement): Delete command.
1414 (python-nav-backward-sentence): New command.
1415 (python-fill-paragraph): Delete command.
1416 (python-fill-paragraph-function): New command.
1417 (python-send-buffer): Delete command.
1418 (python-shell-send-buffer): New command.
1419 (python-send-defun): Delete command.
1420 (python-shell-send-defun): New command.
1421 (python-send-region, python-send-region-and-go): Delete commands.
1422 (python-shell-send-region)
1423 (python-shell-switch-to-shell): New commands.
1424 (python-send-string): Delete command.
1425 (python-shell-send-string): New command.
1426 (python-switch-to-python): Delete command.
1427 (python-shell-switch-to-shell): New command.
1428 (python-describe-symbol): Delete command.
1429 (python-eldoc-at-point): New command.
1430 (python--set-prompt-regexp, python-args-to-list)
1431 (python-after-info-look, python-check-version)
1432 (python-check-comint-prompt, python-find-imports)
1433 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1434 (python-unload-function, python-expand-template)
1435 (python-maybe-jython, python-preoutput-filter)
1436 (python-pdbtrack-get-source-buffer)
1437 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1438 (python-pdbtrack-toggle-stack-tracking)
1439 (python-pdbtrack-track-stack-file, python-initial-text)
1440 (python-first-word, python-comment-line-p, python-send-command)
1441 (python-setup-brm, python-sentinel, python-set-proc)
1442 (python-skip-out, python-input-filter, python-outdent-p)
1443 (python-outline-level, python-backslash-continuation-line-p)
1444 (python-end-of-block, python-end-of-statement, python-mark-block)
1445 (python-beginning-of-block, python-beginning-of-statement)
1446 (python-blank-line-p, python-beginning-of-string)
1447 (python-open-block-statement-p): Delete functions.
1448 (python-indent-line, python-indent-line-1): Delete functions.
1449 (python-indent-line): New function.
1450 (python-indentation-levels): Delete function.
1451 (python-indent-calculate-levels): New function.
1452 (python-proc): Delete function.
1453 (python-shell-get-process): New function.
1454 (python-send-receive): Delete function.
1455 (python-shell-send-string-no-output): New function.
1456 (python-module-path): Delete function.
1457 (python-ffap-module-path): New function.
1458 (python-completion-at-point)
1459 (python-symbol-completions): Delete functions.
1460 (python-completion-complete-at-point): New function.
1461 (python-load-file): Delete function.
1462 (python-shell-send-file): New function.
1463 (python-calculate-indentation): Delete function.
1464 (python-indent-calculate-indentation): New function.
1465 (python-skip-comments/blanks): Delete function.
1466 (python-util-forward-comment): New function.
1467 (python-continuation-line-p): Delete function.
1468 (python-info-continuation-line-p): New function.
1469 (python-which-func, python-current-defun): Delete function.
1470 (python-info-current-defun): New function.
1471 (python-beginning-of-defun): Delete function.
1472 (python-nav-beginning-of-defun): New function.
1473 (python-close-block-statement-p)
1474 (python-block-end-p): Delete function.
1475 (python-info-closing-block): New function.
1476 (python-comint-output-filter-function)
1477 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1478 (python-fill-comment, python-fill-decorator, python-fill-paren)
1479 (python-fill-string, python-imenu-make-element-tree)
1480 (python-imenu-make-tree, python-imenu-tree-assoc)
1481 (python-indent-context, python-indent-dedent-line)
1482 (python-indent-line-function)
1483 (python-indent-post-self-insert-function)
1484 (python-indent-toggle-levels)
1485 (python-info-assignment-continuation-line-p)
1486 (python-info-beginning-of-backlash)
1487 (python-info-block-continuation-line-p)
1488 (python-info-closing-block-message)
1489 (python-info-line-ends-backslash-p)
1490 (python-info-looking-at-beginning-of-defun)
1491 (python-info-ppss-context, python-info-ppss-context-type)
1492 (python-nav-list-defun-positions, python-nav-read-defun)
1493 (python-nav-sentence-end, python-nav-sentence-start)
1494 (python-pdbtrack-comint-output-filter-function)
1495 (python-pdbtrack-set-tracked-buffer)
1496 (python-shell-calculate-exec-path)
1497 (python-shell-calculate-process-environment)
1498 (python-shell-completion--do-completion-at-point)
1499 (python-shell-completion--get-completions)
1500 (python-shell-completion-complete-at-point)
1501 (python-shell-completion-complete-or-indent)
1502 (python-shell-get-or-create-process)
1503 (python-shell-get-process-name)
1504 (python-shell-internal-get-or-create-process)
1505 (python-shell-internal-get-process-name)
1506 (python-shell-internal-send-string, python-shell-make-comint)
1507 (python-shell-parse-command, python-shell-send-setup-code)
1508 (python-skeleton-add-menu-items)
1509 (python-util-clone-local-variables, python-util-position)
1510 (run-python-internal, python-indentation-levels)
1511 (python-nav-beginning-of-defun)
1512 (python-completion-complete-at-point): New functions.
1513 (run-python): Change arguments. New API requirements.
1514
4302f5ba
SM
15152012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1516
f38ea36d
SM
1517 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1518 (bug#11649).
1519
1520 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1521 (macroexp--expand-all): Use it.
1522
4302f5ba
SM
1523 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1524 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1525 Use `cl-function' instead.
1526
33377562
JB
15272012-06-14 Juanma Barranquero <lekktu@gmail.com>
1528
1529 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1530 Suggested by Stefan Monnier while discussing bug#11657.
1531
54c5ba1a
SS
15322012-06-14 Sam Steingold <sds@gnu.org>
1533
1534 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1535
f9f1b1fe
AS
15362012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1537
1538 * play/doctor.el (doctor-doc): Remove parameter and use
1539 doctor-sent instead of sent.
1540 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1541
a81068ba
SM
15422012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1543
5a315f9c
SM
1544 * files.el: Require cl-lib.
1545 (file-name-non-special): Replace case -> cl-case.
1546
1547 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1548
a81068ba
SM
1549 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1550 mapping from #' to function*.
1551
8cca9703
CY
15522012-06-13 Chong Yidong <cyd@gnu.org>
1553
1554 * mouse.el (mouse-drag-track): Do not set the mark if the user
1555 releases the mouse without selecting anything (Bug#11588).
1556
a12ac9d7
SM
15572012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1558
ccf1dc18
SM
1559 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1560 as well (bug#11646).
1561
ef62b23d
SM
1562 * loadup.el: Count byte-code functions as well.
1563
c4c8444a
SM
1564 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1565 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1566
a12ac9d7
SM
1567 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1568 (bug#11649). Add cl-defun and cl-defmacro.
1569
87e6e64f
DA
15702012-06-13 Drew Adams <drew.adams@oracle.com>
1571
1572 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1573 Fix last change.
1574
682cefaf
MA
15752012-06-13 Michael Albinus <michael.albinus@gmx.de>
1576
1577 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1578 Otherwise, it blocks in batch mode.
1579
773e1f08
JB
15802012-06-13 Juanma Barranquero <lekktu@gmail.com>
1581
1582 * help-mode.el (bookmark-make-record-default): Declare.
1583
60057926
CY
15842012-06-13 Chong Yidong <cyd@gnu.org>
1585
1586 * emacs-lisp/package.el (list-packages): Compute a list of
1587 packages that are newly-available since the last list-packages
1588 invocation.
1589 (package-menu--new-package-list): New var.
1590 (package-menu--generate, package-menu--print-info)
1591 (package-menu--status-predicate, package-menu-mark-install):
1592 Handle new status label "new".
1593
ad4d226c
SM
15942012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1597 conversion to backquotes.
1598
f1a4e679
CY
15992012-06-12 Chong Yidong <cyd@gnu.org>
1600
1601 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1602 Rename from gud-inhibit-global-bindings.
1603
1604 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1605
1606 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1607 hook from nxml-glyph-set-hook.
1608
1609 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1610 declaration.
1611
1612 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1613
1614 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1615 Convert to defcustom.
1616
0c9e42b5
DA
16172012-06-12 Drew Adams <drew.adams@oracle.com>
1618
1619 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1620 New functions.
1621 (help-mode): Use them.
1622
09e06855
GM
16232012-06-11 Glenn Morris <rgm@gnu.org>
1624
1625 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1626 Use preprocessor face for directives.
1627 (fortran-directive-re): Doc fix.
1628
71adb94b
SM
16292012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1630
2eb87922
SM
1631 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1632 conversion to backquotes (bug#11652).
1633
71adb94b
SM
1634 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1635 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1636 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1637 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1638 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1639 (cl-ninth, cl-tenth): Mark them as inlinable.
1640 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1641 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1642 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1643 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1644 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1645 (cl-list*, cl-adjoin): Don't put an autoload manually.
1646 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1647 (cl--compiler-macro-list*): Add autoload cookie.
1648 (cl--compiler-macro-cXXr): New function.
2eb87922 1649
71adb94b
SM
1650 * help-fns.el (help-fns--compiler-macro): New function extracted from
1651 describe-function-1; follow aliases and use `compiler-macro' property.
1652 (describe-function-1): Use it.
1653
a6674402
CY
16542012-06-11 Chong Yidong <cyd@gnu.org>
1655
1656 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1657 is uninstalled, if imagemagick is installed.
1658
bb3faf5b
SM
16592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 * emacs-lisp/cl-lib.el: Use lexical-binding.
1662 (cl-map-extents, cl-maclisp-member): Remove.
1663 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1664 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1665 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1666 * emacs-lisp/cl-extra.el: Use lexical-binding.
1667 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1668 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1669 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1670 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1671 * emacs-lisp/cl-seq.el: Use lexical-binding.
1672 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1673 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1674 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1675 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1676 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1677 CL's internals.
1678
2fe4b125
MA
16792012-06-11 Michael Albinus <michael.albinus@gmx.de>
1680
1681 Sync with Tramp 2.2.6-pre.
1682
1683 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1684 `print-length' and `print-level' to nil, in order to avoid
1685 truncation. Reported by Christopher Schmidt
1686 <christopher@ristopher.com>.
1687
1688 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1689
1690 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1691 New defmacro.
1692 (tramp-compat-copy-directory): Add optional argument
1693 COPY-CONTENTS. It is not handled yet.
1694
1695 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1696 (tramp-ftp-file-name-p): Simplify.
1697
1698 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1699 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1700 connection vector.
1701
1702 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1703 (tramp-methods): Do not use `tramp-password-end-of-line'.
1704 (tramp-completion-function-alist-putty): Handle UNIX case.
1705 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1706 (tramp-do-file-attributes-with-stat)
1707 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1708 gid as real numbers. They could run out of integer range on cygwin.
1709 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1710 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1711 (tramp-open-connection-setup-interactive-shell):
1712 Use `tramp-cleanup'. Move check for busyboxes ...
1713 (tramp-find-shell): ... here. Simplify implementation.
1714 Set "remote-shell" property also for alternative shells.
1715 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1716 If failing, a regular file would be written otherwise.
1717 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1718 (tramp-find-inline-encoding): Cache the coding commands in the
1719 process cache. Apply test command on the remote side, if defined.
1720 (tramp-find-inline-compress): Cache the compress commands in the
1721 process cache.
1722 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1723 when requested. Handle hops.
1724 (tramp-current-connection): New defvar.
87e6e64f
DA
1725 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1726 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1727 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1728 (tramp-get-inline-compress, tramp-get-inline-coding):
1729 Read connection properties from the process cache.
2fe4b125
MA
1730
1731 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1732 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1733 New defconsts.
2fe4b125
MA
1734 (tramp-smb-prompt): Extend for powershell prompt.
1735 (tramp-smb-file-name-handler-alist): Add handlers for
1736 `process-file', `shell-command' and `start-file-process'.
1737 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
1738 (tramp-smb-winexe-shell-command-switch): New defcustoms.
1739 (tramp-smb-file-name-p): Simplify.
1740 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
1741 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
1742 (tramp-smb-shell-quote-argument): New defuns.
1743 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
1744 Implement using "tar". By this, time-stamps are preserved.
1745 (tramp-smb-handle-copy-file): Handle also the case of directories.
1746 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
1747 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
1748 Use `tramp-get-connection-buffer').
2fe4b125
MA
1749 (tramp-smb-handle-rename-file): Use "rename", when source and
1750 target are on the same share.
87e6e64f
DA
1751 (tramp-smb-maybe-open-connection): Handle wrong passwords.
1752 Use `tramp-smb-server-version'.
2fe4b125
MA
1753 (tramp-smb-wait-for-output): Remove prompt.
1754
1755 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
1756 (tramp-methods, tramp-rsh-end-of-line):
1757 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
1758 (tramp-save-ad-hoc-proxies): New defcustom.
1759 (tramp-completion-function-alist): Adapt docstring.
1760 (tramp-default-password-end-of-line): Remove defcustom.
1761 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
1762 (tramp-user-regexp, tramp-file-name-regexp-unified)
1763 (tramp-file-name-regexp-url): Extend regexp by hop separator.
1764 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
1765 (tramp-remote-file-name-spec-regexp): New defconst.
1766 (tramp-file-name-structure): Extend structure for hops.
1767 (tramp-get-method-parameter): Move up.
1768 (tramp-file-name-p, tramp-dissect-file-name)
1769 (with-parsed-tramp-file-name): Handle hops.
1770 (tramp-file-name-hop): New defun.
1771 (tramp-make-tramp-file-name): New optional arg HOP.
1772 (tramp-message-show-progress-reporter-message): New defvar.
1773 (tramp-with-progress-reporter): Use it. We cannot use
1774 `tramp-message-show-message' here, because this suppresses also
1775 error buffers.
1776 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
1777 `tramp-message-show-message' is nil.
1778 Use `tramp-get-connection-buffer'.
2fe4b125
MA
1779 (tramp-cleanup): New defun.
1780 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
1781 (tramp-file-name-handler): If `debug-on-error' is set, propagate
1782 an error unchanged.
1783 (tramp-completion-handle-file-name-all-completions): Handle hops.
1784 Fix an error when called from ido.
1785 (tramp-completion-dissect-file-name): Use better local variable
1786 name. Add hop to the vector.
1787 (tramp-handle-insert-file-contents): Use progress-reporter for the
1788 whole scenario.
1789 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
1790 to `t'.
1791 (tramp-check-for-regexp): Simplify search.
1792 (tramp-enter-password): Remove it. Move implementation ...
1793 (tramp-action-password): ... here.
1794 (tramp-mode-string-to-int, tramp-local-host-p)
1795 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
1796 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
1797 Set tramp-autoload cookie.
2fe4b125
MA
1798
1799 * net/trampver.el: Update release number.
1800
18012012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1802 Michael Albinus <michael.albinus@gmx.de>
1803
1804 * net/tramp.el (tramp-set-completion-function): Fix docstring.
1805 (tramp-parse-group, tramp-parse-file)
1806 (tramp-parse-shostkeys-sknownhosts): New defuns.
1807 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
1808 (tramp-parse-shosts-group, tramp-parse-sconfig)
1809 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
1810 (tramp-parse-sknownhosts, tramp-parse-hosts)
1811 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
1812 Use them.
1813 (tramp-parse-passwd-group, tramp-parse-netrc-group)
1814 (tramp-parse-putty-group): Don't narrow.
1815 (tramp-parse-putty): Make a loop.
1816 (tramp-file-name-handler): Catch the `suppress' signal.
1817
72834e10
CY
18182012-06-11 Chong Yidong <cyd@gnu.org>
1819
1820 * image.el (imagemagick-register-types): Put the ImageMagick entry
1821 at the end of image-type-file-name-regexps.
1822
a4712e11
JB
18232012-06-11 Johan Bockgård <bojohan@gnu.org>
1824
1825 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
1826 (pcase, pcase-let*, pcase-dolist): Use them.
1827
82ad98e3
SM
18282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * emacs-lisp/pcase.el (pcase--let*): New function.
1831 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
1832 (pcase--expand): Use macroexp-let².
1833
f80efb86
SM
18342012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
1837 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
1838 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
1839 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
1840 * emacs-lisp/derived.el: Use pcase instead of `cl'.
1841 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1842
31ca4639 18432012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1844
31ca4639
CY
1845 * mail/rmail.el (rmail-yank-current-message): Leave point at
1846 correct position. (Bug#11660)
94f0aa34 1847
31ca4639 18482012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1849
31ca4639 1850 * allout-widgets.el: Fix code header.
9e1b8ec4 1851
31ca4639 18522012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1853
f80efb86
SM
1854 * cus-edit.el (customize-changed-options-previous-release):
1855 Bump to 24.1.
31ca4639 1856
642b6d30
AS
18572012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1858
1859 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1860
4f5d2ba1
CY
18612012-06-09 Chong Yidong <cyd@gnu.org>
1862
1863 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1864
e75852fd
MR
18652012-06-09 Martin Rudalics <rudalics@gmx.at>
1866
1867 * window.el (special-display-popup-frame): Don't use
1868 window--display-buffer (Bug#11651).
1869
1e48e282
EZ
18702012-06-09 Eli Zaretskii <eliz@gnu.org>
1871
8a26b487
EZ
1872 Fix parallel builds: make sure loaddefs.el is not being written
1873 while Lisp files are compiled.
1874 (compile): Don't depend on 'mh-autoloads'.
1875 (compile-CMD, compile-SH): Depend on 'autoloads'.
1876 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1877
1e48e282
EZ
1878 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1879
6175e34b
CY
18802012-06-09 Chong Yidong <cyd@gnu.org>
1881
1882 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1883 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1884 Doc fixes (Bug#11225).
1885
d9857e53
SM
18862012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1889 a function if there's a clear indication that it has a compiler-macro.
1890 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1891 (macro-declarations-alist): Add arglist to declaration functions.
1892 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1893 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1894 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1895 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1896 Also add autoload to find the compiler macro.
1897 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1898 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1899 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1900 (cl--compiler-macro-get): New functions, replacing calls to
1901 cl-define-compiler-macro.
1902 (cl-typep) [compiler-macro]: Use macroexp-let².
1903
f81298f8 19042012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1905
1906 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1907 string properly, fixes Bug#11473.
1908
4b56d0fe
CY
19092012-06-08 Chong Yidong <cyd@gnu.org>
1910
1911 * faces.el (set-face-attribute): Doc fix.
1912 (modify-face): Don't use :bold and :italic.
1913 (error, warning, success): Tweak definitions.
1914
1915 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1916 (custom-modified, custom-set, custom-changed, custom-themed)
1917 (custom-saved, custom-button, custom-button-mouse)
1918 (custom-button-pressed, custom-state, custom-comment-tag)
1919 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1920 (custom-group-subtitle): Use new-style face specs.
1921 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1922 (custom-set-face, custom-changed-face, custom-saved-face)
1923 (custom-button-face, custom-button-pressed-face)
1924 (custom-documentation-face, custom-state-face)
1925 (custom-comment-face, custom-comment-tag-face)
1926 (custom-variable-tag-face, custom-variable-button-face)
1927 (custom-face-tag-face, custom-group-tag-face-1)
1928 (custom-group-tag-face): Remove obsolete face alias.
1929
1930 * epa.el (epa-validity-high, epa-validity-medium)
1931 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1932 (epa-field-name, epa-field-body):
1933 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1934 (font-lock-keyword-face, font-lock-builtin-face)
1935 (font-lock-function-name-face, font-lock-variable-name-face)
1936 (font-lock-type-face, font-lock-constant-face):
1937 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1938 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1939 * speedbar.el (speedbar-button-face, speedbar-file-face)
1940 (speedbar-directory-face, speedbar-tag-face)
1941 (speedbar-selected-face, speedbar-highlight-face)
1942 (speedbar-separator-face):
1943 * whitespace.el (whitespace-newline, whitespace-space)
1944 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1945 (whitespace-line, whitespace-space-before-tab)
1946 (whitespace-space-after-tab, whitespace-indentation)
1947 (whitespace-empty):
1948 * emulation/cua-base.el (cua-global-mark):
1949 * eshell/em-prompt.el (eshell-prompt):
1950 * net/newst-plainview.el (newsticker-new-item-face)
1951 (newsticker-old-item-face, newsticker-immortal-item-face)
1952 (newsticker-obsolete-item-face, newsticker-date-face)
1953 (newsticker-statistics-face, newsticker-default-face):
1954 * net/newst-reader.el (newsticker-feed-face)
1955 (newsticker-extra-face, newsticker-enclosure-face):
1956 * net/newst-treeview.el (newsticker-treeview-face)
1957 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1958 (newsticker-treeview-immortal-face)
1959 (newsticker-treeview-obsolete-face)
1960 (newsticker-treeview-selection-face):
1961 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1962 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1963 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1964 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1965 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1966 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1967 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1968 (mpuz-text):
1969 * progmodes/vera-mode.el (vera-font-lock-number)
1970 (vera-font-lock-function, vera-font-lock-interface):
1971 * textmodes/table.el (table-cell): Use new-style face specs, and
1972 don't use the old :bold and :italic attributes.
1973
1974 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1975 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1976 (ebrowse-member-class, ebrowse-progress): Likewise.
1977 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1978 (ebrowse-file-name-face, ebrowse-default-face)
1979 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1980 (ebrowse-progress-face): Remove obsolete faces.
1981
1982 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1983 Inherit from error and warning faces respectively.
1984
1985 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1986 Likewise.
f80efb86
SM
1987 (flyspell-incorrect-face, flyspell-duplicate-face):
1988 Remove obsolete aliases.
4b56d0fe 1989
03310646
MA
19902012-06-08 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1993 Avoid infloop.
1994
513749ee
SM
19952012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * startup.el (argv, argi): Make lexically scoped.
1998 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1999 * emacs-lisp/cl-macs.el: Use lexical-binding.
2000 Rename cl-bind-* to cl--bind-*.
2001 * files.el: Don't require `cl' since it doesn't use it.
2002 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2003
595ef4ad
JB
20042012-06-08 Juanma Barranquero <lekktu@gmail.com>
2005
2006 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2007 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2008 instead of calling external sort utility.
2009 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2010
e9f66fcb
EZ
20112012-06-08 Eli Zaretskii <eliz@gnu.org>
2012
2013 * descr-text.el (describe-char): Mention how to insert the
2014 character, if the current input method doesn't support it.
2015 See the discussion in this thread for the details:
2016 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2017
3d10db47
SS
20182012-06-08 Sam Steingold <sds@gnu.org>
2019
2020 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2021 XF86Back to previous-buffer.
2022 (minibuffer-local-map): Bind them to next-history-element and
2023 previous-history-element respectively.
2024 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2025 help-go-back respectively.
2026 * info.el (Info-mode-map): Bind them to Info-history-forward and
2027 Info-history-back respectively.
2028 These are the keys next to Up on the ThinkPad keyboard.
2029
de7e2b36
SM
20302012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2033 * emacs-lisp/cl-macs.el: Provide itself.
2034 (cl--labels-convert-cache): New var.
2035 (cl--labels-convert): New function.
2036 (cl-flet, cl-labels): New implementation with new semantics, relying on
2037 lexical-binding.
2038 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2039 (cl-closure-vars, cl--function-convert-cache)
2040 (cl--function-convert): Move from cl-macs.el.
2041 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2042 rename by removing the "cl-" prefix.
2043 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2044
6fa6c4ae
SM
20452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2046
2047 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2048 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2049 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2050 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2051 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2052 (cl-hash-table-count): Add old compatibility aliases.
2053
2054 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2055 Use macroexpand-all-environment instead.
2056 (cl--old-macroexpand): New var.
2057 (cl--sm-macroexpand): New function.
2058 (cl-symbol-macrolet): Use it during macro expansion.
2059 (cl--function-convert-cache): New var.
2060 (cl--function-convert): New function, extracted from
2061 cl-macroexpand-all.
2062 (cl-lexical-let): Use it.
2063
2064 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2065 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2066 (cl-member): Remove old alias.
2067
2068 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2069 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2070 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2071 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2072 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2073 (cl-macroexpand-cmacs): Remove var.
2074 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2075 Use macroexpand-all instead.
2076
4dd1c416
SM
20772012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2080 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2081 (macroexp-copyable-p): New functions and macros.
2082 * emacs-lisp/edebug.el (edebug-unwrap):
2083 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2084 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2085 (pcase--let*): Remove.
2086 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2087 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2088 macroexp-const-p instead.
2089 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2090
2091 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2092 instead of "cl-" for internal definitions. Use macroexp-const-p.
2093 (cl-old-bc-file-form): Remove var.
2094 (cl-const-exprs-p): Remove fun.
2095 (cl-labels, cl-macrolet): Use backquote.
2096 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2097 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2098 (cl-define-setf-expander): Rename from cl-define-setf-method.
2099 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2100
2101 * international/mule-cmds.el: Don't require CL.
2102 (view-hello-file): Don't use `letf'.
2103
ed8bd4d7
SM
21042012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2105
7287f2f3
SM
2106 * tmm.el (tmm-prompt): Use string-prefix-p.
2107 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2108 (tmm-add-prompt): Use minibuffer-completion-help.
2109 (tmm-delete-map): Remove.
2110
ed8bd4d7
SM
2111 * subr.el (kbd): Make it its own function.
2112
7b4cdbf4
SM
21132012-06-07 Stefan Merten <smerten@oekonux.de>
2114
2115 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2116 Silence compiler warnings. Fix versions.
ed8bd4d7 2117 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2118 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2119 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2120 (rst-package-emacs-version-alist): Correct Emacs version to
2121 represent major merge with upstream.
ed8bd4d7 2122 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2123
2b48d721
GM
21242012-06-06 Glenn Morris <rgm@gnu.org>
2125
2126 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2127 Only print environment variables if set.
2128
fa779ab0
SM
21292012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2132 (macroexp--cons): Rename from maybe-cons.
2133 (macroexp--accumulate): Rename from macroexp-accumulate.
2134 (macroexp--all-forms): Rename from macroexpand-all-forms.
2135 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2136 (macroexp--expand-all): Rename from macroexpand-all-1.
2137
628299e0
SS
21382012-06-06 Sam Steingold <sds@gnu.org>
2139
2140 * calendar/calendar.el (calendar-in-read-only-buffer):
2141 Call `special-mode' to enable the standard read-only keybindings.
2142
b7bb5838
SM
21432012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2146 with "loading" messages (bug#11635).
2147
dfb308ba
MA
21482012-06-06 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * files.el (enable-remote-dir-locals): New option.
2151 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2152
0372ee92
MA
2153 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2154 Ensure, that the temp directory is local.
2155
2156 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2157 `temporary-file-directory'.
2158
eed0bb91
MA
2159 * progmodes/python.el (python-send-region): Ensure, that the
2160 temporary file is created also in the remote case.
2161
7a58f64d
GM
21622012-06-06 Glenn Morris <rgm@gnu.org>
2163
f7dd4e98
GM
2164 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2165 (vc-rcs-update-changelog): Use it.
2166
090bd7cb 2167 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2168
7a58f64d
GM
2169 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2170 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2171 (vc-sccs-diff): Replace use of the external vcdiff script.
2172
daed4003
GM
21732012-06-05 Glenn Morris <rgm@gnu.org>
2174
2175 * ledit.el: Move to obsolete/.
2176
48c455c7
SS
21772012-06-05 Sam Steingold <sds@gnu.org>
2178
ed9265fc 2179 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2180 patch (Bug#11140).
2181
57a7d507
SM
21822012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2183
090bd7cb 2184 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2185
53aacf21
SM
2186 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2187 compiler-macro expansion.
2188
57a7d507
SM
2189 Add native compiler-macro support.
2190 * emacs-lisp/macroexp.el (macroexpand-all-1):
2191 Support compiler-macros directly. Properly follow aliases and apply
2192 the compiler macros more thoroughly.
2193 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2194 macroexpand now properly follows aliases.
2195 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2196 (cl-compiler-macroexpand): Use new prop.
2197 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2198
2199 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2200
51a5f9d8
MR
22012012-06-05 Martin Rudalics <rudalics@gmx.at>
2202
2203 * window.el (get-lru-window, get-mru-window, get-largest-window):
2204 New argument NOT-SELECTED to avoid picking the selected window.
2205 (window--display-buffer-1, window--display-buffer-2): Replace by
2206 new function window--display-buffer
2207 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2208 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2209 Use window--display-buffer.
51a5f9d8
MR
2210 (display-buffer-use-some-window): Remove temporary dedication
2211 hack by calling get-lru-window and get-largest-window with
2212 NOT-SELECTED argument non-nil. Call window--display-buffer.
2213
08f9f738
GM
22142012-06-05 Glenn Morris <rgm@gnu.org>
2215
2216 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2217 Replace external vcdiff script.
2218
e364a2b7
SM
22192012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2220
2221 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2222
041df390
CY
22232012-06-04 Chong Yidong <cyd@gnu.org>
2224
e364a2b7
SM
2225 * image.el (imagemagick-types-inhibit): Revert last change.
2226 Add INFO and M.
47b36b94 2227 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2228
7c1898a7
SM
22292012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * emacs-lisp/cl-lib.el: Rename from cl.el.
2232 * emacs-lisp/cl.el: New compatibility file.
2233 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2234 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2235 to obey the "cl-" prefix.
2236 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2237
0c3461de
GM
22382012-06-03 Glenn Morris <rgm@gnu.org>
2239
1e266c88
GM
2240 * emacs-lisp/authors.el (authors-aliases): Addition.
2241
0c3461de
GM
2242 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2243 Fix :version.
2244
d8a52e15
SM
22452012-06-03 Stefan Merten <smerten@oekonux.de>
2246
2247 * textmodes/rst.el: Add comments.
2248 (rst-transition, rst-adornment): New faces.
2249 (rst-adornment-faces-alist): Make default safe to reevaluate.
2250 Fixes
2251 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2252 Improve customization tags.
2253 (rst-define-level-faces): Clarify meaning.
2254
5205d6f6
CY
22552012-06-03 Chong Yidong <cyd@gnu.org>
2256
2257 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2258 (compilation-mode-line-run, compilation-mode-line-exit):
2259 New faces.
5205d6f6
CY
2260 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2261
757ee657
JD
22622012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2263
7c1898a7
SM
2264 * progmodes/which-func.el (which-func-update-ediff-windows):
2265 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2266
5f2c76c6
CY
22672012-06-03 Chong Yidong <cyd@gnu.org>
2268
2269 * bindings.el: Remove explicit help text from format-mode-line.
2270 It is now supplied by mode-line-default-help-echo.
2271 (mode-line-front-space, mode-line-end-spaces)
2272 (mode-line-misc-info): New variables.
2273 (mode-line-modes, mode-line-position): Move the default value to
2274 the variable definition.
2275 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2276 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2277 (mode-line-modified-help-echo): New functions.
2278 (mode-line-mule-info, mode-line-modified): Use them.
2279 (mode-line-eol-desc, propertized-buffer-identification):
2280 Consistency fixes for help text.
cbe46e5f
CY
2281 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2282 set-buffer-file-coding-system (Bug#289).
2283 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2284
f2d6a3df
SM
22852012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * simple.el (execute-extended-command): Set real-this-command
2288 (bug#11506).
2289
37269466
CY
22902012-06-02 Chong Yidong <cyd@gnu.org>
2291
2292 Remove incorrect uses of "modeline" in comments, docstrings, and
2293 function/variable names (Bug#10329).
2294
2295 * cus-edit.el (mode-line):
2296 * dframe.el (dframe-mouse-hscroll):
2297 * emacs-lisp/re-builder.el:
2298 * emacs-lisp/easy-mmode.el (define-minor-mode):
2299 * frame.el (set-frame-name):
2300 * help.el (lookup-minor-mode-from-indicator):
2301 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2302 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2303 (c-toggle-hungry-state):
2304 * progmodes/antlr-mode.el (antlr-language-alist):
2305 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2306 * progmodes/vhdl-mode.el (vhdl-mode):
2307 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2308 * term/ns-win.el (ns-face-at-pos):
2309 * term/sup-mouse.el (sup-mouse-report):
2310 * textmodes/flyspell.el (flyspell-mode-line-string):
2311 * textmodes/ispell.el (ispell-highlight-face):
2312 * textmodes/reftex-global.el:
2313 * vc/vc-arch.el (vc-arch-mode-line-string):
2314 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2315 * vc/vc-git.el (vc-git-mode-line-string):
2316 * vc/vc-hooks.el (vc-display-status)
2317 (vc-default-mode-line-string):
2318 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2319
2320 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2321
2322 * dired.el (dired-sort-set-mode-line): Rename from
2323 dired-sort-set-modeline. All callers changed.
2324
2325 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2326 eshell-status-in-modeline.
2327
2328 * foldout.el (foldout-mode-line-string): Rename from
2329 foldout-modeline-string. All callers changed.
2330 (foldout-update-mode-line): Rename from foldout-update-modeline.
2331
2332 * subr.el (redraw-modeline): Make into obsolete alias.
2333
2334 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2335 timeclock-modeline-display. Make old name an alias.
2336 (timeclock-update-mode-line): Likewise. All callers changed.
2337 (timeclock-mode-line-display): No need to check before using
2338 add-hook.
2339 (timeclock-relative, timeclock-day-over-hook)
2340 (timeclock-use-elapsed, timeclock-mode-string)
2341 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2342
2343 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2344 crisp-mode-modeline-string.
2345
2346 * play/solitaire.el (solitaire-build-mode-line): Rename from
2347 solitaire-build-modeline. All callers changed.
2348
2349 * play/zone.el (zone-hiding-mode-line): Rename from
2350 zone-hiding-modeline. All callers changed.
2351 (zone): Remove unusued `modeline-hidden-level' property.
2352
2353 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2354 xscheme-modeline-initialize. All callers changed.
2355
2356 * strokes.el (strokes-lighter): Rename from
2357 strokes-modeline-string.
2358
2359 * textmodes/sgml-mode.el (html-face-tag-alist)
2360 (html-tag-face-alist): Use mode-line face instead of obsolete
2361 alias modeline.
2362
42152ee4
SM
23632012-06-02 Stefan Merten <smerten@oekonux.de>
2364
2365 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2366 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2367
95f520b5
CY
23682012-06-02 Chong Yidong <cyd@gnu.org>
2369
2370 * image.el (imagemagick-enabled-types): Rename from
2371 imagemagick-types-enable. Add many more types.
2372 (imagemagick-types-inhibit): Change default to nil.
2373 (imagemagick-filter-types): Caller changed.
2374
4a5f187a
SM
23752012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2376
03fef3e6
SM
2377 * emacs-lisp/cl-macs.el: Use backquotes.
2378 (cl-transform-function-property): Use eval-and-compile rather than
2379 abusing `require'.
2380 (defstruct): Use declare-function instead of with-no-warnings.
2381
4a5f187a
SM
2382 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2383 (byte-compile-output-docform): Re-add the print-circle bindings.
2384 (byte-compile-fix-header): Use #$ just because it's shorter.
2385 (byte-compile-output-file-form): Remove defun/defmacro.
2386
bd56924f
MR
23872012-06-01 Martin Rudalics <rudalics@gmx.at>
2388
2389 * simple.el (choose-completion): Remove now obsolete binding for
2390 owindow.
2391
046e38ce
MA
23922012-06-01 Michael Albinus <michael.albinus@gmx.de>
2393
2394 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2395 in order to avoid "Stack overflow in regexp matcher".
2396
32d72c2f
GM
23972012-05-31 Glenn Morris <rgm@gnu.org>
2398
2399 * image.el: For clarity, call imagemagick-register-types at
2400 top-level, rather than relying on a custom :initialize.
2401 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2402 (imagemagick-filter-types): New function. (Bug#7406)
2403 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2404 If disabling support, remove elements altogether rather
2405 than using an impossible regexp.
2406 (imagemagick-types-inhibit): Give it the default init function.
2407
dd41169b
SM
24082012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2409
4a5f187a
SM
2410 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2411 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2412
efc00ab1 24132012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2414
2415 * desktop.el (desktop-read): Clear previous and next buffers for
2416 all windows and bury *Messages* buffer (bug#11556).
2417
500fcedc
SM
24182012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 Add `declare' for `defun'. Align `defmacro's with it.
2421 * emacs-lisp/easy-mmode.el (define-minor-mode)
2422 (define-globalized-minor-mode): Don't autoload the var definitions.
2423 * emacs-lisp/byte-run.el: Use lexical-binding.
2424 (defun-declarations-alist, macro-declarations-alist): New vars.
2425 (defmacro, defun): Use them.
2426 (make-obsolete, define-obsolete-function-alias)
2427 (make-obsolete-variable, define-obsolete-variable-alias):
2428 Use `declare'.
2429 (macro-declaration-function): Mark obsolete.
2430 * emacs-lisp/autoload.el: Use lexical-binding.
2431 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2432
6e8a1786
AM
24332012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2434
2435 * textmodes/ispell.el (ispell-with-no-warnings):
2436 Define as a macro.
500fcedc
SM
2437 (ispell-kill-ispell, ispell-change-dictionary):
2438 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2439 `interactive-p'.
2440
61b108cc
SM
24412012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2444 (macro-declaration-function): Move var from C code.
2445 (macro-declaration-function): Define function with defalias.
2446 * emacs-lisp/macroexp.el (macroexpand-all-1):
2447 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2448 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2449 defun/defmacro any more.
2450 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2451 Provide fallback for unknown arglist.
2452 (byte-compile-arglist-warn): Change calling convention.
2453 (byte-compile-output-file-form): Move print-vars binding.
2454 (byte-compile-output-docform): Simplify accordingly.
2455 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2456 (byte-compile-defmacro-declaration): Remove.
2457 (byte-compile-file-form-defmumble): Generalize to defalias.
2458 (byte-compile-output-as-comment): Return byte-positions.
2459 Simplify callers accordingly.
2460 (byte-compile-lambda): Use `assert'.
2461 (byte-compile-defun, byte-compile-defmacro): Remove.
2462 (byte-compile-file-form-defalias):
2463 Use byte-compile-file-form-defmumble.
2464 (byte-compile-defalias-warn): Remove.
2465
6d3f7c2f
SM
24662012-05-29 Stefan Merten <smerten@oekonux.de>
2467
2468 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2469 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2470
2471 (rst-mode-abbrev-table): Merge definition.
2472 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2473 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2474
6dbaa1c7
UJ
24752012-05-29 Ulf Jasper <ulf.jasper@web.de>
2476
2477 * calendar/icalendar.el
2478 (icalendar-export-region): Export UID properly.
2479
d209e2fb 24802012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2481 * calendar/icalendar.el (icalendar-import-format):
2482 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2483 (icalendar-import-format-uid): New.
2484 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2485 Export UID.
2486
6876a58d
SM
24872012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2490 different alternative patterns.
2491 (pcase-codegen): Be more careful to preserve identity.
2492 (pcase--u1): Don't forget to mark vars as used.
2493
2494 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2495 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2496 (byte-compile-from-buffer): ...rather than here.
2497
2498 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2499 functions from byte-compile-function-environment.
2500
46b7967e
TN
25012012-05-29 Troels Nielsen <bn.troels@gmail.com>
2502
2503 * window.el (window-deletable-p): Avoid deleting the root window
2504 of a frame with an active minibuffer.
2505
69d565e2
MR
25062012-05-29 Martin Rudalics <rudalics@gmx.at>
2507
2508 * simple.el (choose-completion): Use quit-window (Bug#11567).
2509
a149fa51
CY
25102012-05-29 Chong Yidong <cyd@gnu.org>
2511
2512 * whitespace.el (whitespace-cleanup): Fix usage of
2513 whitespace-empty-at-bob-regexp (Bug#11492).
2514
2b311310
AH
25152012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2516
2517 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2518 revert (Bug#11488).
2519
b9cb2387
JL
25202012-05-29 Juri Linkov <juri@jurta.org>
2521
2522 * isearch.el (isearch-mode-map): Bind `M-s _' to
2523 `isearch-toggle-symbol'. Bind `M-s c' to
2524 `isearch-toggle-case-fold'.
2525 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2526 (isearch-forward): Add `M-s _' to the docstring.
2527 (isearch-forward-symbol, isearch-toggle-case-fold)
2528 (isearch-symbol-regexp): New functions. (Bug#11381)
2529
d5e61c1c
JL
25302012-05-29 Juri Linkov <juri@jurta.org>
2531
2532 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2533 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2534 a function, call it to get the regexp.
2535 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2536 property `isearch-message-prefix' instead of the string "word ".
2537 (isearch-search-fun-default): For the case of `isearch-word',
2538 return a lambda that calls re-search-forward/re-search-backward
2539 with a regexp returned by `word-search-regexp' or by the function
2540 in `isearch-word'.
2541
8cbd80f7
JL
25422012-05-29 Juri Linkov <juri@jurta.org>
2543
2544 * isearch.el (isearch-search-fun-default): New function.
2545 (isearch-search-fun): Move default part to the new function
2546 `isearch-search-fun-default'.
2547 (isearch-search-fun-function): Set the default value to
2548 `isearch-search-fun-default'. (Bug#11381)
2549
2550 * comint.el (comint-history-isearch-end):
2551 Use `isearch-search-fun-default'.
2552 (comint-history-isearch-search): Use `isearch-search-fun-default'
2553 and remove spacial case for `isearch-word'.
2554 (comint-history-isearch-wrap): Remove spacial case for
2555 `isearch-word'.
2556
2557 * hexl.el (hexl-isearch-search-function):
2558 Use `isearch-search-fun-default'.
2559
2560 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2561 Use `word-search-regexp' for `isearch-word'.
2562
2563 * misearch.el (multi-isearch-search-fun):
2564 Use `isearch-search-fun-default'.
2565
2566 * simple.el (minibuffer-history-isearch-search):
2567 Use `isearch-search-fun-default' and remove spacial case for
2568 `isearch-word'.
2569 (minibuffer-history-isearch-wrap): Remove spacial case for
2570 `isearch-word'.
2571
2572 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2573 Remove spacial case for `isearch-word'.
2574 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2575
85c8c5b6
AM
25762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2577
2578 Decrease XEmacs incompatibilities.
2579 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2580 Use `string-match'.
2581 (flyspell-delete-region-overlays): Use alternative definition for
2582 XEmacs.
2583 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2584 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2585 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2586 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2587 `define-obsolete-face-alias' under XEmacs, but old method.
2588
2589 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2590 `with-no-warnings' definition or Emacs alias.
2591 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2592 (ispell-word): Do not use `region-p' if XEmacs.
2593
8cab9efc
AM
25942012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2595
2596 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2597 Check for `ispell-dictionary-base-alist' instead of full
2598 `ispell-dictionary-alist'.
2599 (ispell-init-process): Show spellchecker when starting new Ispell
2600 process.
2601
fda91268
RZ
26022012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2605 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2606
694ea8e3
JB
26072012-05-27 Juanma Barranquero <lekktu@gmail.com>
2608
2609 * version.el (motif-version-string, gtk-version-string)
2610 (ns-version-string): Declare.
2611
e4d4f539
JL
26122012-05-27 Juri Linkov <juri@jurta.org>
2613
2614 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2615 after the `eval-defun-1' specialcaseing
2616 like in `edebug-eval-defun' (bug#10181).
2617
2618 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2619 like in `eval-defun-1'.
2620
33017faf 26212012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2622
fda91268
RZ
2623 * mail/sendmail.el (mail-yank-region):
2624 Recognize rmail-yank-current-message in addition to insert-buffer.
2625 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2626 a *mail* buffer created through rmail-start-mail with sendmail as
2627 mail-user-agent.
2628
33017faf
GM
26292012-05-27 Chong Yidong <cyd@gnu.org>
2630
2631 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2632 Default to 256 (Bug#11267).
2633
2634 * help.el (describe-mode): Doc fix.
2635
04188bb9
GM
26362012-05-26 Glenn Morris <rgm@gnu.org>
2637
38264cc9
GM
2638 * w32-fns.el (w32-init-info): Remove.
2639 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2640
eb7afdad
GM
2641 * info.el (info-initialize): For self-contained NS builds, put the
2642 included info/ directory at the front. (Bug#2791)
2643
04188bb9
GM
2644 * paths.el (Info-default-directory-list): Make it a defcustom,
2645 mainly so that we can use custom-initialize-delay.
2646
a179e3f7
SM
26472012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2648
43416392
SM
2649 * subr.el (buffer-has-markers-at): Mark obsolete.
2650
a179e3f7 2651 * subr.el (lambda): Use declare.
43416392 2652
a179e3f7
SM
2653 * emacs-lisp/lisp-mode.el (lambda):
2654 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2655
34a008d9
AH
26562012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2657
2658 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2659
0a3b289f
GM
26602012-05-26 Glenn Morris <rgm@gnu.org>
2661
2662 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2663
758c81e8
GM
26642012-05-25 Glenn Morris <rgm@gnu.org>
2665
f9f334f0
GM
2666 * paths.el: Remove no-byte-compile.
2667 * loadup.el: No need to load paths.el uncompiled.
2668
87eb79c2
GM
2669 * image.el (imagemagick-types-inhibit): Doc fix.
2670
758c81e8
GM
2671 * version.el: Remove no-byte-compile and associated formatting.
2672 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2673 is ancient code from when there was an "inc-vers.el".
2674
e7e85dc0
SM
26752012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * progmodes/gdb-mi.el: Minor style changes.
2678 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2679 Turn into minor modes.
2680 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2681 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2682 (gdb-shell): Remove unneeded let-binding.
2683 (gdb-get-many-fields): Eliminate O(n²) behavior.
2684
f31237a4
EZ
26852012-05-25 Eli Zaretskii <eliz@gnu.org>
2686
2687 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2688 platforms that don't link in fontset.c.
2689
bc1b21bb
JL
26902012-05-25 Juri Linkov <juri@jurta.org>
2691
2692 Use the same diff color scheme as in modern VCSes (bug#10181).
2693
2694 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2695 to avoid confusion with `diff-added' that now uses green colors.
2696 (diff-removed): Use shades of red.
2697 (diff-added): Use shades of green.
2698 (diff-changed): Leave just the yellow color.
2699 (diff-use-changed-face): New variable.
2700 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2701 how to highlight context diff changes.
2702 (diff-refine-change): Use shades of yellow.
2703 (diff-refine-removed): New face that uses shades of red.
2704 (diff-refine-added): New face that uses shades of green.
2705 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2706 `diff-refine-removed' in the call to `smerge-refine-subst'
2707 depending on the value of `diff-use-changed-face'.
2708
2709 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2710 (smerge-other): Use shades of green.
2711 (smerge-base): Use shades of yellow.
2712 (smerge-refined-change): Empty face.
2713 (smerge-refined-removed): New face that uses shades of red.
2714 (smerge-refined-added): New face that uses shades of green.
2715 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2716 args `props-r' and `props-a', and use them. Doc fix.
2717 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2718 on its value use different faces `smerge-refined-change',
2719 `smerge-refined-removed', `smerge-refined-added' in the call to
2720 `smerge-refine-subst'.
2721
2722 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2723 Add face condition `min-colors 88' with shades of red.
2724 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2725 `min-colors 88' with shades of green.
2726 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2727 `min-colors 88' with shades of yellow.
2728
6df9112c
GM
27292012-05-24 Glenn Morris <rgm@gnu.org>
2730
ead5edc0
GM
2731 * paths.el (prune-directory-list, remote-shell-program): Move to...
2732 * files.el (prune-directory-list, remote-shell-program): ...here.
2733 For the latter, delay initialization, prefer ssh, just search PATH.
2734
f18b81e6
GM
2735 * paths.el (term-file-prefix): Move to faces.el (the only user).
2736 * faces.el (term-file-prefix): Move here, make it a defcustom.
2737
ee2f89a6
GM
2738 * paths.el (news-directory, news-path, news-inews-program):
2739 Move to gnus/nnspool.el.
61a583ca 2740
f8815e4c
GM
2741 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
2742
c8f3b42c
GM
2743 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
2744 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
2745 Make the latter a defcustom, with a delayed initialization.
2746
6df9112c
GM
2747 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
2748 These were deleted from Gnus itself late 2010.
2749
5dadff36
JB
27502012-05-22 Juanma Barranquero <lekktu@gmail.com>
2751
9e1701c6
JB
2752 * progmodes/which-func.el (which-func-ff-hook):
2753 Check against user-error, not error.
2754
bd7239f5 2755 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
2756 cl-specs.el, which no longer exists.
2757
3290526d
GM
27582012-05-22 Glenn Morris <rgm@gnu.org>
2759
2760 * info.el (info-emacs-bug): New command.
2761 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
2762 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
2763
ff0c3cfb
GM
27642012-05-21 Glenn Morris <rgm@gnu.org>
2765
2766 * makefile.w32-in (update-subdirs-SH):
2767 * Makefile.in (update-subdirs): Update for moved update-subdirs.
2768
5814f126
SM
27692012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2770
a52c0aa0
SM
2771 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
2772
5814f126
SM
2773 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2774 Simplify Maven regexp, and make sure the file can't start with a space
2775 (bug#11517).
2776
b847032c
GM
27772012-05-21 Glenn Morris <rgm@gnu.org>
2778
2779 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2780 Scrap superfluous subshells.
2781
3858bfe7
SM
27822012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
2785 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
2786
d14b0029
JB
27872012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
2788
2789 * calc/calc.el (calc-ensure-consistent-units): New variable.
2790
a52c0aa0
SM
2791 * calc/calc-units.el (math-consistent-units-p)
2792 (math-check-unit-consistency): New functions.
2793 (calc-quick-units, calc-convert-units):
2794 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
2795 is non-nil.
d14b0029
JB
2796 (calc-extract-units): Fix typo.
2797
60c4db3a
SM
27982012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2799
77f3b62e
SM
2800 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
2801
60c4db3a
SM
2802 * textmodes/flyspell.el: Commenting style, plus code simplifications.
2803 (flyspell-default-deplacement-commands): Don't spell check after
2804 repeated window/frame switches (e.g. triggered by mouse-movement).
2805 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
2806 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
2807 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
2808 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
2809 Remove unused vars.
2810 (flyspell-get-casechars, flyspell-get-not-casechars):
2811 Simplify; Don't bother removing a ] just to add it back.
2812 * textmodes/ispell.el (ispell-program-name): Use executable-find.
2813
d209e2fb 28142012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
2815
2816 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
2817 New functions.
bd7239f5 2818 (math-function-table): Add support for more C functions.
b1a10716 2819
3f1b25b5
AM
28202012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2821
090bd7cb
JB
2822 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2823 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2824 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 2825
b581bb5c
SM
28262012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
2829 their respective macro declarations.
2830 * skeleton.el (define-skeleton):
2831 * progmodes/compile.el (define-compilation-mode):
2832 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
2833 (define-ibuffer-filter):
2834 * emacs-lisp/generic.el (define-generic-mode):
2835 * emacs-lisp/easy-mmode.el (define-minor-mode)
2836 (define-globalized-minor-mode):
2837 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
2838 * emacs-lisp/byte-run.el (defsubst):
2839 * custom.el (deftheme): Add doc-string metadata.
2840
70b8ef8f
SM
28412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2844
b1198e17
SM
28452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2846
9abdc45d
SM
2847 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2848
b1198e17
SM
2849 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2850 * emacs-lisp/cl-macs.el: Idem.
2851 * emacs-lisp/cl-specs.el: Remove.
2852
4735906a
SM
28532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 Minor renaming of internal CL functions and variables.
2856 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2857 (cl--position): Rename from cl-position.
2858 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2859 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2860 (cl--random-state): Rename from *random-state*.
2861
ac348012
SM
28622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2865 parens around the arg list (bug#11499).
2866
a0a79cde
JL
28672012-05-17 Juri Linkov <juri@jurta.org>
2868
2869 * isearch.el (word-search-regexp, word-search-backward)
2870 (word-search-forward, word-search-backward-lax)
2871 (word-search-forward-lax): Move functions from search.c
2872 (bug#10145, bug#11381).
2873
65034a51
AM
28742012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2875
090bd7cb
JB
2876 * textmodes/flyspell.el (flyspell-check-pre-word-p)
2877 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
2878 Delay for otherchars as for normal word components.
65034a51 2879
1a72a195
SM
28802012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * minibuffer.el (completion--sifn-requote): Fix last change.
2883 (minibuffer-local-must-match-filename-map):
2884 Move define-obsolete-variable-alias before its var.
2885
fdb058c2
SM
28862012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2887
c41045e6
SM
2888 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2889
036dfb8b
SM
2890 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2891 behavior.
2892 (completion--string-equal-p): New function.
2893 (completion--twq-all): Use it to get better assertion failure data.
2894
2473256d
SM
2895 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2896 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2897 (shell--requote-argument): New functions.
2898 (shell-completion-vars): Use them.
2899 (shell--parse-pcomplete-arguments): Rename from
2900 shell-parse-pcomplete-arguments.
2901 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2902 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2903 Obey comint-file-name-quote-list.
2904
fdb058c2
SM
2905 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2906 (smie-indent-keyword): Use it.
2907
51fa99f1
SM
29082012-05-14 Stefan Merten <smerten@oekonux.de>
2909
2910 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2911
e18afed7 29122012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2913
2914 * net/rlogin.el (rlogin-mode-map): Fix last change.
2915
e18afed7 29162012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2917
2918 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2919 the following \r\n using a single `process-send-string', since the
2920 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2921 with two `process-send-string's (Bug#11444).
8633b1f4 2922
e18afed7 29232012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2924
fdb058c2
SM
2925 * shell.el (shell-parse-pcomplete-arguments):
2926 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2927
2d21d7f6
WJ
29282012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2929
e18afed7 2930 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2931 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2932 (image-transform-width, image-transform-fit-width): New functions.
2933 (image-transform-properties): Use them.
2934 (image-transform-check-size): New function.
2935 (image-toggle-display-image): Use it (for testing).
2936 (image-transform-set-rotation): Reduce angle mod 360.
2937 Delete obsolete comment.
2938
7102e6d0
WJ
29392012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2940
2941 * image-mode.el: Fix scaling (bug#11399).
2942 (image-transform-resize): Doc fix.
2943 (image-transform-properties): Default scale is 1 and height should
2944 be an integer.
2945
06bc5e6e
SM
29462012-05-13 Johan Bockgård <bojohan@gnu.org>
2947
2948 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2949 than hard-coding `car', to fix misbehavior when moving forward.
2950
0ae03b6a
CY
29512012-05-13 Chong Yidong <cyd@gnu.org>
2952
2953 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2954 (tabulated-list-entries, tabulated-list-padding)
2955 (tabulated-list-sort-key): Make permanent-local.
2956
2957 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2958 (electric-buffer-list): Put electric buffer menu
2959 command descriptions in this docstring, instead of the docstring
2960 of electric-buffer-menu-mode. Code cleanups.
2961 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2962 Electric-buffer-menu-mode.
2963 (electric-buffer-update-highlight): Minor code cleanup.
2964
205a7391
MA
29652012-05-13 Michael Albinus <michael.albinus@gmx.de>
2966
2967 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2968 (Bug#11447)
2969
e5bd0a28
SM
29702012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 Move define-obsolete-variable-alias before the var's definition.
2973 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2974 * tooltip.el (tooltip-hook):
2975 * textmodes/reftex-toc.el (reftex-toc-map):
2976 * textmodes/reftex-sel.el (reftex-select-label-map)
2977 (reftex-select-bib-map):
2978 * textmodes/reftex-index.el (reftex-index-map)
2979 (reftex-index-phrases-map):
2980 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2981 * progmodes/meta-mode.el (meta-mode-map):
2982 * novice.el (disabled-command-hook):
2983 * loadhist.el (unload-hook-features-list):
2984 * frame.el (blink-cursor):
2985 * files.el (find-file-not-found-hooks, write-file-hooks)
2986 (write-contents-hooks):
2987 * emulation/tpu-edt.el (GOLD-map):
2988 * emacs-lock.el (emacs-lock-from-exiting):
2989 * emacs-lisp/generic.el (generic-font-lock-defaults):
2990 * emacs-lisp/chart.el (chart-map):
2991 * dos-fns.el (register-name-alist):
2992 * dired-x.el (dired-omit-files-p):
2993 * desktop.el (desktop-enable):
2994 * cus-edit.el (custom-mode-hook):
2995 * buff-menu.el (buffer-menu-mode-hook):
2996 * bookmark.el (bookmark-read-annotation-text-func)
2997 (bookmark-exit-hooks):
2998 * allout.el (allout-mode-deactivate-hook)
2999 (allout-exposure-change-hook, allout-structure-added-hook)
3000 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3001 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3002 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3003 comes before the corresponding variable's definition.
3004
ac59c2f6
CY
30052012-05-12 Chong Yidong <cyd@gnu.org>
3006
3007 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3008 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3009 (Buffer-menu-mode-map): Bind it.
3010 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3011
dee6c9a3
SM
30122012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3013
2171cea5
SM
3014 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3015 (prolog-upper-case-string, prolog-lower-case-string)
3016 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3017 (prolog-use-smie, prolog-smie-grammar): New vars.
3018 (prolog-smie-forward-token, prolog-smie-backward-token)
3019 (prolog-smie-rules): New funs.
3020 (prolog-comment-indent): Remove.
3021 (prolog-mode-variables): Use default comment indentation instead.
3022 Setup SMIE.
3023 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3024 (prolog-mode): Don't call them any more.
3025 (prolog-electric-colon, prolog-electric-dash)
3026 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3027
aa0382bd
SM
3028 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3029
dbacb4bd
SM
3030 * minibuffer.el (completion--twq-all): Again, allow case differences.
3031
13bdd94c
SM
3032 * term.el: Move keymap initialization code to be more idiomatic.
3033 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3034 (term-terminal-menu): Move initialization into declaration.
3035 (term-escape-char): Let the user set it in her .emacs.
3036
ff46c759
SM
3037 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3038 Provide SMIE-based indentation (not enabled by default yet).
3039 (sh-mode-map): Don't bind electric keys.
3040 Use electric-pair-mode instead of skeleton-pair.
3041 (sh-assignment-regexp): Fit within 80 columns.
3042 (sh-indent-supported): Specify actual shell name instead of boolean.
3043 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3044 (sh-maybe-here-document): Use it. Make obsolete.
3045 (sh-electric-here-document-mode) New minor mode.
3046 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3047 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3048 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3049 (sh-smie-rc-grammar, sh-use-smie): New vars.
3050 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3051 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3052 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3053 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3054 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3055 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3056 (sh-set-shell): Use smie-setup if requested.
3057
dee6c9a3
SM
3058 * term.el (term-set-escape-char): Properly set term-escape-char.
3059 See http://stackoverflow.com/questions/10524656.
3060
9f9aa044
CY
30612012-05-10 Chong Yidong <cyd@gnu.org>
3062
3063 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3064 Use url-generic-parse-url, and handle host names and Windows
3065 filenames properly.
3066 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3067 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3068 URL schemes to work on.
3069 (ffap--toggle-read-only): New function.
3070 (ffap-read-only, ffap-read-only-other-window)
3071 (ffap-read-only-other-frame): Use it.
3072 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3073 necessary for ffap-url-unwrap-remote.
3074
836d29b3
DA
30752012-05-10 Dave Abrahams <dave@boostpro.com>
3076
3077 * cus-start.el (create-lockfiles): Add it.
3078
00fd78ed
CY
30792012-05-09 Chong Yidong <cyd@gnu.org>
3080
3081 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3082 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3083
666b903b 30842012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3085
3086 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3087
666b903b 30882012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3089
3090 * ansi-color.el (ansi-color-process-output): Check for validity of
3091 comint-last-output-start before using it. This avoids a bad
3092 interaction with gdb-mi's input/output buffer.
3093
666b903b 30942012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3095
3096 * files.el (dir-locals-read-from-file):
3097 Mention dir-locals in any error message.
3098
666b903b 30992012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3100
3101 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3102 package (Bug#11410).
3103
f677562b
CY
3104 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3105 variables into description.
3106
666b903b 31072012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3108
3109 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3110 shell-delimiter-argument-list (bug#11348).
3111 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3112
b499d8d0
JB
31132012-05-09 Juanma Barranquero <lekktu@gmail.com>
3114
8f6b6da8
JB
3115 * textmodes/rst.el: Silence byte-compiler warnings.
3116 (rst-re-alist, rst-reset-section-caches): Move around.
3117 (rst-re): Use `characterp', not `char-valid-p'.
3118 (font-lock-beg, font-lock-end): Declare.
3119
4824146a
JB
3120 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3121 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3122
b499d8d0
JB
3123 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3124
ad89bb83
GM
31252012-05-08 Glenn Morris <rgm@gnu.org>
3126
3127 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3128
8bba5a75
SM
31292012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3130
49ed9c8e
SM
3131 * vc/log-edit.el: Add GNU coding standards highlighting.
3132 (log-edit-font-lock-gnu-style)
3133 (log-edit-font-lock-gnu-keywords): New vars.
3134 (log-edit-font-lock-keywords): New fun.
3135 (log-edit-mode): Don't fold case in font-lock.
3136 (log-edit-font-lock-keywords): Do not assume case-folding.
3137
07d00b56
SM
3138 * imenu.el: Misc cleanup. Make docstrings out of comments.
3139 Use lexical-binding.
3140 (imenu--index-alist, imenu--last-menubar-index-alist)
3141 (imenu-menubar-modified-tick): Use defvar-local.
3142 (imenu--split-menu): Remove unused var.
3143 (imenu--cleanup-seen): Declare as global.
3144 (imenu--cleanup): Use dolist.
3145
8bba5a75
SM
3146 * subr.el (defvar-local): Add debug spec and doc-string position.
3147
5075bdb5
GM
31482012-05-08 Glenn Morris <rgm@gnu.org>
3149
090bd7cb 3150 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3151 * language/english.el, language/georgian.el, language/greek.el:
3152 * language/japanese.el, language/khmer.el, language/korean.el:
3153 * language/lao.el, language/misc-lang.el, language/romanian.el:
3154 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3155 * language/thai.el, language/utf-8-lang.el:
3156 Remove no-byte-compile setting.
3157
5075bdb5
GM
3158 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3159
06f679a7
AH
31602012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3161
3162 * progmodes/make-mode.el (makefile-browse):
3163 Remove unnecessary interactive. (Bug#11324)
3164
03794570
GM
31652012-05-07 Glenn Morris <rgm@gnu.org>
3166
af8630f4
GM
3167 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3168
03794570
GM
3169 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3170
f0809a9d
SM
31712012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3172
28be5ce7
SM
3173 * loadup.el: Preload newcomment.el.
3174 * newcomment.el: Move autoload-only code to toplevel.
3175
f0809a9d
SM
3176 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3177 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3178 Handle new :right-align column property.
3179 (tabulated-list-print-col): Idem, plus use `display' text-property to
3180 try and preserve alignment for variable pitch fonts.
3181
1241b724
CY
31822012-05-07 Chong Yidong <cyd@gnu.org>
3183
3184 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3185 (tabulated-list-use-header-line): New var.
3186 (tabulated-list-init-header): Use it.
3187 (tabulated-list-print-fake-header): New function.
3188 (tabulated-list-print): Use it.
3189 (tabulated-list-sort-button-map): Add non-header-line commands.
3190 (tabulated-list-init-header): Add column name property to basic
3191 labels as well.
3192 (tabulated-list-col-sort): Handle non-header-line button case.
3193 (tabulated-list--sort-by-column-name): Fix a corner case.
3194
f0809a9d
SM
3195 * buff-menu.el (list-buffers--refresh):
3196 Handle Buffer-menu-use-header-line.
1241b724 3197
e5f9458f
CY
31982012-05-06 Chong Yidong <cyd@gnu.org>
3199
3200 * buff-menu.el: Convert to Tabulated List mode.
3201 (Buffer-menu-buffer+size-width): Make obsolete.
3202 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3203 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3204 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3205 documentation into docstring of buffer-menu.
3206 (Buffer-menu-toggle-files-only): Add an informative message.
3207 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3208 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3209 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3210 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3211 (Buffer-menu-execute, Buffer-menu-select)
3212 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3213 (Buffer-menu-bury): Use Tabulated List machinery.
3214 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3215 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3216 Delete.
e5f9458f
CY
3217 (list-buffers--refresh): New function.
3218 (list-buffers-noselect): Use it.
3219 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3220 (Buffer-menu--pretty-file-name): New helper functions.
3221
3222 * loadup.el: Preload tabulated-list.
3223
3224 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3225 tabulated-list-sort-column.
3226 (tabulated-list-init-header): Add the initial aligning space even
3227 if tabulated-list-padding is zero.
3228
e129292c
CS
32292012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3230
3231 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3232 whose cdr is not a cons cell correctly (bug#11038).
3233
6632d361
CY
32342012-05-06 Chong Yidong <cyd@gnu.org>
3235
e129292c
CS
3236 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3237 Accept additional plist in column descriptors.
6632d361
CY
3238 (tabulated-list-init-header): Obey it.
3239 (tabulated-list-get-entry): New function.
3240 (tabulated-list-put-tag): Use it. Use string-width instead of
3241 length.
3242 (tabulated-list--column-number): New function.
3243 (tabulated-list-print): Use it.
e129292c
CS
3244 (tabulated-list-print-col): New function.
3245 Set `tabulated-list-column-name' property on each column's text.
6632d361 3246 (tabulated-list-print-entry): Use it.
e129292c
CS
3247 (tabulated-list-delete-entry, tabulated-list-set-col):
3248 New functions.
6632d361
CY
3249 (tabulated-list-sort-column): New command (Bug#11337).
3250
3cc99f68
CY
3251 * buff-menu.el (list-buffers): Move C-x C-b binding from
3252 buff-menu.el to bindings.el.
3253
3254 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3255 :advertised-binding feature.
3256
52b61776
TN
32572012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3258
3259 * progmodes/compile.el (compilation-internal-error-properties):
3260 Calculate start position correctly when end-col is set but
3261 end-line is not (Bug#11382).
3262
ebfe2597
WJ
32632012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3264
3265 * man.el (Man-unindent): Use text-property-default-nonsticky to
3266 prevent untabify from inheriting face properties (Bug#11408).
3267
6d3f7c2f
SM
32682012-05-05 Stefan Merten <smerten@oekonux.de>
3269
3270 * textmodes/rst.el: Major merge with upstream development up to
3271 Docutils SVN r7399 / rst.el V1.2.1.
3272
3273 Clarify maintainership and authors.
3274
3275 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3276 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3277 (rst-official-version, rst-official-cvs-rev, rst-version)
3278 (rst-package-emacs-version-alist): New functions and variables
3279 for version information.
3280
3281 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3282 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3283 (rst-mode-syntax-table, rst-mode): New and corrected functions
3284 and variables representing reStructuredText features.
3285
3286 (rst-re): New function for reStructuredText regexes. Use in
3287 many places.
3288
3289 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3290 (rst-mode-map): Rebind keys.
3291
3292 (rst-mode-lazy, rst-font-lock-keywords)
3293 (rst-font-lock-extend-region)
3294 (rst-font-lock-extend-region-internal)
3295 (rst-font-lock-extend-region-extend)
3296 (rst-font-lock-find-unindented-line-limit)
3297 (rst-font-lock-find-unindented-line-match)
3298 (rst-adornment-level, rst-font-lock-adornment-level)
3299 (rst-font-lock-adornment-match)
3300 (rst-font-lock-handle-adornment-pre-match-form)
3301 (rst-font-lock-handle-adornment-matcher): Major revision of
3302 font-locking. Integrate with other code. Use `jit-lock-mode'.
3303
3304 (rst-preferred-adornments, rst-adjust-hook)
3305 (rst-new-adornment-down, rst-preferred-bullets)
3306 (rst-preferred-bullets, rst-indent, rst-indent-width)
3307 (rst-indent-field, rst-indent-literal-normal)
3308 (rst-indent-literal-minimized, rst-indent-comment): Change,
3309 extend and improve customization.
3310
3311 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3312 (rst-normalize-cursor-position, rst-get-decoration)
3313 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3314 (rst-rstrip, rst-toc-insert-find-delete-contents)
3315 (rst-shift-fill-region, rst-compute-bullet-tabs)
3316 (rst-debug-print-tabs, rst-debug-mark-found)
3317 (rst-shift-region-guts, rst-shift-region-right)
3318 (rst-shift-region-left, rst-use-char-classes)
3319 (rst-font-lock-keywords-function)
3320 (rst-font-lock-indentation-point)
3321 (rst-font-lock-find-unindented-line-begin)
3322 (rst-font-lock-find-unindented-line-end)
3323 (rst-font-lock-find-unindented-line)
3324 (rst-font-lock-adornment-point, rst-font-lock-level)
3325 (rst-adornment-level-alist): Remove functions and variables.
3326
3327 (rst-compare-adornments, rst-get-adornment-match)
3328 (rst-suggest-new-adornment, rst-get-adornments-around)
3329 (rst-adornment-complete-p, rst-get-next-adornment)
3330 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3331 (rst-straighten-adornments): Standardize function names to
3332 use "adornment" instead of "decoration". Correct callers.
3333 Similar standardizing in many places.
3334
3335 (rst-update-section, rst-adjust, rst-promote-region)
3336 (rst-enumerate-region, rst-bullet-list-region)
3337 (rst-repeat-last-character): Correct use of `interactive'.
3338
3339 (rst-classify-adornment, rst-find-all-adornments)
3340 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3341 (rst-find-leftmost-column, rst-repeat-last-character):
3342 Refactor functions.
3343
3344 (rst-find-title-line, rst-reset-section-caches)
3345 (rst-get-adornments-around, rst-adjust-adornment-work)
3346 (rst-arabic-to-roman, rst-roman-to-arabic)
3347 (rst-insert-list-pos, rst-insert-list-new-item)
3348 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3349 New functions.
3350
3351 (rst-all-sections, rst-section-hierarchy)
3352 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3353 New variables.
3354
3355 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3356 configuration instead of only buffer. Change where necessary.
3357
3358 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3359 (rst-shift-region, rst-adaptive-fill): New functions for
3360 indentation and filling.
3361
3362 (rst-comment-line-break, rst-comment-indent)
3363 (rst-comment-insert-comment, rst-comment-region)
3364 (rst-uncomment-region): New functions for handling comments.
3365
3366 (rst-compile): Quote shell arguments.
3367
3368 (rst-compile-pdf-preview, rst-compile-slides-preview):
3369 Delete temporary files after use.
3370
a43f98b3
GM
33712012-05-05 Glenn Morris <rgm@gnu.org>
3372
48176e8b
GM
3373 * calendar/cal-html.el: Optionally include holidays in the output.
3374 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3375 (cal-html-holidays): New option.
3376 (cal-html-css-default): Add holiday entry.
3377 (holiday-in-range): Autoload it.
3378 (cal-html-htmlify-entry): Add optional class argument.
3379 (cal-html-htmlify-list): Add optional holidays argument.
3380 (cal-html-insert-agenda-days): Include holidays in the output.
3381 (cal-html-one-month): Maybe include holidays.
3382
a43f98b3
GM
3383 * calendar/holidays.el (holiday-in-range):
3384 Move here from cal-tex-list-holidays.
3385 * calendar/cal-tex.el (cal-tex-list-holidays):
3386 Make it an obsolete alias for holiday-in-range. Update all callers.
3387
fef9d149 33882012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3389
3390 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3391 Nextstep.
3392
248da2f4
RW
33932012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3394
3395 * files.el (file-auto-mode-skip): New var.
3396 (set-auto-mode-1): Use it.
3397
f95e9344
SM
33982012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3399
df96ab1e
SM
3400 * repeat.el: Use lexical-binding.
3401 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3402 (repeat-undo-count): Remove.
3403 (repeat):
3404 * progmodes/octave-mod.el (octave-abbrev-start):
3405 * progmodes/f90.el (f90-abbrev-start):
3406 * face-remap.el (text-scale-adjust):
3407 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3408
5342bb06
SM
3409 * emacs-lisp/pcase.el (pcase--let*): New function.
3410 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3411 a bit more.
3412 (pcase--split-pred): Be more clever about ruling out overlap between
3413 a predicate and some constant pattern.
3414 (pcase--q1): Use `null' instead of (eq foo nil).
3415
f95e9344
SM
3416 * subr.el (setq-local, defvar-local): New macros.
3417 (kbd): Redefine as an alias.
3418 (with-selected-window): Leave unrelated frames alone.
3419 (set-temporary-overlay-map): New function.
3420
71873e2b
SM
34212012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * subr.el (user-error): New function.
3424 * window.el (switch-to-buffer):
3425 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3426 (smerge-match-conflict):
3427 * simple.el (previous-matching-history-element)
3428 (next-matching-history-element, goto-history-element, undo-more)
3429 (undo-start):
3430 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3431 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3432 (next-file, tags-loop-scan, list-tags, complete-tag):
3433 * progmodes/compile.el (compilation-loop):
3434 * mouse.el (mouse-minibuffer-check):
3435 * man.el (Man-bgproc-sentinel, Man-goto-page):
3436 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3437 (Info-history-forward, Info-follow-reference, Info-menu)
3438 (Info-extract-menu-item, Info-extract-menu-counting)
3439 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3440 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3441 (Info-next-reference, Info-prev-reference, Info-index)
3442 (Info-index-next, Info-follow-nearest-node)
3443 (Info-copy-current-node-name):
3444 * imenu.el (imenu--make-index-alist)
3445 (imenu-default-create-index-function, imenu-add-to-menubar):
3446 * files.el (basic-save-buffer, recover-file):
3447 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3448 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3449 (checkdoc-message-text, checkdoc-defun):
3450 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3451 * cus-edit.el (customize-changed-options, customize-rogue)
3452 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3453 (custom-variable-mark-to-reset-standard)
3454 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3455 (custom-file):
3456 * completion.el (check-completion-length):
3457 * comint.el (comint-search-arg)
3458 (comint-previous-matching-input-string-position)
3459 (comint-previous-matching-input)
3460 (comint-replace-by-expanded-history-before-point, comint-send-input)
3461 (comint-copy-old-input, comint-backward-matching-input)
3462 (comint-goto-process-mark, comint-set-process-mark):
3463 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3464 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3465
8a61ee22
SM
34662012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3467
66408d1e
SM
3468 * dabbrev.el (dabbrev--ignore-case-p): New function.
3469 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3470 Use it.
3471
8a61ee22
SM
3472 * files.el (automount-dir-prefix): Mark as obsolete.
3473
3c74813a
GM
34742012-05-04 Glenn Morris <rgm@gnu.org>
3475
3476 * patcomp.el, play/bruce.el: Move to obsolete/.
3477
0bfcf5c5
PE
34782012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3479
3480 Fix minor Y10k bugs.
3481 * arc-mode.el (archive-unixdate):
3482 * autoinsert.el (auto-insert-alist):
3483 * calc/calc-forms.el (math-this-year):
3484 * emacs-lisp/copyright.el (copyright-current-year)
3485 (copyright-update-year, copyright):
3486 * tar-mode.el (tar-clip-time-string):
3487 * time.el (display-time-update):
3488 Don't assume years have 4 digits.
3489
78f3273a
CY
34902012-05-04 Chong Yidong <cyd@gnu.org>
3491
3492 * dos-w32.el (file-name-buffer-file-type-alist)
3493 (direct-print-region-use-command-dot-com):
3494 * ffap.el (ffap-menu-regexp):
3495 * find-file.el (ff-special-constructs):
3496 * follow.el (follow-debug):
3497 * forms.el (forms--debug):
3498 * iswitchb.el (iswitchb-all-frames):
3499 * ido.el (ido-all-frames):
3500 * emacs-lisp/timer.el (timer-max-repeats):
3501 * mail/feedmail.el (feedmail-mail-send-hook)
3502 (feedmail-mail-send-hook-queued):
3503 * mail/footnote.el (footnote-signature-separator):
3504 * mail/mailabbrev.el (mail-alias-separator-string)
3505 (mail-abbrev-mode-regexp):
3506 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3507 * progmodes/idlwave.el (idlwave-libinfo-file)
3508 (idlwave-default-completion-case-is-down)
3509 (idlwave-library-routines): Convert defvars to defcustoms.
3510
3511 * mail/rmail.el (rmail-decode-mime-charset):
3512 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3513 (idlwave-shell-fix-inserted-breaks)
3514 (idlwave-shell-activate-alt-keybindings)
3515 (idlwave-shell-use-breakpoint-glyph):
3516 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3517
f7ae6719
SM
35182012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3519
3520 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3521
47086495
WS
35222012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3523
3524 * progmodes/verilog-mode.el (font-lock-keywords):
3525 Fix mis-highligting auto. Reported by Craig Barner.
3526 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3527 defines from global name space. Reported by Dan Dever.
3528 (verilog-auto-reset, verilog-auto-reset-widths)
3529 (verilog-auto-tieoff): Support using unbased numbers for
3530 AUTORESET and AUTOTIEOFF.
3531 (verilog-submit-bug-report): Update variable list.
3532 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3533 parenthesis from not matching. Reported by Michael Rytting.
3534 (verilog-auto-template-lint): Fix hash error when linting modules
3535 with no used templates.
3536 (verilog-warn, verilog-warn-error)
3537 (verilog-warn-fatal): When non-interactive report multiple
3538 warnings before exiting. Suggested by Brad Dobbie.
3539 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3540 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3541 to report unused template errors. Reported by Brad Dobbie.
3542 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3543 nets, bug438. Reported by Vns Blore.
3544 (verilog-auto-inout-module, verilog-auto-reg)
3545 (verilog-read-decls, verilog-read-sub-decls-sig)
3546 (verilog-signals-edit-wire-reg, verilog-signals-with):
3547 Fix passing of Verilog data types in ANSI input/output ports
3548 such as "output logic" into the AUTOs. Special case "wire" and
3549 "reg" for backwards compatibility presuming Verilog 2001.
3550 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3551 (verilog-preprocess): Fix replication of preprocess output.
3552 Reported by Brad Dobbie.
3553 (verilog-auto-inst-interfaced-ports):
3554 Create verilog-auto-inst-interfaced-ports, bug429.
3555 Reported by Julian Gorfajn.
3556 (verilog-after-save-font-hook)
3557 (verilog-before-save-font-hook): New variable.
3558 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3559 (verilog-save-font-mods): Wrap disabling fontification, reported
3560 by David Rogoff.
3561 (verilog-do-indent, verilog-pretty-declarations-auto)
3562 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3563 Reported by Pierre-David Pfister.
3564 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3565 of class declarations, bug292. Reported by Kevin Heilman.
3566 (verilog-read-decls): Fix 'parameter type' not appearing in
3567 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3568 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3569 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3570 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3571 Reported by David Kravitz.
3572
35732012-05-03 Michael McNamara <mac@mail.brushroad.com>
3574
3575 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3576 assignment with tests in ifs and for loops.
3577 (verilog-extended-complete-re, verilog-complete-reg): Change so
3578 that DPI inport functions don't look like fuction declarations.
3579 (verilog-pretty-expr): Don't line up assignment
3580 operations to the test and increment in if and for loops
3581 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3582 that DPI inport functions don't look like fuction declarations.
47086495 3583
2e51d4b5
KH
35842012-05-03 Kenichi Handa <handa@m17n.org>
3585
3586 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3587 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3588 (Bug#11282).
3589
2bd785a2
SM
35902012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * emacs-lisp/bytecomp.el
3593 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3594 since cconv.el might have introduced :fun-body, internal-make-closure,
3595 and friends for bytecomp to handle (bug#11391).
3596 * custom.el (defcustom): Avoid ((λ ..) ..).
3597
99d27583
SM
35982012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3601
55a71479
JB
36022012-05-02 Juanma Barranquero <lekktu@gmail.com>
3603
3604 * notifications.el (dbus-debug):
3605 * term/linux.el (gpm-mouse-enable):
3606 * term/screen.el (xterm-register-default-colors): Declare.
3607
7b97c764
CY
36082012-05-02 Chong Yidong <cyd@gnu.org>
3609
2bc356d7
CY
3610 * cus-start.el (gc-cons-percentage, exec-suffixes)
3611 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3612 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3613 (make-cursor-line-fully-visible, void-text-area-pointer)
3614 (font-list-limit): Add customization data.
3615
7b97c764
CY
3616 * allout.el (allout-exposure-change-functions)
3617 (allout-structure-added-functions)
3618 (allout-structure-deleted-functions)
3619 (allout-structure-shifted-functions): Rename abnormal hooks from
3620 *-hook, and convert to defcustoms.
5d3385a0
JB
3621 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3622 Convert to defcustoms.
7b97c764
CY
3623 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3624
3625 * allout-widgets.el: Hook callers changed.
3626
90207a15 36272012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3628
3629 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3630 the yanked message in preference to the default value of
3631 buffer-file-coding-system.
3632
90207a15 36332012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3634
5d3385a0
JB
3635 * window.el (display-buffer--action-function-custom-type):
3636 Fix entry.
d9558cad 3637
90207a15 36382012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3639
3640 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3641
d80ac57b
GM
36422012-05-01 Glenn Morris <rgm@gnu.org>
3643
976f7668
GM
3644 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3645
beb83b5a
GM
3646 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3647
d80ac57b
GM
3648 * cus-edit.el (custom-variable-documentation): Simplify with format.
3649
b593d6a9
AH
36502012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3651 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * simple.el (suggest-key-bindings, execute-extended-command):
3654 Move from keyboard.c.
3655
782fbf2a
CY
36562012-05-01 Chong Yidong <cyd@gnu.org>
3657
3658 * follow.el: Eliminate advice.
3659 (set-process-filter, process-filter, sit-for): Advice deleted.
3660 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3661 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3662 Vars deleted.
782fbf2a
CY
3663 (follow-auto): Use a :set function.
3664 (follow-mode): Rewritten. Don't advise process filters.
3665 (follow-switch-to-current-buffer-all, follow-scroll-up)
3666 (follow-scroll-down): Assume follow-mode is bound.
3667 (follow-comint-scroll-to-bottom)
3668 (follow-align-compilation-windows): New functions.
3669 (follow--window-sorter): New function.
3670 (follow-all-followers): Use it to explicitly sort windows by their
3671 positions; don't make assumptions about next-window order.
3672 (follow-windows-start-end, follow-delete-other-windows-and-split)
3673 (follow-calc-win-start): Doc fix.
3674 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3675 vertical-motion unnecessarily.
3676 (follow-adjust-window): New function.
3677 (follow-post-command-hook): Use it.
3678 (follow-call-set-process-filter, follow-call-process-filter)
3679 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3680 (follow-stop-intercept-process-output, follow-generic-filter):
3681 Functions deleted.
3682 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3683 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3684 New functions, replacing advice on scroll-bar-* commands.
87233a14 3685 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3686
3687 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3688 (comint-postoutput-scroll-to-bottom): Use it.
3689 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3690
290af740
GM
36912012-05-01 Glenn Morris <rgm@gnu.org>
3692
3693 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3694 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3695 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3696 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3697 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3698 Remove no-byte-compile setting.
3699
6eac8dc9
SM
37002012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3703 all-completions code to not return a number in the last cdr.
3704
9cc7819c
LL
37052012-04-30 Leo Liu <sdl.web@gmail.com>
3706
3707 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3708 read-only error.
3709
c93b886f
CY
37102012-04-29 Chong Yidong <cyd@gnu.org>
3711
3712 * follow.el (follow-calc-win-end): Rewrite to handle partial
3713 screen lines correctly (Bug#8390).
3714 (follow-avoid-tail-recenter): Minor cleanup.
3715
8b6c19f4
SM
37162012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 Avoid the obsolete `assoc' package.
3719 * speedbar.el (speedbar-refresh): Avoid adelete.
3720 (speedbar-file-lists): Simplify and avoid aput.
3721 * man.el (Man--sections, Man--refpages): New vars, replacing
3722 Man-sections-alist and Man-refpages-alist.
3723 (Man-build-section-alist, Man-build-references-alist):
3724 Use them; avoid aput.
3725 (Man--last-section, Man--last-refpage): New vars.
3726 (Man-follow-manual-reference): Use them.
3727 Use the `default' arg of completing-read.
3728 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3729
c5bb7569
CY
37302012-04-27 Chong Yidong <cyd@gnu.org>
3731
d1d2e2e8
CY
3732 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3733
15cd8efd
CY
3734 * startup.el (x-apply-session-resources): New function.
3735
3736 * term/ns-win.el (ns-initialize-window-system):
3737 * term/w32-win.el (w32-initialize-window-system):
3738 * term/x-win.el (x-initialize-window-system): Use it to properly
3739 set menu-bar-mode and other vars from X resources, even if the
3740 initial frame is not a window-system frame (Bug#2299).
3741
c5bb7569
CY
3742 * subr.el (read-key): Avoid running filter function when setting
3743 up temporary tool bar entries (Bug#9922).
3744
a8e7d6d7 37452012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
3746
3747 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
3748 (Bug#11344)
3749
a8e7d6d7 37502012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
3751
3752 * select.el (xselect--encode-string): New function, split from
3753 xselect-convert-to-string.
3754 (xselect-convert-to-string): Use it.
3755 (xselect-convert-to-filename, xselect-convert-to-os)
3756 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
3757 returned strings are properly encoded (Bug#11315).
3758
a8e7d6d7 37592012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
3760
3761 * simple.el (delete-active-region): Move to killing custom group.
3762
a8e7d6d7 37632012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
3764
3765 * progmodes/which-func.el (which-func-current): Quote %
3766 characters for mode-line processing.
3767
578c1d4b 37682012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
3769
3770 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
3771 reaching eob (Bug#11286).
3772
a8e7d6d7 37732012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
3774
3775 * progmodes/gdb-mi.el (gdb-control-level): New variable.
3776 (gdb): Make it buffer-local and init to zero.
3777 (gdb-control-commands-regexp): New variable.
3778 (gdb-send): Don't wrap in "-interpreter-exec console" if
3779 gdb-control-level is positive. Increment gdb-control-level
3780 whenever the command matches gdb-control-commands-regexp, and
3781 decrement it each time the command is "end". (Bug#11279)
3782
a8e7d6d7 37832012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
3784
3785 * window.el (adjust-window-trailing-edge, enlarge-window)
3786 (shrink-window, window-resize):
3787 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
3788 windows (Bug#11276).
3789
b3608390
CY
37902012-04-27 Chong Yidong <cyd@gnu.org>
3791
3792 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 3793 fix "missing prefix" warning. All callers changed.
b3608390 3794
797e6e88
SM
37952012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * emacs-lisp/assoc.el: Move to obsolete/.
3798
e95a67dc
SM
37992012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3800
657c21e4 3801 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
3802
3803 * term/ns-win.el (ns-define-service):
3804 * progmodes/pascal.el (pascal-goto-defun):
3805 * progmodes/js.el (js--read-tab):
3806 * progmodes/etags.el (tags-lazy-completion-table):
3807 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
3808 * emacs-lisp/ewoc.el (ewoc--wrap):
3809 * emacs-lisp/assoc.el (aput, adelete, amake):
3810 * doc-view.el (doc-view-convert-current-doc):
3811 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
3812
cb3e7ae0
CY
38132012-04-26 Chong Yidong <cyd@gnu.org>
3814
dce04f7f
CY
3815 * image.el (image-type-from-buffer): Only return supported image
3816 type (Bug#9045).
3817
cb3e7ae0
CY
3818 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
3819 value, for symmetry with diff-end-of-hunk.
3820 (diff-split-hunk, diff-find-source-location)
3821 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
3822 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
3823 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
3824 compute the relevant hunk or file properly (Bug#6005).
3825 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
3826
0d42eb3e
SM
38272012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * vc/vc-mtn.el:
3830 * vc/vc-hg.el:
3831 * vc/vc-git.el:
3832 * vc/vc-dir.el:
3833 * vc/vc-cvs.el:
3834 * vc/vc-bzr.el:
3835 * vc/vc-arch.el:
3836 * vc/vc.el: Replace lexical-let by lexical-binding.
3837 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
3838 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
3839 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
3840
f08ae1c9
CY
38412012-04-26 Chong Yidong <cyd@gnu.org>
3842
8b71081d
CY
3843 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3844 (diff-mode-shared-map): Bind it to / and [remap undo].
3845
f08ae1c9
CY
3846 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3847 (ediff-window-setup-function): Use it as the default, to set up
3848 windows based on whether the current frame is graphical (Bug#2138).
3849 (ediff-choose-window-setup-function-automatically): Make obsolete.
3850
3851 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3852
ef24141c
SM
38532012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3854
cc356a5d
SM
3855 * ffap.el: Remove old code for obsolete package.
3856 (ffap-complete-as-file-p): Remove.
3857
b4ff4f1f
SM
3858 Use completion-table-with-quoting for comint and pcomplete.
3859 * comint.el (comint--unquote&requote-argument)
3860 (comint--unquote-argument, comint--requote-argument): New functions.
3861 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3862 (comint-quote-filename): Use regexp-opt-charset.
3863 (comint--common-suffix, comint--common-quoted-suffix)
3864 (comint--table-subvert): Remove.
3865 (comint-unquote-function, comint-requote-function): New vars.
3866 (comint--complete-file-name-data): Use them with
3867 completion-table-with-quoting.
3868 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3869 * pcomplete.el (pcomplete-arg-quote-list)
3870 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3871 (pcomplete-unquote-argument-function): Default to non-nil.
3872 (pcomplete-unquote-argument): Simplify.
3873 (pcomplete--common-quoted-suffix): Remove.
3874 (pcomplete-requote-argument-function): New var.
3875 (pcomplete--common-suffix): New function.
3876 (pcomplete-completions-at-point): Use completion-table-with-quoting
3877 and completion-table-subvert.
3878
79c4eeb4
SM
3879 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3880 (minibuffer--double-dollars): Preserve properties.
3881 (completion--sifn-requote): New function.
3882 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3883
ef24141c
SM
3884 * minibuffer.el: Add support for completion of quoted/escaped data.
3885 (completion-table-with-quoting, completion-table-subvert): New funs.
3886 (completion--twq-try, completion--twq-all): New functions.
3887 (completion--nth-completion): New function.
3888 (completion-try-completion, completion-all-completions): Use it.
3889
784e7d6e
LL
38902012-04-25 Leo Liu <sdl.web@gmail.com>
3891
dd2ac746
SM
3892 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3893 Use compilation-message if available to find real filename.
784e7d6e 3894
07875ee7
CY
38952012-04-25 Chong Yidong <cyd@gnu.org>
3896
3897 * vc/diff-mode.el (diff-setup-whitespace): New function.
3898 (diff-mode): Use it.
3899
3900 * vc/diff.el (diff-sentinel):
3901 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3902 Whitespace mode variables based on diff style (Bug#8612).
3903
5055880d
LL
39042012-04-25 Leo Liu <sdl.web@gmail.com>
3905
daf75653
LL
3906 * progmodes/python.el (python-send-region): Add suffix .py to the
3907 temp file.
3908
5055880d
LL
3909 * files.el (auto-mode-alist): Use javascript-mode instead.
3910
db9b177b
AH
39112012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3912
ef24141c 3913 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 3914
090bd7cb 3915 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3916 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3917 references, see Bug#9.
ef24141c 3918 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3919 when receiving a fault reply.
ef24141c 3920 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 3921
090bd7cb 3922 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3923 (soap-inspect-simple-type): New function.
db9b177b 3924
090bd7cb 3925 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 3926 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3927 (soap-decode-basic-type, soap-encode-basic-type):
3928 support unsignedInt and double basic types.
db9b177b 3929 (soap-resolve-references-for-simple-type)
ef24141c
SM
3930 (soap-parse-simple-type, soap-encode-simple-type): New function.
3931 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 3932
090bd7cb 3933 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
3934 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3935 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3936 the local name of "soapenc:Array".
3937 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3938 decoding integer, byte and anyURI xsd types.
3939
1fc6097b
CY
39402012-04-25 Chong Yidong <cyd@gnu.org>
3941
3942 * cus-edit.el (custom-buffer-create-internal): Update header text.
3943
afc6df87
EZ
39442012-04-25 Eli Zaretskii <eliz@gnu.org>
3945
3946 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3947 settings on 'system-type', not on 'window-system'. On MS-Windows,
3948 set interactive-mode on in GDB.
3949
dfbd787f
SM
39502012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3953 (ruby-syntax-propertize-regexp): Remove.
3954 (ruby-syntax-propertize-function): Split regexp into chunks.
3955 Match following code directly.
3956
85222d44
DG
39572012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3958
51a8ea2a
DG
3959 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3960 (ruby-syntax-propertize-regexp): New function.
3961 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3962 by a special keyword.
3963
85222d44
DG
3964 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3965 (ruby-syntax-general-delimiters-goto-beg)
3966 (ruby-syntax-propertize-general-delimiters): New functions.
3967 (ruby-syntax-propertize-function): Use them to handle GDL.
3968 (ruby-font-lock-keywords): Move old handling of GDL...
3969 (ruby-font-lock-syntactic-keywords): .. to here.
3970 (ruby-calculate-indent): Adjust indentation for GDL.
3971
b613912b
MA
39722012-04-24 Michael Albinus <michael.albinus@gmx.de>
3973
b5380639
MA
3974 * notifications.el (top): Remove unneeded declarations.
3975 (notifications-specification-version): Change to "1.2".
e43042fe 3976 (notifications-interface, notifications-notify-method)
b613912b
MA
3977 (notifications-close-notification-method): Fix docstring.
3978 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3979 (notifications-notify): Add :action-items, :resident and
3980 :transient hints. Change "image_data" to "image-data" and
3981 "image_path" to "image-path".
b613912b
MA
3982 (notifications-get-capabilities): New defun.
3983
257440aa
LL
39842012-04-24 Leo Liu <sdl.web@gmail.com>
3985
3986 * progmodes/python.el: Move hideshow setup to the end.
3987
b1bac16e
MR
39882012-04-24 Martin Rudalics <rudalics@gmx.at>
3989
3990 * window.el (handle-select-window): Clear echo area since this is
3991 no more done by read_char (Bug#11304).
3992
d81bd059
SM
39932012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3994
3995 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3996 and `/ M' to filter-derived-mode.
3997 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3998 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3999 (ibuffer-mark-by-mode): Use default rather than initial-input.
4000 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4001
c4cf6d91
IA
40022012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4003
4004 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4005 (ibuffer-filter-by-derived-mode): New filter.
4006 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4007
7511ded8
CY
40082012-04-23 Andreas Politz <politza@fh-trier.de>
4009
4010 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4011
775c916b
CY
40122012-04-23 Chong Yidong <cyd@gnu.org>
4013
4014 * cus-edit.el (customize-apropos, customize-apropos-options):
4015 Disable matching of non-option variables (Bug#11176).
4016 (customize-option, customize-option-other-window)
4017 (customize-changed-options): Doc fix.
4018 (customize-apropos-options, customize-apropos-faces)
4019 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4020
4021 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4022 Fix word list splitting (Bug#11132).
46c71e23
CY
4023 (apropos-symbol, apropos-keybinding, apropos-label)
4024 (apropos-property, apropos-function-button)
4025 (apropos-variable-button, apropos-misc-button): New faces.
4026 (apropos-symbol-face, apropos-keybinding-face)
4027 (apropos-label-face, apropos-property-face, apropos-match-face):
4028 Variables removed (Bug#8396).
4029 (apropos-library-button, apropos-format-plist, apropos-print)
4030 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4031
2df41f9c
MA
40322012-04-23 Michael Albinus <michael.albinus@gmx.de>
4033
4034 * net/xesam.el (xesam-mode-map): Use let-bound map in
4035 initialization. (Bug#11292)
4036
da00640a
AM
40372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4038
4039 Preserve ispell session localwords when switching back to
4040 original buffer.
4041
090bd7cb
JB
4042 * textmodes/ispell.el (ispell-buffer-session-localwords):
4043 New buffer-local variable to hold buffer session localwords.
ed9265fc 4044 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4045 localwords.
4046 (ispell-command-loop, ispell-change-dictionary)
4047 (ispell-buffer-local-words): Preserve session localwords when
4048 needed.
4049
090bd7cb
JB
4050 * textmodes/flyspell.el (flyspell-process-localwords)
4051 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4052
f621ccf5
AM
40532012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4054
090bd7cb
JB
4055 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4056 using obsolete `translation-table-for-input'.
ef24141c
SM
4057 (ispell-word, ispell-process-line, ispell-complete-word):
4058 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4059
c2d1019e
CY
40602012-04-22 Chong Yidong <cyd@gnu.org>
4061
4062 * cus-edit.el (custom-variable-menu)
4063 (custom-variable-reset-saved, custom-face-menu)
4064 (custom-face-reset-saved): If there is no saved value, make the
4065 "reset-saved" operation bring back the default (Bug#9509).
4066 (custom-face-state): Properly detect themed faces.
4067
eeddc531
CY
4068 * faces.el (face-spec-set): Stop supporting deprecated form of
4069 third arg.
4070
dcbf5805
MA
40712012-04-22 Michael Albinus <michael.albinus@gmx.de>
4072
4073 Move functions from C to Lisp. Make non-blocking method calls
4074 the default. Implement further D-Bus standard interfaces.
4075
ef24141c
SM
4076 * net/dbus.el (dbus-message-internal): Declare function.
4077 Remove unneeded function declarations.
dcbf5805
MA
4078 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4079 (dbus-message-type-method-return, dbus-message-type-error)
4080 (dbus-message-type-signal): Declare variables. Remove local
4081 definitions.
4082 (dbus-interface-dbus, dbus-interface-peer)
4083 (dbus-interface-introspectable, dbus-interface-properties)
4084 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4085 Adapt docstring.
4086 (dbus-interface-objectmanager): New defconst.
4087 (dbus-call-method, dbus-call-method-asynchronously)
4088 (dbus-send-signal, dbus-method-return-internal)
4089 (dbus-method-error-internal, dbus-register-service)
4090 (dbus-register-signal, dbus-register-method): New defuns, moved
4091 from dbusbind.c
4092 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4093 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4094 New defuns.
dcbf5805
MA
4095 (dbus-call-method-non-blocking): Make it an obsolete function.
4096 (dbus-unregister-object, dbus-unregister-service)
4097 (dbus-handle-event, dbus-register-property)
4098 (dbus-property-handler): Obey the new structure of
4099 `bus-registered-objects'.
4100 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4101 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4102 Use `dbus-call-method'.
4103
cf20dee0
CY
41042012-04-22 Chong Yidong <cyd@gnu.org>
4105
4106 * cus-edit.el (custom-commands, custom-reset-menu)
4107 (Custom-reset-standard): Tweak labels.
4108 (custom-reset-button-menu): Change default to t.
4109 (custom-buffer-create-internal): For the custom-reset-button-menu
4110 case, put the revert button first.
4111 (custom-group-subtitle): New face.
4112 (custom-group-value-create): Align docstring to a specific column.
4113
4114 * wid-edit.el (widget-documentation-link-add): Don't handle
4115 indentation in this function.
4116 (widget-documentation-string-indent-to): New function.
4117 (widget-documentation-string-value-create): Use it.
4118
4119 * autorevert.el (auto-revert):
4120 * epg-config.el (epg):
4121 * ibuffer.el (ibuffer):
4122 * mpc.el (mpc):
4123 * ses.el (ses):
4124 * eshell/eshell.el (eshell):
4125 * net/ange-ftp.el (ange-ftp):
4126 * progmodes/ebnf2ps.el (postscript):
4127 * progmodes/flymake.el (flymake):
4128 * progmodes/prolog.el (prolog):
4129 * progmodes/verilog-mode.el (verilog-mode):
4130 * progmodes/which-func.el (which-func):
4131 * term/xterm.el (xterm):
4132 * textmodes/picture.el (picture):
4133 * textmodes/tildify.el (tildify):
4134 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4135 customization buffers.
4136
583e23bd
AM
41372012-04-22 Alan Mackenzie <acm@muc.de>
4138
4139 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4140 Adding a ) can hide the resulting (..) from searches. Fix it.
4141 Bound the backward search to the position of the existing (.
4142
7dd51bf1
JB
41432012-04-21 Juanma Barranquero <lekktu@gmail.com>
4144
4145 * progmodes/verilog-mode.el (verilog-mode): Check whether
4146 which-func-modes is t before adding verilog-mode.
4147 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4148
d64a438f
LL
41492012-04-21 Leo Liu <sdl.web@gmail.com>
4150
7dd51bf1 4151 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4152
081e8d65
MV
41532012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4154
4155 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4156 filling of the last column of a table (Bug#5635).
4157 (woman-find-next-control-line): New arg, specifying an additional
4158 regexp component for the control line.
4159 (woman2-roff-buffer): Use it.
4160 (woman-break-table): New function.
4161 (woman2-TS): Use it.
4162
41632012-04-21 Chong Yidong <cyd@gnu.org>
4164
4165 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4166 (woman-horizontal-escapes, woman-negative-vertical-space)
4167 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4168 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4169
ed571ccb
SM
41702012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * minibuffer.el (completion-file-name-table): Complete user names.
4173
39773899
LL
41742012-04-20 Leo Liu <sdl.web@gmail.com>
4175
4176 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4177 and pcase-let*.
4178
de6ff46d
CY
41792012-04-20 Chong Yidong <cyd@gnu.org>
4180
4181 * server.el (server-execute): Respect initial-buffer-choice if it
4182 is a string and there are no files to open (Bug#2825).
4183 (server-create-window-system-frame, server-create-tty-frame):
4184 Don't switch buffers here.
2d0e8e61
CY
4185 (server-process-filter): Only try to open a window system frame if
4186 compiled with graphical support (Bug#8314).
de6ff46d 4187
54071013
DN
41882012-04-20 Dan Nicolaescu <dann@gnu.org>
4189
4190 * battery.el (battery-echo-area-format): Display remaining time
4191 for sysfs backend too (Bug#11269).
4192 (battery-linux-sysfs): Fix conditional for the charge.
4193
f30d612a
CY
41942012-04-20 Chong Yidong <cyd@gnu.org>
4195
c07a4c0b 4196 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4197 (gdb-inferior-io--init-proc): New function.
4198 (gdb-init-1): Use it.
4199 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4200 responsible for allocating a new pty and hooking it to gdb when
4201 the old pty gets an EIO due to process exit.
4202 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4203 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4204 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4205
2116e93c
EZ
42062012-04-20 Eli Zaretskii <eliz@gnu.org>
4207
4208 * window.el (window-min-size, window-sizable, window-min-delta)
4209 (window-max-delta, window--resizable, window-resizable)
4210 (window-total-size, window-full-height-p, window-full-width-p)
4211 (window-in-direction, window--resize-mini-window, window-resize)
4212 (window--resize-child-windows-normal)
4213 (window--resize-child-windows, window--resize-siblings)
4214 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4215 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4216
c07a4c0b 42172012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4218
ef24141c
SM
4219 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4220 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4221 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4222 pty process (Bug#11273).
4223 (gdb-update): New arg to suppress talking to the gdb process.
4224 (gdb-done-or-error): Use it.
4225 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4226 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4227 sentinel not being called.
4228
4229 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4230
d02766ab
CY
4231 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4232
c07a4c0b 42332012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4234
4235 * net/network-stream.el (open-network-stream): Doc fix.
4236
c07a4c0b 42372012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4238
4239 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4240
c07a4c0b 42412012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4242
4243 Ensure searching for keywords is case sensitive.
4244
4245 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4246 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4247 (c-defun-name, c-mark-function, c-cpp-define-name)
4248 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4249 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4250
ef24141c
SM
4251 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4252 Bind case-fold-search to nil.
f0f6bc35 4253
c07a4c0b 42542012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4255
4256 * mail/sendmail.el (mail-bury): Call return action with the right
4257 Rmail buffer (Bug#11242).
4258
9a864fa2
CY
4259 * server.el (server-process-filter): Handle corner case where both
4260 tty and nowait options are present (Bug#11102).
4261
539aa513
EZ
42622012-04-20 Eli Zaretskii <eliz@gnu.org>
4263
4264 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4265 (top level): Put into the executable the ident-style '$Id:' tag on
4266 windows-nt as well.
539aa513 4267
cfc7d5da
SM
42682012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4269
4270 * electric.el (electric-indent-post-self-insert-function): Check that
4271 electric-indent-mode is enabled in current buffer.
4272
5b01685c
JB
42732012-04-19 Juanma Barranquero <lekktu@gmail.com>
4274
4275 * imenu.el (imenu-progress-message): Restore; it is "used" in
4276 erc/erc-imenu.el and net/snmp-mode.el.
4277
4d6769e1
JB
42782012-04-19 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4281 (mouse-avoidance-nudge-mouse): Remove unused binding.
4282
4283 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4284
4285 * descr-text.el (describe-char):
4286 * progmodes/python.el (python-describe-symbol):
4287 Don't call `toggle-read-only', set `buffer-read-only'.
4288
4289 * imenu.el (imenu-default-goto-function): Mark unused args.
4290 (imenu-progress-message): Remove obsolete macro; all callers changed.
4291
4292 * subr.el (keymap-canonicalize): Remove unused binding.
4293 (read-passwd): Mark unused arg.
4294
4295 * tutorial.el (tutorial--display-changes): Remove unused binding.
4296 (tutorial--save-tutorial-to): Remove unused variable.
4297
4298 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4299 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4300 (package-generate-autoloads, package-menu--generate)
4301 (package-menu--find-upgrades): Remove unused bindings.
4302
4303 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4304 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4305 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4306 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4307 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4308 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4309 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4310 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4311 (cua-delete-char-rectangle): Mark unused args.
4312 (cua-align-rectangle): Remove unused binding.
4313
4314 * mail/rmail.el (compilation--message->loc)
4315 (epa--find-coding-system-for-mime-charset): Declare.
4316
4317 * net/dbus.el (dbus-register-service): Declare.
4318 (dbus-name-owner-changed-handler): Remove unused binding.
4319
4320 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4321 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4322 (nxml-scan-backward-within): Mark unused arg.
4323 (nxml-dynamic-markup-word): Remove unused binding.
4324
4325 * mouse.el (mouse-menu-major-mode-map):
4326 * emacs-lisp/authors.el (authors-scan-change-log)
4327 (authors-add-to-author-list):
4328 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4329 * emacs-lisp/smie.el (smie-auto-fill):
4330 * mail/sendmail.el (mail-bury):
4331 * mail/unrmail.el (unrmail):
4332 * net/tls.el (open-tls-stream):
4333 * textmodes/picture.el (picture-mouse-set-point):
4334 Remove unused bindings.
4335
8c8fc5df
MA
43362012-04-19 Michael Albinus <michael.albinus@gmx.de>
4337
4338 * net/tramp.el (tramp-action-password): Let-bind
4339 `enable-recursive-minibuffers' to t.
4340
a77b0ac9
SS
43412012-04-18 Sam Steingold <sds@gnu.org>
4342
4343 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4344 instead of 'string to accommodate values like [f11].
4345 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4346 * progmodes/gdb-mi.el: Likewise.
4347
12a106a9
LL
43482012-04-18 Leo Liu <sdl.web@gmail.com>
4349
4350 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4351 current buffer.
4352 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4353 LOCAL is nil.
4354
bc6494ef
CY
43552012-04-18 Chong Yidong <cyd@gnu.org>
4356
4357 * simple.el (line-move): Use forward-line if in batch mode
4358 (Bug#11053).
4359
c09c46b2
CS
43602012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4361
4362 * files.el (after-find-file): Do not try to add a final newline if
4363 the buffer is read-only (Bug#11156).
4364
5f6530ea
RS
43652012-04-17 Richard Stallman <rms@gnu.org>
4366
4367 * mail/rmail.el (rmail-start-mail):
4368 Pass (rmail-mail-return...) for the return-action.
4369 Pass (rmail-yank-current-message...) for the yank-action.
4370 (rmail-yank-current-message): New function.
4371 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4372 (rmail-reply): Likewise.
4373 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4374
4375 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4376 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4377 buffer, not newbuf.
4378
197b6f3c
JB
43792012-04-17 Juanma Barranquero <lekktu@gmail.com>
4380
4381 * server.el (server-ensure-safe-dir): Simplify.
4382
2311d8e5 43832012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4384
2311d8e5
GM
4385 * emacs-lisp/smie.el: Provide smarter auto-filling.
4386 (smie-auto-fill): New function.
4387 (smie-setup): Use it.
98fb480e 4388
2311d8e5
GM
4389 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4390
43912012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4392
4393 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4394 (comment-indent): Use it.
4395
2311d8e5 43962012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4397
4398 * ses.el: The overall change is to add cell renaming, that is
4399 setting fancy names for cell symbols other than name matching
4400 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4401 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4402 (ses-create-cell-variable): New defun.
2311d8e5 4403 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4404 (ses-relocate-formula): Relocate formulas only for cells the
4405 symbols of which are not renamed, i.e. symbols whose names do not
4406 match regexp "\\`[A-Z]+[0-9]+\\'".
4407 (ses-relocate-all): Relocate values only for cells the symbols of
4408 which are not renamed.
4409 (ses-load): Create cells variables as the (ses-cell ...) are read,
4410 in order to check row col consistency with cell symbol name only
4411 for cells that are not renamed.
4412 (ses-replace-name-in-formula): New defun.
4413 (ses-rename-cell): New defun.
4bdf2ad2 4414
fc72b15c
PO
44152012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4416
4417 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4418 New option (bug#11118).
4419 (perl-calculate-indent): Respect it.
4420
12e10e61
GM
44212012-04-17 Glenn Morris <rgm@gnu.org>
4422
4423 * dired-aux.el (dired-mark-read-string): Doc fix.
4424
30009afd
DA
44252012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4426
4427 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4428 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4429
41f03f4d
GM
44302012-04-17 Glenn Morris <rgm@gnu.org>
4431
4432 * mouse.el (mouse-drag-track):
4433 * speedbar.el (speedbar-frame-mode):
4434 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4435
f45f90f3
LL
44362012-04-16 Leo Liu <sdl.web@gmail.com>
4437
4438 * progmodes/python.el: Trivial cleanup.
4439
94ee8db5
GM
44402012-04-16 Glenn Morris <rgm@gnu.org>
4441
121b8917
GM
4442 * vc/vc.el (vc-string-prefix-p):
4443 * vc/pcvs-util.el (cvs-string-prefix-p):
4444 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4445 * mpc.el (mpc-string-prefix-p):
4446 Make all of these into obsolete aliases for string-prefix-p.
4447 Update callers.
4448 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4449
1197ecfa
GM
4450 * textmodes/two-column.el: Move custom options to the start.
4451 (frame-width): Remove compat definition.
4452 (2C-associate-buffer, 2C-dissociate):
4453 Use with-current-buffer rather than save-excursion.
4454 (2C-dissociate): Force a mode-line update.
4455 (2C-autoscroll): Use ignore-errors.
4456
099e7202
GM
4457 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4458 Autoload trivia.
4459
bf350d6a
GM
4460 * emacs-lisp/cl-extra.el (*random-state*):
4461 Remove unnecessary declaration.
4462
0e829eab
GM
4463 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4464
e3ad7552
GM
4465 * play/cookie1.el (cookie-snarf):
4466 Give an explicit error if input file cannot be read.
4467
68892d27
GM
4468 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4469
20f0c46d
GM
4470 * progmodes/perl-mode.el (c-macro-expand):
4471 Remove unnecessary autoload (it is in loaddefs.el).
4472
5a0978ce
GM
4473 * textmodes/picture.el (picture-desired-column)
4474 (picture-update-desired-column): Convert comments to doc-strings.
4475 (picture-substitute): Remove function.
4476 (picture-mode-map): Initialize in the defvar.
4477
6b955486
GM
4478 * woman.el: Remove eval-after-load for tar-mode.
4479 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4480 (woman-tar-extract-file): Autoload it.
4481
94ee8db5
GM
4482 * frame.el (automatic-hscrolling): Make this alias obsolete.
4483
177eca34
AM
44842012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4485
090bd7cb 4486 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4487 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4488 (ispell-dictionary-base-alist): Revert to original XEmacs
4489 friendly version for default. [:alpha:] will be added in
090bd7cb 4490 `ispell-set-spellchecker-params' if needed.
177eca34 4491
c505aaeb
CY
44922012-04-16 Chong Yidong <cyd@gnu.org>
4493
b19dd9d1 4494 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4495 (imagemagick-register-types): Use it.
4496 (imagemagick-types-inhibit): Add :set function. Allow new value
4497 of t to inhibit all types.
4498
4499 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4500 so we can preload it.
4501
4502 * loadup.el (fboundp): Preload regexp-opt, needed by
4503 imagemagick-register-types.
4504
60efac0f
CY
45052012-04-15 Chong Yidong <cyd@gnu.org>
4506
4507 * frame.el (scrolling): Remove nearly unused customization group.
4508
4509 * scroll-all.el (scroll-all-mode): Move to windows group.
4510
5dd1713e
CY
45112012-04-15 Chong Yidong <cyd@gnu.org>
4512
4513 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4514
e6fd457e
CY
45152012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4518 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4519
e153c136
GM
45202012-04-15 Glenn Morris <rgm@gnu.org>
4521
4522 * simple.el (process-file-side-effects): Doc fix.
4523
e6fd457e 45242012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4525
4526 * international/mule-cmds.el (set-language-environment): Doc fix.
4527
3603c3b1
JB
45282012-04-14 Juanma Barranquero <lekktu@gmail.com>
4529
4530 * server.el (server-auth-key, server-generate-key): Doc fixes.
4531 (server-get-auth-key): Doc fix. Use `string-match-p'.
4532 (server-start): Reflow docstring.
4533
e6de100c
LI
45342012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4535
4536 * server.el (server-generate-key): `called-interactively-p'
4537 requires a parameter.
4538
29734c21
MN
45392012-04-14 Michal Nazarewicz <mina86@mina86.com>
4540
4541 * server.el (server-auth-key): New variable.
75f1671a 4542 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4543 (server-start): Use the new variable and functions to allow
4544 setting a permanent server key (bug#9423).
4545
d65c9521
LL
45462012-04-14 Leo Liu <sdl.web@gmail.com>
4547
4548 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4549
5ae255c7
PE
45502012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4551
4552 Spelling fixes.
4553 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4554 Emacs uses American spelling.
4555
d5e6342e
JB
45562012-04-14 Juanma Barranquero <lekktu@gmail.com>
4557
4558 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4559 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4560 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4561 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4562
ab036cd7
SM
45632012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * progmodes/which-func.el (which-func-modes): Change default.
4566
35dc09a1 45672012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4568
4569 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4570 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4571
35dc09a1 45722012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4573
4574 * custom.el (custom-theme-set-variables): Doc fix.
4575
35dc09a1 45762012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4577
4578 * international/mule.el (set-auto-coding-for-load): Doc fix.
4579
35dc09a1 45802012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4581
35dc09a1
GM
4582 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4583 imenu work again for Objective C Mode. Correct the *-index values,
4584 these having been disturbed by a previous change in 2011-08.
57f845ee 4585
0de3da9f
AM
4586 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4587 Correct two search limits.
4588
35dc09a1 45892012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4590
4591 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4592
35dc09a1 45932012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4594
4595 * international/characters.el: Fix sorting.
4596
35dc09a1 45972012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4598
4599 * international/characters.el: Add more missing Latin case pairs.
4600
35dc09a1 46012012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4602
4603 * files.el (dir-locals-set-class-variables): Doc fix.
4604
35dc09a1 46052012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4606
3f1b5bf8
EZ
4607 * international/characters.el: Add set-case-syntax-pair call for
4608 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4609 counterpart. (Bug#11209)
4610
9f847f41
EZ
4611 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4612
35dc09a1 46132012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4614
4615 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4616
35dc09a1 46172012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4618
35dc09a1
GM
4619 * textmodes/ispell.el (ispell-dictionary-base-alist):
4620 Add data for Hebrew.
e2627d21 4621
35dc09a1 46222012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4623
35dc09a1
GM
4624 * net/rcirc.el (rcirc-cmd-quit):
4625 Revert 2012-03-18 change (Bug#11192).
5c14e333 4626
35dc09a1 46272012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4628
4629 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4630
35dc09a1 46312012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4632
4517fe3a
SM
4633 * minibuffer.el (completion-in-region-mode-map):
4634 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4635
b472a594
VD
46362012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4637
4638 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4639
09b95ce3
MY
46402012-04-13 Masatake YAMATO <yamato@redhat.com>
4641
4642 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4643 to allow `C-M-f' and `C-M-b' to move to the nearest path
4644 separator (bug#9511).
4645
4b63a9ca
LI
46462012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4647
4648 * avoid.el: Require cl when compiling. And also move the
4649 `provide' to the end.
4650
7b55b8bf
TV
46512012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4652
4653 * avoid.el (mouse-avoidance-banish-position): New variable.
4654 (mouse-avoidance-banish-destination): Use it (bug#10165).
4655
adedaa1f
LL
46562012-04-13 Leo Liu <sdl.web@gmail.com>
4657
4658 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4659
70e74021
KB
46602012-04-13 Ken Brown <kbrown@cornell.edu>
4661
4662 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4663 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4664 (browse-url-filename-alist): For the same reason, don't modify
4665 file:// URLs on Cygwin.
4666
e75e89ba
SM
46672012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4670 the region on shift if the binding is already shifted (bug#11221).
4671
82f289a4
GM
46722012-04-12 Glenn Morris <rgm@gnu.org>
4673
4674 * mail/mailpost.el: Move to obsolete/.
4675
d333dc4c
DA
46762012-04-12 Drew Adams <drew.adams@oracle.com>
4677
4678 * imenu.el (imenu--generic-function): Ignore invisible definitions
4679 (bug#10123).
4680
0d15b5ba
VD
46812012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4682
4683 * hexl.el (hexl-bits): New variable.
4684 (hexl-options): Mention the variable in the doc string.
75f1671a 4685 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4686 (hexl-mode): Mention the new variable.
75f1671a
JB
4687 (hexl-mode, hexl-current-address, hexl-current-address):
4688 Use the displen.
0d15b5ba
VD
4689 (hexl-ascii-start-column): New function.
4690 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4691 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4692
64a440db
AM
46932012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4694
4695 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4696 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4697 the encoding, as expected by hunspell.
4698
6decb6c2
SM
46992012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * battery.el (battery--linux-sysfs-regexp): New const.
4702 (battery-status-function): Use it. Remove yeeloong special case.
4703 (battery-yeeloong-sysfs): Remove.
4704 (battery-echo-area-format): Remove yeeloong special case.
4705
088be6fb
SM
47062012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4707
6622e416
SM
4708 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4709 Reported by Noah Friedman.
4710
088be6fb
SM
4711 * subr.el (read-passwd): Use read-string.
4712
b49f886e
LMI
47132012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4714
4715 * vcursor.el (vcursor-move): Increase the priority of the overlay
4716 (bug#9663).
4717
a63067fc
DD
47182012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4719
4720 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4721 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4722
ac3cf14a
WS
47232012-04-11 William Stevenson <yhvh2000@gmail.com>
4724
4725 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4726 define-minor-mode (bug#10760).
4727
c4fc691b 47282012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4729
4d6769e1 4730 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4731 that directories matching `grep-find-ignored-files' won't be
4732 pruned (bug#10351).
4733
af23e2e5
CY
47342012-04-11 Chong Yidong <cyd@gnu.org>
4735
4736 * startup.el (command-line): Remove support for long-obsolete
4737 variable font-lock-face-attributes.
4738
ab7ce8c1
GM
47392012-04-11 Glenn Morris <rgm@gnu.org>
4740
4741 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
4742
de8c03dc
SM
47432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * window.el (window--state-get-1): Obey window-point-insertion-type.
4746
050cc68b
LB
47472012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
4748
4749 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
4750 to previous function when point is on the first character of a
75f1671a 4751 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 4752
a38c310c
GM
47532012-04-11 Glenn Morris <rgm@gnu.org>
4754
effed0c2
GM
4755 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
4756 not just file-errors.
4757
a38c310c
GM
4758 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
4759 (vc-bzr-sha1): Use internal sha1.
4760
0221e323
SM
47612012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
4764
43956923
SG
47652012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
4766
4767 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
4768 that start in the middle of the line (bug#10496).
4769
6a8c9eaf
DN
47702012-04-10 Dan Nicolaescu <dann@gnu.org>
4771
4772 * battery.el (battery-linux-proc-acpi): Only one battery is
4773 discharged at a time, but that seems to confuse battery.el when
4774 computing `rate-type' for the battery not being discharged
4775 (bug#10332).
4776
1930bf5d
SM
47772012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
4778
2a718f6f
SM
4779 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
4780
599430d0
SM
4781 * international/quail.el: Use dolist and simplify.
4782 (quail-define-package, quail-update-keyboard-layout)
4783 (quail-define-rules): Use dolist.
4784 (quail-insert-kbd-layout, quail-get-translation): CSE.
4785
a2754b6c
SM
4786 * tmm.el: Use dolist, remove left over hook.
4787 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
4788 Use dolist.
4789 (calendar-load-hook): Don't mess with it.
4790
1930bf5d
SM
4791 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
4792 Use derived-mode-p. Run the diff asynchronously.
4793
9f67961c
LMI
47942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4795
4796 * obsolete/mouse-sel.el: Add an Obsolete-since header.
4797
2a8ce227
JB
47982012-04-10 Juanma Barranquero <lekktu@gmail.com>
4799
4800 * misc.el: Display absolute path of loaded DLLs (bug#10424).
4801 (list-dynamic-libraries--loaded): New function.
4802 (list-dynamic-libraries--refresh): Use it.
4803
8f33b5f8
NW
48042012-04-10 Nathan Weizenbaum <nweiz@google.com>
4805
1930bf5d
SM
4806 * progmodes/python.el (python-fill-paragraph):
4807 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
4808 disabled (bug#7018).
4809
b12f0439
L
48102012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
4811
1930bf5d 4812 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
4813 DOS/MS Windows for the Baltic languages. There are still plenty
4814 of texts written in this encoding/codepage (bug#6519).
b12f0439 4815
57c3bd01
GM
48162012-04-10 Glenn Morris <rgm@gnu.org>
4817
4818 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
4819 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
4820
6c3eab30
FA
48212012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
4822
1930bf5d 4823 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
4824 next-line "n" and previous-line "p" in order to make recentf more
4825 consistent with ibuffer, dired or org-mode (bug#9387).
4826
24d78a88
LMI
48272012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4828
bc72b5d9
LMI
4829 * image.el (put-image): Return the overlay created instead of the
4830 optional input string (bug#7834). Note that this may break code
4831 that is (for some reason or other) depending on `put-image'
4832 returning the string.
4833
bd2dba5a
LMI
4834 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
4835
74beb59f
LMI
4836 * simple.el (zap-to-char): Allow zapping using input methods
4837 (bug#1580).
4838
24d78a88
LMI
4839 * textmodes/fill.el (fill-region): Leave point and mark where they
4840 were before filling (bug#5399).
4841
263f20cd
GM
48422012-04-09 Glenn Morris <rgm@gnu.org>
4843
4844 * version.el (emacs-bzr-get-version):
4845 Handle lightweight checkouts of local branches.
4846
58d1f797
AS
48472012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4848
263f20cd 4849 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4850
b4d3bc10
CY
48512012-04-09 Chong Yidong <cyd@gnu.org>
4852
4853 * custom.el (custom-variable-p): Return nil for non-symbol
4854 arguments instead of signaling an error.
4855 (user-variable-p): Obsolete alias for custom-variable-p.
4856
4857 * apropos.el (apropos-variable):
4858 * files-x.el (read-file-local-variable):
4859 * simple.el (set-variable):
4860 * woman.el (woman-mini-help):
4861 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4862
fd06db5d
GM
48632012-04-09 Glenn Morris <rgm@gnu.org>
4864
e5fcdb5e
GM
4865 * startup.el (normal-top-level): Don't look for leim-list.el
4866 in places where it will not be found. (Bug#910)
4867
fd06db5d
GM
4868 * international/mule-cmds.el (set-default-coding-systems):
4869 * files.el (normal-mode):
4870 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4871 This function was removed with ucs-tables.el in 2008.
4872
b39bb7e1
EZ
48732012-04-08 Eli Zaretskii <eliz@gnu.org>
4874
4875 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4876 ispell-encoding8-command to "-i", without a trailing space.
4877 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4878 separate command-line arguments, to specify the encoding, since
4879 that's how hunspell expects it.
4880
5c5b8e23
GM
48812012-04-08 Glenn Morris <rgm@gnu.org>
4882
4883 * loadup.el: Load bindings before cus-start.
4884 This reduces somewhat the number of "rogue" settings in emacs -Q.
4885
a1ed8b05
GM
48862012-04-07 Glenn Morris <rgm@gnu.org>
4887
4888 * version.el (emacs-bzr-get-version): New function.
dfae128a 4889 (emacs-bzr-version): New variable.
a1ed8b05
GM
4890 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4891 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4892
b142f158
EZ
48932012-04-07 Eli Zaretskii <eliz@gnu.org>
4894
dfae128a
GM
4895 * international/uni-bidi.el, international/uni-category.el:
4896 * international/uni-combining.el, international/uni-decimal.el:
4897 * international/uni-decomposition.el, international/uni-digit.el:
4898 * international/uni-lowercase.el, international/uni-mirrored.el:
4899 * international/uni-name.el, international/uni-numeric.el:
4900 * international/uni-titlecase.el, international/uni-uppercase.el:
4901 Update for Unicode 6.1.
b142f158 4902
9078ead6
EZ
49032012-04-07 Eli Zaretskii <eliz@gnu.org>
4904
4905 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4906
f23d2c7d
LMI
49072012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4908
4909 * window.el (shrink-window): Mention the `window-min-height'
4910 variable in the doc string.
4911
0a0a3573
BG
49122012-04-05 Bastien Guerry <bzg@altern.org>
4913
4914 * color.el (color-lighten-name): Fix typo.
4915
e5248ac9
SM
49162012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * server.el (server--on-display-p): New function.
4919 (server--on-display-p): Use it.
4920
b4243e22
GV
49212012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4922
4923 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4924 (bug#11145).
4925
305d9f44
SM
49262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * comint.el (comint--common-quoted-suffix): Check string boundary
4929 before comparing (bug#11158).
4930 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4931
3d439cd1
CY
49322012-04-04 Chong Yidong <cyd@gnu.org>
4933
321cc491
CY
4934 * minibuffer.el (completion-extra-properties): Doc fix.
4935
3d439cd1
CY
4936 * subr.el (delayed-warnings-hook): Doc fix.
4937
2d562c0f
DU
49382012-04-04 Daiki Ueno <ueno@unixuser.org>
4939
4940 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4941 selection (Bug#11159).
4942 (epa-insert-keys): Inform that the default public key will be
4943 exported if no key is selected.
4944
4443f204
RS
49452012-04-04 Richard Stallman <rms@gnu.org>
4946
4947 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4948
529c06b6
CY
49492012-04-03 Chong Yidong <cyd@gnu.org>
4950
4951 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4952 mail-insert-file, not its obsolete alias mail-attach-file.
4953
66b907dc
MA
49542012-04-03 Michael Albinus <michael.albinus@gmx.de>
4955
4956 * notifications.el (notifications-notify): Fix docstring.
4957
c0ea195d
GM
49582012-04-02 Glenn Morris <rgm@gnu.org>
4959
4960 * emacs-lisp/authors.el (authors-aliases): Another addition.
4961
5ca64e00
MA
49622012-04-02 Michael Albinus <michael.albinus@gmx.de>
4963
4964 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4965 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4966 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4967
42ee526b
CY
49682012-04-01 Chong Yidong <cyd@gnu.org>
4969
4970 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4971 Handle root directory properly.
4972 (copy-directory): Caller changed.
4973
4974 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4975 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4976
0b021094
GM
49772012-03-31 Glenn Morris <rgm@gnu.org>
4978
40f86458
GM
4979 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4980
7019c177
GM
4981 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4982
a1daddd6
GM
4983 * calendar/calendar.el (calendar-window-list)
4984 (calendar-hide-window): Restore. (Bug#11140)
4985 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4986
0b021094
GM
4987 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4988
40311efc
TV
49892012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4990
4991 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4992 Check if file is a symlink (Bug#10489).
4993
4994 * files.el (copy-directory): Likewise.
4995
5319014e
CY
49962012-03-30 Chong Yidong <cyd@gnu.org>
4997
4998 * image.el (imagemagick-types-inhibit)
4999 (imagemagick-register-types): Doc fix.
5000
935d1290
AM
50012012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5002
090bd7cb 5003 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5004 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5005 and treats ~word as ordinary words in pipe mode.
935d1290 5006
61c6e8fd
GM
50072012-03-30 Glenn Morris <rgm@gnu.org>
5008
5009 * tutorial.el (help-with-tutorial): Ensure local variables don't
5010 happen to make the buffer read-only. (Bug#11127)
5011
81fdff00
SM
50122012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5015 (perl-calculate-indent): Return `noindent' in strings.
5016
6e7a6ec0
SS
50172012-03-28 Sam Steingold <sds@gnu.org>
5018
5019 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5020 instead of the broken adhockery which does not prevent calendar
5021 buffers from being displayed at random after exit.
5022 (calendar-window-list, calendar-hide-window): Remove the broken
5023 adhockery.
5024
fee88ca0
GM
50252012-03-28 Glenn Morris <rgm@gnu.org>
5026
5027 * replace.el (query-replace-map): Doc fix.
5028
38de3354
AS
50292012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5030
5031 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5032 contents. (Bug#11109)
5033
b973155e
SM
50342012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5037 (bug#11077).
5038 (avl-tree--check, avl-tree--check-node): New funs.
5039
dcb6e7b3
MR
50402012-03-27 Martin Rudalics <rudalics@gmx.at>
5041
5042 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5043 (switch-to-prev-buffer, switch-to-next-buffer):
5044 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5045 showing a buffer already is done on the same frame.
5046
b4fa35fa
GM
50472012-03-27 Glenn Morris <rgm@gnu.org>
5048
5049 * startup.el (mail-host-address): Doc fix.
5050
f9210e18
SM
50512012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5054 than 197 variables.
5055
c0bf7753
AF
50562012-03-26 Ami Fischman <ami@fischman.org>
5057
5058 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5059
33da7b16
GM
50602012-03-26 Glenn Morris <rgm@gnu.org>
5061
02243d9d
GM
5062 * files.el (save-buffers-kill-emacs): Doc fix.
5063
33da7b16
GM
5064 * startup.el (normal-top-level, command-line, command-line-1):
5065 Give them doc strings.
5066
e5a69fd0
EZ
50672012-03-25 Eli Zaretskii <eliz@gnu.org>
5068
5069 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5070 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5071
9a69676a
CY
50722012-03-25 Chong Yidong <cyd@gnu.org>
5073
4125cb8b
CY
5074 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5075 theme if it was previously enabled before (Bug#11031).
5076
dd470960
CY
5077 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5078 spec with custom-face-get-current-spec if its :shown-value is not
5079 determined yet (Bug#9337).
4125cb8b 5080 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5081
9a69676a
CY
5082 * button.el (button-at): Minor addition to docstring.
5083
6e7e90fa
SL
50842012-03-24 Simon Leinen <simon.leinen@gmail.com>
5085
5086 * vc/vc.el (vc-merge): Fix a prompt.
5087
f06e2758
CY
50882012-03-24 Chong Yidong <cyd@gnu.org>
5089
5090 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5091 point (Bug#9623).
5092
6e7e90fa
SL
5093 * button.el (button-at): Minor addition to docstring.
5094
b9d0879b
SM
50952012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * newcomment.el (comment-choose-indent): No space after BOL.
5098
e71cebb3
SS
50992012-03-22 Sam Steingold <sds@gnu.org>
5100
5101 * window.el (switch-to-prev-buffer): Revert last patch because the
5102 bug turned out to be an advertised feature (Elisp manual 28.14).
5103
335aff35
GM
51042012-03-22 Glenn Morris <rgm@gnu.org>
5105
5106 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5107 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5108
c676576a
LMI
51092012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5110
5111 * net/network-stream.el (network-stream-open-starttls): Make error
5112 message under Windows be less misleading.
5113
126f3d39
LW
51142012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5115
5116 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5117 understands (bug#9942).
5118
64fee311
CY
51192012-03-22 Chong Yidong <cyd@gnu.org>
5120
5121 * simple.el (end-of-visible-line): Handle return value of
5122 next-single-property-change properly (Bug#9371).
5123
a640d29a
KH
51242012-03-22 Kenichi Handa <handa@m17n.org>
5125
5126 * international/quail.el (quail-insert-kbd-layout): Fix previous
5127 change. To avoid unwanted bidi reordering, use
5128 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5129
39675016
DG
51302012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5131
5132 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5133 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5134 (ruby-beginning-of-indent): Be more careful with the difference
5135 between word-boundary and symbol boundary.
5136 (ruby-mode-syntax-table): Make : a symbol constituent.
5137
0a6934fc 51382012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5139
3d008e4f
SM
5140 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5141
0a6934fc
SM
51422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5143
af67c9d7
SM
5144 * progmodes/etags.el (tags-completion-at-point-function):
5145 Improve last fix.
5146
1acad97c
SM
5147 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5148
e298b5da
SS
51492012-03-21 Sam Steingold <sds@gnu.org>
5150
5151 * progmodes/etags.el (tags-completion-at-point-function):
5152 Avoid the error when point is inside the pattern.
5153
91d82a70
JY
51542012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5155
5156 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5157 line (Bug#10855).
5158
69188b79
CY
51592012-03-21 Drew Adams <drew.adams@oracle.com>
5160
5161 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5162
99fc91fe
AK
51632012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5164
5165 * ido.el (ido-set-current-directory, ido-read-internal)
5166 (ido-choose-completion-string, ido-completion-help): Handle nil
5167 value of ido-completion-buffer (Bug#11008).
5168
087bbb4c
SS
51692012-03-21 Sam Steingold <sds@gnu.org>
5170
5171 * window.el (switch-to-prev-buffer): Do not switch to a visible
5172 window previous buffer, just like with the frame previous buffers.
5173
fb5b8aca
CY
51742012-03-21 Chong Yidong <cyd@gnu.org>
5175
5176 * faces.el (make-face, make-empty-face, copy-face):
5177 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5178 Doc fixes.
5179
dc9924b8
SM
51802012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5183 (widget-complete): Remove broken use of it.
5184
f0bcceb9
CY
51852012-03-20 Chong Yidong <cyd@gnu.org>
5186
dc9924b8
SM
5187 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5188 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5189 characters.
5190
ee52ebf3
TH
51912012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5192
5193 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5194 to draw rectangles, not squares. (Regression introduced by revno
5195 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5196
4c5779ab
CY
51972012-03-18 Chong Yidong <cyd@gnu.org>
5198
5199 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5200 it is not yet defined (for temacs).
5201
15360934
LL
52022012-03-18 Leo Liu <sdl.web@gmail.com>
5203
dc9924b8 5204 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5205
d9a8eb66
EZ
52062012-03-17 Eli Zaretskii <eliz@gnu.org>
5207
5208 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5209 (ispell-choices-win-default-height, ispell-silently-savep)
5210 (ispell-dictionary-alist, ispell-encoding8-command)
5211 (ispell-check-version, ispell-aspell-find-dictionary)
5212 (ispell-valid-dictionary-list, ispell-words-keyword)
5213 (ispell-get-word, ispell-internal-change-dictionary)
5214 (ispell-region, ispell-skip-region-list)
5215 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5216 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5217 (ispell-message-text-end, ispell-message)
5218 (ispell-buffer-local-parsing): Doc fix.
5219
f02ff80d
J
52202012-03-13 Jambunathan K <kjambunathan@gmail.com>
5221
5222 * htmlfontify.el: Add support for code block fontification for ODT
5223 export (Bug #9914).
5224 (hfy-optimisations): Define new option
5225 `body-text-only'
5226 (hfy-fontify-buffer): Honor above setting.
5227 (hfy-begin-span, hfy-end-span): New routines factored out form
5228 `hfy-fontify-buffer'.
5229 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5230 that permit insertion of custom tags.
5231 (hfy-fontify-buffer): Use above handlers.
5232 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5233 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5234 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5235 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5236 bind a special variable `hfy-user-sheet-assoc'.
5237 (htmlfontify-string): New defun.
5238 (hfy-compile-face-map): Make sure that the last char in the
5239 buffer is correctly fontified.
5240 (hfy-face-resolve-face): Whitespace only change.
5241
9ac7a13f
EZ
52422012-03-17 Eli Zaretskii <eliz@gnu.org>
5243
5244 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5245 message more clear.
5246
e2b5bdd7
LL
52472012-03-16 Leo Liu <sdl.web@gmail.com>
5248
5249 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5250
2e492df3
AM
52512012-03-16 Alan Mackenzie <acm@muc.de>
5252
5253 Further optimise the handling of large macros.
5254
5255 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5256 limit to a call of `c-literal-limits'.
5257 (c-determine-+ve-limit): New function.
dc9924b8
SM
5258 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5259 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5260 In CASE 5B, restrict a search limit to 500.
5261 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5262
5263 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5264 Restrict macro bounds to +-500 from after-change's BEG END.
5265
50e94f0c
LL
52662012-03-16 Leo Liu <sdl.web@gmail.com>
5267
5268 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5269
6f09f6ed
AH
52702012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5271
5272 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5273 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5274
c7e73d51
GM
52752012-03-16 Glenn Morris <rgm@gnu.org>
5276
da986230
GM
5277 * view.el (view-buffer, view-buffer-other-window)
5278 (view-buffer-other-frame): Doc fixes re special mode-class.
5279
0835f01e
GM
5280 * subr.el (eval-after-load): If named feature is provided not from
5281 a file, run after-load forms. (Bug#10946)
5282
c7e73d51
GM
5283 * calendar/calendar.el (calendar-insert-at-column):
5284 Handle non-unit-width characters a bit better. (Bug#10978)
5285
3f2eafd1
CY
52862012-03-15 Chong Yidong <cyd@gnu.org>
5287
5288 * emacs-lisp/ring.el (ring-extend): New function.
5289 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5290
5291 * comint.el (comint-read-input-ring)
5292 (comint-add-to-input-history): Grow comint-input-ring lazily.
5293
103af3fe
SM
52942012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5295
663b1677
SM
5296 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5297 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5298
103af3fe
SM
5299 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5300 (imenu-add-to-menubar): Don't add a redundant index.
5301 (imenu-update-menubar): Handle a dynamically composed keymap.
5302
899cb7cb
KY
53032012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5304
5305 * mail/sendmail.el (mail-encode-header):
5306 Bind rfc2047-encode-encoded-words to nil.
5307
3809f91d
GM
53082012-03-13 Glenn Morris <rgm@gnu.org>
5309
5310 * calendar/calendar.el (calendar-string-spread):
5311 Handle non-unit-width characters a bit better. (Bug#10978)
5312
9e345a01
LL
53132012-03-13 Leo Liu <sdl.web@gmail.com>
5314
5315 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5316 directory and file as argument (Bug#10822).
5317
4a07df36
KS
53182012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5319
5320 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5321 For dynamically generated code, follow $PC.
5322 (gdb-disassembly-handler-custom): Handle no function name case.
5323
4aaa9356
TL
53242012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5325
5326 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5327 * emulation/ws-mode.el (ws-query-replace):
5328 * sort.el (sort-regexp-fields):
5329 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5330
225979da
SM
53312012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * dabbrev.el: Fix cycle completion order (bug#10963).
5334 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5335 (dabbrev-completion): Don't use an obarray; provide
5336 a cycle-sort-function.
5337
e2f1fdab
LL
53382012-03-12 Leo Liu <sdl.web@gmail.com>
5339
dc9924b8 5340 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5341 (kill-do-not-save-duplicates): Doc fix.
5342
b19490ed
SM
53432012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * dabbrev.el: Fix cycle completion (bug#10963).
5346 Use lexical binding and wrap to 80 columns.
5347 (dabbrev-completion): Delay computing the list of completions.
5348
4b05d722
KH
53492012-03-12 Kenichi Handa <handa@m17n.org>
5350
5351 * international/quail.el (quail-insert-kbd-layout): Surround each
5352 row by LRO and PDF instead of inserting many LRMs. Pad the left
5353 and right of each non-spacing marks. Insert invisible space
5354 between lower and upper characters to prevent composition.
5355
dbbc2e69
SM
53562012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * minibuffer.el (minibuffer-complete): Don't get confused when the
5359 function is run twice via different commands (bug#10958).
5360 (complete-with-action): Fix docstring.
5361
292112ed
CY
53622012-03-12 Chong Yidong <cyd@gnu.org>
5363
5d1ac394
CY
5364 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5365 (nxml-completion-at-point-function): New function.
5366 (nxml-mode): Use it.
5367 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5368
292112ed
CY
5369 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5370 Load generated autoloads file before byte compiling (Bug#10970).
5371 (package--make-autoloads-and-compile): New helper fun.
5372
4098f8f7
CS
53732012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5374
5375 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5376
8f754691
MA
53772012-03-11 Michael Albinus <michael.albinus@gmx.de>
5378
5379 * autorevert.el (auto-revert-handler): Ensure, that
5380 file-readable-p is applied only for local files or in
5381 auto-revert-tail-mode.
5382
e29ab36b
AS
53832012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5384
dbbc2e69
SM
5385 * server.el (server-eval-at): Handle non-tcp connections.
5386 Decode result string.
ad0bf5b6 5387
e29ab36b
AS
5388 * server.el (server-msg-size): New constant.
5389 (server-reply-print): New function.
5390 (server-eval-and-print): Use it.
5391 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5392 Handle -print-nonl.
5393
de5939ba
CS
53942012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5395
5396 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5397 (Bug#10987).
5398
0c93eabf
CY
53992012-03-11 Chong Yidong <cyd@gnu.org>
5400
397a688f
CY
5401 * simple.el (goto-line): Doc fix (Bug#9938).
5402
2cc775f9
CY
5403 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5404
0c93eabf
CY
5405 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5406 when finished (Bug#10963).
5407
c491fa41
MR
54082012-03-11 Martin Rudalics <rudalics@gmx.at>
5409
5410 * window.el (split-window-below): Fix bug in case where
5411 split-window-keep-point is nil (Bug#10971).
5412
300e8fa5
JL
54132012-03-11 Juri Linkov <juri@jurta.org>
5414
5415 * replace.el (replace-highlight): Set isearch-word to nil
5416 unconditionally. (Bug#10887)
5417
dbf6c5a1
EZ
54182012-03-10 Eli Zaretskii <eliz@gnu.org>
5419
5420 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5421 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5422 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5423 (mairix-widget-create-query): Add usage information about mairix
5424 search forms: negating words, searching for substrings, etc.
5425
b9e501de
JP
54262012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5427
5428 * international/fontset.el (font-encoding-alist): Add an entry for
5429 ksx1001 (Bug#5667).
5430
92795c91
RS
54312012-03-10 Richard Stallman <rms@gnu.org>
5432
1694e6c1
RS
5433 * mail/sendmail.el (mail-encode-header):
5434 Set rfc2047-encode-encoded-words.
5435
607e8555
RS
5436 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5437
de3bc99a
RS
5438 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5439 view buffer means not swapped.
5440 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5441 (rmail-write-region-annotate): Error if real text has disappeared.
5442
92795c91
RS
5443 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5444
699bd04e
CY
54452012-03-10 Chong Yidong <cyd@gnu.org>
5446
5447 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5448 * emulation/cua-base.el (cua--init-keymaps):
5449 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5450
570a1714
MR
54512012-03-10 Martin Rudalics <rudalics@gmx.at>
5452
dbbc2e69
SM
5453 * speedbar.el (speedbar-unhighlight-one-tag-line):
5454 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5455
82dcf4e4
CY
54562012-03-10 Chong Yidong <cyd@gnu.org>
5457
7a2c7ca7
CY
5458 * minibuffer.el (completion-in-region, completion-help-at-point):
5459 Give the completion field overlay a high priority (Bug#6830).
5460
82dcf4e4
CY
5461 * dired.el (dired-goto-file): Recognize absolute file name
5462 listings (Bug#7126).
5463 (dired-goto-file-1): New helper function.
5464 (dired-toggle-read-only): Inhibit warnings.
5465
052e28ac
MA
54662012-03-09 Michael Albinus <michael.albinus@gmx.de>
5467
75f1671a 5468 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5469 there are no properties.
5470
95d5e396
LL
54712012-03-09 Leo Liu <sdl.web@gmail.com>
5472
5473 * savehist.el (savehist-printable): Stricter check for string
5474 value (Bug#10937).
5475
3f018d6d
EZ
54762012-03-09 Eli Zaretskii <eliz@gnu.org>
5477
dbbc2e69
SM
5478 * mail/smtpmail.el (smtpmail-send-it):
5479 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5480 valid mbox format.
5481
f7fd3d79
GM
54822012-03-09 Glenn Morris <rgm@gnu.org>
5483
5484 * files.el (dir-locals-find-file):
5485 Don't check result is regular, readable.
5486 (dir-locals-read-from-file): Demote errors.
5487
6ff6e72f
EZ
54882012-03-08 Eli Zaretskii <eliz@gnu.org>
5489
dbbc2e69
SM
5490 * international/quail.el (quail-insert-kbd-layout):
5491 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5492 layout cell, to prevent their reordering by bidi display engine.
5493 For details, see the discussion in
5494 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5495
9cec7834
AM
54962012-03-08 Alan Mackenzie <acm@muc.de>
5497
5498 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5499 the starting position; make it extend the marked region when
5500 invoked repeatedly - all under appropriate circumstances.
5501 Fixes bugs #5525, #10906.
5502
9a40b8d4
GM
55032012-03-08 Glenn Morris <rgm@gnu.org>
5504
5505 * files.el (locate-dominating-file, dir-locals-find-file):
5506 Undo 2012-03-06 change.
5507
7a08ed35
EZ
55082012-03-07 Eli Zaretskii <eliz@gnu.org>
5509
dbbc2e69
SM
5510 * international/quail.el (quail-help):
5511 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5512 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5513 for the reason.
5514
5aca4f71 55152012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5516
5517 Avoid superfluous registering of signals. (Bug#10807)
5518
5519 * notifications.el (notifications-on-action-object)
5520 (notifications-on-close-object): New defvars.
5521 (notifications-on-action-signal, notifications-on-closed-signal):
5522 Unregister the signal if not needed any longer.
5523 (notifications-notify): Register `notifications-action-signal' or
5524 `notifications-closed-signal', if :on-action or :on-close has been
5525 passed as argument.
5526
78e8b10a
CY
55272012-03-07 Chong Yidong <cyd@gnu.org>
5528
5529 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5530 non-X platforms.
5531
69481eb8
GM
55322012-03-06 Glenn Morris <rgm@gnu.org>
5533
5534 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5535 (x-disown-selection-internal, x-get-selection-internal):
5536 Doc fix (add arglist signatures). (Bug#10783)
5537
133b8e11
KS
55382012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5539
5540 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5541 Handle breakpoints with no "type".
5542
99a83064
GM
55432012-03-06 Glenn Morris <rgm@gnu.org>
5544
5545 * files.el (locate-dominating-file): Add optional predicate argument.
5546 (dir-locals-find-file): Make use of above change.
5547
17798e78
TTN
55482012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5549
5550 * info.el (Info-insert-dir): Also try "dir.gz".
5551
eb182446
GM
55522012-03-06 Glenn Morris <rgm@gnu.org>
5553
8f2114ee
GM
5554 * files.el (dir-locals-find-file):
5555 Ignore non-readable or non-regular files. (Bug#10928)
5556
eb182446
GM
5557 * files.el (locate-dominating-file): Doc fix.
5558
24679323
AS
55592012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5560
5561 * calendar/calendar.el (calendar-set-mode-line):
5562 `getenv' returns a string. (Bug#10951)
5563
01d972a9
LL
55642012-03-05 Leo Liu <sdl.web@gmail.com>
5565
109aa8a9
LL
5566 * simple.el (backward-delete-char-untabify): Constrain point to
5567 field (Bug#10939).
5568
01d972a9
LL
5569 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5570
10607bea
CY
55712012-03-05 Chong Yidong <cyd@gnu.org>
5572
5573 * simple.el (count-words): If called from Lisp, return the word
5574 count, for symmetry with `count-lines'. Arglist changed.
5575 (count-words--message): Args changed. Consolidate counting code
5576 from count-words and count-words-region.
5577 (count-words-region): Caller changed.
5578 (count-lines-region): Make it an obsolete alias.
5579
5dd11cfe
TH
55802012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5581
5582 * saveplace.el (save-place-to-alist)
5583 (save-place-ignore-files-regexp): Allow value nil to disable this
5584 feature.
5585
c349f4e6
CY
55862012-03-04 Chong Yidong <cyd@gnu.org>
5587
5588 * faces.el (face-spec-reset-face): For the default face, reset the
5589 attributes to default values (Bug#10748).
5590
e627be4c
LMI
55912012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5592
5593 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5594 previous patch: Check `message-send-mail-function', and not the
5595 default function (bug#10897).
5596
ebeabff4
MA
55972012-03-04 Michael Albinus <michael.albinus@gmx.de>
5598
a41a6cf4
MA
5599 * notifications.el (notifications-on-action-signal)
5600 (notifications-on-closed-signal): Check for unique service name of
5601 incoming event. Fix error in removing entry.
ebeabff4 5602 (top): Register for signals with wildcard service name.
a41a6cf4 5603 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5604
c1ca42b4
CY
56052012-03-04 Chong Yidong <cyd@gnu.org>
5606
dc9924b8 5607 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5608
ea16568d
GM
56092012-03-04 Glenn Morris <rgm@gnu.org>
5610
5611 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5612 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5613 (expand-abbrev, define-abbrev-table): Doc fixes.
5614
fbae4637
LMI
56152012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5616
5617 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5618 `message-default-send-mail-function' and not `send-mail-function'
5619 when doing the prompting for `sendmail-query-once' before sending
5620 in Message buffers (bug#10897).
5621
a1e7225c
LMI
5622 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5623 This is inconsistent with all the other stream functions, which leave
5624 the setting up to the higher levels (if so wanted) (bug#10931).
5625
56d093a9
AM
56262012-03-02 Alan Mackenzie <acm@muc.de>
5627
5628 Depessimize the handling of very large macros.
5629
5630 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5631 (c-macro-cache-syntactic): New variables to implement a one
5632 element macro cache.
5633 (c-invalidate-macro-cache): New function.
5634 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5635 Adapt to use the new cache.
5636 (c-state-safe-place): Use better the cache of safe positions.
5637 (c-state-semi-nonlit-pos-cache)
5638 (c-state-semi-nonlit-pos-cache-limit):
5639 New variables for...
5640 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5641 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5642 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5643 Use c-state-semi-safe-place.
56d093a9 5644
dbbc2e69
SM
5645 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5646 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5647
817e5c3d
MA
56482012-03-02 Michael Albinus <michael.albinus@gmx.de>
5649
dbbc2e69
SM
5650 * jka-compr.el (jka-compr-call-process):
5651 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5652 not remote.
5653
a032a702
MA
56542012-03-01 Michael Albinus <michael.albinus@gmx.de>
5655
5656 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5657 access of FILE2, if FILE1 does not exist.
5658
99a54f21
MA
5659 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5660 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5661
5662 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5663 Add "PAGER=" to `process-environment'.
5664
f6561e1f
MM
56652012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5666
5667 * progmodes/sql.el: Bug fix
5668 (sql-get-login-ext): Save login values in globals.
5669 (sql-get-login): Use new version of `sql-get-login-ext'.
5670 (sql-interactive-mode): Set global `sql-connection' to nil.
5671 (sql-connect): Set global values for connection.
5672 (sql-product-interactive): Save global values as buffer local.
5673
2d44d9cc
LL
56742012-02-29 Leo Liu <sdl.web@gmail.com>
5675
5676 * abbrev.el (define-abbrevs): Reset sys to nil.
5677
96b49301 56782012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5679
bf7f9bc5
JB
5680 * files.el (file-equal-p): Rename from `files-equal-p'.
5681 Return nil when one or both files don't exist.
96b49301 5682 (file-subdir-of-p): Now only top directory must exists,
5683 return nil if it doesn't.
bf7f9bc5
JB
5684 (copy-directory): No need to test with `file-subdir-of-p' after
5685 creating dir.
5686 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5687 to `file-equal-p'.
96b49301 5688
44e97401
GM
56892012-02-28 Glenn Morris <rgm@gnu.org>
5690
5691 * shell.el (shell-mode):
5692 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5693 * play/landmark.el (landmark-font-lock-face-O):
5694 * play/handwrite.el (handwrite):
5695 * play/gomoku.el (gomoku-O):
5696 * net/browse-url.el (browse-url-browser-display):
5697 * international/mule.el (define-charset):
5698 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5699 * filesets.el (filesets-find-file-delay):
5700 * eshell/em-xtra.el (eshell-xtra):
5701 * eshell/em-unix.el (eshell-grep):
5702 * emulation/viper.el (viper-mode):
5703 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5704 * emacs-lisp/easymenu.el (easy-menu-define):
5705 * calendar/timeclock.el (timeclock-use-display-time):
5706 * bs.el (bs-mode):
5707 * bookmark.el (bookmark-save-flag):
5708 Doc fix (standardize possessive apostrophe usage).
5709
c98c6276
CY
57102012-02-27 Chong Yidong <cyd@gnu.org>
5711
bf7f9bc5
JB
5712 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5713 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5714
c98c6276
CY
5715 * font-lock.el (font-lock-specified-p): Rename from
5716 font-lock-spec-present. Callers changed.
5717
9c62cd04 57182012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5719
bf7f9bc5
JB
5720 * emacs-lisp/package.el (package-compute-transaction):
5721 Handle holding a package version to t in package-load-list.
8ac9e529 5722
530739c9
MA
57232012-02-26 Michael Albinus <michael.albinus@gmx.de>
5724
5725 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5726 (tramp-get-inode, tramp-get-device): Use cached values.
5727
487915d7
AM
57282012-02-26 Alan Mackenzie <acm@muc.de>
5729
5730 Check there is a font-lock specification before doing initial
5731 fontification.
5732
5733 * font-core.el (font-lock-mode): Move the conditional from
5734 :after-hook to font-lock-initial-fontify.
5735 (font-lock-default-function): Move the check for a specification
5736 to font-lock-spec-present.
5737
dc9924b8 5738 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
5739 (font-lock-spec-present): New function.
5740
4fd96557
JB
57412012-02-26 Jim Blandy <jimb@red-bean.com>
5742
5743 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
5744 (gdb-send): Apply it to the operand of the '-interpreter-exec
5745 console' command, so that we can pass arguments with (say) quotes
5746 in them. Store exact string sent in gdb-debug-log (Bug#10765).
5747
9a4888c0
CY
57482012-02-26 Chong Yidong <cyd@gnu.org>
5749
07498861
CY
5750 * help-fns.el (describe-function-1): Clarify description of
5751 remapping (Bug#10844).
5752
9a4888c0
CY
5753 * files.el (files-equal-p): Doc fix.
5754 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
5755 and quit the loop once a mismatch is found.
5756
ea8fb88d
JB
57572012-02-25 Juanma Barranquero <lekktu@gmail.com>
5758
5759 * bs.el (bs--show-with-configuration): Don't throw an error
5760 if the window cannot be split; otherwise, subsequent calls to
5761 bs-show fail, restoring a stale window config. (Bug#10882)
5762
525795c1
JD
57632012-02-25 Jan Djärv <jan.h.d@swipnet.se>
5764
5765 * term/ns-win.el (global-map): Bind ns-drag-file to
5766 ns-find-file (Bug#5855, Bug#10050).
5767
f008086f
AS
57682012-02-25 Andreas Schwab <schwab@linux-m68k.org>
5769
5770 * calendar/parse-time.el (parse-time-string): Allow extractor to
5771 return nil.
5772
a3fcfa99
MA
57732012-02-25 Michael Albinus <michael.albinus@gmx.de>
5774
91027d08
JB
5775 * net/tramp.el (tramp-file-name-for-operation):
5776 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
5777
5778 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
5779 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5780 Add COPY-CONTENTS argument.
a3fcfa99 5781
67b0de11
CY
57822012-02-25 Chong Yidong <cyd@gnu.org>
5783
5784 Add custom groups for VC backends, for consistency with vc-bzr.
5785
5786 * vc/vc-arch.el (vc-arch):
5787 * vc/vc-cvs.el (vc-cvs):
5788 * vc/vc-git.el (vc-git):
5789 * vc/vc-hg.el (vc-hg):
5790 * vc/vc-mtn.el (vc-mtn):
5791 * vc/vc-rcs.el (vc-rcs):
5792 * vc/vc-sccs.el (vc-sccs):
5793 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
5794 All relevant defcustoms reassigned.
5795
3c9dfce6
CY
57962012-02-25 Chong Yidong <cyd@gnu.org>
5797
1339bf43
CY
5798 * newcomment.el (comment-styles): Add autoload (Bug#10868).
5799
3c9dfce6
CY
5800 * term/x-win.el (x-initialize-window-system): Reduce default for
5801 x-selection-timeout to 5 seconds (Bug#8869).
5802
25b2e303 58032012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5804
ec70a47d
GM
5805 * files.el (files-equal-p, file-subdir-of-p): New functions.
5806 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 5807 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
5808 * dired-aux.el (dired-copy-file-recursive): Same.
5809 (dired-create-files): Modify destination when source is equal to
5810 dest when copying files.
53a46cd0 5811 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 5812
914260cd
MA
58132012-02-24 Michael Albinus <michael.albinus@gmx.de>
5814
5815 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
5816 (Bug#10874)
5817
2cb228f7
AM
58182012-02-23 Alan Mackenzie <acm@muc.de>
5819
5820 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
5821 parameter "after-hook:" to allow the expansion to run code after
5822 the execution of the mode hooks.
5823
5824 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 5825 from font-lock-mode-internal.
2cb228f7 5826
91027d08 5827 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
5828 :after-hook.
5829
8f0fde21
SM
58302012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5831
3e88618b
SM
5832 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
5833 (completion--cache-all-sorted-completions): New function.
5834 (completion-all-sorted-completions): Use it.
5835 (completion--do-completion, minibuffer-force-complete):
5836 Use it to re-instate the flush hook.
5837
8f0fde21
SM
5838 * icomplete.el (icomplete-completions): Replace last fix with a better
5839 one (bug#10850).
5840
8e911f6f
DG
58412012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5842
5843 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5844 when it might call us back infinitely (bug#10797).
5845
49fe4321
GM
58462012-02-23 Glenn Morris <rgm@gnu.org>
5847
5848 * minibuffer.el (completion-category-overrides): Doc fix.
5849
b291b572
SM
58502012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5853 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5854
31a9ef2e
GM
58552012-02-23 Glenn Morris <rgm@gnu.org>
5856
5e6e6794 5857 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5858 (authors-obsolete-files-regexps, authors-ignored-files)
5859 (authors-ambiguous-files, authors-renamed-files-alist):
5860 Add more entries.
5861
0bd1e074
JL
58622012-02-23 Juri Linkov <juri@jurta.org>
5863
5864 * isearch.el (isearch-occur): Sync interactive spec with occur's
5865 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5866
b617673c
JL
5867 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5868
19e9789e
JL
58692012-02-22 Juri Linkov <juri@jurta.org>
5870
5871 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5872 (ucs-insert): Doc fix. Check for hex digits in the string.
5873 Don't display `nil' in the error message. (Bug#10857)
5874
f41ce09d
AM
58752012-02-22 Alan Mackenzie <acm@muc.de>
5876
7a71b18d 5877 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5878
ac2eceee
GM
58792012-02-22 Glenn Morris <rgm@gnu.org>
5880
5881 * ffap.el (ffap-c-path):
5882 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5883
abd1f678
CY
58842012-02-22 Chong Yidong <cyd@gnu.org>
5885
5886 * custom.el (load-theme): Doc fix.
5887
f25aef2e
GM
58882012-02-22 Glenn Morris <rgm@gnu.org>
5889
5890 * dired-x.el (dired-guess-shell-alist-default):
5891 Remove escape sequences from nroff output. (Bug#172)
5892
5f8dc2ca
GM
58932012-02-21 Glenn Morris <rgm@gnu.org>
5894
6ff86ec4
GM
5895 * vc/emerge.el (emerge-defvar-local):
5896 Set `permanent-local' property rather than unused `preserved'.
5897
be3223a3 5898 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5899 (picture-mode-map): Use it. (Bug#10860)
5900 (picture-mode): Doc fix.
5901
3fe58f4f
JB
59022012-02-21 Juanma Barranquero <lekktu@gmail.com>
5903
5904 * newcomment.el (uncomment-region-default): Remove unused binding.
5905
f9a998c3
GM
59062012-02-21 Glenn Morris <rgm@gnu.org>
5907
5908 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5909 (picture-self-insert, picture-tab-chars): Doc fix.
5910 (picture-mode-map): Fix C-a, C-e.
5911
c6029348
GM
59122012-02-20 Glenn Morris <rgm@gnu.org>
5913
5914 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5915
ab1ce9d7
LL
59162012-02-20 Leo Liu <sdl.web@gmail.com>
5917
5918 * icomplete.el (icomplete-completions): Check FROM arg before
5919 passing to substring (Bug#10850).
5920
0fd40f89
CY
59212012-02-19 Chong Yidong <cyd@gnu.org>
5922
5923 * comint.el: Require ansi-color.
5924 (comint-output-filter-functions): Add ansi-color-process-output.
5925
5926 * ansi-color.el: Don't set comint-output-filter-functions; it is
5927 now in the initial value defined in comint.el.
5928 (ansi-color-apply-face-function): New variable.
5929 (ansi-color-apply-on-region): Use it.
5930 (ansi-color-apply-overlay-face): New function.
5931
5932 * shell.el (shell): No need to require ansi-color.
5933 (shell-mode): Use ansi-color-apply-face-function to highlight
5934 color escapes using font-lock-face property (Bug#10835).
5935
20af2394
CY
59362012-02-19 Chong Yidong <cyd@gnu.org>
5937
5938 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5939 mode-line formats (Bug#10839).
5940
e23a3fbe
GM
59412012-02-18 Glenn Morris <rgm@gnu.org>
5942
b474519e
GM
5943 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5944
5945 * mail/undigest.el (unforward-rmail-message): Doc fix.
5946
e23a3fbe
GM
5947 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5948
57939ff4
EZ
59492012-02-18 Eli Zaretskii <eliz@gnu.org>
5950
5951 * international/characters.el (script-list): Sync with the latest
5952 Unicode Character Database.
5953
0c23686e
AS
59542012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5955
5956 * international/titdic-cnv.el: Remove duplicate coding tag.
5957 * language/cham.el: Likewise.
5958 * language/tai-viet.el: Likewise.
5959
6818b449
GM
59602012-02-18 Glenn Morris <rgm@gnu.org>
5961
5962 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5963 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5964 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5965 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5966 * calendar/holidays.el (holiday-bahai-holidays)
5967 (calendar-holidays, list-holidays):
5968 Use utf-8 Bahá'í in doc-strings, menus, etc.
5969
0311a3fc
TH
59702012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5971
5972 * saveplace.el (save-place-ignore-files-regexp): New variable
5973 allowing for excluding files from saving their location of point.
5974 The default value matches the temporary commit message editing
5975 files from Git, SVN, Bazaar, and Mercurial.
5976 (save-place-to-alist): Use it.
5977
d209e2fb 59782012-02-17 Lawrence Mitchell <wence@gmx.li>
eb864a71
LM
5979 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * newcomment.el (uncomment-region-default): Don't leave extra space
5982 when an arg is provided (bug#8150).
5983
ee0ce425
TZ
59842012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5985
eb864a71 5986 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5987
95ddf442
GM
59882012-02-17 Glenn Morris <rgm@gnu.org>
5989
5990 * net/socks.el: Require network-stream. (Bug#10599)
5991
48dd1e39 59922012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5993
5994 * international/charprop.el:
5995 * international/uni-name.el:
5996 * international/uni-old-name.el:
5997 * international/uni-comment.el: Regenerate.
5998
d68cd087
GM
59992012-02-16 Glenn Morris <rgm@gnu.org>
6000
6001 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6002 Interactively in calendar buffer, give an error if not on a date.
6003
13932042
GM
60042012-02-15 Glenn Morris <rgm@gnu.org>
6005
6006 * shell.el (shell-delimiter-argument-list):
6007 Revert 2011-02-17 change. (Bug#8027)
6008
c3a70e2b
CY
60092012-02-15 Chong Yidong <cyd@gnu.org>
6010
60236b0d
CY
6011 * minibuffer.el (completion-at-point-functions): Doc fix.
6012
c3a70e2b
CY
6013 * custom.el (defcustom): Doc fix; note use of defvar.
6014
9f26dc24
GM
60152012-02-15 Glenn Morris <rgm@gnu.org>
6016
6017 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6018 Doc fixes.
6019
6546b134
GM
60202012-02-14 Glenn Morris <rgm@gnu.org>
6021
6022 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6023
d29b2b4c
LI
60242012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6025
6026 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6027 way the ports list is computed.
835bdcba
LI
6028 (smtpmail-query-smtp-server): Prompt the user for a port number if
6029 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6030
08dcdbc9
TZ
60312012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6032
6033 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6034
2605051a
GM
60352012-02-13 Glenn Morris <rgm@gnu.org>
6036
6037 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6038
7ee99f32
TZ
60392012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6040
6041 * net/gnutls.el (gnutls-trustfiles): New variable.
6042 (gnutls-negotiate): Use it.
6043
5f0af64f
LI
60442012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6045
6046 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6047 does its stuff if Gnus is running.
6048
c14fcc95
AM
60492012-02-13 Alan Mackenzie <acm@muc.de>
6050
6051 Fix a loop in c-set-fl-decl-start.
6052
7a71b18d 6053 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6054 c-backward-syntactic-ws actually moves backwards.
6055
142b4d90
LL
60562012-02-13 Leo Liu <sdl.web@gmail.com>
6057
6058 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6059 beginning so that all \C-o chars are removed.
6060
fa9958a6
TZ
60612012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6062
dc9924b8 6063 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6064
0bc5886a
AM
60652012-02-12 Alan Mackenzie <acm@muc.de>
6066
6067 Fix infinite loop with long macros.
4d6769e1 6068 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6069
d4bd55e7
CY
60702012-02-12 Chong Yidong <cyd@gnu.org>
6071
6072 * window.el (display-buffer): Doc fix (Bug#10785).
6073
66f3fe22
GM
60742012-02-12 Glenn Morris <rgm@gnu.org>
6075
bd7da63e
GM
6076 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6077 (x-disown-selection-internal, x-get-selection-internal):
6078 Sync docs with the xselect.c versions.
6079
66f3fe22
GM
6080 * allout-widgets.el: Add missing license notice.
6081
3e0d2fa7
GM
60822012-02-11 Glenn Morris <rgm@gnu.org>
6083
cfecdf09
GM
6084 * select.el (x-get-selection-internal, x-own-selection-internal)
6085 (x-disown-selection-internal):
6086 * x-dnd.el (x-get-selection-internal): Update declarations.
6087
6d216d7f
GM
6088 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6089
2bed3f04
GM
6090 * window.el (window-sides-slots):
6091 * tool-bar.el (tool-bar-position):
6092 * term/xterm.el (xterm-extra-capabilities):
6093 * ses.el (ses-self-reference-early-detection):
6094 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6095 (verilog-auto-wire-type)
6096 (verilog-auto-delete-trailing-whitespace)
6097 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6098 (verilog-auto-tieoff-declaration):
6099 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6100 (sql-oracle-statement-starters, sql-oracle-scan-on):
6101 * progmodes/prolog.el (prolog-align-comments-flag)
6102 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6103 (prolog-left-indent-regexp, prolog-paren-indent-p)
6104 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6105 (prolog-types, prolog-mode-specificators)
6106 (prolog-determinism-specificators, prolog-directives)
6107 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6108 (prolog-electric-dot-flag)
6109 (prolog-electric-dot-full-predicate-template)
6110 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6111 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6112 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6113 (prolog-program-switches, prolog-prompt-regexp)
6114 (prolog-debug-on-string, prolog-debug-off-string)
6115 (prolog-trace-on-string, prolog-trace-off-string)
6116 (prolog-zip-on-string, prolog-zip-off-string)
6117 (prolog-use-standard-consult-compile-method-flag)
6118 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6119 (prolog-imenu-max-lines, prolog-info-predicate-index)
6120 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6121 (prolog-char-quote-workaround):
6122 * progmodes/cc-vars.el (c-defun-tactic):
6123 * net/tramp.el (tramp-encoding-command-interactive)
6124 (tramp-local-end-of-line):
6125 * net/soap-client.el (soap-client):
6126 * net/netrc.el (netrc-file):
6127 * net/gnutls.el (gnutls):
6128 * minibuffer.el (completion-category-overrides)
6129 (completion-cycle-threshold)
6130 (completion-pcm-complete-word-inserts-delimiters):
6131 * man.el (Man-name-local-regexp):
6132 * mail/feedmail.el (feedmail-display-full-frame):
6133 * international/characters.el (glyphless-char-display-control):
6134 * eshell/em-ls.el (eshell-ls-date-format):
6135 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6136 (lisp-lambda-list-keyword-parameter-indentation)
6137 (lisp-lambda-list-keyword-parameter-alignment):
6138 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6139 * dired-x.el (dired-omit-verbose):
6140 * cus-theme.el (custom-theme-allow-multiple-selections):
6141 * calc/calc.el (calc-highlight-selections-with-faces)
6142 (calc-lu-field-reference, calc-lu-power-reference)
6143 (calc-note-threshold):
6144 * battery.el (battery-mode-line-limit):
6145 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6146 (archive-7z-update):
6147 * allout.el (allout-prefixed-keybindings)
6148 (allout-unprefixed-keybindings)
6149 (allout-inhibit-auto-fill-on-headline)
6150 (allout-flattened-numbering-abbreviation):
6151 * allout-widgets.el (allout-widgets-auto-activation)
6152 (allout-widgets-icons-dark-subdir)
6153 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6154 (allout-widgets-theme-dark-background)
6155 (allout-widgets-theme-light-background)
6156 (allout-widgets-item-image-properties-emacs)
6157 (allout-widgets-item-image-properties-xemacs)
6158 (allout-widgets-run-unit-tests-on-load)
6159 (allout-widgets-time-decoration-activity)
6160 (allout-widgets-hook-error-post-time)
6161 (allout-widgets-track-decoration):
6162 Add missing :version tags to new defcustoms and defgroups.
6163
5fec1b8e
GM
6164 * progmodes/sql.el (sql-ansi-statement-starters)
6165 (sql-oracle-statement-starters): Add custom type.
6166
3e0d2fa7
GM
6167 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6168 (prolog-system-version): Give it a type.
6169
90b671e2
EZ
61702012-02-11 Eli Zaretskii <eliz@gnu.org>
6171
6172 * term/pc-win.el (x-select-text, x-selection-owner-p)
6173 (x-own-selection-internal, x-disown-selection-internal)
6174 (x-get-selection-internal): Sync doc strings and argument lists
6175 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6176
5eac0c02
LL
61772012-02-11 Leo Liu <sdl.web@gmail.com>
6178
6179 * progmodes/python.el (python-end-of-statement): Fix infinite
6180 loop. (Bug#10788)
6181
f82cb659
GM
61822012-02-10 Glenn Morris <rgm@gnu.org>
6183
6184 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6185 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6186
cc26d239
LI
61872012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6188
6189 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6190 about SMTP before checking the From header.
6191
91027d08 6192 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6193 into own function for reuse by emacsbug.el.
6194
1be3ca5a
LL
61952012-02-10 Leo Liu <sdl.web@gmail.com>
6196
6197 * subr.el (condition-case-unless-debug): Rename from
6198 condition-case-no-debug. All callers changed.
6199 (with-demoted-errors): Fix caller.
6200
6201 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6202 * nxml/rng-valid.el (rng-do-some-validation):
6203 * emacs-lisp/package.el (package-refresh-contents)
6204 (package-menu-execute):
6205 * desktop.el (desktop-create-buffer):
91027d08 6206 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6207
b011fbfe
GM
62082012-02-10 Glenn Morris <rgm@gnu.org>
6209
b2096d72
GM
6210 * textmodes/bibtex.el:
6211 Add missing :version tags for new/changed defcustoms.
6212
b011fbfe
GM
6213 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6214
4c7e65bf
LI
62152012-02-09 Lars Ingebrigtsen <larsi@rusty>
6216
6217 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6218 (smtpmail-via-smtp): Use it, or fall back on the From address.
6219 (smtpmail-send-it): Ditto.
6220
f3934f6f
SM
62212012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6224 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6225 (byte-compile-tmp-var): New const.
6226 (byte-compile-defvar): Use it to minimize .elc size.
6227 Just use `defvar' rather than simulate it (bug#10761).
6228
a075a2c5
GM
62292012-02-09 Glenn Morris <rgm@gnu.org>
6230
cf3aa21b
GM
6231 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6232
354998cd
GM
6233 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6234 Add :version tags.
6235
dc9924b8
SM
6236 * progmodes/compile.el (compilation-error-screen-columns)
6237 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6238
dab3703d
GM
6239 * vc/log-view.el (log-view-toggle-entry-display):
6240 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6241
3f88cd72
GM
6242 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6243 (report-emacs-bug-can-use-xdg-email):
6244 (report-emacs-bug-insert-to-mailer): Doc fixes.
6245 (report-emacs-bug): Message fix.
6246
d95b247d
GM
6247 * net/browse-url.el (browse-url-can-use-xdg-open)
6248 (browse-url-xdg-open): Doc fixes.
6249
a075a2c5
GM
6250 * electric.el (electric-indent-mode, electric-pair-mode)
6251 (electric-layout-rules, electric-layout-mode): Doc fixes.
6252 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6253
ffb6157e
MR
62542012-02-08 Martin Rudalics <rudalics@gmx.at>
6255
6256 * server.el (server-unselect-display): Don't inadvertently kill
6257 the current buffer. (Bug#10729)
6258
e1ac4066
GM
62592012-02-08 Glenn Morris <rgm@gnu.org>
6260
34e8a2da
GM
6261 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6262 (sql-list-table): Doc fixes.
6263
b4ac6e8c
GM
6264 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6265 Comment out (does nothing).
6266
e1ac4066
GM
6267 * completion.el (dynamic-completion-mode):
6268 * dirtrack.el (dirtrack-debug-mode):
6269 * electric.el (electric-layout-mode):
6270 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6271 * face-remap.el (text-scale-mode, buffer-face-mode):
6272 * iimage.el (iimage-mode):
6273 * image-mode.el (image-transform-mode):
6274 * minibuffer.el (completion-in-region-mode):
6275 * scroll-lock.el (scroll-lock-mode):
6276 * simple.el (next-error-follow-minor-mode):
6277 * tar-mode.el (tar-subfile-mode):
6278 * tooltip.el (tooltip-mode):
6279 * vcursor.el (vcursor-use-vcursor-map):
6280 * wid-browse.el (widget-minor-mode):
6281 * emulation/tpu-edt.el (tpu-edt-mode):
6282 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6283 * international/iso-ascii.el (iso-ascii-mode):
6284 * language/thai-util.el (thai-word-mode):
6285 * mail/supercite.el (sc-minor-mode):
6286 * net/goto-addr.el (goto-address-mode):
6287 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6288 * progmodes/cwarn.el (cwarn-mode):
6289 * progmodes/flymake.el (flymake-mode):
6290 * progmodes/glasses.el (glasses-mode):
6291 * progmodes/hideshow.el (hs-minor-mode):
6292 * progmodes/pascal.el (pascal-outline-mode):
6293 * textmodes/enriched.el (enriched-mode):
6294 * vc/smerge-mode.el (smerge-mode):
6295 Doc fixes (minor mode argument).
6296
5e0d957f
EZ
62972012-02-07 Eli Zaretskii <eliz@gnu.org>
6298
6299 * ls-lisp.el (ls-lisp-sanitize): New function.
6300 (ls-lisp-insert-directory): Use it to fix or remove any elements
6301 in file-alist with missing attributes. (Bug#4673)
6302
98d7371e
AM
63032012-02-07 Alan Mackenzie <acm@muc.de>
6304
6305 Fix spurious recognition of c-in-knr-argdecl.
6306
6307 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6308 putative K&R region.
6309
667ced3a
AM
63102012-02-07 Alan Mackenzie <acm@muc.de>
6311
eb864a71
LM
6312 * progmodes/cc-engine.el (c-forward-objc-directive):
6313 Prevent looping in "#pragma mark @implementation".
667ced3a 6314
5b77774d
MA
63152012-02-07 Michael Albinus <michael.albinus@gmx.de>
6316
6317 * notifications.el (notifications-on-closed-signal): Make `reason'
6318 optional. (Bug#10744)
6319
af008560
GM
63202012-02-07 Glenn Morris <rgm@gnu.org>
6321
60d47423
GM
6322 * emacs-lisp/easy-mmode.el (define-minor-mode):
6323 Doc fixes for the macro and the mode it defines.
6324
dd605cc4
GM
6325 * image.el (imagemagick-types-inhibit): Doc fix.
6326
af008560
GM
6327 * cus-start.el (imagemagick-render-type): Add it.
6328
5cc59a37
LI
63292012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6330
4d6769e1
JB
6331 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6332 Set the default at load time, too, so that `font-lock-fontify-buffer'
6333 can be called without setting up the entire mode first. This fixes
6334 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6335
9a6dd747
CY
63362012-02-06 Chong Yidong <cyd@gnu.org>
6337
2d16b285
CY
6338 * simple.el (list-processes--refresh): Delete exited processes
6339 (Bug#8094).
6340
171e9b6e
CY
6341 * comint.el (comint-next-prompt): next-single-char-property-change
6342 and prev-single-char-property-change never return nil (Bug#8657).
6343
9a6dd747
CY
6344 * custom.el (defcustom): Doc fix (Bug#9711).
6345
aa4589a7
CY
63462012-02-05 Chong Yidong <cyd@gnu.org>
6347
5c2a252f
CY
6348 * cus-edit.el (custom-variable-reset-backup): Quote the value
6349 before storing it in the customized-value property (Bug#6712).
4aab9006 6350 (custom-display): Add a customization type tag.
983b9602 6351 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6352
aa4589a7
CY
6353 * wid-edit.el (widget-field-value-get): New optional arg to
6354 suppress trailing whitespace truncation.
6355 (character): Use it (Bug#2689).
6356
1ff980ae
AS
63572012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6358
6359 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6360 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6361
03988c98
CY
63622012-02-05 Chong Yidong <cyd@gnu.org>
6363
eeb6cc88
CY
6364 * cus-edit.el (custom-variable-value-create): For mismatched
6365 types, show the current value (Bug#7600).
6366
03988c98
CY
6367 * custom.el (defcustom): Doc fix.
6368
f8cdeef0
GM
63692012-02-05 Glenn Morris <rgm@gnu.org>
6370
6371 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6372
0696d255
JB
63732012-02-05 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6376 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6377 (pp-last-sexp): Use `looking-at-p'.
6378
34c99998
GM
63792012-02-04 Glenn Morris <rgm@gnu.org>
6380
8f05da42
GM
6381 * files.el (revert-buffer):
6382 Doc fix (mention revert-buffer-in-progress-p).
6383
f160676e
GM
6384 * emacs-lisp/ert-x.el (ert-simulate-command):
6385 Check deferred-action-list (which is obsolete) is bound.
6386
c7291ad9
GM
6387 * subr.el (with-wrapper-hook): Doc fixes.
6388
34c99998
GM
6389 * simple.el (filter-buffer-substring-functions)
6390 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6391
6283a7d3
LL
63922012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6393
6394 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6395 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6396
e96e3013
LL
63972012-02-04 Leo Liu <sdl.web@gmail.com>
6398
6399 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6400
8ded50f2
GM
64012012-02-04 Glenn Morris <rgm@gnu.org>
6402
82ff1d13
GM
6403 * image.el (image-extension-data): Add obsolete alias.
6404
987a0a16
GM
6405 * isearch.el (isearch-update): Doc fix.
6406
ea32ef46
GM
6407 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6408
8ded50f2
GM
6409 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6410
eea14f31
GM
64112012-02-03 Glenn Morris <rgm@gnu.org>
6412
6413 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6414 (image-animate-timeout): Doc fix.
6415
6416 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6417
12f381b7
GM
64182012-02-02 Glenn Morris <rgm@gnu.org>
6419
953cebf5
GM
6420 * server.el (server-auth-dir): Doc fix.
6421 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6422
12f381b7
GM
6423 * subr.el (run-mode-hooks): Doc fix.
6424
953a8c3b
JL
64252012-02-02 Juri Linkov <juri@jurta.org>
6426
6427 * image-mode.el (image-toggle-display-image): Remove tautological
6428 `major-mode' from the `derived-mode-p' test.
6429
c5d3843c
KH
64302012-02-02 Kenichi Handa <handa@m17n.org>
6431
9f6e692e 6432 * composite.el (compose-region): Cancel previous change.
c5d3843c 6433
159462d4 64342012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6435
6436 * composite.el (compose-region, compose-string): Signal error for
6437 a null string component (Bug#6988).
6438
9f562668
CY
64392012-02-01 Chong Yidong <cyd@gnu.org>
6440
e2cef717
CY
6441 * view.el (view-buffer-other-window, view-buffer-other-frame):
6442 Handle special modes like view-buffer (Bug#10650).
6443 (view-buffer): Simplify.
6444
9f562668
CY
6445 * frame.el (set-frame-font): Tweak meaning of third argument.
6446
9f6e692e
JB
6447 * dynamic-setting.el (font-setting-change-default-font):
6448 Use set-frame-font (Bug#9982).
9f562668 6449
781acb9f
GM
64502012-02-01 Glenn Morris <rgm@gnu.org>
6451
6035be52
GM
6452 * progmodes/compile.el (compilation-internal-error-properties):
6453 Respect compilation-first-column in the "*compilation*" buffer.
6454
781acb9f
GM
6455 * emacs-lisp/easy-mmode.el (define-minor-mode):
6456 Relax :variable's test for a named function.
6457
abbceb00
AM
64582012-01-31 Alan Mackenzie <acm@muc.de>
6459
6460 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6461 off by one error.
6462
fce3fdeb
CY
64632012-01-31 Chong Yidong <cyd@gnu.org>
6464
6465 * frame.el (set-frame-font): New arg ALL-FRAMES.
6466
6467 * menu-bar.el (menu-set-font): Use set-frame-font.
6468
6469 * faces.el (face-spec-reset-face): Don't apply unspecified
6470 attribute values to the default face.
6471
47893581
JB
64722012-01-31 Juanma Barranquero <lekktu@gmail.com>
6473
6474 * progmodes/cwarn.el (cwarn): Remove dead link.
6475 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6476 Remove * from defcustom docstrings.
6477 (turn-on-cwarn-mode): Make obsolete.
6478 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6479 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6480
e58e988a
GM
64812012-01-31 Glenn Morris <rgm@gnu.org>
6482
60dc2671 6483 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6484 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6485 Allow named functions to be used as the cdr of :variable.
e58e988a 6486
7a3f511d
GM
64872012-01-30 Glenn Morris <rgm@gnu.org>
6488
6489 * emacs-lisp/authors.el (authors-fixed-entries):
6490 Remove reference to deleted file rnewspost.el.
6491
cb882333
JB
64922012-01-29 Juanma Barranquero <lekktu@gmail.com>
6493
6494 * window.el (window-with-parameter): Remove unused variable `windows'.
6495 (window--side-check): Remove unused variable `code'.
6496 (window--resize-siblings): Remove unused variable `first'.
6497 (adjust-window-trailing-edge): Remove unused variable `failed'.
6498 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6499 Use `let', not `let*'.
6500 (balance-windows-2): Remove unused variable `found'.
6501 (window--state-put-2): Remove unused variable `splits'.
6502 (window-state-put): Remove unused variable `selected'.
6503 (same-window-p): Use `string-match-p'.
6504 (display-buffer-assq-regexp): Remove unused variable `value'.
6505 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6506 Mark argument ALIST as ignored.
6507 (pop-to-buffer): Remove unused variable `old-window'.
6508
907201af
EZ
65092012-01-29 Eli Zaretskii <eliz@gnu.org>
6510
6511 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6512 and .lzma compressed files.
6513
ea162670
CY
65142012-01-29 Chong Yidong <cyd@gnu.org>
6515
5b95ee8a
CY
6516 * frame.el (window-system-default-frame-alist): Doc fix.
6517
ea162670
CY
6518 * dynamic-setting.el (font-setting-change-default-font): Don't
6519 change the default face if SET-FONT argument is non-nil (Bug#9982).
6520
d6e6f4b1
SB
65212012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6522
6523 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6524
0f29fa41 65252012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6526
6527 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6528 breakpoints in files outside current directory (Bug#6098).
6529
db174434
CY
65302012-01-29 Chong Yidong <cyd@gnu.org>
6531
6b25e4e2
SE
6532 * progmodes/python.el: Require ansi-color at top-level.
6533
6df6ae42
JB
6534 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6535 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6536 (lisp-mode-abbrev-table): Add doc.
6537 (lisp-mode-variables): Don't set local-abbrev-table.
6538 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6539
e70ee681
RW
65402012-01-28 Roland Winkler <winkler@gnu.org>
6541
6542 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6543
ace88aa2
RW
65442012-01-28 Roland Winkler <winkler@gnu.org>
6545
6546 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6547 (bibtex-set-dialect): Use it. Either set global values of
6548 dialect-dependent variables or bind these variables buffer-locally
6549 (Bug#10254).
6550 (bibtex-mode): Call bibtex-set-dialect via
6551 hack-local-variables-hook.
eb864a71
LM
6552 (bibtex-dialect): Update docstring.
6553 Add safe-local-variable predicate.
ace88aa2
RW
6554 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6555 bibtex-set-dialect.
6556 (bibtex-mode-map): Define menu for each dialect.
6557 (bibtex-entry): Fix docstring.
6558
93376c5b
CY
65592012-01-28 Chong Yidong <cyd@gnu.org>
6560
6561 * eshell/esh-arg.el (eshell-quote-argument): New function.
6562
6563 * eshell/esh-ext.el (eshell-invoke-batch-file):
6564 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6565 first arg to eshell-parse-command (Bug#10523).
6566
4372494f
DA
65672012-01-28 Drew Adams <drew.adams@oracle.com>
6568
6569 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6570 `default-directory' is non-nil.
6571
4d4ec1f8
EZ
65722012-01-28 Eli Zaretskii <eliz@gnu.org>
6573
6574 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6575 line that displays system-configuration-options. (Bug#9924)
6576
7c188927
DA
65772012-01-28 Drew Adams <drew.adams@oracle.com>
6578
6579 * descr-text.el (describe-char): Show information about POS, in
6580 addition to information about the character at POS. Improve and
6581 update the doc string. Change "code point" to "code point in
6582 charset", to avoid confusion with the character's Unicode code
6583 point shown above that. (Bug#10129)
6584
e0da685a
EZ
65852012-01-28 Eli Zaretskii <eliz@gnu.org>
6586
6587 * descr-text.el (describe-char): Show the raw character, not only
6588 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6589 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6590 for the reasons.
6591
70550acf
PH
65922012-01-28 Phil Hagelberg <phil@hagelb.org>
6593
eb864a71
LM
6594 * emacs-lisp/package.el (package-install):
6595 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6596
0ce8e868
CY
65972012-01-28 Chong Yidong <cyd@gnu.org>
6598
cb882333
JB
6599 * emacs-lisp/package.el (package-maybe-load-descriptor):
6600 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6601 (package-maybe-load-descriptor): Use it.
6602 (package-download-transaction): Fully load required packages
6603 inside the loop, so that `require' calls work (Bug#10593).
6604 (package-install): No need to call package-initialize now.
6605
2e7f3bea
CY
66062012-01-28 Chong Yidong <cyd@gnu.org>
6607
6e9bad14
CY
6608 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6609
f823b8ca
CY
6610 * tooltip.el (tooltip-mode): Doc fix.
6611 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6612
2680c309
CY
6613 * frame.el (set-cursor-color): Doc fix (Bug#352).
6614
d7a9e63b
CY
6615 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6616 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6617
2e7f3bea
CY
6618 * cus-edit.el (custom-buffer-create-internal): Fix search button
6619 action (Bug#10542).
2ae01800 6620 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6621
fc4f7a23
EW
66222012-01-27 Eduard Wiebe <usenet@pusto.de>
6623
6624 * dired.el (dired-mark-files-regexp):
6625 Include any subdirectory components. (Bug#10445)
6626
7dd37071
ML
66272012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6628
6629 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6630 Handle [host]:port syntax. (Bug#10533)
6631
a268160b
AH
66322012-01-27 Alex Harsanyi <harsanyi@mac.com>
6633
6634 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6635
e43273ef
GM
66362012-01-26 Glenn Morris <rgm@gnu.org>
6637
6638 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6639 * term.el (term-raw-escape-map): Use Control-X-prefix.
6640 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6641
1edf595d
MR
66422012-01-25 Martin Rudalics <rudalics@gmx.at>
6643
6644 * window.el (window-state-get, window--state-get-1): Don't deal
6645 with fixed-sizeness of windows. Simplify code.
6646
fa8eafef
JC
66472012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6648
6df6ae42
JB
6649 * window.el (window--state-get-1, window--state-put-2):
6650 Don't save and restore the mark.
fa8eafef 6651
0b21c100
CY
66522012-01-25 Chong Yidong <cyd@gnu.org>
6653
6654 * custom.el (custom-variable-p): Doc fix.
6655
5ae1a6c8
GM
66562012-01-25 Glenn Morris <rgm@gnu.org>
6657
40047858
GM
6658 * dired.el (dired-goto-file): Handle some of the more common
6659 characters that `ls -b' escapes. (Bug#10596)
6660
5ddce96c
GM
6661 * progmodes/compile.el (compilation-next-error-function):
6662 Respect compilation-first-column in the "*compilation*" buffer.
6663 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6664
5ae1a6c8
GM
6665 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6666
b559f1a9
GM
66672012-01-24 Glenn Morris <rgm@gnu.org>
6668
6669 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6670
6725d21a
JD
66712012-01-24 Julien Danjou <julien@danjou.info>
6672
6673 * color.el (color-rgb-to-hsl): Fix value computing.
6674 (color-hue-to-rgb): New function.
6675 (color-hsl-to-rgb): New function.
6676 (color-clamp, color-saturate-hsl, color-saturate-name)
6677 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6678 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6679
70df4bbe
GM
66802012-01-24 Glenn Morris <rgm@gnu.org>
6681
6682 * vc/vc-rcs.el (vc-rcs-create-tag):
6683 * vc/vc-sccs.el (vc-sccs-create-tag):
6684 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6685
802a2ae2
ML
66862012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6687
6688 * eshell/esh-util.el (eshell-read-hosts-file):
6689 Skip comment lines. (Bug#10549)
6690
d7128bb1
ML
6691 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6692
d1a5c3b4
JB
66932012-01-23 Juanma Barranquero <lekktu@gmail.com>
6694
2724d9c7
JB
6695 * subr.el (display-delayed-warnings): Doc fix.
6696 (collapse-delayed-warnings): New function to collapse identical
6697 adjacent warnings.
6698 (delayed-warnings-hook): Add it.
d1a5c3b4 6699
a5509865
MA
67002012-01-22 Michael Albinus <michael.albinus@gmx.de>
6701
6702 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6703
a5509865
MA
6704 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6705 (tramp-default-user-alist): Don't add "pscp".
6706 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6707 property "login-as", if set. (Bug#10530)
6708
cc6d5805
MA
67092012-01-21 Michael Albinus <michael.albinus@gmx.de>
6710
6711 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6712 "plink1" and "psftp". (Bug#10530)
6713
67142012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6715
6716 * international/mule-cmds.el (prefer-coding-system): Show a
6717 warning message if the default value of file-name-coding-system
6718 was not changed.
6719
f0960428
JC
67202012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6721
cb882333
JB
6722 * windmove.el (windmove-reference-loc):
6723 Fix windmove-reference-loc miscalculation.
f0960428 6724
dd6f2a63
JB
67252012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6726
6727 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6728 default unit.
6729
7b447e9b
GM
67302012-01-21 Glenn Morris <rgm@gnu.org>
6731
117a9ea1
GM
6732 * international/mule.el (auto-coding-alist): Add .tbz.
6733
7b447e9b
GM
6734 * files.el (local-enable-local-variables): Doc fix.
6735 (inhibit-local-variables-regexps): Rename from
6736 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
6737 Doc fix. Add some extensions from auto-coding-alist.
6738 (inhibit-local-variables-suffixes):
6739 Rename from inhibit-first-line-modes-suffixes. Doc fix.
6740 (inhibit-local-variables-p):
6741 New function, extracted from set-auto-mode-1.
6742 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
6743 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
6744 (hack-local-variables): Doc fix. Make the mode-only case
6745 respect enable-local-variables and friends.
6746 Respect inhibit-local-variables-regexps for file-locals, but
6747 not for directory-locals.
6748 (set-visited-file-name):
6749 Take account of inhibit-local-variables-regexps.
6750 Whether it applies may change as the file name is changed.
6751 * jka-cmpr-hook.el (jka-compr-install):
6752 * jka-compr.el (jka-compr-uninstall):
6753 Update for inhibit-first-line-modes-suffixes name change.
6754
dd6e3cdd
MR
67552012-01-20 Martin Rudalics <rudalics@gmx.at>
6756
6757 * help-macro.el (make-help-screen): Temporarily restore original
6758 binding for minor-mode-map-alist (Bug#10454).
6759
0d0deb38
JD
67602012-01-19 Julien Danjou <julien@danjou.info>
6761
6762 * color.el (color-name-to-rgb): Use the white color to find the max
6763 color component value and return correctly computed values.
6764 (color-name-to-rgb): Add missing float conversion for max value.
6765
34a02f46
MR
67662012-01-19 Martin Rudalics <rudalics@gmx.at>
6767
6768 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
6769 special state value for window-persistent-parameters.
6770 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
6771 (window--state-put-2): Reset all window parameters to nil before
6772 assigning values of persistent parameters.
6773
606c44c4
AM
67742012-01-18 Alan Mackenzie <acm@muc.de>
6775
6776 Eliminate sluggishness and hangs in fontification of "semicolon
6777 deserts".
6778
cb882333
JB
6779 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
6780 Change value 10000 -> 3000.
606c44c4
AM
6781 (c-state-safe-place): Reformulate so it doesn't stack up an
6782 infinite number of wrong entries in c-state-nonlit-pos-cache.
6783 (c-determine-limit-get-base, c-determine-limit): New functions to
6784 determine backward search limits disregarding literals.
6785 (c-find-decl-spots): Amend commenting.
6786 (c-cheap-inside-bracelist-p): New function which detects "={".
6787
6788 * progmodes/cc-fonts.el
6789 (c-make-font-lock-BO-decl-search-function): Give a limit to a
6790 backward search.
6791 (c-font-lock-declarations): Fix an occurrence of point being
6792 undefined. Check additionally for point being in a bracelist or
6793 near a macro invocation without a semicolon so as to avoid a
6794 fruitless time consuming search for a declarator. Give a more
6795 precise search limit for declarators using the new
6796 c-determine-limit.
6797
f3860cea
GM
67982012-01-18 Glenn Morris <rgm@gnu.org>
6799
6800 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
6801 (set-auto-mode): Doc fixes.
6802
1db03b16
GM
68032012-01-17 Glenn Morris <rgm@gnu.org>
6804
0e6038be
GM
6805 * isearch.el (search-nonincremental-instead): Fix doc typo.
6806
1db03b16
GM
6807 * dired.el (dired-insert-directory): Handle newlines in directory name.
6808 (dired-build-subdir-alist): Unescape newlines in directory name.
6809
4cb0aa75
MA
68102012-01-17 Michael Albinus <michael.albinus@gmx.de>
6811
6812 * net/tramp.el (tramp-local-end-of-line): New defcustom.
6813 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
6814 (tramp-action-terminal): Use it. (Bug#10530)
6815
1d00653d
SM
68162012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
6817
6818 * minibuffer.el (completion--replace): Strip properties (bug#10062).
6819
6a6ee00d
MR
68202012-01-16 Martin Rudalics <rudalics@gmx.at>
6821
6822 * window.el (window-state-ignored-parameters): Remove variable.
6823 (window--state-get-1): Rename argument MARKERS to IGNORE.
6824 Handle persistent window parameters. Make copy of clone-of
6825 parameter only if requested. (Bug#10348)
6826 (window--state-put-2): Install a window parameter only if it has
6827 a non-nil value or an existing parameter shall be overwritten.
6828
97912def
MA
68292012-01-15 Michael Albinus <michael.albinus@gmx.de>
6830
6831 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
6832
688070a5
EZ
68332012-01-14 Eli Zaretskii <eliz@gnu.org>
6834
6835 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
6836 don't pass the (nil) value of `upnode' to string-match.
6837
301afadc
CY
68382012-01-14 Chong Yidong <cyd@gnu.org>
6839
6840 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 6841 Fix values recognized by the cursorBlink resource.
301afadc 6842
9e5788aa
PE
68432012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6844
6845 * epg.el (epg--make-temp-file): Avoid permission race condition
6846 when running on old Emacs versions (bug#10403).
6847
3cdb7f5a
GM
68482012-01-14 Glenn Morris <rgm@gnu.org>
6849
6850 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6851
8c82b1b4
AM
68522012-01-13 Alan Mackenzie <acm@muc.de>
6853
6854 Fix filling for when filladapt mode is enabled.
6855
6856 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6857 c-mask-paragraph, pass in `fill-paragraph' rather than
6858 `fill-region-as-paragraph'. (This is a reversion of a previous
6859 change.)
eb864a71
LM
6860 * progmodes/cc-mode.el (c-basic-common-init):
6861 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6862
e517eda4
GM
68632012-01-13 Glenn Morris <rgm@gnu.org>
6864
1498536e
GM
6865 * dired.el (dired-switches-escape-p): New function.
6866 (dired-insert-directory): Use dired-switches-escape-p.
6867 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6868
e517eda4
GM
6869 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6870
328f984d
GM
68712012-01-12 Glenn Morris <rgm@gnu.org>
6872
6873 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6874 changes in adaptive-fill-regexp. (Bug#10276)
6875
2cc769a8
AM
68762012-01-11 Alan Mackenzie <acm@muc.de>
6877
6878 Fix Emacs bug #10463 - put `widen's around the critical spots.
6879
1d00653d 6880 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6881 widen around each invocation of c-state-pp-to-literal. Remove an
6882 unused let variable.
6883
e52c37fa
GM
68842012-01-11 Glenn Morris <rgm@gnu.org>
6885
6886 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6887 Doc fix.
e52c37fa 6888
96f8741e
CY
68892012-01-10 Chong Yidong <cyd@gnu.org>
6890
1d00653d
SM
6891 * net/network-stream.el (network-stream-open-starttls):
6892 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6893 response to the capability command.
6894
b09a806e
GM
68952012-01-10 Glenn Morris <rgm@gnu.org>
6896
6897 * mail/unrmail.el (unrmail): Tweak previous change.
6898
7655cb66
CY
68992012-01-09 Chong Yidong <cyd@gnu.org>
6900
6901 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6902
9d5a8f0b
AM
69032012-01-08 Alan Mackenzie <acm@muc.de>
6904
6905 Optimise font locking in long enum definitions.
6906
6907 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6908 arm to a cond form to handle enums.
6909 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6910 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6911
9a0115ab 69122012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6913
6914 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6915 (Bug#10401)
6bb72cbd 6916
f186bb95
LMI
69172012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6918
29232a68
LMI
6919 * faces.el (set-face-attribute): Clarify the meaning of the nil
6920 frame (bug#10294).
6921
4e5d086d
LMI
6922 * subr.el (with-selected-frame): Mention that the selected frame
6923 is restored (bug#9980).
6924
8e66aebe
LMI
6925 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6926 (bug#9759).
6927
cd394be1 6928 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6929 (password-read): Don't autoload unused function.
6930
adf4e762
JB
69312012-01-07 Juanma Barranquero <lekktu@gmail.com>
6932
6933 * progmodes/which-func.el (which-func-mode): Turn into a
6934 non-interactive function and mark as obsolete (bug#10428).
6935
89bd9ccd
CY
69362012-01-06 Chong Yidong <cyd@gnu.org>
6937
6938 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6939 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6940 functions, along with 1 and -1.
6941
4afee9d5
EZ
69422012-01-06 Eli Zaretskii <eliz@gnu.org>
6943
6944 * time.el (display-time-load-average)
6945 (display-time-default-load-average): Doc fixes. See the thread
6946 starting at
6947 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6948 for the details.
6949
536aea70
GM
69502012-01-06 Glenn Morris <rgm@gnu.org>
6951
665ae865
GM
6952 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6953 has no messages. (Bug#10377)
6954
c869783d
GM
6955 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6956 than Info-edit. (Bug#10385)
6957
2bb4227e
GM
6958 * time.el (display-time-load-average, display-time-next-load-average):
6959 Doc fixes.
6960
7d5944b9
GM
6961 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6962 local setting of buffer-read-only to the input buffer. (Bug#10419)
6963
536aea70
GM
6964 * calendar/calendar.el (calendar-mode):
6965 Locally set scroll-margin to 0. (Bug#10379)
6966
7dccca16
UM
69672012-01-06 Ulrich Mueller <ulm@gentoo.org>
6968
6969 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6970
afbb7930
GM
69712012-01-05 Glenn Morris <rgm@gnu.org>
6972
6973 * eshell/em-unix.el (diff-no-select): Autoload it.
6974 (eshell/diff): Use diff-no-select. (Bug#10420)
6975
04482335
CY
69762012-01-05 Chong Yidong <cyd@gnu.org>
6977
7baca3bc
CY
6978 * shell.el (shell-dynamic-complete-functions): Revert last change.
6979 (shell-command-completion-function): New function.
6980 (shell-completion-vars): Use it to implement
6981 shell-completion-execonly (Bug#10417).
6982
04482335
CY
6983 * custom.el (enable-theme): Don't set custom-safe-themes.
6984
1d00653d
SM
6985 * cus-theme.el (custom-theme-merge-theme):
6986 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6987
bb5aa5d6
MM
69882012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6989
6990 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6991 first prompt in `sql-interacive-mode'.
6992 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6993 keywords.
6df6ae42 6994 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6995 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6996 context of original buffer. Invoke `sql-login-hook'.
6997
a7183d7c
EZ
69982012-01-04 Eli Zaretskii <eliz@gnu.org>
6999
7000 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7001 letters in cite-prefix.
7002
a1eacd1e
LMI
70032012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7004
7005 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7006
787cdb34
CY
70072012-01-03 Chong Yidong <cyd@gnu.org>
7008
1d00653d
SM
7009 * shell.el (shell-dynamic-complete-functions):
7010 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7011 comint-filename-completion first (Bug#10417).
7012
30710442
RS
70132012-01-02 Richard Stallman <rms@gnu.org>
7014
7015 * battery.el (battery-status-function):
7016 Detect when to use battery-yeeloong-sysfs.
7017 (battery-echo-area-format): Add string for Yeeloong.
7018 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7019 (battery-yeeloong-sysfs): New function.
7020
f75bfc33
CY
70212012-01-02 Chong Yidong <cyd@gnu.org>
7022
7023 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7024 (dirtrack): Merge code for handling relative filenames in prompt
7025 from shell-dir-cookie-watcher.
7026 (dirtrack-debug-message): New arg to avoid excess format calls.
7027
7028 * shell.el (shell-dir-cookie-re): Variable deleted.
7029 (shell-dir-cookie-watcher): Function deleted.
7030 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7031 with dirtrack-mode.
7032
651e947e
EZ
70332012-01-01 Eli Zaretskii <eliz@gnu.org>
7034
1d00653d
SM
7035 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7036 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7037 libgnutls-26.dll.
7038
94d4c7dc
AS
70392011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7040
7041 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7042
8d43f3cd
EZ
70432011-12-31 Eli Zaretskii <eliz@gnu.org>
7044
7045 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7046 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7047
98c8795a
MA
70482011-12-29 Michael Albinus <michael.albinus@gmx.de>
7049
7050 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7051 also for alternative shells.
7052 (tramp-open-connection-setup-interactive-shell): Check, whether
7053 the shell is a busybox.
7054 (tramp-send-command): Don't suppress multiple prompts for
7055 busyboxes, it hurts.
7056
51281b32
CY
70572011-12-28 Chong Yidong <cyd@gnu.org>
7058
7059 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7060 (gdb-get-source-file): Move mode line update to
7061 gdb-get-source-file (Bug#10087).
7062
2170cb53
CY
70632011-12-25 Chong Yidong <cyd@gnu.org>
7064
7065 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7066 gud-gdb-marker-filter without taking it as an argument.
7067 (gud-gdb-run-command-fetch-lines): Caller changed.
7068 (gud-gdb-completion-function): New variable.
7069 (gud-gdb-completion-at-point): Use it.
7070 (gud-gdb-completions-1): Split from gud-gdb-completions.
7071
7072 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7073 function as separate arguments.
7074 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7075 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7076 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7077 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7078 (gdb-stopped, def-gdb-auto-update-trigger)
7079 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7080 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7081 Callers changed.
2170cb53
CY
7082 (gud-gdbmi-completions): New function.
7083 (gdb): Use it for generating the completion table.
7084
be8b11bb
AM
70852011-12-24 Alan Mackenzie <acm@muc.de>
7086
7087 Introduce a mechanism to widen the region used in context font
1d00653d 7088 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7089
1d00653d
SM
7090 * progmodes/cc-langs.el (c-before-font-lock-functions):
7091 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7092 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7093 functions to be run just before context (etc.) font locking.
7094
7095 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7096 New, functionality extracted from
be8b11bb 7097 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7098 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7099 (c-after-change): Set c-in-after-change-fontification.
7100 (c-set-fl-decl-start): Rejig its interface, so it can be called
7101 from both after-change and context fontifying.
b81d40f0
JB
7102 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7103 New functions.
7104 (c-standard-font-lock-fontify-region-function): New variable.
7105 (c-font-lock-fontify-region): New function.
be8b11bb 7106
341cf6ac
JL
71072011-12-24 Juri Linkov <juri@jurta.org>
7108
7109 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7110 (Bug#10348)
7111
bffcee0a
MA
71122011-12-23 Michael Albinus <michael.albinus@gmx.de>
7113
7114 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7115 existence of source file. (Bug#10325)
7116
cb5e207c
AM
71172011-12-23 Alan Mackenzie <acm@muc.de>
7118
7119 Fix unstable fontification inside templates.
7120
b81d40f0
JB
7121 * progmodes/cc-langs.el (c-before-font-lock-functions):
7122 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7123 additionally has c-set-fl-decl-start. The other languages (apart
7124 from AWK) have that as a single entry.
7125
b81d40f0
JB
7126 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7127 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7128 c-set-fl-decl-start.
7129
b81d40f0
JB
7130 * progmodes/cc-mode.el (c-common-init, c-after-change):
7131 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7132 (c-set-fl-decl-start): New function, extracted from
7133 c-font-lock-enclosing-decls and enhanced.
7134
60ff536c
JB
71352011-12-23 Juanma Barranquero <lekktu@gmail.com>
7136
7137 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7138
1c4757d6
JL
71392011-12-22 Juri Linkov <juri@jurta.org>
7140
7141 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7142
d031f2c7
CY
71432011-12-22 Chong Yidong <cyd@gnu.org>
7144
7145 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7146
bace743a
DA
71472011-12-21 Drew Adams <drew.adams@oracle.com>
7148
7149 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7150
728a1f2b
JC
71512011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7152
7153 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7154
0d373f73
TZ
71552011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7156
fec0aaa4
TZ
7157 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7158 highlighting and support. Fix up comments for capitalization.
7159 (cfengine-mode-debug): New var.
7160 (cfengine3-mode): Change the modeline indicator to "CFE3".
7161 (cfengine3-font-lock-keywords): Improve defun highlighting.
7162 (cfengine2-actions): Rename from `cfengine-actions'.
7163 (cfengine2-font-lock-keywords): Rename from
7164 `cfengine-font-lock-keywords'.
7165 (cfengine2-imenu-expression): Rename from
7166 `cfengine-imenu-expression'.
7167 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7168 (cfengine2-beginning-of-defun): Rename from
7169 `cfengine-beginning-of-defun'.
7170 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7171 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7172 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7173 modeline indicator to "CFE2".
7174 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7175 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7176
bc86f573
CY
71772011-12-21 Chong Yidong <cyd@gnu.org>
7178
7179 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7180 filename argument.
7181
d45ba96b
MR
71822011-12-20 Martin Rudalics <rudalics@gmx.at>
7183
7184 * window.el (window-normalize-buffer-to-display): Remove.
7185 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7186
a6198c90
CY
71872011-12-19 Chong Yidong <cyd@gnu.org>
7188
7189 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7190 Don't signal an error in a predicate function; return non-nil.
7191 (vc-dir-mark-file): Move the error here.
7192 (vc-dir-mark-unmark): If acting on the region, keep going if one
7193 of the entries cannot be marked/unmarked.
7194 (vc-dir-mark-all-files): If current entry is a directory, mark
7195 only child files, as documented.
7196
34c5fb55
VB
71972011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7198
7199 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7200 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7201 addition.
7202
c803b2b7
JD
72032011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7204
7205 * term/ns-win.el (ns-get-selection-internal)
7206 (ns-store-selection-internal): Declare.
1154d12e
JB
7207 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7208 Declare as obsolete.
7209 (ns-get-pasteboard, ns-paste-secondary):
7210 Use ns-get-selection-internal.
7211 (ns-set-pasteboard, ns-copy-including-secondary):
7212 Use ns-store-selection-internal.
c803b2b7 7213
9cff91f8 72142011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7215
7216 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7217 (vc-deduce-fileset): Doc fix.
99a289d9 7218
f16c898a
AS
72192011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7220
7221 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7222
763237c4
SS
72232011-12-13 Sam Steingold <sds@gnu.org>
7224
7225 * man.el (Man-getpage-in-background): When running under a
7226 window-system, ignore $MANWIDTH and $COLUMNS.
7227
5fc1c122
KH
72282011-12-15 Kenichi Handa <handa@m17n.org>
7229
7230 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7231 (setup-ethiopic-environment-internal): Comment out key-binding for
7232 ethio-toggle-punctuation.
7233
13d49cbb
AM
72342011-12-13 Alan Mackenzie <acm@muc.de>
7235
898169a2
AM
7236 Add the switch statement to AWK Mode.
7237
7a71b18d 7238 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7239 "default" to the keywords regexp.
7240
7a71b18d 7241 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7242 expression as the rest.
1d00653d
SM
7243 (c-nonlabel-token-key): Allow string literals for AWK.
7244 Refactor for the other modes.
898169a2 7245
13d49cbb 7246 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7247 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7248 routines. Limit backward searching in c-font-lock-enclosing.decl.
7249
7250 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7251 pp-state and literal type in addition to the limits.
1d00653d 7252 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7253 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7254 (c-slow-in-literal, c-fast-in-literal): Remove.
7255 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7256
7257 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7258 being in a literal. Add a limit for backward searching.
7259
7260 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7261 c-slow-in-literal.
7262
15e0efc7
SM
72632011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7264
7265 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7266
454592a6
MR
72672011-12-13 Martin Rudalics <rudalics@gmx.at>
7268
7269 * window.el (delete-other-windows): Use correct frame in call to
7270 window-with-parameter.
7271
87393f26
DP
72722011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7273
7274 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7275 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7276 (makefile-gmake-statements, makefile-makepp-statements):
7277 Use it and add new makepp keywords.
7278 (makefile-makepp-font-lock-keywords): Add new patterns.
7279 (makefile-match-function-end): Match new [...] and [[...]].
7280
11636b22
JB
72812011-12-11 Juanma Barranquero <lekktu@gmail.com>
7282
7283 * ses.el (ses-call-printer-return, ses-cell-property-get)
7284 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7285 (ses-create-cell-variable, ses-reset-header-string)
7286 (ses-cell-set-formula, ses-repair-cell-reference-all)
7287 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7288 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7289 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7290 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7291 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7292 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7293 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7294 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7295 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7296 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7297 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7298 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7299
cf018193
VB
73002011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7301
7302 * ses.el: The overall change is to add cell renaming, that is
7303 setting fancy names for cell symbols other than name matching
7304 "\\`[A-Z]+[0-9]+\\'" regexp .
7305 (ses-create-cell-variable): New defun.
7306 (ses-relocate-formula): Relocate formulas only for cells the
7307 symbols of which are not renamed, i.e. symbols whose names do not
7308 match regexp "\\`[A-Z]+[0-9]+\\'".
7309 (ses-relocate-all): Relocate values only for cells the symbols of
7310 which are not renamed.
7311 (ses-load): Create cells variables as the (ses-cell ...) are read,
7312 in order to check row col consistency with cell symbol name only
7313 for cells that are not renamed.
7314 (ses-replace-name-in-formula): New defun.
7315 (ses-rename-cell): New defun.
7316
ee957461
CY
73172011-12-11 Chong Yidong <cyd@gnu.org>
7318
7319 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7320 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7321
9a9e9ef0
MR
73222011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7323
7324 * window.el (other-window): Fix docstring.
7325
92a8eba5
EZ
73262011-12-10 Eli Zaretskii <eliz@gnu.org>
7327
7328 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7329 `from' or `to' address before taking its substring.
7330 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7331 encoded name is chopped in the middle of the encoded string, and
7332 thus displayed encoded.
7333
e152e577
JB
73342011-12-10 Juanma Barranquero <lekktu@gmail.com>
7335
7336 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7337
e5d84bfe
EZ
73382011-12-10 Eli Zaretskii <eliz@gnu.org>
7339
7340 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7341 to use texinfo-update-node and commands that call it if the
7342 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7343 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7344 (texinfo-all-menus-update, texinfo-master-menu)
7345 (texinfo-update-node, texinfo-every-node-update)
7346 (texinfo-multiple-files-update): Doc fix. Warn against updating
7347 all the @node lines.
7348 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7349 argument is numeric. Explain better in the doc string what the
7350 function really does.
7351 (texinfo-insert-master-menu-list): Improve the error message
7352 displayed if there's no menu in the Top node.
7353 (Bug#2975) See also this thread:
e5d84bfe
EZ
7354 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7355
1d84e9bb
MG
73562011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7357
7358 * speedbar.el (speedbar-supported-extension-expressions):
7359 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7360
382c953b
JB
73612011-12-09 Juanma Barranquero <lekktu@gmail.com>
7362
7363 * printing.el (pr-mode-alist):
7364 * simple.el (filter-buffer-substring-functions)
7365 (completion-list-insert-choice-function):
7366 * window.el (window-with-parameter, window-atom-root)
7367 (window-sides-slots, window-size-fixed, window-min-delta)
7368 (window-max-delta, window--resize-mini-window)
7369 (window--resize-child-windows-normal, window-tree)
7370 (delete-other-windows, quit-window, split-window)
7371 (display-buffer-record-window, special-display-buffer-names)
7372 (special-display-regexps, special-display-popup-frame)
7373 (same-window-p, split-window-sensibly)
7374 (display-buffer-overriding-action, display-buffer-alist)
7375 (display-buffer-base-action, display-buffer, switch-to-buffer)
7376 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7377 (fit-window-to-buffer, recenter-positions)
7378 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7379 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7380 and remove unneeded backslashes in docstrings.
7381
39c9faef
SM
73822011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7383
98449af8
SM
7384 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7385
39c9faef
SM
7386 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7387 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7388 end in ".mk".
7389 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7390 when reading the makefile (bug#10116).
7391
86ed9fdc
SM
73922011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7395 (bug#10116).
7396
5580f89d
GM
73972011-12-06 Glenn Morris <rgm@gnu.org>
7398
7399 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7400
28d3917c
CY
74012011-12-06 Chong Yidong <cyd@gnu.org>
7402
7403 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7404
a98edce9
JB
74052011-12-06 Juanma Barranquero <lekktu@gmail.com>
7406
7407 * textmodes/table.el (table-shorten-cell): Fix typo.
7408
e65adfac
CG
74092011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7410
7411 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7412
71cc0b74
EZ
74132011-12-05 Eli Zaretskii <eliz@gnu.org>
7414
7415 * descr-text.el (describe-char): Fix display of strong
7416 right-to-left characters and directional embeddings and overrides.
7417
7418 * simple.el (what-cursor-position): Fix display of codepoints of
7419 strong right-to-left characters.
7420
315bc30d
CY
74212011-12-05 Chong Yidong <cyd@gnu.org>
7422
7423 * faces.el (read-color): Doc fix.
7424
58a70b94
GM
74252011-12-05 Glenn Morris <rgm@gnu.org>
7426
7427 * align.el (align--set-marker): Add doc-string.
7428 Don't try to move something that is not a marker. (Bug#10216)
7429
5158face
GM
74302011-12-04 Glenn Morris <rgm@gnu.org>
7431
7432 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7433 overly zealous deletion of trailing whitespace.
7434
520fca41
JB
74352011-12-04 Juanma Barranquero <lekktu@gmail.com>
7436
7437 * server.el (server-delete-client): On Windows, do not try to delete
7438 the only terminal.
7439 (server-process-filter): On Windows, treat requests for a tty frame as
7440 if they were for a GUI frame if the running server is in GUI mode.
7441
5e605a2e
GM
74422011-12-03 Glenn Morris <rgm@gnu.org>
7443
7444 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7445
5c3fe83f
SM
74462011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7447
6f5e57e7
SM
7448 * electric.el: Streamline electric-indent's hook.
7449 (electric-indent-chars): Revert to simple list.
7450 (electric-indent-functions): New var.
7451 (electric-indent-post-self-insert-function): Use it.
7452
5c3fe83f
SM
7453 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7454 there's no inferior buffer (bug#10196).
7455 (prolog-consult-compile): Don't use toggle-read-only.
7456
6bdac736
MA
74572011-12-02 Michael Albinus <michael.albinus@gmx.de>
7458
7459 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7460 interrupt. (Bug#10187)
7461
6131ba7f
SM
74622011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7463
99c79fee
SM
7464 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7465 (bug#9160).
7466
6131ba7f
SM
7467 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7468 (bug#10191).
7469
cb0a02ea
JL
74702011-12-02 Juri Linkov <juri@jurta.org>
7471
7472 * info.el (Info-search): Display "end of manual" when Isearch
7473 reaches the end of single-file Info manual. (Bug#9918)
7474
66e0570c
EZ
74752011-12-02 Eli Zaretskii <eliz@gnu.org>
7476
7477 * isearch.el (isearch-message-prefix): Run the input method part
7478 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7479
02b16839
JL
74802011-12-02 Juri Linkov <juri@jurta.org>
7481
7482 * isearch.el (isearch-occur): Use `word-search-regexp' for
7483 `isearch-word'.
7484 (isearch-search-and-update): Add condition for `isearch-word' and
7485 call `word-search-regexp'. (Bug#10145)
7486
0b950688
GM
74872011-12-01 Glenn Morris <rgm@gnu.org>
7488
7489 * eshell/em-hist.el (eshell-hist-initialize):
7490 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7491 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7492
9505c3c7
SM
74932011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7494
7495 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7496
1bbe96b2 74972011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7498
a1beca85
SM
7499 * progmodes/verilog-mode.el (verilog-pretty-expr):
7500 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7501 verilog, such as += *= and the like.
7502 (verilog-assignment-operator-re): Regular expression to find the
7503 assigment operator in a verilog assignment.
7504 (verilog-assignment-operation-re): Regular expression to find an
7505 assignment statement for pretty-expr.
7506 (verilog-in-attribute-p): Query returns true if point is in an
7507 attribute context; used to skip these for expression line up from
7508 pretty-expr.
7509 (verilog-in-parameter-p): Query returns true if point is in an
7510 parameter definition context; used to skip these for expression
7511 line up from pretty-expr.
7512 (verilog-in-parenthesis-p): Query returns true if point is in a
7513 parenthetical expression, specifically ( ) but not [ ] or { };
7514 used by pretty-expr.
7515 (verilog-just-one-space): If there is no space, don't add one.
7516 (verilog-get-lineup-indent-2): Specifically skip just attribute
7517 contexts for expression lineup, rather than skipping all
7518 parenthetical expressions.
7519 (verilog-calculate-indent): Fix comment, and fix indent.
7520 (verilog-do-indent): Indent declarations in lists (suggested by
7521 Joachim Lechner).
7522 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7523 skeleton items.
7524 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7525 by Alain Mellan).
7526
1bbe96b2 75272011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7528
7529 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7530 parameters with embedded comments. Reported by Ray Stevens.
7531 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7532 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7533 Reported by Tim Holt.
7534 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7535 instantiated by upper module causing wrong expansion until AUTOed a
7536 second time. Reported by K C Buckenmaier.
7537 (verilog-diff-auto): Fix showing .* as a difference when
7538 `verilog-auto-star-save' off. Reported by Dan Dever.
7539 (verilog-auto-reset, verilog-read-always-signals)
7540 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7541 temporary signals in reset list if
7542 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7543 style to each signal's assignment type, bug381.
7544 Reported by Thomas Esposito.
6288f0ca
WS
7545 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7546 (verilog-uvm-statement-re): Support UVM indentation and
7547 highlighting, with old OVM keywords only.
a1beca85 7548 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7549 Support AUTOTIEOFF creating non-wire data types.
7550 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7551 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7552 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7553 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7554 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7555 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7556 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7557 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7558 non-numeric vector width. Reported by Alex Reed.
7559 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7560 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7561 (verilog-auto-delete-trailing-whitespace):
7562 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7563 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7564 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7565 Fix verilog-scan-cache corruption when running user AUTO expansion
7566 hooks that call indentation routines.
7567 (verilog-simplify-range-expression): Fix typo ignoring lower case
7568 identifiers.
7569 (verilog-delete-auto): Fix delete-autos to also remove user created
7570 automatics, as long as they start with AUTO.
7571 (verilog-batch-diff-auto, verilog-diff-auto)
7572 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7573 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7574 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7575 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7576 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7577 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7578 is disabled and its cache will get corrupt, causing AUTOS not to
7579 expand. Instead use only -quick functions.
7580 (verilog-scan-region): Fix scanning over escaped quotes.
7581 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7582 (verilog-re-search-backward-quick)
7583 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7584 related functions now ignore strings, to fix misparsing of strings
7585 with magic comments embedded in them.
a1beca85
SM
7586 (verilog-read-auto-template):
7587 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7588 Reported by Brad Dobbie.
7589 (verilog-read-auto-template):
7590 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7591 Reported by Brad Dobbie.
6288f0ca
WS
7592 (verilog-auto-inst, verilog-auto-inst-param)
7593 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7594 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7595 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7596 debugging templates without merge conflicts, bug357.
7597 Reported by Brad Dobbie.
7598 (verilog-read-auto-template):
7599 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7600 Reported by Brad Dobbie.
7601 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7602 abbrevs so user won't be asked to save.
7603 (verilog-read-auto-lisp-present): Fix to start at beginning of
7604 buffer in case called outside of verilog-auto.
7605 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7606 to "X-2". Reported by Matthew Myers.
7607 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7608 all inputs from module templates. Reported by Leith Johnson.
7609 (verilog-module-inside-filename-p): Fix locating programs as with
7610 modules.
7611 (verilog-auto-inst-port): Fix vl-width expressions when using
7612 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7613 (verilog-decls-get-regs, verilog-decls-get-signals,
7614 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7615 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7616 verilog-read-decls): Combine reg and wire structures into one var
7617 structure to represent SystemVerilog concepts.
7618 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7619 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7620 (verilog-auto-wire-type, verilog-insert-definition):
7621 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7622 SystemVerilog "logic" keyword instead of "wire"/"reg".
7623 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7624 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7625 ifdef or generate if so there's not a driver conflict).
7626 Reported by Matthew Myers.
7627 (verilog-auto-declare-nettype, verilog-insert-definition):
7628 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7629 `default_nettype none. Reported by Julian Gorfajn.
7630 (verilog-read-always-signals-recurse, verilog-read-decls)
7631 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7632 malformed end statement, bug325. Reported by Joshua Wise and
7633 Andrew Drake.
7634 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7635 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7636 when expanding .* in interfaces, bug320.
7637 Reported by Pierre-David Pfister.
6288f0ca 7638 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7639 name and open parenthesis, bug317.
7640 Reported by Pierre-David Pfister.
6288f0ca
WS
7641 (verilog-simplify-range-expression): Fix simplification of
7642 multiplications inside AUTOWIRE connections, bug303.
7643 (verilog-auto-inst-port): Support parameter expansion in
7644 multidimensional arrays.
7645 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7646 after "assert property". Reported by Julian Gorfajn.
7647 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7648 with multiplication, bug303.
7649 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7650 Reported by Jan Frode Lonnum.
7651
1bbe96b2
GM
76522011-11-30 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7655 (hfy-shell-file-name, hfy-shell):
7656 * international/fontset.el (x-decompose-font-name): Fix typos.
7657
76582011-11-29 Ken Brown <kbrown@cornell.edu>
7659
7660 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7661 (gdb-version): Remove defvar.
7662 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7663 (gdb-gud-context-command, gdb-non-stop-handler)
7664 (gdb-current-context-command, gdb-stopped): Use it.
7665 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7666 (gdb-non-stop-handler): Don't enable pretty-printing here.
7667 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7668 non-stop mode. Use the following.
7669 (gdb-check-target-async): New defun.
7670 (gud-watch, gdb-stopped): Fix whitespace.
7671 (gdb-get-source-file): Don't try to display the source file if
7672 `gdb-main-file' is nil.
7673
76742011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * align.el: Try to generate fewer markers (bug#10047).
7677 (align--set-marker): New macro.
7678 (align-region): Use it.
7679
c935221f
SM
76802011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7683
e70b5064
CY
76842011-11-29 Chong Yidong <cyd@gnu.org>
7685
7686 * indent.el (indent-for-tab-command, indent-according-to-mode):
7687 Doc fix.
7688 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7689
f3af92b7
MA
76902011-11-29 Michael Albinus <michael.albinus@gmx.de>
7691
7692 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7693 aware of remote file names. (Bug#10124)
7694
ed472be9
CY
76952011-11-29 Chong Yidong <cyd@gnu.org>
7696
7697 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7698
24510c22
SM
76992011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * files.el (find-file): Don't use force-same-window (bug#10144).
7702 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7703 use pop-to-buffer if the selected window can't be used.
7704 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7705
c60c3703
EZ
77062011-11-28 Eli Zaretskii <eliz@gnu.org>
7707
7708 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7709 special-mode-map.
7710
e95def75
CY
77112011-11-28 Chong Yidong <cyd@gnu.org>
7712
7713 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7714
c3f1c606
NR
77152011-11-27 Nick Roberts <nickrob@snap.net.nz>
7716
7717 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7718 gdb-get-source-file-list on gdb-create-source-file-list.
7719
00db469c
EZ
77202011-11-26 Eli Zaretskii <eliz@gnu.org>
7721
7722 * whitespace.el (whitespace-newline): Use a different foreground
7723 color for 16-color light-background displays.
7724
4ad3bc2a
CY
77252011-11-24 Chong Yidong <cyd@gnu.org>
7726
7727 * window.el (display-buffer--special-action): Doc fix.
7728
e9fce1ac
JB
77292011-11-25 Juanma Barranquero <lekktu@gmail.com>
7730
7731 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7732 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7733 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7734 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
7735 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
7736 (avl-tree-stack-first):
7737 * emacs-lisp/cconv.el (cconv--analyse-use):
7738 * net/gnutls.el (gnutls-negotiate): Fix typos.
7739
cb825e5d
GM
77402011-11-24 Glenn Morris <rgm@gnu.org>
7741
3adbe224
GM
7742 * lpr.el (lpr-windows-system, lpr-lp-system):
7743 * mail/binhex.el (binhex-begin-line):
7744 * progmodes/grep.el (grep-history, grep-find-history):
7745 * textmodes/flyspell.el:
7746 * vc/pcvs-defs.el (cvs-global-menu):
7747 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
7748 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
7749 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
7750
321decc8
GM
7751 * net/tls.el: Fix case of "GnuTLS".
7752
420b63ad
GM
7753 * paths.el (rmail-file-name): Format doc-string for make-docfile.
7754
cb825e5d
GM
7755 * version.el (emacs-build-system): Give it a doc-string.
7756
a0649f08
JL
77572011-11-24 Juri Linkov <juri@jurta.org>
7758
7759 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
7760
c0bc0fd4
GM
77612011-11-24 Glenn Morris <rgm@gnu.org>
7762
7763 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
7764 if called on a non-mime message just toggle the headers. (Bug#8006)
7765
20db1522
JB
77662011-11-24 Juanma Barranquero <lekktu@gmail.com>
7767
7768 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
7769 (allout-lead-with-comment-string, allout-structure-deleted-hook)
7770 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
7771 (allout-rebullet-heading, allout-open-sibtopic)
7772 (allout-toggle-current-subtree-encryption)
7773 (allout-toggle-subtree-encryption, allout-encrypt-string)
7774 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
7775 (allout-distinctive-bullets-string, allout-auto-activation):
7776 * window.el (window-normalize-buffer-to-display):
7777 * progmodes/verilog-mode.el (verilog-batch-indent):
7778 * textmodes/bibtex.el (bibtex-field-braces-opt)
7779 (bibtex-field-strings-opt):
7780 * vc/cvs-status.el (cvs-tree-merge):
7781 Fix typos.
7782
7262a87c
MA
77832011-11-23 Michael Albinus <michael.albinus@gmx.de>
7784
7785 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
7786 `non-essential' to t, in order to avoid remote connections.
7787
283430a1
EZ
77882011-11-23 Eli Zaretskii <eliz@gnu.org>
7789
a1beca85
SM
7790 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7791 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
7792 case-insensitively.
7793
d2992a38
ML
77942011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7795
7796 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
7797
50419064
GM
77982011-11-23 Glenn Morris <rgm@gnu.org>
7799
da94eca1
GM
7800 * paths.el (rmail-file-name): Reformat the doc-string so that it
7801 is picked up.
7802
9aac4de2
GM
7803 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
7804 (rmail-auto-file): Ignore case in the "special" field names,
7805 as mail-fetch-field does for all others.
7806
8038d2d2
GM
7807 * mail/rmail.el (rmail-forward):
7808 * mail/rmailkwd.el (rmail-set-label):
7809 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
7810 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
7811
f3fe222a
GM
7812 * mail/rmail.el (rmail-current-message): Doc fix.
7813
50419064
GM
7814 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
7815
28109f49
SM
78162011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
7817
7818 * server.el (server-eval-and-print): Allow C-g (bug#6585).
7819
394c65f1
GM
78202011-11-22 Glenn Morris <rgm@gnu.org>
7821
7822 * mail/rmailmm.el (test-rmail-mime-handler)
7823 (test-rmail-mime-bulk-handler)
7824 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
7825
f2a0aa3a
JL
78262011-11-21 Juri Linkov <juri@jurta.org>
7827
1154d12e
JB
7828 * calc/calc.el (calc-read-key-sequence):
7829 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 7830
9c34a344
LMI
78312011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7832
7833 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
7834 Tell the caller that the next line needs recomputation, even
7835 though it doesn't start a sexp (bug#10094).
7836
f04a3be9
SM
78372011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
7840
7978747f
SM
78412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7842
f04a3be9
SM
7843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7844 Use force-same-window.
7978747f 7845
fe7a3057
JB
78462011-11-20 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * descr-text.el (describe-char-unicode-data):
7849 * json.el (json-string-escape):
7850 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7851 (Footnote-unicode, Footnote-style-p):
7852 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7853
24901d61
CY
78542011-11-20 Chong Yidong <cyd@gnu.org>
7855
7856 * window.el (replace-buffer-in-windows): Restore interactive spec.
7857
bac7ff22
SM
78582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7859
24f3d7b9
SM
7860 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7861
bac7ff22
SM
7862 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7863 (byte-compile-global-not-obsolete-vars): New var.
7864 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7865 Use it.
7866 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7867
cd1181db
JB
78682011-11-20 Juanma Barranquero <lekktu@gmail.com>
7869
7870 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7871 * progmodes/pascal.el (electric-pascal-equal):
7872 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7873 * xml.el (xml-substitute-special): Fix typos.
7874
7fb18e9e
GM
78752011-11-20 Glenn Morris <rgm@gnu.org>
7876
7877 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7878 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7879 Doc fixes.
7880 (rmail-decode-mime-charset): Mark as obsolete.
7881
7882 * mail/rmailsum.el (rmail-message-regexp-p-1):
7883 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7884 Before using mime functions, check they are set. (Bug#10077)
7885
d5a6b3ba
JL
78862011-11-19 Juri Linkov <juri@jurta.org>
7887
7888 * info.el (Info-finder-find-node): Use `package--builtins' instead
7889 of `package-alist'. Use node names formed by the pattern "Keyword "
7890 and the keyword name.
7891
e981b61f
AS
78922011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7893
1d00653d 7894 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7895
3ffbc301
JL
78962011-11-19 Juri Linkov <juri@jurta.org>
7897
7898 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7899 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7900 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7901 `old-history', `old-history-forward'. Add let-binding
7902 `window-selected'. Remove calls to `kill-buffer',
7903 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7904 before calling `Info-find-node', so `Info-find-node-2' will reread
7905 the Info file. Restore window positions only when `window-selected'
7906 is non-nil.
7907
30c62133
JL
79082011-11-19 Juri Linkov <juri@jurta.org>
7909
7910 * isearch.el (isearch-lazy-highlight-new-loop):
7911 Remove condition `(not isearch-error)'. (Bug#9918)
7912
7913 * misearch.el (multi-isearch-search-fun): Add condition
7914 `(not bound)' to ignore lazy-highlighting search.
7915 Add the search-failed message "end of multi" when the end of
7916 multi-sequence is reached. Uncapitalize the search-failed
7917 message "Repeat for next buffer".
7918
7919 * info.el (Info-search): Add the search-failed message
7920 "end of the manual" when the end of the manual is reached
7921 in Isearch mode.
7922
645ca9cf
JL
79232011-11-19 Juri Linkov <juri@jurta.org>
7924
7925 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7926 Use non-destructive `remove' instead of `delete' because
7927 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7928 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7929
df754f66
JL
79302011-11-19 Juri Linkov <juri@jurta.org>
7931
7932 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7933 to nil instead of binding `search-ring' and `regexp-search-ring'.
7934 (Bug#9185)
7935
0e23d96a
EZ
79362011-11-19 Eli Zaretskii <eliz@gnu.org>
7937
7938 * simple.el (line-move): Force movement by logical lines for any
7939 hscrolled window, not only when auto-hscroll-mode is on.
7940 (line-move-visual): Update doc string to that effect. (Bug#10076)
7941
8a6ccb66
AS
79422011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7943
7944 * language/european.el (macintosh): Define as alias for mac-roman.
7945
49ae5b39
EZ
79462011-11-19 Eli Zaretskii <eliz@gnu.org>
7947
7948 * mail/rmailmm.el (rmail-mime-display-header)
7949 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7950 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7951 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7952 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7953 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7954 of a raw aref.
7955 (rmail-mime-entity-segment): To get past the tagline, move forward
7956 2 more lines, to account for the 2 empty lines that precede and
7957 follow the line with the buttons.
7958 (rmail-mime-update-tagline): Move one more line, to get past the
7959 empty line that follows the buttons in the tagline. (Bug#9520)
7960
c56cad4a
MR
79612011-11-19 Martin Rudalics <rudalics@gmx.at>
7962
7963 * window.el (window-max-delta-1, window-min-delta-1)
7964 (window-min-size-1, window-state-get-1, window-state-put-1)
7965 (window-state-put-2): Use "window--" prefix.
7966
cbe71af3
SM
79672011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7968
2ad52c60
SM
7969 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7970 (smie-warning-count): New var.
7971 (smie-set-prec2tab): Use it.
7972 (smie-bnf->prec2): Improve warnings. Add docstring.
7973 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7974 (smie-bnf--set-class): New function.
7975 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7976 corner case.
7977
6944dbc1
SM
7978 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7979 (compilation-error-properties, compilation-move-to-column):
7980 Handle compilation-first-column while in the target buffer.
7981
c400c4d7
SM
7982 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7983 Don't hardcode point-min==1.
7984
6dbe3e96
SM
7985 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7986 (eshell-rewrite-for-command): Remove workaround.
7987 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7988 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7989 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7990
cbe71af3
SM
7991 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7992
a8e1496d
GM
79932011-11-17 Glenn Morris <rgm@gnu.org>
7994
7995 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7996 Ignore buffer-local generated-autoload-file if it is the same
7997 as the global value. (Bug#10049)
7998
df85d315
JB
79992011-11-17 Juanma Barranquero <lekktu@gmail.com>
8000
8001 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8002 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8003 (reftex-toc-previous-heading, reftex-toc-max-level)
8004 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8005 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8006 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8007 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8008 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8009 (reftex-toc-rename-label, reftex-toc-visit-location)
8010 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8011 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8012 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8013 leaving "*toc*" only for references to the buffer.
8014
a0c2d0ae
MR
80152011-11-17 Martin Rudalics <rudalics@gmx.at>
8016
8017 * window.el (window-resize, delete-window, split-window):
8018 Replace window-splits by window-combination-resize.
1d00653d 8019 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8020
35c0bac8
GM
80212011-11-17 Glenn Morris <rgm@gnu.org>
8022
8023 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8024 Make bash entry derive from sh entry, not shell entry.
8025
d0c8fc8a
MA
80262011-11-16 Michael Albinus <michael.albinus@gmx.de>
8027
7262a87c
MA
8028 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8029 local file name.
8030
7877f373
JB
80312011-11-16 Juanma Barranquero <lekktu@gmail.com>
8032
8033 * menu-bar.el (menu-bar-file-menu):
8034 * printing.el (pr-ps-utility):
8035 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8036 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8037 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8038 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8039 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8040 (icalendar--convert-cyclic-to-ical)
8041 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8042 (icalendar--convert-ical-to-diary)
8043 (icalendar--convert-recurring-to-diary)
8044 (icalendar--convert-non-recurring-all-day-to-diary)
8045 (icalendar-import-format-sample):
8046 * progmodes/idlw-shell.el (idlwave-shell-mode):
8047 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8048 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8049 (vhdl-ps-print-init): Fix typos.
8050
10649b82
KM
80512011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8052
9d0cfcd6
GM
8053 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8054 FSF and collapse date sequence, obscure author/maintainer email address
8055 better, remove extra version line, track relocation of author's webpage.
10649b82 8056
9d0cfcd6
GM
8057 * progmodes/python.el (python-pdbtrack-input-prompt)
8058 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8059 regular python pdb prompts. Adjustments shamelessly taken exactly as
8060 suggested in EmacsWiki page (tiny change):
8061 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8062
58179cce
JB
80632011-11-16 Juanma Barranquero <lekktu@gmail.com>
8064
8065 * expand.el (expand-pos, expand-index, expand-point):
8066 Remove redundant info from docstring.
8067 (expand-add-abbrevs): Doc fix.
8068 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8069 (expand-sample-perl-mode-expand-list): Fix typos.
8070
8071 * net/dbus.el (dbus-event-member-name):
8072 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8073 * term/pc-win.el (msdos-create-frame-with-faces):
8074 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8075
b6f67890
MR
80762011-11-16 Martin Rudalics <rudalics@gmx.at>
8077
8078 * window.el (split-window, window-state-get-1)
8079 (window-state-put-1, window-state-put-2): Rename occurrences of
8080 window-nest to window-combination-limit.
1d00653d 8081 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8082
ce7ddba0
CY
80832011-11-16 Chong Yidong <cyd@gnu.org>
8084
8085 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8086 regexp (Bug#10033).
8087
3ae704f4
SM
80882011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8091 `completing-read' will remove *Completions* and will preserve
8092 current-buffer for us.
8093 (tmm-add-prompt): Users of *Completions* will always (re)set its
8094 major mode.
8095 (tmm-old-comp-map): Remove.
8096
6ad1cdde
GM
80972011-11-16 Glenn Morris <rgm@gnu.org>
8098
8099 * mail/rmailedit.el: Require rmailmm when compiling.
8100 (rmail-old-mime-state): New declaration.
8101 (rmail-edit-current-message): If editing a mime message,
8102 edit the "raw" message from the mbox buffer.
8103 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8104
d20faa20
GM
81052011-11-15 Glenn Morris <rgm@gnu.org>
8106
8107 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8108 which wasn't being used. Add optional arg to force given state.
8109 (rmail-mime): Add optional arg to force given state.
8110
c7015153
JB
81112011-11-15 Juanma Barranquero <lekktu@gmail.com>
8112
8113 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8114 * frame.el (display-mm-dimensions-alist):
8115 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8116 (outline-move-subtree-down):
8117 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8118 (newsticker--treeview-do-get-node):
8119 * net/quickurl.el (quickurl-list-buffer-name):
8120 * progmodes/dcl-mode.el (dcl-mode):
8121 * progmodes/gdb-mi.el (gdb-mapcar*):
8122 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8123
45261b50
GM
81242011-11-15 Glenn Morris <rgm@gnu.org>
8125
8126 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8127 in a boolean sense, so just make it a boolean, and fix the doc.
8128 (rmail-show-mime-function, rmail-mime-feature)
8129 (rmail-require-mime-maybe): Doc fixes.
8130 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8131
8132 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8133
0d26e0b6
JB
81342011-11-15 Juanma Barranquero <lekktu@gmail.com>
8135
8136 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8137 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8138 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8139 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8140
447f30f6
GM
81412011-11-15 Glenn Morris <rgm@gnu.org>
8142
672b871d
GM
8143 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8144 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8145 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8146 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8147 (rmail-mime, rmail-show-mime): Doc fixes.
8148
f6aa5bb1
GM
8149 * term/ns-win.el (mode-line-frame-identification):
8150 Leave it alone. (Bug#10051)
8151
947cd66b
GM
8152 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8153
447f30f6
GM
8154 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8155 Handle empty buffers. (Bug#9978)
8156
0b381c7e
JB
81572011-11-14 Juanma Barranquero <lekktu@gmail.com>
8158
8159 * international/mule.el (define-charset):
8160 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8161 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8162 * progmodes/verilog-mode.el (verilog-backward-token):
8163 * textmodes/ispell.el (lookup-words):
8164 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8165
71e027ac
GM
81662011-11-14 Glenn Morris <rgm@gnu.org>
8167
56632ce4
GM
8168 * progmodes/executable.el
8169 (executable-make-buffer-file-executable-if-script-p):
8170 Handle file-modes returning nil.
8171
40500957
GM
8172 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8173 message - not necessary, and causes problems. (Bug#9831)
8174
071c2340
GM
8175 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8176
d3cfca60
GM
8177 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8178
71e027ac
GM
8179 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8180 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8181 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8182
89d61221
MR
81832011-11-12 Martin Rudalics <rudalics@gmx.at>
8184
8185 * window.el (window-resize, delete-window): Use window-splits
8186 variable instead of function.
8187 (window-state-get-1, window-state-put-2, window-state-put):
8188 Don't deal with windows' splits status.
8189
98282f6f
GM
81902011-11-12 Glenn Morris <rgm@gnu.org>
8191
8192 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8193 (apropos-documentation): Doc fixes.
8194
40a8bdf6
JB
81952011-11-11 Juanma Barranquero <lekktu@gmail.com>
8196
8197 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8198 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8199
65bd19ff
SM
82002011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * electric.el (electric-indent-post-self-insert-function): Make it
8203 possible for a char to only indent in some circumstances.
8204 (electric-indent-mode): Simplify.
8205
54f9154c
MR
82062011-11-11 Martin Rudalics <rudalics@gmx.at>
8207
8208 * window.el (windows-with-parameter): Remove unused function.
8209 (windows-at-side): Rename to window-at-side-list.
8210 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8211 (window-side-check, window-size-ignore, window-size-fixed-1)
8212 (window-in-direction-2): Prefix with "window--".
8213 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8214
68cbc58b
GM
82152011-11-11 Glenn Morris <rgm@gnu.org>
8216
8217 * subr.el (eval-after-load): If FILE is already loaded,
8218 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8219
b2621720
GM
82202011-11-10 Glenn Morris <rgm@gnu.org>
8221
9a4de110
GM
8222 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8223 Call svn via vc-svn-command rather than vc-do-command.
8224 (vc-svn-command): Add --non-interactive. (Bug#9993)
8225 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8226
b2621720
GM
8227 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8228 Add toggle-read-only. (Bug#7292)
8229 * files.el (toggle-read-only): Mention that it should only
8230 be used interactively. (Bug#10006)
8231
1dce7193
SM
82322011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8233
d9ac1a1e
SM
8234 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8235 Adjust regexp for OCaml warnings.
8236
0c325082
SM
8237 * electric.el (electric-pair-post-self-insert-function): Let user
8238 turn it off buffer-locally (bug#9932).
8239
90132c14
SM
8240 * progmodes/python.el (python-beginning-of-statement):
8241 Rewrite (bug#2703).
8242
1dce7193
SM
8243 * progmodes/compile.el: Better handle TABs (bug#9749).
8244 (compilation-internal-error-properties)
8245 (compilation-next-error-function): Obey the target buffer's
8246 compilation-error-screen-columns.
8247
c4e7c63a
JB
82482011-11-09 Juanma Barranquero <lekktu@gmail.com>
8249
8250 * progmodes/meta-mode.el: Remove obsolete comments.
8251 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8252 Fix typos in docstrings.
8253
2cffd681
MR
82542011-11-09 Martin Rudalics <rudalics@gmx.at>
8255
8256 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8257 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8258 (window--resizable): New function. Make all callers of
8259 window-resizable call window--resizable instead.
8260 (window-resizable): Rewrite in terms of window--resizable.
8261
0edcba87
GM
82622011-11-08 Glenn Morris <rgm@gnu.org>
8263
8264 * progmodes/delphi.el (delphi-mode-syntax-table):
8265 Let define-derived-mode define a proper syntax table. (Bug#9994)
8266
4b0d61e3
SM
82672011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * window.el: Stay away from defsubst.
8270 (window-list-no-nils): Remove.
8271 (window-state-get-1, window-state-get): Use backquote instead.
8272
cd394be1 82732011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8274
4b0d61e3 8275 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8276 Fix incorrect use of default argument in `completing-read'.
8277
e1c2c6f2
MR
82782011-11-08 Martin Rudalics <rudalics@gmx.at>
8279
8280 * window.el (display-buffer-function, special-display-function):
8281 Mention display-buffer-record-window but do not mention
8282 help-setup parameter in doc-strings.
b3f4a882 8283 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8284
105216ed
CY
82852011-11-08 Chong Yidong <cyd@gnu.org>
8286
8287 * window.el (window-total-height, window-total-width): Doc fix.
8288 (window-body-size): Move from C.
8289 (window-body-height, window-body-width): Move to C.
8290
0a9f9ab5
SM
82912011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * window.el: Make special-display like display-buffer-alist (bug#9532).
8294 (display-buffer--special-action): New function, morphed
8295 from display-buffer--special.
8296 (display-buffer): Use it to handle special-display-buffers at higher
8297 priority (just after display-buffer-alist).
8298 (display-buffer-fallback-action, display-buffer--other-frame-action)
8299 (pop-to-buffer-same-window): Remove display-buffer--special.
8300
a769dd15
GM
83012011-11-07 Glenn Morris <rgm@gnu.org>
8302
8303 * calendar/cal-menu.el (cal-menu-set-date-title):
8304 Do nothing if not in a calendar. (Bug#9976)
8305
05a61ee3
SM
83062011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * files.el (find-file): Always use selected-window.
8309
be7f5545
MR
83102011-11-07 Martin Rudalics <rudalics@gmx.at>
8311
8312 * window.el (window-combinations): Make WINDOW argument
8313 mandatory. Rewrite doc-string.
8314 (walk-window-subtree, window-atom-check, window-min-delta)
8315 (window-max-delta, window--resize-this-window)
8316 (window--resize-root-window-vertically, window-tree)
8317 (balance-windows, window-state-put): Rewrite doc-strings as to
8318 not mention the term "subwindow".
8319 (window--resize-subwindows-skip-p): Rename to
8320 window--resize-child-windows-skip-p.
8321 (window--resize-subwindows-normal): Rename to
8322 window--resize-child-windows-normal.
8323 (window--resize-subwindows): Rename to
8324 window--resize-child-windows.
8325 (window-or-subwindow-p): Rename to window--in-subtree-p.
8326
3c6702ef
ML
83272011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8328
8329 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8330 Ensure that mbox format messages end in two newlines (Bug#9974).
8331
49745b39
CY
83322011-11-06 Chong Yidong <cyd@gnu.org>
8333
8334 * window.el (window-combination-p): Function deleted; its
8335 side-effect is not used in any existing code.
8336 (window-combinations, window-combined-p): Call window-*-child
8337 directly.
8338
24300f5f
CY
83392011-11-05 Chong Yidong <cyd@gnu.org>
8340
8341 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8342 (window-size-ignore, window-state-get): Callers changed.
8343 (window-normalize-window): Rename from window-normalize-any-window.
8344 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8345 (window-normalize-live-window): Delete.
447f16b8
CY
8346 (window-combination-p, window-combined-p, window-combinations)
8347 (walk-window-subtree, window-atom-root, window-min-size)
8348 (window-sizable, window-sizable-p, window-size-fixed-p)
8349 (window-min-delta, window-max-delta, window-resizable)
8350 (window-resizable-p, window-full-height-p, window-full-width-p)
8351 (window-current-scroll-bars, window-point-1, set-window-point-1)
8352 (window-at-side-p, window-in-direction, window-resize)
8353 (adjust-window-trailing-edge, maximize-window, minimize-window)
8354 (window-deletable-p, delete-window, delete-other-windows)
8355 (record-window-buffer, unrecord-window-buffer)
8356 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8357 (quit-window, split-window, window-state-put)
8358 (set-window-text-height, fit-window-to-buffer)
8359 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8360
89bd5ee1
EZ
83612011-11-04 Eli Zaretskii <eliz@gnu.org>
8362
53479029
EZ
8363 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8364 rfc2047-decode-string.
8365 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8366 warnings.
8367
89bd5ee1
EZ
8368 * window.el (window-body-height, window-body-width): Mention in
8369 the doc string that the return values are in frame's canonical
8370 units. (Bug#9949)
8371
bd17fdee
AM
83722011-11-03 Alan Mackenzie <acm@muc.de>
8373
8374 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8375 change in cc-engine.el.
8376
acc825c5
SM
83772011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8380
1885e5b8
MR
83812011-11-02 Martin Rudalics <rudalics@gmx.at>
8382
8383 * window.el (quit-window): Call unrecord-window-buffer after
8384 showing another buffer in the window. (Bug#9937)
acc825c5 8385 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8386
ebe06da9
JB
83872011-11-02 Juanma Barranquero <lekktu@gmail.com>
8388
8389 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8390 Accept status with more than 9 shelves. (Bug#9935)
8391 Reported by Colin D Bennett <colin@gibibit.com>.
8392
4ee88440
MR
83932011-11-01 Martin Rudalics <rudalics@gmx.at>
8394
8395 * help.el (with-help-window): Don't reference
8396 temp-buffer-show-specifiers in doc-string.
8397
08e1d82c
AS
83982011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8399
8400 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8401 menu-item.
8402
84bd6e9e
VJL
84032011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8404
8405 * whitespace.el: New version 13.2.2.
8406 (whitespace-newline-mode): Disable properly. Reported by Sarah
8407 <EmacsWiki>.
8408
dba0634a
UJ
84092011-10-30 Ulf Jasper <ulf.jasper@web.de>
8410
8411 * net/newst-treeview.el: Remove "Time-stamp".
8412 (newsticker--group-manage-orphan-feeds): Do not call
8413 newsticker--treeview-tree-update.
db22a3c2
JB
8414 (newsticker-treeview-update, newsticker-treeview):
8415 Call newsticker--treeview-tree-update if necessary.
dba0634a 8416
3d8daefe
MR
84172011-10-30 Martin Rudalics <rudalics@gmx.at>
8418
8419 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8420 (window-iso-combinations): Remove "iso-" infix.
8421 Suggested by Chong Yidong.
3d8daefe
MR
8422 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8423 (window-max-delta-1, window-resize, window--resize-siblings)
8424 (window--resize-this-window, adjust-window-trailing-edge)
8425 (split-window, balance-windows-1)
8426 (shrink-window-if-larger-than-buffer):
8427 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8428 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8429
1bc4c3ae
SM
84302011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8431
8432 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8433 in place (bug#9907).
8434 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8435 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8436 (eshell-structure-basic-command, eshell-rewrite-while-command)
8437 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8438 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8439 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8440 (eshell-do-pipelines-synchronously, eshell-eval-command):
8441 Use backquotes and prefer setq to set.
8442 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8443 (eshell-macrop): Use functionp.
c1e2f5fa 8444 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8445
30b65d9c
CY
84462011-10-30 Chong Yidong <cyd@gnu.org>
8447
8448 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8449 instead of set-mark (Bug#9810).
8450
2d197ffb
CY
84512011-10-30 Chong Yidong <cyd@gnu.org>
8452
8453 * window.el (split-window-below, split-window-right): Rename from
8454 split-window-above-each-other and split-window-side-by-side
8455 respectively. All callers changed.
8456 (split-window-sensibly, split-window-sensibly): Use them.
8457 (split-window-keep-point): Doc fix.
8458
8459 * isearch.el: Add isearch-scroll property to split-window-below
8460 and split-window-right.
8461
8462 * follow.el (follow-mode):
8463 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8464 * progmodes/ada-xref.el (ada-gdb-application):
8465 * emulation/vip.el (vip-buffer-in-two-windows):
8466 * image-dired.el (image-dired-dired-with-window-configuration):
8467 * dired-x.el (dired-do-find-marked-files):
8468 * dired.el (dired-pop-to-buffer):
8469 * bs.el (bs--show-with-configuration):
8470 * vc/emerge.el (emerge-setup-windows):
8471 * textmodes/two-column.el (2C-two-columns):
8472 * textmodes/reftex-toc.el (reftex-toc):
8473 * progmodes/gdb-mi.el (gdb-setup-windows):
8474 * progmodes/fortran.el (fortran-window-create):
8475 * net/newst-treeview.el (newsticker--treeview-window-init):
8476 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8477 * emulation/tpu-edt.el (tpu-gold-map):
8478 * emulation/crisp.el (crisp-mode-map):
8479 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8480
38bb2ca8
CY
84812011-10-29 Chong Yidong <cyd@gnu.org>
8482
aa4de341
CY
8483 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8484
e1eb5385
CY
8485 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8486
5d2ece3c
CY
8487 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8488 forged Ispell output (Bug#7904).
8489
38bb2ca8
CY
8490 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8491
d0af9f77
SM
84922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * doc-view.el: Avoid ugly errors about not finding nil.
8495 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8496 (doc-view-dvipdf-program, doc-view-unoconv-program)
8497 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8498 Avoid nil or absolute file name as default value.
8499 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8500
52bedd34
AM
85012011-10-28 Alan Mackenzie <acm@muc.de>
8502
db22a3c2 8503 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8504
7e43cfa5
AM
85052011-10-28 Alan Mackenzie <acm@muc.de>
8506
8507 Amend the handling of c-beginning/end-of-defun in nested declaration
8508 scopes.
8509
52bedd34
AM
8510 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8511 cc-langs.el. Change it to a defcustom.
7e43cfa5 8512
52bedd34
AM
8513 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8514 cc-vars.el.
7e43cfa5 8515
d0af9f77
SM
8516 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8517 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8518
52bedd34 8519 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8520 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8521 (c-widen-to-enclosing-decl-scope): New function.
8522 (c-while-widening-to-decl-block): New macro.
8523 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8524 outward for defun boundaries, and correspondingly change symbol
8525 `respect-enclosure' to `go-outward'.
8526 (c-declaration-limits): Change algorithm to report only the "innermost"
8527 defun's boundaries.
8528
1a2ce9ee
DD
85292011-10-28 Deniz Dogan <deniz@dogan.se>
8530
8531 * net/rcirc.el (rcirc-mode): Use hard newlines.
8532
bc97a826
AM
85332011-10-28 Alan Mackenzie <acm@muc.de>
8534
8535 Amend to indent and fontify macros "which include their own semicolon"
8536 correctly, using the "virtual semicolon" mechanism.
8537
52bedd34 8538 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8539
d0af9f77 8540 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8541 Recode to scan one line at a time rather than having \n and \r
58179cce 8542 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8543 (c-forward-label): Amend for virtual semicolons.
58179cce 8544 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8545
52bedd34
AM
8546 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8547 of the new C macros.
bc97a826 8548
52bedd34 8549 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8550 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8551 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8552 (c-opt-cpp-macro-define): Make into a full language variable.
8553 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8554 AWK Mode (including \n, \r) removed, no longer needed.
8555
d0af9f77
SM
8556 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8557 Invoke c-make-macro-with-semi-re.
bc97a826 8558
52bedd34
AM
8559 * progmodes/cc-vars.el (c-macro-with-semi-re):
8560 (c-macro-names-with-semicolon): New variables.
58179cce 8561 (c-make-macro-with-semi-re): New function.
bc97a826 8562
7a6c0941
SM
85632011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * vc/log-edit.el: Fill empty field rather than adding new one.
8566 (log-edit-add-field): New function.
8567 (log-edit-insert-changelog): Use it.
8568
b0c4cdcf
ML
85692011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8570
8571 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8572
ee1f1da9
SM
85732011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8576 (gdb--check-interpreter): New function.
8577 (gdb): Use it.
8578
51bc5f8b
GM
85792011-10-27 Glenn Morris <rgm@gnu.org>
8580
416a2c45
GM
8581 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8582 (least-positive-float, least-negative-float)
8583 (least-positive-normalized-float, least-negative-normalized-float)
8584 (float-epsilon, float-negative-epsilon):
8585 Remove unnecessary declarations.
8586
8587 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8588 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8589 (least-positive-float, least-negative-float)
8590 (least-positive-normalized-float, least-negative-normalized-float)
8591 (float-epsilon, float-negative-epsilon): Add doc-strings,
8592 based on those in cl.texi.
8593
51bc5f8b
GM
8594 * files.el (set-visited-file-name): If the major-mode changed,
8595 reload the local variables. (Bug#9796)
8596
15de15c6
CY
85972011-10-27 Chong Yidong <cyd@gnu.org>
8598
8599 * subr.el (change-major-mode-after-body-hook): New hook.
8600 (run-mode-hooks): Run it.
8601
ee1f1da9
SM
8602 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8603 Use change-major-mode-before-body-hook.
15de15c6
CY
8604
8605 * simple.el (fundamental-mode):
8606 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8607 change introducing fundamental-mode-hook.
8608
5430d399
JB
86092011-10-26 Juanma Barranquero <lekktu@gmail.com>
8610
acc825c5 8611 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8612
ad74a69e
MA
86132011-10-26 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8616 tramp.el explicitly. (Bug#7583)
ad74a69e 8617
71d4c2a5
SM
86182011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * progmodes/octave-mod.el:
8621 * progmodes/octave-inf.el: Update maintainer.
8622
b1f6fa26
CY
86232011-10-26 Chong Yidong <cyd@gnu.org>
8624
8625 * subr.el (with-wrapper-hook): Rewrite doc.
8626
3f04efd6
MA
86272011-10-25 Michael Albinus <michael.albinus@gmx.de>
8628
8629 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8630 filenames "/method:foo:". (Bug#9793)
3f04efd6 8631
410488d3
SM
86322011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8635 (bug#9865).
8636
c1ebb47e
GM
86372011-10-24 Glenn Morris <rgm@gnu.org>
8638
8639 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8640
7f5c46c7
MA
86412011-10-24 Michael Albinus <michael.albinus@gmx.de>
8642
8643 * notifications.el: Add the requirement of a running D-Bus session
8644 bus to the Commentary.
8645
db2440b6
JL
86462011-10-24 Juri Linkov <juri@jurta.org>
8647
8648 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8649 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8650 (Bug#9364)
8651
feecf435
JL
86522011-10-24 Juri Linkov <juri@jurta.org>
8653
8654 * info.el (Info-following-node-name-re): Add newline to the list
8655 of allowed characters for leading space. (Bug#9824)
8656
a3839de2
SM
86572011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8658
acc825c5
SM
8659 * progmodes/octave-inf.el (inferior-octave-mode-map):
8660 Fix C-c C-h binding.
a3839de2
SM
8661 * progmodes/octave-mod.el (octave-help): Remove.
8662
09388e76
MA
86632011-10-23 Michael Albinus <michael.albinus@gmx.de>
8664
8665 Sync with Tramp 2.2.3.
8666
8667 * net/tramp-cache.el (top): Pacify byte-compiler using
8668 `init-file-user' and `site-run-file'.
8669
8670 * net/trampver.el: Update release number.
8671
86c60681
CY
86722011-10-23 Chong Yidong <cyd@gnu.org>
8673
8674 * files.el (toggle-read-only): Remove obsolete comment about
8675 version control.
8676
8677 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8678 for toggle-read-only. Note that this hasn't called vc-next-action
8679 since 2008-05-02, though it wasn't documented at the time.
8680
a3839de2
SM
8681 * vc/ediff-init.el (ediff-toggle-read-only-function):
8682 Use toggle-read-only.
86c60681 8683
cd5495ff
AM
86842011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8685
8686 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8687 of c-parse-state.
8688
00b77525 8689 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8690 correct faulty logical expression.
cd5495ff
AM
8691 (c-parse-state-state, c-record-parse-state-state):
8692 (c-replay-parse-state-state): New defvar/defuns.
8693 (c-debug-parse-state): Use new functions.
8694
42ee24ed
MR
86952011-10-22 Martin Rudalics <rudalics@gmx.at>
8696
8697 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8698 last fix. Use window-in-direction correctly.
42ee24ed 8699
a7dee7e7
CY
87002011-10-21 Chong Yidong <cyd@gnu.org>
8701
8702 * progmodes/idlwave.el (idlwave-mode):
8703 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8704 require-final-newline; that's done in prog-mode.
8705 Suggested by Stefan Monnier.
a7dee7e7 8706
e07b9a6d
MR
87072011-10-21 Martin Rudalics <rudalics@gmx.at>
8708
8709 * mouse.el (mouse-drag-window-above)
8710 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8711 (mouse-drag-mode-line-1, mouse-drag-header-line)
8712 (mouse-drag-vertical-line-rightward-window): Remove.
8713 (mouse-drag-line): New function.
8714 (mouse-drag-mode-line, mouse-drag-header-line)
8715 (mouse-drag-vertical-line): Call mouse-drag-line.
8716 * window.el (window-at-side-p, windows-at-side): New functions.
8717
7e1361d9
UM
87182011-10-21 Ulrich Mueller <ulm@gentoo.org>
8719
8720 * tar-mode.el (tar-grind-file-mode):
8721 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8722
30fcaf3a
CY
87232011-10-21 Chong Yidong <cyd@gnu.org>
8724
8725 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8726 * progmodes/vera-mode.el (vera-mode):
8727 Use mode-require-final-newline.
30fcaf3a 8728
516eddb0
GM
87292011-10-20 Glenn Morris <rgm@gnu.org>
8730
db22a3c2 8731 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8732
10d5f513
CS
87332011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8734
8735 * emulation/cua-base.el (cua-set-mark): Fix case of string.
8736
ac6c8639
CY
87372011-10-20 Chong Yidong <cyd@gnu.org>
8738
8739 * emulation/cua-base.el (cua-mode):
8740 * mail/footnote.el (footnote-mode):
8741 * mail/mailabbrev.el (mail-abbrevs-mode):
8742 * net/xesam.el (xesam-minor-mode):
8743 * progmodes/bug-reference.el (bug-reference-mode):
8744 * progmodes/cap-words.el (capitalized-words-mode):
8745 * progmodes/compile.el (compilation-minor-mode)
8746 (compilation-shell-minor-mode):
8747 * progmodes/gud.el (gud-tooltip-mode):
8748 * progmodes/hideif.el (hide-ifdef-mode):
8749 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
8750 * progmodes/subword.el (subword-mode):
8751 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8752 * progmodes/which-func.el (which-function-mode):
8753 * term/tvi970.el (tvi970-set-keypad-mode):
8754 * term/vt100.el (vt100-wide-mode):
8755 * textmodes/flyspell.el (flyspell-mode):
8756 * textmodes/ispell.el (ispell-minor-mode):
8757 * textmodes/nroff-mode.el (nroff-electric-mode):
8758 * textmodes/paragraphs.el (use-hard-newlines):
8759 * textmodes/refill.el (refill-mode):
8760 * textmodes/reftex.el (reftex-mode):
8761 * textmodes/rst.el (rst-minor-mode):
8762 * textmodes/sgml-mode.el (html-autoview-mode)
8763 (sgml-electric-tag-pair-mode):
8764 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
8765 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
8766 * emulation/crisp.el (crisp-mode):
8767 * emacs-lisp/eldoc.el (eldoc-mode):
8768 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
8769 minor mode behavior.
8770
aa42ab43
JL
87712011-10-19 Juri Linkov <juri@jurta.org>
8772
8773 * descr-text.el (describe-char): Add #x2010 and #x2011 to
8774 the list of hard-coded chars with escape-glyph face.
8775
89400f1d
SM
87762011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
8779
305c07f6
MA
87802011-10-19 Michael Albinus <michael.albinus@gmx.de>
8781
8782 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
8783 running process.
8784
13754b54
GM
87852011-10-19 Glenn Morris <rgm@gnu.org>
8786
8787 * vc/vc-bzr.el (vc-bzr-after-dir-status):
8788 Ignore ignored files. (Bug#9726)
8789
06e21633
CY
87902011-10-19 Chong Yidong <cyd@gnu.org>
8791
8792 Doc fix for minor modes, stating that an omitted argument enables
8793 the mode unconditionally when called from Lisp.
8794
8795 * abbrev.el (abbrev-mode):
8796 * allout.el (allout-mode):
8797 * autoinsert.el (auto-insert-mode):
8798 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8799 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8800 (global-auto-revert-mode):
8801 * battery.el (display-battery-mode):
8802 * composite.el (global-auto-composition-mode)
8803 (auto-composition-mode):
8804 * delsel.el (delete-selection-mode):
8805 * desktop.el (desktop-save-mode):
8806 * dired-x.el (dired-omit-mode):
8807 * dirtrack.el (dirtrack-mode):
8808 * doc-view.el (doc-view-minor-mode):
8809 * double.el (double-mode):
8810 * electric.el (electric-indent-mode, electric-pair-mode):
8811 * emacs-lock.el (emacs-lock-mode):
8812 * epa-hook.el (auto-encryption-mode):
8813 * follow.el (follow-mode):
8814 * font-core.el (font-lock-mode):
8815 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
8816 * help.el (temp-buffer-resize-mode):
8817 * hilit-chg.el (highlight-changes-mode)
8818 (highlight-changes-visible-mode):
8819 * hi-lock.el (hi-lock-mode):
8820 * hl-line.el (hl-line-mode, global-hl-line-mode):
8821 * icomplete.el (icomplete-mode):
8822 * ido.el (ido-everywhere):
8823 * image-file.el (auto-image-file-mode):
8824 * image-mode.el (image-minor-mode):
8825 * iswitchb.el (iswitchb-mode):
8826 * jka-cmpr-hook.el (auto-compression-mode):
8827 * linum.el (linum-mode):
8828 * longlines.el (longlines-mode):
8829 * master.el (master-mode):
8830 * mb-depth.el (minibuffer-depth-indicate-mode):
8831 * menu-bar.el (menu-bar-mode):
8832 * minibuf-eldef.el (minibuffer-electric-default-mode):
8833 * mouse-sel.el (mouse-sel-mode):
8834 * msb.el (msb-mode):
8835 * mwheel.el (mouse-wheel-mode):
8836 * outline.el (outline-minor-mode):
8837 * paren.el (show-paren-mode):
8838 * recentf.el (recentf-mode):
8839 * reveal.el (reveal-mode, global-reveal-mode):
8840 * rfn-eshadow.el (file-name-shadow-mode):
8841 * ruler-mode.el (ruler-mode):
8842 * savehist.el (savehist-mode):
8843 * scroll-all.el (scroll-all-mode):
8844 * scroll-bar.el (scroll-bar-mode):
8845 * server.el (server-mode):
8846 * shell.el (shell-dirtrack-mode):
8847 * simple.el (auto-fill-mode, transient-mark-mode)
8848 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8849 (line-number-mode, column-number-mode, size-indication-mode)
8850 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8851 * strokes.el (strokes-mode):
8852 * time.el (display-time-mode):
8853 * t-mouse.el (gpm-mouse-mode):
8854 * tool-bar.el (tool-bar-mode):
8855 * tooltip.el (tooltip-mode):
8856 * type-break.el (type-break-mode-line-message-mode)
8857 (type-break-query-mode):
8858 * view.el (view-mode):
8859 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8860 (global-whitespace-mode, global-whitespace-newline-mode):
8861 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8862
a3839de2
SM
8863 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8864 Fix autogenerated docstring.
06e21633 8865
5214e501
JL
88662011-10-19 Juri Linkov <juri@jurta.org>
8867
8868 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8869 by checking environment variables "DESKTOP_SESSION" and
8870 "XDG_CURRENT_DESKTOP". (Bug#9779)
8871
195f8db9
JL
88722011-10-19 Juri Linkov <juri@jurta.org>
8873
8874 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8875 (browse-url-chromium-program, browse-url-chromium-arguments):
8876 New defcustoms.
8877 (browse-url-default-browser): Check for `browse-url-chromium' and
8878 call `browse-url-chromium-program'.
8879 (browse-url-chromium): New command. (Bug#9779)
8880
343a34ff
JB
88812011-10-18 Juanma Barranquero <lekktu@gmail.com>
8882
8883 * facemenu.el (list-colors-duplicates): On Windows, detect more
8884 duplicates by assuming that only colors matching "^System" are
8885 special "system colors". (Bug#9722)
8886
6978a151
SM
88872011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8890 to distinguish the author from the committer.
8891
6a80b297
MA
88922011-10-18 Michael Albinus <michael.albinus@gmx.de>
8893
8894 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8895
b31a5677
JK
88962011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8897
8898 * international/mule.el (sgml-html-meta-auto-coding-function):
8899 Add support for detecting encoding in HTML5 specified only as
8900 <meta charset="UTF-8">. Implementation just makes http-equiv and
8901 content-type parts from HTML4 encoding string optional. (Bug#9716)
8902
80c6d77f
GM
89032011-10-18 Glenn Morris <rgm@gnu.org>
8904
8905 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8906
08b0fee8
CY
89072011-10-18 Chong Yidong <cyd@gnu.org>
8908
8909 * faces.el (cursor): Doc fix.
8910
67e729a5
CY
89112011-10-17 Chong Yidong <cyd@gnu.org>
8912
8913 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8914
343a34ff 89152011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8916
8917 * dirtrack.el (dirtrack): Support shell buffers with path
8918 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8919
0bc06380
TZ
89202011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8921
8922 * json.el: Bump version to 1.3 and note change in History.
8923 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8924
8b79f3e0
SM
89252011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8926
5a7c536b
SM
8927 * comint.el (comint-insert-input, comint-send-input)
8928 (comint-get-old-input-default, comint-backward-matching-input)
8929 (comint-next-prompt): Use nil instead of `input' for field property of
8930 past user input (bug#114).
8931
96a8a0df
SM
8932 * minibuffer.el (completion--replace): Inherit surrounding properties
8933 (bug#114).
8934 (minibuffer-complete-and-exit): Use it.
8935
8b79f3e0
SM
8936 * comint.el (comint--table-subvert): Quote the all-completions output
8937 (bug#9160).
8938
b8f7ff0d
MR
89392011-10-17 Martin Rudalics <rudalics@gmx.at>
8940
8b79f3e0 8941 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8942
b8f7ff0d 8943 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8944 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8945 entries and separate them from frame entries.
8946
c235b555
GM
89472011-10-15 Glenn Morris <rgm@gnu.org>
8948
8949 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8950 Doc fixes.
8951
6bbfa6e1
CY
89522011-10-15 Chong Yidong <cyd@stupidchicken.com>
8953
8b79f3e0
SM
8954 * net/network-stream.el (network-stream-open-starttls):
8955 Improve detection of failure due to lack of TLS support.
ec5c990d 8956
6bbfa6e1
CY
8957 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8958 putting the input text in front and in bold.
8959
98488977
SM
89602011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8961
3d1337be
SM
8962 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8963
ee0b45e4
SM
8964 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8965 empty buffer.
8966
98488977
SM
8967 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8968 unread-command-events rather than pushing yet-another event.
8969
186f4720
EZ
89702011-10-14 Eli Zaretskii <eliz@gnu.org>
8971
8972 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8973 the explanation of the possible choices. Make the options passed
8974 to completing-read shorter.
8975
8b7a997c
AM
89762011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8977
8978 * textmodes/flyspell.el (flyspell-large-region): Make sure
8979 extended character mode is used if defined (Bug#1339).
8980
12587bbb
EZ
89812011-10-13 Eli Zaretskii <eliz@gnu.org>
8982
8983 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8984 character info for LRE, LRO, RLE, and RLO characters by appending
8985 an invisible PDF.
12587bbb 8986
bad41229
SM
89872011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8988
8989 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8990 even in case of error; add debug spec; simplify data flow.
8991 (with-timeout-handler): Remove.
8992
28dbc92f
MA
89932011-10-12 Michael Albinus <michael.albinus@gmx.de>
8994
8995 Fix Bug#6019, Bug#9315.
8996
8997 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8998 complete `buffer-file-name', the local file name part could look
8999 remotely (for example on VMS).
9000
9001 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9002 `tramp-run-real-handler'.
9003 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9004 already quoted by '"'.
9005
9006 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9007 Let `file-name-handler-alist' be nil, the local file name part
9008 could look remotely (for example on VMS).
9009
e1b0b23a
SM
90102011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9011
9012 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9013 from here...
9014 (flyspell-post-command-hook): ...to here.
9015
a120bde9
SM
90162011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9019 if not needed.
9020 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9021 using completion. Protect against "slow" callers.
9022 Remove the "message hack".
9023
7ce7717b
JL
90242011-10-11 Juri Linkov <juri@jurta.org>
9025
9026 * isearch.el (isearch-lazy-highlight-word): New variable.
9027 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9028 Use it. (Bug#9727)
9029
c02ee9d6
GM
90302011-10-11 Glenn Morris <rgm@gnu.org>
9031
9032 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9033 like f90-previous-statement does.
9034
93e616fd 90352011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9036
1f190e73 9037 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9038 only in interactive use, to avoid error.
9039
af7b6078
SM
90402011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * minibuffer.el (completion-file-name-table): Fix last change,
9043 i.e. ignore normal errors but not the other ones.
9044
0563dae9
MR
90452011-10-10 Martin Rudalics <rudalics@gmx.at>
9046
9047 * window.el (special-display-buffer-names)
9048 (special-display-regexps): Remove some remnants of earlier
9049 changes from doc-strings.
366ca7f3
MR
9050 (quit-windows-on): New function.
9051
9052 * vc/vc.el (vc-revert, vc-rollback):
9053 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9054 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9055 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9056
49677495
MR
90572011-10-09 Martin Rudalics <rudalics@gmx.at>
9058
9059 * window.el (frame-auto-hide-function): Add version tag.
9060 (Bug#9699)
9061
56f2d1e1
MA
90622011-10-09 Michael Albinus <michael.albinus@gmx.de>
9063
9064 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9065 condition.
9066
112a6592
LL
90672011-10-09 Leo Liu <sdl.web@gmail.com>
9068
9069 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9070 (Bug#9701)
9071
0812589b
GM
90722011-10-08 Glenn Morris <rgm@gnu.org>
9073
9074 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9075 before the first code statement zero indent. (Bug#9690)
9076
b2b0776e
CY
90772011-10-08 Chong Yidong <cyd@stupidchicken.com>
9078
9079 * simple.el (count-words-region): Always count in the region.
9080 Report the number of lines and characters too.
9081 (count-words): New command, which counts in the buffer if the
9082 region is inactive, as count-words-region used to.
9083 (count-words--message): New function. Handle plurals.
9084 (count-lines-region): Make it an alias for count-words-region.
9085
9086 * bindings.el (esc-map): Replace count-lines-region with
9087 count-words-region.
9088
c557cd6b
MR
90892011-10-08 Martin Rudalics <rudalics@gmx.at>
9090
9091 * window.el (window--delete): Delete dedicated frame
9092 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9093 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9094
61a57ef4 90952011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9096
3a7d293b 9097 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9098
c3833279
CY
90992011-10-07 Chong Yidong <cyd@stupidchicken.com>
9100
9101 * bindings.el ([M-left],[M-right]): Bind to left-word and
9102 right-word respectively.
9103
21ce8245
GM
91042011-10-07 Glenn Morris <rgm@gnu.org>
9105
9106 * cus-start.el (debug-on-quit): Fix custom type.
9107
6d823bb2
LMI
91082011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9109
0181e193
LMI
9110 * subr.el (define-key-after): Clarify that the function is not
9111 useful for non-menu keymaps.
9112
6d823bb2
LMI
9113 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9114
8e3459ce 91152011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9116
21ce8245 9117 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9118 in current minibuffer (Fix bug with recursive minibuffers).
9119
a1c2d21e
CY
91202011-10-06 Chong Yidong <cyd@stupidchicken.com>
9121
9122 * progmodes/gdb-mi.el (gdb): Doc fix.
9123
5a4cf282
MR
91242011-10-05 Martin Rudalics <rudalics@gmx.at>
9125
9126 * window.el (frame-auto-hide-function): New option replacing
9127 frame-auto-delete. Suggested by Stefan Monnier.
9128 (window--delete): Call frame-auto-hide-function instead of
9129 investigating frame-auto-delete.
c96111ea
MR
9130 (window-point-1, set-window-point-1): New functions.
9131 (window-in-direction, record-window-buffer, window-state-get-1)
9132 (display-buffer-record-window): Use window-point-1 instead of
9133 window-point.
9134 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9135
9854542e
SM
91362011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9139
8943cfb0
GM
91402011-10-05 Glenn Morris <rgm@gnu.org>
9141
9142 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9143 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9144
647ab967
LL
91452011-10-05 Leo Liu <sdl.web@gmail.com>
9146
9147 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9148 works with buffer object.
9149
3ddfbced
SM
91502011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * mpc.el (mpc-tool-bar-map): Add labels.
9153
bdfa5dd2
GM
91542011-10-04 Glenn Morris <rgm@gnu.org>
9155
9156 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9157
0e2070b5
MR
91582011-10-04 Martin Rudalics <rudalics@gmx.at>
9159
9160 * window.el (window--delete): New function.
9161 (frame-auto-delete): Resuscitate option.
9162 (bury-buffer, replace-buffer-in-windows)
9163 (quit-window): Rewrite using window--delete.
9164 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9165 Pass display-buffer-mark-dedicated to window--display-buffer-2
9166 (Bug#9639).
9167
3dc61a09
SM
91682011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9169
915a9b64
SM
9170 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9171 returns a list (bug#9554). Add remote file name completion.
9172 * comint.el (comint--table-subvert): Curry and get quote&unquote
9173 functions as arguments.
9174 (comint--complete-file-name-data): Adjust call accordingly.
9175 * pcomplete.el (pcomplete--table-subvert): Remove.
9176 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9177
3dc61a09
SM
9178 * minibuffer.el (completion-table-case-fold): Use currying.
9179 (completion--styles-type, completion--cycling-threshold-type):
9180 New constants.
9181 (completion-styles, completion-category-overrides)
9182 (completion-cycle-threshold): Use them.
9183 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9184 completion-table-case-fold.
9185
8ea0a993
SB
91862011-10-03 Stephen Berman <stephen.berman@gmx.net>
9187
9188 * minibuffer.el (completion-category-overrides): Fix type of styles
9189 and add more user friendly tags (bug#9660).
9190
8c24b7f6
SM
91912011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9194 (mule-input-method-string): New widget.
9195 (default-input-method, language-info-custom-alist): Use it.
9196
428fe61a
SM
91972011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9198
32c1fffd
SM
9199 * pcomplete.el: Require comint.
9200 (pcomplete--common-suffix): Remove.
9201 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9202 (pcomplete--table-subvert): Sync with comint--table-subvert.
9203 (pcomplete--entries): Use comint-completion-file-name-table.
9204 * comint.el (comint-unquote-filename): Simplify.
9205 (comint-completion-file-name-table): New function (bug#9616).
9206 (comint--complete-file-name-data): Use it.
9207
428fe61a
SM
9208 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9209 (pcmpl-gnu-tar-buffer): Remove.
9210 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9211 around. Make sure pcomplete-suffix-list is only changed temporarily.
9212 Don't look inside the tar's file if it's too large.
428fe61a 9213
04c52e2f
CY
92142011-10-01 Chong Yidong <cyd@stupidchicken.com>
9215
ce3cefcc
CY
9216 * cus-edit.el (custom-mode-map):
9217 * epa.el (epa-key-list-mode-map):
9218 * man.el (Man-mode-map):
9219 * startup.el (splash-screen-keymap):
9220 * simple.el (special-mode-map): Use scroll-up-command and
9221 scroll-down-command.
9222
9223 * progmodes/idlw-help.el (idlwave-help-mode-map):
9224 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9225 * net/newst-plainview.el (newsticker-mode-map):
9226 * emulation/ws-mode.el (wordstar-mode-map):
9227 * emulation/vi.el (vi-com-map):
9228 * calc/calc-graph.el (calc-graph-show-dumb):
9229 * term/sun.el (terminal-init-sun):
9230 * term/ns-win.el (global-map):
9231 * progmodes/grep.el (grep-mode-map):
9232 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9233 * mail/rmail.el (rmail-mode-map):
9234 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9235
04c52e2f
CY
9236 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9237 custom-safe-themes as special.
9238
79adf8c8
JD
92392011-10-01 Julien Danjou <julien@danjou.info>
9240
9241 * notifications.el (notifications-notify): Fix docstring.
9242
63bd50d3
PS
92432011-10-01 Per Starbäck <per@starback.se>
9244
9245 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9246
199e4c7e
MR
92472011-09-30 Martin Rudalics <rudalics@gmx.at>
9248
9249 * startup.el (command-line-1): Fix last fix by inserting
9250 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9251 (Bug#9605) and (Bug#9636)
199e4c7e 9252
fe5f08dd
EZ
92532011-09-29 Eli Zaretskii <eliz@gnu.org>
9254
9255 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9256 window is hscrolled, move by logical lines. (Bug#9607)
9257 (line-move-visual): Update the doc string to the above effect.
9258
b5516bbd
MR
92592011-09-29 Martin Rudalics <rudalics@gmx.at>
9260
ccee00c0
MR
9261 * window.el (display-buffer-record-window): When WINDOW is the
9262 selected window use `point' instead of `window-point'. (Bug#9626)
9263
b5516bbd
MR
9264 * startup.el (command-line-1): Use insert-before-markers when
9265 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9266
b5516bbd
MR
9267 * help.el (help-window): Remove variable.
9268
52aa0014
GM
92692011-09-29 Glenn Morris <rgm@gnu.org>
9270
9271 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9272
df9a7357
JB
92732011-09-29 Juanma Barranquero <lekktu@gmail.com>
9274
9275 * descr-text.el (describe-char-categories): Accept category
9276 descriptions more than one line long.
9277
a8406c20
SM
92782011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9279
88d9610c
SM
9280 * simple.el (delete-trailing-whitespace): Fix last change.
9281
a5daf810
SM
9282 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9283 Don't confuse "y => 3" as the beginning of a `y' operation.
9284
a8406c20
SM
9285 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9286 object has more than 4 slots (bug#9613).
9287
a239d4e9
JB
92882011-09-28 Juanma Barranquero <lekktu@gmail.com>
9289
9290 * subr.el (with-output-to-temp-buffer):
9291 * net/quickurl.el (quickurl, quickurl-browse-url):
9292 Fix typos in docstrings.
9293
693fbdb6
EZ
92942011-09-27 Eli Zaretskii <eliz@gnu.org>
9295
9296 * minibuffer.el (completion-styles)
9297 (completion-category-overrides): Cross reference each other in doc
9298 strings.
9299
8b457e28
GM
93002011-09-27 Glenn Morris <rgm@gnu.org>
9301
9302 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9303 to split-string. (Bug#9606)
9304
85a16208
LMI
93052011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9306
9307 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9308 (bug#9615).
9309
502f9ebd
CY
93102011-09-27 Chong Yidong <cyd@stupidchicken.com>
9311
9312 * emacs-lisp/package.el (list-packages): Fix echo area message.
9313
7690bdea
LL
93142011-09-27 Leo Liu <sdl.web@gmail.com>
9315
9316 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9317
e2ee6f30
MA
93182011-09-25 Michael Albinus <michael.albinus@gmx.de>
9319
9320 * net/dbus.el (dbus-unregister-object): Don't release services for
9321 registered signals. (Bug#9581)
9322
f3f98342
TZ
93232011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9324
9325 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9326 function that picks between cfengine 2 and 3 support
9327 automatically. Update docs accordingly.
9328
dd7aa8dd
KH
93292011-09-22 Kenichi Handa <handa@m17n.org>
9330
9331 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9332 ZERO.
9333 (indian-itrans-v5-table-for-tamil): New variable.
9334 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9335
3f2b07f8
KM
93362011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9337
9338 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9339 that's true if the current command involved collapsing of text.
9340 It's reset to false at the beginning of the next command.
9341 (allout-post-command-business): Move the cursor to the beginning
9342 of entry if the cursor is hidden and collapsing activity just
9343 happened.
9344
371d6a61
CY
93452011-09-24 Chong Yidong <cyd@stupidchicken.com>
9346
9347 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9348 tracking (Bug#9541).
9349
2ac2721a
UJ
93502011-09-24 Ulf Jasper <ulf.jasper@web.de>
9351
9352 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9353 (newsticker-show-news): Automatically load html rendering package
9354 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9355 because w3m-fill-column is let-bound" and the error "Symbol's value
9356 as variable is void: w3m-fill-column".
2ac2721a 9357
fac7ae53
MA
93582011-09-24 Michael Albinus <michael.albinus@gmx.de>
9359
9360 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9361 Release services only if they are defined. (Bug#9581)
9362
e08b633b
RS
93632011-09-23 Richard Stallman <rms@gnu.org>
9364
e488d29c
RS
9365 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9366 distinguish start of paragraph from start of its text.
9367
19c38752
RS
9368 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9369
e08b633b
RS
9370 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9371 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9372 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9373
0a39f27e
AS
93742011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9375
9376 * international/mule-diag.el (mule-diag): Insert a newline after
9377 each fontset description.
9378
db4e950d
SM
93792011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * simple.el (delete-trailing-whitespace):
9382 Document last change; simplify.
9383
eca3f3ea
PW
93842011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9385
d68e189a
PW
9386 * simple.el (delete-trailing-whitespace): Also delete
9387 extra newlines at the end of the buffer.
9388
eca3f3ea
PW
9389 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9390 (picture-newline): Use forward-line so as to ignore fields.
9391
01c157cc
SM
93922011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * subr.el (with-wrapper-hook): Fix edebug spec.
9395
022de23e
LMI
93962011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9397
9398 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9399 (bug#4538).
9400
91683089
MA
94012011-09-23 Michael Albinus <michael.albinus@gmx.de>
9402
eca3f3ea
PW
9403 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9404 Fix nasty bug using wrong cached values.
91683089 9405
5bdd6fa4
AM
94062011-09-23 Alan Mackenzie <acm@muc.de>
9407
9408 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9409
97adfb97
CY
94102011-09-23 Chong Yidong <cyd@stupidchicken.com>
9411
9412 * window.el (pop-to-buffer): Ensure right window is selected if we
9413 chose another frame.
9414
d4ef2b50
EZ
94152011-09-22 Eli Zaretskii <eliz@gnu.org>
9416
9417 * simple.el (what-cursor-position): Use get-char-property-change
9418 and next-single-char-property-change, to be able to show display
9419 properties that come from overlays as well as text properties.
9420
72258fe5
CY
94212011-09-22 Chong Yidong <cyd@stupidchicken.com>
9422
9423 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9424
9425 * cmuscheme.el (run-scheme, switch-to-scheme):
9426 * cus-edit.el (customize-group, custom-buffer-create)
9427 (customize-browse):
9428 * info.el (info):
9429 * shell.el (shell):
9430 * mail/sendmail.el (mail):
9431 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9432
8f098516
RS
94332011-09-22 Richard Stallman <rms@gnu.org>
9434
9435 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9436 move back only to line beg, don't move back over blank lines.
9437
e74f1bb6
MA
94382011-09-22 Michael Albinus <michael.albinus@gmx.de>
9439
9440 * files.el (copy-directory): Set directory attributes only in case
9441 they could be retrieved from the source directory. (Bug#9565)
9442
bfeef8b6
DK
94432011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9444
9445 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9446 (hs-find-block-beginning, hs-hide-level-recursive):
9447 Ignore strings as well as comments. (Bug#9502)
9448
7e423bb8
AS
94492011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9450
9451 * progmodes/sql.el (sql-comint-postgres):
9452 Convert port number to a string. (Bug#9566)
9453
b4d72fcf
MR
94542011-09-22 Martin Rudalics <rudalics@gmx.at>
9455
9456 * window.el (quit-window): Undedicate window when switching to
9457 previous buffer. Reported by Thierry Volpiatto
9458 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9459 (special-display-popup-frame): When popping up a new frame reset
9460 its previous buffers to nil. Simplify code.
b4d72fcf 9461
a7b88dc6
MA
94622011-09-21 Michael Albinus <michael.albinus@gmx.de>
9463
9464 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9465 and process filter, as done also in `shell-command'.
9466
cf4eacfd
MR
94672011-09-21 Martin Rudalics <rudalics@gmx.at>
9468
eca3f3ea 9469 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9470 Call set-window-start with NOFORCE argument t.
9471 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9472 (quit-window): Reword doc-string. Handle new format of
9473 quit-restore parameter. Don't delete window if it has a
9474 previous buffer we can show instead of the present one.
9475 (display-buffer-record-window): Rewrite using a new format for
9476 the quit-restore window parameter
9477 (special-display-popup-frame, display-buffer-same-window)
9478 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9479 (display-buffer-pop-up-window, display-buffer-use-some-window):
9480 Adapt symbol passed to display-buffer-record-window.
9481 * help.el (help-window-setup): Handle new format of quit-restore
9482 parameter.
9483
8d28cb95
SM
94842011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9485
94ab793f
SM
9486 * faces.el (face-list): Fix docstring (bug#9564).
9487
8d28cb95
SM
9488 * window.el (display-buffer--action-function-custom-type):
9489 Don't include internal functions in the Custom interface.
9490
3820edeb
JL
94912011-09-20 Juri Linkov <juri@jurta.org>
9492
9493 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9494 (Info-forward-node, Info-backward-node, Info-next-preorder)
9495 (Info-last-preorder): Use it. (Bug#9528)
9496
5147931d
JL
94972011-09-20 Juri Linkov <juri@jurta.org>
9498
9499 * info.el (Info-last-preorder): Visit last menu item only when
9500 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9501
cf499a1a
JD
95022011-09-20 Julien Danjou <julien@danjou.info>
9503
9504 * password-cache.el (password-cache-remove): Remove entries even if the
9505 value is nil, so that password with a nil value (negative caching) is
9506 possible to invalidate.
9507
f84e2fe2
LM
95082011-09-20 Lawrence Mitchell <wence@gmx.li>
9509
9510 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9511 all whitespace around breakpoint. (Bug#9553)
9512 (f90-find-breakpoint): Only break at whitespace inside a comment.
9513
78054a46
SM
95142011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * minibuffer.el (completion-file-name-table): Keep track of errors.
9517 (completion-table-with-predicate): Handle the case where pred1 is nil.
9518 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9519
345083b2
SM
95202011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9521
e24e27be
SM
9522 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9523 (debugger-return-value): Signal an error if the debugging context does
9524 not await any return value.
9525
345083b2
SM
9526 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9527 * image-mode.el (image-toggle-display-text)
9528 (image-toggle-display-image): Stay away from evil `intangible'.
9529
08d355e3
LL
95302011-09-19 Leo Liu <sdl.web@gmail.com>
9531
9532 * replace.el (occur-revert-arguments): Make it permanent-local.
9533 (occur-mode): Don't call font-lock-defontify.
9534
f01da43f
CY
95352011-09-19 Chong Yidong <cyd@stupidchicken.com>
9536
9537 * net/ldap.el (ldap-search-internal): Don't push empty search
9538 result (Bug#9508).
9539
b6072fa6
SM
95402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9543
443d6696
MA
95442011-09-19 Michael Albinus <michael.albinus@gmx.de>
9545
9546 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9547 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9548
7cc6e154
JL
95492011-09-18 Juri Linkov <juri@jurta.org>
9550
9551 * buff-menu.el (Buffer-menu-mode-map):
9552 * dired.el (dired-mode-map):
9553 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9554 (lisp-interaction-mode-map):
9555 * emacs-lisp/package.el (package-menu-mode-map):
9556 * epa.el (epa-key-list-mode-map):
9557 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9558 (menu-bar-options-menu):
9559 * outline.el (outline-mode-menu-bar-map):
9560 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9561 * vc/vc-dir.el (vc-dir-menu-map):
9562 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9563 Capitalize non-function content words in menu item strings.
9564
9565 * dired.el (dired-mode-map): Add menu item for
9566 `image-dired-dired-toggle-marked-thumbs'.
9567
80302a81
JL
95682011-09-18 Juri Linkov <juri@jurta.org>
9569
9570 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9571 to `isearch-case-fold-search' and restore its original value
9572 after the `isearch-mode' call.
9573
46c5cf66
JL
95742011-09-18 Juri Linkov <juri@jurta.org>
9575
9576 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9577 because `zgrep' returns 1 for successful matches (bug#9226).
9578
d18b513b
JL
95792011-09-18 Juri Linkov <juri@jurta.org>
9580
9581 * info.el (Info-extract-menu-node-name): Check the second match
9582 for empty string (second test-case of bug#9528).
9583 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9584 intermediate nodes to the history (first test-case of bug#9528).
9585
72753f87
JL
95862011-09-18 Juri Linkov <juri@jurta.org>
9587
9588 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9589 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9590
c9384295
JL
95912011-09-18 Juri Linkov <juri@jurta.org>
9592
1154d12e
JB
9593 * info.el (Info-file-supports-index-cookies):
9594 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9595 outputs one more line for long file names (bug#4142).
c9384295 9596
d473dce8
CY
95972011-09-18 Chong Yidong <cyd@stupidchicken.com>
9598
9599 * newcomment.el (comment-normalize-vars): If prompting for
9600 comment-start, set comment-start-skip too (Bug#8424).
9601
2176854d
JB
96022011-09-18 Johan Bockgård <bojohan@gnu.org>
9603
9604 * icomplete.el: Fix previous fix of Bug#5849.
9605 (icomplete-mode): Don't set completion-show-inline-help.
9606 (icomplete-minibuffer-setup): Set completion-show-inline-help
9607 locally during icompletion.
9608
3aace4e4
CY
96092011-09-18 Chong Yidong <cyd@stupidchicken.com>
9610
c940224f
CY
9611 * woman.el (woman2-process-escapes): Don't delete unrecognized
9612 escapes (Bug#7843).
9613
3aace4e4
CY
9614 * files.el (inhibit-first-line-modes-regexps): Add image files.
9615 (hack-local-variables-prop-line): Return nil for malformed
9616 prop-lines (Bug#9044).
9617
710dec63
MA
96182011-09-18 Michael Albinus <michael.albinus@gmx.de>
9619
9620 * net/tramp.el (top): Don't require 'shell.
9621 (tramp-methods): Fix docstring.
9622 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9623 Return complete remote file name. Handle "smb" case.
9624 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9625 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9626
9627 * net/tramp-compat.el (top): Require 'shell.
9628
9629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9630 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9631 `tramp-current-host'.
9632 (tramp-get-remote-tmpdir): Remove.
9633
9634 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9635 `tramp-tmpdir' entries.
9636 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9637 (tramp-smb-handle-file-attributes): Ignore errors.
9638 (tramp-smb-wait-for-output): Check also for process end.
9639
5d5ac8ec
LMI
96402011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9641
9642 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9643 when sending QUIT (bug#9312).
9644
8c0f49f0
CY
96452011-09-17 Chong Yidong <cyd@stupidchicken.com>
9646
9647 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9648 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9649 occur-mode-display-occurrence.
9650 (occur-edit-mode): Add usage message.
9651 (occur-cease-edit): New command.
9652 (occur-after-change-function): Use text properties to find the
9653 position of the prefix text.
9654 (occur-engine): Set stickiness of prefix text properties.
9655
8f1383f7
GM
96562011-09-17 Glenn Morris <rgm@gnu.org>
9657
9658 * progmodes/etags.el (complete-tag):
9659 Fix call to completion-in-region. (Bug#9526)
9660
744ba0e3
JL
96612011-09-17 Juri Linkov <juri@jurta.org>
9662
9663 * textmodes/ispell.el (ispell-word): Add to the error message
9664 the word, ispell program name and current dictionary (bug#9121).
9665 (ispell-tex-arg-end): Capitalize "error" in the error message.
9666
d9bbf400
AS
96672011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9668
9669 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9670 check. (Bug#4251)
9671
8da11505
JL
96722011-09-17 Juri Linkov <juri@jurta.org>
9673
9674 * window.el (window-safe-min-height, window-safe-min-width):
9675 Fix typos (followup to bug#9522).
9676
a91adc7e
SJ
96772011-09-17 Sven Joachim <svenjoac@gmx.de>
9678
9679 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9680
064f328a
EZ
96812011-09-16 Eli Zaretskii <eliz@gnu.org>
9682
9683 * simple.el (line-move): If goal-column is set, move by logical
9684 lines, not by display lines. (Bug#971)
9685 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9686 to reflect the above change.
9687
e69df516
SM
96882011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * image.el (imagemagick-register-types): Use regexp-opt.
9691
cbb0f9ab
CY
96922011-09-15 Chong Yidong <cyd@stupidchicken.com>
9693
9694 * window.el (display-buffer-base-action): Rename from
9695 display-buffer-default-action. Make default value empty.
9696 (display-buffer-overriding-action): Convert to defvar.
9697 (display-buffer-fallback-action): New var.
9698
25322144
CY
96992011-09-15 Chong Yidong <cyd@stupidchicken.com>
9700
9701 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9702 declaration.
9703 (package--add-to-archive-contents): If there is a duplicate entry
9704 with an older version, remove it.
9705 (package-menu-mark-delete, package-menu-mark-install)
9706 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9707 (package-menu-mark-obsolete-for-deletion):
9708 Use package-menu-get-status instead of a regexp search.
25322144
CY
9709 (package-menu-get-status): Use tabulated-list-entry.
9710 (package-menu-mark-upgrades): New command.
d770725a 9711 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9712 (package-menu-execute): Do installation before deletion.
9713 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9714 instead of checking major-mode.
9715 (package-menu--find-upgrades): New function.
9716
7520339c
LMI
97172011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718
9719 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9720 passwords in the log buffer.
65a046c4
LMI
9721 (smtpmail-process-filter): Update the process marker so that the
9722 "broken by peer" status message is inserted in the right place.
7520339c 9723
d3c30954
SM
97242011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9725
3fe48822
SM
9726 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9727 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9728 bibtex-completion-at-point-function.
9729 (bibtex-completion-at-point-function): Use them.
9730
1b8b3954
SM
9731 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9732
d3c30954
SM
9733 * mpc.el (mpc-constraints-tag-lookup): New function.
9734 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
9735 also to browser "album|playlist".
9736
72779976
JL
97372011-09-14 Juri Linkov <juri@jurta.org>
9738
9739 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
9740 (isearch-edit-string): Use length of `isearch-string' when
9741 `isearch-fail-pos' returns nil.
9742 (isearch-message): Remove duplicate code and call
9743 `isearch-fail-pos' with arg `t'.
9744
a0bf2bcd
CY
97452011-09-14 Chong Yidong <cyd@stupidchicken.com>
9746
17bb0a2d
CY
9747 * replace.el (occur-mode-goto-occurrence): Don't force using other
9748 window (Bug#9499).
9749
a0bf2bcd
CY
9750 * dired-aux.el (dired-do-chmod): Don't provide initial input.
9751
f678e0b6
MR
97522011-09-14 Martin Rudalics <rudalics@gmx.at>
9753
9754 * window.el (display-buffer-window): Remove.
9755 (display-buffer-record-window): Use help-setup window parameter
9756 instead of variable display-buffer-window.
9757 (display-buffer-function, special-display-buffer-names)
9758 (special-display-function): Mention help-setup parameter instead
9759 of display-buffer-window in doc-string.
d3c30954
SM
9760 * help.el (help-window-setup): New argument help-window.
9761 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
9762 Reword some messages.
9763 (with-help-window): Pass window used for displaying the buffer
9764 to help-window-setup. Don't set display-buffer-window.
9765
8e39b2e8
GM
97662011-09-13 Glenn Morris <rgm@gnu.org>
9767
9768 * emacs-lisp/debug.el (debugger-make-xrefs):
9769 Preserve point. (Bug#9462)
9770
85e9c04b
CY
97712011-09-13 Chong Yidong <cyd@stupidchicken.com>
9772
9773 * window.el (window-deletable-p): Use next-frame.
9774
1b36ed6a
MR
97752011-09-13 Martin Rudalics <rudalics@gmx.at>
9776
9777 * window.el (window-auto-delete): Remove.
9778 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 9779 dedication and previous buffers.
1b36ed6a
MR
9780 (switch-to-prev-buffer): Don't delete window.
9781 (delete-windows-on): Delete a window's frame if and only if the
9782 window is dedicated.
9783 (replace-buffer-in-windows): Delete buffer's window or frame if
9784 and only if window is dedicated.
9785 (quit-window): Handle quit-restore as before last change.
4d61f28d 9786 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 9787
ef8ef9fb
CY
97882011-09-13 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * window.el (window-deletable-p): Never delete the last frame on a
9791 given terminal.
9792
b2cba41e
GM
97932011-09-13 Glenn Morris <rgm@gnu.org>
9794
9795 * help.el (describe-key-briefly): Copy previous standard-output change.
9796
51553db6 97972011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
9798
9799 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
9800
b7556719
GM
98012011-09-13 Glenn Morris <rgm@gnu.org>
9802
9803 * emacs-lisp/lisp-mode.el (lisp-indent-function):
9804 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
9805
64b51947
CY
98062011-09-12 Chong Yidong <cyd@stupidchicken.com>
9807
9808 * dired-aux.el (dired-mark-read-string): Don't return default
9809 value on empty input (Bug#9361).
9810 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
9811 Omit initial minibuffer contents.
9812 (dired-do-chmod): Signal an error on empty input.
9813 (dired-mark-read-string): Don't return default on empty input.
9814
9815 * files.el (file-modes-symbolic-to-number): Doc fix.
9816
393a301e
SM
98172011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 * international/mule-cmds.el (ucs-completions): Remove.
9820 (read-char-by-name): Use complete-with-action instead; add metadata.
9821
fa5660f9
CY
98222011-09-11 Chong Yidong <cyd@stupidchicken.com>
9823
9824 * window.el (display-buffer--action-function-custom-type)
9825 (display-buffer--action-custom-type): New vars.
9826 (display-buffer-alist, display-buffer-default-action)
9827 (display-buffer-overriding-action): Add defcustom types.
9828
4a592f66
CY
9829 * frame.el (delete-other-frames): Doc fix (Bug#276).
9830
73d56dbd
LMI
98312011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832
9833 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
9834
37ac18a3
CY
98352011-09-11 Chong Yidong <cyd@stupidchicken.com>
9836
9837 Change modes that used same-window-* vars to use switch-to-buffer.
9838
9839 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
9840 Use switch-to-buffer.
9841
9842 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9843 (customize-browse, custom-buffer-create-other-window):
9844 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9845
9846 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9847 (Info-prev, Info-up, Info-speedbar-goto-node)
9848 (info-display-manual): Use switch-to-buffer.
9849 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9850
9851 * mail/sendmail.el (mail): Use switch-to-buffer.
9852 (mail-recover): Use switch-to-buffer-other-window.
9853
9854 * cmuscheme.el (run-scheme, switch-to-scheme):
9855 * ielm.el (ielm):
9856 * shell.el (shell):
9857 * net/rlogin.el (rlogin):
9858 * net/telnet.el (telnet, rsh):
9859 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9860
10195bd6
AS
98612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9862
9863 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9864
b322f63a
LMI
98652011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9866
39d7fed6
LMI
9867 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9868 so don't mention it (bug#9301).
ba5a81f1 9869 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9870
ee0e9f11
LMI
9871 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9872 match `x', `w32' and `ns', like the manual says (bug#9029).
9873
0b1c89c1 9874 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9875 (process-kill-buffer-query-function): Mention the buffer name in
9876 the query.
0b1c89c1 9877
77549ea8
LMI
9878 * image-mode.el (image-next-line): The line parameter is mandatory
9879 (bug#9258).
9880
803ef892
LMI
9881 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9882 which can be useful (bug#9301).
9883
12980837
LMI
9884 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9885
91054f8f
LMI
9886 * subr.el (match-string): Mention that the current buffer should
9887 be the same as the search was done in (bug#9282).
9888
b322f63a
LMI
9889 * facemenu.el: Disable the remove-* commands if the mark isn't
9890 active (bug#9162).
9891
3199b96f
CY
98922011-09-10 Chong Yidong <cyd@stupidchicken.com>
9893
9894 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9895 of display-buffer.
9896 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9897
9898 * replace.el (occur-mode-goto-occurrence)
9899 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9900 and display-buffer.
9901
9902 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9903 display-buffer.
9904
9905 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9906 special-display and same-window variables.
9907 (mail-other-window): Use switch-to-buffer-other-window.
9908 (mail-other-frame): USe switch-to-buffer-other-frame.
9909
393a301e
SM
9910 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9911 Use display-buffer-other-frame.
3199b96f
CY
9912 (gdb-display-gdb-buffer): Use pop-to-buffer.
9913
9914 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9915
9916 * progmodes/python.el: Don't set same-window-buffer-names.
9917
9918 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9919
9920 * window.el (display-buffer-alist): Add *Python*.
9921
8319e0bf
CY
99222011-09-10 Chong Yidong <cyd@stupidchicken.com>
9923
9924 * window.el (display-buffer-alist): Add entry for buffers
9925 previously handled same-window-*.
9926 (display-buffer-alist, display-buffer-default-action)
9927 (display-buffer-overriding-action): Mark as risky.
9928 (display-buffer-alist): Document action function changes.
9929 (display-buffer--same-window-action)
9930 (display-buffer--other-frame-action): New variables.
9931 (switch-to-buffer, display-buffer-other-frame): Use them.
9932 (display-buffer): Rename reuse-frame entry to reusable-frames.
9933 (display-buffer-reuse-selected-window): Function deleted.
9934 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9935 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9936 (display-buffer-special): New function.
9937 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9938 display-buffer-reuse-or-pop-window. Split off special-display
9939 part into display-buffer-special.
9940 (display-buffer-use-some-window): Don't perform any special
9941 pop-up-frames handling.
9942 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9943 (display-buffer--maybe-same-window): Rename from
0d3ff375 9944 display-buffer-maybe-same-window.
8319e0bf 9945
919a69aa
CY
9946 * info.el: Don't set same-window-regexps.
9947 (info-setup): New function.
9948 (info-other-window, info): Call it.
9949
9950 * cus-edit.el: Don't set same-window-regexps.
9951 (customize-group): New argument.
9952 (customize-group-other-window): Use it.
9953 (customize-face, customize-face-other-window): Likewise.
9954 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9955
8319e0bf
CY
9956 * net/rlogin.el:
9957 * net/telnet.el:
9958 * progmodes/gud.el: Don't set same-window-regexps.
9959
9960 * cmuscheme.el:
9961 * ielm.el:
9962 * shell.el:
9963 * mail/sendmail.el:
9964 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9965
25173000
JL
99662011-09-10 Juri Linkov <juri@jurta.org>
9967
9968 * isearch.el (isearch-edit-string): Remove obsolete mention of
9969 `C-w' (`isearch-yank-word-or-char') from docstring.
9970 (isearch-query-replace): Fix typo in docstring (bug#9466).
9971
056e44ef
JL
99722011-09-10 Juri Linkov <juri@jurta.org>
9973
9974 * paren.el (show-paren-function): Don't show escaped parens.
9975 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9976
c3760c17
EZ
99772011-09-10 Eli Zaretskii <eliz@gnu.org>
9978
9979 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9980 (mm-default-file-encoding): Remove autoload forms, they are
9981 replaced with autoload cookies in mml.el and mm-encode.el.
9982 (mail-add-attachment): New command.
9983 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9984 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9985 the doc string.
9986 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9987
fece895e
RT
99882011-09-10 Reuben Thomas <rrt@sc3d.org>
9989
e69df516
SM
9990 * simple.el (count-words-region): Use buffer if there's no region
9991 (bug#9429).
fece895e 9992
5e68ce4a
JL
99932011-09-09 Juri Linkov <juri@jurta.org>
9994
9995 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9996 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9997 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9998
0a6b9622
AM
99992011-09-09 Alan Mackenzie <acm@muc.de>
10000
10001 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10002 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10003
14a29deb
EZ
100042011-09-09 Eli Zaretskii <eliz@gnu.org>
10005
10006 Fix for Savannah bug#9392.
10007 * simple.el (mail-encode-mml): New defvar.
10008
10009 * mail/rmail.el (mail-encode-mml): Add a defvar.
10010 (rmail-enable-mime-composing): Default to t.
10011 (rmail-forward): Use MIME method of forwarding only if both
10012 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10013 Set mail-encode-mml non-nil if the MIME method was used.
10014
10015 * mail/sendmail.el (mml-to-mime): Add autoload form.
10016 (mail-encode-mml): Add a defvar.
10017 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10018 to nil.
10019 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10020 message through mml-to-mime, and reset mail-encode-mml to nil.
10021
28c45130
GM
100222011-09-09 Glenn Morris <rgm@gnu.org>
10023
10024 * woman.el (woman-if-body): When processing an .el block,
10025 do not delete the next .el block as well. (Bug#9447)
69f4b618 10026 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10027
9b1c252e
MR
100282011-09-08 Martin Rudalics <rudalics@gmx.at>
10029
10030 * window.el (window-deletable-p): Make sure window is live before
10031 invoking window-prev-buffers.
10032
567457e3
LL
100332011-09-08 Leo Liu <sdl.web@gmail.com>
10034
10035 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10036
97f05794
JL
100372011-09-08 Juri Linkov <juri@jurta.org>
10038
10039 * progmodes/compile.el (compilation-environment): Make it
10040 a defcustom (bug#8340).
10041
8b0874b5
MR
100422011-09-08 Martin Rudalics <rudalics@gmx.at>
10043
10044 * window.el (frame-auto-delete): Rename to window-auto-delete.
10045 Make it control auto-deletion of windows and/or frames.
10046 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10047 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10048 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10049 Rewrite handling of case when window/frame can be deleted.
10050 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10051 argument t. (Bug#9456)
8b0874b5 10052
4feb6e73
CY
100532011-09-07 Chong Yidong <cyd@stupidchicken.com>
10054
10055 * help-mode.el (help-mode): Restore autoload.
10056
91ab9c13
JL
100572011-09-07 Juri Linkov <juri@jurta.org>
10058
10059 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10060 `compilation-environment'. Set buffer-local
10061 `compilation-environment' to `thisenv' later after (funcall mode).
10062 (Bug#8340)
10063
10064 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10065 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10066 instead of replacing its value. (Bug#8340)
10067
0527e251
JL
100682011-09-07 Juri Linkov <juri@jurta.org>
10069
10070 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10071 based on text properties put by `grep-filter' instead of matching
10072 escape sequences.
10073 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10074 to the value of `grep-error-screen-columns' (bug#9438).
10075
249f792c
JL
100762011-09-07 Juri Linkov <juri@jurta.org>
10077
10078 * simple.el (next-error-highlight, next-error-highlight-no-select):
10079 Doc fix (bug#9432).
10080
ff7271b9
OT
100812011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10082
10083 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10084 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10085
183fc730
LL
100862011-09-07 Leo Liu <sdl.web@gmail.com>
10087
10088 * net/rcirc.el (rcirc-mode): Conditionally initialize
10089 rcirc-input-ring.
10090
77694924
SM
100912011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * emacs-lisp/find-func.el (find-function-C-source): Only set
10094 find-function-C-source-directory after checking that we found a source
10095 file there (bug#9440).
10096
d809b8eb
AM
100972011-09-06 Alan Mackenzie <acm@muc.de>
10098
10099 * isearch.el (isearch-other-meta-char): Wherever a key list is
10100 unread, "unread" the prefix arg, too. This fixes bug #8901.
10101
453de99f
OG
101022011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10103
10104 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10105
90439906
JL
101062011-09-05 Juri Linkov <juri@jurta.org>
10107
10108 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10109
f62bd846
JL
101102011-09-05 Juri Linkov <juri@jurta.org>
10111
10112 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10113 keeping point where processing of grep matches begins, and
10114 continue to delete remaining escape sequences from the same point.
10115 (grep-filter): Make leading zero optional in "0?1;31m" because
10116 git-grep emits "\033[1;31m" escape sequences unlike expected
10117 "\033[01;31m" as GNU Grep does (bug#9408).
10118 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10119
045820ec
JL
101202011-09-05 Juri Linkov <juri@jurta.org>
10121
10122 * subr.el (y-or-n-p): Capitalize "yes".
10123
f5e29b9b
MA
101242011-09-04 Michael Albinus <michael.albinus@gmx.de>
10125
10126 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10127 `tramp-cache-unload-hook' where appropriate.
10128 (tramp-methods): Rename `tramp-remote-sh' to
10129 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10130 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10131
10132 * net/tramp-sh.el (top): Don't require 'shell.
10133 (tramp-methods): Add `tramp-remote-shell' and
10134 `tramp-remote-shell-args' entries.
10135 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10136 (tramp-sh-handle-shell-command): Remove.
10137 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10138 Use `tramp-remote-shell'.
10139
2784c434
CY
101402011-09-03 Chong Yidong <cyd@stupidchicken.com>
10141
393a301e 10142 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10143 (sendmail-query-once): Save directly to send-mail-function.
10144 Update message-send-mail-function too.
10145
10146 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10147
464cdf56
CS
101482011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10149
10150 * progmodes/python.el (python-mode-map): Use correct function to
10151 start python interpreter from menu-bar (as reported by Geert
10152 Kloosterman).
10153 (inferior-python-mode-map): Fix typo.
393a301e 10154 (python-shell-map): Remove.
464cdf56 10155
d37e5c87
DD
101562011-09-03 Deniz Dogan <deniz@dogan.se>
10157
10158 * net/rcirc.el (rcirc-print): Simplify code for
10159 rcirc-scroll-show-maximum-output. There is no need to walk
10160 through all windows to find the right one.
10161
f3ada0ee
CS
101622011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10163
10164 * help.el (help-return-method): Doc fix.
10165
1f3c99ca
MR
101662011-09-03 Martin Rudalics <rudalics@gmx.at>
10167
10168 * window.el (window-deletable-p): Don't return a non-nil value
10169 when there's a buffer that was shown in the window before.
10170 (Bug#9419)
393a301e
SM
10171 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10172 Set window's previous buffers to nil.
1f3c99ca 10173
a3cf097f
EZ
101742011-09-03 Eli Zaretskii <eliz@gnu.org>
10175
10176 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10177 newline before and after the tag line, so it doesn't interfere
10178 with determining the paragraph direction of bidirectional text.
10179
3d03de90
LL
101802011-09-03 Leo Liu <sdl.web@gmail.com>
10181
10182 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10183
c3313451
CY
101842011-09-02 Chong Yidong <cyd@stupidchicken.com>
10185
393a301e 10186 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10187 (pop-to-buffer): Change interactive spec. Pass second argument
10188 directly to display-buffer.
10189 (display-buffer): Fix interactive spec. Use functionp to
10190 distinguish between a function and a list of functions.
10191
10192 * abbrev.el (edit-abbrevs):
10193 * arc-mode.el (archive-extract):
10194 * autoinsert.el (auto-insert):
10195 * bookmark.el (bookmark-bmenu-list):
10196 * files.el (find-file):
10197 * view.el (view-buffer):
10198 * progmodes/compile.el (compilation-goto-locus):
10199 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10200
89894cd8
CY
102012011-09-02 Chong Yidong <cyd@stupidchicken.com>
10202
10203 * window.el (display-buffer-alist): Doc fix.
10204 (display-buffer): Add docstring. Don't treat
10205 display-buffer-default specially.
10206 (display-buffer-reuse-selected-window)
10207 (display-buffer-same-window, display-buffer-maybe-same-window)
10208 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10209 (display-buffer-pop-up-window)
10210 (display-buffer-reuse-or-pop-window)
10211 (display-buffer-use-some-window): New functions.
10212 (display-buffer-default-action): Use them.
393a301e 10213 (display-buffer-default): Delete.
89894cd8
CY
10214 (pop-to-buffer-1): Fix choice of actions.
10215
ae0bc9fb
SM
102162011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * minibuffer.el (completion--insert-strings): Don't get confused by
10219 completion entries that end with an LF char.
10220
e9d90883
EZ
102212011-09-01 Eli Zaretskii <eliz@gnu.org>
10222
10223 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10224
437014c8
CY
102252011-09-01 Chong Yidong <cyd@stupidchicken.com>
10226
10227 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10228 (display-buffer-same-window, display-buffer-other-window):
10229 New functions.
437014c8
CY
10230 (pop-to-buffer-1): New function. Use the above.
10231 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10232 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10233
10234 * view.el (view-buffer-other-window, view-buffer-other-frame):
10235 Just use pop-to-buffer.
10236
a5e063d5
TV
102372011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10238
10239 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10240
793d32bb
WH
102412011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10242
10243 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10244
d65e4c15
RS
102452011-08-31 Richard Stallman <rms@gnu.org>
10246
10247 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10248 of the separation of rmail-view-buffer from rmail-buffer.
10249 If you say no to "replace original", the decrypt is in the
10250 view buffer. If you say yes, the decrypt goes into the
10251 rmail buffer also.
10252
f818cd2a
MR
102532011-08-31 Martin Rudalics <rudalics@gmx.at>
10254
10255 * window.el (display-buffer-window): Rewrite doc-string.
10256 (display-buffer-record-window): New function.
10257 (display-buffer-macro-specifiers)
10258 (display-buffer-even-window-sizes, display-buffer-set-height)
10259 (display-buffer-set-width, display-buffer-in-window)
10260 (display-buffer-reuse-window, display-buffer-split-specifiers)
10261 (display-buffer-side-specifiers, display-buffer-split-window-1)
10262 (display-buffer-split-window, display-buffer-split-atom-window)
10263 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10264 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10265 (display-buffer-other-window-means-other-frame)
10266 (display-buffer-normalize-special)
10267 (display-buffer-normalize-default)
10268 (display-buffer-normalize-argument)
10269 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10270 (display-buffer-normalize-specifiers, display-buffer-frame)
10271 (display-buffer-same-window, display-buffer-same-frame)
10272 (display-buffer-other-window)
10273 (display-buffer-same-frame-other-window)
10274 (display-buffer-other-frame, pop-to-buffer-same-window)
10275 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10276 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10277 (switch-to-buffer-same-frame)
10278 (switch-to-buffer-other-window-same-frame)
10279 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10280 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10281 (display-buffer-alist-set): Remove.
10282 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10283 (special-display-regexps, special-display-function):
10284 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10285 parameter.
10286 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10287 (special-display-frame-alist, special-display-popup-frame)
10288 (same-window-buffer-names, same-window-regexps, same-window-p)
10289 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10290 (split-window-preferred-function, split-height-threshold)
10291 (split-width-threshold, window-splittable-p)
10292 (split-window-sensibly, window--try-to-split-window)
10293 (window--frame-usable-p, even-window-heights)
10294 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10295 (window--display-buffer-2, display-buffer-other-frame):
10296 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10297 (display-buffer-default, display-buffer-assq-regexp): New functions.
10298 (display-buffer-alist): Rewrite doc-string.
10299 (display-buffer-default-action)
10300 (display-buffer-overriding-action): New variables.
10301 (display-buffer, switch-to-buffer): Rewrite.
10302 (pop-to-buffer): Restore Emacs 23 behavior but use
10303 window-normalize-buffer-to-display.
10304 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10305 Restore Emacs 23 behavior but use
10306 window-normalize-buffer-to-switch-to.
10307 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10308 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10309 Rewrite using Emacs 23 options.
f818cd2a 10310
5bc3b51d
MA
103112011-08-31 Michael Albinus <michael.albinus@gmx.de>
10312
10313 * net/tramp.el (tramp-root-regexp): Remove.
10314 (tramp-completion-file-name-regexp-unified)
10315 (tramp-completion-file-name-regexp-separate)
10316 (tramp-completion-file-name-regexp-url): Don't use leading volume
10317 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10318 (tramp-drop-volume-letter): Simplify definition.
10319 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10320
b1a4f8e1
SM
103212011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10324 (bug#9356).
10325
5664fa7b
RT
103262011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10327
b1a4f8e1 10328 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10329
9a45d6c3
JL
103302011-08-29 Juri Linkov <juri@jurta.org>
10331
10332 * isearch.el (isearch-done): Don't display message "Mark saved"
10333 when arg `edit' is non-nil to prevent its flicker in the echo area.
10334
fb87e0fb
CY
103352011-08-28 Chong Yidong <cyd@stupidchicken.com>
10336
10337 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10338 obsolete packages for deletion.
10339
09ac1c2a
CS
103402011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10341
10342 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10343 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10344 view-mode from help-mode.
10345 (help-xref-override-view-map): Remove.
10346 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10347 view-mode is not used anymore.
10348
7a1ff57f
CY
103492011-08-28 Chong Yidong <cyd@stupidchicken.com>
10350
10351 * server.el (server-port): Doc fix.
10352
b9696605
CY
10353 * cus-theme.el (custom-theme-choose-mode): Inherit from
10354 special-mode (Bug#9124).
10355 (custom-theme-choose-mode-map): Add special-mode to parent.
10356
ef8cdf8c
AM
103572011-08-28 Alan Mackenzie <acm@muc.de>
10358
10359 * progmodes/cc-fonts.el
10360 (c-make-font-lock-BO-decl-search-function): New function.
10361 (c-basic-matchers-after - "Fontify the clauses after various
10362 keywords"): Extract the three keyword lists for the 3 erroneous
10363 constructs from the list of four, and use the new function above
10364 in place of an old one.
10365
27de4e20
DD
103662011-08-28 Deniz Dogan <deniz@dogan.se>
10367
10368 * net/rcirc.el (rcirc-insert-prev-input)
10369 (rcirc-insert-next-input): Remove unused argument.
10370
356a3681
SM
103712011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10374
3fc9b218
AM
103752011-08-27 Alan Mackenzie <acm@muc.de>
10376
10377 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10378 handle function pointer parameters properly.
10379
538a061c
MR
103802011-08-27 Martin Rudalics <rudalics@gmx.at>
10381
10382 * window.el (display-buffer-reuse-window): Fix case where
10383 selected window was reused with non-nil OTHER-WINDOW argument.
10384 (Bug#9381)
10385
35b1c40c
DD
103862011-08-27 Deniz Dogan <deniz@dogan.se>
10387
10388 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10389 oftc's NickServ messages.
10390
2f6a3e79
GM
103912011-08-27 Glenn Morris <rgm@gnu.org>
10392
10393 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10394
7254299e
CY
103952011-08-26 Chong Yidong <cyd@stupidchicken.com>
10396
10397 * emacs-lisp/package.el (package-install): Call package-initialize
10398 if called interactively.
10399
f8ccf167
LL
104002011-08-26 Leo Liu <sdl.web@gmail.com>
10401
10402 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10403
3e8cd5ce
JL
104042011-08-25 Juri Linkov <juri@jurta.org>
10405
10406 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10407 `search-whitespace-regexp' (bug#9364).
10408
93eb7113
JL
104092011-08-25 Juri Linkov <juri@jurta.org>
10410
10411 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10412 `regexp-search-ring' to their global values to protect from
10413 updating by `read-from-minibuffer' (bug#9185).
10414
f65d1611
JL
104152011-08-25 Juri Linkov <juri@jurta.org>
10416
10417 * textmodes/ispell.el (ispell-command-loop): Add newline
10418 at the end of the "Use option `i'..." line.
10419
f1cf7a31
JL
104202011-08-25 Juri Linkov <juri@jurta.org>
10421
10422 * battery.el (display-battery-mode): If `battery-status-function'
10423 or `battery-mode-line-format' is nil, display the message and set
10424 `display-battery-mode' to nil (bug#9363).
10425
0c95fcf7
EZ
104262011-08-25 Eli Zaretskii <eliz@gnu.org>
10427
10428 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10429 bidi-string-mark-left-to-right; they are unnecessary now.
10430
a2ebe600
DD
104312011-08-25 Deniz Dogan <deniz@dogan.se>
10432
10433 * net/quickurl.el: Documentation typo fixes.
10434
e4ed06f1
CY
104352011-08-25 Chong Yidong <cyd@stupidchicken.com>
10436
10437 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10438
e5f1c99e
GM
104392011-08-25 Glenn Morris <rgm@gnu.org>
10440
b2948976
GM
10441 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10442
e5f1c99e
GM
10443 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10444 (smtpmail-via-smtp): Handle nil response from smtp.
10445
f22f4808
JL
104462011-08-24 Juri Linkov <juri@jurta.org>
10447
10448 * proced.el (proced-marked): Inherit from `error' instead of
10449 `font-lock-warning-face'.
10450
10451 * ibuffer.el (ibuffer-marked-face): Change default face from
10452 `font-lock-warning-face' to `warning'.
10453 (ibuffer-deletion-face): Change default face from
10454 `font-lock-type-face' to `error'.
10455
10456 * battery.el (battery-update): Use the face `error' instead of
10457 `font-lock-warning-face' (bug#6117).
10458
6a93965e
JL
104592011-08-24 Juri Linkov <juri@jurta.org>
10460
10461 * faces.el (success): Change face color from "Green3" to
10462 "ForestGreen" on light background (bug#9353).
10463
1ed43b09
CY
104642011-08-24 Chong Yidong <cyd@stupidchicken.com>
10465
5664fa7b
RT
10466 * window.el (quit-window): Rename from quit-restore-window.
10467 Use same arglist as old quit-window.
1ed43b09
CY
10468 (frame-auto-delete): Doc fix.
10469
10470 * view.el (view-mode-exit): Use quit-window.
10471
11dcdbb2
JL
104722011-08-24 Juri Linkov <juri@jurta.org>
10473
10474 * isearch.el (isearch-ring-adjust1): Start visiting previous
10475 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10476 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10477 for empty search string (when the last search string is reused
10478 automatically) to adjust the isearch ring to the last element and
10479 prepare the correct index for further M-p commands (bug#9185).
10480
de62b4df
KH
104812011-08-24 Kenichi Handa <handa@m17n.org>
10482
10483 * international/ucs-normalize.el: If decomposition property of
10484 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10485 nil.
10486 (nfd, nfkd): Likewise.
10487
963b492b
SM
104882011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10491 from process filters aren't reliably transmitted to the surrounding
10492 accept-process-output.
10493 (mpc-proc-check): New function.
10494 (mpc-proc-sync): Use it (bug#8293)
10495
93b6b5e1
SM
104962011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10497
10498 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10499 Add compatibility functions (bug#9313).
10500
bca633fb
EZ
105012011-08-23 Eli Zaretskii <eliz@gnu.org>
10502
b177498a
EZ
10503 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10504
6df6ae42 10505 * international/uni-bidi.el: Regenerate.
bca633fb 10506
0902a04e
KH
105072011-08-23 Kenichi Handa <handa@m17n.org>
10508
10509 * international/charprop.el:
10510 * international/uni-bidi.el:
10511 * international/uni-category.el:
10512 * international/uni-combining.el:
10513 * international/uni-comment.el:
10514 * international/uni-decimal.el:
10515 * international/uni-decomposition.el:
10516 * international/uni-digit.el:
10517 * international/uni-lowercase.el:
10518 * international/uni-mirrored.el:
10519 * international/uni-name.el:
10520 * international/uni-numeric.el:
10521 * international/uni-old-name.el:
10522 * international/uni-titlecase.el:
10523 * international/uni-uppercase.el: Regenerate.
10524
3bbf23bc
MR
105252011-08-23 Martin Rudalics <rudalics@gmx.at>
10526
10527 * help.el (help-window-setup): Fix message displayed when other
10528 window is reused. (Bug#9341)
10529
b3fd59bd
SM
105302011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10531
1802e444
SM
10532 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10533 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10534
b3fd59bd
SM
10535 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10536 Mark obsolete.
10537 * shell.el (shell-parse-pcomplete-arguments): New function.
10538 (shell-completion-vars): Use it instead (bug#9160).
10539
4eb61348
SM
105402011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10541
867cab74
SM
10542 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10543 strings and comments (bug#9333).
10544
4eb61348
SM
10545 * emacs-lisp/debug.el (debug-arglist): New function.
10546 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10547 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10548
262a1439
JL
105492011-08-22 Juri Linkov <juri@jurta.org>
10550
56ee679c
JL
10551 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10552 Revert regexp that highlights output switches to its old
10553 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10554
262a1439
JL
10555 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10556 to check for empty output (bug#9226).
10557
f13f86fb
CY
105582011-08-22 Chong Yidong <cyd@stupidchicken.com>
10559
10560 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10561 symbol-constituent as the default, as that stops font-lock from
10562 working properly (Bug#8843).
10563
c65c9622
LMI
105642011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10565
10566 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10567 `coding-system-for-*' around the process open call to avoid
10568 auth-source side effects.
e7f2c178 10569 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10570 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10571 probe hangs.
c65c9622 10572
23a8a5ab
CY
105732011-08-21 Chong Yidong <cyd@stupidchicken.com>
10574
ff98b2dd
CY
10575 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10576
23a8a5ab
CY
10577 * emacs-lisp/find-func.el (find-function-noselect): New arg
10578 lisp-only.
10579
10580 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10581 signal an error for built-in functions (Bug#6664).
10582
f5e3c598
LMI
105832011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10584
10585 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10586 (smtpmail-try-auth-methods): Use it.
10587
a3f2468a
CY
105882011-08-21 Chong Yidong <cyd@stupidchicken.com>
10589
2c34e8da
CY
10590 * font-lock.el (font-lock-fontify-region)
10591 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10592 (font-lock-default-unfontify-buffer)
10593 (font-lock-default-fontify-region)
10594 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10595
b3fd59bd
SM
10596 * progmodes/compile.el (compilation-error-properties):
10597 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10598 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10599 `ant' regexp.
ee31aabc 10600
a3f2468a
CY
10601 * net/browse-url.el (browse-url-firefox): Don't call
10602 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10603
8e999f70
GM
106042011-08-20 Glenn Morris <rgm@gnu.org>
10605
c21a496a
GM
10606 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10607
59ee0542
GM
10608 * tutorial.el (tutorial--default-keys): Update some default bindings.
10609
8e999f70
GM
10610 * files.el (hack-local-variables): Fully ignore case for "mode:".
10611
e3715033
AM
106122011-08-20 Alan Mackenzie <acm@muc.de>
10613
10614 Resolve invalid use of a regexp in regexp-opt.
10615
4d61f28d
JB
10616 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10617 detection for a java annotation.
e3715033 10618
4d61f28d 10619 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10620 detection for a java annotation.
10621
4d61f28d
JB
10622 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10623 handling for java.
e3715033
AM
10624 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10625
04ed2e9c
CY
106262011-08-20 Chong Yidong <cyd@stupidchicken.com>
10627
10628 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10629 (Bug#9274).
10630
826cee64
AM
106312011-08-20 Alan Mackenzie <acm@muc.de>
10632
58179cce 10633 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10634 such a construct. Mainly for when jit-lock etc. starts a chunk
10635 here.
10636
58179cce 10637 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10638 variable.
58179cce 10639 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10640 c-make-font-lock-search-function.
10641 (c-make-font-lock-search-function): Use the above function.
10642 (c-make-font-lock-context-search-function): New function.
10643 (c-cpp-matchers): Enhance the preprocessor expression case with
10644 the above function
10645 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10646 which takes an expression.
10647
10648 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10649
13009bd8
MR
106502011-08-20 Martin Rudalics <rudalics@gmx.at>
10651
10652 * window.el (display-buffer-reuse-window)
10653 (display-buffer-pop-up-window): Don't reuse or split a side
10654 window.
10655
9234ff7f
GM
106562011-08-19 Glenn Morris <rgm@gnu.org>
10657
10658 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10659 Downcase "Mode:". (Bug#9331)
9234ff7f 10660
f635daa1
CY
106612011-08-18 Chong Yidong <cyd@stupidchicken.com>
10662
10663 * international/characters.el: Add L and R categories.
10664
10665 * subr.el (bidi-string-mark-left-to-right): Rename from
10666 string-mark-left-to-right. Use category search.
10667
10668 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10669
bc987f8b
JL
106702011-08-18 Juri Linkov <juri@jurta.org>
10671
10672 * faces.el (error, warning, success): New faces with definitions
10673 copied from old default values of `font-lock-warning-face',
10674 `compilation-warning', `compilation-info' (bug#6117).
10675
10676 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10677
10678 * progmodes/compile.el (compilation-error): Inherit from `error'.
10679 (compilation-warning): Inherit from `warning'.
10680 (compilation-info): Inherit from `success'.
10681
10682 * dired.el (dired-marked): Inherit from `warning'.
10683 (dired-flagged): Inherit from `error'.
10684
57173b96
LMI
106852011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10686
3e79eb87
LMI
10687 * mail/smtpmail.el (auth-source): Require to avoid problems with
10688 binding variables (bug#9298). Also clean up some unused
10689 autoloads.
10690
b3fd59bd
SM
10691 * net/network-stream.el (network-stream-open-starttls):
10692 Support using starttls.el without using gnutls-cli.
57173b96 10693
02b404de
JL
106942011-08-17 Juri Linkov <juri@jurta.org>
10695
10696 * progmodes/grep.el (rgrep): Handle the case when
10697 `grep-find-command' is a cons cell (bug#9278).
10698
8c9177f2
MR
106992011-08-17 Martin Rudalics <rudalics@gmx.at>
10700
10701 * window.el (display-buffer-pop-up-frame): Run frame creation
10702 function with BUFFER current (as special-display-popup-frame
10703 does). Reported by Drew Adams.
10704
3644a0ab
DU
107052011-08-17 Daiki Ueno <ueno@unixuser.org>
10706
10707 * epa-mail.el: Simplify GnuPG group expansion using
10708 epg-expand-group.
10709 (epa-mail-group-alist, epa-mail-group-modtime)
10710 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10711 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10712 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10713 Remove.
10714
5e617bc2 107152011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10716
10717 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10718
9c4aeabf
AM
107192011-08-16 Alan Mackenzie <acm@muc.de>
10720
10721 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10722 Correct, to avoid the inside of macros.
10723
3a99bf64
RS
107242011-08-16 Richard Stallman <rms@gnu.org>
10725
04963aa8
RS
10726 * epa-mail.el: Handle GnuPG group definitions.
10727 (epa-mail-group-alist, epa-mail-group-modtime)
10728 (epa-mail-gnupg-conf-file): New variables.
10729 (epa-mail-parse-groups, epa-mail-sync-groups)
10730 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10731 (epa-mail-expand-recipients): New functions.
10732 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10733
177549d0
RS
10734 * mail/rmail.el (rmail-epa-decrypt): New command.
10735
fe38beef
RS
10736 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
10737 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
10738 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
10739 (epa-decrypt-armor-in-region): Make error message clearer.
10740
934eacb9
SM
107412011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
10744 and "a2b" to "ab" for `prefix'.
10745
d024fb4e
CY
107462011-08-14 Chong Yidong <cyd@stupidchicken.com>
10747
10748 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
10749 filter groups.
de148fee
CY
10750 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
10751 Fourquet (Bug#8804).
d024fb4e 10752
62f1ca49
JB
107532011-08-12 Juanma Barranquero <lekktu@gmail.com>
10754
10755 * startup.el (argi): Declare as global variable (bug#9275).
10756
9ccaaa4b
CY
107572011-08-12 Chong Yidong <cyd@stupidchicken.com>
10758
10759 * subr.el (string-mark-left-to-right): Search the entire string
10760 for RTL script, not just the terminating character. Doc fix.
10761
a3dae87a
SM
107622011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10763
6cd18349
SM
10764 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
10765 New function.
10766 (js--regexp-literal, js-syntax-propertize-function): Remove.
10767 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
10768 (js-mode-map): Don't rebind electric keys.
10769 (js-insert-and-indent): Remove.
10770 (js-mode): Setup electric-layout and electric-indent instead.
10771
a3dae87a
SM
10772 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
10773
9d5cb631
DU
107742011-08-12 Daiki Ueno <ueno@unixuser.org>
10775
10776 * epa.el (epa-progress-callback-function): Fix the logic of
10777 displaying progress.
10778 * epa-file.el (epa-file-insert-file-contents): Make progress
10779 display more user-friendly.
10780 (epa-file-write-region): Ditto.
10781
3e26a4a2
CY
107822011-08-10 Chong Yidong <cyd@stupidchicken.com>
10783
10784 * subr.el (string-mark-left-to-right): New function.
10785
10786 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
10787 Use string-mark-left-to-right.
10788 (list-buffers-noselect): Caller changed.
10789
a3dae87a
SM
10790 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10791 Use string-mark-left-to-right.
3e26a4a2
CY
10792 (tabulated-list-print): Recenter after moving point.
10793
ac8cf6e6
JL
107942011-08-10 Juri Linkov <juri@jurta.org>
10795
10796 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
10797 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
10798 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
10799
8d96c9a4
CY
108002011-08-09 Chong Yidong <cyd@stupidchicken.com>
10801
10802 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
10803 (Bug#7554).
10804
7be1c708 108052011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
10806
10807 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
10808 character. (Bug#6594)
10809
37e11a63
CY
108102011-08-08 Chong Yidong <cyd@stupidchicken.com>
10811
839dde57
CY
10812 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
10813 (image-dired--with-db-file): New macro.
10814 (image-dired-write-tags, image-dired-remove-tag)
10815 (image-dired-create-gallery-lists, image-dired-write-comments)
10816 (image-dired-get-comment, image-dired-mark-tagged-files)
10817 (image-dired-list-tags, image-dired-gallery-generate): Use it.
10818 (image-dired-gallery-generate): Use insert-file-contents.
10819
37e11a63
CY
10820 * time.el (display-time-world-list, display-time-world-display):
10821 * time-stamp.el (time-stamp-string):
10822 * vc/add-log.el (add-change-log-entry): Use setenv instead of
10823 set-time-zone-rule (Bug#7337).
10824
0b4946c4
DU
108252011-08-08 Daiki Ueno <ueno@unixuser.org>
10826
10827 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
10828 (epg-error-to-string, epg-errors-to-string): New function.
10829 (epg-wait-for-completion): Reverse errors list.
10830 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
10831 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
10832 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
10833 (epg-sign-keys, epg-generate-key-from-file)
10834 (epg-generate-key-from-string): Format errors by using
10835 epg-errors-to-string (bug#9255).
10836 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
10837
75bfc667
JL
108382011-08-07 Juri Linkov <juri@jurta.org>
10839
10840 * faces.el (list-faces-display): Remove extra angle bracket
10841 from `help-mode-map'.
10842
10843 * info.el (Info-history-toc-nodes): Doc fix.
10844
10845 * longlines.el (longlines-mode): Doc fix.
10846
673e08bb
SM
108472011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10848
4640dd88
SM
10849 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10850 of statements and in a few more cases (bug#9183).
10851
673e08bb
SM
10852 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10853 New functions.
10854 (cl-transform-lambda): Use them (bug#9239).
10855
89b3f019
MR
108562011-08-05 Martin Rudalics <rudalics@gmx.at>
10857
10858 * window.el (display-buffer-same-window)
10859 (display-buffer-same-frame, display-buffer-other-window)
10860 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10861 (pop-to-buffer-other-window)
10862 (pop-to-buffer-same-frame-other-window)
10863 (pop-to-buffer-other-frame): Make them defuns.
10864 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10865
640c8776
SM
108662011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10867
10868 * subr.el (make-composed-keymap): Move from C. Change calling
10869 convention, and improve docstring to bring attention to a subtle point.
10870 * minibuffer.el (completing-read-default): Adjust accordingly.
10871
63648a95
MA
108722011-08-03 Michael Albinus <michael.albinus@gmx.de>
10873
10874 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10875 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10876
10877 * net/trampver.el: Update release number.
10878
b796c9b7
SM
108792011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10880
10881 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10882 "in" (bug#9190).
10883
2239d7d5
LMI
108842011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10885
e07dd7c3
LMI
10886 * mail/sendmail.el (sendmail-query-once): Restore the current
10887 buffer after querying (bug#9074).
10888
0e6a2bd7
LMI
10889 * dired.el (dired-flagged): Use different faces for marked and
10890 flagged files (bug#6117).
10891
ce887515
LMI
10892 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10893 (bug#4433).
10894
92f2affc
LMI
10895 * ido.el (ido-mode): Switch off the message if called
10896 non-interactively.
10897
57d5aff0
LMI
10898 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10899 before 587, since it appears that that's more likely to work for
10900 more people.
10901
98cd6c18 10902 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10903 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10904 exist.
10905
b96dec83
LMI
10906 * info.el: Remove the `Info-beginning-of-buffer' function
10907 (bug#8325).
10908
b796c9b7
SM
10909 * net/network-stream.el (network-stream-open-starttls):
10910 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10911
d90e2ea0
MR
109122011-08-01 Martin Rudalics <rudalics@gmx.at>
10913
10914 * window.el (display-buffer-in-window): Don't set dedicated status
10915 of window here (Bug#9215).
10916 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10917 (display-buffer-pop-up-side-window)
b796c9b7 10918 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10919
cca09170
SM
109202011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10921
10922 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10923 before binding generated-autoload-file.
10924
027b979c
DD
109252011-08-01 Deniz Dogan <deniz@dogan.se>
10926
10927 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10928
3c7ee4f3
MA
109292011-07-30 Michael Albinus <michael.albinus@gmx.de>
10930
10931 Sync with Tramp 2.2.2.
10932
10933 * net/trampver.el: Update release number.
10934
2cc8e51a
JL
109352011-07-30 Juri Linkov <juri@jurta.org>
10936
10937 * dired-aux.el (dired-touch-initial): Remove function.
10938 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10939 current time, and `default' to the last modification time of the
10940 current marked file (bug#6887).
10941
a514d856
JM
109422011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10943
10944 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10945 numeric argument to read-number (bug#9163).
a514d856 10946
8a7eddd7
MA
109472011-07-27 Michael Albinus <michael.albinus@gmx.de>
10948
10949 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10950 connection process, it could be nil.
10951
1ddd96f5
LL
109522011-07-27 Leo Liu <sdl.web@gmail.com>
10953
10954 Simplify url handling in rcirc-mode.
10955
10956 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10957 (rcirc-browse-url-at-mouse): Remove.
10958 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10959
b248a85d
AM
109602011-07-26 Alan Mackenzie <acm@muc.de>
10961
10962 Fontify bitfield declarations properly.
10963
10964 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10965 (c-symbol-chars): Now exported as a lang variable.
10966 (c-not-primitive-type-keywords): New lang variable.
10967
10968 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10969 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10970 parsed as a bitfield declaration.
b248a85d 10971
b796c9b7
SM
10972 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10973 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10974 (c-punctuation-in): New function.
10975 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10976 declarations properly.
10977
68575ab0
UJ
109782011-07-26 Ulf Jasper <ulf.jasper@web.de>
10979
10980 * calendar/icalendar.el (icalendar--all-events): Take care of
10981 multiple vcalendars in a single file.
b796c9b7 10982 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10983
0f0a88b9
DD
109842011-07-25 Deniz Dogan <deniz@dogan.se>
10985
10986 * image.el (insert-image): Clarifying docstring.
10987
0b3f36df
MA
109882011-07-24 Michael Albinus <michael.albinus@gmx.de>
10989
10990 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10991 `tramp-send-command-and-check' if there is no error.
10992 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10993
a9901f61
AM
109942011-07-22 Alan Mackenzie <acm@muc.de>
10995
10996 Prevent cc-langs.elc being loaded at run time.
10997
10998 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10999 cc-langs.
11000
4d61f28d 11001 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11002 "(require 'cc-langs)". Quote a form so it will evaluate at
11003 (cc-mode's) compilation time.
11004
11d074b2
MA
110052011-07-22 Michael Albinus <michael.albinus@gmx.de>
11006
11007 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11008 loading. (Bug#9114)
11009
938b94c8
MR
110102011-07-21 Martin Rudalics <rudalics@gmx.at>
11011
11012 * window.el (display-buffer-pop-up-window)
11013 (display-buffer-pop-up-side-window)
11014 (display-buffer-in-side-window): Call display-buffer-set-height
11015 and display-buffer-set-width after setting the new window's
b796c9b7 11016 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11017
bfa4f190
SS
110182011-07-20 Sam Steingold <sds@gnu.org>
11019
11020 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11021 (etags-tags-included-tables): Call `convert-standard-filename' on
11022 the file names contained in TAGS so that windows Emacs can handle
11023 TAGS files created by cygwin ctags.
11024
8ca42262
LMI
110252011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11026
11027 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11028 which apparently didn't work.
11029
5db2afd2 110302011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11031
5db2afd2
RW
11032 * proced.el (proced-send-signal): For *Marked Processes* buffer
11033 put point at beginning of buffer.
11034
92e15d10
SB
110352011-07-19 Stephen Berman <stephen.berman@gmx.net>
11036
11037 * proced.el (proced-format): Make header lines align with the text
11038 (bug#1779).
11039
1bfd59e5
LMI
110402011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11041
11042 * view.el (view-buffer): Allow running in `special' modes if we're
11043 visiting a file (bug#8615).
11044
f5aae37c
MR
110452011-07-19 Martin Rudalics <rudalics@gmx.at>
11046
11047 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11048 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11049 New functions.
f5aae37c
MR
11050 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11051 more accurately.
11052
bf2c1571
AM
110532011-07-18 Alan Mackenzie <acm@muc.de>
11054
11055 Fontify declarators properly when, e.g., a jit-lock chunk begins
11056 inside a declaration.
11057
11058 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11059
b796c9b7
SM
11060 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11061 New function.
bf2c1571
AM
11062 (c-complex-decl-matchers): Insert reference to
11063 c-font-lock-enclosing-decls.
11064
11065 * progmodes/cc-engine.el (c-backward-single-comment):
11066 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11067 to nil around calls to (forward-comment -1).
11068
4e190b80
LMI
110692011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11070
12dc863d
LMI
11071 * image.el (put-image): Doc typo fix.
11072
a762e966
LMI
11073 * progmodes/etags.el (tags-search): Doc typo fix.
11074
4e190b80
LMI
11075 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11076 password if we get errors 550 to 554.
11077
f019fb21
LMI
110782011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11079
b796c9b7 11080 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11081
81746738
LMI
11082 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11083 indentation character (bug#6380).
11084
3ee3a1b5
LMI
11085 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11086
c82f64de
LMI
11087 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11088 to clarify what the problem is (bug#4291).
11089
f019fb21
LMI
11090 * simple.el (current-kill): Clarify what
11091 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11092 (auto-fill-mode): Document `auto-fill-function' in relation to
11093 `auto-fill-mode' (bug#2470).
f019fb21 11094
0794775d
LM
110952011-07-16 Lawrence Mitchell <wence@gmx.li>
11096
11097 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11098 method if slot is read-only (bug#9035).
11099
be39b8cc
MR
111002011-07-16 Martin Rudalics <rudalics@gmx.at>
11101
b796c9b7 11102 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11103 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11104 selected before, see discussion of (Bug#8615), (Bug#6954).
11105 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11106
6ccf7859
GM
111072011-07-15 Glenn Morris <rgm@gnu.org>
11108
11109 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11110 Respect help-form.
6ccf7859 11111
87e86684
LM
111122011-07-09 Lawrence Mitchell <wence@gmx.li>
11113
11114 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11115 (gnutls-negotiate): Use it.
11116
d6066239
LMI
111172011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11118
b796c9b7
SM
11119 * net/gnutls.el (gnutls-negotiate):
11120 Upcase `gnutls-algorithm-priority'.
d6066239 11121
bd23ebc0
GM
111222011-07-15 Glenn Morris <rgm@gnu.org>
11123
c65bca65
GM
11124 * jka-compr.el (jka-compr-verbose): Move from here...
11125 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11126 Add missing :version tag.
11127 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11128
478615cc
LMI
111292011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11130
7b41decb
LMI
11131 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11132 (gnutls-negotiate): Use it.
11133
dbc44fcd
LMI
11134 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11135
06789f97
LMI
11136 * info.el (Info-beginning-of-buffer): New command.
11137 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11138 announcing `b' as the key (bug#8325).
ab896c37 11139 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11140
c39da690
LMI
11141 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11142
3aa5f34b
LMI
11143 * international/mule-cmds.el
11144 (describe-specified-language-support): Make the error message
11145 clearer (bug#8905).
11146
4bf0979f
LMI
11147 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11148
478615cc
LMI
11149 * isearch.el (isearch-barrier): Add a doc string, since it's
11150 mentioned in a function doc string (bug#8678).
11151
75c68aa1
MR
111522011-07-15 Martin Rudalics <rudalics@gmx.at>
11153
11154 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11155 buffer argument (Bug#9083) and self-identifying label argument.
11156
a7c33da2
GM
111572011-07-15 Glenn Morris <rgm@gnu.org>
11158
11159 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11160
2f5c6024
LMI
111612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11162
11163 * man.el (Man-fontify-manpage): Fix message when formatting the
11164 man page (bug#7929).
11165
0bb23927 111662011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11167
11168 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11169 argument LRM; if non-nil, append an invisible LRM character to the
11170 buffer name.
11171 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11172 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11173 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11174 paragraph direction.
cce4b0a7 11175
621ef9ab
LMI
111762011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11177
d1583c48
LMI
11178 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11179 the man page name (bug#7929).
11180
6a57fb5f
LMI
11181 * image.el (put-image): Mention the `put-image' overlay property
11182 (bug#7834).
11183
d7956b14
LMI
11184 * scroll-bar.el (set-scroll-bar-mode): Mention that
11185 `scroll-bar-mode' lists the values (bug#7772).
11186
5b2d4a66
LMI
11187 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11188 command (bug#7729).
11189
7509a874
LMI
11190 * rect.el (apply-on-rectangle): Return the point after the last
11191 operation.
11192 (string-rectangle): Go to the point after the last operation
11193 (bug#7522).
11194
4fe74b19
LMI
11195 * printing.el (pr-toggle-region): Clarify the documentation
11196 slightly (bug#7493).
11197
b796c9b7
SM
11198 * time.el (display-time-update):
11199 Allow `display-time-mail-function' to return nil (bug#7158).
11200 Fix suggested by Detlev Zundel.
ab283561 11201
fc233c9d
LMI
11202 * vc/diff.el (diff): Clarify the order the file names are read
11203 (bug#7111).
11204
43f5740b
LMI
11205 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11206 the doc string (bug#7015).
11207
f2182a76
LMI
11208 * font-lock.el (font-lock-maximum-decoration): Mention what
11209 numeric levels mean (bug#6935).
11210
621ef9ab
LMI
11211 * startup.el (initial-buffer-choice): Don't mention the `none'
11212 selection, which is against policy.
11213
adc47434
MR
112142011-07-14 Martin Rudalics <rudalics@gmx.at>
11215
b796c9b7
SM
11216 * window.el (display-buffer-normalize-special):
11217 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11218
7e5bfb8f
EZ
112192011-07-14 Eli Zaretskii <eliz@gnu.org>
11220
11221 * subr.el (version<, version<=, version=): Mention "-CVS" and
11222 "-12345" alpha version numbers.
11223
27fa387a
CY
112242011-07-14 Chong Yidong <cyd@stupidchicken.com>
11225
11226 * bindings.el: Add advertised binding for set-mark-command
11227 (Bug#5772).
11228
8bdfa064
CY
112292011-07-14 Chong Yidong <cyd@stupidchicken.com>
11230
11231 * bindings.el (mode-line-other-buffer):
11232 * bookmark.el (bookmark-bmenu-2-window):
11233 * bs.el (bs-cycle-next, bs-cycle-previous):
11234 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11235 switch-to-buffer.
11236
11237 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11238 Delete.
8bdfa064 11239
5eba16a3
JB
112402011-07-14 Juanma Barranquero <lekktu@gmail.com>
11241
11242 * follow.el (follow-debug-message, follow-redisplay):
11243 * jka-cmpr-hook.el (with-auto-compression-mode):
11244 Fix typos in docstrings.
11245
15853710
LMI
112462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11247
a28e4607
LMI
11248 * subr.el (with-silent-modifications): Clarify somewhat what the
11249 macro inhibits (bug#6525).
11250
15853710
LMI
11251 * simple.el (eval-expression): Note what it does if called
11252 interactively (bug#6495).
11253
bee0fcef
CY
112542011-07-13 Chong Yidong <cyd@stupidchicken.com>
11255
b796c9b7
SM
11256 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11257 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11258
11259 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11260 Remove switch-to-buffer.
11261
58274504
LMI
112622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11263
bd2fcc8d
LMI
11264 * files.el (make-directory): Clarify that an error will be raised
11265 if there's an error (bug#6397).
11266
0f04b32c
LMI
11267 * startup.el (initial-buffer-choice): Add `none' as a choice
11268 (bug#6234).
11269
465c5fc8
LMI
11270 * subr.el (add-hook): Clarify section about buffer-local hooks
11271 (bug#6218).
11272
58274504
LMI
11273 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11274
bead9a43
JB
112752011-07-13 Juanma Barranquero <lekktu@gmail.com>
11276
11277 * tabify.el (untabify): Preserve the current column so that point
11278 doesn't move (bug#6032).
11279
3af98a7b
LMI
112802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11281
b796c9b7
SM
11282 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11283 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11284
6240145a
GM
112852011-07-13 Glenn Morris <rgm@gnu.org>
11286
11287 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11288 (dired-insert-directory): Give a message the first time
11289 if ls is found not to support --dired.
11290
1d8c2ccc
LMI
112912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11292
11293 * simple.el (toggle-truncate-lines): Clarify what is toggled
11294 (bug#5580). Text by Drew Adams.
11295
5fc4038e
CY
112962011-07-13 Chong Yidong <cyd@stupidchicken.com>
11297
11298 * simple.el (blink-matching-open): Make the error message from the
11299 last change less verbose.
11300
bf6012e5
DN
113012011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11302
11303 * font-lock.el (font-lock-comment-face): Use the high contrast
11304 "yellow" color for font-lock-comment-face on low color terminals
11305 using a dark background color (bug#4221).
11306
343c3b5a
LMI
113072011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11308
7e9505c5
LMI
11309 * dired.el (dired-insert-set-properties): Make the doc string
11310 reflect what it does now (bug#5325).
11311
c26fdcf5
LMI
11312 * simple.el (blink-matching-open): Say that we were unable to find
11313 the match within the limit, if we're limited (bug#5122).
11314
bb388cc5
LMI
11315 * international/mule-cmds.el (prefer-coding-system): Add an
11316 example (bug#4869).
11317
343c3b5a
LMI
11318 * progmodes/etags.el (tags-search): Document `file-list-form'
11319 (bug#4731).
11320
2a517d45
LM
113212011-07-13 Lawrence Mitchell <wence@gmx.li>
11322
11323 * net/browse-url.el (browse-url-default-browser)
11324 (browse-url-browser-function): Make the default browser choice a
11325 bit more logical (bug#4300). Also clean up the doc string.
11326
b6c78ef2
JB
113272011-07-13 Juanma Barranquero <lekktu@gmail.com>
11328
11329 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11330 binary endings (bug#4440).
11331
1c4dd947
LMI
113322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11333
a2014063
LMI
11334 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11335 which can be pretty annoying (bug#8971).
11336
9c9c2d88
LMI
11337 * jka-compr.el (jka-compr-verbose): New variable, and use
11338 throughout (bug#8971).
11339
1c4dd947
LMI
11340 * info.el (Info-find-file): Fall back on the installation
11341 directory if we can't find the info node anywhere else.
11342
a1c9f41b
SO
113432011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11344
11345 * vc/vc.el (vc-revert-file):
11346 Don't set file time-stamp in the past. (Bug#5181)
11347
536f3d36
LMI
113482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11349
7152b011
LMI
11350 * files.el (after-find-file): Give a better error message when
11351 trying to find a symlink that points to a file that doesn't exist
11352 (bug#4398).
11353
536f3d36
LMI
11354 * progmodes/cc-vars.el: Remove (probably) misleading comment
11355 (bug#4396).
11356
460c0fba
JB
113572011-07-12 Johan Bockgård <bojohan@gnu.org>
11358
11359 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11360
7a6bda45
CY
113612011-07-12 Chong Yidong <cyd@stupidchicken.com>
11362
11363 * mouse-sel.el: Hack restoring functionality, while keeping
11364 compatibility with 2010-07-03 changes to mouse selection.
11365 (mouse-sel-primary-overlay): New var.
11366 (mouse-sel-selection-alist): Use it.
11367 (mouse-sel-mode): Doc fix; remove points that are default features
11368 of mouse.el.
11369
c79598ef
JB
113702011-07-12 Johan Bockgård <bojohan@gnu.org>
11371
11372 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11373 Fix previous fix (bug#2490).
11374
ff8be6ef
RW
113752011-07-12 Roland Winkler <winkler@gnu.org>
11376
b796c9b7
SM
11377 * textmodes/bibtex.el (bibtex-initialize):
11378 Use pop-to-buffer-same-window.
ff8be6ef
RW
11379 (bibtex-search-entries): Fix interactive call.
11380
296ba3ee
LMI
113812011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11382
f5242a02 11383 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11384 Fontise bytecomp Error lines more correctly (bug#2490).
11385 Fix suggested by Johan Bockgård.
f5242a02 11386
296ba3ee
LMI
11387 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11388
11389 * dired-x.el (dired-guess-default): Use `delete-dups'.
11390
f69fd0d2
CY
113912011-07-12 Chong Yidong <cyd@stupidchicken.com>
11392
11393 * dired.el (dired-mark-prompt):
11394 * dired-aux.el (dired-read-shell-command): Doc fix.
11395
eab5dc07
LMI
113962011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11397
b796c9b7
SM
11398 * mail/sendmail.el (sendmail-query-once):
11399 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11400 emacs -Q.
11401
11402 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11403
eab5dc07
LMI
11404 * cus-edit.el (custom-file): Take an optional no-error variable.
11405 (customize-save-variable): Set the variable, and give a warning if
11406 running under "emacs -q".
11407
a1e65d42
JB
114082011-07-11 Juanma Barranquero <lekktu@gmail.com>
11409
11410 * loadhist.el (unload-feature-special-hooks):
11411 Add `auto-coding-functions', `fill-nobreak-predicate' and
11412 `find-directory-functions' (bug#5327).
11413
1d52da10
LMI
114142011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11415
be958f1d
LMI
11416 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11417
5bedb26c
LMI
11418 * cus-edit.el (custom-guess-name-alist): -alist variables should
11419 use the `alist' type (bug#3120). Suggested by Drew Adams.
11420
1d52da10
LMI
11421 * printing.el: Add documentation to all the `pr-toggle-' commands.
11422
cd394be1 114232011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11424
11425 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11426 backends where it makes sense (bug#2623).
11427
dcc88d8a
LMI
114282011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11429
c3de9feb
LMI
11430 * dired-x.el (dired-guess-default): Remove duplicate shell command
11431 entries (bug#2028).
8a93078b 11432 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11433 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11434
dcc88d8a
LMI
11435 * subr.el (remove-duplicates): New conveniency function.
11436
505e3645
LMI
114372011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11438
11439 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11440 (bug#1526).
11441
114422011-07-10 Martin Rudalics <rudalics@gmx.at>
11443
11444 * window.el (display-buffer-normalize-default): Don't invert
11445 meaning of even-window-heights. Reported by Eli Zaretskii
11446 <eliz@gnu.org>.
11447
455e4fa1
BR
114482011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11449
11450 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11451
8e0bc3e9
CY
114522011-07-10 Chong Yidong <cyd@stupidchicken.com>
11453
11454 * window.el (display-buffer): Fix arguments to
11455 display-buffer-reuse-window in last change.
11456
fa7c3228
CY
11457 * faces.el (link): Use a less saturated blue on light backgrounds.
11458
11459 * startup.el (fancy-startup-text, fancy-about-text)
11460 (fancy-startup-tail): Use font-lock faces, for background safety.
11461
c0a7f300
BN
114622011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11463
b796c9b7
SM
11464 * emulation/viper-cmd.el (viper-change-state-to-vi):
11465 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11466
4dc2a129
MR
114672011-07-09 Martin Rudalics <rudalics@gmx.at>
11468
11469 * window.el (display-buffer-default-specifiers): Remove.
11470 (display-buffer-macro-specifiers): Remove default specifiers.
11471 (display-buffer-alist): Default to nil.
b796c9b7 11472 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11473 (display-buffer-pop-up-window): Allow splitting internal
11474 windows. Check whether a live window was created.
11475 (display-buffer-other-window-means-other-frame)
11476 (display-buffer-normalize-arguments): Rename to
11477 display-buffer-normalize-argument and rewrite. Set the
11478 other-window specifier.
11479 (display-buffer-normalize-special): New function.
11480 (display-buffer-normalize-options): Rename to
11481 display-buffer-normalize-default and rewrite.
11482 (display-buffer-normalize-options-inhibit): Remove.
11483 (display-buffer-normalize-specifiers): Rewrite.
11484 (display-buffer): Process other-window specifier and call
11485 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11486 more faithfully.
b796c9b7 11487 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11488 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11489 (display-buffer-in-window, display-buffer-alist-set):
11490 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11491 <tassilo@member.fsf.org>.
11492
2d43b8c9
LL
114932011-07-09 Leo Liu <sdl.web@gmail.com>
11494
11495 * register.el (insert-register): Restore accidental change on
11496 2011-06-26. (Bug#9028)
11497
7f9b7c53
GM
114982011-07-09 Glenn Morris <rgm@gnu.org>
11499
11500 * subr.el (remq): Handle the empty list. (Bug#9024)
11501
f042cfd8
AS
115022011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11503
11504 * mail/sendmail.el (send-mail-function): No longer delay custom
11505 initialization.
11506 * custom.el (custom-initialize-delay): Doc fix.
11507
856b2f11
SM
115082011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11511
afae1d68
MA
115122011-07-08 Michael Albinus <michael.albinus@gmx.de>
11513
11514 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11515 human-friendly prompt.
11516
0757af94
SM
115172011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11520 provided by a particular plugin.
11521
d760b731
LMI
115222011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11523
11524 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11525 save customizations (with "emacs -Q"), just set the variable
11526 instead of erroring out.
11527
11528 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11529
cd79ce90
JL
115302011-07-08 Juri Linkov <juri@jurta.org>
11531
11532 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11533 (archive-zip-update-case): Use 7z if found by `executable-find'.
11534 The order of searching the available programs is the same as in
11535 `archive-zip-extract' (bug#8968).
11536
14cc04aa
CY
115372011-07-07 Chong Yidong <cyd@stupidchicken.com>
11538
11539 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11540 (menu-bar-options-menu): Tweak descriptions.
11541
0a1848ec
LMI
115422011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11543
11544 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11545 menu items into verb phrases (bug#1421). Also refill to fit under
11546 80 columns.
11547
f5bd0689
CY
115482011-07-07 Chong Yidong <cyd@stupidchicken.com>
11549
538e85c6
CY
11550 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11551 (Info-read-node-name): Doc fix (Bug#1084).
11552
f5bd0689
CY
11553 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11554 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11555 (end-of-sexp, beginning-of-sexp)
11556 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11557 (forward-symbol, forward-same-syntax, word-at-point)
11558 (sentence-at-point): Doc fix (Bug#1144).
11559
56ec5115
LMI
115602011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11561
f3f8e37f
LMI
11562 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11563 should cover it (bug#1281).
11564
0757af94 11565 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11566
e9fce1ac 11567 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11568 negotiation fails, then possibly try again with a non-encrypted
11569 connection (bug#9017).
11570
56ec5115
LMI
11571 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11572 be used.
11573
c2f9aec8
RS
115742011-07-07 Richard Stallman <rms@gnu.org>
11575
11576 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11577 property, and handle its changed format.
11578 Look for the correct line number.
11579 Use file's line contents (but not past first =) to find
11580 correct line in message.
11581
ef7b981d 115822011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11583
11584 * international/characters.el (build-unicode-category-table):
11585 Delete it.
0757af94 11586 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11587
0757af94 11588 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11589 to src/chartab.c.
11590 (get-char-code-property): Call unicode-property-table-internal to
11591 load a file. Call get-unicode-property-internal where necessary.
11592 (put-char-code-property): Call unicode-property-table-internal to
11593 load a file. Call put-unicode-property-internal where necessary.
11594 put-unicode-property-internal where necessary.
0757af94
SM
11595 (char-code-property-description):
11596 Call unicode-property-table-internal to load a file.
c805dec0
KH
11597
11598 * international/charprop.el:
11599 * international/uni-bidi.el:
11600 * international/uni-category.el:
11601 * international/uni-combining.el:
11602 * international/uni-comment.el:
11603 * international/uni-decimal.el:
11604 * international/uni-decomposition.el:
11605 * international/uni-digit.el:
11606 * international/uni-lowercase.el:
11607 * international/uni-mirrored.el:
11608 * international/uni-name.el:
11609 * international/uni-numeric.el:
11610 * international/uni-old-name.el:
11611 * international/uni-titlecase.el:
11612 * international/uni-uppercase.el: Regenerate.
11613
11614 * loadup.el: Load international/charprop.el before
11615 international/characters.
11616
e14b388a
CY
116172011-07-07 Chong Yidong <cyd@stupidchicken.com>
11618
11619 * window.el (next-buffer, previous-buffer): Signal an error if
11620 called from a minibuffer window.
11621
11622 * bindings.el: Revert 2011-07-04 change.
11623
354cf0ba
RS
116242011-07-06 Richard Stallman <rms@gnu.org>
11625
11626 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11627 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11628 Treat markers like ints.
11629 (rmail-mime-entity): Doc fix.
11630
a48868a7
LMI
116312011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11632
4906cd3d
LMI
11633 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11634 defcustom again for backwards compatibility.
11635
e0457abe
LMI
11636 * simple.el (shell-command-on-region): Fill.
11637
d67f7e1f
LMI
11638 * dired-aux.el (dired-kill-line): Add a doc string.
11639
fe204702
LMI
11640 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11641 to "\\sw\\|\\s_" (bug#358).
11642
a48868a7
LMI
11643 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11644 (dired-unmark-backward): Ditto.
11645 (dired-flag-backup-files): Ditto.
11646
11647 * dired-x.el (dired-mark-sexp): Ditto.
11648
aa8a705c
RS
116492011-07-06 Richard Stallman <rms@gnu.org>
11650
11651 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11652 (rmail-mime-entity): New arg TRUNCATED.
11653 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11654 New functions.
11655 (rmail-mime-save): Warn if entity is truncated.
11656 (rmail-mime-toggle-hidden): Likewise, for showing.
11657 (rmail-mime-process-multipart): Record when an entity is truncated.
11658
a9a936b9
RS
11659 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11660 if ENTITY is a string.
11661
1f2b92cb
LMI
116622011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11663
f4f73198 11664 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11665 of faces when `M-C-x'-ing their definitions (bug#8378).
11666 Also clean up the code slightly.
f4f73198 11667
12b16734 11668 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11669 because that makes the colors go away.
12b16734 11670
f0691d22
LMI
11671 * mail/sendmail.el (send-mail-function): Change the default to
11672 `sendmail-query-once'.
9e87df06 11673 (sendmail-query-once): Add an autoload cookie.
f0691d22 11674
1f2b92cb
LMI
11675 * net/network-stream.el (network-stream-open-starttls): Try using
11676 a plain connection even if the server offered STARTTLS, and we
11677 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11678 capability. This should make smtpmail.el work in slightly more
11679 configurations.
11680
1cdd2a1b
MA
116812011-07-06 Michael Albinus <michael.albinus@gmx.de>
11682
11683 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11684 New defun.
11685 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11686
fbcc67e2
MM
116872011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11688
11689 * progmodes/sql.el: Version 3.0
0757af94 11690 (sql-product-alist): Add product :completion-object,
fbcc67e2 11691 :completion-column, and :statement attributes.
0757af94 11692 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11693 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11694 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11695 ansi keywords.
11696 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11697 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11698 (sql-oracle-show-reserved-words): New function for development.
11699 (sql-product-font-lock): Simplify for source code buffers.
11700 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11701 New functions.
11702 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11703 (sql-mode-map): Add statement movement functions.
11704 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11705 New variable.
fbcc67e2
MM
11706 (sql-statement-regexp, sql-beginning-of-statement)
11707 (sql-end-of-statement, sql-signum): New functions.
0757af94 11708 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11709 (sql-show-sqli-buffer): Bug fix.
11710 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11711 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11712 with sql-interactive-mode.
11713 (sql-save-connection): Save buffer local settings.
0757af94 11714 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11715 (sql-product-interactive): Bug fix.
11716 (sql-preoutput-hold): New variable.
11717 (sql-interactive-remove-continuation-prompt): Bug fixes.
11718 (sql-debug-redirect): New variable.
11719 (sql-str-literal): New function.
11720 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11721 Redesign.
fbcc67e2
MM
11722 (sql-oracle-save-settings, sql-oracle-restore-settings)
11723 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11724 (sql-completion-object, sql-completion-column)
11725 (sql-completion-sqlbuf): New variables.
11726 (sql-build-completions-1, sql-build-completions)
11727 (sql-try-completion): New functions.
11728 (sql-read-table-name): Use them.
11729 (sql-contains-names): New buffer local variable.
11730 (sql-list-all, sql-list-table): Use it.
11731 (sql-oracle-completion-types): New variable.
11732 (sql-oracle-completion-object, sql-sqlite-completion-object)
11733 (sql-postgres-completion-object): New functions.
11734
d4eaeab1
GM
117352011-07-06 Glenn Morris <rgm@gnu.org>
11736
11737 * window.el (pop-to-buffer): Doc fix.
11738
322b7dab 117392011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
11740
11741 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
11742
322b7dab 117432011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 11744
322b7dab 11745 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 11746
322b7dab 11747 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 11748
605dd5bf
CY
117492011-07-05 Chong Yidong <cyd@stupidchicken.com>
11750
11751 * button.el (button): Inherit from link face. Suggested by Dan
11752 Nicolaescu.
11753
7dbfa719
SM
117542011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11755
3db614b0
SM
11756 * progmodes/gdb-mi.el: Fit in 80 columns.
11757 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
11758 switch-to-buffer.
11759
7dbfa719
SM
11760 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
11761 if imenu is simply not configured (bug#8941).
11762
919d884a
KM
117632011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
11764
11765 * allout.el (allout-post-undo-hook): New allout outline-change
11766 event hook to signal undo activity.
11767 (allout-post-command-business): Run allout-post-undo-hook if an
11768 undo just occurred.
7dbfa719
SM
11769 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
11770 * allout-widgets.el (allout-widgets-after-undo-function):
11771 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
11772 in the vicinity of an undo.
11773 (allout-widgets-mode): Include allout-widgets-after-undo-function
11774 on the new allout-post-undo-hook.
11775
450a0f09
SM
117762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
11779 Let define-derived-mode define it.
11780 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
11781 cycles of abbrev-table inheritance (bug#8998).
11782
2de69e00
RW
117832011-07-05 Roland Winkler <winkler@gnu.org>
11784
11785 * textmodes/bibtex.el: Add support for biblatex.
11786 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
11787 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
11788 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
11789 (bibtex-entry-alist, bibtex-field-alist): New variables.
11790 (bibtex-entry-field-alist): Obsolete alias for
11791 bibtex-BibTeX-entry-alist.
11792 (bibtex-entry-alist, bibtex-field-alist): New widgets.
11793 (bibtex-set-dialect): New command.
11794 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
11795 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
11796 Bind via bibtex-set-dialect.
2de69e00
RW
11797 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
11798 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
11799 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
11800 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
11801 Define via bibtex-set-dialect.
450a0f09
SM
11802 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
11803 Obey bibtex-no-opt-remove-re.
2de69e00
RW
11804 (bibtex-vec-push, bibtex-vec-incr): New functions.
11805 (bibtex-format-entry, bibtex-field-list)
11806 (bibtex-print-help-message, bibtex-validate)
11807 (bibtex-search-entries): Use new format of bibtex-entry-alist.
11808
2dcdbdd9
SM
118092011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * progmodes/compile.el (compilation-goto-locus):
11812 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11813 * bs.el (bs-cycle-next, bs-cycle-previous):
11814 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
11815 * bindings.el (mode-line-other-buffer):
11816 * autoinsert.el (auto-insert):
11817 * arc-mode.el (archive-extract):
11818 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
11819
b27640fe
JB
118202011-07-05 Juanma Barranquero <lekktu@gmail.com>
11821
11822 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
11823 Fix check of `emacs-lock-unlockable-modes'.
11824 Coerce true values of `emacs-lock--try-unlocking' to t.
11825
53bbe3ad
JB
118262011-07-05 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
11829 * emacs-lock.el: New file.
11830
1d3cdbc7
JD
118312011-07-05 Julien Danjou <julien@danjou.info>
11832
11833 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
11834 than `boundp' to check if face is set.
11835
9173deec
JB
118362011-07-05 Juanma Barranquero <lekktu@gmail.com>
11837
11838 * register.el (registerv-make):
11839 * window.el (window-min-height): Fix typos in docstrings.
11840
869795d6
JD
118412011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11842
9173deec 11843 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11844 Update doc string.
11845
b768cdcd
JB
118462011-07-04 Juanma Barranquero <lekktu@gmail.com>
11847
11848 * server.el (server-execute): Catch quit and call
11849 `server-return-error' to pass the error back to emacsclient and
11850 close the connection (bug#8942).
11851
13aa217b
KM
118522011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11853
11854 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11855 insecure exception for current topic. Also note that auto-saves
11856 are handled differently.
11857
5d3385a0 11858 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11859 State variables for tracking auto-save inhibition situation.
11860
11861 (allout-write-contents-hook-handler): Rename from
11862 'allout-write-file-hook-handler', and describe how it depends on
11863 write-contents-functions sensitivity to non-nil value to prevent
11864 file write.
11865
11866 (allout-auto-save-hook-handler): Remove. auto-save does not check
11867 this in individual buffers, only in the starting buffer, so this
11868 is not the right way for us to inhibit auto-save in a buffer
11869 according to its condition.
11870
11871 (allout-mode): Use new allout-write-contents-hook-handler, and
11872 only with write-contents-functions. Remove auto-save provisions -
11873 they're implemented elsewhere.
11874
11875 (allout-before-change-handler): If undo is in progress, note that
11876 for attention of allout-post-command-business.
11877
11878 (allout-post-command-business): If the command we're following was
11879 an undo, check for change in the status of encrypted items and
11880 adjust auto-save inhibitions accordingly.
11881
11882 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11883 according to whether there are or aren't any plain-text topics
11884 pending encryption.
11885
2dcdbdd9 11886 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11887 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11888 if there are plain-text topics pending encryption.
13aa217b
KM
11889
11890 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11891 buffer-saved-size and some allout state to not inhibit auto-saves
11892 if there are no longer any plain-text topics pending encryption.
11893
0757af94
SM
11894 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11895 No longer provide for exemption of the current topic.
13aa217b 11896
ac89b32c
JL
118972011-07-04 Juri Linkov <juri@jurta.org>
11898
11899 Add 7z operations to delete and save changed members (bug#8968).
11900 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11901 New defcustoms.
11902 (archive-7z-write-file-member): New function.
11903 (archive-7z-summarize): Fix the number of dashes in the
11904 listing output.
11905
8fa39615
SM
119062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11907
11908 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11909 (bug#8958).
11910
2f11b3f1
CY
119112011-07-04 Chong Yidong <cyd@stupidchicken.com>
11912
d66fef2b
CY
11913 * bindings.el: Ignore next-buffer and previous-buffer in
11914 minibuffer-local-map.
11915
2f11b3f1
CY
11916 * font-lock.el (font-lock-builtin-face): Change light background
11917 color to dark slate blue (Bug#6693).
11918
f932a347
WD
119192011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11920
11921 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11922
c8af70e1
SM
119232011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11926 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11927 Add switch-to-buffer.
11928
f158badc
LMI
119292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11930
11931 * isearch.el (isearch-search-fun-function): Clarify further the
11932 meaning of the function returned.
11933
6d95bd46
MA
119342011-07-04 Michael Albinus <michael.albinus@gmx.de>
11935
11936 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11937
11938 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11939 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11940 Use it.
11941 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11942 `tramp-default-remote-path' does not exist.
11943 (tramp-send-command-and-read): New optional argument NOERROR.
11944 (tramp-open-connection-setup-interactive-shell)
11945 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11946 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11947 (tramp-process-sentinel): Flush also process' connection property.
11948 (tramp-sh-handle-start-file-process): Do not set process
11949 sentinel. It is done now ...
11950 (tramp-maybe-open-connection): ... here. (Bug#8929)
11951
909e6b67
MK
119522011-07-04 MON KEY <monkey@sandpframing.com>
11953
11954 * play/animate.el (animate-string): Doc fixes and allow changing
11955 the buffer name (bug#5417).
11956
119572011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958
c8af70e1 11959 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11960
f34755dc
PE
119612011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11962
396cec72
PE
11963 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11964 This is simpler and helps future-proof the code.
11965 (timer-until): Use time-subtract and float-time.
08235028 11966 (timer--time-less-p): Use time-less-p.
f34755dc 11967
56e6cc31
JB
119682011-07-04 Juanma Barranquero <lekktu@gmail.com>
11969
3abb79e5
JB
11970 * type-break.el (timep): Use the value of `float-time' to avoid a
11971 byte-compiler warning.
11972
56e6cc31
JB
11973 * server.el (server-eval-and-print): Return any result, even nil.
11974
7b9430b4
PE
119752011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11976
11977 * type-break.el: Accept time formats that the builtins accept.
11978 (timep, type-break-time-difference): Accept any format that
11979 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11980 This is simpler and helps future-proof the code.
11981 (type-break-time-difference): Round rather than ignoring
11982 subseconds components.
11983
3034e9e7
LMI
119842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11985
11986 * info.el (Info-apropos-matches): Make non-interactive, since it
11987 doesn't seem to do anything useful as a command (bug#8829).
11988
1485f4c0
CY
119892011-07-03 Chong Yidong <cyd@stupidchicken.com>
11990
11991 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11992 Move from faces.el.
1485f4c0
CY
11993 (frame-default-terminal-background): New function.
11994
11995 * custom.el (custom-push-theme): Don't record faces in `changed'
11996 theme; this doesn't work correctly for per-frame face settings.
11997 (disable-theme): Use face-set-after-frame-default to reset faces.
11998 (custom--frame-color-default): New function.
11999
9fa3dd45
LMI
120002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12001
c8af70e1 12002 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12003 (bug#8769).
12004
6cbbc20c
KR
120052011-03-29 Kevin Ryde <user42@zip.com.au>
12006
12007 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12008 `perl-Test2' extend to match possible "fail #N" rep count
12009 (bug#8377).
12010
c7f98048
LMI
120112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12012
65676592
LMI
12013 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12014 `smtpmail-via-smtp' now returns the error instead of nil.
12015
c7f98048
LMI
12016 * isearch.el (isearch-search-fun-function): Clarify the doc string
12017 (bug#8101).
12018
56e6cc31 120192011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12020
12021 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12022 unnecessary spaces (bug#8987).
12023
2b216704
LMI
120242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12025
12026 * net/network-stream.el (open-network-stream): Use the
12027 :end-of-capability command thoughout.
12028
120292011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12030
12031 * net/network-stream.el (open-network-stream): Add the
12032 :end-of-capability command parameter, used by pop3.el.
12033
36adf6ce
LMI
120342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12035
1ca0da0e
LMI
12036 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12037
fc00f69c
LMI
12038 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12039 for list)" (bug#6475).
12040
28fd8759 12041 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12042 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12043 an error (bug#6297).
12044
0dd8b6da
LMI
12045 * man.el (Man-reference-regexp): Allow matching possible
12046 word-wrapped references (bug#6289).
12047
ce1438d6
LMI
12048 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12049 for consistency with the other vc buffers (bug#6197).
12050 (vc-checkin): Ditto.
12051
12052 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12053
36adf6ce
LMI
12054 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12055
e83cc1f7
LMI
120562011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12057
8a20ca4c
LMI
12058 * custom.el (defcustom): Clarify that :set is only used in the
12059 Customize user interface (bug#6089).
12060
83319045
LMI
12061 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12062 associated with a file, refuse to run instead of erroring out
12063 (bug#6084).
12064
a8392169
LMI
12065 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12066 the doc string, since it appears that using `fill-column' always
12067 controls the width (bug#7845).
12068
e83cc1f7
LMI
12069 * simple.el (shell-command-on-region): Say where the error output
12070 went if `shell-command-default-error-buffer' is set (bug#6857).
12071
e47ca23b
KM
120722011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12073
12074 * allout.el (allout-yank-processing): Adjust cursor position for
12075 backwards-deleted space.
12076
12077 (allout-rebullet-heading): Register changes with
12078 allout-exposure-changed-hook, so the modified topic is properly
12079 decorated.
12080
5cf56143
LMI
120812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12082
08549772
LMI
12083 * minibuffer.el (completion-in-region): Document PREDICATE
12084 (bug#7136).
12085
48e96771
LMI
12086 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12087 of keyword/argument pairs (bug#6904).
12088
c8af70e1
SM
12089 * replace.el (multi-occur):
12090 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12091
e17d05e2
LMI
120922011-07-02 Drew Adams <drew.adams@oracle.com>
12093
12094 * dired.el (dired-mark-if): Make the message about whether it's
12095 marking or unmarking clearer (bug#8523).
12096
063b0e45
LMI
120972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12098
12099 * disp-table.el (display-table-print-array): New function.
12100 (describe-display-table): Use it to print the vectors more pretty
12101 (Bug#8859).
12102
28545e04
MR
121032011-07-02 Martin Rudalics <rudalics@gmx.at>
12104
12105 * window.el (window-state-get-1): Don't assign clone numbers.
12106 Add clone-of item to list of window parameters.
12107 (window-state-put-2): Don't process clone numbers.
12108 (display-buffer-alist): Fix doc-string.
12109
3349e122
SM
121102011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * subr.el (remq): Don't allocate if it's not needed.
12113 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12114 (keymap--merge-bindings): New functions.
12115 (keymap-canonicalize): Use them to refine the canonicalization.
12116 * minibuffer.el (minibuffer-local-completion-map)
12117 (minibuffer-local-must-match-map): Move initialization from C.
12118 (minibuffer-local-filename-completion-map): Move initialization from C;
12119 don't inherit from anything here.
12120 (minibuffer-local-filename-must-match-map): Make obsolete.
12121 (completing-read-default): Use make-composed-keymap to combine
12122 minibuffer-local-filename-completion-map with either
12123 minibuffer-local-must-match-map or
12124 minibuffer-local-filename-completion-map.
12125
d224ac83
GM
121262011-07-01 Glenn Morris <rgm@gnu.org>
12127
3de63bf8
GM
12128 * type-break.el (type-break-time-sum): Use dolist.
12129
d224ac83
GM
12130 * textmodes/flyspell.el (flyspell-word-search-backward):
12131 Replace CL function.
12132
1a1e3f32
SM
121332011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12134
fe3f64d5
SM
12135 * mouse.el (mouse--strip-first-event): New function.
12136 (function-key-map): Use it to map fringe clicks to normal clicks
12137 by default.
12138
eb604e34
SM
12139 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12140 (vc-bzr-revision-completion-table): Add support for annotate and date.
12141
1a1e3f32
SM
12142 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12143 inherit from parent.
12144
5bd35902
LMI
121452011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12146
ace6c69c 12147 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12148 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12149
191e2bed
LMI
12150 * dired.el (dired-mode): Fix up the doc string as suggested by
12151 Drew Adams (bug#8817).
12152
5bd35902
LMI
12153 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12154 cookie, since the manual says that it should be possible to add
12155 this function to `find-file-hook' (bug#8709).
12156
eee8207a
TZ
121572011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12158
12159 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12160 here. Noted Ted Zlatanov as the maintainer.
12161 (cfengine-common-settings, cfengine-common-syntax): New functions
12162 to set up common things between `cfengine-mode' and
12163 `cfengine3-mode'.
12164 (cfengine3-mode): New mode.
12165 (cfengine3-defuns cfengine3-defuns-regex
12166 (cfengine3-class-selector-regex cfengine3-category-regex)
12167 (cfengine3-vartypes cfengine3-font-lock-keywords)
12168 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12169 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12170
36b148cf
MA
121712011-07-01 Michael Albinus <michael.albinus@gmx.de>
12172
12173 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12174
12175 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12176
0bf4ba9a
MR
121772011-07-01 Martin Rudalics <rudalics@gmx.at>
12178
12179 * window.el (same-window-buffer-names, same-window-regexps)
12180 (same-window-p, special-display-frame-alist)
12181 (special-display-popup-frame, special-display-function)
12182 (special-display-buffer-names, special-display-regexps)
12183 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12184 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12185 (split-window-preferred-function, split-height-threshold)
12186 (split-width-threshold, even-window-heights)
12187 (display-buffer-mark-dedicated, window-splittable-p)
12188 (split-window-sensibly, window-safely-shrinkable-p):
12189 Un-obsolete.
12190 (display-buffer): Don't spread args with function specifier
12191 because special-display-popup-frame won't like it.
12192
35837f51
PE
121932011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12194
d0672f86
PE
12195 Time-stamp simplifications and fixes.
12196 These improve accuracy slightly, and future-proof the code
12197 against some potential changes to current-time format.
12198
b9444d97
PE
12199 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12200 by using time-since and float-time.
12201
0ef923dc
PE
12202 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12203 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12204 + NNN microseconds".
12205
2f81380d
PE
12206 * type-break.el (type-break-time-sum): Rewrite using time-add.
12207
845b5c3e
PE
12208 * play/hanoi.el (hanoi-current-time-float): Remove.
12209 All uses replaced by float-time.
12210
ee6f1be0
PE
12211 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12212 This yields a more-accurate answer.
12213 (rng-time-to-float): Remove; no longer needed.
12214
fe955043
PE
12215 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12216
5777162a
PE
12217 * calendar/timeclock.el (timeclock-seconds-to-time):
12218 Defalias to seconds-to-time, since they're the same thing.
12219
3103f8b6 12220 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12221 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12222 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12223
0e61a35f
SM
122242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * window.el (bury-buffer): Don't iconify the only frame.
12227 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12228 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12229
ddd63a1e
CY
122302011-07-01 Chong Yidong <cyd@stupidchicken.com>
12231
0e61a35f
SM
12232 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12233 Add mouse-yank-primary.
ddd63a1e 12234
055f4923
TZ
122352011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12236
12237 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12238
6a2fb145
SM
122392011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12240
12241 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12242 (find-library-name): Use it to find relative load names when provided
12243 absolute file name (bug#8803).
12244
fd4983f2
LMI
122452011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12246
887d14ad
LMI
12247 * textmodes/flyspell.el (flyspell-word): Consider words that
12248 differ only in case as potential doublons (bug#5687).
12249
c53dc7fc
LMI
12250 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12251 Remove two rather uninteresting debugging-like messages to make
12252 debbugs.el more silent.
12253
fd4983f2
LMI
12254 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12255 a password-like phrase.
12256
7a71b18d 122572011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12258
12259 * progmodes/cc-guess.el: New file.
12260
6a2fb145 12261 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12262
12263 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12264 derived from `c-basic-common-init'.
12265
12266 * progmodes/cc-mode.el (top-level): Require cc-guess.
12267 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12268
1fa280a3
LM
122692011-06-30 Lawrence Mitchell <wence@gmx.li>
12270
12271 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12272
e6597158
AM
122732011-06-30 Alan Mackenzie <acm@muc.de>
12274
1fa280a3
LM
12275 * progmodes/cc-engine.el (c-guess-continued-construct):
12276 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12277 lock is disabled. Name this case as "CASE G".
12278
68ba37fb
KM
122792011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12280
12281 * allout.el (allout-yank-processing): Fix injection of extra space
12282 between bullet and non-whitespace character in first topic when
12283 pasting, ensuring that the actual spacing in the pasted topic
12284 following the bullet char is preserved. This extra space was
12285 causing pasted encrypted topics to get a decrypted status even
12286 when the content was actually still encrypted. Now the decryption
12287 status from before the paste is preserved.
12288
12289 (allout-flag-region): Set all allout overlays so they evaporate
12290 when reduced to zero length (evanescent), to prevent overlay
12291 leakage.
12292
887a0b34
GM
122932011-06-30 Glenn Morris <rgm@gnu.org>
12294
94b9acce
GM
12295 * w32-fns.el (w32-charset-info-alist): Declare.
12296
1d9b46d4
GM
12297 * find-dired.el (find-grep-options): Simplify.
12298
cc232200
GM
12299 * term/ns-win.el (ns-set-resource): Declare.
12300
28e77c46
GM
12301 * ses.el (row, col): Declare dynamic variables honestly.
12302
887a0b34
GM
12303 * textmodes/reftex-parse.el (index-tags): Declare.
12304
658d8eb8
CY
123052011-06-30 Chong Yidong <cyd@stupidchicken.com>
12306
12307 * cus-edit.el (customize-push-and-save): New function.
12308
12309 * files.el (hack-local-variables-confirm): Use it.
12310
1fa280a3
LM
12311 * custom.el (load-theme): New arg NO-CONFIRM.
12312 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12313 (custom-enabled-themes): Doc fix.
12314
12315 * cus-theme.el (customize-create-theme)
12316 (custom-theme-merge-theme): Callers to load-theme changed.
12317
bb617717
LMI
123182011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12319
d61bdd5d
LMI
12320 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12321 short URLs have at least one dot in them (bug #7614).
12322
bb617717
LMI
12323 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12324 nil, because using a pty is apparently too slow (bug #895).
12325
2f31f37a
LMI
123262011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12327
12328 * mail/sendmail.el (sendmail-query-once): New function.
12329 (sendmail-query-once-function): New variable.
12330
3076b24e
GM
123312011-06-29 Glenn Morris <rgm@gnu.org>
12332
faf2a174
GM
12333 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12334
3076b24e
GM
12335 * ses.el (top-level): Require cl when compiling.
12336 (ses-set-localvars): Fix error statement.
12337 Call it at compile time to silence a storm of warnings.
12338
5386012d
MR
123392011-06-29 Martin Rudalics <rudalics@gmx.at>
12340
12341 * window.el (normalize-live-buffer): Rename to
12342 window-normalize-buffer.
12343 (normalize-live-frame): Rename to window-normalize-frame.
12344 (normalize-any-window): Rename to window-normalize-any-window.
12345 (normalize-live-window): Rename to window-normalize-live-window.
12346 (make-window-atom): Rename to window-make-atom.
12347 (window-resize-reset): Rename to window--resize-reset.
12348 (window-resize-reset-1): Rename to window--resize-reset-1.
12349 (resize-mini-window): Rename to window--resize-mini-window.
12350 (resize-subwindows-skip-p): Rename to
12351 window--resize-subwindows-skip-p.
12352 (resize-subwindows-normal): Rename to
12353 window--resize-subwindows-normal.
12354 (resize-subwindows): Rename to window--resize-subwindows.
12355 (resize-other-windows): Rename to window--resize-siblings.
12356 (resize-this-window): Rename to window--resize-this-window.
12357 (resize-root-window): Rename to window--resize-root-window.
12358 (resize-root-window-vertically): Rename to
12359 window--resize-root-window-vertically.
12360 (normalize-buffer-to-display): Rename to
12361 window-normalize-buffer-to-display.
12362 (normalize-buffer-to-switch-to): Rename to
12363 window-normalize-buffer-to-switch-to.
12364 Correspondingly update all callers of the functions listed
12365 above.
12366 (display-buffer-alist, display-buffer-normalize-arguments)
12367 (display-buffer-normalize-options, display-buffer)
12368 (display-buffer-alist-set): Use "function" instead of
12369 "fun-with-args".
12370
1176868d
CY
123712011-06-28 Chong Yidong <cyd@stupidchicken.com>
12372
12373 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12374 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12375 debbugs.gnu.org. Mention acknowledgment email.
12376
20a7a65f
LMI
123772011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12378
12379 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12380 buffer multibyteness, since it shouldn't matter.
12381
5f45cca5
MR
123822011-06-28 Martin Rudalics <rudalics@gmx.at>
12383
12384 * window.el (display-buffer-in-side-window): Handle dedicated
12385 windows as in display-buffer-reuse-window.
12386 (display-buffer-normalize-alist): Use value of override
12387 specifier.
12388 (display-buffer-normalize-specifiers): Use value of
12389 other-window-means-other-frame specifier.
12390 (display-buffer-alist): Rewrite some texts in widgets.
12391 (display-buffer): Spread arguments when calling function
12392 specified by fun-with-args.
12393
ad85fe1f
DD
123942011-06-28 Deniz Dogan <deniz@dogan.se>
12395
1fa280a3
LM
12396 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12397 Unnest `let'.
da68c4c8 12398
ad85fe1f
DD
12399 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12400 selectors (Bug#5732).
ec49bd31 12401 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12402
a08cc025
JA
124032011-06-27 Jari Aalto <jari.aalto@cante.net>
12404
12405 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12406 (eshell-ls-date-format): New defcustom.
12407 (eshell-ls-file): Use it.
12408
e2b551c5
SM
124092011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12412
8982b231
KY
124132011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12414
12415 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12416 (ange-ftp-make-tmp-name): New arg.
12417 (ange-ftp-file-local-copy): Use it.
12418
36c9fa27
J
124192011-06-27 Jambunathan K <kjambunathan@gmail.com>
12420
12421 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12422 no-conversion (Bug#8870).
12423
d68443dc
MR
124242011-06-27 Martin Rudalics <rudalics@gmx.at>
12425
12426 * window.el (window-right, window-left, window-child)
12427 (window-child-count, window-last-child)
12428 (window-iso-combination-p, walk-window-tree-1)
12429 (window-atom-check-1, window-tree-1, delete-window)
12430 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12431 new naming conventions - window-vchild, window-hchild,
12432 window-next and window-prev are now called window-top-child,
12433 window-left-child, window-next-sibling and window-prev-sibling
12434 respectively.
d615d6d2
MR
12435 (resize-window-reset): Rename to window-resize-reset.
12436 (resize-window-reset-1): Rename to window-resize-reset-1.
12437 (resize-window): Rename to window-resize.
12438 (window-min-height, window-min-width)
12439 (resize-mini-window, resize-this-window, resize-root-window)
12440 (resize-root-window-vertically, adjust-window-trailing-edge)
12441 (enlarge-window, shrink-window, maximize-window)
12442 (minimize-window, delete-window, quit-restore-window)
12443 (split-window, balance-windows, balance-windows-area-adjust)
12444 (balance-windows-area, window-state-put-2)
12445 (display-buffer-even-window-sizes, display-buffer-set-height)
12446 (display-buffer-set-width, set-window-text-height)
12447 (fit-window-to-buffer): Rename all "resize-window" prefixed
12448 calls to use the "window-resize" prefix convention.
12449 (display-buffer-alist): Fix symbol for label specifier.
12450 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12451 corresponding specifier.
12452 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12453
b6458526
VB
124542011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12455
12456 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12457 convention.
12458 (ses-call-printer): Does not pass an empty string to formatter when the
12459 cell is empty to keep from barking printer Calc math-format-value.
12460
d31fd9ac
RS
124612011-06-27 Richard Stallman <rms@gnu.org>
12462
43d5bf84
RS
12463 * battery.el (battery-mode-line-limit): New variable.
12464 (battery-update): Handle it.
12465
d31fd9ac
RS
12466 * mail/rmailmm.el (rmail-mime-process-multipart):
12467 Handle truncated messages.
12468
819a6054
GM
124692011-06-27 Glenn Morris <rgm@gnu.org>
12470
12471 * progmodes/flymake.el (flymake-err-line-patterns):
12472 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12473
cedc73f2
VB
124742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12475
819a6054 12476 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12477 (ses--clean-!, ses--clean-_): New functions.
12478 (ses-range): Add configurability of readout order, and conversion
12479 to Calc vector.
12480
5e5d49b6
VB
12481 * ses.el (ses-repair-cell-reference-all): New function.
12482 (ses-cell-symbol): Set macro as safe, so that it can be used in
12483 formulas.
12484
56e6cc31 12485 * ses.el: Update cycle detection algorithm.
90ca8b49 12486 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12487 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12488 (ses-set-localvars): New function.
12489 (ses-make-cell): Add property-list as a cell element.
12490 (ses-cell-property-get-fun, ses-cell-property-get)
12491 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12492 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12493 New functions.
90ca8b49
VB
12494 (ses-cell-property-set, ses-cell-property-pop)
12495 (ses-cell-property-get-handle): New macro.
12496 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12497 New aliases, used for code readability.
12498 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12499 cycle detection.
12500 (ses-self-reference-early-detection): New defcustom.
fac916bf 12501 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12502 (ses-mode): Use ses-set-localvars.
12503 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12504 before lauching the update processing.
12505 (ses-initialize-Dijkstra-attempt): New function.
12506 (ses-recalculate-cell): Update for cycle detection based on
12507 Dijkstra algorithm.
12508
2bb63e81
VB
12509 * ses.el: Fix commenting and indenting convention.
12510
c9d29fb8
SM
125112011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * bs.el (bs-cycle-next): Complete last change.
12514
d8e4b68b
JB
125152011-06-27 Drew Adams <drew.adams@oracle.com>
12516
12517 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12518
40098786
LMI
125192011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12520
c9d29fb8
SM
12521 * net/network-stream.el (network-stream-open-starttls):
12522 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12523 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12524
40098786
LMI
12525 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12526 to binary to possibly avoid line encoding issues on Windows (among
12527 other things).
12528
468d09d4
LMI
125292011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12530
12531 * net/network-stream.el (open-network-stream): Return an :error
12532 saying what the problem was, if possible.
12533
12534 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12535 server.
12536
12537 * net/network-stream.el (network-stream-open-starttls): If we
12538 wanted to use STARTTLS, and the server offered it, but we weren't
12539 able to because we had no STARTTLS support, then close the connection.
12540 (open-network-stream): Return an :error element, if present.
12541
16f07dd7
CY
125422011-06-26 Chong Yidong <cyd@stupidchicken.com>
12543
88821ca0
CY
12544 * hl-line.el (hl-line-sticky-flag): Doc fix.
12545 (global-hl-line-sticky-flag): New option (Bug#8323).
12546 (global-hl-line-highlight): Obey it.
12547
16f07dd7
CY
12548 * vc/vc.el (vc-revert-show-diff): Default to t.
12549
6b5ccddf
KM
125502011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12551
c9d29fb8
SM
12552 * allout-widgets.el (allout-widgets-post-command-business):
12553 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12554 undecorated when an isearch is continued past, and isearch
12555 automatically collapses them. This leads to "widget leaks", where
12556 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12557 hidden widgets can slow down cursor travel, substantially.
12558 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12559 so we're doing without this nicety.
12560
12561 (allout-widgets-tally-string): Don't try to do a hash-table-count
12562 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12563 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12564 *Messages* when allout-widgets-maintain-tally is t.
12565
355f2e07
MR
125662011-06-26 Martin Rudalics <rudalics@gmx.at>
12567
12568 * window.el (display-buffer-normalize-argument): Rename to
12569 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12570 LABEL argument. Respect special-display-function when popping up
12571 a new frame. Fix code searching for a window showing the buffer
12572 on another frame.
c9d29fb8
SM
12573 (display-buffer-normalize-specifiers):
12574 Call display-buffer-normalize-arguments.
355f2e07
MR
12575 (display-buffer-in-window): Don't undedicate the window if its
12576 buffer remains the same.
12577 Reported by Drew Adams <drew.adams@oracle.com>.
12578 (display-buffer-alist): Add choice for same-window macro
12579 specfier.
12580 (display-buffer): Mention special meaning of LABEL argument in
12581 doc-string. Fix quoting. Don't pop up a new frame even as
12582 fallback.
12583
7ca8fc42
JB
125842011-06-26 Juanma Barranquero <lekktu@gmail.com>
12585
12586 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12587 avoid deleting the current window in some cases (bug#8911).
12588
bc312254
AS
125892011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12590
12591 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12592 (Bug#8934)
12593
2db18f3f
LMI
125942011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12595
c9d29fb8
SM
12596 * net/network-stream.el (network-stream-open-starttls):
12597 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12598 (network-stream-open-tls): Ditto.
12599
6302e0d3
LL
126002011-06-26 Leo Liu <sdl.web@gmail.com>
12601
12602 * register.el (registerv): New struct.
12603 (registerv-make): New function.
c9d29fb8
SM
12604 (jump-to-register, describe-register-1, insert-register):
12605 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12606 struct. (Bug#8415)
12607
5fdd4046
CY
126082011-06-26 Chong Yidong <cyd@stupidchicken.com>
12609
2afef60a
CY
12610 * vc/vc.el (vc-revert-show-diff): New defcustom.
12611 (vc-diff-internal): New arg specifying diff buffer.
12612 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12613 reuse an existing *vc-diff* buffer (Bug#8927).
12614
5fdd4046
CY
12615 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12616
e93db24a
GM
126172011-06-26 Glenn Morris <rgm@gnu.org>
12618
12619 * progmodes/f90.el (f90-critical-indent): New option.
12620 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12621 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12622 (f90-mode): Doc fix.
12623 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12624 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12625 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12626 (f90-match-end): Handle block, critical.
12627
eefff499
GM
126282011-06-25 Glenn Morris <rgm@gnu.org>
12629
f6ba4cc9
GM
12630 * calendar/diary-lib.el (diary-included-files): Doc fix.
12631 (diary-include-files): New function, extracted from
12632 diary-include-other-diary-files and diary-mark-included-diary-files.
12633 (diary-include-other-diary-files, diary-mark-included-diary-files):
12634 Just call diary-include-files.
12635 (diary-mark-entries): Reset diary-included-files on first call.
12636
16712304
GM
12637 * calendar/diary-lib.el (diary-mark-entries)
12638 (diary-mark-included-diary-files):
12639 Visit included diary-files in temp buffers.
12640
5d8e0d43
GM
12641 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12642 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12643 (f90-start-block-re, f90-imenu-generic-expression)
12644 (f90-looking-at-program-block-start, f90-no-block-limit):
12645 Add support for submodules.
12646
ccf7a5d5
GM
12647 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12648 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12649
11fdef7d 126502011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12651
12652 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12653 buffer-file-type before setting its value, to avoid disastrous
eefff499 12654 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12655
74f53697
JB
126562011-06-25 Juanma Barranquero <lekktu@gmail.com>
12657
12658 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12659
12660 * ses.el (ses-unload-function):
12661 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12662
12663 * proced.el (proced-unload-function):
12664 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12665
18a4ce5e
AR
126662011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12667
12668 * server.el (server-create-window-system-frame): Add parameters arg.
12669 (server-process-filter): Doc fix. Handle frame-parameters.
12670
519d22cc
JB
126712011-06-25 Juanma Barranquero <lekktu@gmail.com>
12672
12673 Fix bug#8730, bug#8781.
12674
12675 * loadhist.el (unload--set-major-mode): New function.
12676 (unload-feature): Use it.
12677
12678 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12679 (python-unload-function): New function.
12680
c206f5b0
SM
126812011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12682
12683 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12684
f9ad64f3
GS
126852011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12686
12687 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12688 the candidates list.
12689
7d0da90e
JB
126902011-06-24 Juanma Barranquero <lekktu@gmail.com>
12691
12692 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12693
14b4e83d
RS
126942011-06-23 Richard Stallman <rms@gnu.org>
12695
12696 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12697 (rmail-variables): Set next-error-move-function.
12698 (rmail-what-message): Take argument POS.
12699 (rmail-next-error-move): New function.
12700
273d2baf
SM
127012011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12702
12703 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12704 messages for adjacent non-terminals.
12705
56c2cc9a
RS
127062011-06-23 Richard Stallman <rms@gnu.org>
12707
12708 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12709 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12710 (rmail-start-mail): Don't specify use of rmail-mail-return;
12711 that's done by mail-bury now.
12712 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12713
d59eb518
MA
127142011-06-23 Michael Albinus <michael.albinus@gmx.de>
12715
12716 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12717 SIZE is a number.
12718
02cfc6d6
MR
127192011-06-23 Martin Rudalics <rudalics@gmx.at>
12720
12721 * window.el (get-lru-window, get-mru-window)
12722 (get-largest-window): Never return a minibuffer window.
12723 (display-buffer-pop-up-window): Fix a bug that could lead to
12724 reusing the minibuffer window.
12725 (display-buffer): Pass original specifier argument to
12726 display-buffer-function instead of the normalized one.
12727 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12728
4e323265
LL
127292011-06-22 Leo Liu <sdl.web@gmail.com>
12730
12731 * minibuffer.el (completing-read-function)
12732 (completing-read-default): Move from minibuf.c
12733
7a70468f
RS
127342011-06-22 Richard Stallman <rms@gnu.org>
12735
50718fc2
RS
12736 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
12737 to Rmail even if not started by a special Rmail command.
12738
7a70468f
RS
12739 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
12740 Copy the buffer currently showing just one message.
12741
297dde5a
RW
127422011-06-22 Roland Winkler <winkler@gnu.org>
12743
12744 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
12745 (bibtex-clean-entry): First delete the old key so that a
12746 customized algorithm for generating the new key does not get
12747 confused by the old key.
12748 (bibtex-url): Obey regexp of first step.
12749 (bibtex-search-entries): Do not use add-to-list with local
12750 list-var.
12751
97bb1093
LMI
127522011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12753
12754 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
12755 stored a user name, then query for the password first, instead of
12756 waiting for SMTP to give an error message and the trying again.
12757
1c0f1a19
JD
127582011-06-22 Lawrence Mitchell <wence@gmx.li>
12759
12760 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
12761 BUFFER in call-process.
12762
396f7c9d
LMI
127632011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
12764
12765 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
12766 QUIT twice.
ddb7ffee
LMI
12767 (smtpmail-try-auth-methods): Require user name and password from
12768 auth-source.
396f7c9d 12769
8998d1b3
MR
127702011-06-22 Martin Rudalics <rudalics@gmx.at>
12771
12772 * window.el (display-buffer-default-specifiers)
12773 (display-buffer-alist): Remove entries for pop-up-frame-alist.
12774 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 12775 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
12776
12777 * frame.el (pop-up-frame-alist, pop-up-frame-function)
12778 (special-display-frame-alist, special-display-popup-frame):
12779 Remove duplicate declarations. These are now in window.el.
12780
4ea31e07
LMI
127812011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12782
c9d29fb8
SM
12783 * mail/smtpmail.el (smtpmail-via-smtp):
12784 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
12785 server supports it. SMTP servers that support STARTTLS commonly
12786 require it.
12787
12788 * net/network-stream.el (network-stream-open-starttls): Support
12789 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 12790 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 12791
95f41d9a
LMI
12792 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
12793 upgrades with `open-network-stream', and rely solely on
12794 auth-source for all credentials. Big changes throughout the file,
12795 but in particular:
c9d29fb8
SM
12796 (smtpmail-auth-credentials): Remove.
12797 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
12798 (smtpmail-via-smtp): Check for servers saying they want AUTH after
12799 MAIL FROM, too.
95f41d9a 12800
c9d29fb8
SM
12801 * net/network-stream.el (network-stream-open-starttls):
12802 Provide support for client certificates both for external and built-in
4ea31e07
LMI
12803 STARTTLS.
12804 (auth-source): Require.
12805 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
12806 (network-stream-certificate): Change cert-cert to cert and
12807 cert-key to key.
4ea31e07 12808
065ec2c7
MA
128092011-06-21 Michael Albinus <michael.albinus@gmx.de>
12810
12811 * net/tramp-cache.el (top): Don't load the persistency file when
12812 "emacs -Q" has been called.
12813
cd93b359
DR
128142011-06-21 Tim Harper <timcharper@gmail.com>
12815
d8e4b68b
JB
12816 * term/ns-win.el (ns-initialize-window-system):
12817 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
12818 resource to NO as it is not yet supported by the NS port.
12819
ae9c0411
JB
128202011-06-21 Juanma Barranquero <lekktu@gmail.com>
12821
12822 * misc.el (list-dynamic-libraries--refresh): Compute header here...
12823 (list-dynamic-libraries): ...not here.
12824
7f3f739f
LL
128252011-06-21 Leo Liu <sdl.web@gmail.com>
12826
12827 * subr.el (sha1): Implement sha1 using secure-hash.
12828
327c8fb1
MR
128292011-06-21 Martin Rudalics <rudalics@gmx.at>
12830
12831 * window.el (display-buffer-alist): In default value do not
12832 enforce searching a window on any but the selected frame.
12833 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
12834 (display-buffer-select-window): Remove function.
12835 (display-buffer-in-window): When a window on another frame gets
12836 reused, do not select it any more but just raise its frame if
12837 necessary (Bug#8851) and (Bug#8856).
12838 (display-buffer-normalize-options): Handle pop-up-frames related
12839 options more faithfully.
12840 (pop-to-buffer): Don't rely on `display-buffer' selecting the
12841 window if it is on another frame.
c9d29fb8
SM
12842 (display-buffer-alist, display-buffer-default-specifiers):
12843 Don't make new frame unsplittable by default.
9e9de014
MR
12844 (display-buffer-normalize-argument): Fix doc-string typo and use
12845 'same-frame-other-window instead of 'other-window when associating
12846 with display-buffer-macro-specifiers.
327c8fb1 12847
7cf3f556
VB
128482011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12849
12850 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12851 New functions.
12852 (5x5-mode-map, 5x5-mode-menu): Bind them.
12853 (5x5-draw-grid): Tweak the solver's rendering.
12854
60a406cf
SM
128552011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12858 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12859
d8e4b68b 128602011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12861
12862 * menu-bar.el: Use function variable instead of switch-to-buffer.
12863 (menu-bar-select-buffer-function): New variable.
60a406cf 12864 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12865
478d6f95
SM
128662011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12869 variable's status.
12870
ca530739
JD
128712011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12872
12873 * x-dnd.el (x-dnd-version-from-flags)
12874 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12875 and long as number (Bug#8899).
12876 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12877
bcd70d97
SM
128782011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12879
60a406cf 12880 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12881 (completion-try-completion, completion-all-completions): Compute the
12882 metadata argument if it's missing; make it optional (bug#8795).
12883
60a406cf 12884 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12885 (widget-complete): Use new :completion-function property.
12886 (widget-completions-at-point): New function.
12887 (default): Use :completion-function instead of :complete.
60a406cf
SM
12888 (widget-default-completions): Rename from widget-default-complete;
12889 Rewrite.
bcd70d97
SM
12890 (widget-string-complete, widget-file-complete, widget-color-complete):
12891 Remove functions.
12892 (file, symbol, function, variable, coding-system, color):
12893 * international/mule-cmds.el (default-input-method, charset)
12894 (language-info-custom-alist):
12895 * cus-edit.el (face): Use new property :completions.
12896
12897 * progmodes/pascal.el (pascal-completions-at-point): New function.
12898 (pascal-mode): Use it.
12899 (pascal-mode-map): Use completion-at-point.
12900 (pascal-toggle-completions): Make obsolete.
12901 (pascal-complete-word, pascal-show-completions):
12902 * progmodes/octave-mod.el (octave-complete-symbol):
12903 Redefine as obsolete alias.
12904 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12905 Signal absence of completion info for old Octave,
12906 (inferior-octave-complete): Redefine as obsolete alias.
12907 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12908 (meta-completions-at-point): Rename from meta-complete-symbol and
12909 adapt it for use on completion-at-point-functions.
12910 (meta-common-mode): Use it.
12911 (meta-looking-at-backward, meta-match-buffer): Remove.
12912 (meta-complete-symbol): Redefine as obsolete alias.
12913 (meta-common-mode-map): Use completion-at-point.
12914 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12915 (makefile-mode-map): Use completion-at-point.
12916 (makefile-completions-at-point): Rename from makefile-complete and
12917 adapt it for use on completion-at-point-functions.
12918 (makefile-mode): Use it.
12919 (makefile-complete): Redefine as obsolete alias.
12920
aebf69c8
DD
129212011-06-20 Deniz Dogan <deniz@dogan.se>
12922
12923 * net/rcirc.el: Delete trailing whitespaces once and for all.
12924
bfbbb27d
DC
129252011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12926
12927 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12928
d264a46b
CY
129292011-06-19 Chong Yidong <cyd@stupidchicken.com>
12930
4ca009e5
CY
12931 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12932
d264a46b
CY
12933 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12934
fbf5b3ce
MR
129352011-06-19 Martin Rudalics <rudalics@gmx.at>
12936
12937 * window.el (display-buffer-other-window-means-other-frame):
12938 Call display-buffer-normalize-alist.
12939 (display-buffer-normalize-specifiers-1): Rename to
12940 display-buffer-normalize-argument. New argument other-frame.
12941 Rewrite.
12942 (display-buffer-normalize-specifiers-2): Rename to
12943 display-buffer-normalize-options.
12944 (display-buffer-normalize-alist-1): New function.
12945 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12946 display-buffer-normalize-alist.
12947 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12948 (display-buffer-normalize-options-inhibit): New variable.
12949 (display-buffer-normalize-specifiers): Rewrite calling
12950 display-buffer-normalize-alist,
12951 display-buffer-normalize-argument, and
12952 display-buffer-normalize-options. Don't call the latter if
12953 display-buffer-normalize-options-inhibit is non-nil.
12954 (frame-auto-delete): New option.
12955 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12956 (window-list-no-nils, window-state-ignored-parameters)
12957 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12958 (window-state-put-1, window-state-put-2, window-state-put):
12959 New functions.
9a028c23
MR
12960 (display-buffer-normalize-options): Move special-display-p group
12961 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12962
6d10d800
CY
129632011-06-18 Chong Yidong <cyd@stupidchicken.com>
12964
6420d28b
CY
12965 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12966 groups (Bug#8776).
12967 (rx-submatch-n): New function.
12968 (rx): Document it.
12969
ddb8b596
CY
12970 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12971 (Bug#8768).
12972
12973 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12974
77080289
CY
12975 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12976
61dfb316
CY
12977 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12978 anytime existing face settings are present (Bug#8889).
12979
6d10d800
CY
12980 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12981 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12982 Remove unused argument.
12983
be3fb2b8
MR
129842011-06-18 Martin Rudalics <rudalics@gmx.at>
12985
bcd70d97
SM
12986 * window.el (display-buffer-default-specifiers):
12987 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12988 pop-up-window-min-width, and another reuse-window specifier
12989 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12990 (display-buffer-normalize-specifiers-2):
12991 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12992 pop-up-windows is unset. Add a reuse-window specifier for the
12993 case popping up a new window fails.
12994 (special-display-popup-frame): Remove double quoting.
28dec25a 12995 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12996
1c6d8c76
SM
129972011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13000 according to comint-completion-addsuffix.
13001
13002 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13003 (pcomplete-suffix-list): Mark as obsolete.
13004 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13005 pcomplete-seen in the closure.
13006 (pcomplete-comint-setup): Setup completion-at-point as well.
13007 (pcomplete--entries): New function.
13008 (pcomplete--env-regexp): New var.
13009 (pcomplete-entries): Rewrite to work with partial-completion and
13010 without relying on pcomplete-suffix-list.
13011 (pcomplete-pare-list): Remove, unused.
13012
25aef8b8
MR
130132011-06-17 Martin Rudalics <rudalics@gmx.at>
13014
13015 * window.el (display-buffer-alist): Set pop-up-window-min-height
13016 and pop-up-window-min-width in default value. Reported by
13017 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13018 other-window-means-other-frame.
13019 (display-buffer-macro-specifiers): Comment out entry for
13020 other-window specifier.
13021 (display-buffer-other-window-means-other-frame): New function.
13022 (display-buffer-normalize-specifiers-1): New arguments
13023 buffer-name and label. Treat other-window case specially.
13024 (display-buffer-normalize-specifiers-2): Treat other-window case
13025 specially.
13026 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13027 (display-buffer-normalize-specifiers):
13028 Call display-buffer-normalize-specifiers-3.
25aef8b8 13029
dbad4f69
MR
130302011-06-17 Martin Rudalics <rudalics@gmx.at>
13031
13032 * window.el (same-window-p): Fix two typos introduced when
13033 adding with-no-warnings.
d1067961
MR
13034 (display-buffer-normalize-specifiers-1): Don't check
13035 pop-up-frames for 'unset initialization.
13036 (display-buffer-normalize-specifiers-2): Major rewrite using
13037 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13038 (pop-up-frames, display-buffer-reuse-frames)
13039 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13040 Suggested by David Engster <deng@randomsample.de>.
13041 (even-window-heights): Initialize to 'unset.
13042 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13043 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13044 other window case.
dbad4f69 13045
9b9c9e3a
MR
130462011-06-16 Martin Rudalics <rudalics@gmx.at>
13047
bcd70d97
SM
13048 * window.el (display-buffer-normalize-specifiers-1):
13049 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13050 second argument of display-buffer (Bug#8865).
981d5c09
MR
13051 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13052 (switch-to-buffer-other-window-same-frame)
13053 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13054 Adams (Bug#8875).
9c2755e9
MR
13055 (display-buffer): Don't check noninteractive when calling
13056 display-buffer-pop-up-frame.
13057 (display-buffer-pop-up-frame): Never pop up a frame in
13058 noninteractive mode (Bug#8857).
67222e1d
MR
13059 (enlarge-window, shrink-window): Don't report an error when the
13060 window can't be resized as requested (Bug#8862).
9b9c9e3a 13061
2b75be67
SM
130622011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13063
9ffdd3ba
SM
13064 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13065
cb581a67
SM
13066 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13067
2b75be67
SM
13068 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13069
8c0e3589
AM
130702011-06-15 Alan Mackenzie <acm@muc.de>
13071
cb581a67
SM
13072 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13073 for declarators, disable knr checking to speed up for normal files.
13074 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13075
b96e6cde
LMI
130762011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13077
4bba86e6
LMI
13078 * net/network-stream.el (open-network-stream): Add the keyword
13079 :always-query-capabilities for the case where you want to force a
13080 `plain' network connection, but the protocol still requires the
13081 capabilitiy command (i.e., SMTP and EHLO).
13082
2b75be67 13083 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13084 consistency with other `-live-p' functions.
13085
efdcdbf8
SM
130862011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * window.el (same-window-buffer-names, same-window-regexps)
13089 (special-display-frame-alist, special-display-popup-frame)
13090 (special-display-function, special-display-buffer-names)
13091 (special-display-regexps, pop-up-frame-alist)
13092 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13093 (pop-up-windows, split-window-preferred-function)
13094 (split-height-threshold, split-width-threshold, even-window-heights)
13095 (display-buffer-mark-dedicated): Don't encourage the use of
13096 display-buffer-alist from Elisp code.
13097
c5cde042
DN
130982011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13099
13100 * progmodes/python.el (python-mode): Derive from prog-mode.
13101 * progmodes/ps-mode.el (ps-mode):
13102 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13103 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13104 * progmodes/ld-script.el (ld-script-mode): Likewise.
13105
baa1c9ab
MR
131062011-06-15 Martin Rudalics <rudalics@gmx.at>
13107
13108 * window.el (display-buffer-alist): Trim default value to avoid
13109 popping up a new frame (Bug#8857) or reusing an arbitrary window
13110 on another frame.
13111 (display-buffer): Do not fall back on popping up a new frame in
13112 batch mode (Bug#8857).
13113
c5dd5a51
CY
131142011-06-14 Chong Yidong <cyd@stupidchicken.com>
13115
13116 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13117 (custom-theme-summary): New function.
13118 (customize-themes): Use it.
13119
d647b7c4
GM
131202011-06-13 Glenn Morris <rgm@gnu.org>
13121
13122 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13123
9481c002
MR
131242011-06-13 Martin Rudalics <rudalics@gmx.at>
13125
357f93d2
MR
13126 * help.el (help-window): Remove variable.
13127 (help-window-point-marker, temp-buffer-max-height)
13128 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13129 (help-print-return-message): Don't set help-window.
13130 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13131 (help-window-setup-finish): Remove.
13132 (help-window-display-message, help-window-setup)
13133 (with-help-window): Major rewrite based on new
13134 display-buffer-window variable.
13135
13136 * help-mode.el (help-mode-finish): Remove help-window related
13137 code.
13138
13139 * view.el (view-exits-all-viewing-windows): Remove reference to
13140 view-return-to-alist in doc-string.
13141 (view-return-to-alist): Make obsolete.
13142 (view-buffer): Call pop-to-buffer-same-window and remove
13143 undo-window code.
13144 (view-buffer-other-window): Call pop-to-buffer-other-window and
13145 simplify code. Ignore second argument.
13146 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13147 simplify code. Ignore second argument.
13148 (view-return-to-alist-update): Make obsolete.
13149 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13150 Rewrite using quit-restore window parameters.
2b75be67
SM
13151 (view-mode-exit): Rename second argument to EXIT-ONLY.
13152 Rewrite using quit-restore-window.
357f93d2
MR
13153 (View-exit, View-exit-and-edit, View-leave, View-quit)
13154 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13155 appropriate arguments.
13156 (view-end-message): Use quit-restore window parameter.
13157
9481c002
MR
13158 * window.el (display-buffer-function): Rewrite doc-string.
13159 (display-buffer-window, display-buffer-alist): New variables.
13160 (display-buffer-split-specifiers)
13161 (display-buffer-side-specifiers)
13162 (display-buffer-macro-specifiers): New constants.
13163 (display-buffer-even-window-sizes, display-buffer-set-height)
13164 (display-buffer-set-width, display-buffer-select-window)
13165 (display-buffer-in-window, display-buffer-reuse-window)
13166 (display-buffer-split-window-1, display-buffer-split-window)
13167 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13168 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13169 (display-buffer-in-side-window, normalize-buffer-to-display)
13170 (display-buffer-normalize-specifiers-1)
13171 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13172 (display-buffer-normalize-specifiers, display-buffer-frame):
13173 New functions.
9481c002
MR
13174 (display-buffer): Major rewrite.
13175 (display-buffer-other-window, display-buffer-other-frame)
13176 (pop-to-buffer, switch-to-buffer-other-window)
13177 (switch-to-buffer-other-frame): Rewrite.
13178 (display-buffer-same-window, display-buffer-same-frame)
13179 (display-buffer-same-frame-other-window)
13180 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13181 (pop-to-buffer-other-window)
13182 (pop-to-buffer-same-frame-other-window)
13183 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13184 (switch-to-buffer-other-window-same-frame): New functions.
13185 (same-window-p, special-display-p): Rewrite disabling warnings.
13186 Make obsolete.
13187 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13188 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13189 Make obsolete
13190 (same-window-buffer-names, same-window-regexps)
13191 (special-display-frame-alist, special-display-popup-frame)
13192 (special-display-function, special-display-buffer-names)
13193 (special-display-regexps, pop-up-frame-alist)
13194 (pop-up-frame-function, split-window-preferred-function)
13195 (split-height-threshold, split-width-threshold)
13196 (even-window-heights): Make obsolete.
13197
9db51aca
GM
131982011-06-12 Glenn Morris <rgm@gnu.org>
13199
13200 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13201 Misc simplifications.
9db51aca 13202
39cffb44
MR
132032011-06-12 Martin Rudalics <rudalics@gmx.at>
13204
13205 * window.el (window-safely-shrinkable-p): Restore function which
13206 was inadvertently removed in change from 2011-06-11. Declare as
13207 obsolete.
13208
2b75be67
SM
13209 * calendar/calendar.el (calendar-generate-window):
13210 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13211 window-safely-shrinkable-p.
13212
a8955be7
GM
132132011-06-12 Glenn Morris <rgm@gnu.org>
13214
13215 * progmodes/fortran.el (fortran-mode-syntax-table):
13216 * progmodes/f90.el (f90-mode-syntax-table):
13217 Set % to punctuation. (Bug#8820)
13218 (f90-find-tag-default): Remove, no longer needed.
13219
f0d4059d
DC
132202011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13221
13222 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13223
1100a63c
CY
132242011-06-11 Chong Yidong <cyd@stupidchicken.com>
13225
13226 * image.el (image-animated-p): Return animation delay in seconds.
13227 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13228 (image-animate-timeout): Remove DELAY argument. Don't assume
13229 every subimage has the same delay; get it from image-animated-p.
13230 (image-animate): Caller changed.
13231
def722bf
MA
132322011-06-11 Michael Albinus <michael.albinus@gmx.de>
13233
13234 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13235 to ignored backtrace functions.
13236
0a2bb1a9
GM
132372011-06-11 Glenn Morris <rgm@gnu.org>
13238
13239 * calendar/appt.el (appt-disp-window-function): Doc fix.
13240 (appt-check): Handle overlapping appointments. (Bug#8337)
13241
6198ccd0
MR
132422011-06-11 Martin Rudalics <rudalics@gmx.at>
13243
13244 * window.el (window-tree-1, window-tree): New functions, moving
13245 the latter to window.el.
13246 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13247 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13248 (bw-refresh-edges): Remove.
13249 (balance-windows-1, balance-windows-2): New functions.
13250 (balance-windows): Rewrite in terms of window tree functions,
13251 balance-windows-1 and balance-windows-2.
13252 (bw-adjust-window): Remove.
13253 (balance-windows-area-adjust): New function with functionality of
13254 bw-adjust-window but using resize-window.
2b75be67
SM
13255 (set-window-text-height): Rewrite doc-string.
13256 Use normalize-live-window and resize-window.
13257 (enlarge-window-horizontally, shrink-window-horizontally):
13258 Rename argument to DELTA.
6198ccd0
MR
13259 (window-buffer-height): New function.
13260 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13261 Rewrite using new window resize routines.
2b75be67
SM
13262 (kill-buffer-and-window, mouse-autoselect-window-select):
13263 Use ignore-errors instead of condition-case.
6198ccd0
MR
13264 (quit-window): Call delete-frame instead of delete-windows-on
13265 for the only buffer on frame.
13266
9397e56f
MR
132672011-06-10 Martin Rudalics <rudalics@gmx.at>
13268
13269 * loadup.el (top-level): Load window before files for the sake
13270 of replace-buffer-in-windows.
13271
13272 * files.el (read-buffer-to-switch)
13273 (switch-to-buffer-other-window)
2b75be67
SM
13274 (switch-to-buffer-other-frame, display-buffer-other-frame):
13275 Move to window.el.
9397e56f
MR
13276
13277 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13278 (previous-buffer): Move to window.el.
13279
13280 * bindings.el (unbury-buffer): Move to window.el.
13281
13282 * window.el (delete-other-windows-vertically): Move after
13283 definition of delete-other-windows.
13284 (other-window, delete-windows-on, replace-buffer-in-windows):
13285 Move here from window.c.
13286 (record-window-buffer, unrecord-window-buffer)
13287 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13288 (switch-to-next-buffer): New functions.
13289 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13290 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13291 (previous-buffer): Move here from simple.el.
13292 Call switch-to-prev-buffer.
9397e56f
MR
13293 (bury-buffer): Move here from buffer.c. Switch to previous
13294 buffer when window cannot be deleted.
13295 (unbury-buffer): Move here from bindings.el.
13296 (ctl-x-map): Move binding for other-window from window.c to
13297 here.
13298 (read-buffer-to-switch, switch-to-buffer-other-window)
13299 (switch-to-buffer-other-frame): Move here from files.el.
13300 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13301 (switch-to-buffer): Move here from buffer.c.
13302 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13303
562dd5e9
MR
133042011-06-10 Martin Rudalics <rudalics@gmx.at>
13305
13306 * window.el (window-min-height, window-min-width): Move here
13307 from window.c. Add defcustoms and rewrite doc-strings.
13308 (resize-mini-window, resize-window): New functions.
13309 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13310 Move here from window.c.
13311 (maximize-window, minimize-window): New functions.
13312 (delete-window, delete-other-windows, split-window): Move here
13313 from window.c.
13314 (window-split-min-size): New function.
13315 (split-window-keep-point): Mention split-window-above-each-other
13316 instead of split-window-vertically.
2b75be67 13317 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13318 Rename split-window-vertically to split-window-above-each-other
13319 and provide defalias for old definition.
13320 (split-window-side-by-side, split-window-horizontally):
13321 Rename split-window-horizontally to split-window-side-by-side
13322 and provide defalias for the old definition.
562dd5e9
MR
13323 (ctl-x-map): Move bindings for delete-window,
13324 delete-other-windows and enlarge-window here from window.c.
13325 Replace bindings for split-window-vertically and
13326 split-window-horizontally by bindings for
13327 split-window-above-each-other and split-window-side-by-side.
13328
13329 * cus-start.el (all): Remove entries for window-min-height and
13330 window-min-width. Add entries for window-splits and
13331 window-nest.
13332
f0da764a
GM
133332011-06-09 Glenn Morris <rgm@gnu.org>
13334
80675c21
GM
13335 * calendar/appt.el (appt-mode-line): New function.
13336 (appt-check, appt-disp-window): Use it.
13337
f0da764a
GM
13338 * files.el (hack-one-local-variable-eval-safep):
13339 Allow minor-modes with explicit +/-1 arguments.
13340
59f623b7
TZ
133412011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13342
13343 * term/xterm.el (xterm): Add defgroup.
13344 (xterm-extra-capabilities): Add defcustom to supply known xterm
13345 capabilities, skip querying them, or query them (default).
13346 (terminal-init-xterm): Use it.
13347 (terminal-init-xterm-modify-other-keys): New function to set up
13348 modifyOtherKeys support to simplify `terminal-init-xterm'.
13349
9aab8e0d
MR
133502011-06-09 Martin Rudalics <rudalics@gmx.at>
13351
13352 * window.el (resize-window-reset, resize-window-reset-1)
13353 (resize-subwindows-skip-p, resize-subwindows-normal)
13354 (resize-subwindows, resize-other-windows, resize-this-window)
13355 (resize-root-window, resize-root-window-vertically)
13356 (window-deletable-p, window-or-subwindow-p)
13357 (frame-root-window-p): New functions.
13358
e8b08aee
GM
133592011-06-09 Glenn Morris <rgm@gnu.org>
13360
13361 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13362 (ange-ftp-get-files): Use it.
13363
254c37a5
AK
133642011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13365
13366 * mail/sendmail.el (mail-recover-1, mail-recover):
13367 * files.el (recover-file, recover-session):
13368 Handle dired-listing-switches not being just a single short option.
13369
35d7dbd3
GM
133702011-06-09 Glenn Morris <rgm@gnu.org>
13371
13372 * calendar/appt.el (appt-display-message, appt-disp-window):
13373 Handle lists of appointments.
13374
387522b2
MR
133752011-06-08 Martin Rudalics <rudalics@gmx.at>
13376
2b75be67
SM
13377 * window.el (one-window-p): Move down in code.
13378 Rewrite doc-string.
13379 (window-current-scroll-bars): Rewrite doc-string.
13380 Normalize live window argument.
387522b2
MR
13381 (walk-windows, get-window-with-predicate, count-windows):
13382 Rewrite doc-string. Use window-list-1.
13383 (window-in-direction-2, window-in-direction, get-mru-window):
13384 New functions.
13385
d8e4b68b 133862011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13387
13388 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13389 Doc fix (Bug#8713).
13390
133912011-06-08 Chong Yidong <cyd@stupidchicken.com>
13392
13393 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13394
133952011-06-08 Juanma Barranquero <lekktu@gmail.com>
13396
13397 * loadhist.el (unload-feature-special-hooks):
13398 Add `comint-output-filter-functions'.
13399
0de12c52
IK
134002011-06-08 Ivan Kanis <gnu@kanis.fr>
13401
13402 * calendar/appt.el (appt-check): Move some initializations into the let.
13403
f3d1777e
MR
134042011-06-08 Martin Rudalics <rudalics@gmx.at>
13405
13406 * window.el (window-height): Defalias to window-total-height.
13407 (window-width): Defalias to window-body-width.
13408
18af70d0
CY
134092011-06-07 Chong Yidong <cyd@stupidchicken.com>
13410
13411 * image-mode.el (image-toggle-animation): New command.
13412 (image-mode-map): Bind it to RET.
13413 (image-mode): Update message.
13414 (image-toggle-display-image): Avoid a spurious cache flush.
13415 (image-transform-rotation): Doc fix.
13416 (image-transform-properties): Return quickly in the normal case.
13417 (image-animate-loop): Rename from image-animate-max-time.
13418
2b75be67 13419 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13420 (create-animated-image): Remove unnecessary function.
13421 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13422 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13423 (image-animate-timer): Use car-safe.
13424 (image-animate-timeout): Rename argument.
13425
190b47e6
MR
134262011-06-07 Martin Rudalics <rudalics@gmx.at>
13427
13428 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13429 window.c. Rename first argument to ALL-FRAMES.
13430 Rephrase doc-strings.
13431 (get-buffer-window-list): Rewrite using window-list-1.
13432 Rephrase doc-string.
a1511caf
MR
13433 (window-safe-min-height, window-safe-min-width): New constants.
13434 (window-size-ignore, window-min-size, window-min-size-1)
13435 (window-sizable, window-sizable-p, window-size-fixed-1)
13436 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13437 (window-max-delta-1, window-max-delta, window-resizable)
13438 (window-resizable-p, window-total-height, window-total-width)
13439 (window-body-width): New functions.
13440 (window-full-height-p, window-full-width-p): Rewrite using
13441 window-total-size.
13442 (window-body-height): Rewrite using window-body-size.
190b47e6 13443
85cc1f11
MR
134442011-06-06 Martin Rudalics <rudalics@gmx.at>
13445
13446 * window.el (window-right, window-left, window-child)
13447 (window-child-count, window-last-child, window-any-p)
13448 (normalize-live-buffer, normalize-live-frame)
13449 (normalize-any-window, normalize-live-window)
13450 (window-iso-combination-p, window-iso-combined-p)
13451 (window-iso-combinations)
13452 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13453 (windows-with-parameter, window-with-parameter)
13454 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13455 (window-atom-check, window-side-check, window-check):
13456 New functions.
85cc1f11
MR
13457 (ignore-window-parameters, window-sides, window-sides-vertical)
13458 (window-sides-slots): New variables.
13459 (window-size-fixed): Move down in code. Minor doc-string fix.
13460
e7156492
AS
134612011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13462
13463 * comint.el (comint-dynamic-complete-as-filename)
13464 (comint-dynamic-complete-filename): Correctly call
13465 completion-in-region.
13466
7e821d0d
DD
134672011-06-05 Deniz Dogan <deniz@dogan.se>
13468
13469 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13470 in last change.
13471
ac09b8a1
DD
134722011-06-05 Deniz Dogan <deniz@dogan.se>
13473
13474 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13475 (rcirc): Use it to prompt for encryption.
13476
34699b85
RW
134772011-06-05 Roland Winkler <winkler@gnu.org>
13478
13479 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13480 (bibtex-search-entries): New command bound to C-c C-a.
13481 (bibtex-display-entries): New function.
13482
004dedd3
RW
134832011-06-05 Roland Winkler <winkler@gnu.org>
13484
13485 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13486 (bibtex-insert-kill): After yanking insert newline if necessary.
13487 (bibtex-initialize): Call bibtex-string-files-init only once.
13488 (bibtex-mode): Do not call easy-menu-add.
13489 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13490 (bibtex-yank): Set arg properly if nil.
13491
022fe7ce
RW
134922011-06-05 Roland Winkler <winkler@gnu.org>
13493
2b75be67
SM
13494 * textmodes/bibtex.el (bibtex-search-entry-globally):
13495 New variable.
022fe7ce
RW
13496 (bibtex-search-entry): Use it.
13497
b7c3692a
RW
134982011-06-05 Roland Winkler <winkler@gnu.org>
13499
13500 * textmodes/bibtex.el (bibtex-entry-format): New option
13501 sort-fields.
13502 (bibtex-format-entry, bibtex-reformat): Honor this option.
13503 (bibtex-parse-entry): Return fields in proper order.
13504
8eda563d
JB
135052011-06-05 Juanma Barranquero <lekktu@gmail.com>
13506
13507 * doc-view.el (doc-view-remove-if): Move computation of result out
13508 of `dolist' to silence misleading lexical-binding warning.
13509
7dbe3dbc
CY
135102011-06-04 Chong Yidong <cyd@stupidchicken.com>
13511
13512 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13513 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13514
0c33dd17
MA
135152011-06-04 Michael Albinus <michael.albinus@gmx.de>
13516
13517 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13518 "SunOS 5.10".
13519
f8f91c2b
MA
135202011-06-04 Michael Albinus <michael.albinus@gmx.de>
13521
13522 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13523 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13524 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13525 (tramp-parse-putty):
13526 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13527 (tramp-completion-function-alist-ssh)
13528 (tramp-completion-function-alist-telnet)
13529 (tramp-completion-function-alist-su)
13530 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13531 cookie.
13532
13533 * net/tramp-ftp.el:
13534 * net/tramp-sh.el:
13535 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13536 load "tramp.el" `tramp-set-completion-function'.
13537
e17d9003
SM
135382011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13539
13540 * shell.el: Require and use pcomplete.
13541 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13542 (shell-completion-vars): Set pcomplete-default-completion-function.
13543
6c4cab03
DD
135442011-06-04 Deniz Dogan <deniz@dogan.se>
13545
13546 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13547 `memq' (Bug#8799).
13548
ea9fafe0
SM
135492011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13552
b3e945d3
JB
135532011-06-02 Juanma Barranquero <lekktu@gmail.com>
13554
13555 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13556 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13557 * vc/log-view.el (log-view-beginning-of-defun):
13558 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13559 (smerge-refine-forward, smerge-refine-chopup-region):
13560 Silence warning for unused `dotimes' counter variables.
13561
7d520089
SM
135622011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * net/tramp.el (tramp-with-progress-reporter): Rename from
13565 with-progress-reporter. Use `declare'.
13566 * net/tramp-smb.el:
13567 * net/tramp-sh.el:
13568 * net/tramp-gvfs.el: Update all uses.
13569
a1c2400f
JB
135702011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13571
13572 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13573 buffer isn't killed before making it current.
13574
2403c841
SM
135752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13576
13577 Silence various byte-compiler warnings.
13578 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13579 `access-type' and new obsolescence format.
13580 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13581 new format.
13582 (byte-compile-check-variable): New `access-type' argument.
13583 Only warn if the access-type is obsolete.
13584 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13585 (byte-compile-variable-set): Adjust callers.
13586 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13587 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13588 setting it as obsolete.
13589 * simple.el (minibuffer-completing-symbol):
13590 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13591 access as obsolete.
13592 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13593 obsolete yet.
13594 * international/quail.el (quail-mouse-choose-completion): Remove unused
13595 code referring to obsolete var.
13596 (quail-choose-completion-string): Remove.
13597 * server.el (server-clients-with, server-kill-buffer-query-function)
13598 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13599 * proced.el (proced-send-signal):
13600 * emacs-lisp/lisp.el (lisp-complete-symbol):
13601 Replace completion-annotate-function with completion-extra-properties.
13602
2462470b
SM
136032011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13604
fb5b2591
SM
13605 * simple.el (goto-line): Use read-number.
13606 (overriding-map-is-bound): Remove.
13607 (saved-overriding-map): Change default.
13608 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13609 Take the map as argument.
13610 (universal-argument, negative-argument, digit-argument): Use it.
13611 (restore-overriding-map): Adjust.
13612 (do-auto-fill): Use fill-forward-paragraph.
13613 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13614
fd6fa53f
SM
13615 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13616 (minibuffer-inactive-mode): New major mode.
13617 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13618 the *Messages* buffer" hack.
13619 (mouse-popup-menubar): Don't burp if the event is a normal key.
13620
2462470b
SM
13621 Miscellaneous tweaks.
13622 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13623 lexical scoping as in subr.el's dolist and dotimes.
13624 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13625 Silence compiler warning.
13626 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13627 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13628 * international/ccl.el (ccl-compile): Trivial simplification.
13629 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13630 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13631 `printflag' argument.
13632 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13633 Purecopy the whole obsolescence data.
13634
108bf785
LL
136352011-06-01 Leo Liu <sdl.web@gmail.com>
13636
13637 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13638 improve doc-string as suggested by Marco Pessotto
13639 <melmothx@gmail.com>.
13640 (rcirc-print): Fix last change.
13641
30a23501
SM
136422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13643
13644 * minibuffer.el (complete-with-action): Return nil for the metadata and
13645 boundaries of non-functional tables.
13646 (completion-table-dynamic): Return nil for the metadata.
13647 (completion-table-with-terminator): Add default case, using
13648 complete-with-action.
13649 (completion--metadata): New function.
13650 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13651 to try and avoid pathological performance problems.
13652 (completion--embedded-envvar-table): Return `category' metadata.
13653
bcd54f83
LMI
136542011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13655
13656 * subr.el (process-alive-p): New tiny convenience function.
13657
e227544d
SM
136582011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13661 content but also its previous major mode.
13662
e8296fdc
HE
136632011-05-31 Helmut Eller <eller.helmut@gmail.com>
13664
4d61f28d 13665 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13666 *Backtrace* buffer when we exit with C-M-c.
13667
620c53a6
SM
136682011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13669
13670 * minibuffer.el: Add metadata method to completion tables.
13671 (completion-category-overrides): New defcustom.
13672 (completion-metadata, completion--field-metadata)
13673 (completion-metadata-get, completion--styles)
13674 (completion--cycle-threshold): New functions.
13675 (completion-try-completion, completion-all-completions):
13676 Add `metadata' argument to choose completion-styles.
13677 (completion--do-completion): Use metadata to choose cycling.
13678 (completion-all-sorted-completions): Use metadata for sorting.
13679 Remove :completion-cycle-penalty which is not needed any more.
13680 (completion--try-word-completion): Add `metadata' argument.
13681 (minibuffer-completion-help): Check metadata for annotation function
13682 and sorting.
13683 (completion-file-name-table): Return `category' metadata.
13684 (minibuffer-completing-file-name): Make obsolete.
13685 * simple.el (minibuffer-completing-symbol): Make obsolete.
13686 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13687 completion-try-completion.
13688
1257e755
SM
136892011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13692
3767e706
LL
136932011-05-30 Leo Liu <sdl.web@gmail.com>
13694
13695 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13696 (rcirc-print): Decode all incoming messages (bug#8744).
13697 (rcirc-decode-coding-system): Allow value nil for automatic coding
13698 system detection.
3767e706 13699
d1a5d56a
GM
137002011-06-01 Glenn Morris <rgm@gnu.org>
13701
13702 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13703
e8cbec34
CY
137042011-05-29 Chong Yidong <cyd@stupidchicken.com>
13705
13706 * image.el (image-animate-max-time): Allow nil and t values.
13707 Default to nil.
13708 (create-animated-image): Doc fix.
13709 (image-animate-start): Remove second arg; just use
13710 image-animate-max-time.
13711 (image-animate-timeout): Doc fix. Args changed.
13712
13713 * image-mode.el (image-toggle-display-image): Ensure that the
13714 image spec passed to the animate timer is the same object as in
58179cce 13715 the buffer's display property (Bug#6981).
e8cbec34
CY
13716 (image-transform-properties): Doc fix.
13717
13718 * image.el (image-animate-max-time): Default to nil.
13719
159daf87
MR
137202011-05-29 Martin Rudalics <rudalics@gmx.at>
13721
13722 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13723 entire buffer list (Bug#8184).
13724
d66c4c7c
CY
137252011-05-29 Chong Yidong <cyd@stupidchicken.com>
13726
13727 * image.el (imagemagick-types-inhibit)
13728 (imagemagick-register-types): Doc fix.
13729
80aec780
DD
137302011-05-29 Deniz Dogan <deniz@dogan.se>
13731
13732 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13733 default.
13734
1dd3c2d9
CY
137352011-05-29 Chong Yidong <cyd@stupidchicken.com>
13736
13737 * select.el: Don't perform clipboard-manager saving in hooks;
13738 leave the hooks empty.
13739
60e56523
LL
137402011-05-28 Leo Liu <sdl.web@gmail.com>
13741
13742 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
13743 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
13744 (occur-edit-mode): New major mode (Bug#8463).
13745 (occur-after-change-function): New function.
13746 (occur-engine): Give Occur tags a read-only property.
13747
2b1e1a22
KR
137482011-05-28 Kevin Ryde <user42@zip.com.au>
13749
13750 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
13751
5d344e88
CY
137522011-05-28 Chong Yidong <cyd@stupidchicken.com>
13753
8e6ca83d
CY
13754 * bindings.el (help-echo): Make the initial non-indicator dash
13755 empty on graphical terminals (Bug#7295).
13756
5d344e88
CY
13757 * files.el (auto-mode-alist): Move config rule after the
13758 in-stripping one (Bug#8547).
13759
bfbbace7
CY
13760 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
13761
fbeba6e2
CY
13762 * startup.el (normal-splash-screen): Remove gratuitous mode-line
13763 setting (Bug#8740).
13764
60ed8c72
AA
137652011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
13766
4ac619f0
AA
13767 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
13768 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
13769 (Bug#8539).
60ed8c72 13770
23db196e
CY
137712011-05-28 Chong Yidong <cyd@stupidchicken.com>
13772
13773 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
13774
5012f24c
DK
137752011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
13776
13777 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
13778 (hs-hide-block-at-point, hs-find-block-beginning)
13779 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
13780 (Bug#8279).
13781
6a639b16
GM
137822011-05-28 Glenn Morris <rgm@gnu.org>
13783
13784 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
13785
d43eaf2c
CY
137862011-05-28 Chong Yidong <cyd@stupidchicken.com>
13787
5199bde1
CY
13788 * help-fns.el (describe-function-1): If the function is a derived
13789 major mode, print the parent mode.
13790
d43eaf2c
CY
13791 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
13792 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
13793
423428a8
SM
137942011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13795
0ff8e1ba 13796 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 13797 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
13798 * progmodes/etags.el (tags-completion-at-point-function):
13799 * info-look.el (info-lookup-completions-at-point): Mark as
13800 non-exclusive.
13801 (info-complete): Adjust accordingly.
13802
423428a8
SM
13803 * info-look.el: Convert to lexical-binding and completion-at-point.
13804 (info-lookup-completions-at-point): New function.
13805 (info-complete): Use it and completion-in-region.
13806
b74aa22b
DA
138072011-05-28 Drew Adams <drew.adams@oracle.com>
13808
13809 * isearch.el: Let M-e start with point at the first mismatched char.
13810 (isearch-fail-pos): New function.
13811 (isearch-edit-string): Use it.
13812
66e2e71d
DK
138132011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13814
13815 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13816
b1890b0f 138172011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
13818
13819 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
13820 traversal functions for avl-trees.
13821 (avl-tree--stack): New struct.
13822 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
13823 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
13824 (avl-tree--do-enter): Add optional `updatefun' arg.
13825 Change return value.
eb95d01d 13826 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
13827 (avl-tree--do-delete): Add `test' and `nilflag' args.
13828 Change return value.
eb95d01d
TC
13829 (avl-tree-member): Add optional `nilflag'
13830 (avl-tree-member-p): New function.
13831 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
13832 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
13833 (avl-tree-stack-empty-p): New functions.
13834
3769ddcf
TC
13835 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
13836 avl-tree--del-balance1 and make it work both ways.
13837 (avl-tree--del-balance2): Remove.
13838 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
13839 make it work both ways.
13840 (avl-tree--enter-balance2): Remove.
13841 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13842 New macros.
13843 (avl-tree--mapc, avl-tree-map): Add direction argument.
13844
eb95d01d 138452011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13846
13847 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13848
a9f737ee
CY
138492011-05-27 Chong Yidong <cyd@stupidchicken.com>
13850
13851 * select.el: Support clipboard managers with built-in function
13852 x-clipboard-manager-save, via delete-frame-functions and
13853 kill-emacs-hook.
13854 (xselect-convert-to-targets): Add MULTIPLE target to list.
13855 (xselect-convert-to-save-targets): New function.
13856
c92a1e54
KH
138572011-05-27 Kenichi Handa <handa@m17n.org>
13858
13859 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13860 let-binding rfc2047-encode-encoded-words to nil.
13861
e145f188
GM
138622011-05-27 Glenn Morris <rgm@gnu.org>
13863
5ec8a862
GM
13864 * mail/emacsbug.el: Don't require url-util.
13865
4b29d9fb
GM
13866 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13867
e145f188
GM
13868 * files.el (set-auto-mode):
13869 Also respect mode: entries at the end of the file. (Bug#8586)
13870
7d15102b
GM
138712011-05-26 Glenn Morris <rgm@gnu.org>
13872
98f593b8
GM
13873 * files.el (hack-local-variables-prop-line, hack-local-variables):
13874 Downcase mode names, as seems to be traditional.
27b48e63 13875 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13876
7d15102b
GM
13877 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13878 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13879
51d5b4ec
JD
138802011-05-25 Julien Danjou <julien@danjou.info>
13881
13882 * textmodes/rst.el (rst-define-level-faces): Do not define face
13883 symbol if it is already defined.
13884
91513f63
VB
138852011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13886
13887 * play/5x5.el (5x5-new-game, 5x5-randomize):
13888 Reset 5x5-solver-output to nil when a new grid is cast.
13889 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13890 these debugging traces, as defmacro breaks the compiled code.
13891
4d90d6d0
DK
138922011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13893
13894 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13895
e1b90ef6
LL
138962011-05-24 Leo Liu <sdl.web@gmail.com>
13897
13898 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13899 (vc-bzr-sha1): Adapt.
13900
d8e4b68b 13901 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13902
13903 * bindings.el: Provide sha1 feature.
13904
db0406bb 139052011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13906
13907 * mail/sendmail.el: Require `rfc2047'.
13908 (mail-insert-from-field): Do not perform RFC2047 encoding.
13909 (mail-encode-header): New function.
13910 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13911 buffer to the return value of select-message-coding-system.
13912 Call mail-encode-header.
b8d747b9
KH
13913
13914 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13915
db0406bb 139162011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13917
4d90d6d0
DK
13918 * mail/supercite.el (sc-default-cite-frame):
13919 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13920
eb8a5e9b
GM
139212011-05-24 Glenn Morris <rgm@gnu.org>
13922
f8630703
GM
13923 * progmodes/python.el (brm-menu): Declare.
13924
8831bbed
GM
13925 * emulation/viper.el (viper-set-hooks): Declare.
13926
eb8a5e9b
GM
13927 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13928 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13929 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13930 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13931 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13932 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13933
a2a25d24
SM
139342011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13935
13936 Add an :exit-function for completion-at-point.
13937
13938 * minibuffer.el (completion--done): New fun.
13939 (completion--do-completion): Use it. New arg `expect-exact'.
13940 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13941 since completion--do-completion does it for us now.
13942 (minibuffer-force-complete): Use completion--done and
13943 completion--replace. Handle sole-completion case with more care.
13944 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13945 (completion-extra-properties): New var.
13946 (completion-annotate-function): Make obsolete.
13947 (minibuffer-completion-help): Adjust accordingly.
13948 Use completion-list-insert-choice-function.
13949 (completion-at-point, completion-help-at-point):
13950 Bind completion-extra-properties.
13951 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13952 * simple.el (completion-list-insert-choice-function): New var.
13953 (completion-setup-function): Preserve it.
13954 (choose-completion): Pay attention to it, shuffle the code a bit.
13955 (choose-completion-string): New arg `insert-function'.
13956
13957 * textmodes/bibtex.el: Convert to lexical binding.
13958 (bibtex-mode-map): Use completion-at-point.
13959 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13960 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13961 (bibtex-complete): Define as obsolete alias.
13962 (bibtex-complete-internal): Remove.
13963 (bibtex-format-entry): Remove unused sub-group in regexp.
13964 * shell.el (shell--command-completion-data)
13965 (shell-environment-variable-completion):
13966 * pcomplete.el (pcomplete-completions-at-point):
13967 * comint.el (comint--complete-file-name-data): Use :exit-function
13968 instead of completion-table-with-terminator so it also works for
13969 choose-completion.
13970
e44e373d
SM
139712011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13972
4f91a816
SM
13973 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13974
782fc819
SM
13975 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13976 (bug#8710).
13977
e44e373d
SM
13978 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13979
381987c3
KM
139802011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13981
13982 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13983 customization variable and implement: If non-nil, auto-fill will
13984 be inhibited while on topic's header line.
13985
b776bc70
VB
139862011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13987
13988 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13989 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13990 always have a solution in grid size = 5 cases.
13991 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13992 (5x5-solver-output, 5x5-log-buffer): New vars.
13993 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13994 Make these variables buffer local to achieve 5x5 multi-session-ness.
13995 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13996 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13997 (5x5-solve-suggest): New funs.
13998 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13999 randomize a grid so that we ensure that there is always a solution.
14000 (5x5-make-random-grid): Allow other movement than flipping.
14001
7de88b6e
KR
140022011-05-23 Kevin Ryde <user42@zip.com.au>
14003
14004 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14005 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14006 advice and passes PREDICATE.
14007
b1ef1257
SM
140082011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14009
bbca48fe
SM
14010 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14011 byte-compile-lambda if it's actually a lambda.
14012
b1ef1257
SM
14013 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14014 Fix function quoting. Use backquote better.
14015
92a9cc65
YS
140162011-05-22 Yuanle Song <sylecn@gmail.com>
14017
14018 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14019 matching (Bug#8516).
14020
f0fb8059
JA
140212011-01-22 Jari Aalto <jari.aalto@cante.net>
14022
14023 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14024 different face (Bug#8178).
14025
d5b44c93
CY
140262011-05-22 Chong Yidong <cyd@stupidchicken.com>
14027
14028 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14029 defface (Bug#8144).
14030
79106a44
SM
140312011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14032
9c848d8a
SM
14033 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14034 funcall as well (bug#8712). Warn when performing those conversions.
14035 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14036
79106a44
SM
14037 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14038
88dfa756
GM
140392011-05-22 Glenn Morris <rgm@gnu.org>
14040
14041 * files.el (hack-local-variables-prop-line): Small simplifications.
14042 (hack-local-variables, hack-local-variables-prop-line):
14043 If MODE-ONLY, return the mode, rather than just `t'.
14044
b7cf2c79
SM
140452011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14046
14047 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14048
3f1a8558
GM
140492011-05-21 Glenn Morris <rgm@gnu.org>
14050
7e4ccca3
GM
14051 * files.el (hack-local-variables-prop-line, hack-local-variables):
14052 If only interested in the mode, don't bother doing the other stuff.
14053
637d46ca
GM
14054 * image-mode.el (image-after-revert-hook):
14055 Redraw all frames on which the image is visible. (Bug#8567)
14056
973d955b
GM
14057 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14058
3f1a8558
GM
14059 * wid-edit.el (widget-checklist-match-inline):
14060 Fix 2011-04-19 change. (Bug#8649)
14061
96479927
SM
140622011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14063
1dcf791f
SM
14064 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14065 Also allow singlespace after single-letter capitals followed by a dot.
14066
96479927
SM
14067 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14068 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14069
35fd0881
N
140702011-05-20 Nix <nix@esperi.org.uk>
14071
14072 * files.el (basic-save-buffer-2):
14073 Fix handling of break-hardlink-on-save with non-existent files.
14074
82745640
DD
140752011-05-19 Deniz Dogan <deniz@dogan.se>
14076
14077 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14078 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14079
4a720484
GM
140802011-05-19 Glenn Morris <rgm@gnu.org>
14081
d1f21341
GM
14082 * progmodes/f90.el (f90-type-def-re):
14083 Handle "type, bind(c)". (Bug#8691)
14084
4a720484
GM
14085 * emacs-lisp/autoload.el (batch-update-autoloads):
14086 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14087
2fb0a219
MA
140882011-05-18 Michael Albinus <michael.albinus@gmx.de>
14089
14090 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14091 property for the correct connection in case of multihops.
14092
e565dd37
GM
140932011-05-18 Glenn Morris <rgm@gnu.org>
14094
c2571358 14095 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14096 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14097
e565dd37
GM
14098 Rationalize calendar handling of day and month abbrev-arrays.
14099 * calendar/calendar.el (calendar-customized-p): New function.
14100 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14101 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14102 Add :set function.
14103 (calendar-abbrev-length, calendar-day-abbrev-array)
14104 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14105 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14106 Elements may no longer be nil.
14107 (calendar-day-name, calendar-month-name):
14108 Update for changed nature of abbrev arrays.
14109 * calendar/diary-lib.el (diary-name-pattern):
14110 Update for changed nature of abbrev arrays.
14111 (diary-mark-entries-1): Update calendar-make-alist calls.
14112 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14113 * calendar/cal-html.el (cal-html-day-abbrev-array):
14114 Simply inherit from calendar-day-abbrev-array.
14115
1d99a745
SM
141162011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14117
14118 * progmodes/grep.el (grep-mode): Disable default
14119 compilation-directory-matcher setting (bug#8684).
14120
7c1d9aa0
MA
141212011-05-17 Michael Albinus <michael.albinus@gmx.de>
14122
14123 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14124 instead of "head" and "tail". There were problems with SunOS 5.9,
14125 and it performs better.
14126
3952e9d8
GM
141272011-05-17 Glenn Morris <rgm@gnu.org>
14128
2dd12e7f
GM
14129 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14130
e4157b9c
GM
14131 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14132 Replace obsolete function.
14133
8e249bbd
GM
14134 * shell.el (pcomplete-parse-arguments-function): Declare.
14135
3952e9d8
GM
14136 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14137 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14138 (appt-check): Doc fixes.
14139 (appt-disp-window-function, appt-delete-window-function):
14140 Remove needless special case in custom :type.
14141 (appt-display-count): Default to 0, not nil.
14142 (appt-check): Reset appt-display-count to 0, not nil.
14143
c71a0d48 141442011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14145
c71a0d48
GM
14146 * progmodes/python.el (python-font-lock-keywords):
14147 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14148
31d55be9
SM
141492011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14150
14151 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14152
3bfacb2f
KR
141532011-05-16 Kevin Ryde <user42@zip.com.au>
14154
14155 * info-look.el (makefile-automake-mode): New setups, looking in
14156 automake manual, then makefile-mode.
14157 (makefile-mode): Remove automake manual, have it just in
14158 makefile-automake-mode since there's various things different or
14159 not relevant to plain make.
14160 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14161 believe a hypothetical automake-mode would go to makefile-mode,
14162 not the other way around.
14163
c8e83751
CY
141642011-05-15 Chong Yidong <cyd@stupidchicken.com>
14165
5e9e35cd
CY
14166 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14167 hunk-end tags (Bug#8672).
14168
c8e83751
CY
14169 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14170 vc-annotate-show-diff-revision-at-line (Bug#8671).
14171
50b23e5a
GM
141722011-05-14 Glenn Morris <rgm@gnu.org>
14173
7210a739
GM
14174 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14175 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14176 (change-log-font-lock-keywords): Also handle multiple author lines
14177 with leading tabs. (Bug#8644)
7210a739 14178
4691905a
GM
14179 * calendar/appt.el (appt-check): Rename some local variables.
14180 Some simplification/reordering.
14181
50b23e5a
GM
14182 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14183 (feedmail-sendmail-f-doesnt-sell-me-out)
14184 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14185 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14186 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14187 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14188 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14189 (feedmail-binmail-gnulinuxish-template):
14190 Rename from feedmail-binmail-linuxish-template.
14191 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14192 Use insert-buffer-substring.
14193
215cda7c
BC
141942011-05-14 Bill Carpenter <bill@carpenter.org>
14195
14196 * mail/feedmail.el (feedmail-patch-level): Increase.
14197 (feedmail-debug): New custom group.
14198 (feedmail-confirm-outgoing-timeout)
14199 (feedmail-sendmail-f-doesnt-sell-me-out)
14200 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14201 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14202 (feedmail-sender-line, feedmail-from-line)
14203 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14204 (feedmail-spray-this-address)
215cda7c
BC
14205 (feedmail-spray-address-fiddle-plex-list)
14206 (feedmail-queue-use-send-time-for-date)
14207 (feedmail-queue-use-send-time-for-message-id)
14208 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14209 (feedmail-buffer-eating-function):
14210 Doc fixes.
14211 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14212 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14213 (feedmail-message-action-scroll-down): New functions.
14214 (feedmail-queue-directory, feedmail-queue-draft-directory):
14215 Use expand-file-name.
14216 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14217 Remove C-v help entry.
14218 (feedmail-queue-buffer-file-name): New variable.
14219 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14220 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14221 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14222 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14223 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14224 (feedmail-message-action-toggle-spray)
14225 (feedmail-run-the-queue-no-prompts)
14226 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14227 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14228 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14229 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14230 (feedmail-envelope-deducer, feedmail-fiddle-from)
14231 (feedmail-fiddle-sender, feedmail-default-date-generator)
14232 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14233 (feedmail-fiddle-spray-address)
14234 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14235 (feedmail-fiddle-list-of-fiddle-plexes)
14236 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14237 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14238 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14239 Change default. Doc fix.
14240 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14241 (feedmail-binmail-linuxish-template): New constant.
14242 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14243 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14244 (feedmail-send-it): Add debug call.
14245 Use feedmail-queue-buffer-file-name, and
14246 feedmail-send-it-immediately-wrapper.
14247 (feedmail-message-action-send): Add debug call.
14248 Use feedmail-send-it-immediately-wrapper.
14249 (feedmail-queue-express-to-queue): Add debug call.
14250 Run feedmail-queue-express-hook.
14251 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14252 (feedmail-message-action-help-blat):
14253 Rename from feedmail-queue-send-edit-prompt-help-first.
14254 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14255 Check line-endings. Handle errors better.
14256 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14257 Doc fix. Add debug call.
14258 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14259 Use feedmail-queue-send-edit-prompt-inner.
14260 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14261 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14262 from feedmail-queue-send-edit-prompt.
14263 (feedmail-queue-send-edit-prompt-help)
14264 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14265 (feedmail-tidy-up-slug): Add debug call.
14266 Respect feedmail-queue-slug-suspect-regexp.
14267 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14268 (feedmail-dump-message-to-queue): Add debug call.
14269 Expand queue-directory.
14270 (feedmail-dump-message-to-queue): Change message slightly.
14271 Use feedmail-say-chatter.
14272 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14273 (feedmail-send-it-immediately-wrapper): New function.
14274 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14275 Insert empty string rather than newline. Handle full-frame case.
14276 Use catch/throw. Use feedmail-say-chatter.
14277 (feedmail-fiddle-from): Try mail-host-address.
14278 (feedmail-default-message-id-generator): Doc fix.
14279 Bind system-time-locale. Handle missing end.
14280 (feedmail-fiddle-x-mailer): Add debug call.
14281 Handle feedmail-x-mailer-line being nil.
14282 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14283 Add debug call. Use buffer-substring-no-properties.
14284 (feedmail-say-debug, feedmail-say-chatter): New functions.
14285 (feedmail-find-eoh): Give an explicit error.
14286
42c7e61e
UJ
142872011-05-13 Ulf Jasper <ulf.jasper@web.de>
14288
c2571358 14289 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14290 family from helvetica to sans.
c2571358 14291 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14292 etc/images/newsticker.
14293
c2571358 14294 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14295 family from helvetica to sans.
14296
14297 * net/newst-plainview.el (newsticker-new-item-face)
14298 (newsticker-old-item-face, newsticker-immortal-item-face)
14299 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14300 (newsticker-statistics-face): Change default family from
42c7e61e 14301 helvetica to sans.
c2571358 14302 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14303 etc/images/newsticker.
14304
5d3385a0
JB
14305 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14306 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14307 auto-marking.
14308
8497a297
DV
143092011-05-13 Didier Verna <didier@xemacs.org>
14310
14311 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14312 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14313 TODO entries.
8497a297
DV
14314 (lisp-lambda-list-keyword-parameter-indentation)
14315 (lisp-lambda-list-keyword-parameter-alignment)
14316 (lisp-lambda-list-keyword-alignment): New customizable user options.
14317 (lisp-indent-defun-method): Improve docstring.
14318 (extended-loop-p): Fix comment.
14319 (lisp-indent-lambda-list-keywords-regexp): New variable.
14320 (lisp-indent-lambda-list): New function.
14321 (lisp-indent-259): Use it.
14322 (lisp-indent-defmethod): Support for more than one
14323 method qualifier and properly indent methods lambda-lists.
14324 (defgeneric): Provide a missing common-lisp-indent-function property.
14325
f278f87f
SM
143262011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14327
14328 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14329 bounds for the empty string (bug#8667).
14330
5233edd7
GM
143312011-05-13 Glenn Morris <rgm@gnu.org>
14332
5237a44f
GM
14333 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14334
8340026c 14335 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14336 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14337
5233edd7 14338 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14339 (appt-time-msg-list): Doc fix.
a5464014 14340 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14341
92d10796
AS
143422011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14343
14344 * progmodes/ld-script.el (ld-script-keywords)
14345 (ld-script-builtins): Update keywords list.
14346
914a0ae1
SM
143472011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14348
c89be45f
SM
14349 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14350
914a0ae1
SM
14351 * shell.el (shell-completion-vars): New function.
14352 (shell-mode):
14353 * simple.el (read-shell-command): Use it.
14354 (blink-matching-open): No need for " [...]" in minibuffer-message.
14355
98dc3df3
GM
143562011-05-12 Glenn Morris <rgm@gnu.org>
14357
14358 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14359 (appt-check): Simplify.
14360
d2fc7e3d 143612011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14362
4d61f28d 14363 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14364 literal "/dev/null".
14365
d2fc7e3d 143662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14367
14368 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14369 Fix typo.
14370
d2fc7e3d 143712011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14372
3f254caa
SM
14373 * progmodes/which-func.el (which-function):
14374 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14375 which might not be defined (Bug#8260).
14376
d45885f7
GM
143772011-05-12 Glenn Morris <rgm@gnu.org>
14378
14379 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14380 Let byte-compile-initial-macro-environment always take precedence.
14381
488086f4
SM
143822011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14383
14384 * net/rcirc.el: Add support for SSL/TLS connections.
14385 (rcirc-server-alist): New field `encryption'.
14386 (rcirc): Check `encryption' settings.
14387 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14388 Merge make-local-variable into `set'.
14389 (rcirc--connection-open-p): New function.
14390 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14391 the process is not a network process (e.g. running gnutls-cli).
14392 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14393 Make rcirc-(en|de)code-coding-system local here.
14394 (rcirc-mode): Merge make-local-variable into `set'.
14395 (rcirc-parent-buffer): Make permanent buffer-local.
14396 (rcirc-multiline-minor-mode): Don't do it here.
14397 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14398 there's no server buffer.
14399
7d3b9d44
GM
144002011-05-11 Glenn Morris <rgm@gnu.org>
14401
f64049c6
GM
14402 * newcomment.el (comment-kill): Prefix "unused" local.
14403
93c9df73
GM
14404 * term/w32console.el (get-screen-color): Declare.
14405
7d3b9d44
GM
14406 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14407 Handle symbol elements of byte-compile-initial-macro-environment.
14408
9e2dd53f
LL
144092011-05-10 Leo Liu <sdl.web@gmail.com>
14410
488086f4
SM
14411 * bookmark.el (bookmark-bmenu-mode-map):
14412 Bind bookmark-bmenu-search to `/'.
8b340240 14413
9e2dd53f 14414 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14415 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14416 (Footnote-unicode): New function.
14417 (footnote-style-alist): Add unicode style to the list.
14418 (footnote-style): Doc fix.
9e2dd53f 14419
79b70037
GM
144202011-05-10 Jim Meyering <meyering@redhat.com>
14421
14422 Fix doubled-word typos.
14423 * international/quail.el (quail-insert-kbd-layout): and and -> and
14424 * kermit.el: and and -> and
14425 * net/ldap.el (ldap-search-internal): to to -> to
14426 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14427 * progmodes/js.el (js-mode): and and -> and
14428 * textmodes/artist.el (artist-move-to-xy): at at -> at
14429 (artist-draw-region-trim-line-endings): if if -> if
14430 And Safetyc -> Safety.
14431 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14432
b8f82dc1 144332011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 14434 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14435
14436 * files.el (hack-one-local-variable-eval-safep):
14437 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14438
4f99f44b
GM
144392011-05-10 Glenn Morris <rgm@gnu.org>
14440
14441 * calendar/diary-lib.el (diary-list-entries-hook)
14442 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14443 (diary-nongregorian-marking-hook, diary-list-entries)
14444 (diary-include-other-diary-files, diary-mark-entries)
14445 (diary-mark-included-diary-files): Doc fixes.
14446
84f29e6b
JB
144472011-05-09 Juanma Barranquero <lekktu@gmail.com>
14448
14449 * misc.el: Require tabulated-list.el during compilation.
14450
9bedd73a
CY
144512011-05-09 Chong Yidong <cyd@stupidchicken.com>
14452
488086f4
SM
14453 * progmodes/compile.el (compilation-start):
14454 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14455 (compilation-filter-hook): Doc fix.
14456
797c735c
DD
144572011-05-09 Deniz Dogan <deniz@dogan.se>
14458
14459 * wdired.el: Remove outdated installation comment. Fix usage
14460 comment.
14461
5f4b1dfe
JB
144622011-05-09 Juanma Barranquero <lekktu@gmail.com>
14463
14464 * misc.el: Implement new command `list-dynamic-libraries'.
14465 (list-dynamic-libraries--loaded-only-p): New variable.
14466 (list-dynamic-libraries--refresh): New function.
14467 (list-dynamic-libraries): New command.
14468
4c44026c
CY
144692011-05-09 Chong Yidong <cyd@stupidchicken.com>
14470
488086f4
SM
14471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14472 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14473 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14474 higher priority to avoid clobbering by gnu.
14475
027f966d
CY
144762011-05-08 Chong Yidong <cyd@stupidchicken.com>
14477
14478 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14479 if the face has existing theme settings (Bug#8454).
14480
085f5d7d
CY
144812011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14482
488086f4
SM
14483 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14484 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14485
2a86a00c
RS
14486 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14487 special file names `.' and `..' (Bug#8259).
14488
d9c54a06
CY
144892011-05-08 Chong Yidong <cyd@stupidchicken.com>
14490
488086f4
SM
14491 * progmodes/grep.el (grep-mode-font-lock-keywords):
14492 Remove buffer-changing entries.
d9c54a06
CY
14493 (grep-filter): New function.
14494 (grep-mode): Add it to compilation-filter-hook.
14495
14496 * progmodes/compile.el (compilation-filter-hook)
14497 (compilation-filter-start): New defvars.
14498 (compilation-filter): Call compilation-filter-hook prior to
14499 updating the process mark.
14500
c4662635
SM
145012011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14502
14503 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14504
b0512a1d
EZ
145052011-05-07 Eli Zaretskii <eliz@gnu.org>
14506
605c9376
EZ
14507 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14508 mailclient-send-it even if window-system is nil. (Bug#8595)
14509
c4662635
SM
14510 * term/w32console.el (terminal-init-w32console):
14511 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14512 background-mode. (Bug#8597)
14513
d1dc2cc2
SM
145142011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14515
14516 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14517 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14518 New functions.
14519 (defgeneric, eieio--defmethod): Use them.
14520 (eieio-defgeneric): Remove.
14521 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14522
915d1300
GM
145232011-05-07 Glenn Morris <rgm@gnu.org>
14524
a3961c3e
GM
14525 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14526 Use let rather than let*.
14527 (timeclock-find-discrep): Remove unused local.
14528
314347b9
GM
14529 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14530
915d1300
GM
14531 * calendar/appt.el (appt-time-msg-list): Doc fix.
14532
275b59b0
NF
145332011-05-06 Noah Friedman <friedman@splode.com>
14534
14535 * apropos.el (apropos-print-doc): Only use
14536 emacs-lisp-docstring-fill-column when it is bound to an integer,
14537 per that variable's documentation.
14538
6c19f744
SM
145392011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14542 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14543
60f884b2
GM
145442011-05-06 Glenn Morris <rgm@gnu.org>
14545
5006e634
GM
14546 * calendar/appt.el (appt-message-warning-time): Doc fix.
14547 (appt-warning-time-regexp): New option.
14548 (appt-make-list): Respect appt-message-warning-time.
14549
548d0a63
GM
14550 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14551 New options.
14552 (diary-add-to-list): Strip comments from the displayed string.
14553 (diary-mode): Set comment-start and comment-end.
14554
60f884b2
GM
14555 * vc/diff-mode.el (smerge-refine-subst): Declare.
14556 (diff-refine-hunk): Don't require smerge-mode when compiling.
14557
989681bb
JB
145582011-05-06 Juanma Barranquero <lekktu@gmail.com>
14559
14560 * simple.el (list-processes): Return nil as the docstring says.
14561
a6bc05e1
MA
145622011-05-05 Michael Albinus <michael.albinus@gmx.de>
14563
14564 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14565 to "".
14566 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14567 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14568 determining of binary transfer. (Bug#7383)
14569
23c22e9a
MA
145702011-05-05 Michael Albinus <michael.albinus@gmx.de>
14571
c4662635
SM
14572 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14573 Fix port computation bug. (Bug#8618)
23c22e9a 14574
0bff894f
GM
145752011-05-05 Glenn Morris <rgm@gnu.org>
14576
b8296902
GM
14577 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14578
1f522ce8
GM
14579 * simple.el (shell-dynamic-complete-functions)
14580 (comint-dynamic-complete-functions): Declare.
14581
cf5bee67
GM
14582 * net/network-stream.el (gnutls-negotiate):
14583 * simple.el (tabulated-list-print): Fix declarations.
14584
14585 * progmodes/gud.el (syntax-symbol, syntax-point):
14586 Remove unnecessary and incorrect declarations.
14587
0bff894f
GM
14588 * emacs-lisp/check-declare.el (check-declare-scan):
14589 Handle byte-compile-initial-macro-environment in bytecomp.el
14590
9869b3ae
SM
145912011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14592
14593 Fix earlier half-done eieio-defmethod change (bug#8338).
14594 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14595 Streamline and change calling convention.
14596 (defmethod): Adjust accordingly and simplify.
14597 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14598 new eieio--defmethod.
14599 (slot-boundp): Minor CSE simplification.
14600
9c1d5ac5
MZ
146012011-05-05 Milan Zamazal <pdm@zamazal.org>
14602
14603 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14604 (glasses-make-readable): Use glasses-separate-capital-groups.
14605
455c834e
JB
146062011-05-05 Juanma Barranquero <lekktu@gmail.com>
14607
14608 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14609 (warning-series): Doc fix.
14610 (display-warning): Don't try to create the buffer if we just found it.
14611
9ed7c8cb
CY
146122011-05-04 Chong Yidong <cyd@stupidchicken.com>
14613
14614 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14615 (autoload-find-generated-file): New function.
14616 (generate-file-autoloads): Bind generated-autoload-file to
14617 buffer-file-name.
9869b3ae
SM
14618 (update-file-autoloads, update-directory-autoloads):
14619 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14620 output file (Bug#7989).
14621 (batch-update-autoloads): Doc fix.
14622
0898ca10
JB
146232011-05-04 Juanma Barranquero <lekktu@gmail.com>
14624
14625 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14626
31dfb76c
GM
146272011-05-04 Glenn Morris <rgm@gnu.org>
14628
f330b642
GM
14629 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14630 function, so it follows changes in calendar-date-style.
14631 (diary-fancy-date-matcher): New function.
14632 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14633 (diary-fancy-font-lock-fontify-region-function):
14634 Use diary-fancy-date-pattern as a function.
14635
31dfb76c
GM
14636 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14637 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14638
48e79d6a
TZ
146392011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14640
14641 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14642 instead of positional arguments. Allow :keylist and :crlfiles
14643 arguments.
14644 (open-gnutls-stream): Call it.
14645
14646 * net/network-stream.el (network-stream-open-starttls): Adjust to
14647 call `gnutls-negotiate' with :process and :hostname arguments.
14648
dd5a5ee0
SM
146492011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14650
ef80fc09
SM
14651 * minibuffer.el (completion--message): New function.
14652 (completion--do-completion, minibuffer-complete)
14653 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14654 (completion--do-completion): Don't ignore completion-auto-help when in
14655 icomplete-mode.
14656
dd5a5ee0
SM
14657 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14658 internal encoding (e.g. tibetan zero is not whitespace).
14659 (global-whitespace-mode): Prefer save-current-buffer.
14660 (whitespace-trailing-regexp): Remove useless save-match-data.
14661 (whitespace-empty-at-bob-regexp): Minor simplification.
14662
b7d22a83
CY
146632011-05-03 Chong Yidong <cyd@stupidchicken.com>
14664
14665 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14666
5192af46
AM
146672011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14668
14669 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14670 Use `concat' to create string for insertion.
5192af46 14671
5767d190
SM
146722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14673
14674 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14675 Avoid open-line which runs post-self-insert-hook.
14676 (bibtex-fill-entry): Remove unused `end' var.
14677
bf242939
AM
146782011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14679
5767d190
SM
14680 * textmodes/ispell.el (ispell-add-per-file-word-list):
14681 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14682
25666126
LL
146832011-05-03 Leo Liu <sdl.web@gmail.com>
14684
14685 * isearch.el (isearch-yank-pop): New command.
5767d190 14686 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14687 (isearch-forward): Mention it.
14688
52d3c2d0
SM
146892011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14690
1bcace58
SM
14691 * simple.el (minibuffer-complete-shell-command): Remove.
14692 (minibuffer-local-shell-command-map): Use completion-at-point.
14693 (read-shell-command): Setup completion vars here instead.
14694 (read-expression-map): Bind TAB to symbol completion.
14695
52d3c2d0
SM
14696 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14697 error directly rather via storing it into `results'.
14698
35813471
LL
146992011-05-02 Leo Liu <sdl.web@gmail.com>
14700
14701 * vc/diff.el: Fix description.
14702
e793a940
LMI
147032011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14704
14705 * server.el (server-eval-at): New function.
14706
8de66e05
LMI
147072011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14708
14709 * net/network-stream.el (open-network-stream): Take a :nowait
14710 parameter and pass it on to `make-network-process'.
14711 (network-stream-open-plain): Ditto.
14712
dcb79f20
AS
147132011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14714
14715 * faces.el (face-spec-set-match-display): Don't match toolkit
14716 options on terminal frames.
14717
14a7fbd8
SM
147182011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14719
7eabc1be
SM
14720 * progmodes/pascal.el: Use lexical binding.
14721 (pascal-mode-map): Remove author preferences.
14722
14a7fbd8
SM
14723 * pcomplete.el (pcomplete-std-complete): Don't abuse
14724 completion-at-point.
14725
50f84510
JB
147262011-04-28 Juanma Barranquero <lekktu@gmail.com>
14727
6e087a44
JB
14728 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14729 removing code that has been dead since 1991 or so.
14730
50f84510
JB
14731 * startup.el (command-line): When warning about "_emacs", use a
14732 delayed warning to allow the user to filter it out.
14733
0ba690bd
DD
147342011-04-28 Deniz Dogan <deniz@dogan.se>
14735
14736 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
14737 user has not joined.
14738
08abfaad
SM
147392011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
14742 aren't any completions at point.
14743
638f053a
JB
147442011-04-28 Juanma Barranquero <lekktu@gmail.com>
14745
14746 * subr.el (display-delayed-warnings): New function.
14747 (delayed-warnings-hook): New variable.
14748
8fff8daa
SM
147492011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14750
08abfaad
SM
14751 * minibuffer.el (completion-at-point, completion-help-at-point):
14752 Don't presume that a given completion-at-point-function will always
14753 use the same calling convention.
14754
8fff8daa
SM
14755 * pcomplete.el (pcomplete-completions-at-point):
14756 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
14757 pcomplete-seen is non-nil.
14758 (pcomplete-comint-setup): Also recognize the new comint/shell
14759 completion functions.
14760 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
14761 pcomplete-seen is non-nil.
14762
841a1577 147632011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 14764
841a1577 14765 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 14766 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 14767 the first character in the entry. This allows for code to add its
211ec907
UJ
14768 own uid to the entry.
14769 (icalendar--convert-float-to-ical): Add export of
14770 `diary-float'-entries save for those with the optional DAY
14771 argument.
14772
2a782793
DC
147732011-04-27 Daniel Colascione <dan.colascione@gmail.com>
14774
14775 * subr.el (shell-quote-argument): Use alternate escaping strategy
14776 when we spot a variable reference in a string.
14777
0438ce91
DC
147782011-04-26 Daniel Colascione <dan.colascione@gmail.com>
14779
14780 * cus-start.el (all): Define customization for debug-on-event.
14781
841a1577 147822011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
14783
14784 * subr.el (shell-quote-argument): Escape correctly under Windows.
14785
d090ed6c
SM
147862011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14787
14788 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
14789
bfd31217
MA
147902011-04-25 Michael Albinus <michael.albinus@gmx.de>
14791
d090ed6c
SM
14792 * net/tramp.el (tramp-process-actions): Add POS argument.
14793 Delete region between POS and (pos).
bfd31217 14794
d090ed6c
SM
14795 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14796 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
14797 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
14798
14799 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
14800 position in `tramp-process-actions' call.
14801
14802 * net/trampver.el: Update release number.
14803
e92f3bd3
SM
148042011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14805
850256b5
SM
14806 * custom.el (defcustom): Obey lexical-binding.
14807
e92f3bd3
SM
14808 Fix octave-inf completion problems reported by Alexander Klimov.
14809 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
14810 Inherit from octave-mode-syntax-table.
14811 (inferior-octave-mode): Set info-lookup-mode.
14812 (inferior-octave-completion-at-point): New function.
14813 (inferior-octave-complete): Use it and completion-in-region.
14814 (inferior-octave-dynamic-complete-functions): Use it as well, and use
14815 comint-filename-completion.
14816 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
14817 symbol elements which shouldn't be word elements.
14818 (octave-font-lock-keywords, octave-beginning-of-defun)
14819 (octave-function-header-regexp): Adjust regexps accordingly.
14820 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
14821
cd22b309
JB
148222011-04-25 Juanma Barranquero <lekktu@gmail.com>
14823
14824 * net/gnutls.el (gnutls-errorp): Declare before first use.
14825
8b492194
TZ
148262011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
14827
14828 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
14829 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 14830 default trustfile exists before going to use it. Add missing
5a5fa834 14831 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
14832 Reported by Claudio Bley <claudio.bley@gmail.com>.
14833 (open-gnutls-stream): Add usage example.
14834
14835 * net/network-stream.el (network-stream-open-starttls): Give host
14836 parameter to `gnutls-negotiate'.
14837 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 14838 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 14839
841a1577 148402011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 14841
cd22b309
JB
14842 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14843 Use correct match group (bug#8438).
05842630 14844
3ba7869c
CY
148452011-04-24 Chong Yidong <cyd@stupidchicken.com>
14846
512e3ae1
CY
14847 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14848 (package-menu--generate): New arg specifying packages to show.
14849 (package-menu-refresh, package-menu-execute, list-packages):
14850 Callers changed.
14851 (package-show-package-list): New function, replacing deleted
14852 package--list-packages (renamed because it is non-internal).
14853
14854 * finder.el (finder-list-matches): Use package-show-package-list
14855 instead of deleted package--list-packages.
14856
e92f3bd3
SM
14857 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14858 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14859 (vc-annotate-mode-map): Bind it to RET.
14860
7031be6d
UR
148612011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14862
14863 * progmodes/etags.el (next-file): Don't use set-buffer to change
14864 buffers (Bug#8478).
14865
4ef177aa
CY
148662011-04-24 Chong Yidong <cyd@stupidchicken.com>
14867
c8d173eb
CY
14868 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14869
4ef177aa
CY
14870 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14871 (apropos-accumulator): Doc fix.
14872 (apropos-function, apropos-macro, apropos-command)
14873 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14874 (apropos-plist): Add face property.
14875 (apropos-symbols-internal): Fix indentation.
14876 (apropos-print): Simplify help, and recognize apropos-multi-type.
14877 (apropos-print-doc): Use button-type-get to extract the button's
14878 face property. Fill docstring (Bug#8352).
14879
4ffd0d6b 148802011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14881
14882 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14883
c6c32125 14884 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14885 (mpuz-mode-map): Use mapc.
c6c32125
JB
14886 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14887 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14888 Fix typos in docstrings.
14889
58d468b4
JB
14890 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14891 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14892
6470c3c6
JB
14893 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14894
4ffd0d6b 148952011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14896
14897 * minibuffer.el (completion--do-completion): Avoid the "Next char
14898 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14899
3ad8bad0
CY
14900 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14901 mouse-2 into unread-command-events, it is interpreted correctly.
14902
71d73c9c 14903 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14904 (image-toggle-display): Doc fix.
71d73c9c 14905
841a1577 149062011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14907
4ffd0d6b
GM
14908 * textmodes/page.el (what-page): Use line-number-at-pos to
14909 calculate line number (Bug#6825).
6e1dbaa9 14910
c2fb1b60
JB
149112011-04-22 Juanma Barranquero <lekktu@gmail.com>
14912
14913 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14914 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14915 Pass argument NO-DEFAULT to `find-tag-interactive'.
14916
e02f48d7
JB
149172011-04-22 Juanma Barranquero <lekktu@gmail.com>
14918
14919 Lexical-binding cleanup.
14920
14921 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14922 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14923 * progmodes/ada-prj.el (ada-prj-initialize-values)
14924 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14925 (ada-prj-show-value):
14926 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14927 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14928 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14929 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14930 * progmodes/bug-reference.el (bug-reference-push-button):
14931 * progmodes/fortran.el (fortran-line-length):
14932 * progmodes/glasses.el (glasses-change):
14933 * progmodes/octave-mod.el (octave-fill-paragraph):
14934 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14935 (python-pdbtrack-grub-for-buffer, python-sentinel):
14936 * progmodes/sql.el (sql-save-connection):
14937 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14938 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14939 Mark unused parameters.
14940
14941 * progmodes/compile.el (compilation--flush-directory-cache)
14942 (compilation--flush-parse, compile-internal): Mark unused parameters.
14943 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14944 (compilation-next-error-function): Remove unused variable `timestamp'.
14945
14946 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14947 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14948
14949 * progmodes/dcl-mode.el (dcl-end-of-command):
14950 Remove unused variable `start'.
14951 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14952 (dcl-option-value-basic, dcl-option-value-offset)
14953 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14954 Mark unused parameters.
14955 (dcl-save-local-variable): Remove unused variable `val'.
14956 (mode): Declare.
14957
14958 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14959 Mark unused parameters.
14960 (delphi-ignore-changes): Move before first use.
14961 (delphi-charset-token-at): Remove unused variable `start'.
14962 (delphi-else-start): Remove unused variable `if-count'.
14963 (delphi-comment-block-start, delphi-comment-block-end):
14964 Remove unused variable `kind'.
14965 (delphi-indent-line): Remove unused variable `new-point'.
14966
14967 * progmodes/ebrowse.el (ebrowse-files-list)
14968 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14969 Mark unused parameters. Don't quote `lambda'.
14970 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14971 Don't quote `lambda'.
14972 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14973 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14974 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14975 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14976 Use `ignore-errors'.
14977 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14978 (ebrowse-view/find-file-and-search-pattern)
14979 (ebrowse-view/find-member-declaration/definition):
14980 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14981 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14982 Rename parameter PREFIX-ARG to PREFIX.
14983 (ebrowse-tags-read-name): Remove unused variables `start' and
14984 `member-info'.
14985 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14986 to `tags-file'.
14987
14988 * progmodes/etags.el (local-find-tag-hook): Declare.
14989 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14990 Mark unused parameters.
14991
14992 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14993 (executable-interpret): Mark unused parameter.
14994
14995 * progmodes/flymake.el (flymake-process-sentinel)
14996 (flymake-after-change-function)
14997 (flymake-create-temp-with-folder-structure)
14998 (flymake-get-include-dirs-dot): Mark unused parameters.
14999 (flymake-safe-delete-directory): Remove unused variable `err'.
15000
15001 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15002 (speedbar-timer-fn, speedbar-line-text)
15003 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15004 (speedbar-center-buffer-smartly): Declare functions.
15005 (gdb-find-watch-expression): Remove unused variable `array'.
15006 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15007 (gdb-starting): Mark unused parameters.
15008 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15009 (gdb-table-string): Remove unused variable `res'.
15010 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15011 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15012 (gdb-display-buffer): Remove unused variable `cur-size'.
15013
15014 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15015 allow lexical-binding compilation.
15016 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15017 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15018 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15019 Mark unused parameters.
15020 (gud-gdb-marker-filter): Remove unused variable `match'.
15021 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15022 lambda expressions and funcall them, instead of using `fset'.
15023
15024 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15025 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15026
15027 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15028 variable `header-beg'; use `let'.
15029
15030 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15031 `restart', `last-sexp' and `at-do'.
15032
15033 * progmodes/js.el (js--debug): Mark unused parameter.
15034 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15035 (js--splice-into-items): Remove unused variable `item'.
15036 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15037
15038 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15039 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15040 (makefile-complete): Remove unused variable `try'.
15041 (makefile-fill-paragraph, makefile-match-function-end):
15042 Mark unused parameters.
15043
15044 * progmodes/octave-inf.el (inferior-octave-complete):
15045 Remove unused variable `proc'.
15046 (inferior-octave-output-digest): Mark unused parameter.
15047
15048 * progmodes/perl-mode.el (perl-calculate-indent):
15049 Remove unused variable `err'.
15050
15051 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15052 (prolog-indent-line): Mark unused parameters.
15053 (prolog-indent-line): Remove unused variable `beg'.
15054
15055 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15056 (reporter-dont-compact-list): Declare.
15057
15058 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15059 Remove unused variable `char'.
15060 (sh-debug): Mark unused parameter.
15061 (sh-get-indent-info): Remove unused variable `start'.
15062 (sh-calculate-indent): Remove unused variable `var'.
15063
15064 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15065 (simula-electric-keyword): Remove unused variable `null'.
15066 (simula-search-backward, simula-search-forward): Remove unused
15067 variables `begin' and `end'.
15068
15069 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15070 Remove unused variable `pos'.
15071 (vera-electric-tab, vera-comment-uncomment-region):
15072 Mark unused parameters.
15073 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15074
7ede3b65
CY
150752011-04-22 Chong Yidong <cyd@stupidchicken.com>
15076
15077 * emacs-lisp/package.el (package--builtins, package-alist)
15078 (package-load-descriptor, package-built-in-p, package-activate)
15079 (define-package, package-installed-p)
15080 (package-compute-transaction, package-buffer-info)
15081 (package--push): Doc fix. Distinguish more clearly between
15082 version strings and version lists.
15083
121656e9
JB
150842011-04-21 Juanma Barranquero <lekktu@gmail.com>
15085
15086 Lexical-binding cleanup.
15087
15088 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15089 (5x5-make-mutate-best):
15090 * play/fortune.el (fortune-in-buffer):
15091 * play/gomoku.el (gomoku-init-display):
15092 * play/solitaire.el (solitaire, solitaire-do-check):
15093 * play/tetris.el (tetris-default-update-speed-function):
15094 Mark unused parameters.
15095
15096 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15097 (bubbles--shift): Remove unused variable `char-org'.
15098 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15099 (bubbles--show-images): Remove unused variable `char'.
15100
15101 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15102 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15103 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15104 (decipher-analyze-buffer): Use ?\s.
15105 (decipher-make-checkpoint): Remove unused variable `mapping'.
15106
15107 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15108
15109 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15110 Remove unused variable `result'; use `let'.
15111
15112 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15113 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15114 (gametree-children-shown-p, gametree-compute-reduced-score):
15115 Use `ignore-errors'.
15116
15117 * play/handwrite.el (ps-lpr-switches): Declare.
15118 (handwrite): Remove unused variables `pmin' and `lastp'.
15119
15120 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15121
15122 * play/landmark.el (landmark-init-display)
15123 (landmark-update-naught-weights): Mark unused parameters.
15124 (landmark-y): Remove unused variable `noise'. Simplify.
15125 (landmark-human-plays): Remove unused variable `score'.
15126
15127 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15128 (mpuz-try-proposal): Remove unused variable `game'.
15129
15130 * play/zone.el (life-patterns): Declare.
15131
80f499c7
JB
151322011-04-20 Juanma Barranquero <lekktu@gmail.com>
15133
15134 * vc/vc.el (ediff-vc-internal): Declare function.
15135
024ff170
SM
151362011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15137
c0a193ea
SM
15138 * shell.el: Use lexical-binding and std completion UI.
15139 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15140 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15141 comint-preoutput-filter-functions rather than on
15142 comint-output-filter-functions.
15143 (shell-command-completion, shell--command-completion-data)
15144 (shell-filename-completion, shell-environment-variable-completion)
15145 (shell-c-a-p-replace-by-expanded-directory): New functions.
15146 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15147 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15148 (shell-dynamic-complete-environment-variable): Use them.
15149 (shell-dynamic-complete-as-environment-variable)
15150 (shell-dynamic-complete-as-command): Remove.
15151 (shell-match-partial-variable): Match past point.
15152 * comint.el: Clean up use of completion-at-point-functions.
15153 (comint-completion-at-point): New function.
15154 (comint-mode): Use it completion-at-point-functions.
15155 (comint-dynamic-complete): Make it obsolete.
15156 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15157 (comint-c-a-p-replace-by-expanded-history): New function.
15158 (comint-dynamic-complete-functions)
15159 (comint-replace-by-expanded-history): Use it.
15160 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15161 termination strings. Try harder to avoid second try-completion.
15162 (completion-in-region-mode-map): Disable bindings that don't work yet.
15163
2dbaa080
SM
15164 * comint.el: Use lexical-binding. Require CL.
15165 (comint-dynamic-complete-functions): Use comint-filename-completion.
15166 (comint-completion-addsuffix): Tweak custom type.
15167 (comint-filename-completion, comint--common-suffix)
15168 (comint--common-quoted-suffix, comint--table-subvert)
15169 (comint--complete-file-name-data): New functions.
15170 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15171 (comint-dynamic-list-filename-completions): Use them.
15172 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15173
2dbaa080
SM
15174 * minibuffer.el (completion-in-region-mode):
15175 Keep completion-in-region-mode--predicate global.
15176 (completion-in-region--postch):
15177 Assume completion-in-region-mode--predicate is not null.
15178
c79a6f38
SM
15179 * progmodes/flymake.el (flymake-start-syntax-check-process):
15180 Obey `dir'. Simplify.
15181
024ff170
SM
15182 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15183 we're in VC after all.
15184
1c6c854e
CS
151852011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15186
15187 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15188 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15189 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15190
bed7f140
SM
151912011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15192
332e62ab
SM
15193 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15194 add sanity check.
15195
bed7f140
SM
15196 * obsolete/erc-hecomplete.el: Make obsolete.
15197 * obsolete/: Standardize obsolescence info in the header.
15198
f195c582
GM
151992011-04-20 Glenn Morris <rgm@gnu.org>
15200
15201 * calendar/solar.el (solar-horizontal-coordinates):
15202 Use the longitude argument rather than `calendar-longitude'.
15203 (solar-date-next-longitude): Remove unused locals.
15204
cb79b8c0
VJL
152052011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15206
15207 * whitespace.el: New version 13.2.1.
15208
152092011-04-20 felix <EmacsWiki> (tiny change)
15210
d8e4b68b 15211 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15212 switching between major modes on a file.
15213
602ea69d
SM
152142011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15215
15216 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15217 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15218 multi-line comments as well.
15219
06b60517
JB
152202011-04-19 Juanma Barranquero <lekktu@gmail.com>
15221
15222 Lexical-binding cleanup.
15223
15224 * arc-mode.el (archive-mode-revert):
15225 * cmuscheme.el (scheme-interactively-start-process):
15226 * custom.el (custom-initialize-delay):
15227 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15228 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15229 * emacs-lock.el (emacs-lock-clear-sentinel):
15230 * ezimage.el (defezimage):
15231 * follow.el (follow-avoid-tail-recenter):
15232 * fringe.el (set-fringe-mode-1):
15233 * generic-x.el (bat-generic-mode-compile):
15234 * help-mode.el (help-info-variable, help-do-xref)
15235 (help-mode-revert-buffer):
15236 * help.el (view-emacs-todo):
15237 * iswitchb.el (iswitchb-completion-help):
15238 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15239 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15240 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15241 * locate.el (locate-update):
15242 * longlines.el (longlines-encode-region)
15243 (longlines-after-change-function):
15244 * outline.el (outline-isearch-open-invisible):
15245 * ps-def.el (declare-function, charset-dimension, char-width)
15246 (encode-char):
15247 * ps-mule.el (ps-mule-plot-string):
15248 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15249 (recentf-edit-list-select, recentf-edit-list-validate)
15250 (recentf-open-files-action):
15251 * rect.el (delete-whitespace-rectangle-line)
15252 (rectangle-number-line-callback):
15253 * register.el (window-configuration-to-register)
15254 (frame-configuration-to-register):
15255 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15256 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15257 (xselect-convert-to-targets, xselect-convert-to-delete)
15258 (xselect-convert-to-filename, xselect-convert-to-charpos)
15259 (xselect-convert-to-lineno, xselect-convert-to-colno)
15260 (xselect-convert-to-os, xselect-convert-to-host)
15261 (xselect-convert-to-user, xselect-convert-to-class)
15262 (xselect-convert-to-name, xselect-convert-to-integer)
15263 (xselect-convert-to-atom, xselect-convert-to-identity):
15264 * subr.el (declare, ignore, process-kill-without-query)
15265 (text-clone-maintain):
15266 * terminal.el (te-get-char, te-tic-sentinel):
15267 * tool-bar.el (tool-bar-make-keymap):
15268 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15269 * type-break.el (type-break-mode, type-break-noninteractive-query):
15270 * view.el (View-back-to-mark):
15271 * wid-browse.el (widget-browse-action, widget-browse-widget)
15272 (widget-browse-widgets, widget-browse-sexp):
15273 * widget.el (define-widget-keywords):
15274 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15275 Mark unused parameters.
15276
15277 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15278 (align-areas): Remove unused variable `look'.
15279 (align-region): Remove unused variables `real-end' and `pos-list'.
15280
15281 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15282
15283 * bindings.el (mode-line-modified, mode-line-remote):
15284 Mark unused parameters.
15285 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15286
15287 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15288 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15289
15290 * comint.el (comint-history-isearch-pop-state)
15291 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15292 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15293 (comint-substitute-in-file-name): Doc fix.
15294
15295 * completion.el (cmpl-statistics-block): Mark unused parameter.
15296 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15297 (save-completions-to-file, load-completions-from-file):
15298 Remove unused local variable `e'.
15299
15300 * composite.el (compose-chars): Remove unused variable `len'.
15301 (lgstring-insert-glyph): Remove unused variable `g'.
15302 (compose-glyph-string): Remove unused variables `ascent',
15303 `descent', `lbearing' and `rbearing'.
15304 (compose-glyph-string-relative): Remove unused variables
15305 `lbearing', `rbearing' and `wadjust'.
15306 (compose-gstring-for-graphic): Remove unused variables `header',
15307 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15308 (compose-gstring-for-terminal): Remove unused variables `header'
15309 and `nchars'. Use `let', not `let*'.
15310
15311 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15312 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15313 (Custom-buffer-done, custom-buffer-create-internal)
15314 (custom-browse-visibility-action, custom-browse-group-tag-action)
15315 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15316 (widget-magic-mouse-down-action, custom-toggle-parent)
15317 (custom-add-parent-links, custom-toggle-hide-variable)
15318 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15319 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15320 (custom-face-menu-create, custom-variable-menu-create, get)
15321 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15322 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15323 (customize-apropos): Remove unused variable `tests'.
15324 (custom-group-value-create): Remove unused variable `hidden-p'.
15325 (sort-fold-case): Declare.
15326
15327 * cus-theme.el (custom-reset-standard-faces-list)
15328 (custom-reset-standard-variables-list): Declare.
15329 (customize-create-theme, custom-theme-revert, custom-theme-write)
15330 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15331 Mark unused parameters.
15332
15333 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15334
15335 * delim-col.el (delimit-columns-max): Move defvar before first use.
15336
15337 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15338 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15339
15340 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15341 (auto-insert): Declare.
15342 (desktop-restore-file-buffer): Rename desktop-* parameters;
15343 mark unused ones.
15344 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15345 (desktop-buffer): Rename desktop-* parameters.
15346
15347 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15348 (dframe-reposition-frame-xemacs, dframe-help-echo)
15349 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15350 Mark unused parameters.
15351
15352 * dired-aux.el (backup-extract-version-start, overwrite-query)
15353 (overwrite-backup-query, rename-regexp-query)
15354 (rename-non-directory-query): Declare.
15355 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15356 (dired-add-entry): Remove unused variable `orig-file-name'.
15357 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15358 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15359 `dired-copy-preserve-time' directly.
15360 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15361 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15362
15363 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15364 (dired-virtual-revert, dired-make-relative-symlink):
15365 Mark unused parameters.
15366 (manual-program): Declare.
15367 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15368 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15369 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15370
15371 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15372
15373 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15374
15375 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15376 Declare.
15377
15378 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15379
15380 * electric.el (Electric-command-loop): Rename parameter
15381 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15382
15383 * expand.el (expand-in-literal): Remove unused variable `here'.
15384
15385 * facemenu.el (facemenu-add-new-color):
15386 Remove unused variable `docstring'.
15387
15388 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15389 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15390 (face-attr-construct): Mark unused parameter. Doc fix.
15391 (read-color): Remove unused variable `hex-string'.
15392
15393 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15394 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15395 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15396 (display-buffer-other-frame): Remove unused variable `old-window'.
15397 (kill-buffer-hook): Declare.
15398 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15399 Mark unused parameters.
15400 (after-find-file): Pass 1 to `auto-save-mode', not t.
15401
15402 * files-x.el (auto-insert): Declare.
15403 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15404
15405 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15406 variable `buf'. Mark unused parameter.
06b60517
JB
15407 (find-lisp-insert-directory): Mark unused parameter.
15408
15409 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15410 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15411 (format-common-tail): Remove, unused.
15412 (format-deannotate-region): Remove unused variable `loc'.
15413 (format-annotate-region): Remove unused variable `p'.
15414 (format-annotate-single-property-change): Remove unused variables
15415 `default' and `tail'.
15416
15417 * forms.el (read-file-filter): Declare.
15418 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15419
15420 * frame.el (frame-creation-function-alist): Mark unused parameter.
15421 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15422
15423 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15424 Remove unused parameters.
15425 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15426 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15427
15428 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15429 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15430 (hfy-prepare-tag-map): Mark unused parameters.
15431 (htmlfontify-buffer): Use `called-interactively-p'.
15432
15433 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15434 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15435 (ibuffer-do-occur): Mark unused parameters.
15436 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15437 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15438
15439 * ibuffer.el: Don't quote `lambda'.
15440 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15441 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15442 Mark unused parameters.
15443
15444 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15445 (ido-completing-read): Mark unused parameters.
15446 (ido-copy-current-word): Mark unused parameters;
15447 remove unused variable `name'.
15448 (ido-sort-merged-list): Remove unused parameter `dirs'.
15449
15450 * ielm.el (ielm-input-sender): Mark unused parameter.
15451 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15452 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15453 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15454 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15455 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15456
15457 * image-dired.el (image-dired-display-thumbs): Remove unused
15458 variables `curr-file' and `count'.
15459 (image-dired-remove-tag): Remove unused variable `start'.
15460 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15461 variable `curr-file'
15462 (image-dired-rotate-original): Remove unused variable `temp-file'.
15463 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15464 Remove unused variable `file'.
15465 (image-dired-gallery-generate): Remove unused variable `curr'.
15466 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15467
15468 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15469
15470 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15471
15472 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15473
15474 * isearch.el (minibuffer-history-symbol): Declare.
15475 (isearch-edit-string): Remove unused variable `err'.
15476 (isearch-message-prefix, isearch-message-suffix):
15477 Mark unused parameters.
15478
15479 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15480
15481 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15482
15483 * makesum.el (double-column): Remove unused variable `cnt'.
15484
15485 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15486 (ido-ignore-item-temp-list): Declare.
15487
15488 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15489 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15490 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15491 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15492 `mouse-col-delta'.
15493
15494 * mouse-sel.el (mouse-extend-internal):
15495 Remove unused variable `orig-window-frame'.
15496
15497 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15498 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15499 Move declarations before first use.
15500 (pcomplete-opt): Mark unused parameters; doc fix.
15501
15502 * proced.el (proced-revert): Mark unused parameter.
15503 (proced-send-signal): Remove unused variable `err'.
15504
15505 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15506 Rename parameter PREFIX-ARG to ARG.
15507 (ps-basic-plot-string, ps-basic-plot-whitespace):
15508 Mark unused parameters.
15509
15510 * replace.el (replace-count): Define.
15511 (occur-revert-function): Mark unused parameters.
15512 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15513 (isearch-case-fold-search, isearch-string): Declare.
15514 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15515 bind `case-fold-search'. Remove unused variables `beg' and `end',
15516 and simplify.
15517 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15518 COUNT and bind `replace-count'.
15519 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15520 to COUNT.
15521
15522 * savehist.el (print-readably, print-string-length): Declare.
15523
15524 * shadowfile.el (shadow-expand-cluster-in-file-name):
15525 Remove unused variable `cluster'.
15526 (shadow-copy-file): Remove unused variable `i'.
15527 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15528 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15529 (shadow-define-literal-group, shadow-define-regexp-group)
15530 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15531
15532 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15533 (shell): Use `called-interactively-p'.
15534 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15535
15536 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15537 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15538 (delete-backward-char): Remove unused variable `ocol'.
15539 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15540 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15541 (event-apply-hyper-modifier, event-apply-shift-modifier)
15542 (event-apply-control-modifier, event-apply-meta-modifier):
15543 Mark unused parameters.
15544 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15545 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15546
15547 * speedbar.el (speedbar-ignored-directory-expressions)
15548 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15549 (speedbar-find-file, speedbar-dir-follow)
15550 (speedbar-directory-buttons-follow, speedbar-tag-find)
15551 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15552 (speedbar-buffers-line-directory, speedbar-buffer-click):
15553 Mark unused parameters.
15554 (speedbar-tag-file): Remove unused variable `mode'.
15555 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15556
15557 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15558
15559 * talk.el (talk): Remove unused variable `display'.
15560
15561 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15562 (tar-write-region-annotate): Mark unused parameter.
15563
15564 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15565 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15566 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15567 warning by another.
15568
15569 * time-stamp.el (time-stamp-string-preprocess):
15570 Remove unused variable `require-padding'.
15571
15572 * tree-widget.el (widget-glyph-enable): Declare.
15573 (tree-widget-action): Mark unused parameter.
15574
15575 * w32-fns.el (x-get-selection): Mark unused parameter.
15576 (autoload-make-program, generated-autoload-file): Declare.
15577
15578 * wdired.el (wdired-revert): Mark unused parameters.
15579 (wdired-xcase-word): Remove unused variable `err'.
15580
15581 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15582 (whitespace-help-scroll): Remove unused variable `data-help'.
15583
15584 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15585 (widget-image-insert, widget-after-change, default)
15586 (widget-default-format-handler, widget-default-notify)
15587 (widget-default-prompt-value, widget-info-link-action)
15588 (widget-url-link-action, widget-function-link-action)
15589 (widget-variable-link-action, widget-file-link-action)
15590 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15591 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15592 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15593 (widget-insert-button-action, widget-delete-button-action, visibility)
15594 (widget-documentation-link-action, widget-documentation-string-action)
15595 (widget-const-prompt-value, widget-regexp-match, symbol)
15596 (widget-coding-system-prompt-value)
15597 (widget-key-sequence-value-to-external, sexp)
15598 (widget-sexp-value-to-internal, character, vector, cons)
15599 (widget-choice-prompt-value, widget-boolean-prompt-value)
15600 (widget-color--choose-action): Mark unused parameters.
15601 (widget-item-match-inline, widget-choice-match-inline)
15602 (widget-checklist-match, widget-checklist-match-inline)
15603 (widget-group-match): Rename parameter VALUES to VALS.
15604 (widget-field-value-set): Remove unused variable `size'.
15605 (widget-color-action): Remove unused variables `value' and `start'.
15606
15607 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15608 variable `dir'. Doc fix.
06b60517
JB
15609 (windmove-find-other-window): Don't pass it.
15610
15611 * window.el (count-windows): Mark unused parameter.
15612 (bw-adjust-window): Remove unused variable `err'.
15613
15614 * woman.el (woman-file-name): Remove unused variable `default'.
15615 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15616 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15617 (global-font-lock-mode): Declare.
15618 (woman-decode-region): Mark unused parameter.
15619 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15620
15621 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15622 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15623 (x-dnd-handle-moz-url): Remove unused variable `title'.
15624 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15625
15626 * xml.el (xml-parse-tag, xml-parse-attlist):
15627 Remove unused variable `pos'.
15628
bc4f7f3d
GM
156292011-04-19 Glenn Morris <rgm@gnu.org>
15630
15631 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15632 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15633 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15634 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15635 * calendar/cal-html.el (cal-html-insert-minical):
15636 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15637 (calendar-mark-date-pattern):
15638 Prefix "unused" locals.
15639
15640 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15641 optional argument `style'.
15642
15643 * calendar/appt.el (appt-make-list):
15644 * calendar/cal-china.el (calendar-chinese-date-string):
15645 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15646 (diary-hebrew-yahrzeit):
15647 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15648 * calendar/calendar.el (calendar-generate-window):
15649 * calendar/time-date.el (time-to-days):
15650 Remove unused local variables.
15651
16a43933
CY
156522011-04-18 Chong Yidong <cyd@stupidchicken.com>
15653
15654 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15655 glyphless-char-display table.
15656 (tabulated-list-glyphless-char-display): New var.
15657
7eed1860
SS
156582011-04-18 Sam Steingold <sds@gnu.org>
15659
15660 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15661 to acknowledgments.
15662
4d2d1ccd
GM
156632011-04-17 Glenn Morris <rgm@gnu.org>
15664
15665 * calendar/diary-lib.el (diary-sexp-entry):
15666 * calendar/holidays.el (holiday-sexp):
15667 Set debug-on-error rather than the removed stack-trace-on-error.
15668
239da61d
GM
156692011-04-16 Glenn Morris <rgm@gnu.org>
15670
15671 * progmodes/f90.el: Use lexical-binding.
15672 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15673
8b05752a
SM
156742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15675
daca8ba5
SM
15676 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15677 (mail-mode): Setup mailalias completion here instead.
15678 * mail/mailalias.el: Use lexical-binding.
15679 (pattern, mailalias-done): Declare dynamic.
15680 (mail-completion-at-point-function): New function, from mail-complete.
15681 (mail-complete): Use it.
15682 (mail-completion-expand): New function.
15683 (mail-get-names): Use it.
15684 (mail-directory, mail-directory-process, mail-directory-stream):
15685 Don't use `pattern' for lexically bound arg.
15686
6f542485
SM
15687 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15688
037e7c3f
SM
15689 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15690 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15691 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15692
8b05752a
SM
15693 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15694 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15695 (byte-interactive-p): Define them again, for use when inlining
15696 old code.
15697
49093f60
JB
156982011-04-15 Juanma Barranquero <lekktu@gmail.com>
15699
15700 * loadup.el: Use `string-to-number', not `string-to-int'.
15701
b5b8e7de
SM
157022011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15703
15704 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15705 gud-gdb-complete-command.
15706 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15707 (gud-gdb-completion-at-point): New function.
15708 (gud-gdb-completions): Remove.
15709
f42efeb5
MA
157102011-04-14 Michael Albinus <michael.albinus@gmx.de>
15711
49093f60
JB
15712 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15713 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15714 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15715 whether `executable-find' is bound.
f42efeb5
MA
15716
15717 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15718
e240cc21
SM
157192011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15720
15721 * minibuffer.el (completion-in-region-mode-predicate)
15722 (completion-in-region-mode--predicate): New vars.
15723 (completion-in-region, completion-in-region--postch)
15724 (completion-in-region-mode): Use them.
15725 (completion--capf-wrapper): Also return the hook function.
15726 (completion-at-point, completion-help-at-point):
15727 Adjust and provide a predicate.
c2bd2ab0
SM
15728
15729 Preserve arg names for advice of subr and lexical functions (bug#8457).
15730 * help-fns.el (help-function-arglist): Consolidate the subr and
15731 new-byte-code cases. Add argument `preserve-names' to extract names
15732 from the docstring when needed.
15733 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15734 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
15735 (ad-arglist): Use help-function-arglist's new arg.
15736 (ad-definition-type): Use cond.
15737
c183f693
JB
157382011-04-13 Juanma Barranquero <lekktu@gmail.com>
15739
06641a47
JB
15740 * autorevert.el (auto-revert-handler):
15741 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
15742 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
15743 Don't quote lambda.
15744
c183f693
JB
15745 * image-mode.el (image-transform-set-scale):
15746 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
15747
1e3b6001
G
157482011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15749
15750 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 15751 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
15752 Upgrades via gnutls-cli are too slow to be done opportunistically.
15753
2d6af8dd
JB
157542011-04-12 Juanma Barranquero <lekktu@gmail.com>
15755
15756 * dframe.el (dframe-current-frame): Remove spurious quote.
15757
c0749a51
GM
157582011-04-12 Glenn Morris <rgm@gnu.org>
15759
088d0d61
GM
15760 * calendar/cal-tex.el (cal-tex-end-document):
15761 Try to automatically use latin1 input if needed.
15762
c0749a51
GM
15763 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
15764 Don't try to cons a mark onto an empty element.
15765
5c90fde0
LL
157662011-04-11 Leo Liu <sdl.web@gmail.com>
15767
15768 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
15769 buffers.
15770 (ido-kill-buffer-at-head): Support killing virtual buffers.
15771
369e974d
CY
157722011-04-10 Chong Yidong <cyd@stupidchicken.com>
15773
15774 * minibuffer.el (completion-show-inline-help): New var.
15775 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
15776 (minibuffer-force-complete, minibuffer-complete-word):
15777 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
15778
15779 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
15780 to avoid interference from inline help (Bug#5849).
15781
37f1c930
LL
157822011-04-10 Leo Liu <sdl.web@gmail.com>
15783
099c39a4
JB
15784 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15785 Fix typo.
37f1c930 15786
a32d4040
CY
157872011-04-09 Chong Yidong <cyd@stupidchicken.com>
15788
15789 * image-mode.el (image-toggle-display-image): Signal an error if
15790 not in Image mode.
15791 (image-transform-mode, image-transform-resize)
15792 (image-transform-set-rotation): Doc fix.
daca8ba5 15793 (image-transform-set-resize): Delete.
a32d4040
CY
15794 (image-transform-set-scale, image-transform-fit-to-height)
15795 (image-transform-fit-to-width): Handle image-toggle-display-image
15796 and image-transform-resize directly.
15797
099c39a4 157982011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
15799
15800 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
15801 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
15802 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
15803 (doc-view-mode-map): Add bindings for the new functions.
15804
099c39a4 158052011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 15806
4d61f28d 15807 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
15808 Fix typo in docstring.
15809
3726838a
EZ
158102011-04-08 Eli Zaretskii <eliz@gnu.org>
15811
04f33f1e
EZ
15812 * files.el (file-size-human-readable): Produce one digit after
15813 decimal, like "ls -lh" does.
15814
15815 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
15816 the file size representation.
15817
3726838a
EZ
15818 * simple.el (list-processes): If async subprocesses are not
15819 available, error out with a clear error message.
15820
cbb59342
CY
158212011-04-08 Chong Yidong <cyd@stupidchicken.com>
15822
15823 * help.el (help-form-show): New function, to be called from C.
15824 Put help-form output in a buffer named differently than *Help*.
15825
e3971c44
EZ
158262011-04-08 Eli Zaretskii <eliz@gnu.org>
15827
15828 * files.el (file-size-human-readable): New function.
15829
15830 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
15831 computing the representation inline. Don't require `cl'.
15832
12544bbe
GM
158332011-04-08 Glenn Morris <rgm@gnu.org>
15834
a1de6c6a
GM
15835 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
15836
3c4671f4
GM
15837 * net/browse-url.el (browse-url-firefox):
15838 Test system-type, not system-configuration.
15839
b605679c
GM
15840 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
15841 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15842 Use log-edit-empty-buffer-p. (Bug#7598)
15843
56442f0c
GM
15844 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15845 (rlogin-mode-map): Initialize in the defvar.
15846 (rlogin): Use ignore-errors.
15847
12544bbe
GM
15848 * replace.el (occur-mode-map): Some fixes for menu items.
15849
eb237b0f
AH
158502011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15851
15852 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15853
7d668f2c
CY
158542011-04-06 Chong Yidong <cyd@stupidchicken.com>
15855
e67a13ab
CY
15856 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15857 issuing unused warnings.
15858
15859 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15860 macro directly.
15861
7d668f2c
CY
15862 * simple.el: Lisp reimplement of list-processes. Based on an
15863 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15864 (process-menu-mode): New major mode.
15865 (list-processes--refresh, list-processes):
15866 (process-menu-visit-buffer): New functions.
15867
15868 * files.el (save-buffers-kill-emacs): Don't assume any return
15869 value of list-processes, which is undocumented anyway.
15870
a83ec3c9
CY
158712011-04-06 Chong Yidong <cyd@stupidchicken.com>
15872
15873 * emacs-lisp/tabulated-list.el: New file.
15874
e91a96fe
CY
15875 * emacs-lisp/package.el: Use Tabulated List mode.
15876 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15877 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15878 table format using Tabulated List mode variables.
15879 (package--push): New macro, replacing package-list-maybe-add.
15880 (package-menu--generate): Use package--push. Renamed from
15881 package--generate-package-list.
15882 (package-menu-refresh, list-packages): Use it.
daca8ba5 15883 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15884 Return insertion data instead of inserting it directly.
099c39a4
JB
15885 (package-menu-describe-package, package-menu-execute):
15886 Use tabulated-list-get-id.
e91a96fe
CY
15887 (package-menu-mark-delete, package-menu-mark-install)
15888 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15889 (package-menu-mark-obsolete-for-deletion):
15890 Use tabulated-list-put-tag.
e91a96fe
CY
15891 (package--list-packages, package-menu-revert)
15892 (package-menu-get-package, package-menu-get-version)
15893 (package-menu-sort-by-column): Functions deleted.
15894 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15895 (package-menu--status-predicate, package-menu--version-predicate)
15896 (package-menu--name-predicate)
15897 (package-menu--description-predicate): Handle arguments in the
15898 Tabulated List format.
15899 (package-list-packages-no-fetch): Call list-packages.
15900
3e214b50
JB
159012011-04-06 Juanma Barranquero <lekktu@gmail.com>
15902
15903 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15904 (after-find-file): Don't bind it.
3e214b50
JB
15905 (revert-buffer-in-progress-p): New variable.
15906 (revert-buffer): Bind it.
15907 Pass nil for `after-find-file-from-revert-buffer'.
15908
15909 * saveplace.el (save-place-find-file-hook): Use new variable
15910 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15911
3f0f1700
GM
159122011-04-06 Glenn Morris <rgm@gnu.org>
15913
c0274801
GM
15914 * Makefile.in (AUTOGEN_VCS): New variable.
15915 (autoloads): Use $AUTOGEN_VCS.
15916
3f0f1700
GM
15917 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15918 * calendar/calendar.el (calendar-mode-map):
15919 Check for toolkit scroll bars. (Bug#8305)
15920
41ea9e48
CY
159212011-04-05 Chong Yidong <cyd@stupidchicken.com>
15922
15923 * minibuffer.el (completion-in-region--postch)
15924 (completion-in-region-mode): Remove unnecessary messages.
15925
6194c800
JB
159262011-04-05 Juanma Barranquero <lekktu@gmail.com>
15927
33256f14
JB
15928 * font-lock.el (font-lock-refresh-defaults):
15929 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15930 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15931
6194c800
JB
15932 * info.el (Info-directory-list, Info-read-node-name-2)
15933 (Info-split-parameter-string): Doc fixes.
15934 (Info-virtual-nodes): Reflow docstring.
15935 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15936 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15937 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15938 Fix typos in docstrings.
15939 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15940 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15941 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15942 (Info-restore-desktop-buffer): Mark unused parameters.
15943 (Info-directory-find-file, Info-directory-find-node)
15944 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15945 (Info-virtual-index-find-node, Info-apropos-find-file)
15946 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15947 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15948 (Info-virtual-index): Remove unused local variable `nodename'.
15949
b87a8200 159502011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15951
b87a8200
DD
15952 * net/rcirc.el: Update my e-mail address.
15953 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15954
3b2ff876
CY
159552011-04-05 Chong Yidong <cyd@stupidchicken.com>
15956
15957 * startup.el (command-line): Save the cursor's theme-face
15958 directly, instead of using face-override-spec.
15959
15960 * custom.el (load-theme): Minor optimization in assigning faces.
15961
8d17e7ca
JB
159622011-04-04 Juanma Barranquero <lekktu@gmail.com>
15963
15964 * help-fns.el (describe-variable): Complete all variables having
15965 documentation, including keywords.
15966 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15967
2fbc1934
JB
159682011-04-04 Juanma Barranquero <lekktu@gmail.com>
15969
15970 Convert to lexical-binding.
15971
15972 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15973 (bs--get-marked-string, bs--get-modified-string)
15974 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15975 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15976 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15977
15978 * ehelp.el (electric-help-execute-extended)
15979 (electric-help-ctrl-x-prefix):
15980 * hexl.el (hexl-revert-buffer-function):
15981 * linum.el (linum-after-change, linum-after-scroll):
15982 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15983
15984 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15985
74f50695
DU
159862011-04-04 Daiki Ueno <ueno@unixuser.org>
15987
15988 * epa-dired.el:
15989 * epa-mail.el:
15990 * epa-hook.el:
15991 * epa-file.el:
15992 * epa.el:
15993 * epg.el: Use lexical binding.
15994
c11325f7
CY
159952011-04-03 Chong Yidong <cyd@stupidchicken.com>
15996
0d9e9a12
CY
15997 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15998
c11325f7 15999 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16000 dictionary case for flyspell-mark-duplications-exceptions.
16001 Use regexp matching for languages.
c11325f7
CY
16002 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16003 default dictionary (Bug#7926).
16004
da91b5f2
CY
160052011-04-02 Chong Yidong <cyd@stupidchicken.com>
16006
099c39a4
JB
16007 * emacs-lisp/package.el (package--with-work-buffer):
16008 Recognize https URLs.
da91b5f2 16009
099c39a4
JB
16010 * net/network-stream.el: Move from gnus/proto-stream.el.
16011 Change prefix to network-stream throughout.
da91b5f2
CY
16012 (open-protocol-stream): Merge into open-network-stream, leaving
16013 open-protocol-stream as an alias. Handle nil BUFFER args.
16014
16015 * subr.el (open-network-stream): Move to net/network-stream.el.
16016
afa8e9f6
GM
160172011-04-02 Glenn Morris <rgm@gnu.org>
16018
1d2e369d
GM
16019 * find-dired.el (find-exec-terminator): New option.
16020 (find-ls-option): Test for -ls support.
16021 (find-ls-subdir-switches): Test for -b in find-ls-option.
16022 (find-dired, find-grep-dired): Doc fixes.
16023 (find-dired): Use find-exec-terminator.
16024
8abb7da8 16025 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16026 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16027 (find-name-arg): Remove purecopy.
8abb7da8 16028
f3ca7378
GM
16029 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16030 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16031 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16032 accordingly. Don't add the null-device if not needed.
16033
afa8e9f6
GM
16034 * files.el (save-some-buffers): Doc fix.
16035
35eae264
EZ
160362011-04-02 Eli Zaretskii <eliz@gnu.org>
16037
16038 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16039
26b51db5
JB
160402011-04-01 Juanma Barranquero <lekktu@gmail.com>
16041
16042 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16043 Use `dolist' rather than `mapcar'.
16044
7200d79c
SM
160452011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16046
03408648 16047 Add lexical binding.
7200d79c 16048
03408648
SM
16049 * subr.el (apply-partially): Use new closures rather than CL.
16050 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16051 (dolist, dotimes): Use slightly different expansion for lexical code.
16052 (functionp): Move to C.
16053 (letrec): New macro.
16054 (with-wrapper-hook): Use it and apply-partially instead of CL.
16055 (eval-after-load): Preserve lexical-binding.
16056 (save-window-excursion, with-output-to-temp-buffer): Turn them
16057 into macros.
7200d79c 16058
03408648
SM
16059 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16060
16061 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16062 than the arglist.
16063 (help-add-fundoc-usage): Don't add `Not documented'.
16064 (help-function-arglist): Handle closures, subroutines, and new
16065 byte-code-functions.
16066 (help-make-usage): Remove leading underscores.
16067 (describe-function-1): Handle closures.
16068 (describe-variable): Use special-variable-p for completion.
16069
16070 * files.el (lexical-binding): Declare safe.
f488fb65 16071
03408648
SM
16072 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16073 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16074 (pcase): Add `let' pattern.
16075 Change memoization so it actually works.
16076 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16077 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16078 <let>: New case.
f488fb65 16079
03408648
SM
16080 * emacs-lisp/macroexp.el: Use lexical binding.
16081 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16082 Don't convert ' to #' without checking that it's indeed quoting
16083 a lambda.
16084
16085 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16086 Use eval-sexp-add-defvars.
03408648
SM
16087 (eval-sexp-add-defvars): New fun.
16088
16089 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16090
16091 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16092 Don't autoload.
16093 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16094 than the internal `byte-compile-lambda'.
16095 (defmethod): Don't hide code under quotes.
16096 (eieio-defmethod): New `code' argument.
16097
16098 * emacs-lisp/eieio-comp.el: Remove.
16099
16100 * emacs-lisp/edebug.el (edebug-eval-defun)
16101 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16102 (edebug-toggle): Avoid `eval'.
16103
16104 * emacs-lisp/disass.el (disassemble-internal): Handle new
16105 `closure' objects.
16106 (disassemble-1): Handle new byte codes.
16107
16108 * emacs-lisp/cl.el (pushnew): Silence warning.
16109
16110 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16111 (cl-byte-compile-throw): Remove.
16112 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16113
16114 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16115 closures.
16116
16117 * emacs-lisp/cconv.el: New file.
16118
16119 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16120 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16121 (byte-compile-initial-macro-environment):
16122 Handle declare-function here.
16123 (byte-compile--lexical-environment): New var.
16124 (byte-stack-ref, byte-stack-set, byte-discardN)
16125 (byte-discardN-preserve-tos): New lap codes.
16126 (byte-interactive-p): Don't use any more.
16127 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16128 New macros.
16129 (byte-compile-lapcode): Use them and handle new lap codes.
16130 (byte-compile-obsolete): Remove.
16131 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16132 (byte-compile-arglist-warn): Check late def of inlinable funs.
16133 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16134 since they should have been expanded by now.
16135 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16136 (byte-compile-from-buffer): Remove unused second arg.
16137 (byte-compile-preprocess): New function.
16138 (byte-compile-toplevel-file-form): New function to distinguish
16139 file-form calls from outside from file-form calls from hunk-handlers.
16140 (byte-compile-file-form): Simplify.
16141 (byte-compile-file-form-defsubst): Remove.
16142 (byte-compile-file-form-defmumble): Simplify now that
16143 byte-compile-lambda always returns a byte-code-function.
16144 (byte-compile): Preprocess.
16145 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16146 Remove, not used any more.
16147 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16148 (byte-compile-make-args-desc): New funs.
16149 (byte-compile-lambda): Handle lexical functions. Always return
16150 a byte-code-function.
16151 (byte-compile-reserved-constants): New var, to make up room for
16152 closed-over variables.
16153 (byte-compile-constants-vector): Obey it.
16154 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16155 (byte-compile-macroexpand-declare-function): New function.
16156 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16157 byte-code-functions.
16158 (byte-compile-form): Check obsolescence here.
16159 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16160 (byte-compile-variable-ref): Remove.
16161 (byte-compile-dynamic-variable-op): New fun.
16162 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16163 (byte-compile-variable-set): New funs.
16164 (byte-compile-discard): Add 2 args.
16165 (byte-compile-stack-ref, byte-compile-stack-set)
16166 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16167 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16168 macroexpand-all instead.
16169 (byte-compile-quote-form): Remove.
16170 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16171 (byte-compile-bind, byte-compile-unbind): New funs.
16172 (byte-compile-let): Handle let* and lexical binding.
16173 (byte-compile-let*): Remove.
16174 (byte-compile-catch, byte-compile-unwind-protect)
16175 (byte-compile-track-mouse, byte-compile-condition-case):
16176 Handle a new :fun-body form, used for lexical scoping.
16177 (byte-compile-save-window-excursion)
16178 (byte-compile-with-output-to-temp-buffer): Remove.
16179 (byte-compile-defun): Simplify.
16180 (byte-compile-stack-adjustment): New fun.
16181 (byte-compile-out): Use it.
16182 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16183
16184 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16185 handler any more.
16186
16187 * emacs-lisp/byte-opt.el: Use lexical binding.
16188 (byte-inline-lapcode): Remove (to bytecomp).
16189 (byte-compile-inline-expand): Pay attention to inlining to/from
16190 lexically bound code.
16191 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16192 any more.
16193 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16194 any more and don't call compiler-macros.
16195 (byte-compile-splice-in-already-compiled-code): Remove.
16196 (byte-code): Don't inline any more.
16197 (disassemble-offset): Receive `bytes' as argument rather than via
16198 dynamic scoping.
16199 (byte-compile-tag-number): Declare before first use.
16200 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16201 `return' even if make-spliceable.
16202 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16203 obsolete interactive-p.
16204 (byte-optimize-lapcode): Optimize new lap-codes.
16205 Don't trip up on new form of `byte-constant' lap code.
16206
16207 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16208
16209 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16210
16211 * custom.el (custom-initialize-default, custom-declare-variable):
16212 Use `defvar'.
16213
16214 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16215 New variables.
16216 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16217 (COMPILE_FIRST): Add macroexp and cconv.
16218 * makefile.w32-in: Mirror changes in Makefile.in.
16219
16220 * vc/cvs-status.el:
16221 * vc/diff-mode.el:
16222 * vc/log-edit.el:
16223 * vc/log-view.el:
16224 * vc/smerge-mode.el:
16225 * textmodes/bibtex-style.el:
090bd7cb 16226 * textmodes/css-mode.el:
03408648
SM
16227 * startup.el:
16228 * uniquify.el:
da91b5f2
CY
16229 * minibuffer.el:
16230 * newcomment.el:
16231 * reveal.el:
16232 * server.el:
16233 * mpc.el:
16234 * emacs-lisp/smie.el:
16235 * doc-view.el:
16236 * dired.el:
03408648
SM
16237 * abbrev.el: Use lexical binding.
16238
0f0c1f27
EZ
162392011-04-01 Eli Zaretskii <eliz@gnu.org>
16240
16241 * info.el (info-display-manual): New function.
16242
c82b2579
SM
162432011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16244
16245 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16246
221ddf68
TH
162472011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16248
16249 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16250 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16251
cba6e77e
GM
162522011-03-31 Glenn Morris <rgm@gnu.org>
16253
e040639f
GM
16254 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16255
cba6e77e
GM
16256 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16257
6d0f1c9e
CS
162582011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16259
16260 * progmodes/python.el (python-default-interpreter)
16261 (python-python-command-args, python-jython-command-args)
16262 (python-which-shell, python-which-args, python-which-bufname)
16263 (python-file-queue, python-comint-output-filter-function)
16264 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16265 variables and functions.
16266
3e2d70fd
SM
162672011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16268
16269 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16270 (completion-in-region-mode): New minor mode.
16271 (completion-in-region): Use it.
16272 (completion-in-region--data, completion-in-region-mode-map): New vars.
16273 (completion-in-region--postch): New function.
16274 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16275 New vars.
16276 (completion--capf-wrapper): New function.
16277 (completion-at-point): Use it to track well-behavedness of
16278 hook functions.
16279 (completion-help-at-point): New command.
16280
f3e4086c
JM
162812011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16282
16283 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16284 syntax class to search for whitespace on a single line
16285 (Message-ID: <4D938140.4030905@redhat.com>).
16286
eb7ffc14
LL
162872011-03-30 Leo Liu <sdl.web@gmail.com>
16288
16289 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16290 New commands.
16291 (edit-abbrevs-map): Bind them here.
16292 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16293
d806ab68
KM
162942011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16295
16296 * allout.el (allout-hide-by-annotation, allout-flag-region):
16297 Reduce possibility of overlay leakage by making them volatile.
16298
16299 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16300 hash is not shared between buffers. Mode initialization is
16301 responsible for giving it a useful starting value.
16302 (allout-item-span): Reduce possibility of overlay leakage by
16303 making them volatile.
16304 (allout-widgets-count-buttons-in-region): Add diagnostic function
16305 for tracking down button overlay leaks.
16306
ea622834
LL
163072011-03-29 Leo Liu <sdl.web@gmail.com>
16308
16309 * ido.el (ido-read-internal): Use the default history var
16310 minibuffer-history if no HISTORY is specified.
16311
b62f8267
G
163122011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16313
03408648
SM
16314 * net/imap.el (imap-shell-open, imap-process-connection-type):
16315 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16316 Kerberos, SSL, other subprocesses.
16317
947b6566
LL
163182011-03-28 Leo Liu <sdl.web@gmail.com>
16319
16320 * abbrev.el (abbrev-table-empty-p): New function.
16321 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16322 nonempty ones. (Bug#5937)
16323
5ffb62aa
JD
163242011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16325
16326 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16327
7a097943
LL
163282011-03-27 Leo Liu <sdl.web@gmail.com>
16329
16330 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16331 for foreground and background colors.
16332 (ansi-color-make-color-map): Adapt.
16333
c5b40130
LL
163342011-03-25 Leo Liu <sdl.web@gmail.com>
16335
1f48f7d2
LL
16336 * midnight.el (midnight-time-float): Remove. Note it calculates
16337 the microsecond component incorrectly and seconds-to-time does the
16338 same job.
625897ec 16339 Remove redundant (require 'timer).
1f48f7d2 16340
c5b40130
LL
16341 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16342 (ido-completions): Remove unused arguments. (Bug#8329)
16343
d86d2721
SM
163442011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16345
16346 * minibuffer.el (completion--flush-all-sorted-completions):
16347 Remove itself from hook.
16348 (completion-at-point): Let the functions perform the completion
16349 immediately and return nil or t.
16350 * comint.el (comint-dynamic-complete-functions): Now identical to
16351 completion-at-point-functions.
16352 (comint-dynamic-list-input-ring): Remove unused var `index'.
16353 (comint--match-partial-filename, comint--unquote&expand-filename):
16354 New funs, split from comint-match-partial-filename.
16355 (comint-dynamic-complete): Use completion-at-point.
16356 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16357
e8974c48
DA
163582011-03-24 Drew Adams <drew.adams@oracle.com>
16359
16360 * thingatpt.el: Support `defun'.
16361
def71b5e
LL
163622011-03-23 Leo Liu <sdl.web@gmail.com>
16363
cb5af48e
LL
16364 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16365
def71b5e
LL
16366 * help-mode.el (help-mode-finish): Tweak regexp.
16367
927c53e7
GM
163682011-03-23 Glenn Morris <rgm@gnu.org>
16369
18d05bed
GM
16370 * eshell/esh-opt.el (eshell-eval-using-options):
16371 Do not bind unused local variable `eshell-option-stub'.
16372
927c53e7
GM
16373 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16374
9d0da923
JB
163752011-03-22 Juanma Barranquero <lekktu@gmail.com>
16376
16377 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16378 keymap variable in `with-no-warnings' to avoid a warning when the
16379 keymap has been already `defconst'ed.
16380
4b978a67
LL
163812011-03-22 Leo Liu <sdl.web@gmail.com>
16382
16383 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16384 encode all chars in abbrevs; otherwise use emacs-mule or
16385 utf-8-emacs. (Bug#8308)
16386
5fd62452
JB
163872011-03-22 Juanma Barranquero <lekktu@gmail.com>
16388
0b1596c6
JB
16389 * simple.el (backward-delete-char-untabify):
16390 Avoid warning about using `delete-backward-char'.
16391
5fd62452
JB
16392 * image.el (image-type-file-name-regexps): Make it variable.
16393 `imagemagick-register-types' modifies it, and the user may want
16394 to add new extensions for known image types.
16395 (imagemagick-register-types): Throw error if not using ImageMagick.
16396
0b4e93f1
LL
163972011-03-22 Leo Liu <sdl.web@gmail.com>
16398
16399 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16400 located before rcirc-prompt-end-marker.
16401 (rcirc-complete): Error if point is not after rcirc prompt.
16402 Handle the case when table is nil.
9882e214 16403 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16404
fccee4ab
CY
164052011-03-22 Chong Yidong <cyd@stupidchicken.com>
16406
16407 * custom.el (custom--inhibit-theme-enable): Make it affect only
16408 custom-theme-set-variables and custom-theme-set-faces.
16409 (provide-theme): Ignore custom--inhibit-theme-enable.
16410 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16411 (custom-enabling-themes): Delete variable.
d86d2721
SM
16412 (enable-theme): Accept only loaded themes as arguments.
16413 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16414 (custom-enabled-themes): Forbid themes from setting this.
16415 Eliminate use of custom-enabling-themes.
16416 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16417
af896da6
LL
164182011-03-21 Leo Liu <sdl.web@gmail.com>
16419
16420 * ido.el (ido-read-internal): Add ido-selected to history instead
16421 of user input.
16422
78f64af0
SM
164232011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16424
16425 * subr.el (deferred-action-list, deferred-action-function):
16426 Mark obsolete.
16427
b16ac1ec
LL
164282011-03-21 Leo Liu <sdl.web@gmail.com>
16429
810f7698
LL
16430 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16431 change on 2011-02-13 (bug#8309).
16432
b16ac1ec
LL
16433 * minibuffer.el (read-file-name-function): Change default value.
16434 (read-file-name--defaults): Rename from read-file-name-defaults.
16435 (read-file-name-default): Rename from read-file-name.
16436 (read-file-name): Call read-file-name-function.
16437
4e05e67e
GM
164382011-03-21 Glenn Morris <rgm@gnu.org>
16439
16440 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16441 Doc fixes.
16442
4359915b
CY
164432011-03-21 Chong Yidong <cyd@stupidchicken.com>
16444
16445 * cus-theme.el: Add missing provide statement.
16446 (customize-create-theme): Extract theme value correctly.
16447 (custom-theme-visit-theme): Autoload.
16448 (customize-create-theme): Prompt before inserting default faces.
16449
1fe275ee
JB
164502011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16451
16452 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16453 units and musical notes.
16454
cd394be1 164552011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16456
16457 * ido.el (ido-read-internal): Use completing-read-default.
16458 (ido-completing-read): Fix compatibility with completing-read.
16459
7d476bde
CO
164602011-03-20 Christian Ohler <ohler@gnu.org>
16461
16462 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16463 (ert-delete-all-tests): Use `called-interactively-p' rather than
16464 `interactive-p'.
16465 (ert--make-xrefs-region): Respect END.
16466
fe0fb33e
CY
164672011-03-19 Chong Yidong <cyd@stupidchicken.com>
16468
ff854b0b
CY
16469 * dired-aux.el (dired-create-directory): Signal an error if the
16470 directory already exists (Bug#8246).
16471
fe0fb33e
CY
16472 * facemenu.el (list-colors-display): Call list-faces-display
16473 inside with-help-window.
16474 (list-colors-print): Use display property to align the final
16475 column, instead of checking window-width.
16476
576bce32
EZ
164772011-03-19 Eli Zaretskii <eliz@gnu.org>
16478
4d61f28d 16479 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16480 windows-nt systems.
16481 (emerge-protect-metachars): Quote correctly for ms-dos and
16482 windows-nt systems.
16483
89c41d68 164842011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16485
16486 * info.el (info-initialize): Replace all uses of `:' with
16487 path-separator for compatibility with non-Unix systems.
16488 Cache quoting of path-separator. (Bug#8258)
16489
b14e3e21 164902011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16491
16492 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16493 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16494 (mouse-avoidance-mode): Fix typos in docstrings.
16495
4525ce3e
CY
164962011-03-19 Chong Yidong <cyd@stupidchicken.com>
16497
16498 * startup.el (package-subdirectory-regexp): Move from package.el.
16499 Omit \\` and \\', and let callers add them.
16500
16501 * emacs-lisp/package.el (package-strip-version)
16502 (package-load-all-descriptors): Add \\` and \\' to
16503 package-subdirectory-regexp before using it.
16504 (package-untar-buffer): New arg DIR; ensure that file untars only
16505 into this expected directory. Remove superfluous delete-region.
16506 (package-unpack): Caller changed.
16507 (package-tar-file-info): Use package-subdirectory-regexp.
16508
a904a09a 165092011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16510
a904a09a
SM
16511 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16512 diff-mode-shared-map (bug#8284).
16513 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16514
165152011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16516
16517 * calendar/time-date.el (format-seconds): Use assoc instead of
16518 assoc-string, since assoc-string doesn't exist in XEmacs.
16519
171fc304
JB
165202011-03-17 Juanma Barranquero <lekktu@gmail.com>
16521
16522 * custom.el (custom-known-themes): Reflow docstring.
16523 (custom-theme-load-path): Fix typo in docstring.
16524 (load-theme): Fix typo in error message.
16525 (custom-available-themes, custom-variable-theme-value):
16526 Use `let', not `let*'.
16527
d71990a1
JB
165282011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16529
16530 * calc/README: Mention inclusion of musical notes.
16531
16532 * calc/calc-units.el (calc-lu-quant): Rename from
16533 `calc-logunits-quantity'.
16534 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16535 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16536 (calc-db): Rename from `calc-dblevel'.
16537 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16538 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16539 (calc-np): Rename from `calc-nplevel'.
16540 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16541 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16542 (calc-lu-plus): Rename from `calc-logunits-add'.
16543 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16544 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16545 (calc-lu-minus): Rename from `calc-logunits-sub'.
16546 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16547 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16548 (calc-lu-times): Rename from `calc-logunits-mul'.
16549 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16550 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16551 (calc-lu-divide): Rename from `calc-logunits-div'.
16552 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16553 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16554
16555 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16556 functions being autoloaded.
16557
16558 * calc/calc.el (calc-lu-power-reference): Rename from
16559 `calc-logunits-power-reference'.
16560 (calc-lu-field-reference): Rename from
16561 `calc-logunits-field-reference'.
16562
7a71b18d
GM
16563 * calc/calc-help.el (calc-l-prefix-help):
16564 Mention musical note functions.
d71990a1 16565
40c2934b
SM
165662011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16567
16568 * minibuffer.el (completion-all-sorted-completions):
16569 Use :completion-cycle-penalty text property if present.
16570
b0911414
KM
165712011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16572
16573 * allout.el (allout-yank-processing): Adjust for new rebulleting
16574 regime so bullet being yanked is used without prompting the user
16575 for a choice.
16576
8a05b668
JB
165772011-03-16 Juanma Barranquero <lekktu@gmail.com>
16578
16579 * startup.el (command-line): Warn the user that _emacs is deprecated.
16580
5ba5fb81
JB
165812011-03-16 Juanma Barranquero <lekktu@gmail.com>
16582
16583 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16584 (delphi-verbose, delphi-comment-face, delphi-string-face)
16585 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16586 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16587 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16588 (delphi-new-comment-line, delphi-font-lock-defaults)
16589 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16590 Fix typos in docstrings.
16591
2dab465b
KM
165922011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16593
5ba5fb81 16594 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16595 Invert the roles of character and string values for INSTEAD, so a
16596 string is used for the more common case of a defaulting prompt.
16597
0adf5618
SM
165982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16599
16600 * progmodes/ruby-mode.el (ruby-backward-sexp):
16601 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16602 * play/gamegrid.el (gamegrid-make-face):
16603 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16604 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16605 * notifications.el (notifications-notify):
16606 * net/xesam.el (xesam-search-engines):
16607 * net/quickurl.el (quickurl-list-insert):
16608 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16609
d72700e5
CY
166102011-03-15 Chong Yidong <cyd@stupidchicken.com>
16611
16612 * startup.el (command-line): Update package subdirectory regexp.
16613
49c5410a
SM
166142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16615
c6eee9aa
SM
16616 * allout.el (allout-abbreviate-flattened-numbering)
16617 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16618
49c5410a
SM
16619 * subr.el (read-char-choice): Only show the cursor after the prompt,
16620 not after the answer.
16621
047b2bb9
KR
166222011-03-15 Kevin Ryde <user42@zip.com.au>
16623
16624 * help-fns.el (variable-at-point): Skip leading quotes, if any
16625 (bug#8253).
16626
0a57d256
SM
166272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16628
16629 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16630 warning message.
16631
77c992bc
MA
166322011-03-14 Michael Albinus <michael.albinus@gmx.de>
16633
16634 * shell.el (shell): When called interactively, offer to change the
16635 shell file name on remote hosts.
16636
eebc475d
TZ
166372011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16638
16639 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16640 integration for LDAP parameters. The host, base, user or binddn,
16641 and secret tokens can be specified in a netrc file, for instance.
16642 This is optional because an `auth-source' parameter must be
16643 specified in the search attributes.
16644
9d05d1ba
JB
166452011-03-13 Juanma Barranquero <lekktu@gmail.com>
16646
16647 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16648
09d9db2c
GM
166492011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16650
16651 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16652 into declaration. Remove redundant and harmful binding.
16653
166542011-03-12 Eli Zaretskii <eliz@gnu.org>
16655
16656 * files.el (file-ownership-preserved-p): Pass `integer' as an
16657 explicit 2nd argument to `file-attributes'. If the file's owner
16658 is the Administrators group on Windows, and the current user is
16659 Administrator, consider that a match.
16660
16661 * server.el (server-ensure-safe-dir): Consider server directory
16662 safe on MS-Windows if its owner is the Administrators group while
16663 the current Emacs user is Administrator. Use `=' to compare
16664 numerical UIDs, since they could be integers or floats.
16665
219bd536
JB
166662011-03-12 Juanma Barranquero <lekktu@gmail.com>
16667
16668 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16669
f3afd36b
MA
166702011-03-12 Michael Albinus <michael.albinus@gmx.de>
16671
16672 Sync with Tramp 2.2.1.
16673
16674 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16675
16676 * net/trampver.el: Update release number.
16677
3aaaa6f1
SM
166782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16679
94642599
SM
16680 * progmodes/compile.el (compilation--previous-directory): Fix up
16681 various nil/dead-marker mismatches (bug#8014).
16682 (compilation-directory-properties, compilation-error-properties):
16683 Don't call it at a position past the one we're about to change.
16684
3aaaa6f1
SM
16685 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16686 Disable obsolescence warnings in the file that declares it.
16687
14239447
KM
166882011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16689
099c39a4
JB
16690 * allout-widgets.el (allout-widgets-tally):
16691 Initialize allout-widgets-tally as a hash table rather than nil to
16692 prevent mode-line redisplay warnings. Also, clarify the module
16693 description and fix a comment typo.
14239447 16694
135e287c
JB
166952011-03-11 Juanma Barranquero <lekktu@gmail.com>
16696
16697 * help-fns.el (describe-variable): Don't complete keywords.
16698 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16699
ffbf300e
CY
167002011-03-10 Chong Yidong <cyd@stupidchicken.com>
16701
ba08b241
CY
16702 * emacs-lisp/package.el (package-version-join): Impose a standard
16703 string representation for pre/alpha/beta version lists.
16704 (package-unpack-single): Standardize the directory name by passing
16705 it through package-version-join.
16706 (package-strip-rcs-id): Accept any version string that does not
16707 signal an error in version-to-list.
ffbf300e 16708
f346fd6b
MA
167092011-03-10 Michael Albinus <michael.albinus@gmx.de>
16710
16711 * simple.el (delete-trailing-whitespace): Return nil for the
16712 benefit of `write-file-functions'.
16713
ccb55d27
GM
167142011-03-10 Glenn Morris <rgm@gnu.org>
16715
5ceaac0c
GM
16716 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16717
02da65ff
GM
16718 * vc/vc-git.el (vc-git-program): New option.
16719 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16720 (vc-git--call): Use it.
16721
b2f603cc
GM
16722 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16723
5772caab
GM
16724 * cus-edit.el (Custom-newline): If no button at point, look
16725 for a subgroup button at start-of-line. (Bug#2298)
16726
ccb55d27
GM
16727 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16728
ec6ecaed
JD
167292011-03-10 Julien Danjou <julien@danjou.info>
16730
16731 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16732 `cursor-type' is nil.
16733
9d5aa01d
JB
167342011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
16735
16736 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
16737
b6a5875b
KM
167382011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
16739
7a71b18d 16740 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
16741 preserves the existing header prefix, rebulleting it if necessary,
16742 rather than replacing it. This is necessary for proper operation
16743 of cooperative addons like allout-widgets.
1154d12e
JB
16744 (allout-make-topic-prefix, allout-rebullet-heading):
16745 Change SOLICIT arg to INSTEAD, and interpret additionally a string
16746 value as alternate bullet to be used, instead of prompting the user
16747 for a bullet character.
b6a5875b 16748
ee545c35
MA
167492011-03-09 Michael Albinus <michael.albinus@gmx.de>
16750
d86d2721
SM
16751 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16752 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
16753 `tramp-default-port'.
16754
c47971d7
DD
167552011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
16756
16757 * net/rcirc.el (rcirc-handler-001): Remove useless
16758 with-rcirc-process-buffer.
16759 (rcirc-check-auth-status): Swap arguments to string-match.
16760
13522cb4
GM
167612011-03-09 Glenn Morris <rgm@gnu.org>
16762
0be6f4f1
GM
16763 * shell.el (shell-mode):
16764 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
16765
13522cb4
GM
16766 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
16767 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
16768
515de2e3
CY
167692011-03-08 Chong Yidong <cyd@stupidchicken.com>
16770
16771 * emacs-lisp/package.el (package-refresh-contents)
16772 (package-menu-execute): Use condition-case-no-debug.
16773
b511b994
MA
167742011-03-08 Michael Albinus <michael.albinus@gmx.de>
16775
16776 * simple.el (shell-command-to-string): Use `process-file'.
16777
16778 * emacs-lisp/package.el (package-tar-file-info): Handle also
16779 remote files.
16780
d86d2721
SM
16781 * emacs-lisp/package-x.el (package-upload-buffer-internal):
16782 Use `equal' for upload base check.
b511b994 16783
25bbfb31
AM
167842011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
16785
16786 * textmodes/texinfo.el (texinfo-environments):
16787 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
16788
be996521
GM
167892011-03-08 Glenn Morris <rgm@gnu.org>
16790
e9c8529f
GM
16791 * cus-start.el (cursor-in-non-selected-windows):
16792 Fix :set quoting oddness. (Bug#8192)
16793
be996521
GM
16794 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
16795 in some setf expressions. (Bug#2159)
16796
2bb5649e
CY
167972011-03-08 Chong Yidong <cyd@stupidchicken.com>
16798
16799 * custom.el (custom-available-themes): Return themes in
16800 alphabetical order.
16801
33383987 16802See ChangeLog.15 for earlier changes.
e3d51b27
MR
16803
16804;; Local Variables:
16805;; coding: utf-8
e3d51b27
MR
16806;; End:
16807
acaf905b 16808 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
16809
16810 This file is part of GNU Emacs.
16811
16812 GNU Emacs is free software: you can redistribute it and/or modify
16813 it under the terms of the GNU General Public License as published by
16814 the Free Software Foundation, either version 3 of the License, or
16815 (at your option) any later version.
16816
16817 GNU Emacs is distributed in the hope that it will be useful,
16818 but WITHOUT ANY WARRANTY; without even the implied warranty of
16819 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16820 GNU General Public License for more details.
16821
16822 You should have received a copy of the GNU General Public License
16823 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.