Fix typo in docstring. Bug #12122.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
66ec2442
BG
12012-08-02 Bastien Guerry <bzg@gnu.org>
2
3 * replace.el (occur): Fix docstring (bug#12122).
4
837b365b
GM
52012-08-02 Glenn Morris <rgm@gnu.org>
6
7 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8
e098de97
PE
92012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10
11 Obsolete alias inactivate-current-input-method-function (Bug#10150).
12 * international/mule-cmds.el: Create
13 inactivate-current-input-method-function as an obsolete alias for
14 deactivate-current-input-method-function. See Katsumi Yamaoka in
15 <http://bugs.gnu.org/10150#46>.
16
a0f95636
JB
172012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
18
19 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
20 of nested `if's.
21
0d26d7c4
GM
222012-08-01 Glenn Morris <rgm@gnu.org>
23
24 * progmodes/autoconf.el (autoconf-definition-regexp):
25 Add AH_TEMPLATE, adjust submatch numbering.
26 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
27 (autoconf-current-defun-function): Update for above change.
28 (autoconf-current-defun-function): First skip to end of current word.
29
b686ba06
RS
302012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
31
32 * calendar/cal-html.el (cal-html-insert-agenda-days):
33 Fix typo. (Bug#12018)
34
0d49da68
FEG
352012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
36
37 Shell processes: enhancements to startup and CEDET compatibility.
38 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
39 (python-shell-make-comint): accept-process-output at startup.
40 (run-python-internal): Set inferior-python-mode-hook to nil.
41 (python-shell-internal-get-or-create-process): call sit-for.
42 (python-preoutput-result): Add obsolete alias.
43 (python-shell-internal-send-string): Use it.
44 (python-shell-send-setup-code): Remove call to
45 accept-process-output.
46
f1a71c6e
AS
472012-07-31 Andreas Schwab <schwab@linux-m68k.org>
48
49 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
50 (Bug#12108)
51
d2605269
JB
522012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
53
54 * calc-mode.el (calc-basic-simplification-mode): Rename from
55 `calc-limited-simplification-mode'.
56 (calc-alg-simplification-mode): New function.
d66060f8 57 (calc-set-simplify-mode): Adjust message.
f1a71c6e 58
d2605269
JB
59 * calc.el (calc-set-mode-line): Adjust mode line display for
60 basic simplification mode.
61
62 * calc-help.el (calc-m-prefix-help): Update help message.
63
64 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
65 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
66
a3827a43
BG
672012-07-31 Bastien Guerry <bzg@gnu.org>
68
69 * man.el (man): Fix comment. (bug#12101)
70
502e3f89
MR
712012-07-31 Martin Rudalics <rudalics@gmx.at>
72
73 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
74 Don't return a non-nil value when no suitable buffer was found.
75
d7714961
FEG
762012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
77
78 * progmodes/python.el (run-python-internal): Disable font lock for
79 internal shells.
80
1f45e27e
SM
812012-07-30 Stefan Merten <smerten@oekonux.de>
82
83 * rst.el: Silence `checkdoc-ispell'.
84 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
85 (rst-official-version, rst-official-cvs-rev)
86 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
87 (rst-mode-map): New key binding.
88
0aee6912
PE
892012-07-30 Paul Eggert <eggert@cs.ucla.edu>
90
91 Update .PHONY listings in makefiles.
92 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
93 autoloads, update-subdirs, updates, bzr-update, update-authors,
94 compile-onefile, compile-calc, backup-compiled-files,
95 compile-after-backup, compile-one-process, mh-autoloads,
96 bootstrap-clean, distclean, maintainer-clean.
97
9052f9f0
JB
982012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
99
1823ac5a
JB
100 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
101 (calc-set-mode-line): Don't display "AlgSimp ".
102
103 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
104 (calc-lim-simplify-mode): New function.
105 (calc-set-simplify-mode): Default to 'alg.
106 (calc-default-simplify-mode): Make algebraic simplifications
107 the default.
108
109 * calc/calc-ext.el (calc-init-extensions): Remove binding for
110 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
111
8d7c7eed 112 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
113 indicate new simplification modes.
114
1823ac5a
JB
115 * calc/README: Mention new default simplification mode.
116
9052f9f0
JB
117 * calc/calc.el (math-normalize-error): New variable.
118 (math-normalize): Set `math-normalize-error' to t
119 when there's an error.
120
121 * calc/calc-alg.el (math-simplify): Don't simplify when
122 `math-normalize' returns an error.
123
20ba0cb4
EZ
1242012-07-29 Eli Zaretskii <eliz@gnu.org>
125
126 * international/mule-cmds.el (set-locale-environment): Revert last
127 change, since display-graphic-p returns nil when this function is
128 called during startup. Instead...
129
130 * term/w32console.el (terminal-init-w32console): ...setup the
131 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
132
a5dcc929
JL
1332012-07-29 Juri Linkov <juri@jurta.org>
134
135 * simple.el (goto-line): Don't display default line number in the
136 prompt because it should be displayed by `read-number' (bug#9952).
137 Add the current line number to the defaults of `goto-line' to
138 allow its easier modification by users with `M-n' (bug#9201).
139
140 * subr.el (read-number): Support multiple default values like in
141 other minibuffer reading functions. Replace `read' with
142 `string-to-number' for consistency with `number-to-string'.
143
72b255c7
PE
1442012-07-29 Paul Eggert <eggert@cs.ucla.edu>
145
146 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
147 * emulation/viper-init.el (viper-deactivate-input-method-action):
148 Rename from viper-inactivate-input-method-action.
149 (viper-deactivate-input-method):
150 Rename from viper-inactivate-input-method.
151 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
152 * international/mule-cmds.el (deactivate-input-method):
153 Rename from inactivate-input-method.
154 Also run input-method-deactivate-hook.
155 (deactivate-current-input-method-function):
156 Rename from inactivate-current-input-method-function.
157 (input-method-deactivate-hook): New hook.
158 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
159 (inactivate-input-method): Mark obsolete.
160
72b255c7
PE
161 * international/quail.el (quail-activate):
162 Also run quail-deactivate-hook.
163 (quail-deactivate): Rename from quail-inactivate.
164 * international/robin.el (robin-activate):
165 Also run robin-deactivate-hook.
166 (robin-deactivate): Rename from robin-inactivate.
167
2549c068
CY
1682012-07-29 Chong Yidong <cyd@gnu.org>
169
170 * simple.el (indicate-copied-region): New function.
171 (kill-ring-save): Split off from here.
172
173 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
174 (kill-rectangle): Set deactivate-mark to t on read-only error.
175
176 * register.el (copy-to-register, copy-rectangle-to-register):
177 Deactivate the mark, and use indicate-copied-region (Bug#10056).
178 (append-to-register, prepend-to-register): Call
179
17711ed9
JL
1802012-07-29 Juri Linkov <juri@jurta.org>
181
182 * simple.el (async-shell-command-buffer): New defcustom.
183 (shell-command): Use it. (Bug#4719)
184
01bd1b0d
EZ
1852012-07-28 Eli Zaretskii <eliz@gnu.org>
186
187 * international/mule-cmds.el (set-locale-environment): In a
188 console session on MS-Windows, set up keyboard and terminal
189 encoding from the OEM codepage, not the ANSI codepage.
190 (Bug#12055)
191
a55739d3
CY
1922012-07-28 Chong Yidong <cyd@gnu.org>
193
194 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
195 gdb-get-location.
196
9a0f8f2e
LL
1972012-07-25 Leo Liu <sdl.web@gmail.com>
198
199 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
200 the alist (bug#12029).
201
20329d73
EZ
2022012-07-28 Eli Zaretskii <eliz@gnu.org>
203
204 * makefile.w32-in (custom-deps, finder-data, updates, compile)
205 (compile-always, compile-first)
206 ($(lisp)/calendar/cal-loaddefs.el)
207 ($(lisp)/calendar/diary-loaddefs.el)
208 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
209 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
210 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
211 instead of on update-subdirs.
212 (bootstrap-clean): Delete $(lisp)/subdirs.el.
213
345a2258
CY
2142012-07-28 Chong Yidong <cyd@gnu.org>
215
1eee6341
CY
216 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
217 directory if vc-deduce-backend returns nil (Bug#7350).
218
345a2258
CY
219 * simple.el (delete-trailing-lines): New option.
220 (delete-trailing-whitespace): Obey it (Bug#11879).
221
049a0936
DE
2222012-07-28 David Engster <deng@randomsample.de>
223
224 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
225 Explanation of new 'symbol-qnames feature in doc-strings.
226 (xml-maybe-do-ns): Return expanded names as plain symbols if
227 'symbol-qnames was provided in XML-NS argument (Bug#11916).
228 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
229
aa81af71
FEG
2302012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
231
232 Consistent completion in inferior python with emacs -nw.
233 * progmodes/python.el (inferior-python-mode): replace "<tab>"
234 binding in inferior-python-mode-map with "\t".
235 (python-shell-completion-complete-at-point)
236 (python-completion-complete-at-point): Remove interactive spec.
237
e827b1eb
JB
2382012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
239
240 * calc/calccomp.el (math-compose-expr): Undo previous change.
241
a90dfb95
FEG
2422012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
243
244 * progmodes/python.el (python-mode-map): Added keybinding for
245 run-python.
246 (python-shell-make-comint): Fix pop-to-buffer call.
247 (run-python): Autoload. New arg SHOW.
248 (python-shell-get-or-create-process): Do not pop python process
249 buffer.
250
32770973 2512012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
252
253 * notifications.el (notifications-on-action-signal)
254 (notifications-on-closed-signal): Use also the bus address for the map.
255 (notifications-notify, notifications-close-notification)
256 (notifications-get-capabilities): Add optional argument BUS.
257
86332df2
TH
2582012-07-27 Tassilo Horn <tsdh@gnu.org>
259
260 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
261 support for the lstlisting and minted environments, and for the
262 ctable macro.
263 * textmodes/reftex.el (reftex-compile-variables): Also recognize
264 labels written in keyvals syntax.
265
ca1302a4
JB
2662012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
267
268 * calc/calccomp.el (math-compose-expr): Use parentheses when
269 there is a product in the denominator of a fraction.
270
f8b91036
EZ
2712012-07-26 Eli Zaretskii <eliz@gnu.org>
272
273 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
274 ($(lisp)/calendar/diary-loaddefs.el)
275 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
276 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
277 failures in parallel bootstrap because subdirs.el is being
278 rewritten while the autoload files are built at the same time,
279 which needs to load subdirs.el.
280
c8e5a42c
MR
2812012-07-26 Martin Rudalics <rudalics@gmx.at>
282
283 * mouse.el (popup-menu): Fix doc-string and re-indent code.
284 (mouse-drag-line): Don't exit tracking when a switch-frame or
285 switch-window event occurs (Bug#12006).
286
670d85ea
SM
2872012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * mouse.el (popup-menu): Fix last change.
290
7abaf5cc
SM
2912012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 Autoload from Lisp with more care. Follow aliases when looking for
294 function properties.
295 * subr.el (autoloadp): New function.
296 (symbol-file): Use it.
297 (function-get): New function.
298 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
299 autoload-do-load.
300 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
301 (lisp-indent-function):
302 * emacs-lisp/gv.el (gv-get):
303 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
304 * emacs-lisp/byte-opt.el (byte-optimize-form):
305 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
306 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
307 Use function-get.
308 * emacs-lisp/cl.el: Don't propagate function properties any more.
309
310 * speedbar.el (speedbar-add-localized-speedbar-support):
311 * emacs-lisp/disass.el (disassemble-internal):
312 * desktop.el (desktop-load-file):
313 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
314 (describe-function-1):
315 * emacs-lisp/find-func.el (find-function-noselect):
316 * emacs-lisp/elp.el (elp-instrument-function):
317 * emacs-lisp/advice.el (ad-has-proper-definition):
318 * apropos.el (apropos-safe-documentation, apropos-macrop):
319 * emacs-lisp/debug.el (debug-on-entry):
320 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
321 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
322 * calc/calc.el (name): Use autoloadp & autoload-do-load.
323
b1364986
AA
3242012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
325
326 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
327 function, not an obsolete variable (Bug#12046).
328
67ada220
AS
3292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
330
331 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
332
f08088e3
CS
3332012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
334
335 * emacs-lisp/pp.el (pp-display-expression): Select old selected
336 window only if it is still live (Bug#12034).
337
8137e7b3
MR
3382012-07-25 Martin Rudalics <rudalics@gmx.at>
339
340 * subr.el (redirect-frame-focus): Add advertised calling
341 convention (Bug#12030).
342
09ae5da1
PE
3432012-07-25 Paul Eggert <eggert@cs.ucla.edu>
344
345 Prefer typical American spelling for "acknowledgment".
346 * vc/add-log.el (change-log-acknowledgment): Rename from
347 change-log-acknowledgement, with an alias for the old name.
348
3cc5a3a8
JB
3492012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
350
351 * calc-alg.el (math-simplify-divide): Don't cross multiply
352 in an equation when the lhs is a variable.
353
b7af7f62
JD
3542012-07-24 Julien Danjou <julien@danjou.info>
355
356 * net/netrc.el (netrc-find-service-number, netrc-store-data):
357 Remove, unused.
358
ec1b09b1
EZ
3592012-07-23 Eli Zaretskii <eliz@gnu.org>
360
361 * startup.el (command-line): Don't display an empty user name in
362 the error message about non-existent home directory, when
363 init-file-user was set to an empty string. See
364 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
365 for the details and context.
366
b525fd8a
VB
3672012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
368
369 * ses.el (ses-cell-formula-aset): New macro.
370 (ses-cell-references-aset): New macro.
371 (ses-cell-p): New function.
372 (ses-rename-cell): Do no longer rely on complex operations like
373 ses-cell-set-formula or ses-set-cell to change the cell and handle
374 the undo at the same time, but rather use lower level new macros
375 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
376 the undo directly. Refresh the mode line.
377
2c73e345
LL
3782012-07-21 Leo Liu <sdl.web@gmail.com>
379
670d85ea
SM
380 * progmodes/cc-cmds.el (c-defun-name):
381 Use match-string-no-properties instead for consistency.
2c73e345 382
542dfbde
LL
3832012-07-20 Leo Liu <sdl.web@gmail.com>
384
3646bcd6
LL
385 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
386 (Bug#7879)
387
542dfbde
LL
388 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
389
25721031
CY
3902012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
393 * progmodes/bug-reference.el, misearch.el: Provide themselves
394 (bug#11915).
395
396 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
397 of narrowed buffer (bug#11966).
398
316e68a7
VB
3992012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
400
401 * ses.el (ses-rename-cell): Set new name also in reference list of
402 cells of which the renamed cell depends.
403
bbf0e7d9
MY
4042012-07-20 Masatake YAMATO <yamato@redhat.com>
405
406 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
407 to check whether menu-bar is shown or not. If not shown,
408 show the menu-bar as a popup menu instead of using tmm.
409 * mouse.el (popup-menu): Accept `point' as `position' argument.
410
c28662a8
DG
4112012-07-20 Dmitry Gutov <dgutov@yandex.ru>
412
413 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
414 up inside string symbol literal (bug#11923).
415
87ab808f
EZ
4162012-07-20 Eli Zaretskii <eliz@gnu.org>
417
418 * startup.el (fancy-startup-text): Read the whole tutorial, not
419 just its first 256 bytes. Prevents gibberish in display of the
420 tutorial title.
421
89dea803
DA
4222012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
423
424 Drop idle buffer compaction due to an absence of the
425 proved efficiency.
426 * compact.el: Remove.
427
8a4e6db8
SS
4282012-07-19 Sam Steingold <sds@gnu.org>
429
430 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
431 vc-bzr-pull & vc-bzr-merge-branch.
432 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
433 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
434 for consistency with compilation-error-regexp-alist.
435 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
436 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
437 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
438 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
439
5db81e33
SM
4402012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * emacs-lisp/chart.el: Use lexical-binding.
443 (chart-emacs-storage): Don't hardcode the list of entries.
444
5b835e1d
DA
4452012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
446
447 Next round of tweaks caused by Fgarbage_collect changes.
448 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
449
9cd47b72
DA
4502012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
451
452 Compact buffers when idle.
453 * compact.el: New file.
454
1d6fc0df
SM
4552012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * subr.el (eventp): Presume that if it looks vaguely like an event,
458 it's an event (bug#10190).
459
1d29cc7d
FEG
4602012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
461
462 Enhancements to ppss related code (thanks Stefan).
463 * progmodes/python.el (python-indent-context)
464 (python-indent-calculate-indentation, python-indent-dedent-line)
465 (python-indent-electric-colon, python-nav-forward-block)
466 (python-mode-abbrev-table)
1d6fc0df 467 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
468 for ppss context.
469 (python-info-continuation-line-p): Cleanup.
470 (python-info-ppss-context): Do not catch 'quote.
471 (python-info-ppss-context-type)
472 (python-info-ppss-comment-or-string-p): Simplify.
473
d583cbe6
FEG
4742012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
475
476 * progmodes/python.el: Enhancements to eldoc support.
477 (python-info-current-symbol): New function.
478 (python-eldoc-at-point): Use python-info-current-symbol.
479 (python-info-current-defun): Fix cornercase on first defun scan.
480 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
481 and signal error when no inferior python process is available.
482
eceb6feb
DG
4832012-07-18 Dmitry Gutov <dgutov@yandex.ru>
484
485 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
486 assume it's always t.
487 (vc-git-registered): Remove caching, the function is only called
488 once.
489 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
490
4c8ff0fe
CY
4912012-07-18 Chong Yidong <cyd@gnu.org>
492
19fb7186
CY
493 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
494
9587c688
CY
495 * simple.el (count-words): Report on narrowing (Bug#9959).
496
0fe776a1
CY
497 * bindings.el: Bind M-= to count-words.
498
4c8ff0fe
CY
499 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
500
7f5331cc
MY
5012012-07-18 Masatake YAMATO <yamato@redhat.com>
502
503 * progmodes/sh-script.el (sh-imenu-generic-expression):
504 Capture a function with `function' keyword and without parentheses
505 like "function FOO" (bug#11856).
506
2dc2a609
TH
5072012-07-18 Tassilo Horn <tassilo@member.fsf.org>
508
509 * window.el (split-window-sensibly): Make WINDOW argument
510 optional.
511
439f7677
CY
5122012-07-18 Chong Yidong <cyd@gnu.org>
513
9aeb25a6
CY
514 * subr.el (keyboard-translate): Doc fix (Bug#7261).
515
439f7677
CY
516 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
517 and make C-x 8 RET exit isearch (Bug#11439).
518
519 * international/iso-transl.el: Move isearch-mode-map key
520 definitions to isearch.el.
521
12999ea8
SM
5222012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
525 (eieio-defclass): Use gv-define-setter when possible.
526
3ab6e069
DA
5272012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
528
529 Reflect recent changes in Fgarbage_collect.
530 * emacs-lisp/chart.el (chart-emacs-storage): Change to
531 reflect new format of data returned by Fgarbage_collect.
532
0a60bc10
FEG
5332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
534
535 New utility functions + python-info-ppss-context fix (Bug#11910).
536 * progmodes/python.el (python-info-beginning-of-block-statement-p)
537 (python-info-ppss-comment-or-string-p): New functions.
538 (python-info-ppss-context): Small fix for string check.
539
6dafa0d5
JL
5402012-07-17 Juri Linkov <juri@jurta.org>
541
542 * dired-aux.el (dired-do-async-shell-command): Doc fix.
543 (dired-do-async-shell-command): Don't add `*' at the end of the
544 command (Bug#11815).
545 (dired-do-shell-command): Doc fix.
546 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
547 Join the individual commands using either "&" or ";" as the
548 separator depending on the values of these trailing characters.
549 At the end re-add the trailing "&". (Bug#10598)
550
551 * simple.el (async-shell-command): Sync the interactive spec with
552 `shell-command'. Doc fix.
553 (shell-command): Doc fix.
554
b19dd9d1
JL
5552012-07-17 Juri Linkov <juri@jurta.org>
556
557 * descr-text.el (describe-char): Fix format args. (Bug#10129)
558
bcdc27d7 5592012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 560
bcdc27d7 561 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
562 * progmodes/python.el (python-nav-beginning-of-statement):
563 Rename from python-nav-statement-start.
bcdc27d7
FEG
564 (python-nav-end-of-statement): Rename from
565 python-nav-statement-end.
566 (python-nav-beginning-of-block): Rename from
567 python-nav-block-start.
568 (python-nav-end-of-block): Rename from python-nav-block-end.
569
191da00e
FEG
5702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
571
7f5331cc
MY
572 * progmodes/python.el (python-shell-send-string-no-output):
573 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
574 future interactions (Bug#11868).
575
4dc7c8d5 5762012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 577
88ecaf8f
SM
578 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
579
ef501ef0
SM
580 * emacs-lisp/elint.el (elint-find-args-in-code):
581 Use help-function-arglist, so as to handle lexical byte-code.
582
aa7aaf8f
SM
583 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
584 change (bug#11826).
585
45fd731c
SM
5862012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
587
2143fa32
SM
588 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
589 Avoid spuriously marking the buffer as modified because of c-is-sws.
590
efc26dbe
SM
591 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
592 as not-a-comment (bug#11946).
593
f5695c9a
SM
594 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
595 for uninterned vars.
596
597 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
598 Use read-event since we don't really want to read chars but bytes.
599
45fd731c
SM
600 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
601 $$..$$ but also $..$ using regexps (bug#11953).
602 Use tex-verbatim for \url and \path.
603 (tex-font-lock-keywords): Define as defconst like the others.
604 (tex-common-initialization): Don't use font-lock-syntax-table any more.
605
ddfc8813
RK
6062012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
607
608 * international/mule-cmds.el (ucs-insert): Make it an obsolete
609 alias for insert-char.
610
758e556a
FEG
6112012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
612
613 * progmodes/python.el: Simplified imenu implementation.
614 (python-nav-jump-to-defun): Remove command.
615 (python-mode-map): Use `imenu' instead.
616 (python-nav-list-defun-positions-cache)
617 (python-imenu-include-defun-type, python-imenu-make-tree)
618 (python-imenu-subtree-root-label, python-imenu-index-alist):
619 Remove vars.
620 (python-nav-list-defun-positions, python-nav-read-defun)
621 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
622 (python-imenu-make-tree, python-imenu-create-index):
623 Remove functions.
758e556a
FEG
624 (python-mode): Update to interact with imenu by setting
625 `imenu-extract-index-name-function' only.
626
032d23ab
FEG
6272012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
628
629 * progmodes/python.el: Enhancements to navigation commands.
630 (python-nav-backward-sentence)
631 (python-nav-forward-sentence): Remove.
632 (python-nav-backward-statement, python-nav-forward-statement)
633 (python-nav-statement-start, python-nav-statement-end)
634 (python-nav-backward-block, python-nav-forward-block)
635 (python-nav-block-start, python-nav-block-end)
636 (python-nav-forward-sexp-function)
637 (python-info-current-line-comment-p)
638 (python-info-current-line-empty-p): New functions.
639 (python-indent-context): Use `python-nav-statement-start'.
640
01795a1b
MA
6412012-07-16 Michael Albinus <michael.albinus@gmx.de>
642
9328d9aa
MA
643 * eshell/em-ls.el (eshell/ls): Use `apply'.
644
645 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
646 multi-hops, instead of Tramp internals.
647
01795a1b
MA
648 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
649
650 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
651 when F1 and F2 are located on different hosts.
652
63408057
CY
6532012-07-14 Chong Yidong <cyd@gnu.org>
654
655 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
656 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
657 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
658 (xterm-mouse--read-event-sequence-1000)
659 (xterm-mouse--read-event-sequence-1006): New functions. For old
660 mouse protocol, handle M-mouse-X events correctly.
661 (xterm-mouse-event): New arg specifying mouse protocol.
662 (turn-on-xterm-mouse-tracking-on-terminal)
663 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
664 sequence to toggle extended coordinates on newer XTerms.
665 This appears to be harmless on terminals which do not support this.
63408057 666
cd276f6e
LL
6672012-07-14 Leo Liu <sdl.web@gmail.com>
668
28ca98ac
LL
669 Add fringe bitmap indicators for flymake. (Bug#11253)
670 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
671 (flymake-make-overlay): New arg BITMAP.
672 (flymake-error-bitmap, flymake-warning-bitmap)
673 (flymake-fringe-indicator-position): New user variables.
674
cd276f6e
LL
675 * fringe.el: New bitmap exclamation-mark.
676
04408072
JD
6772012-07-14 Jan Djärv <jan.h.d@swipnet.se>
678
679 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
680 also (Bug#7879).
681
b5cf7fc4
CY
6822012-07-14 Chong Yidong <cyd@gnu.org>
683
684 * electric.el (electric-pair-post-self-insert-function): Fix pair
685 insertion in empty-region case (Bug#11520).
686
be755c79
RT
6872012-07-14 Chong Yidong <cyd@gnu.org>
688
45fd731c
SM
689 * bindings.el: Consolidate ctl-x-r-map bindings.
690 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
691
692 * rect.el, register.el: Move bindings to bindings.el.
693
6942012-07-14 Reuben Thomas <rrt@sc3d.org>
695
696 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
697
7f5b3198
AS
6982012-07-13 Andreas Schwab <schwab@linux-m68k.org>
699
700 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
701
97662200
JB
7022012-07-13 Juanma Barranquero <lekktu@gmail.com>
703
80185fed
JB
704 * bindings.el (top): Use `mapc' instead of `mapcar'.
705
97662200
JB
706 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
707
2bb1ae55
MA
7082012-07-13 Michael Albinus <michael.albinus@gmx.de>
709
710 * progmodes/sql.el (sql-comint): Suppress the check for program on
711 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
712 (Bug#11908)
713
dea31bd3
CY
7142012-07-13 Chong Yidong <cyd@gnu.org>
715
716 * bindings.el: Assign a non-nil permanent-local property to
717 per-buffer variables which lack a default value (Bug#11930).
718
719 * help-fns.el (describe-variable): In the "automatically becomes
720 local" notice, take note of permanent-local variables.
721
b68b3337
CY
7222012-07-13 Chong Yidong <cyd@gnu.org>
723
724 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
725 to allow printing the message when called from Lisp.
726
727 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
728 Remove toggle-read-only.
729
730 * bs.el (bs-toggle-readonly):
45fd731c
SM
731 * buff-menu.el (Buffer-menu-toggle-read-only):
732 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
733
734 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
735 Remove with-no-warnings around toggle-read-only.
736 (ffap-read-only, ffap-read-only-other-window)
737 (ffap-read-only-other-frame): Callers changed.
738
739 * help-mode.el: Don't require view package.
740 (help-mode-finish): Set buffer-read-only instead of calling
741 toggle-read-only.
742
743 * bindings.el (mode-line-toggle-read-only):
744 * dired.el (dired-toggle-read-only):
745 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
746 with non-nil second arg.
747
748 * emacs-lisp/eieio-custom.el (eieio-customize-object):
749 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
750 directly.
751
56bc1586
EZ
7522012-07-12 Eli Zaretskii <eliz@gnu.org>
753
754 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
755 not incf.
756
a464a6c7
SM
7572012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 More CL cleanups and reduction of use of cl.el.
760 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
761 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
762 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
763 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
764 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
765 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
766 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
767 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
768 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
769 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
770 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
771 * eshell/em-cmpl.el, eshell/em-banner.el:
772 * calendar/parse-time.el: Use cl-lib.
773 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
774 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
775 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
776 * term/ns-win.el, term.el, shell.el, ps-samp.el:
777 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
778 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
779 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
780 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
781 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
782 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
783 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
784 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
785 `lambda' rather than with `quote'.
786 (eshell-do-opt): Adjust accordingly.
787 (eshell-process-option): Simplify.
788 * eshell/esh-var.el:
789 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
790 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
791 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
792 to `pcase--dontcare'.
793 * emacs-lisp/cl.el (labels): Mark obsolete.
794 (cl--letf, letf): Move to cl-lib.
795 (cl--letf*, letf*): Remove.
796 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
797 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
798 (cl-progv): Rewrite.
799 (cl--letf, cl-letf): Move from cl.el.
800 (cl-letf*): New macro.
801 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
802
7ad4afe1
MA
8032012-07-11 Michael Albinus <michael.albinus@gmx.de>
804
805 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
806
9af57756
CY
8072012-07-11 Chong Yidong <cyd@gnu.org>
808
809 * vc/log-edit.el (log-edit-vc-backend): New variable.
810 (log-edit): Doc fix.
811
812 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
813 argument of log-edit to set up all local variables.
814 (vc-start-logentry): New optional arg specifying VC backend.
815
816 * vc/vc.el (vc-checkin): Use it.
817 (vc-deduce-fileset): Handle Log Edit buffers.
818 (vc-diff): Make first argument optional too.
819
820 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
821
8477cc7a
MA
8222012-07-10 Michael Albinus <michael.albinus@gmx.de>
823
824 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
825 command, just in case. The function is not needed anymore.
826 (eshell-external-command): Do not call `eshell-remote-command'.
827
19faa8e8
SM
8282012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
829
f58e0fd5
SM
830 Reduce use of (require 'cl).
831 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
832 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
833 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
834 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
835 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
836 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
837 * battery.el, avoid.el, abbrev.el: Use cl-lib.
838 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
839 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
840 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
841 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
842 * calculator.el, autorevert.el, apropos.el: Don't require CL.
843 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
844 (byte-compile-unfold-bcf, byte-compile-check-variable):
845 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
846 (byte-compile-nilconstp):
847 * emacs-lisp/autoload.el (make-autoload): Use pcase.
848 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
849
2519d43a
SM
850 * emacs-lisp/gv.el (cond): Make it a valid place.
851 (if): Simplify slightly.
852
19faa8e8
SM
853 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
854 (pcase--self-quoting-p): New function.
855 (pcase--u1): Use it.
856
c4907a5e
GM
8572012-07-10 Glenn Morris <rgm@gnu.org>
858
859 * emacs-lisp/authors.el (authors-fixed-entries):
860 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
861
c4444d16
PE
8622012-07-09 Paul Eggert <eggert@cs.ucla.edu>
863
864 Rename configure.in to configure.ac (Bug#11603).
865 * emacs-lisp/authors.el (authors-canonical-file-name):
866 * progmodes/autoconf.el (autoconf-mode):
867 Prefer configure.ac to configure.in.
868
d75be97d
CY
8692012-07-08 Chong Yidong <cyd@gnu.org>
870
01ac65bd
CY
871 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
872 Implement the mouse-1-click-follows-link handling properly.
873
874 * info.el (Info-link-keymap): Use follow-link mechanism for
875 header-line links (Bug#374).
876
d75be97d
CY
877 * simple.el (deactivate-mark): Do not set the primary selection
878 if another program has acquired it (Bug#11772).
879
87a92845 8802012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
881
882 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
883 (woman-decode-region): Replace escaped-escapes without destroying
884 bold or underline (Bug#11552).
87a92845 885 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 886
621b9d6c
CY
8872012-07-07 Chong Yidong <cyd@gnu.org>
888
889 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
890 (interprogram-cut-function, interprogram-paste-function):
891 Mention that we typically mean the clipboard.
621b9d6c 892
133a11fc
GM
8932012-07-06 Glenn Morris <rgm@gnu.org>
894
0d27a45e
GM
895 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
896
133a11fc
GM
897 * files.el (toggle-read-only): Restrict message to interactive use.
898
07b151f1
MA
8992012-07-06 Michael Albinus <michael.albinus@gmx.de>
900
901 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
902
903 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
904
211b896b
GM
9052012-07-06 Glenn Morris <rgm@gnu.org>
906
50394322
GM
907 * Makefile.in (compile-one-process): Rename from "recompile".
908
211b896b
GM
909 * Makefile.in (bzr-update): "compile" is the same as "recompile
910 autoloads", but parallelizable, so use that instead.
911
4737eec9
DG
9122012-07-06 Dmitry Gutov <dgutov@yandex.ru>
913
914 * window.el (quit-window): Always restore window height when
8137e7b3 915 it's saved in quit-restore parameter (Bug#11810).
4737eec9 916
226c3633 9172012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
918
919 * simple.el (kill-whole-line): Doc tweak.
920
226c3633 9212012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
922
923 * files.el (file-relative-name): Compare file names
924 case-insensitively if on MS-Windows or MS-DOS, or if
925 read-file-name-completion-ignore-case is non-nil. Don't use
926 case-fold-search for this purpose. (Bug#11827)
927
4dc7c8d5
SM
9282012-07-17 Andreas Schwab <schwab@linux-m68k.org>
929
930 * calendar/cal-dst.el (calendar-current-time-zone):
931 Return calendar-current-time-zone-cache if non-nil.
932
9332012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 9342012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 935
19faa8e8
SM
936 * calendar/cal-dst.el (calendar-current-time-zone):
937 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 938
60198fc9
GM
9392012-07-06 Glenn Morris <rgm@gnu.org>
940
941 * Makefile.in (cvs-update): Remove old alias.
942
957b3189
MA
9432012-07-05 Michael Albinus <michael.albinus@gmx.de>
944
945 Sync with Tramp 2.2.6-pre.
946
947 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
948 compatible declaration.
949
19faa8e8
SM
950 * net/tramp-cmds.el (tramp-append-tramp-buffers):
951 Protect `list-load-path-shadows' call.
957b3189
MA
952
953 * net/tramp-compat.el (top): Require packages, which aren't
954 autoloaded anymore for XEmacs. Protect call of
955 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
956 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
957 it hurts at least for SXEmacs.
958 (tramp-compat-temporary-file-directory): In XEmacs, there is no
959 standard-value for `temporary-file-directory'.
960
961 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
962 Redirect stderr to /dev/null.
963 (tramp-sh-handle-write-region): uid and gid can be floats.
964 Reported by Russell Sim <russell.sim@gmail.com>.
965 (tramp-sh-handle-vc-registered): Hide errors.
966 (tramp-vc-file-name-handler): Use dummy results for `process-file'
967 and `start-file-process'.
968 (tramp-maybe-open-connection): Check also whether `non-essential'
969 is bound.
970
566df3fc
CY
9712012-07-04 Chong Yidong <cyd@gnu.org>
972
973 * xml.el (xml--parse-buffer): Use xml-syntax-table.
974 (xml-parse-tag): Likewise, and avoid changing entity tables.
975 (xml-syntax-table): Define from scratch, making sure not to give
976 x2000 and other Unicode spaces whitespace syntax, since those are
977 not spaces in XML.
978 (xml-parse-fragment): Delete unused function.
979 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
980 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
981 (xml-entity-ref, xml-pe-reference-re)
982 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
983 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
984 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
985 (xml-entity-value-re): Use syntax references in regexps where
986 possible; no need to define inside a let-binding.
987 (xml-parse-dtd): Use xml-pe-reference-re.
988 (xml-entity-or-char-ref-re): New defconst.
989 (xml-parse-string, xml-substitute-special): Use it.
990
30eabd7a
SM
9912012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
992
0781098a
SM
993 * files.el (locate-dominating-file): Allow `name' to be a predicate.
994 (find-file--read-only): New function.
995 (find-file-read-only, find-file-read-only-other-window)
996 (find-file-read-only-other-frame): Use it.
997 (insert-file-contents-literally): Don't `fset'.
998 (get-free-disk-space): Use locate-dominating-file.
999
b5771c0d
SM
1000 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1001 function is already compiled.
1002
30eabd7a
SM
1003 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1004
b4886f6e
MA
10052012-07-03 Michael Albinus <michael.albinus@gmx.de>
1006
1007 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1008 files on the same host.
1009
b9d82339
AS
10102012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1011
1012 * help-fns.el (describe-function-1): Only call
1013 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1014
a76e6535
CY
10152012-07-03 Chong Yidong <cyd@gnu.org>
1016
1017 * xml.el: Protect parser against XML bombs.
1018 (xml-entity-expansion-limit): New variable.
1019 (xml-parse-string, xml-substitute-special): Use it.
1020 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1021
b544fef2
GM
10222012-07-03 Glenn Morris <rgm@gnu.org>
1023
1024 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1025 Allow linking to specific messages in debbugs reports (eg 123#5).
1026
a7aef6f5
CY
10272012-07-02 Chong Yidong <cyd@gnu.org>
1028
1029 * xml.el: Fix entity and character reference expansion, allowing
1030 them to expand into markup as per XML spec.
1031 (xml-default-ns): New variable.
1032 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1033 (xml-parse-region): Make first two arguments optional.
1034 Discard text properties.
1035 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1036 All callers changed.
a7aef6f5
CY
1037 (xml-parse-tag): Call xml-parse-tag-1. For backward
1038 compatibility, this function should not modify buffer contents.
1039 (xml-parse-tag-1): Fix opening-tag regexp.
1040 (xml-parse-string): Rewrite, handling entity and character
1041 references properly.
1042 (xml--entity-replacement-text): Signal an error if a parameter
1043 entity is undefined.
1044
3df31c9f
SM
10452012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1046
2b5208f1
SM
1047 * comint.el (comint-output-filter): Filter out repeated prompts.
1048
3df31c9f
SM
1049 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1050 and file-name-absolute-p.
1051 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1052 internal calls.
1053
e3ac1281
PE
10542012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1055
1056 Spelling fixes.
1057 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1058 Rename from byte-compile--refiy-function. All uses changed.
1059
fbf2e7ad
CY
10602012-07-01 Chong Yidong <cyd@gnu.org>
1061
1062 * xml.el (xml--parse-buffer): New function. Move most of
1063 xml-parse-region here.
1064 (xml-parse-region): Copy region into a temporary buffer, since
1065 parameter entity substitution requires changing buffer contents.
1066 Use xml--parse-buffer.
1067 (xml-parse-file): Use xml--parse-buffer.
1068 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1069 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1070
9bf0aa15
GM
10712012-06-30 Glenn Morris <rgm@gnu.org>
1072
bbce2853
GM
1073 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1074
9bf0aa15
GM
1075 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1076 Remove outdated and unnecessary dbus declarations.
1077
0d23c240
EZ
10782012-06-30 Eli Zaretskii <eliz@gnu.org>
1079
1080 * emacs-lisp/timer.el (timer-until): Subtract results of
1081 float-time, instead of taking float-time of the result of
1082 time-subtract, since float-time signals an error for negative time
1083 arguments.
1084
b3218de1
CY
10852012-06-30 Chong Yidong <cyd@gnu.org>
1086
1087 * xml.el (xml-*-re): Convert defvars into defconsts, and
1088 eval-and-compile them so eval-and-compile works on derivatives.
1089 (xml--entity-replacement-text): Use eval-and-comple.
1090
a40c87a0
MA
10912012-06-30 Michael Albinus <michael.albinus@gmx.de>
1092
1093 * vc/vc-git.el (vc-git-registered): Use cache property
1094 `git-registered'.
1095 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1096 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1097 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1098
ac87de97
DG
10992012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1100
1101 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1102 removed (likely outside Emacs). (Bug#11757)
ac87de97 1103
ac10fe06
SM
11042012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1105
3df31c9f 1106 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1107
7f3fbd5d
CY
11082012-06-30 Chong Yidong <cyd@gnu.org>
1109
1110 * xml.el: Implement XML parameter entities.
1111 (xml-parameter-entity-alist): New variable.
1112 (xml-parse-region, xml-parse-fragment): Preserve previous values
1113 of xml-entity-alist and xml-parameter-entity-alist, so that
1114 repeated calls on different documents do not change them.
1115 (xml-parse-tag): Fix doctype regexp.
1116 (xml--entity-replacement-text): New function.
1117 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1118 properly requires url retrieval which is unimplemented.
1119 (xml-escape-string): Doc fix.
1120
3cfbebba
SM
11212012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1124
2af3565e
DA
11252012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1126
1127 * fringe.el (fringe-mode): Doc fix.
1128
929df0e7
MA
11292012-06-29 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1132 is non-nil.
1133 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1134 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1135
c8d3a25c 11362012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1137
c8d3a25c
GM
1138 * calendar/cal-dst.el (calendar-current-time-zone):
1139 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1140
c8d3a25c 11412012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1142
1143 * progmodes/which-func.el (which-func-format):
1144 Add mouse-face. (Bug#11698)
1145
c8d3a25c
GM
11462012-06-29 Leo Liu <sdl.web@gmail.com>
1147
1148 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1149
11502012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * minibuffer.el (minibuffer-confirm-exit-commands):
1153 Add completion-at-point (bug#11725).
1154
11552012-06-29 Glenn Morris <rgm@gnu.org>
1156
1157 * progmodes/f90.el (f90-font-lock-keywords-2):
1158 Add some preprocessor elements. (Bug#10499)
1159
11602012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1163 Use syntax-propertize (bug#11739).
1164
2badeec4
JB
11652012-06-28 Juanma Barranquero <lekktu@gmail.com>
1166
1167 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1168
ae4969c2
JD
11692012-06-28 Julien Danjou <julien@danjou.info>
1170
1171 * term.el (term-handle-colors-array): Use a set of new faces to
1172 color the terminal. Also uses :inverse-video property.
1173 (term-default-fg-color): Set to nil by default, deprecate in favor
1174 of `term-face'.
1175 (term-default-bg-color): Set to nil by default, deprecate in favor
1176 of `term-face'.
1177 (term-current-face): Use `term-face' by default.
1178 (term-bold-attribute): Variable deleted.
1179
1c9bd870
GM
11802012-06-28 Glenn Morris <rgm@gnu.org>
1181
1182 * simple.el (completion-list-mode-finish):
1183 Don't use toggle-read-only. (Since completion-list-mode has
1184 a special mode-class, it wasn't doing anything extra anyway.)
1185
c207708c
SM
11862012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 Make inlining of other-mode interpreted functions work (bug#11799).
1189 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1190 (byte-compile): Use it to fix compilation of lexical-binding closures.
1191 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1192 function, if needed.
1193
3fd56834
SM
11942012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1195
04901786
SM
1196 * help-mode.el (help-make-xrefs): Don't just withstand
1197 cyclic-variable-indirection but any error in documentation-property.
1198
1ec4b7b2
SM
1199 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1200 memory use.
1201 * bindings.el (bindings--define-key): New function.
1202 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1203 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1204 * bindings.el: Use it to purecopy define-key bindings.
1205
e309e2a5
SM
1206 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1207
d5c6faf9
SM
1208 * emacs-lisp/cl.el (flet): Mark obsolete.
1209 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1210 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1211 * progmodes/js.el (js-c-fill-paragraph):
1212 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1213 (ebrowse-switch-member-buffer-to-derived-class):
1214 * play/5x5.el (5x5-solver): Use cl-flet.
1215
6e9590e2
SM
1216 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1217 (cl--symbol-function): New macro.
1218 (cl--letf, cl--letf*): Use it.
1219
3fd56834
SM
1220 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1221 Strip "toggle-" if any.
1222
35ff222c
GM
12232012-06-27 Glenn Morris <rgm@gnu.org>
1224
1ba6038a
GM
1225 * info.el (Info-default-directory-list): Move here from paths.el.
1226 * paths.el: Remove file, which is now empty.
1227 * loadup.el: No longer load "paths".
1228
0ea0e51b
GM
1229 * custom.el (custom-initialize-delay): Doc fix.
1230
35ff222c
GM
1231 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1232 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1233 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1234 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1235 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1236 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1237 * eshell/eshell.el (eshell-defgroup): Remove alias.
1238
c89926a5
CY
12392012-06-27 Chong Yidong <cyd@gnu.org>
1240
1241 * help.el (help-enable-auto-load): New variable.
1242
1243 * help-fns.el (help-fns--autoloaded-p): New function.
1244 (describe-function-1): Refer to a function as "autoloaded" if it
1245 was autoloaded at any time in the past. Perform autoloading if
1246 help-enable-auto-load is non-nil.
1247
cc06e7e7
EZ
12482012-06-26 Eli Zaretskii <eliz@gnu.org>
1249
1250 * makefile.w32-in (compile, compile-always): Depend on
1251 update-subdirs, not on subdirs.el. Otherwise, several different
1252 sub-targets of 'bootstrap' running in parallel could
1253 simultaneously write to subdirs.el, producing a garbled file.
1254
d2c32364
SS
12552012-06-26 Sam Steingold <sds@gnu.org>
1256
1257 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1258 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1259 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1260 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1261 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1262 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1263 * textmodes/tex-mode.el: Use it.
1264 Did not touch cedet and org because they are maintained elsewhere.
1265
5cf983b2
MR
12662012-06-26 Martin Rudalics <rudalics@gmx.at>
1267
1268 * calendar/calendar.el (calendar-exit): Don't try to delete or
1269 iconify last frame. See:
1270 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1271
8c4f2952
JD
12722012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1273
1274 * server.el (server-process-filter): Remember dir in the
1275 process's `server-client-directory' properties.
1276
772b2e2c
CY
12772012-06-24 Chong Yidong <cyd@gnu.org>
1278
1279 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1280 non-tag text.
1281
711b11e1
JB
12822012-06-23 Juanma Barranquero <lekktu@gmail.com>
1283
1284 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1285
dc5d230c
SM
12862012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * help-fns.el (describe-variable): Don't croak when doc is not found.
1289 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1290 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1291 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1292 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1293 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1294 ((lambda ..) ..).
1295 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1296
136e1c1d
CY
12972012-06-23 Chong Yidong <cyd@gnu.org>
1298
e8c1cabf
CY
1299 * info.el (Info-mouse-follow-link): Accept symbol values of
1300 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1301 (Info-fontify-node): Use Info-link-keymap for all navigation
1302 buttons, with link-args property to perform the desired action.
1303 (Info-link-keymap): Doc fix.
1304 (Info-next-link-keymap, Info-prev-link-keymap)
1305 (Info-up-link-keymap): Delete now-unused keymaps.
1306
0e9e6c6a
CY
13072012-06-23 Chong Yidong <cyd@gnu.org>
1308
05e89fea
CY
1309 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1310
0e9e6c6a
CY
1311 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1312 system abbrevs.
1313
1314 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1315
e33c6771
SM
13162012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1317
b68581e2
SM
1318 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1319 (bug#11719).
1320
e33c6771
SM
1321 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1322 the requote function doesn't work properly (bug#11714).
1323
7117e105
GM
13242012-06-23 Glenn Morris <rgm@gnu.org>
1325
1326 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1327
36cec983
SM
13282012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 Further GV/CL cleanups.
1331 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1332 gv-expander.
1333 (gv--defun-declaration): New function.
1334 (defun-declarations-alist): Use it.
1335 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1336 (gv-place): Autoload.
1337 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1338 original definition of dotimes and dolist.
1339 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1340 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1341 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1342 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1343 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1344 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1345 to the function's definition.
1346 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1347 * window.el:
1348 * files.el:
1349 * faces.el:
1350 * env.el: Don't use CL.
1351
d35af63c
PE
13522012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1353
1354 Support higher-resolution time stamps (Bug#9000).
1355
1356 * calendar/time-date.el (with-decoded-time-value): New arg
1357 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1358 (encode-time-value): New optional arg PICO. New type 3.
1359 (time-to-seconds) [!float-time]: Support the new picoseconds
1360 component if it's used.
1361 (seconds-to-time, time-subtract, time-add):
1362 Support ps-resolution time stamps as well.
1363
1364 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1365 (timerp): Timer vectors now have length 9, not 8.
1366 (timer--time): Support new-style (4-part) time stamps.
1367 (timer-next-integral-multiple-of-time): Time stamps now have
1368 picosecond resolution, so take a bit more care about rounding.
1369 (timer-relative-time, timer-inc-time): New optional arg psecs.
1370 (timer-set-time-with-usecs): Set psecs to 0.
1371 (timer--activate): Check psecs component, too.
1372
1373 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1374
ac77b21a
SM
13752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1376
f143bfe3
SM
1377 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1378 Move the non-essential binding to the post/pre-command-hook where it is
1379 more obviously correct.
1380
ac77b21a
SM
1381 * subr.el (read-passwd): Don't use a history at all.
1382 * savehist.el (savehist-save): Remove password saved accidentally
1383 because of the above bug.
1384
76386c5a
BG
13852012-06-22 Bastien Guerry <bzg@gnu.org>
1386
1387 * files.el (toggle-read-only): Display a message telling whether
1388 the buffer is read-only or not (bug#11726).
1389
2ee3d7f0
SM
13902012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * emacs-lisp/gv.el: New file.
1393 * subr.el (push, pop): Extend to generalized variables.
1394 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1395 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1396 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1397 gv-define-simple-setter, and gv-define-expander.
1398 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1399 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1400 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1401 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1402 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1403 gv-letplace.
1404 (cl-defstruct): Don't define setf-method any more.
1405 * emacs-lisp/cl.el (flet): Don't autoload.
1406 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1407 (define-setf-expander, defsetf, define-modify-macro)
1408 (cl-struct-setf-expander): Move from cl-lib.el.
1409 * emacs-lisp/syntax.el:
1410 * emacs-lisp/ewoc.el:
1411 * emacs-lisp/smie.el:
1412 * emacs-lisp/cconv.el:
1413 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1414 (timer--time): Use gv-define-simple-setter.
1415 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1416 to avoid coding-system problems in subr.el. Adjust all users.
1417 (macroexp--maxsize, macroexp-small-p): New functions.
1418 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1419 * scroll-bar.el (scroll-bar-mode):
1420 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1421 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1422 * winner.el (winner-configuration, winner-make-point-alist)
1423 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1424 * files.el (locate-file-completion-table): Avoid list*.
1425
c5695d1d
CY
14262012-06-22 Chong Yidong <cyd@gnu.org>
1427
1428 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1429 (dired-create-files): Doc fix (Bug#11329).
1430 (dired-do-copy): Doc fix (Bug#11334).
1431 (dired-mark-read-string): Doc fix (Bug#11553).
1432
2ee3d7f0
SM
1433 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1434 Doc fix (Bug#11326).
c5695d1d
CY
1435 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1436 (dired-dwim-target): Doc fix.
1437
1438 * wdired.el (wdired-mode): Doc fix.
1439
89b5595a
GM
14402012-06-22 Glenn Morris <rgm@gnu.org>
1441
575db3f1
GM
1442 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1443 (pcmpl-rpm-cache-stamp-file): New constant.
1444 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1445 (pcmpl-rpm-packages): Optionally cache list of packages.
1446
a4c8dd51
GM
1447 * pcmpl-rpm.el (pcmpl-rpm): New group.
1448 (pcmpl-rpm-query-options): New option.
1449 (pcmpl-rpm-packages): No need to inline it.
1450 Use pcmpl-rpm-query-options.
1451
89b5595a
GM
1452 * calendar/calendar.el (calendar-in-read-only-buffer):
1453 Avoid some needless mode changes.
1454
e76f0800
CY
14552012-06-21 Chong Yidong <cyd@gnu.org>
1456
1457 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1458 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1459 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1460
297a8f1d
CY
14612012-06-20 Chong Yidong <cyd@gnu.org>
1462
1463 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1464
d34c18b1
DR
14652012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1466
1467 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1468 (bug#11201).
1469
32f7f28e
CY
14702012-06-20 Chong Yidong <cyd@gnu.org>
1471
1472 * term.el (term-window-width): Handle the case of a missing right
1473 fringe (Bug#8837).
1474 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1475 (term-mode): Use define-derived-mode. Minor cleanups.
1476 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1477 (term-move-columns, term-insert-char, term-emulate-terminal)
1478 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1479
493c6688
MA
14802012-06-20 Michael Albinus <michael.albinus@gmx.de>
1481
d34c18b1
DR
1482 * net/ange-ftp.el (ange-ftp-get-passwd):
1483 Bind `enable-recursive-minibuffers'.
493c6688
MA
1484 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1485
3f06ecf4
DR
14862012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1487
1488 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1489
68f12411
GM
14902012-06-19 Glenn Morris <rgm@gnu.org>
1491
1492 * progmodes/python.el (python-mode): Derive from prog-mode.
1493
b3820318
KG
14942012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1495
1496 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1497 (edt-user-menu-bar-update-buffers): New functions.
1498 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1499
c6bf3022
CY
15002012-06-19 Chong Yidong <cyd@gnu.org>
1501
1502 * subr.el (with-selected-window): Preserve the selected window's
1503 terminal's top-frame (Bug#4702).
1504
1505 * window.el (save-selected-window): Likewise.
1506
25f09295
SM
15072012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * progmodes/python.el (python-rx-constituents): Move backquote.
1510 (python-skeleton-define, python-define-auxiliary-skeleton):
1511 Use `declare'.
1512
6b11952a
MA
15132012-06-18 Michael Albinus <michael.albinus@gmx.de>
1514
1515 * minibuffer.el (read-file-name-default): Revert the patch from
1516 2012-06-17.
1517
ee4b1330
SM
15182012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1521 (pcase--u1, pcase--q1): Don't use apply-partially.
1522
35647f79
GM
15232012-06-18 Glenn Morris <rgm@gnu.org>
1524
1525 * progmodes/python.el (python-proc, python-buffer)
1526 (python-send-receive, python-send-string): Fix obsolete versions.
1527
24b0cff0
MR
15282012-06-18 Martin Rudalics <rudalics@gmx.at>
1529
1530 * window.el (special-display-p): Completely remove stringp
1531 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1532
29855149
MA
15332012-06-17 Michael Albinus <michael.albinus@gmx.de>
1534
1535 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1536
1537 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1538
1539 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1540 * net/tramp-sh.el (tramp-maybe-open-connection):
1541 Throw if `non-essential' is non-nil.
1542
07463363
MR
15432012-06-17 Martin Rudalics <rudalics@gmx.at>
1544
1545 * window.el (special-display-p): Signal an error if BUFFER-NAME
1546 is not a string (Bug#11713).
1547
48d1354e
PE
15482012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1549
1550 * progmodes/python.el (python-info-beginning-of-backslash):
1551 Rename from python-info-beginning-of-backlash, as a spelling fix.
1552
eb4a8a9a
CY
15532012-06-17 Chong Yidong <cyd@gnu.org>
1554
1555 * term.el (term-emulate-terminal): If term-check-size is called,
1556 move point to the process mark without resetting point (Bug#4635).
1557
ddfbf826 15582012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1559
1560 * international/mule-cmds.el (mule-menu-keymap)
1561 (set-language-environment, set-locale-environment): Doc tweaks.
1562
9b0e3eba
AA
15632012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1564
1565 * cus-face.el (custom-face-attributes): Add wave-style underline
1566 attribute.
1567 * faces.el (set-face-attribute): Update docstring to describe
1568 wave-style underline attribute.
1569
771e3eae
CY
15702012-06-16 Chong Yidong <cyd@gnu.org>
1571
1572 * term/xterm.el (terminal-init-xterm): Discard input before
1573 querying background mode (Bug#10959).
1574
7ae2ea10
SM
15752012-06-16 Stefan Merten <smerten@oekonux.de>
1576
1577 * textmodes/rst.el: Added and corrected some comments.
1578 (rst-re-alist-def): Improve symbol syntax.
1579 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1580 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1581 (rst-official-version, rst-official-cvs-rev): Update version
1582 information.
7ae2ea10 1583
b6974efa
JB
15842012-06-15 Juanma Barranquero <lekktu@gmail.com>
1585
1586 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1587 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1588
8826d473
GM
15892012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1590
1591 * progmodes/python.el: New python.el merge.
1592 (python-guess-indent): Obsolete var.
1593 (python-indent-guess-indent-offset): New defcustom.
1594 (python-indent): Obsolete var.
1595 (python-indent-offset): New defcustom.
1596 (python-python-command, python-jython-command): Delete var.
1597 (python-shell-interpreter): New defcustom.
1598 (python-pdbtrack-do-tracking-p): Delete var.
1599 (python-pdbtrack-activate): New defcustom.
1600 (python-use-skeletons): Obsolete var.
1601 (python-skeleton-autoinsert): New defcustom.
1602 (inferior-python-filter-regexp, python-continuation-offset)
1603 (python-honour-comment-indentation, python-indent-string-contents)
1604 (python-jython-packages, python-mode-hook)
1605 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1606 (python-shell-prompt-alist)
1607 (python-source-modes): Delete defcustoms.
1608 (python-check-buffer-name, python-eldoc-setup-code)
1609 (python-eldoc-string-code, python-ffap-setup-code)
1610 (python-ffap-string-code, python-fill-comment-function)
1611 (python-fill-decorator-function, python-fill-paren-function)
1612 (python-fill-string-function, python-imenu-include-defun-type)
1613 (python-imenu-make-tree, python-imenu-subtree-root-label)
1614 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1615 (python-shell-compilation-regexp-alist)
1616 (python-shell-completion-module-string-code)
1617 (python-shell-completion-pdb-string-code)
1618 (python-shell-completion-setup-code)
1619 (python-shell-completion-string-code)
1620 (python-shell-enable-font-lock, python-shell-exec-path)
1621 (python-shell-extra-pythonpaths)
1622 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1623 (python-shell-process-environment)
1624 (python-shell-prompt-block-regexp)
1625 (python-shell-prompt-output-regexp)
1626 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1627 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1628 (python-shell-virtualenv-path): New defcustoms.
1629 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1630 (inferior-python-mode-syntax-table, python--prompt-regexp)
1631 (python-buffer, python-command python-python-command)
1632 (python-default-template, python-imports, python-indent-index)
1633 (python-indent-list, python-indent-list-length)
1634 (python-mode-running, python-pdbtrack-is-tracking-p)
1635 (python-preoutput-continuation, python-preoutput-leftover)
1636 (python-preoutput-result, python-preoutput-skip-next-prompt)
1637 (python-prev-dir/file, python-recursing)
1638 (python-saved-check-command, python-version-checked)
1639 (python-which-func-length-limit)
1640 (view-return-to-alist): Delete vars.
1641 (python-check-custom-command, python-dotty-syntax-table)
1642 (python-imenu-index-alist, python-indent-current-level)
1643 (python-indent-dedenters, python-indent-levels)
1644 (python-nav-beginning-of-defun-regexp)
1645 (python-nav-list-defun-positions-cache)
1646 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1647 (python-shell-internal-buffer)
1648 (python-skeleton-available): New vars.
1649 (def-python-skeleton): Delete macro.
1650 (python-skeleton-define): New macro.
1651 (python-define-auxiliary-skeleton, python-rx): New macros.
1652 (python-insert-class): Delete command.
1653 (python-skeleton-class): New command.
1654 (python-insert-def): Delete command.
1655 (python-skeleton-def): New command.
1656 (python-insert-for): Delete command.
1657 (python-skeleton-for): New command.
1658 (python-insert-if): Delete command.
1659 (python-skeleton-if): New command.
1660 (python-insert-try/except, python-insert-try/finally): Delete commands.
1661 (python-skeleton-try): New command.
1662 (python-insert-while): Delete command.
1663 (python-skeleton-while): New command.
1664 (python-backspace): Delete command.
1665 (python-indent-dedent-line-backspace): New command.
1666 (python-electric-colon): Delete command.
1667 (python-indent-electric-colon): New command.
1668 (python-guess-indent): Delete command.
1669 (python-indent-guess-indent-offset): New command.
1670 (python-shift-left): Delete command.
1671 (python-indent-shift-left): New command.
1672 (python-shift-right): Delete command.
1673 (python-indent-shift-right): New command.
1674 (python-find-function): Delete command.
1675 (python-nav-jump-to-defun): New command.
1676 (python-next-statement): Delete command.
1677 (python-nav-forward-sentence): New command.
1678 (python-previous-statement): Delete command.
1679 (python-nav-backward-sentence): New command.
1680 (python-fill-paragraph): Delete command.
1681 (python-fill-paragraph-function): New command.
1682 (python-send-buffer): Delete command.
1683 (python-shell-send-buffer): New command.
1684 (python-send-defun): Delete command.
1685 (python-shell-send-defun): New command.
1686 (python-send-region, python-send-region-and-go): Delete commands.
1687 (python-shell-send-region)
1688 (python-shell-switch-to-shell): New commands.
1689 (python-send-string): Delete command.
1690 (python-shell-send-string): New command.
1691 (python-switch-to-python): Delete command.
1692 (python-shell-switch-to-shell): New command.
1693 (python-describe-symbol): Delete command.
1694 (python-eldoc-at-point): New command.
1695 (python--set-prompt-regexp, python-args-to-list)
1696 (python-after-info-look, python-check-version)
1697 (python-check-comint-prompt, python-find-imports)
1698 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1699 (python-unload-function, python-expand-template)
1700 (python-maybe-jython, python-preoutput-filter)
1701 (python-pdbtrack-get-source-buffer)
1702 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1703 (python-pdbtrack-toggle-stack-tracking)
1704 (python-pdbtrack-track-stack-file, python-initial-text)
1705 (python-first-word, python-comment-line-p, python-send-command)
1706 (python-setup-brm, python-sentinel, python-set-proc)
1707 (python-skip-out, python-input-filter, python-outdent-p)
1708 (python-outline-level, python-backslash-continuation-line-p)
1709 (python-end-of-block, python-end-of-statement, python-mark-block)
1710 (python-beginning-of-block, python-beginning-of-statement)
1711 (python-blank-line-p, python-beginning-of-string)
1712 (python-open-block-statement-p): Delete functions.
1713 (python-indent-line, python-indent-line-1): Delete functions.
1714 (python-indent-line): New function.
1715 (python-indentation-levels): Delete function.
1716 (python-indent-calculate-levels): New function.
1717 (python-proc): Delete function.
1718 (python-shell-get-process): New function.
1719 (python-send-receive): Delete function.
1720 (python-shell-send-string-no-output): New function.
1721 (python-module-path): Delete function.
1722 (python-ffap-module-path): New function.
1723 (python-completion-at-point)
1724 (python-symbol-completions): Delete functions.
1725 (python-completion-complete-at-point): New function.
1726 (python-load-file): Delete function.
1727 (python-shell-send-file): New function.
1728 (python-calculate-indentation): Delete function.
1729 (python-indent-calculate-indentation): New function.
1730 (python-skip-comments/blanks): Delete function.
1731 (python-util-forward-comment): New function.
1732 (python-continuation-line-p): Delete function.
1733 (python-info-continuation-line-p): New function.
1734 (python-which-func, python-current-defun): Delete function.
1735 (python-info-current-defun): New function.
1736 (python-beginning-of-defun): Delete function.
1737 (python-nav-beginning-of-defun): New function.
1738 (python-close-block-statement-p)
1739 (python-block-end-p): Delete function.
1740 (python-info-closing-block): New function.
1741 (python-comint-output-filter-function)
1742 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1743 (python-fill-comment, python-fill-decorator, python-fill-paren)
1744 (python-fill-string, python-imenu-make-element-tree)
1745 (python-imenu-make-tree, python-imenu-tree-assoc)
1746 (python-indent-context, python-indent-dedent-line)
1747 (python-indent-line-function)
1748 (python-indent-post-self-insert-function)
1749 (python-indent-toggle-levels)
1750 (python-info-assignment-continuation-line-p)
1751 (python-info-beginning-of-backlash)
1752 (python-info-block-continuation-line-p)
1753 (python-info-closing-block-message)
1754 (python-info-line-ends-backslash-p)
1755 (python-info-looking-at-beginning-of-defun)
1756 (python-info-ppss-context, python-info-ppss-context-type)
1757 (python-nav-list-defun-positions, python-nav-read-defun)
1758 (python-nav-sentence-end, python-nav-sentence-start)
1759 (python-pdbtrack-comint-output-filter-function)
1760 (python-pdbtrack-set-tracked-buffer)
1761 (python-shell-calculate-exec-path)
1762 (python-shell-calculate-process-environment)
1763 (python-shell-completion--do-completion-at-point)
1764 (python-shell-completion--get-completions)
1765 (python-shell-completion-complete-at-point)
1766 (python-shell-completion-complete-or-indent)
1767 (python-shell-get-or-create-process)
1768 (python-shell-get-process-name)
1769 (python-shell-internal-get-or-create-process)
1770 (python-shell-internal-get-process-name)
1771 (python-shell-internal-send-string, python-shell-make-comint)
1772 (python-shell-parse-command, python-shell-send-setup-code)
1773 (python-skeleton-add-menu-items)
1774 (python-util-clone-local-variables, python-util-position)
1775 (run-python-internal, python-indentation-levels)
1776 (python-nav-beginning-of-defun)
1777 (python-completion-complete-at-point): New functions.
1778 (run-python): Change arguments. New API requirements.
1779
4302f5ba
SM
17802012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1781
f38ea36d
SM
1782 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1783 (bug#11649).
1784
1785 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1786 (macroexp--expand-all): Use it.
1787
4302f5ba
SM
1788 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1789 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1790 Use `cl-function' instead.
1791
33377562
JB
17922012-06-14 Juanma Barranquero <lekktu@gmail.com>
1793
1794 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1795 Suggested by Stefan Monnier while discussing bug#11657.
1796
54c5ba1a
SS
17972012-06-14 Sam Steingold <sds@gnu.org>
1798
1799 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1800
f9f1b1fe
AS
18012012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1802
1803 * play/doctor.el (doctor-doc): Remove parameter and use
1804 doctor-sent instead of sent.
1805 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1806
a81068ba
SM
18072012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1808
5a315f9c
SM
1809 * files.el: Require cl-lib.
1810 (file-name-non-special): Replace case -> cl-case.
1811
1812 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1813
a81068ba
SM
1814 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1815 mapping from #' to function*.
1816
8cca9703
CY
18172012-06-13 Chong Yidong <cyd@gnu.org>
1818
1819 * mouse.el (mouse-drag-track): Do not set the mark if the user
1820 releases the mouse without selecting anything (Bug#11588).
1821
a12ac9d7
SM
18222012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1823
ccf1dc18
SM
1824 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1825 as well (bug#11646).
1826
ef62b23d
SM
1827 * loadup.el: Count byte-code functions as well.
1828
c4c8444a
SM
1829 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1830 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1831
a12ac9d7
SM
1832 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1833 (bug#11649). Add cl-defun and cl-defmacro.
1834
87e6e64f
DA
18352012-06-13 Drew Adams <drew.adams@oracle.com>
1836
1837 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1838 Fix last change.
1839
682cefaf
MA
18402012-06-13 Michael Albinus <michael.albinus@gmx.de>
1841
1842 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1843 Otherwise, it blocks in batch mode.
1844
773e1f08
JB
18452012-06-13 Juanma Barranquero <lekktu@gmail.com>
1846
1847 * help-mode.el (bookmark-make-record-default): Declare.
1848
60057926
CY
18492012-06-13 Chong Yidong <cyd@gnu.org>
1850
1851 * emacs-lisp/package.el (list-packages): Compute a list of
1852 packages that are newly-available since the last list-packages
1853 invocation.
1854 (package-menu--new-package-list): New var.
1855 (package-menu--generate, package-menu--print-info)
1856 (package-menu--status-predicate, package-menu-mark-install):
1857 Handle new status label "new".
1858
ad4d226c
SM
18592012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1862 conversion to backquotes.
1863
f1a4e679
CY
18642012-06-12 Chong Yidong <cyd@gnu.org>
1865
1866 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1867 Rename from gud-inhibit-global-bindings.
1868
1869 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1870
1871 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1872 hook from nxml-glyph-set-hook.
1873
1874 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1875 declaration.
1876
1877 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1878
1879 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1880 Convert to defcustom.
1881
0c9e42b5
DA
18822012-06-12 Drew Adams <drew.adams@oracle.com>
1883
1884 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1885 New functions.
1886 (help-mode): Use them.
1887
09e06855
GM
18882012-06-11 Glenn Morris <rgm@gnu.org>
1889
1890 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1891 Use preprocessor face for directives.
1892 (fortran-directive-re): Doc fix.
1893
71adb94b
SM
18942012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1895
2eb87922
SM
1896 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1897 conversion to backquotes (bug#11652).
1898
71adb94b
SM
1899 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1900 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1901 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1902 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1903 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1904 (cl-ninth, cl-tenth): Mark them as inlinable.
1905 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1906 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1907 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1908 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1909 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1910 (cl-list*, cl-adjoin): Don't put an autoload manually.
1911 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1912 (cl--compiler-macro-list*): Add autoload cookie.
1913 (cl--compiler-macro-cXXr): New function.
2eb87922 1914
71adb94b
SM
1915 * help-fns.el (help-fns--compiler-macro): New function extracted from
1916 describe-function-1; follow aliases and use `compiler-macro' property.
1917 (describe-function-1): Use it.
1918
a6674402
CY
19192012-06-11 Chong Yidong <cyd@gnu.org>
1920
1921 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1922 is uninstalled, if imagemagick is installed.
1923
bb3faf5b
SM
19242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1925
1926 * emacs-lisp/cl-lib.el: Use lexical-binding.
1927 (cl-map-extents, cl-maclisp-member): Remove.
1928 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1929 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1930 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1931 * emacs-lisp/cl-extra.el: Use lexical-binding.
1932 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1933 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1934 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1935 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1936 * emacs-lisp/cl-seq.el: Use lexical-binding.
1937 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1938 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1939 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1940 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1941 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1942 CL's internals.
1943
2fe4b125
MA
19442012-06-11 Michael Albinus <michael.albinus@gmx.de>
1945
1946 Sync with Tramp 2.2.6-pre.
1947
1948 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1949 `print-length' and `print-level' to nil, in order to avoid
1950 truncation. Reported by Christopher Schmidt
1951 <christopher@ristopher.com>.
1952
1953 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1954
1955 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1956 New defmacro.
1957 (tramp-compat-copy-directory): Add optional argument
1958 COPY-CONTENTS. It is not handled yet.
1959
1960 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1961 (tramp-ftp-file-name-p): Simplify.
1962
1963 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1964 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1965 connection vector.
1966
1967 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1968 (tramp-methods): Do not use `tramp-password-end-of-line'.
1969 (tramp-completion-function-alist-putty): Handle UNIX case.
1970 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1971 (tramp-do-file-attributes-with-stat)
1972 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1973 gid as real numbers. They could run out of integer range on cygwin.
1974 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1975 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1976 (tramp-open-connection-setup-interactive-shell):
1977 Use `tramp-cleanup'. Move check for busyboxes ...
1978 (tramp-find-shell): ... here. Simplify implementation.
1979 Set "remote-shell" property also for alternative shells.
1980 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1981 If failing, a regular file would be written otherwise.
1982 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1983 (tramp-find-inline-encoding): Cache the coding commands in the
1984 process cache. Apply test command on the remote side, if defined.
1985 (tramp-find-inline-compress): Cache the compress commands in the
1986 process cache.
1987 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1988 when requested. Handle hops.
1989 (tramp-current-connection): New defvar.
87e6e64f
DA
1990 (tramp-maybe-open-connection): Use `tramp-cleanup'.
1991 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 1992 Handle user interrupt. (Bug#10187)
87e6e64f
DA
1993 (tramp-get-inline-compress, tramp-get-inline-coding):
1994 Read connection properties from the process cache.
2fe4b125
MA
1995
1996 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
1997 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
1998 New defconsts.
2fe4b125
MA
1999 (tramp-smb-prompt): Extend for powershell prompt.
2000 (tramp-smb-file-name-handler-alist): Add handlers for
2001 `process-file', `shell-command' and `start-file-process'.
2002 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2003 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2004 (tramp-smb-file-name-p): Simplify.
2005 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2006 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2007 (tramp-smb-shell-quote-argument): New defuns.
2008 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2009 Implement using "tar". By this, time-stamps are preserved.
2010 (tramp-smb-handle-copy-file): Handle also the case of directories.
2011 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2012 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2013 Use `tramp-get-connection-buffer').
2fe4b125
MA
2014 (tramp-smb-handle-rename-file): Use "rename", when source and
2015 target are on the same share.
87e6e64f
DA
2016 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2017 Use `tramp-smb-server-version'.
2fe4b125
MA
2018 (tramp-smb-wait-for-output): Remove prompt.
2019
2020 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2021 (tramp-methods, tramp-rsh-end-of-line):
2022 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2023 (tramp-save-ad-hoc-proxies): New defcustom.
2024 (tramp-completion-function-alist): Adapt docstring.
2025 (tramp-default-password-end-of-line): Remove defcustom.
2026 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2027 (tramp-user-regexp, tramp-file-name-regexp-unified)
2028 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2029 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2030 (tramp-remote-file-name-spec-regexp): New defconst.
2031 (tramp-file-name-structure): Extend structure for hops.
2032 (tramp-get-method-parameter): Move up.
2033 (tramp-file-name-p, tramp-dissect-file-name)
2034 (with-parsed-tramp-file-name): Handle hops.
2035 (tramp-file-name-hop): New defun.
2036 (tramp-make-tramp-file-name): New optional arg HOP.
2037 (tramp-message-show-progress-reporter-message): New defvar.
2038 (tramp-with-progress-reporter): Use it. We cannot use
2039 `tramp-message-show-message' here, because this suppresses also
2040 error buffers.
2041 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2042 `tramp-message-show-message' is nil.
2043 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2044 (tramp-cleanup): New defun.
2045 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2046 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2047 an error unchanged.
2048 (tramp-completion-handle-file-name-all-completions): Handle hops.
2049 Fix an error when called from ido.
2050 (tramp-completion-dissect-file-name): Use better local variable
2051 name. Add hop to the vector.
2052 (tramp-handle-insert-file-contents): Use progress-reporter for the
2053 whole scenario.
2054 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2055 to `t'.
2056 (tramp-check-for-regexp): Simplify search.
2057 (tramp-enter-password): Remove it. Move implementation ...
2058 (tramp-action-password): ... here.
2059 (tramp-mode-string-to-int, tramp-local-host-p)
2060 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2061 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2062 Set tramp-autoload cookie.
2fe4b125
MA
2063
2064 * net/trampver.el: Update release number.
2065
20662012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2067 Michael Albinus <michael.albinus@gmx.de>
2068
2069 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2070 (tramp-parse-group, tramp-parse-file)
2071 (tramp-parse-shostkeys-sknownhosts): New defuns.
2072 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2073 (tramp-parse-shosts-group, tramp-parse-sconfig)
2074 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2075 (tramp-parse-sknownhosts, tramp-parse-hosts)
2076 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2077 Use them.
2078 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2079 (tramp-parse-putty-group): Don't narrow.
2080 (tramp-parse-putty): Make a loop.
2081 (tramp-file-name-handler): Catch the `suppress' signal.
2082
72834e10
CY
20832012-06-11 Chong Yidong <cyd@gnu.org>
2084
2085 * image.el (imagemagick-register-types): Put the ImageMagick entry
2086 at the end of image-type-file-name-regexps.
2087
a4712e11
JB
20882012-06-11 Johan Bockgård <bojohan@gnu.org>
2089
2090 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2091 (pcase, pcase-let*, pcase-dolist): Use them.
2092
82ad98e3
SM
20932012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * emacs-lisp/pcase.el (pcase--let*): New function.
2096 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2097 (pcase--expand): Use macroexp-let².
2098
f80efb86
SM
20992012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2102 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2103 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2104 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2105 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2106 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2107
31ca4639 21082012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2109
31ca4639
CY
2110 * mail/rmail.el (rmail-yank-current-message): Leave point at
2111 correct position. (Bug#11660)
94f0aa34 2112
31ca4639 21132012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2114
31ca4639 2115 * allout-widgets.el: Fix code header.
9e1b8ec4 2116
31ca4639 21172012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2118
f80efb86
SM
2119 * cus-edit.el (customize-changed-options-previous-release):
2120 Bump to 24.1.
31ca4639 2121
642b6d30
AS
21222012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2123
2124 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2125
4f5d2ba1
CY
21262012-06-09 Chong Yidong <cyd@gnu.org>
2127
2128 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2129
e75852fd
MR
21302012-06-09 Martin Rudalics <rudalics@gmx.at>
2131
2132 * window.el (special-display-popup-frame): Don't use
2133 window--display-buffer (Bug#11651).
2134
1e48e282
EZ
21352012-06-09 Eli Zaretskii <eliz@gnu.org>
2136
8a26b487
EZ
2137 Fix parallel builds: make sure loaddefs.el is not being written
2138 while Lisp files are compiled.
2139 (compile): Don't depend on 'mh-autoloads'.
2140 (compile-CMD, compile-SH): Depend on 'autoloads'.
2141 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2142
1e48e282
EZ
2143 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2144
6175e34b
CY
21452012-06-09 Chong Yidong <cyd@gnu.org>
2146
2147 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2148 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2149 Doc fixes (Bug#11225).
2150
d9857e53
SM
21512012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2154 a function if there's a clear indication that it has a compiler-macro.
2155 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2156 (macro-declarations-alist): Add arglist to declaration functions.
2157 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2158 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2159 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2160 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2161 Also add autoload to find the compiler macro.
2162 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2163 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2164 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2165 (cl--compiler-macro-get): New functions, replacing calls to
2166 cl-define-compiler-macro.
2167 (cl-typep) [compiler-macro]: Use macroexp-let².
2168
f81298f8 21692012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2170
2171 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2172 string properly, fixes Bug#11473.
2173
4b56d0fe
CY
21742012-06-08 Chong Yidong <cyd@gnu.org>
2175
2176 * faces.el (set-face-attribute): Doc fix.
2177 (modify-face): Don't use :bold and :italic.
2178 (error, warning, success): Tweak definitions.
2179
2180 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2181 (custom-modified, custom-set, custom-changed, custom-themed)
2182 (custom-saved, custom-button, custom-button-mouse)
2183 (custom-button-pressed, custom-state, custom-comment-tag)
2184 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2185 (custom-group-subtitle): Use new-style face specs.
2186 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2187 (custom-set-face, custom-changed-face, custom-saved-face)
2188 (custom-button-face, custom-button-pressed-face)
2189 (custom-documentation-face, custom-state-face)
2190 (custom-comment-face, custom-comment-tag-face)
2191 (custom-variable-tag-face, custom-variable-button-face)
2192 (custom-face-tag-face, custom-group-tag-face-1)
2193 (custom-group-tag-face): Remove obsolete face alias.
2194
2195 * epa.el (epa-validity-high, epa-validity-medium)
2196 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2197 (epa-field-name, epa-field-body):
2198 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2199 (font-lock-keyword-face, font-lock-builtin-face)
2200 (font-lock-function-name-face, font-lock-variable-name-face)
2201 (font-lock-type-face, font-lock-constant-face):
2202 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2203 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2204 * speedbar.el (speedbar-button-face, speedbar-file-face)
2205 (speedbar-directory-face, speedbar-tag-face)
2206 (speedbar-selected-face, speedbar-highlight-face)
2207 (speedbar-separator-face):
2208 * whitespace.el (whitespace-newline, whitespace-space)
2209 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2210 (whitespace-line, whitespace-space-before-tab)
2211 (whitespace-space-after-tab, whitespace-indentation)
2212 (whitespace-empty):
2213 * emulation/cua-base.el (cua-global-mark):
2214 * eshell/em-prompt.el (eshell-prompt):
2215 * net/newst-plainview.el (newsticker-new-item-face)
2216 (newsticker-old-item-face, newsticker-immortal-item-face)
2217 (newsticker-obsolete-item-face, newsticker-date-face)
2218 (newsticker-statistics-face, newsticker-default-face):
2219 * net/newst-reader.el (newsticker-feed-face)
2220 (newsticker-extra-face, newsticker-enclosure-face):
2221 * net/newst-treeview.el (newsticker-treeview-face)
2222 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2223 (newsticker-treeview-immortal-face)
2224 (newsticker-treeview-obsolete-face)
2225 (newsticker-treeview-selection-face):
2226 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2227 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2228 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2229 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2230 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2231 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2232 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2233 (mpuz-text):
2234 * progmodes/vera-mode.el (vera-font-lock-number)
2235 (vera-font-lock-function, vera-font-lock-interface):
2236 * textmodes/table.el (table-cell): Use new-style face specs, and
2237 don't use the old :bold and :italic attributes.
2238
2239 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2240 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2241 (ebrowse-member-class, ebrowse-progress): Likewise.
2242 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2243 (ebrowse-file-name-face, ebrowse-default-face)
2244 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2245 (ebrowse-progress-face): Remove obsolete faces.
2246
2247 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2248 Inherit from error and warning faces respectively.
2249
2250 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2251 Likewise.
f80efb86
SM
2252 (flyspell-incorrect-face, flyspell-duplicate-face):
2253 Remove obsolete aliases.
4b56d0fe 2254
03310646
MA
22552012-06-08 Michael Albinus <michael.albinus@gmx.de>
2256
2257 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2258 Avoid infloop.
2259
513749ee
SM
22602012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * startup.el (argv, argi): Make lexically scoped.
2263 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2264 * emacs-lisp/cl-macs.el: Use lexical-binding.
2265 Rename cl-bind-* to cl--bind-*.
2266 * files.el: Don't require `cl' since it doesn't use it.
2267 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2268
595ef4ad
JB
22692012-06-08 Juanma Barranquero <lekktu@gmail.com>
2270
2271 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2272 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2273 instead of calling external sort utility.
2274 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2275
e9f66fcb
EZ
22762012-06-08 Eli Zaretskii <eliz@gnu.org>
2277
2278 * descr-text.el (describe-char): Mention how to insert the
2279 character, if the current input method doesn't support it.
2280 See the discussion in this thread for the details:
2281 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2282
3d10db47
SS
22832012-06-08 Sam Steingold <sds@gnu.org>
2284
2285 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2286 XF86Back to previous-buffer.
2287 (minibuffer-local-map): Bind them to next-history-element and
2288 previous-history-element respectively.
2289 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2290 help-go-back respectively.
2291 * info.el (Info-mode-map): Bind them to Info-history-forward and
2292 Info-history-back respectively.
2293 These are the keys next to Up on the ThinkPad keyboard.
2294
de7e2b36
SM
22952012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2298 * emacs-lisp/cl-macs.el: Provide itself.
2299 (cl--labels-convert-cache): New var.
2300 (cl--labels-convert): New function.
2301 (cl-flet, cl-labels): New implementation with new semantics, relying on
2302 lexical-binding.
2303 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2304 (cl-closure-vars, cl--function-convert-cache)
2305 (cl--function-convert): Move from cl-macs.el.
2306 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2307 rename by removing the "cl-" prefix.
2308 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2309
6fa6c4ae
SM
23102012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2313 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2314 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2315 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2316 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2317 (cl-hash-table-count): Add old compatibility aliases.
2318
2319 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2320 Use macroexpand-all-environment instead.
2321 (cl--old-macroexpand): New var.
2322 (cl--sm-macroexpand): New function.
2323 (cl-symbol-macrolet): Use it during macro expansion.
2324 (cl--function-convert-cache): New var.
2325 (cl--function-convert): New function, extracted from
2326 cl-macroexpand-all.
2327 (cl-lexical-let): Use it.
2328
2329 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2330 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2331 (cl-member): Remove old alias.
2332
2333 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2334 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2335 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2336 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2337 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2338 (cl-macroexpand-cmacs): Remove var.
2339 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2340 Use macroexpand-all instead.
2341
4dd1c416
SM
23422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2345 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2346 (macroexp-copyable-p): New functions and macros.
2347 * emacs-lisp/edebug.el (edebug-unwrap):
2348 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2349 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2350 (pcase--let*): Remove.
2351 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2352 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2353 macroexp-const-p instead.
2354 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2355
2356 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2357 instead of "cl-" for internal definitions. Use macroexp-const-p.
2358 (cl-old-bc-file-form): Remove var.
2359 (cl-const-exprs-p): Remove fun.
2360 (cl-labels, cl-macrolet): Use backquote.
2361 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2362 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2363 (cl-define-setf-expander): Rename from cl-define-setf-method.
2364 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2365
2366 * international/mule-cmds.el: Don't require CL.
2367 (view-hello-file): Don't use `letf'.
2368
ed8bd4d7
SM
23692012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2370
7287f2f3
SM
2371 * tmm.el (tmm-prompt): Use string-prefix-p.
2372 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2373 (tmm-add-prompt): Use minibuffer-completion-help.
2374 (tmm-delete-map): Remove.
2375
ed8bd4d7
SM
2376 * subr.el (kbd): Make it its own function.
2377
7b4cdbf4
SM
23782012-06-07 Stefan Merten <smerten@oekonux.de>
2379
2380 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2381 Silence compiler warnings. Fix versions.
ed8bd4d7 2382 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2383 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2384 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2385 (rst-package-emacs-version-alist): Correct Emacs version to
2386 represent major merge with upstream.
ed8bd4d7 2387 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2388
2b48d721
GM
23892012-06-06 Glenn Morris <rgm@gnu.org>
2390
2391 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2392 Only print environment variables if set.
2393
fa779ab0
SM
23942012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2397 (macroexp--cons): Rename from maybe-cons.
2398 (macroexp--accumulate): Rename from macroexp-accumulate.
2399 (macroexp--all-forms): Rename from macroexpand-all-forms.
2400 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2401 (macroexp--expand-all): Rename from macroexpand-all-1.
2402
628299e0
SS
24032012-06-06 Sam Steingold <sds@gnu.org>
2404
2405 * calendar/calendar.el (calendar-in-read-only-buffer):
2406 Call `special-mode' to enable the standard read-only keybindings.
2407
b7bb5838
SM
24082012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2411 with "loading" messages (bug#11635).
2412
dfb308ba
MA
24132012-06-06 Michael Albinus <michael.albinus@gmx.de>
2414
2415 * files.el (enable-remote-dir-locals): New option.
2416 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2417
0372ee92
MA
2418 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2419 Ensure, that the temp directory is local.
2420
2421 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2422 `temporary-file-directory'.
2423
eed0bb91
MA
2424 * progmodes/python.el (python-send-region): Ensure, that the
2425 temporary file is created also in the remote case.
2426
7a58f64d
GM
24272012-06-06 Glenn Morris <rgm@gnu.org>
2428
f7dd4e98
GM
2429 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2430 (vc-rcs-update-changelog): Use it.
2431
090bd7cb 2432 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2433
7a58f64d
GM
2434 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2435 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2436 (vc-sccs-diff): Replace use of the external vcdiff script.
2437
daed4003
GM
24382012-06-05 Glenn Morris <rgm@gnu.org>
2439
2440 * ledit.el: Move to obsolete/.
2441
48c455c7
SS
24422012-06-05 Sam Steingold <sds@gnu.org>
2443
ed9265fc 2444 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2445 patch (Bug#11140).
2446
57a7d507
SM
24472012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2448
090bd7cb 2449 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2450
53aacf21
SM
2451 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2452 compiler-macro expansion.
2453
57a7d507
SM
2454 Add native compiler-macro support.
2455 * emacs-lisp/macroexp.el (macroexpand-all-1):
2456 Support compiler-macros directly. Properly follow aliases and apply
2457 the compiler macros more thoroughly.
2458 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2459 macroexpand now properly follows aliases.
2460 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2461 (cl-compiler-macroexpand): Use new prop.
2462 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2463
2464 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2465
51a5f9d8
MR
24662012-06-05 Martin Rudalics <rudalics@gmx.at>
2467
2468 * window.el (get-lru-window, get-mru-window, get-largest-window):
2469 New argument NOT-SELECTED to avoid picking the selected window.
2470 (window--display-buffer-1, window--display-buffer-2): Replace by
2471 new function window--display-buffer
2472 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2473 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2474 Use window--display-buffer.
51a5f9d8
MR
2475 (display-buffer-use-some-window): Remove temporary dedication
2476 hack by calling get-lru-window and get-largest-window with
2477 NOT-SELECTED argument non-nil. Call window--display-buffer.
2478
08f9f738
GM
24792012-06-05 Glenn Morris <rgm@gnu.org>
2480
2481 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2482 Replace external vcdiff script.
2483
e364a2b7
SM
24842012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2487
041df390
CY
24882012-06-04 Chong Yidong <cyd@gnu.org>
2489
e364a2b7
SM
2490 * image.el (imagemagick-types-inhibit): Revert last change.
2491 Add INFO and M.
47b36b94 2492 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2493
7c1898a7
SM
24942012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * emacs-lisp/cl-lib.el: Rename from cl.el.
2497 * emacs-lisp/cl.el: New compatibility file.
2498 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2499 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2500 to obey the "cl-" prefix.
2501 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2502
0c3461de
GM
25032012-06-03 Glenn Morris <rgm@gnu.org>
2504
1e266c88
GM
2505 * emacs-lisp/authors.el (authors-aliases): Addition.
2506
0c3461de
GM
2507 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2508 Fix :version.
2509
d8a52e15
SM
25102012-06-03 Stefan Merten <smerten@oekonux.de>
2511
2512 * textmodes/rst.el: Add comments.
2513 (rst-transition, rst-adornment): New faces.
2514 (rst-adornment-faces-alist): Make default safe to reevaluate.
2515 Fixes
2516 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2517 Improve customization tags.
2518 (rst-define-level-faces): Clarify meaning.
2519
5205d6f6
CY
25202012-06-03 Chong Yidong <cyd@gnu.org>
2521
2522 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2523 (compilation-mode-line-run, compilation-mode-line-exit):
2524 New faces.
5205d6f6
CY
2525 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2526
757ee657
JD
25272012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2528
7c1898a7
SM
2529 * progmodes/which-func.el (which-func-update-ediff-windows):
2530 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2531
5f2c76c6
CY
25322012-06-03 Chong Yidong <cyd@gnu.org>
2533
2534 * bindings.el: Remove explicit help text from format-mode-line.
2535 It is now supplied by mode-line-default-help-echo.
2536 (mode-line-front-space, mode-line-end-spaces)
2537 (mode-line-misc-info): New variables.
2538 (mode-line-modes, mode-line-position): Move the default value to
2539 the variable definition.
2540 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2541 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2542 (mode-line-modified-help-echo): New functions.
2543 (mode-line-mule-info, mode-line-modified): Use them.
2544 (mode-line-eol-desc, propertized-buffer-identification):
2545 Consistency fixes for help text.
cbe46e5f
CY
2546 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2547 set-buffer-file-coding-system (Bug#289).
2548 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2549
f2d6a3df
SM
25502012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * simple.el (execute-extended-command): Set real-this-command
2553 (bug#11506).
2554
37269466
CY
25552012-06-02 Chong Yidong <cyd@gnu.org>
2556
2557 Remove incorrect uses of "modeline" in comments, docstrings, and
2558 function/variable names (Bug#10329).
2559
2560 * cus-edit.el (mode-line):
2561 * dframe.el (dframe-mouse-hscroll):
2562 * emacs-lisp/re-builder.el:
2563 * emacs-lisp/easy-mmode.el (define-minor-mode):
2564 * frame.el (set-frame-name):
2565 * help.el (lookup-minor-mode-from-indicator):
2566 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2567 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2568 (c-toggle-hungry-state):
2569 * progmodes/antlr-mode.el (antlr-language-alist):
2570 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2571 * progmodes/vhdl-mode.el (vhdl-mode):
2572 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2573 * term/ns-win.el (ns-face-at-pos):
2574 * term/sup-mouse.el (sup-mouse-report):
2575 * textmodes/flyspell.el (flyspell-mode-line-string):
2576 * textmodes/ispell.el (ispell-highlight-face):
2577 * textmodes/reftex-global.el:
2578 * vc/vc-arch.el (vc-arch-mode-line-string):
2579 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2580 * vc/vc-git.el (vc-git-mode-line-string):
2581 * vc/vc-hooks.el (vc-display-status)
2582 (vc-default-mode-line-string):
2583 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2584
2585 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2586
2587 * dired.el (dired-sort-set-mode-line): Rename from
2588 dired-sort-set-modeline. All callers changed.
2589
2590 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2591 eshell-status-in-modeline.
2592
2593 * foldout.el (foldout-mode-line-string): Rename from
2594 foldout-modeline-string. All callers changed.
2595 (foldout-update-mode-line): Rename from foldout-update-modeline.
2596
2597 * subr.el (redraw-modeline): Make into obsolete alias.
2598
2599 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2600 timeclock-modeline-display. Make old name an alias.
2601 (timeclock-update-mode-line): Likewise. All callers changed.
2602 (timeclock-mode-line-display): No need to check before using
2603 add-hook.
2604 (timeclock-relative, timeclock-day-over-hook)
2605 (timeclock-use-elapsed, timeclock-mode-string)
2606 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2607
2608 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2609 crisp-mode-modeline-string.
2610
2611 * play/solitaire.el (solitaire-build-mode-line): Rename from
2612 solitaire-build-modeline. All callers changed.
2613
2614 * play/zone.el (zone-hiding-mode-line): Rename from
2615 zone-hiding-modeline. All callers changed.
2616 (zone): Remove unusued `modeline-hidden-level' property.
2617
2618 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2619 xscheme-modeline-initialize. All callers changed.
2620
2621 * strokes.el (strokes-lighter): Rename from
2622 strokes-modeline-string.
2623
2624 * textmodes/sgml-mode.el (html-face-tag-alist)
2625 (html-tag-face-alist): Use mode-line face instead of obsolete
2626 alias modeline.
2627
42152ee4
SM
26282012-06-02 Stefan Merten <smerten@oekonux.de>
2629
2630 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2631 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2632
95f520b5
CY
26332012-06-02 Chong Yidong <cyd@gnu.org>
2634
2635 * image.el (imagemagick-enabled-types): Rename from
2636 imagemagick-types-enable. Add many more types.
2637 (imagemagick-types-inhibit): Change default to nil.
2638 (imagemagick-filter-types): Caller changed.
2639
4a5f187a
SM
26402012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2641
03fef3e6
SM
2642 * emacs-lisp/cl-macs.el: Use backquotes.
2643 (cl-transform-function-property): Use eval-and-compile rather than
2644 abusing `require'.
2645 (defstruct): Use declare-function instead of with-no-warnings.
2646
4a5f187a
SM
2647 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2648 (byte-compile-output-docform): Re-add the print-circle bindings.
2649 (byte-compile-fix-header): Use #$ just because it's shorter.
2650 (byte-compile-output-file-form): Remove defun/defmacro.
2651
bd56924f
MR
26522012-06-01 Martin Rudalics <rudalics@gmx.at>
2653
2654 * simple.el (choose-completion): Remove now obsolete binding for
2655 owindow.
2656
046e38ce
MA
26572012-06-01 Michael Albinus <michael.albinus@gmx.de>
2658
2659 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2660 in order to avoid "Stack overflow in regexp matcher".
2661
32d72c2f
GM
26622012-05-31 Glenn Morris <rgm@gnu.org>
2663
2664 * image.el: For clarity, call imagemagick-register-types at
2665 top-level, rather than relying on a custom :initialize.
2666 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2667 (imagemagick-filter-types): New function. (Bug#7406)
2668 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2669 If disabling support, remove elements altogether rather
2670 than using an impossible regexp.
2671 (imagemagick-types-inhibit): Give it the default init function.
2672
dd41169b
SM
26732012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2674
4a5f187a
SM
2675 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2676 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2677
efc00ab1 26782012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2679
2680 * desktop.el (desktop-read): Clear previous and next buffers for
2681 all windows and bury *Messages* buffer (bug#11556).
2682
500fcedc
SM
26832012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2684
2685 Add `declare' for `defun'. Align `defmacro's with it.
2686 * emacs-lisp/easy-mmode.el (define-minor-mode)
2687 (define-globalized-minor-mode): Don't autoload the var definitions.
2688 * emacs-lisp/byte-run.el: Use lexical-binding.
2689 (defun-declarations-alist, macro-declarations-alist): New vars.
2690 (defmacro, defun): Use them.
2691 (make-obsolete, define-obsolete-function-alias)
2692 (make-obsolete-variable, define-obsolete-variable-alias):
2693 Use `declare'.
2694 (macro-declaration-function): Mark obsolete.
2695 * emacs-lisp/autoload.el: Use lexical-binding.
2696 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2697
6e8a1786
AM
26982012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2699
2700 * textmodes/ispell.el (ispell-with-no-warnings):
2701 Define as a macro.
500fcedc
SM
2702 (ispell-kill-ispell, ispell-change-dictionary):
2703 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2704 `interactive-p'.
2705
61b108cc
SM
27062012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2709 (macro-declaration-function): Move var from C code.
2710 (macro-declaration-function): Define function with defalias.
2711 * emacs-lisp/macroexp.el (macroexpand-all-1):
2712 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2713 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2714 defun/defmacro any more.
2715 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2716 Provide fallback for unknown arglist.
2717 (byte-compile-arglist-warn): Change calling convention.
2718 (byte-compile-output-file-form): Move print-vars binding.
2719 (byte-compile-output-docform): Simplify accordingly.
2720 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2721 (byte-compile-defmacro-declaration): Remove.
2722 (byte-compile-file-form-defmumble): Generalize to defalias.
2723 (byte-compile-output-as-comment): Return byte-positions.
2724 Simplify callers accordingly.
2725 (byte-compile-lambda): Use `assert'.
2726 (byte-compile-defun, byte-compile-defmacro): Remove.
2727 (byte-compile-file-form-defalias):
2728 Use byte-compile-file-form-defmumble.
2729 (byte-compile-defalias-warn): Remove.
2730
6d3f7c2f
SM
27312012-05-29 Stefan Merten <smerten@oekonux.de>
2732
2733 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2734 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2735
2736 (rst-mode-abbrev-table): Merge definition.
2737 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2738 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2739
6dbaa1c7
UJ
27402012-05-29 Ulf Jasper <ulf.jasper@web.de>
2741
2742 * calendar/icalendar.el
2743 (icalendar-export-region): Export UID properly.
2744
d209e2fb 27452012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2746 * calendar/icalendar.el (icalendar-import-format):
2747 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2748 (icalendar-import-format-uid): New.
2749 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2750 Export UID.
2751
6876a58d
SM
27522012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2755 different alternative patterns.
2756 (pcase-codegen): Be more careful to preserve identity.
2757 (pcase--u1): Don't forget to mark vars as used.
2758
2759 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2760 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2761 (byte-compile-from-buffer): ...rather than here.
2762
2763 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2764 functions from byte-compile-function-environment.
2765
46b7967e
TN
27662012-05-29 Troels Nielsen <bn.troels@gmail.com>
2767
2768 * window.el (window-deletable-p): Avoid deleting the root window
2769 of a frame with an active minibuffer.
2770
69d565e2
MR
27712012-05-29 Martin Rudalics <rudalics@gmx.at>
2772
2773 * simple.el (choose-completion): Use quit-window (Bug#11567).
2774
a149fa51
CY
27752012-05-29 Chong Yidong <cyd@gnu.org>
2776
2777 * whitespace.el (whitespace-cleanup): Fix usage of
2778 whitespace-empty-at-bob-regexp (Bug#11492).
2779
2b311310
AH
27802012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2781
2782 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2783 revert (Bug#11488).
2784
b9cb2387
JL
27852012-05-29 Juri Linkov <juri@jurta.org>
2786
2787 * isearch.el (isearch-mode-map): Bind `M-s _' to
2788 `isearch-toggle-symbol'. Bind `M-s c' to
2789 `isearch-toggle-case-fold'.
2790 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2791 (isearch-forward): Add `M-s _' to the docstring.
2792 (isearch-forward-symbol, isearch-toggle-case-fold)
2793 (isearch-symbol-regexp): New functions. (Bug#11381)
2794
d5e61c1c
JL
27952012-05-29 Juri Linkov <juri@jurta.org>
2796
2797 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2798 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2799 a function, call it to get the regexp.
2800 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2801 property `isearch-message-prefix' instead of the string "word ".
2802 (isearch-search-fun-default): For the case of `isearch-word',
2803 return a lambda that calls re-search-forward/re-search-backward
2804 with a regexp returned by `word-search-regexp' or by the function
2805 in `isearch-word'.
2806
8cbd80f7
JL
28072012-05-29 Juri Linkov <juri@jurta.org>
2808
2809 * isearch.el (isearch-search-fun-default): New function.
2810 (isearch-search-fun): Move default part to the new function
2811 `isearch-search-fun-default'.
2812 (isearch-search-fun-function): Set the default value to
2813 `isearch-search-fun-default'. (Bug#11381)
2814
2815 * comint.el (comint-history-isearch-end):
2816 Use `isearch-search-fun-default'.
2817 (comint-history-isearch-search): Use `isearch-search-fun-default'
2818 and remove spacial case for `isearch-word'.
2819 (comint-history-isearch-wrap): Remove spacial case for
2820 `isearch-word'.
2821
2822 * hexl.el (hexl-isearch-search-function):
2823 Use `isearch-search-fun-default'.
2824
2825 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2826 Use `word-search-regexp' for `isearch-word'.
2827
2828 * misearch.el (multi-isearch-search-fun):
2829 Use `isearch-search-fun-default'.
2830
2831 * simple.el (minibuffer-history-isearch-search):
2832 Use `isearch-search-fun-default' and remove spacial case for
2833 `isearch-word'.
2834 (minibuffer-history-isearch-wrap): Remove spacial case for
2835 `isearch-word'.
2836
2837 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2838 Remove spacial case for `isearch-word'.
2839 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2840
85c8c5b6
AM
28412012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2842
2843 Decrease XEmacs incompatibilities.
2844 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2845 Use `string-match'.
2846 (flyspell-delete-region-overlays): Use alternative definition for
2847 XEmacs.
2848 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2849 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2850 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2851 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2852 `define-obsolete-face-alias' under XEmacs, but old method.
2853
2854 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2855 `with-no-warnings' definition or Emacs alias.
2856 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2857 (ispell-word): Do not use `region-p' if XEmacs.
2858
8cab9efc
AM
28592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2860
2861 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2862 Check for `ispell-dictionary-base-alist' instead of full
2863 `ispell-dictionary-alist'.
2864 (ispell-init-process): Show spellchecker when starting new Ispell
2865 process.
2866
fda91268
RZ
28672012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2870 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2871
694ea8e3
JB
28722012-05-27 Juanma Barranquero <lekktu@gmail.com>
2873
2874 * version.el (motif-version-string, gtk-version-string)
2875 (ns-version-string): Declare.
2876
e4d4f539
JL
28772012-05-27 Juri Linkov <juri@jurta.org>
2878
2879 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2880 after the `eval-defun-1' specialcaseing
2881 like in `edebug-eval-defun' (bug#10181).
2882
2883 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2884 like in `eval-defun-1'.
2885
33017faf 28862012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2887
fda91268
RZ
2888 * mail/sendmail.el (mail-yank-region):
2889 Recognize rmail-yank-current-message in addition to insert-buffer.
2890 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2891 a *mail* buffer created through rmail-start-mail with sendmail as
2892 mail-user-agent.
2893
33017faf
GM
28942012-05-27 Chong Yidong <cyd@gnu.org>
2895
2896 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2897 Default to 256 (Bug#11267).
2898
2899 * help.el (describe-mode): Doc fix.
2900
04188bb9
GM
29012012-05-26 Glenn Morris <rgm@gnu.org>
2902
38264cc9
GM
2903 * w32-fns.el (w32-init-info): Remove.
2904 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2905
eb7afdad
GM
2906 * info.el (info-initialize): For self-contained NS builds, put the
2907 included info/ directory at the front. (Bug#2791)
2908
04188bb9
GM
2909 * paths.el (Info-default-directory-list): Make it a defcustom,
2910 mainly so that we can use custom-initialize-delay.
2911
a179e3f7
SM
29122012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2913
43416392
SM
2914 * subr.el (buffer-has-markers-at): Mark obsolete.
2915
a179e3f7 2916 * subr.el (lambda): Use declare.
43416392 2917
a179e3f7
SM
2918 * emacs-lisp/lisp-mode.el (lambda):
2919 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2920
34a008d9
AH
29212012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2922
2923 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2924
0a3b289f
GM
29252012-05-26 Glenn Morris <rgm@gnu.org>
2926
2927 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2928
758c81e8
GM
29292012-05-25 Glenn Morris <rgm@gnu.org>
2930
f9f334f0
GM
2931 * paths.el: Remove no-byte-compile.
2932 * loadup.el: No need to load paths.el uncompiled.
2933
87eb79c2
GM
2934 * image.el (imagemagick-types-inhibit): Doc fix.
2935
758c81e8
GM
2936 * version.el: Remove no-byte-compile and associated formatting.
2937 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2938 is ancient code from when there was an "inc-vers.el".
2939
e7e85dc0
SM
29402012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * progmodes/gdb-mi.el: Minor style changes.
2943 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2944 Turn into minor modes.
2945 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2946 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2947 (gdb-shell): Remove unneeded let-binding.
2948 (gdb-get-many-fields): Eliminate O(n²) behavior.
2949
f31237a4
EZ
29502012-05-25 Eli Zaretskii <eliz@gnu.org>
2951
2952 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2953 platforms that don't link in fontset.c.
2954
bc1b21bb
JL
29552012-05-25 Juri Linkov <juri@jurta.org>
2956
2957 Use the same diff color scheme as in modern VCSes (bug#10181).
2958
2959 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2960 to avoid confusion with `diff-added' that now uses green colors.
2961 (diff-removed): Use shades of red.
2962 (diff-added): Use shades of green.
2963 (diff-changed): Leave just the yellow color.
2964 (diff-use-changed-face): New variable.
2965 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2966 how to highlight context diff changes.
2967 (diff-refine-change): Use shades of yellow.
2968 (diff-refine-removed): New face that uses shades of red.
2969 (diff-refine-added): New face that uses shades of green.
2970 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2971 `diff-refine-removed' in the call to `smerge-refine-subst'
2972 depending on the value of `diff-use-changed-face'.
2973
2974 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2975 (smerge-other): Use shades of green.
2976 (smerge-base): Use shades of yellow.
2977 (smerge-refined-change): Empty face.
2978 (smerge-refined-removed): New face that uses shades of red.
2979 (smerge-refined-added): New face that uses shades of green.
2980 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2981 args `props-r' and `props-a', and use them. Doc fix.
2982 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2983 on its value use different faces `smerge-refined-change',
2984 `smerge-refined-removed', `smerge-refined-added' in the call to
2985 `smerge-refine-subst'.
2986
2987 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2988 Add face condition `min-colors 88' with shades of red.
2989 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
2990 `min-colors 88' with shades of green.
2991 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
2992 `min-colors 88' with shades of yellow.
2993
6df9112c
GM
29942012-05-24 Glenn Morris <rgm@gnu.org>
2995
ead5edc0
GM
2996 * paths.el (prune-directory-list, remote-shell-program): Move to...
2997 * files.el (prune-directory-list, remote-shell-program): ...here.
2998 For the latter, delay initialization, prefer ssh, just search PATH.
2999
f18b81e6
GM
3000 * paths.el (term-file-prefix): Move to faces.el (the only user).
3001 * faces.el (term-file-prefix): Move here, make it a defcustom.
3002
ee2f89a6
GM
3003 * paths.el (news-directory, news-path, news-inews-program):
3004 Move to gnus/nnspool.el.
61a583ca 3005
f8815e4c
GM
3006 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3007
c8f3b42c
GM
3008 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3009 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3010 Make the latter a defcustom, with a delayed initialization.
3011
6df9112c
GM
3012 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3013 These were deleted from Gnus itself late 2010.
3014
5dadff36
JB
30152012-05-22 Juanma Barranquero <lekktu@gmail.com>
3016
9e1701c6
JB
3017 * progmodes/which-func.el (which-func-ff-hook):
3018 Check against user-error, not error.
3019
bd7239f5 3020 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3021 cl-specs.el, which no longer exists.
3022
3290526d
GM
30232012-05-22 Glenn Morris <rgm@gnu.org>
3024
3025 * info.el (info-emacs-bug): New command.
3026 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3027 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3028
ff0c3cfb
GM
30292012-05-21 Glenn Morris <rgm@gnu.org>
3030
3031 * makefile.w32-in (update-subdirs-SH):
3032 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3033
5814f126
SM
30342012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3035
a52c0aa0
SM
3036 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3037
5814f126
SM
3038 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3039 Simplify Maven regexp, and make sure the file can't start with a space
3040 (bug#11517).
3041
b847032c
GM
30422012-05-21 Glenn Morris <rgm@gnu.org>
3043
3044 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3045 Scrap superfluous subshells.
3046
3858bfe7
SM
30472012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3050 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3051
d14b0029
JB
30522012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3053
3054 * calc/calc.el (calc-ensure-consistent-units): New variable.
3055
a52c0aa0
SM
3056 * calc/calc-units.el (math-consistent-units-p)
3057 (math-check-unit-consistency): New functions.
3058 (calc-quick-units, calc-convert-units):
3059 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3060 is non-nil.
d14b0029
JB
3061 (calc-extract-units): Fix typo.
3062
60c4db3a
SM
30632012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3064
77f3b62e
SM
3065 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3066
60c4db3a
SM
3067 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3068 (flyspell-default-deplacement-commands): Don't spell check after
3069 repeated window/frame switches (e.g. triggered by mouse-movement).
3070 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3071 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3072 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3073 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3074 Remove unused vars.
3075 (flyspell-get-casechars, flyspell-get-not-casechars):
3076 Simplify; Don't bother removing a ] just to add it back.
3077 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3078
d209e2fb 30792012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3080
3081 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3082 New functions.
bd7239f5 3083 (math-function-table): Add support for more C functions.
b1a10716 3084
3f1b25b5
AM
30852012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3086
090bd7cb
JB
3087 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3088 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3089 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3090
b581bb5c
SM
30912012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3094 their respective macro declarations.
3095 * skeleton.el (define-skeleton):
3096 * progmodes/compile.el (define-compilation-mode):
3097 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3098 (define-ibuffer-filter):
3099 * emacs-lisp/generic.el (define-generic-mode):
3100 * emacs-lisp/easy-mmode.el (define-minor-mode)
3101 (define-globalized-minor-mode):
3102 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3103 * emacs-lisp/byte-run.el (defsubst):
3104 * custom.el (deftheme): Add doc-string metadata.
3105
70b8ef8f
SM
31062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3109
b1198e17
SM
31102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3111
9abdc45d
SM
3112 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3113
b1198e17
SM
3114 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3115 * emacs-lisp/cl-macs.el: Idem.
3116 * emacs-lisp/cl-specs.el: Remove.
3117
4735906a
SM
31182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 Minor renaming of internal CL functions and variables.
3121 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3122 (cl--position): Rename from cl-position.
3123 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3124 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3125 (cl--random-state): Rename from *random-state*.
3126
ac348012
SM
31272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3128
3129 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3130 parens around the arg list (bug#11499).
3131
a0a79cde
JL
31322012-05-17 Juri Linkov <juri@jurta.org>
3133
3134 * isearch.el (word-search-regexp, word-search-backward)
3135 (word-search-forward, word-search-backward-lax)
3136 (word-search-forward-lax): Move functions from search.c
3137 (bug#10145, bug#11381).
3138
65034a51
AM
31392012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3140
090bd7cb
JB
3141 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3142 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3143 Delay for otherchars as for normal word components.
65034a51 3144
1a72a195
SM
31452012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3147 * minibuffer.el (completion--sifn-requote): Fix last change.
3148 (minibuffer-local-must-match-filename-map):
3149 Move define-obsolete-variable-alias before its var.
3150
fdb058c2
SM
31512012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3152
c41045e6
SM
3153 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3154
036dfb8b
SM
3155 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3156 behavior.
3157 (completion--string-equal-p): New function.
3158 (completion--twq-all): Use it to get better assertion failure data.
3159
2473256d
SM
3160 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3161 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3162 (shell--requote-argument): New functions.
3163 (shell-completion-vars): Use them.
3164 (shell--parse-pcomplete-arguments): Rename from
3165 shell-parse-pcomplete-arguments.
3166 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3167 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3168 Obey comint-file-name-quote-list.
3169
fdb058c2
SM
3170 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3171 (smie-indent-keyword): Use it.
3172
51fa99f1
SM
31732012-05-14 Stefan Merten <smerten@oekonux.de>
3174
3175 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3176
e18afed7 31772012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3178
3179 * net/rlogin.el (rlogin-mode-map): Fix last change.
3180
e18afed7 31812012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3182
3183 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3184 the following \r\n using a single `process-send-string', since the
3185 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3186 with two `process-send-string's (Bug#11444).
8633b1f4 3187
e18afed7 31882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3189
fdb058c2
SM
3190 * shell.el (shell-parse-pcomplete-arguments):
3191 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3192
2d21d7f6
WJ
31932012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3194
e18afed7 3195 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3196 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3197 (image-transform-width, image-transform-fit-width): New functions.
3198 (image-transform-properties): Use them.
3199 (image-transform-check-size): New function.
3200 (image-toggle-display-image): Use it (for testing).
3201 (image-transform-set-rotation): Reduce angle mod 360.
3202 Delete obsolete comment.
3203
7102e6d0
WJ
32042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3205
3206 * image-mode.el: Fix scaling (bug#11399).
3207 (image-transform-resize): Doc fix.
3208 (image-transform-properties): Default scale is 1 and height should
3209 be an integer.
3210
06bc5e6e
SM
32112012-05-13 Johan Bockgård <bojohan@gnu.org>
3212
3213 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3214 than hard-coding `car', to fix misbehavior when moving forward.
3215
0ae03b6a
CY
32162012-05-13 Chong Yidong <cyd@gnu.org>
3217
3218 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3219 (tabulated-list-entries, tabulated-list-padding)
3220 (tabulated-list-sort-key): Make permanent-local.
3221
3222 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3223 (electric-buffer-list): Put electric buffer menu
3224 command descriptions in this docstring, instead of the docstring
3225 of electric-buffer-menu-mode. Code cleanups.
3226 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3227 Electric-buffer-menu-mode.
3228 (electric-buffer-update-highlight): Minor code cleanup.
3229
205a7391
MA
32302012-05-13 Michael Albinus <michael.albinus@gmx.de>
3231
3232 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3233 (Bug#11447)
3234
e5bd0a28
SM
32352012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 Move define-obsolete-variable-alias before the var's definition.
3238 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3239 * tooltip.el (tooltip-hook):
3240 * textmodes/reftex-toc.el (reftex-toc-map):
3241 * textmodes/reftex-sel.el (reftex-select-label-map)
3242 (reftex-select-bib-map):
3243 * textmodes/reftex-index.el (reftex-index-map)
3244 (reftex-index-phrases-map):
3245 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3246 * progmodes/meta-mode.el (meta-mode-map):
3247 * novice.el (disabled-command-hook):
3248 * loadhist.el (unload-hook-features-list):
3249 * frame.el (blink-cursor):
3250 * files.el (find-file-not-found-hooks, write-file-hooks)
3251 (write-contents-hooks):
3252 * emulation/tpu-edt.el (GOLD-map):
3253 * emacs-lock.el (emacs-lock-from-exiting):
3254 * emacs-lisp/generic.el (generic-font-lock-defaults):
3255 * emacs-lisp/chart.el (chart-map):
3256 * dos-fns.el (register-name-alist):
3257 * dired-x.el (dired-omit-files-p):
3258 * desktop.el (desktop-enable):
3259 * cus-edit.el (custom-mode-hook):
3260 * buff-menu.el (buffer-menu-mode-hook):
3261 * bookmark.el (bookmark-read-annotation-text-func)
3262 (bookmark-exit-hooks):
3263 * allout.el (allout-mode-deactivate-hook)
3264 (allout-exposure-change-hook, allout-structure-added-hook)
3265 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3266 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3267 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3268 comes before the corresponding variable's definition.
3269
ac59c2f6
CY
32702012-05-12 Chong Yidong <cyd@gnu.org>
3271
3272 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3273 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3274 (Buffer-menu-mode-map): Bind it.
3275 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3276
dee6c9a3
SM
32772012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3278
2171cea5
SM
3279 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3280 (prolog-upper-case-string, prolog-lower-case-string)
3281 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3282 (prolog-use-smie, prolog-smie-grammar): New vars.
3283 (prolog-smie-forward-token, prolog-smie-backward-token)
3284 (prolog-smie-rules): New funs.
3285 (prolog-comment-indent): Remove.
3286 (prolog-mode-variables): Use default comment indentation instead.
3287 Setup SMIE.
3288 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3289 (prolog-mode): Don't call them any more.
3290 (prolog-electric-colon, prolog-electric-dash)
3291 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3292
aa0382bd
SM
3293 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3294
dbacb4bd
SM
3295 * minibuffer.el (completion--twq-all): Again, allow case differences.
3296
13bdd94c
SM
3297 * term.el: Move keymap initialization code to be more idiomatic.
3298 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3299 (term-terminal-menu): Move initialization into declaration.
3300 (term-escape-char): Let the user set it in her .emacs.
3301
ff46c759
SM
3302 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3303 Provide SMIE-based indentation (not enabled by default yet).
3304 (sh-mode-map): Don't bind electric keys.
3305 Use electric-pair-mode instead of skeleton-pair.
3306 (sh-assignment-regexp): Fit within 80 columns.
3307 (sh-indent-supported): Specify actual shell name instead of boolean.
3308 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3309 (sh-maybe-here-document): Use it. Make obsolete.
3310 (sh-electric-here-document-mode) New minor mode.
3311 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3312 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3313 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3314 (sh-smie-rc-grammar, sh-use-smie): New vars.
3315 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3316 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3317 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3318 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3319 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3320 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3321 (sh-set-shell): Use smie-setup if requested.
3322
dee6c9a3
SM
3323 * term.el (term-set-escape-char): Properly set term-escape-char.
3324 See http://stackoverflow.com/questions/10524656.
3325
9f9aa044
CY
33262012-05-10 Chong Yidong <cyd@gnu.org>
3327
3328 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3329 Use url-generic-parse-url, and handle host names and Windows
3330 filenames properly.
3331 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3332 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3333 URL schemes to work on.
3334 (ffap--toggle-read-only): New function.
3335 (ffap-read-only, ffap-read-only-other-window)
3336 (ffap-read-only-other-frame): Use it.
3337 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3338 necessary for ffap-url-unwrap-remote.
3339
836d29b3
DA
33402012-05-10 Dave Abrahams <dave@boostpro.com>
3341
3342 * cus-start.el (create-lockfiles): Add it.
3343
00fd78ed
CY
33442012-05-09 Chong Yidong <cyd@gnu.org>
3345
3346 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3347 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3348
666b903b 33492012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3350
3351 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3352
666b903b 33532012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3354
3355 * ansi-color.el (ansi-color-process-output): Check for validity of
3356 comint-last-output-start before using it. This avoids a bad
3357 interaction with gdb-mi's input/output buffer.
3358
666b903b 33592012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3360
3361 * files.el (dir-locals-read-from-file):
3362 Mention dir-locals in any error message.
3363
666b903b 33642012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3365
3366 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3367 package (Bug#11410).
3368
f677562b
CY
3369 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3370 variables into description.
3371
666b903b 33722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3373
3374 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3375 shell-delimiter-argument-list (bug#11348).
3376 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3377
b499d8d0
JB
33782012-05-09 Juanma Barranquero <lekktu@gmail.com>
3379
8f6b6da8
JB
3380 * textmodes/rst.el: Silence byte-compiler warnings.
3381 (rst-re-alist, rst-reset-section-caches): Move around.
3382 (rst-re): Use `characterp', not `char-valid-p'.
3383 (font-lock-beg, font-lock-end): Declare.
3384
4824146a
JB
3385 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3386 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3387
b499d8d0
JB
3388 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3389
ad89bb83
GM
33902012-05-08 Glenn Morris <rgm@gnu.org>
3391
3392 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3393
8bba5a75
SM
33942012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3395
49ed9c8e
SM
3396 * vc/log-edit.el: Add GNU coding standards highlighting.
3397 (log-edit-font-lock-gnu-style)
3398 (log-edit-font-lock-gnu-keywords): New vars.
3399 (log-edit-font-lock-keywords): New fun.
3400 (log-edit-mode): Don't fold case in font-lock.
3401 (log-edit-font-lock-keywords): Do not assume case-folding.
3402
07d00b56
SM
3403 * imenu.el: Misc cleanup. Make docstrings out of comments.
3404 Use lexical-binding.
3405 (imenu--index-alist, imenu--last-menubar-index-alist)
3406 (imenu-menubar-modified-tick): Use defvar-local.
3407 (imenu--split-menu): Remove unused var.
3408 (imenu--cleanup-seen): Declare as global.
3409 (imenu--cleanup): Use dolist.
3410
8bba5a75
SM
3411 * subr.el (defvar-local): Add debug spec and doc-string position.
3412
5075bdb5
GM
34132012-05-08 Glenn Morris <rgm@gnu.org>
3414
090bd7cb 3415 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3416 * language/english.el, language/georgian.el, language/greek.el:
3417 * language/japanese.el, language/khmer.el, language/korean.el:
3418 * language/lao.el, language/misc-lang.el, language/romanian.el:
3419 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3420 * language/thai.el, language/utf-8-lang.el:
3421 Remove no-byte-compile setting.
3422
5075bdb5
GM
3423 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3424
06f679a7
AH
34252012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3426
3427 * progmodes/make-mode.el (makefile-browse):
3428 Remove unnecessary interactive. (Bug#11324)
3429
03794570
GM
34302012-05-07 Glenn Morris <rgm@gnu.org>
3431
af8630f4
GM
3432 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3433
03794570
GM
3434 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3435
f0809a9d
SM
34362012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3437
28be5ce7
SM
3438 * loadup.el: Preload newcomment.el.
3439 * newcomment.el: Move autoload-only code to toplevel.
3440
f0809a9d
SM
3441 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3442 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3443 Handle new :right-align column property.
3444 (tabulated-list-print-col): Idem, plus use `display' text-property to
3445 try and preserve alignment for variable pitch fonts.
3446
1241b724
CY
34472012-05-07 Chong Yidong <cyd@gnu.org>
3448
3449 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3450 (tabulated-list-use-header-line): New var.
3451 (tabulated-list-init-header): Use it.
3452 (tabulated-list-print-fake-header): New function.
3453 (tabulated-list-print): Use it.
3454 (tabulated-list-sort-button-map): Add non-header-line commands.
3455 (tabulated-list-init-header): Add column name property to basic
3456 labels as well.
3457 (tabulated-list-col-sort): Handle non-header-line button case.
3458 (tabulated-list--sort-by-column-name): Fix a corner case.
3459
f0809a9d
SM
3460 * buff-menu.el (list-buffers--refresh):
3461 Handle Buffer-menu-use-header-line.
1241b724 3462
e5f9458f
CY
34632012-05-06 Chong Yidong <cyd@gnu.org>
3464
3465 * buff-menu.el: Convert to Tabulated List mode.
3466 (Buffer-menu-buffer+size-width): Make obsolete.
3467 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3468 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3469 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3470 documentation into docstring of buffer-menu.
3471 (Buffer-menu-toggle-files-only): Add an informative message.
3472 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3473 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3474 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3475 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3476 (Buffer-menu-execute, Buffer-menu-select)
3477 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3478 (Buffer-menu-bury): Use Tabulated List machinery.
3479 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3480 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3481 Delete.
e5f9458f
CY
3482 (list-buffers--refresh): New function.
3483 (list-buffers-noselect): Use it.
3484 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3485 (Buffer-menu--pretty-file-name): New helper functions.
3486
3487 * loadup.el: Preload tabulated-list.
3488
3489 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3490 tabulated-list-sort-column.
3491 (tabulated-list-init-header): Add the initial aligning space even
3492 if tabulated-list-padding is zero.
3493
e129292c
CS
34942012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3495
3496 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3497 whose cdr is not a cons cell correctly (bug#11038).
3498
6632d361
CY
34992012-05-06 Chong Yidong <cyd@gnu.org>
3500
e129292c
CS
3501 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3502 Accept additional plist in column descriptors.
6632d361
CY
3503 (tabulated-list-init-header): Obey it.
3504 (tabulated-list-get-entry): New function.
3505 (tabulated-list-put-tag): Use it. Use string-width instead of
3506 length.
3507 (tabulated-list--column-number): New function.
3508 (tabulated-list-print): Use it.
e129292c
CS
3509 (tabulated-list-print-col): New function.
3510 Set `tabulated-list-column-name' property on each column's text.
6632d361 3511 (tabulated-list-print-entry): Use it.
e129292c
CS
3512 (tabulated-list-delete-entry, tabulated-list-set-col):
3513 New functions.
6632d361
CY
3514 (tabulated-list-sort-column): New command (Bug#11337).
3515
3cc99f68
CY
3516 * buff-menu.el (list-buffers): Move C-x C-b binding from
3517 buff-menu.el to bindings.el.
3518
3519 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3520 :advertised-binding feature.
3521
52b61776
TN
35222012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3523
3524 * progmodes/compile.el (compilation-internal-error-properties):
3525 Calculate start position correctly when end-col is set but
3526 end-line is not (Bug#11382).
3527
ebfe2597
WJ
35282012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3529
3530 * man.el (Man-unindent): Use text-property-default-nonsticky to
3531 prevent untabify from inheriting face properties (Bug#11408).
3532
6d3f7c2f
SM
35332012-05-05 Stefan Merten <smerten@oekonux.de>
3534
3535 * textmodes/rst.el: Major merge with upstream development up to
3536 Docutils SVN r7399 / rst.el V1.2.1.
3537
3538 Clarify maintainership and authors.
3539
3540 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3541 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3542 (rst-official-version, rst-official-cvs-rev, rst-version)
3543 (rst-package-emacs-version-alist): New functions and variables
3544 for version information.
3545
3546 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3547 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3548 (rst-mode-syntax-table, rst-mode): New and corrected functions
3549 and variables representing reStructuredText features.
3550
3551 (rst-re): New function for reStructuredText regexes. Use in
3552 many places.
3553
3554 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3555 (rst-mode-map): Rebind keys.
3556
3557 (rst-mode-lazy, rst-font-lock-keywords)
3558 (rst-font-lock-extend-region)
3559 (rst-font-lock-extend-region-internal)
3560 (rst-font-lock-extend-region-extend)
3561 (rst-font-lock-find-unindented-line-limit)
3562 (rst-font-lock-find-unindented-line-match)
3563 (rst-adornment-level, rst-font-lock-adornment-level)
3564 (rst-font-lock-adornment-match)
3565 (rst-font-lock-handle-adornment-pre-match-form)
3566 (rst-font-lock-handle-adornment-matcher): Major revision of
3567 font-locking. Integrate with other code. Use `jit-lock-mode'.
3568
3569 (rst-preferred-adornments, rst-adjust-hook)
3570 (rst-new-adornment-down, rst-preferred-bullets)
3571 (rst-preferred-bullets, rst-indent, rst-indent-width)
3572 (rst-indent-field, rst-indent-literal-normal)
3573 (rst-indent-literal-minimized, rst-indent-comment): Change,
3574 extend and improve customization.
3575
3576 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3577 (rst-normalize-cursor-position, rst-get-decoration)
3578 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3579 (rst-rstrip, rst-toc-insert-find-delete-contents)
3580 (rst-shift-fill-region, rst-compute-bullet-tabs)
3581 (rst-debug-print-tabs, rst-debug-mark-found)
3582 (rst-shift-region-guts, rst-shift-region-right)
3583 (rst-shift-region-left, rst-use-char-classes)
3584 (rst-font-lock-keywords-function)
3585 (rst-font-lock-indentation-point)
3586 (rst-font-lock-find-unindented-line-begin)
3587 (rst-font-lock-find-unindented-line-end)
3588 (rst-font-lock-find-unindented-line)
3589 (rst-font-lock-adornment-point, rst-font-lock-level)
3590 (rst-adornment-level-alist): Remove functions and variables.
3591
3592 (rst-compare-adornments, rst-get-adornment-match)
3593 (rst-suggest-new-adornment, rst-get-adornments-around)
3594 (rst-adornment-complete-p, rst-get-next-adornment)
3595 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3596 (rst-straighten-adornments): Standardize function names to
3597 use "adornment" instead of "decoration". Correct callers.
3598 Similar standardizing in many places.
3599
3600 (rst-update-section, rst-adjust, rst-promote-region)
3601 (rst-enumerate-region, rst-bullet-list-region)
3602 (rst-repeat-last-character): Correct use of `interactive'.
3603
3604 (rst-classify-adornment, rst-find-all-adornments)
3605 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3606 (rst-find-leftmost-column, rst-repeat-last-character):
3607 Refactor functions.
3608
3609 (rst-find-title-line, rst-reset-section-caches)
3610 (rst-get-adornments-around, rst-adjust-adornment-work)
3611 (rst-arabic-to-roman, rst-roman-to-arabic)
3612 (rst-insert-list-pos, rst-insert-list-new-item)
3613 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3614 New functions.
3615
3616 (rst-all-sections, rst-section-hierarchy)
3617 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3618 New variables.
3619
3620 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3621 configuration instead of only buffer. Change where necessary.
3622
3623 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3624 (rst-shift-region, rst-adaptive-fill): New functions for
3625 indentation and filling.
3626
3627 (rst-comment-line-break, rst-comment-indent)
3628 (rst-comment-insert-comment, rst-comment-region)
3629 (rst-uncomment-region): New functions for handling comments.
3630
3631 (rst-compile): Quote shell arguments.
3632
3633 (rst-compile-pdf-preview, rst-compile-slides-preview):
3634 Delete temporary files after use.
3635
a43f98b3
GM
36362012-05-05 Glenn Morris <rgm@gnu.org>
3637
48176e8b
GM
3638 * calendar/cal-html.el: Optionally include holidays in the output.
3639 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3640 (cal-html-holidays): New option.
3641 (cal-html-css-default): Add holiday entry.
3642 (holiday-in-range): Autoload it.
3643 (cal-html-htmlify-entry): Add optional class argument.
3644 (cal-html-htmlify-list): Add optional holidays argument.
3645 (cal-html-insert-agenda-days): Include holidays in the output.
3646 (cal-html-one-month): Maybe include holidays.
3647
a43f98b3
GM
3648 * calendar/holidays.el (holiday-in-range):
3649 Move here from cal-tex-list-holidays.
3650 * calendar/cal-tex.el (cal-tex-list-holidays):
3651 Make it an obsolete alias for holiday-in-range. Update all callers.
3652
fef9d149 36532012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3654
3655 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3656 Nextstep.
3657
248da2f4
RW
36582012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3659
3660 * files.el (file-auto-mode-skip): New var.
3661 (set-auto-mode-1): Use it.
3662
f95e9344
SM
36632012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3664
df96ab1e
SM
3665 * repeat.el: Use lexical-binding.
3666 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3667 (repeat-undo-count): Remove.
3668 (repeat):
3669 * progmodes/octave-mod.el (octave-abbrev-start):
3670 * progmodes/f90.el (f90-abbrev-start):
3671 * face-remap.el (text-scale-adjust):
3672 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3673
5342bb06
SM
3674 * emacs-lisp/pcase.el (pcase--let*): New function.
3675 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3676 a bit more.
3677 (pcase--split-pred): Be more clever about ruling out overlap between
3678 a predicate and some constant pattern.
3679 (pcase--q1): Use `null' instead of (eq foo nil).
3680
f95e9344
SM
3681 * subr.el (setq-local, defvar-local): New macros.
3682 (kbd): Redefine as an alias.
3683 (with-selected-window): Leave unrelated frames alone.
3684 (set-temporary-overlay-map): New function.
3685
71873e2b
SM
36862012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * subr.el (user-error): New function.
3689 * window.el (switch-to-buffer):
3690 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3691 (smerge-match-conflict):
3692 * simple.el (previous-matching-history-element)
3693 (next-matching-history-element, goto-history-element, undo-more)
3694 (undo-start):
3695 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3696 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3697 (next-file, tags-loop-scan, list-tags, complete-tag):
3698 * progmodes/compile.el (compilation-loop):
3699 * mouse.el (mouse-minibuffer-check):
3700 * man.el (Man-bgproc-sentinel, Man-goto-page):
3701 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3702 (Info-history-forward, Info-follow-reference, Info-menu)
3703 (Info-extract-menu-item, Info-extract-menu-counting)
3704 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3705 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3706 (Info-next-reference, Info-prev-reference, Info-index)
3707 (Info-index-next, Info-follow-nearest-node)
3708 (Info-copy-current-node-name):
3709 * imenu.el (imenu--make-index-alist)
3710 (imenu-default-create-index-function, imenu-add-to-menubar):
3711 * files.el (basic-save-buffer, recover-file):
3712 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3713 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3714 (checkdoc-message-text, checkdoc-defun):
3715 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3716 * cus-edit.el (customize-changed-options, customize-rogue)
3717 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3718 (custom-variable-mark-to-reset-standard)
3719 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3720 (custom-file):
3721 * completion.el (check-completion-length):
3722 * comint.el (comint-search-arg)
3723 (comint-previous-matching-input-string-position)
3724 (comint-previous-matching-input)
3725 (comint-replace-by-expanded-history-before-point, comint-send-input)
3726 (comint-copy-old-input, comint-backward-matching-input)
3727 (comint-goto-process-mark, comint-set-process-mark):
3728 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3729 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3730
8a61ee22
SM
37312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3732
66408d1e
SM
3733 * dabbrev.el (dabbrev--ignore-case-p): New function.
3734 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3735 Use it.
3736
8a61ee22
SM
3737 * files.el (automount-dir-prefix): Mark as obsolete.
3738
3c74813a
GM
37392012-05-04 Glenn Morris <rgm@gnu.org>
3740
3741 * patcomp.el, play/bruce.el: Move to obsolete/.
3742
0bfcf5c5
PE
37432012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3744
3745 Fix minor Y10k bugs.
3746 * arc-mode.el (archive-unixdate):
3747 * autoinsert.el (auto-insert-alist):
3748 * calc/calc-forms.el (math-this-year):
3749 * emacs-lisp/copyright.el (copyright-current-year)
3750 (copyright-update-year, copyright):
3751 * tar-mode.el (tar-clip-time-string):
3752 * time.el (display-time-update):
3753 Don't assume years have 4 digits.
3754
78f3273a
CY
37552012-05-04 Chong Yidong <cyd@gnu.org>
3756
3757 * dos-w32.el (file-name-buffer-file-type-alist)
3758 (direct-print-region-use-command-dot-com):
3759 * ffap.el (ffap-menu-regexp):
3760 * find-file.el (ff-special-constructs):
3761 * follow.el (follow-debug):
3762 * forms.el (forms--debug):
3763 * iswitchb.el (iswitchb-all-frames):
3764 * ido.el (ido-all-frames):
3765 * emacs-lisp/timer.el (timer-max-repeats):
3766 * mail/feedmail.el (feedmail-mail-send-hook)
3767 (feedmail-mail-send-hook-queued):
3768 * mail/footnote.el (footnote-signature-separator):
3769 * mail/mailabbrev.el (mail-alias-separator-string)
3770 (mail-abbrev-mode-regexp):
3771 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3772 * progmodes/idlwave.el (idlwave-libinfo-file)
3773 (idlwave-default-completion-case-is-down)
3774 (idlwave-library-routines): Convert defvars to defcustoms.
3775
3776 * mail/rmail.el (rmail-decode-mime-charset):
3777 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3778 (idlwave-shell-fix-inserted-breaks)
3779 (idlwave-shell-activate-alt-keybindings)
3780 (idlwave-shell-use-breakpoint-glyph):
3781 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3782
f7ae6719
SM
37832012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3784
3785 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3786
47086495
WS
37872012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3788
3789 * progmodes/verilog-mode.el (font-lock-keywords):
3790 Fix mis-highligting auto. Reported by Craig Barner.
3791 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3792 defines from global name space. Reported by Dan Dever.
3793 (verilog-auto-reset, verilog-auto-reset-widths)
3794 (verilog-auto-tieoff): Support using unbased numbers for
3795 AUTORESET and AUTOTIEOFF.
3796 (verilog-submit-bug-report): Update variable list.
3797 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3798 parenthesis from not matching. Reported by Michael Rytting.
3799 (verilog-auto-template-lint): Fix hash error when linting modules
3800 with no used templates.
3801 (verilog-warn, verilog-warn-error)
3802 (verilog-warn-fatal): When non-interactive report multiple
3803 warnings before exiting. Suggested by Brad Dobbie.
3804 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3805 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3806 to report unused template errors. Reported by Brad Dobbie.
3807 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3808 nets, bug438. Reported by Vns Blore.
3809 (verilog-auto-inout-module, verilog-auto-reg)
3810 (verilog-read-decls, verilog-read-sub-decls-sig)
3811 (verilog-signals-edit-wire-reg, verilog-signals-with):
3812 Fix passing of Verilog data types in ANSI input/output ports
3813 such as "output logic" into the AUTOs. Special case "wire" and
3814 "reg" for backwards compatibility presuming Verilog 2001.
3815 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3816 (verilog-preprocess): Fix replication of preprocess output.
3817 Reported by Brad Dobbie.
3818 (verilog-auto-inst-interfaced-ports):
3819 Create verilog-auto-inst-interfaced-ports, bug429.
3820 Reported by Julian Gorfajn.
3821 (verilog-after-save-font-hook)
3822 (verilog-before-save-font-hook): New variable.
3823 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3824 (verilog-save-font-mods): Wrap disabling fontification, reported
3825 by David Rogoff.
3826 (verilog-do-indent, verilog-pretty-declarations-auto)
3827 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3828 Reported by Pierre-David Pfister.
3829 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3830 of class declarations, bug292. Reported by Kevin Heilman.
3831 (verilog-read-decls): Fix 'parameter type' not appearing in
3832 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3833 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3834 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3835 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3836 Reported by David Kravitz.
3837
38382012-05-03 Michael McNamara <mac@mail.brushroad.com>
3839
3840 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3841 assignment with tests in ifs and for loops.
3842 (verilog-extended-complete-re, verilog-complete-reg): Change so
3843 that DPI inport functions don't look like fuction declarations.
3844 (verilog-pretty-expr): Don't line up assignment
3845 operations to the test and increment in if and for loops
3846 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3847 that DPI inport functions don't look like fuction declarations.
47086495 3848
2e51d4b5
KH
38492012-05-03 Kenichi Handa <handa@m17n.org>
3850
3851 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3852 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3853 (Bug#11282).
3854
2bd785a2
SM
38552012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * emacs-lisp/bytecomp.el
3858 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3859 since cconv.el might have introduced :fun-body, internal-make-closure,
3860 and friends for bytecomp to handle (bug#11391).
3861 * custom.el (defcustom): Avoid ((λ ..) ..).
3862
99d27583
SM
38632012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3866
55a71479
JB
38672012-05-02 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * notifications.el (dbus-debug):
3870 * term/linux.el (gpm-mouse-enable):
3871 * term/screen.el (xterm-register-default-colors): Declare.
3872
7b97c764
CY
38732012-05-02 Chong Yidong <cyd@gnu.org>
3874
2bc356d7
CY
3875 * cus-start.el (gc-cons-percentage, exec-suffixes)
3876 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3877 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3878 (make-cursor-line-fully-visible, void-text-area-pointer)
3879 (font-list-limit): Add customization data.
3880
7b97c764
CY
3881 * allout.el (allout-exposure-change-functions)
3882 (allout-structure-added-functions)
3883 (allout-structure-deleted-functions)
3884 (allout-structure-shifted-functions): Rename abnormal hooks from
3885 *-hook, and convert to defcustoms.
5d3385a0
JB
3886 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3887 Convert to defcustoms.
7b97c764
CY
3888 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3889
3890 * allout-widgets.el: Hook callers changed.
3891
90207a15 38922012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3893
3894 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3895 the yanked message in preference to the default value of
3896 buffer-file-coding-system.
3897
90207a15 38982012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3899
5d3385a0
JB
3900 * window.el (display-buffer--action-function-custom-type):
3901 Fix entry.
d9558cad 3902
90207a15 39032012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3904
3905 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3906
d80ac57b
GM
39072012-05-01 Glenn Morris <rgm@gnu.org>
3908
976f7668
GM
3909 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3910
beb83b5a
GM
3911 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3912
d80ac57b
GM
3913 * cus-edit.el (custom-variable-documentation): Simplify with format.
3914
b593d6a9 39152012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 3916 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
3917
3918 * simple.el (suggest-key-bindings, execute-extended-command):
3919 Move from keyboard.c.
3920
782fbf2a
CY
39212012-05-01 Chong Yidong <cyd@gnu.org>
3922
3923 * follow.el: Eliminate advice.
3924 (set-process-filter, process-filter, sit-for): Advice deleted.
3925 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3926 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3927 Vars deleted.
782fbf2a
CY
3928 (follow-auto): Use a :set function.
3929 (follow-mode): Rewritten. Don't advise process filters.
3930 (follow-switch-to-current-buffer-all, follow-scroll-up)
3931 (follow-scroll-down): Assume follow-mode is bound.
3932 (follow-comint-scroll-to-bottom)
3933 (follow-align-compilation-windows): New functions.
3934 (follow--window-sorter): New function.
3935 (follow-all-followers): Use it to explicitly sort windows by their
3936 positions; don't make assumptions about next-window order.
3937 (follow-windows-start-end, follow-delete-other-windows-and-split)
3938 (follow-calc-win-start): Doc fix.
3939 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3940 vertical-motion unnecessarily.
3941 (follow-adjust-window): New function.
3942 (follow-post-command-hook): Use it.
3943 (follow-call-set-process-filter, follow-call-process-filter)
3944 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3945 (follow-stop-intercept-process-output, follow-generic-filter):
3946 Functions deleted.
3947 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3948 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3949 New functions, replacing advice on scroll-bar-* commands.
87233a14 3950 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3951
3952 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3953 (comint-postoutput-scroll-to-bottom): Use it.
3954 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3955
290af740
GM
39562012-05-01 Glenn Morris <rgm@gnu.org>
3957
3958 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3959 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3960 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3961 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3962 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3963 Remove no-byte-compile setting.
3964
6eac8dc9
SM
39652012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3968 all-completions code to not return a number in the last cdr.
3969
9cc7819c
LL
39702012-04-30 Leo Liu <sdl.web@gmail.com>
3971
3972 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3973 read-only error.
3974
c93b886f
CY
39752012-04-29 Chong Yidong <cyd@gnu.org>
3976
3977 * follow.el (follow-calc-win-end): Rewrite to handle partial
3978 screen lines correctly (Bug#8390).
3979 (follow-avoid-tail-recenter): Minor cleanup.
3980
8b6c19f4
SM
39812012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3982
3983 Avoid the obsolete `assoc' package.
3984 * speedbar.el (speedbar-refresh): Avoid adelete.
3985 (speedbar-file-lists): Simplify and avoid aput.
3986 * man.el (Man--sections, Man--refpages): New vars, replacing
3987 Man-sections-alist and Man-refpages-alist.
3988 (Man-build-section-alist, Man-build-references-alist):
3989 Use them; avoid aput.
3990 (Man--last-section, Man--last-refpage): New vars.
3991 (Man-follow-manual-reference): Use them.
3992 Use the `default' arg of completing-read.
3993 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
3994
c5bb7569
CY
39952012-04-27 Chong Yidong <cyd@gnu.org>
3996
d1d2e2e8
CY
3997 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
3998
15cd8efd
CY
3999 * startup.el (x-apply-session-resources): New function.
4000
4001 * term/ns-win.el (ns-initialize-window-system):
4002 * term/w32-win.el (w32-initialize-window-system):
4003 * term/x-win.el (x-initialize-window-system): Use it to properly
4004 set menu-bar-mode and other vars from X resources, even if the
4005 initial frame is not a window-system frame (Bug#2299).
4006
c5bb7569
CY
4007 * subr.el (read-key): Avoid running filter function when setting
4008 up temporary tool bar entries (Bug#9922).
4009
a8e7d6d7 40102012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4011
4012 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4013 (Bug#11344)
4014
a8e7d6d7 40152012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4016
4017 * select.el (xselect--encode-string): New function, split from
4018 xselect-convert-to-string.
4019 (xselect-convert-to-string): Use it.
4020 (xselect-convert-to-filename, xselect-convert-to-os)
4021 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4022 returned strings are properly encoded (Bug#11315).
4023
a8e7d6d7 40242012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4025
4026 * simple.el (delete-active-region): Move to killing custom group.
4027
a8e7d6d7 40282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4029
4030 * progmodes/which-func.el (which-func-current): Quote %
4031 characters for mode-line processing.
4032
578c1d4b 40332012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4034
4035 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4036 reaching eob (Bug#11286).
4037
a8e7d6d7 40382012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4039
4040 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4041 (gdb): Make it buffer-local and init to zero.
4042 (gdb-control-commands-regexp): New variable.
4043 (gdb-send): Don't wrap in "-interpreter-exec console" if
4044 gdb-control-level is positive. Increment gdb-control-level
4045 whenever the command matches gdb-control-commands-regexp, and
4046 decrement it each time the command is "end". (Bug#11279)
4047
a8e7d6d7 40482012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4049
4050 * window.el (adjust-window-trailing-edge, enlarge-window)
4051 (shrink-window, window-resize):
4052 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4053 windows (Bug#11276).
4054
b3608390
CY
40552012-04-27 Chong Yidong <cyd@gnu.org>
4056
4057 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4058 fix "missing prefix" warning. All callers changed.
b3608390 4059
797e6e88
SM
40602012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * emacs-lisp/assoc.el: Move to obsolete/.
4063
e95a67dc
SM
40642012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4065
657c21e4 4066 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4067
4068 * term/ns-win.el (ns-define-service):
4069 * progmodes/pascal.el (pascal-goto-defun):
4070 * progmodes/js.el (js--read-tab):
4071 * progmodes/etags.el (tags-lazy-completion-table):
4072 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4073 * emacs-lisp/ewoc.el (ewoc--wrap):
4074 * emacs-lisp/assoc.el (aput, adelete, amake):
4075 * doc-view.el (doc-view-convert-current-doc):
4076 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4077
cb3e7ae0
CY
40782012-04-26 Chong Yidong <cyd@gnu.org>
4079
dce04f7f
CY
4080 * image.el (image-type-from-buffer): Only return supported image
4081 type (Bug#9045).
4082
cb3e7ae0
CY
4083 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4084 value, for symmetry with diff-end-of-hunk.
4085 (diff-split-hunk, diff-find-source-location)
4086 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4087 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4088 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4089 compute the relevant hunk or file properly (Bug#6005).
4090 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4091
0d42eb3e
SM
40922012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 * vc/vc-mtn.el:
4095 * vc/vc-hg.el:
4096 * vc/vc-git.el:
4097 * vc/vc-dir.el:
4098 * vc/vc-cvs.el:
4099 * vc/vc-bzr.el:
4100 * vc/vc-arch.el:
4101 * vc/vc.el: Replace lexical-let by lexical-binding.
4102 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4103 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4104 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4105
f08ae1c9
CY
41062012-04-26 Chong Yidong <cyd@gnu.org>
4107
8b71081d
CY
4108 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4109 (diff-mode-shared-map): Bind it to / and [remap undo].
4110
f08ae1c9
CY
4111 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4112 (ediff-window-setup-function): Use it as the default, to set up
4113 windows based on whether the current frame is graphical (Bug#2138).
4114 (ediff-choose-window-setup-function-automatically): Make obsolete.
4115
4116 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4117
ef24141c
SM
41182012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4119
cc356a5d
SM
4120 * ffap.el: Remove old code for obsolete package.
4121 (ffap-complete-as-file-p): Remove.
4122
b4ff4f1f
SM
4123 Use completion-table-with-quoting for comint and pcomplete.
4124 * comint.el (comint--unquote&requote-argument)
4125 (comint--unquote-argument, comint--requote-argument): New functions.
4126 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4127 (comint-quote-filename): Use regexp-opt-charset.
4128 (comint--common-suffix, comint--common-quoted-suffix)
4129 (comint--table-subvert): Remove.
4130 (comint-unquote-function, comint-requote-function): New vars.
4131 (comint--complete-file-name-data): Use them with
4132 completion-table-with-quoting.
4133 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4134 * pcomplete.el (pcomplete-arg-quote-list)
4135 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4136 (pcomplete-unquote-argument-function): Default to non-nil.
4137 (pcomplete-unquote-argument): Simplify.
4138 (pcomplete--common-quoted-suffix): Remove.
4139 (pcomplete-requote-argument-function): New var.
4140 (pcomplete--common-suffix): New function.
4141 (pcomplete-completions-at-point): Use completion-table-with-quoting
4142 and completion-table-subvert.
4143
79c4eeb4
SM
4144 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4145 (minibuffer--double-dollars): Preserve properties.
4146 (completion--sifn-requote): New function.
4147 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4148
ef24141c
SM
4149 * minibuffer.el: Add support for completion of quoted/escaped data.
4150 (completion-table-with-quoting, completion-table-subvert): New funs.
4151 (completion--twq-try, completion--twq-all): New functions.
4152 (completion--nth-completion): New function.
4153 (completion-try-completion, completion-all-completions): Use it.
4154
784e7d6e
LL
41552012-04-25 Leo Liu <sdl.web@gmail.com>
4156
dd2ac746
SM
4157 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4158 Use compilation-message if available to find real filename.
784e7d6e 4159
07875ee7
CY
41602012-04-25 Chong Yidong <cyd@gnu.org>
4161
4162 * vc/diff-mode.el (diff-setup-whitespace): New function.
4163 (diff-mode): Use it.
4164
4165 * vc/diff.el (diff-sentinel):
4166 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4167 Whitespace mode variables based on diff style (Bug#8612).
4168
5055880d
LL
41692012-04-25 Leo Liu <sdl.web@gmail.com>
4170
daf75653
LL
4171 * progmodes/python.el (python-send-region): Add suffix .py to the
4172 temp file.
4173
5055880d
LL
4174 * files.el (auto-mode-alist): Use javascript-mode instead.
4175
db9b177b
AH
41762012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4177
ef24141c 4178 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4179
090bd7cb 4180 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4181 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4182 references, see Bug#9.
ef24141c 4183 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4184 when receiving a fault reply.
ef24141c 4185 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4186
090bd7cb 4187 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4188 (soap-inspect-simple-type): New function.
db9b177b 4189
090bd7cb 4190 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4191 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4192 (soap-decode-basic-type, soap-encode-basic-type):
4193 support unsignedInt and double basic types.
db9b177b 4194 (soap-resolve-references-for-simple-type)
ef24141c
SM
4195 (soap-parse-simple-type, soap-encode-simple-type): New function.
4196 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4197
090bd7cb 4198 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4199 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4200 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4201 the local name of "soapenc:Array".
4202 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4203 decoding integer, byte and anyURI xsd types.
4204
1fc6097b
CY
42052012-04-25 Chong Yidong <cyd@gnu.org>
4206
4207 * cus-edit.el (custom-buffer-create-internal): Update header text.
4208
afc6df87
EZ
42092012-04-25 Eli Zaretskii <eliz@gnu.org>
4210
4211 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4212 settings on 'system-type', not on 'window-system'. On MS-Windows,
4213 set interactive-mode on in GDB.
4214
dfbd787f
SM
42152012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4218 (ruby-syntax-propertize-regexp): Remove.
4219 (ruby-syntax-propertize-function): Split regexp into chunks.
4220 Match following code directly.
4221
85222d44
DG
42222012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4223
51a8ea2a
DG
4224 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4225 (ruby-syntax-propertize-regexp): New function.
4226 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4227 by a special keyword.
4228
85222d44
DG
4229 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4230 (ruby-syntax-general-delimiters-goto-beg)
4231 (ruby-syntax-propertize-general-delimiters): New functions.
4232 (ruby-syntax-propertize-function): Use them to handle GDL.
4233 (ruby-font-lock-keywords): Move old handling of GDL...
4234 (ruby-font-lock-syntactic-keywords): .. to here.
4235 (ruby-calculate-indent): Adjust indentation for GDL.
4236
b613912b
MA
42372012-04-24 Michael Albinus <michael.albinus@gmx.de>
4238
b5380639
MA
4239 * notifications.el (top): Remove unneeded declarations.
4240 (notifications-specification-version): Change to "1.2".
e43042fe 4241 (notifications-interface, notifications-notify-method)
b613912b
MA
4242 (notifications-close-notification-method): Fix docstring.
4243 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4244 (notifications-notify): Add :action-items, :resident and
4245 :transient hints. Change "image_data" to "image-data" and
4246 "image_path" to "image-path".
b613912b
MA
4247 (notifications-get-capabilities): New defun.
4248
257440aa
LL
42492012-04-24 Leo Liu <sdl.web@gmail.com>
4250
4251 * progmodes/python.el: Move hideshow setup to the end.
4252
b1bac16e
MR
42532012-04-24 Martin Rudalics <rudalics@gmx.at>
4254
4255 * window.el (handle-select-window): Clear echo area since this is
4256 no more done by read_char (Bug#11304).
4257
d81bd059
SM
42582012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4260 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4261 and `/ M' to filter-derived-mode.
4262 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4263 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4264 (ibuffer-mark-by-mode): Use default rather than initial-input.
4265 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4266
c4cf6d91
IA
42672012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4268
4269 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4270 (ibuffer-filter-by-derived-mode): New filter.
4271 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4272
7511ded8
CY
42732012-04-23 Andreas Politz <politza@fh-trier.de>
4274
4275 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4276
775c916b
CY
42772012-04-23 Chong Yidong <cyd@gnu.org>
4278
4279 * cus-edit.el (customize-apropos, customize-apropos-options):
4280 Disable matching of non-option variables (Bug#11176).
4281 (customize-option, customize-option-other-window)
4282 (customize-changed-options): Doc fix.
4283 (customize-apropos-options, customize-apropos-faces)
4284 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4285
4286 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4287 Fix word list splitting (Bug#11132).
46c71e23
CY
4288 (apropos-symbol, apropos-keybinding, apropos-label)
4289 (apropos-property, apropos-function-button)
4290 (apropos-variable-button, apropos-misc-button): New faces.
4291 (apropos-symbol-face, apropos-keybinding-face)
4292 (apropos-label-face, apropos-property-face, apropos-match-face):
4293 Variables removed (Bug#8396).
4294 (apropos-library-button, apropos-format-plist, apropos-print)
4295 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4296
2df41f9c
MA
42972012-04-23 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * net/xesam.el (xesam-mode-map): Use let-bound map in
4300 initialization. (Bug#11292)
4301
da00640a
AM
43022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4303
4304 Preserve ispell session localwords when switching back to
4305 original buffer.
4306
090bd7cb
JB
4307 * textmodes/ispell.el (ispell-buffer-session-localwords):
4308 New buffer-local variable to hold buffer session localwords.
ed9265fc 4309 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4310 localwords.
4311 (ispell-command-loop, ispell-change-dictionary)
4312 (ispell-buffer-local-words): Preserve session localwords when
4313 needed.
4314
090bd7cb
JB
4315 * textmodes/flyspell.el (flyspell-process-localwords)
4316 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4317
f621ccf5
AM
43182012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4319
090bd7cb
JB
4320 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4321 using obsolete `translation-table-for-input'.
ef24141c
SM
4322 (ispell-word, ispell-process-line, ispell-complete-word):
4323 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4324
c2d1019e
CY
43252012-04-22 Chong Yidong <cyd@gnu.org>
4326
4327 * cus-edit.el (custom-variable-menu)
4328 (custom-variable-reset-saved, custom-face-menu)
4329 (custom-face-reset-saved): If there is no saved value, make the
4330 "reset-saved" operation bring back the default (Bug#9509).
4331 (custom-face-state): Properly detect themed faces.
4332
eeddc531
CY
4333 * faces.el (face-spec-set): Stop supporting deprecated form of
4334 third arg.
4335
dcbf5805
MA
43362012-04-22 Michael Albinus <michael.albinus@gmx.de>
4337
4338 Move functions from C to Lisp. Make non-blocking method calls
4339 the default. Implement further D-Bus standard interfaces.
4340
ef24141c
SM
4341 * net/dbus.el (dbus-message-internal): Declare function.
4342 Remove unneeded function declarations.
dcbf5805
MA
4343 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4344 (dbus-message-type-method-return, dbus-message-type-error)
4345 (dbus-message-type-signal): Declare variables. Remove local
4346 definitions.
4347 (dbus-interface-dbus, dbus-interface-peer)
4348 (dbus-interface-introspectable, dbus-interface-properties)
4349 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4350 Adapt docstring.
4351 (dbus-interface-objectmanager): New defconst.
4352 (dbus-call-method, dbus-call-method-asynchronously)
4353 (dbus-send-signal, dbus-method-return-internal)
4354 (dbus-method-error-internal, dbus-register-service)
4355 (dbus-register-signal, dbus-register-method): New defuns, moved
4356 from dbusbind.c
4357 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4358 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4359 New defuns.
dcbf5805
MA
4360 (dbus-call-method-non-blocking): Make it an obsolete function.
4361 (dbus-unregister-object, dbus-unregister-service)
4362 (dbus-handle-event, dbus-register-property)
4363 (dbus-property-handler): Obey the new structure of
4364 `bus-registered-objects'.
4365 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4366 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4367 Use `dbus-call-method'.
4368
cf20dee0
CY
43692012-04-22 Chong Yidong <cyd@gnu.org>
4370
4371 * cus-edit.el (custom-commands, custom-reset-menu)
4372 (Custom-reset-standard): Tweak labels.
4373 (custom-reset-button-menu): Change default to t.
4374 (custom-buffer-create-internal): For the custom-reset-button-menu
4375 case, put the revert button first.
4376 (custom-group-subtitle): New face.
4377 (custom-group-value-create): Align docstring to a specific column.
4378
4379 * wid-edit.el (widget-documentation-link-add): Don't handle
4380 indentation in this function.
4381 (widget-documentation-string-indent-to): New function.
4382 (widget-documentation-string-value-create): Use it.
4383
4384 * autorevert.el (auto-revert):
4385 * epg-config.el (epg):
4386 * ibuffer.el (ibuffer):
4387 * mpc.el (mpc):
4388 * ses.el (ses):
4389 * eshell/eshell.el (eshell):
4390 * net/ange-ftp.el (ange-ftp):
4391 * progmodes/ebnf2ps.el (postscript):
4392 * progmodes/flymake.el (flymake):
4393 * progmodes/prolog.el (prolog):
4394 * progmodes/verilog-mode.el (verilog-mode):
4395 * progmodes/which-func.el (which-func):
4396 * term/xterm.el (xterm):
4397 * textmodes/picture.el (picture):
4398 * textmodes/tildify.el (tildify):
4399 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4400 customization buffers.
4401
583e23bd
AM
44022012-04-22 Alan Mackenzie <acm@muc.de>
4403
4404 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4405 Adding a ) can hide the resulting (..) from searches. Fix it.
4406 Bound the backward search to the position of the existing (.
4407
7dd51bf1
JB
44082012-04-21 Juanma Barranquero <lekktu@gmail.com>
4409
4410 * progmodes/verilog-mode.el (verilog-mode): Check whether
4411 which-func-modes is t before adding verilog-mode.
4412 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4413
d64a438f
LL
44142012-04-21 Leo Liu <sdl.web@gmail.com>
4415
7dd51bf1 4416 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4417
081e8d65
MV
44182012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4419
4420 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4421 filling of the last column of a table (Bug#5635).
4422 (woman-find-next-control-line): New arg, specifying an additional
4423 regexp component for the control line.
4424 (woman2-roff-buffer): Use it.
4425 (woman-break-table): New function.
4426 (woman2-TS): Use it.
4427
44282012-04-21 Chong Yidong <cyd@gnu.org>
4429
4430 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4431 (woman-horizontal-escapes, woman-negative-vertical-space)
4432 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4433 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4434
ed571ccb
SM
44352012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * minibuffer.el (completion-file-name-table): Complete user names.
4438
39773899
LL
44392012-04-20 Leo Liu <sdl.web@gmail.com>
4440
4441 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4442 and pcase-let*.
4443
de6ff46d
CY
44442012-04-20 Chong Yidong <cyd@gnu.org>
4445
4446 * server.el (server-execute): Respect initial-buffer-choice if it
4447 is a string and there are no files to open (Bug#2825).
4448 (server-create-window-system-frame, server-create-tty-frame):
4449 Don't switch buffers here.
2d0e8e61
CY
4450 (server-process-filter): Only try to open a window system frame if
4451 compiled with graphical support (Bug#8314).
de6ff46d 4452
54071013
DN
44532012-04-20 Dan Nicolaescu <dann@gnu.org>
4454
4455 * battery.el (battery-echo-area-format): Display remaining time
4456 for sysfs backend too (Bug#11269).
4457 (battery-linux-sysfs): Fix conditional for the charge.
4458
f30d612a
CY
44592012-04-20 Chong Yidong <cyd@gnu.org>
4460
c07a4c0b 4461 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4462 (gdb-inferior-io--init-proc): New function.
4463 (gdb-init-1): Use it.
4464 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4465 responsible for allocating a new pty and hooking it to gdb when
4466 the old pty gets an EIO due to process exit.
4467 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4468 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4469 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4470
2116e93c
EZ
44712012-04-20 Eli Zaretskii <eliz@gnu.org>
4472
4473 * window.el (window-min-size, window-sizable, window-min-delta)
4474 (window-max-delta, window--resizable, window-resizable)
4475 (window-total-size, window-full-height-p, window-full-width-p)
4476 (window-in-direction, window--resize-mini-window, window-resize)
4477 (window--resize-child-windows-normal)
4478 (window--resize-child-windows, window--resize-siblings)
4479 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4480 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4481
c07a4c0b 44822012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4483
ef24141c
SM
4484 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4485 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4486 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4487 pty process (Bug#11273).
4488 (gdb-update): New arg to suppress talking to the gdb process.
4489 (gdb-done-or-error): Use it.
4490 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4491 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4492 sentinel not being called.
4493
4494 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4495
d02766ab
CY
4496 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4497
c07a4c0b 44982012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4499
4500 * net/network-stream.el (open-network-stream): Doc fix.
4501
c07a4c0b 45022012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4503
4504 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4505
c07a4c0b 45062012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4507
4508 Ensure searching for keywords is case sensitive.
4509
4510 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4511 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4512 (c-defun-name, c-mark-function, c-cpp-define-name)
4513 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4514 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4515
ef24141c
SM
4516 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4517 Bind case-fold-search to nil.
f0f6bc35 4518
c07a4c0b 45192012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4520
4521 * mail/sendmail.el (mail-bury): Call return action with the right
4522 Rmail buffer (Bug#11242).
4523
9a864fa2
CY
4524 * server.el (server-process-filter): Handle corner case where both
4525 tty and nowait options are present (Bug#11102).
4526
539aa513
EZ
45272012-04-20 Eli Zaretskii <eliz@gnu.org>
4528
4529 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4530 (top level): Put into the executable the ident-style '$Id:' tag on
4531 windows-nt as well.
539aa513 4532
cfc7d5da
SM
45332012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * electric.el (electric-indent-post-self-insert-function): Check that
4536 electric-indent-mode is enabled in current buffer.
4537
5b01685c
JB
45382012-04-19 Juanma Barranquero <lekktu@gmail.com>
4539
4540 * imenu.el (imenu-progress-message): Restore; it is "used" in
4541 erc/erc-imenu.el and net/snmp-mode.el.
4542
4d6769e1
JB
45432012-04-19 Juanma Barranquero <lekktu@gmail.com>
4544
4545 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4546 (mouse-avoidance-nudge-mouse): Remove unused binding.
4547
4548 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4549
4550 * descr-text.el (describe-char):
4551 * progmodes/python.el (python-describe-symbol):
4552 Don't call `toggle-read-only', set `buffer-read-only'.
4553
4554 * imenu.el (imenu-default-goto-function): Mark unused args.
4555 (imenu-progress-message): Remove obsolete macro; all callers changed.
4556
4557 * subr.el (keymap-canonicalize): Remove unused binding.
4558 (read-passwd): Mark unused arg.
4559
4560 * tutorial.el (tutorial--display-changes): Remove unused binding.
4561 (tutorial--save-tutorial-to): Remove unused variable.
4562
4563 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4564 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4565 (package-generate-autoloads, package-menu--generate)
4566 (package-menu--find-upgrades): Remove unused bindings.
4567
4568 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4569 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4570 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4571 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4572 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4573 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4574 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4575 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4576 (cua-delete-char-rectangle): Mark unused args.
4577 (cua-align-rectangle): Remove unused binding.
4578
4579 * mail/rmail.el (compilation--message->loc)
4580 (epa--find-coding-system-for-mime-charset): Declare.
4581
4582 * net/dbus.el (dbus-register-service): Declare.
4583 (dbus-name-owner-changed-handler): Remove unused binding.
4584
4585 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4586 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4587 (nxml-scan-backward-within): Mark unused arg.
4588 (nxml-dynamic-markup-word): Remove unused binding.
4589
4590 * mouse.el (mouse-menu-major-mode-map):
4591 * emacs-lisp/authors.el (authors-scan-change-log)
4592 (authors-add-to-author-list):
4593 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4594 * emacs-lisp/smie.el (smie-auto-fill):
4595 * mail/sendmail.el (mail-bury):
4596 * mail/unrmail.el (unrmail):
4597 * net/tls.el (open-tls-stream):
4598 * textmodes/picture.el (picture-mouse-set-point):
4599 Remove unused bindings.
4600
8c8fc5df
MA
46012012-04-19 Michael Albinus <michael.albinus@gmx.de>
4602
4603 * net/tramp.el (tramp-action-password): Let-bind
4604 `enable-recursive-minibuffers' to t.
4605
a77b0ac9
SS
46062012-04-18 Sam Steingold <sds@gnu.org>
4607
4608 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4609 instead of 'string to accommodate values like [f11].
4610 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4611 * progmodes/gdb-mi.el: Likewise.
4612
12a106a9
LL
46132012-04-18 Leo Liu <sdl.web@gmail.com>
4614
4615 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4616 current buffer.
4617 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4618 LOCAL is nil.
4619
bc6494ef
CY
46202012-04-18 Chong Yidong <cyd@gnu.org>
4621
4622 * simple.el (line-move): Use forward-line if in batch mode
4623 (Bug#11053).
4624
c09c46b2
CS
46252012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4626
4627 * files.el (after-find-file): Do not try to add a final newline if
4628 the buffer is read-only (Bug#11156).
4629
5f6530ea
RS
46302012-04-17 Richard Stallman <rms@gnu.org>
4631
4632 * mail/rmail.el (rmail-start-mail):
4633 Pass (rmail-mail-return...) for the return-action.
4634 Pass (rmail-yank-current-message...) for the yank-action.
4635 (rmail-yank-current-message): New function.
4636 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4637 (rmail-reply): Likewise.
4638 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4639
4640 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4641 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4642 buffer, not newbuf.
4643
197b6f3c
JB
46442012-04-17 Juanma Barranquero <lekktu@gmail.com>
4645
4646 * server.el (server-ensure-safe-dir): Simplify.
4647
2311d8e5 46482012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4649
2311d8e5
GM
4650 * emacs-lisp/smie.el: Provide smarter auto-filling.
4651 (smie-auto-fill): New function.
4652 (smie-setup): Use it.
98fb480e 4653
2311d8e5
GM
4654 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4655
46562012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4657
4658 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4659 (comment-indent): Use it.
4660
2311d8e5 46612012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4662
4663 * ses.el: The overall change is to add cell renaming, that is
4664 setting fancy names for cell symbols other than name matching
4665 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4666 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4667 (ses-create-cell-variable): New defun.
2311d8e5 4668 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4669 (ses-relocate-formula): Relocate formulas only for cells the
4670 symbols of which are not renamed, i.e. symbols whose names do not
4671 match regexp "\\`[A-Z]+[0-9]+\\'".
4672 (ses-relocate-all): Relocate values only for cells the symbols of
4673 which are not renamed.
4674 (ses-load): Create cells variables as the (ses-cell ...) are read,
4675 in order to check row col consistency with cell symbol name only
4676 for cells that are not renamed.
4677 (ses-replace-name-in-formula): New defun.
4678 (ses-rename-cell): New defun.
4bdf2ad2 4679
fc72b15c
PO
46802012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4681
4682 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4683 New option (bug#11118).
4684 (perl-calculate-indent): Respect it.
4685
12e10e61
GM
46862012-04-17 Glenn Morris <rgm@gnu.org>
4687
4688 * dired-aux.el (dired-mark-read-string): Doc fix.
4689
30009afd
DA
46902012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4691
4692 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4693 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4694
41f03f4d
GM
46952012-04-17 Glenn Morris <rgm@gnu.org>
4696
4697 * mouse.el (mouse-drag-track):
4698 * speedbar.el (speedbar-frame-mode):
4699 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4700
f45f90f3
LL
47012012-04-16 Leo Liu <sdl.web@gmail.com>
4702
4703 * progmodes/python.el: Trivial cleanup.
4704
94ee8db5
GM
47052012-04-16 Glenn Morris <rgm@gnu.org>
4706
121b8917
GM
4707 * vc/vc.el (vc-string-prefix-p):
4708 * vc/pcvs-util.el (cvs-string-prefix-p):
4709 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4710 * mpc.el (mpc-string-prefix-p):
4711 Make all of these into obsolete aliases for string-prefix-p.
4712 Update callers.
4713 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4714
1197ecfa
GM
4715 * textmodes/two-column.el: Move custom options to the start.
4716 (frame-width): Remove compat definition.
4717 (2C-associate-buffer, 2C-dissociate):
4718 Use with-current-buffer rather than save-excursion.
4719 (2C-dissociate): Force a mode-line update.
4720 (2C-autoscroll): Use ignore-errors.
4721
099e7202
GM
4722 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4723 Autoload trivia.
4724
bf350d6a
GM
4725 * emacs-lisp/cl-extra.el (*random-state*):
4726 Remove unnecessary declaration.
4727
0e829eab
GM
4728 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4729
e3ad7552
GM
4730 * play/cookie1.el (cookie-snarf):
4731 Give an explicit error if input file cannot be read.
4732
68892d27
GM
4733 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4734
20f0c46d
GM
4735 * progmodes/perl-mode.el (c-macro-expand):
4736 Remove unnecessary autoload (it is in loaddefs.el).
4737
5a0978ce
GM
4738 * textmodes/picture.el (picture-desired-column)
4739 (picture-update-desired-column): Convert comments to doc-strings.
4740 (picture-substitute): Remove function.
4741 (picture-mode-map): Initialize in the defvar.
4742
6b955486
GM
4743 * woman.el: Remove eval-after-load for tar-mode.
4744 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4745 (woman-tar-extract-file): Autoload it.
4746
94ee8db5
GM
4747 * frame.el (automatic-hscrolling): Make this alias obsolete.
4748
177eca34
AM
47492012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4750
090bd7cb 4751 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4752 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4753 (ispell-dictionary-base-alist): Revert to original XEmacs
4754 friendly version for default. [:alpha:] will be added in
090bd7cb 4755 `ispell-set-spellchecker-params' if needed.
177eca34 4756
c505aaeb
CY
47572012-04-16 Chong Yidong <cyd@gnu.org>
4758
b19dd9d1 4759 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4760 (imagemagick-register-types): Use it.
4761 (imagemagick-types-inhibit): Add :set function. Allow new value
4762 of t to inhibit all types.
4763
4764 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4765 so we can preload it.
4766
4767 * loadup.el (fboundp): Preload regexp-opt, needed by
4768 imagemagick-register-types.
4769
60efac0f
CY
47702012-04-15 Chong Yidong <cyd@gnu.org>
4771
4772 * frame.el (scrolling): Remove nearly unused customization group.
4773
4774 * scroll-all.el (scroll-all-mode): Move to windows group.
4775
5dd1713e
CY
47762012-04-15 Chong Yidong <cyd@gnu.org>
4777
4778 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4779
e6fd457e
CY
47802012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4783 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4784
e153c136
GM
47852012-04-15 Glenn Morris <rgm@gnu.org>
4786
4787 * simple.el (process-file-side-effects): Doc fix.
4788
e6fd457e 47892012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4790
4791 * international/mule-cmds.el (set-language-environment): Doc fix.
4792
3603c3b1
JB
47932012-04-14 Juanma Barranquero <lekktu@gmail.com>
4794
4795 * server.el (server-auth-key, server-generate-key): Doc fixes.
4796 (server-get-auth-key): Doc fix. Use `string-match-p'.
4797 (server-start): Reflow docstring.
4798
e6de100c
LI
47992012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4800
4801 * server.el (server-generate-key): `called-interactively-p'
4802 requires a parameter.
4803
29734c21
MN
48042012-04-14 Michal Nazarewicz <mina86@mina86.com>
4805
4806 * server.el (server-auth-key): New variable.
75f1671a 4807 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4808 (server-start): Use the new variable and functions to allow
4809 setting a permanent server key (bug#9423).
4810
d65c9521
LL
48112012-04-14 Leo Liu <sdl.web@gmail.com>
4812
4813 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4814
5ae255c7
PE
48152012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4816
4817 Spelling fixes.
4818 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4819 Emacs uses American spelling.
4820
d5e6342e
JB
48212012-04-14 Juanma Barranquero <lekktu@gmail.com>
4822
4823 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4824 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4825 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4826 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4827
ab036cd7
SM
48282012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * progmodes/which-func.el (which-func-modes): Change default.
4831
35dc09a1 48322012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4833
4834 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4835 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4836
35dc09a1 48372012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4838
4839 * custom.el (custom-theme-set-variables): Doc fix.
4840
35dc09a1 48412012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4842
4843 * international/mule.el (set-auto-coding-for-load): Doc fix.
4844
35dc09a1 48452012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4846
35dc09a1
GM
4847 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4848 imenu work again for Objective C Mode. Correct the *-index values,
4849 these having been disturbed by a previous change in 2011-08.
57f845ee 4850
0de3da9f
AM
4851 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4852 Correct two search limits.
4853
35dc09a1 48542012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4855
4856 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4857
35dc09a1 48582012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4859
4860 * international/characters.el: Fix sorting.
4861
35dc09a1 48622012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4863
4864 * international/characters.el: Add more missing Latin case pairs.
4865
35dc09a1 48662012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4867
4868 * files.el (dir-locals-set-class-variables): Doc fix.
4869
35dc09a1 48702012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4871
3f1b5bf8
EZ
4872 * international/characters.el: Add set-case-syntax-pair call for
4873 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4874 counterpart. (Bug#11209)
4875
9f847f41
EZ
4876 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4877
35dc09a1 48782012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4879
4880 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4881
35dc09a1 48822012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4883
35dc09a1
GM
4884 * textmodes/ispell.el (ispell-dictionary-base-alist):
4885 Add data for Hebrew.
e2627d21 4886
35dc09a1 48872012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4888
35dc09a1
GM
4889 * net/rcirc.el (rcirc-cmd-quit):
4890 Revert 2012-03-18 change (Bug#11192).
5c14e333 4891
35dc09a1 48922012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4893
4894 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4895
35dc09a1 48962012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4897
4517fe3a
SM
4898 * minibuffer.el (completion-in-region-mode-map):
4899 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4900
b472a594
VD
49012012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4902
4903 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4904
09b95ce3
MY
49052012-04-13 Masatake YAMATO <yamato@redhat.com>
4906
4907 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4908 to allow `C-M-f' and `C-M-b' to move to the nearest path
4909 separator (bug#9511).
4910
4b63a9ca
LI
49112012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4912
4913 * avoid.el: Require cl when compiling. And also move the
4914 `provide' to the end.
4915
7b55b8bf
TV
49162012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4917
4918 * avoid.el (mouse-avoidance-banish-position): New variable.
4919 (mouse-avoidance-banish-destination): Use it (bug#10165).
4920
adedaa1f
LL
49212012-04-13 Leo Liu <sdl.web@gmail.com>
4922
4923 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4924
70e74021
KB
49252012-04-13 Ken Brown <kbrown@cornell.edu>
4926
4927 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4928 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4929 (browse-url-filename-alist): For the same reason, don't modify
4930 file:// URLs on Cygwin.
4931
e75e89ba
SM
49322012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4935 the region on shift if the binding is already shifted (bug#11221).
4936
82f289a4
GM
49372012-04-12 Glenn Morris <rgm@gnu.org>
4938
4939 * mail/mailpost.el: Move to obsolete/.
4940
d333dc4c
DA
49412012-04-12 Drew Adams <drew.adams@oracle.com>
4942
4943 * imenu.el (imenu--generic-function): Ignore invisible definitions
4944 (bug#10123).
4945
0d15b5ba
VD
49462012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4947
4948 * hexl.el (hexl-bits): New variable.
4949 (hexl-options): Mention the variable in the doc string.
75f1671a 4950 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4951 (hexl-mode): Mention the new variable.
75f1671a
JB
4952 (hexl-mode, hexl-current-address, hexl-current-address):
4953 Use the displen.
0d15b5ba
VD
4954 (hexl-ascii-start-column): New function.
4955 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4956 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4957
64a440db
AM
49582012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4959
4960 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4961 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4962 the encoding, as expected by hunspell.
4963
6decb6c2
SM
49642012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * battery.el (battery--linux-sysfs-regexp): New const.
4967 (battery-status-function): Use it. Remove yeeloong special case.
4968 (battery-yeeloong-sysfs): Remove.
4969 (battery-echo-area-format): Remove yeeloong special case.
4970
088be6fb
SM
49712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4972
6622e416
SM
4973 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4974 Reported by Noah Friedman.
4975
088be6fb
SM
4976 * subr.el (read-passwd): Use read-string.
4977
b49f886e
LMI
49782012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4979
4980 * vcursor.el (vcursor-move): Increase the priority of the overlay
4981 (bug#9663).
4982
a63067fc
DD
49832012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4984
4985 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4986 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4987
ac3cf14a
WS
49882012-04-11 William Stevenson <yhvh2000@gmail.com>
4989
4990 * textmodes/artist.el (artist-mode): Convert artist-mode to use
4991 define-minor-mode (bug#10760).
4992
c4fc691b 49932012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 4994
4d6769e1 4995 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
4996 that directories matching `grep-find-ignored-files' won't be
4997 pruned (bug#10351).
4998
af23e2e5
CY
49992012-04-11 Chong Yidong <cyd@gnu.org>
5000
5001 * startup.el (command-line): Remove support for long-obsolete
5002 variable font-lock-face-attributes.
5003
ab7ce8c1
GM
50042012-04-11 Glenn Morris <rgm@gnu.org>
5005
5006 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5007
de8c03dc
SM
50082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * window.el (window--state-get-1): Obey window-point-insertion-type.
5011
050cc68b
LB
50122012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5013
5014 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5015 to previous function when point is on the first character of a
75f1671a 5016 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5017
a38c310c
GM
50182012-04-11 Glenn Morris <rgm@gnu.org>
5019
effed0c2
GM
5020 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5021 not just file-errors.
5022
a38c310c
GM
5023 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5024 (vc-bzr-sha1): Use internal sha1.
5025
0221e323
SM
50262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5029
43956923
SG
50302012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5031
5032 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5033 that start in the middle of the line (bug#10496).
5034
6a8c9eaf
DN
50352012-04-10 Dan Nicolaescu <dann@gnu.org>
5036
5037 * battery.el (battery-linux-proc-acpi): Only one battery is
5038 discharged at a time, but that seems to confuse battery.el when
5039 computing `rate-type' for the battery not being discharged
5040 (bug#10332).
5041
1930bf5d
SM
50422012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5043
2a718f6f
SM
5044 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5045
599430d0
SM
5046 * international/quail.el: Use dolist and simplify.
5047 (quail-define-package, quail-update-keyboard-layout)
5048 (quail-define-rules): Use dolist.
5049 (quail-insert-kbd-layout, quail-get-translation): CSE.
5050
a2754b6c
SM
5051 * tmm.el: Use dolist, remove left over hook.
5052 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5053 Use dolist.
5054 (calendar-load-hook): Don't mess with it.
5055
1930bf5d
SM
5056 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5057 Use derived-mode-p. Run the diff asynchronously.
5058
9f67961c
LMI
50592012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5060
5061 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5062
2a8ce227
JB
50632012-04-10 Juanma Barranquero <lekktu@gmail.com>
5064
5065 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5066 (list-dynamic-libraries--loaded): New function.
5067 (list-dynamic-libraries--refresh): Use it.
5068
8f33b5f8
NW
50692012-04-10 Nathan Weizenbaum <nweiz@google.com>
5070
1930bf5d
SM
5071 * progmodes/python.el (python-fill-paragraph):
5072 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5073 disabled (bug#7018).
5074
b12f0439
L
50752012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5076
1930bf5d 5077 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5078 DOS/MS Windows for the Baltic languages. There are still plenty
5079 of texts written in this encoding/codepage (bug#6519).
b12f0439 5080
57c3bd01
GM
50812012-04-10 Glenn Morris <rgm@gnu.org>
5082
5083 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5084 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5085
6c3eab30
FA
50862012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5087
1930bf5d 5088 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5089 next-line "n" and previous-line "p" in order to make recentf more
5090 consistent with ibuffer, dired or org-mode (bug#9387).
5091
24d78a88
LMI
50922012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5093
bc72b5d9
LMI
5094 * image.el (put-image): Return the overlay created instead of the
5095 optional input string (bug#7834). Note that this may break code
5096 that is (for some reason or other) depending on `put-image'
5097 returning the string.
5098
bd2dba5a
LMI
5099 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5100
74beb59f
LMI
5101 * simple.el (zap-to-char): Allow zapping using input methods
5102 (bug#1580).
5103
24d78a88
LMI
5104 * textmodes/fill.el (fill-region): Leave point and mark where they
5105 were before filling (bug#5399).
5106
263f20cd
GM
51072012-04-09 Glenn Morris <rgm@gnu.org>
5108
5109 * version.el (emacs-bzr-get-version):
5110 Handle lightweight checkouts of local branches.
5111
58d1f797
AS
51122012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5113
263f20cd 5114 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5115
b4d3bc10
CY
51162012-04-09 Chong Yidong <cyd@gnu.org>
5117
5118 * custom.el (custom-variable-p): Return nil for non-symbol
5119 arguments instead of signaling an error.
5120 (user-variable-p): Obsolete alias for custom-variable-p.
5121
5122 * apropos.el (apropos-variable):
5123 * files-x.el (read-file-local-variable):
5124 * simple.el (set-variable):
5125 * woman.el (woman-mini-help):
5126 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5127
fd06db5d
GM
51282012-04-09 Glenn Morris <rgm@gnu.org>
5129
e5fcdb5e
GM
5130 * startup.el (normal-top-level): Don't look for leim-list.el
5131 in places where it will not be found. (Bug#910)
5132
fd06db5d
GM
5133 * international/mule-cmds.el (set-default-coding-systems):
5134 * files.el (normal-mode):
5135 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5136 This function was removed with ucs-tables.el in 2008.
5137
b39bb7e1
EZ
51382012-04-08 Eli Zaretskii <eliz@gnu.org>
5139
5140 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5141 ispell-encoding8-command to "-i", without a trailing space.
5142 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5143 separate command-line arguments, to specify the encoding, since
5144 that's how hunspell expects it.
5145
5c5b8e23
GM
51462012-04-08 Glenn Morris <rgm@gnu.org>
5147
5148 * loadup.el: Load bindings before cus-start.
5149 This reduces somewhat the number of "rogue" settings in emacs -Q.
5150
a1ed8b05
GM
51512012-04-07 Glenn Morris <rgm@gnu.org>
5152
5153 * version.el (emacs-bzr-get-version): New function.
dfae128a 5154 (emacs-bzr-version): New variable.
a1ed8b05
GM
5155 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5156 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5157
b142f158
EZ
51582012-04-07 Eli Zaretskii <eliz@gnu.org>
5159
dfae128a
GM
5160 * international/uni-bidi.el, international/uni-category.el:
5161 * international/uni-combining.el, international/uni-decimal.el:
5162 * international/uni-decomposition.el, international/uni-digit.el:
5163 * international/uni-lowercase.el, international/uni-mirrored.el:
5164 * international/uni-name.el, international/uni-numeric.el:
5165 * international/uni-titlecase.el, international/uni-uppercase.el:
5166 Update for Unicode 6.1.
b142f158 5167
9078ead6
EZ
51682012-04-07 Eli Zaretskii <eliz@gnu.org>
5169
5170 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5171
f23d2c7d
LMI
51722012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5173
5174 * window.el (shrink-window): Mention the `window-min-height'
5175 variable in the doc string.
5176
0a0a3573
BG
51772012-04-05 Bastien Guerry <bzg@altern.org>
5178
5179 * color.el (color-lighten-name): Fix typo.
5180
e5248ac9
SM
51812012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * server.el (server--on-display-p): New function.
5184 (server--on-display-p): Use it.
5185
b4243e22
GV
51862012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5187
5188 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5189 (bug#11145).
5190
305d9f44
SM
51912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5192
5193 * comint.el (comint--common-quoted-suffix): Check string boundary
5194 before comparing (bug#11158).
5195 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5196
3d439cd1
CY
51972012-04-04 Chong Yidong <cyd@gnu.org>
5198
321cc491
CY
5199 * minibuffer.el (completion-extra-properties): Doc fix.
5200
3d439cd1
CY
5201 * subr.el (delayed-warnings-hook): Doc fix.
5202
2d562c0f
DU
52032012-04-04 Daiki Ueno <ueno@unixuser.org>
5204
5205 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5206 selection (Bug#11159).
5207 (epa-insert-keys): Inform that the default public key will be
5208 exported if no key is selected.
5209
4443f204
RS
52102012-04-04 Richard Stallman <rms@gnu.org>
5211
5212 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5213
529c06b6
CY
52142012-04-03 Chong Yidong <cyd@gnu.org>
5215
5216 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5217 mail-insert-file, not its obsolete alias mail-attach-file.
5218
66b907dc
MA
52192012-04-03 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * notifications.el (notifications-notify): Fix docstring.
5222
c0ea195d
GM
52232012-04-02 Glenn Morris <rgm@gnu.org>
5224
5225 * emacs-lisp/authors.el (authors-aliases): Another addition.
5226
5ca64e00
MA
52272012-04-02 Michael Albinus <michael.albinus@gmx.de>
5228
5229 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5230 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5231 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5232
42ee526b
CY
52332012-04-01 Chong Yidong <cyd@gnu.org>
5234
5235 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5236 Handle root directory properly.
5237 (copy-directory): Caller changed.
5238
5239 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5240 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5241
0b021094
GM
52422012-03-31 Glenn Morris <rgm@gnu.org>
5243
40f86458
GM
5244 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5245
7019c177
GM
5246 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5247
a1daddd6
GM
5248 * calendar/calendar.el (calendar-window-list)
5249 (calendar-hide-window): Restore. (Bug#11140)
5250 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5251
0b021094
GM
5252 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5253
40311efc
TV
52542012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5255
5256 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5257 Check if file is a symlink (Bug#10489).
5258
5259 * files.el (copy-directory): Likewise.
5260
5319014e
CY
52612012-03-30 Chong Yidong <cyd@gnu.org>
5262
5263 * image.el (imagemagick-types-inhibit)
5264 (imagemagick-register-types): Doc fix.
5265
935d1290
AM
52662012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5267
090bd7cb 5268 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5269 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5270 and treats ~word as ordinary words in pipe mode.
935d1290 5271
61c6e8fd
GM
52722012-03-30 Glenn Morris <rgm@gnu.org>
5273
5274 * tutorial.el (help-with-tutorial): Ensure local variables don't
5275 happen to make the buffer read-only. (Bug#11127)
5276
81fdff00
SM
52772012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5280 (perl-calculate-indent): Return `noindent' in strings.
5281
6e7a6ec0
SS
52822012-03-28 Sam Steingold <sds@gnu.org>
5283
5284 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5285 instead of the broken adhockery which does not prevent calendar
5286 buffers from being displayed at random after exit.
5287 (calendar-window-list, calendar-hide-window): Remove the broken
5288 adhockery.
5289
fee88ca0
GM
52902012-03-28 Glenn Morris <rgm@gnu.org>
5291
5292 * replace.el (query-replace-map): Doc fix.
5293
38de3354
AS
52942012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5295
5296 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5297 contents. (Bug#11109)
5298
b973155e
SM
52992012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5302 (bug#11077).
5303 (avl-tree--check, avl-tree--check-node): New funs.
5304
dcb6e7b3
MR
53052012-03-27 Martin Rudalics <rudalics@gmx.at>
5306
5307 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5308 (switch-to-prev-buffer, switch-to-next-buffer):
5309 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5310 showing a buffer already is done on the same frame.
5311
b4fa35fa
GM
53122012-03-27 Glenn Morris <rgm@gnu.org>
5313
5314 * startup.el (mail-host-address): Doc fix.
5315
f9210e18
SM
53162012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5319 than 197 variables.
5320
c0bf7753
AF
53212012-03-26 Ami Fischman <ami@fischman.org>
5322
5323 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5324
33da7b16
GM
53252012-03-26 Glenn Morris <rgm@gnu.org>
5326
02243d9d
GM
5327 * files.el (save-buffers-kill-emacs): Doc fix.
5328
33da7b16
GM
5329 * startup.el (normal-top-level, command-line, command-line-1):
5330 Give them doc strings.
5331
e5a69fd0
EZ
53322012-03-25 Eli Zaretskii <eliz@gnu.org>
5333
5334 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5335 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5336
9a69676a
CY
53372012-03-25 Chong Yidong <cyd@gnu.org>
5338
4125cb8b
CY
5339 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5340 theme if it was previously enabled before (Bug#11031).
5341
dd470960
CY
5342 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5343 spec with custom-face-get-current-spec if its :shown-value is not
5344 determined yet (Bug#9337).
4125cb8b 5345 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5346
9a69676a
CY
5347 * button.el (button-at): Minor addition to docstring.
5348
6e7e90fa
SL
53492012-03-24 Simon Leinen <simon.leinen@gmail.com>
5350
5351 * vc/vc.el (vc-merge): Fix a prompt.
5352
f06e2758
CY
53532012-03-24 Chong Yidong <cyd@gnu.org>
5354
5355 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5356 point (Bug#9623).
5357
6e7e90fa
SL
5358 * button.el (button-at): Minor addition to docstring.
5359
b9d0879b
SM
53602012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5361
5362 * newcomment.el (comment-choose-indent): No space after BOL.
5363
e71cebb3
SS
53642012-03-22 Sam Steingold <sds@gnu.org>
5365
5366 * window.el (switch-to-prev-buffer): Revert last patch because the
5367 bug turned out to be an advertised feature (Elisp manual 28.14).
5368
335aff35
GM
53692012-03-22 Glenn Morris <rgm@gnu.org>
5370
5371 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5372 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5373
c676576a
LMI
53742012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5375
5376 * net/network-stream.el (network-stream-open-starttls): Make error
5377 message under Windows be less misleading.
5378
126f3d39
LW
53792012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5380
5381 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5382 understands (bug#9942).
5383
64fee311
CY
53842012-03-22 Chong Yidong <cyd@gnu.org>
5385
5386 * simple.el (end-of-visible-line): Handle return value of
5387 next-single-property-change properly (Bug#9371).
5388
a640d29a
KH
53892012-03-22 Kenichi Handa <handa@m17n.org>
5390
5391 * international/quail.el (quail-insert-kbd-layout): Fix previous
5392 change. To avoid unwanted bidi reordering, use
5393 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5394
39675016
DG
53952012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5396
5397 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5398 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5399 (ruby-beginning-of-indent): Be more careful with the difference
5400 between word-boundary and symbol boundary.
5401 (ruby-mode-syntax-table): Make : a symbol constituent.
5402
0a6934fc 54032012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5404
3d008e4f
SM
5405 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5406
0a6934fc
SM
54072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5408
af67c9d7
SM
5409 * progmodes/etags.el (tags-completion-at-point-function):
5410 Improve last fix.
5411
1acad97c
SM
5412 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5413
e298b5da
SS
54142012-03-21 Sam Steingold <sds@gnu.org>
5415
5416 * progmodes/etags.el (tags-completion-at-point-function):
5417 Avoid the error when point is inside the pattern.
5418
91d82a70
JY
54192012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5420
5421 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5422 line (Bug#10855).
5423
69188b79
CY
54242012-03-21 Drew Adams <drew.adams@oracle.com>
5425
5426 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5427
99fc91fe
AK
54282012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5429
5430 * ido.el (ido-set-current-directory, ido-read-internal)
5431 (ido-choose-completion-string, ido-completion-help): Handle nil
5432 value of ido-completion-buffer (Bug#11008).
5433
087bbb4c
SS
54342012-03-21 Sam Steingold <sds@gnu.org>
5435
5436 * window.el (switch-to-prev-buffer): Do not switch to a visible
5437 window previous buffer, just like with the frame previous buffers.
5438
fb5b8aca
CY
54392012-03-21 Chong Yidong <cyd@gnu.org>
5440
5441 * faces.el (make-face, make-empty-face, copy-face):
5442 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5443 Doc fixes.
5444
dc9924b8
SM
54452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5448 (widget-complete): Remove broken use of it.
5449
f0bcceb9
CY
54502012-03-20 Chong Yidong <cyd@gnu.org>
5451
dc9924b8
SM
5452 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5453 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5454 characters.
5455
ee52ebf3
TH
54562012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5457
5458 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5459 to draw rectangles, not squares. (Regression introduced by revno
5460 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5461
4c5779ab
CY
54622012-03-18 Chong Yidong <cyd@gnu.org>
5463
5464 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5465 it is not yet defined (for temacs).
5466
15360934
LL
54672012-03-18 Leo Liu <sdl.web@gmail.com>
5468
dc9924b8 5469 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5470
d9a8eb66
EZ
54712012-03-17 Eli Zaretskii <eliz@gnu.org>
5472
5473 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5474 (ispell-choices-win-default-height, ispell-silently-savep)
5475 (ispell-dictionary-alist, ispell-encoding8-command)
5476 (ispell-check-version, ispell-aspell-find-dictionary)
5477 (ispell-valid-dictionary-list, ispell-words-keyword)
5478 (ispell-get-word, ispell-internal-change-dictionary)
5479 (ispell-region, ispell-skip-region-list)
5480 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5481 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5482 (ispell-message-text-end, ispell-message)
5483 (ispell-buffer-local-parsing): Doc fix.
5484
f02ff80d
J
54852012-03-13 Jambunathan K <kjambunathan@gmail.com>
5486
5487 * htmlfontify.el: Add support for code block fontification for ODT
5488 export (Bug #9914).
5489 (hfy-optimisations): Define new option
5490 `body-text-only'
5491 (hfy-fontify-buffer): Honor above setting.
5492 (hfy-begin-span, hfy-end-span): New routines factored out form
5493 `hfy-fontify-buffer'.
5494 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5495 that permit insertion of custom tags.
5496 (hfy-fontify-buffer): Use above handlers.
5497 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5498 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5499 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5500 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5501 bind a special variable `hfy-user-sheet-assoc'.
5502 (htmlfontify-string): New defun.
5503 (hfy-compile-face-map): Make sure that the last char in the
5504 buffer is correctly fontified.
5505 (hfy-face-resolve-face): Whitespace only change.
5506
9ac7a13f
EZ
55072012-03-17 Eli Zaretskii <eliz@gnu.org>
5508
5509 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5510 message more clear.
5511
e2b5bdd7
LL
55122012-03-16 Leo Liu <sdl.web@gmail.com>
5513
5514 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5515
2e492df3
AM
55162012-03-16 Alan Mackenzie <acm@muc.de>
5517
5518 Further optimise the handling of large macros.
5519
5520 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5521 limit to a call of `c-literal-limits'.
5522 (c-determine-+ve-limit): New function.
dc9924b8
SM
5523 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5524 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5525 In CASE 5B, restrict a search limit to 500.
5526 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5527
5528 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5529 Restrict macro bounds to +-500 from after-change's BEG END.
5530
50e94f0c
LL
55312012-03-16 Leo Liu <sdl.web@gmail.com>
5532
5533 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5534
6f09f6ed
AH
55352012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5536
5537 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5538 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5539
c7e73d51
GM
55402012-03-16 Glenn Morris <rgm@gnu.org>
5541
da986230
GM
5542 * view.el (view-buffer, view-buffer-other-window)
5543 (view-buffer-other-frame): Doc fixes re special mode-class.
5544
0835f01e
GM
5545 * subr.el (eval-after-load): If named feature is provided not from
5546 a file, run after-load forms. (Bug#10946)
5547
c7e73d51
GM
5548 * calendar/calendar.el (calendar-insert-at-column):
5549 Handle non-unit-width characters a bit better. (Bug#10978)
5550
3f2eafd1
CY
55512012-03-15 Chong Yidong <cyd@gnu.org>
5552
5553 * emacs-lisp/ring.el (ring-extend): New function.
5554 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5555
5556 * comint.el (comint-read-input-ring)
5557 (comint-add-to-input-history): Grow comint-input-ring lazily.
5558
103af3fe
SM
55592012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5560
663b1677
SM
5561 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5562 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5563
103af3fe
SM
5564 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5565 (imenu-add-to-menubar): Don't add a redundant index.
5566 (imenu-update-menubar): Handle a dynamically composed keymap.
5567
899cb7cb
KY
55682012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5569
5570 * mail/sendmail.el (mail-encode-header):
5571 Bind rfc2047-encode-encoded-words to nil.
5572
3809f91d
GM
55732012-03-13 Glenn Morris <rgm@gnu.org>
5574
5575 * calendar/calendar.el (calendar-string-spread):
5576 Handle non-unit-width characters a bit better. (Bug#10978)
5577
9e345a01
LL
55782012-03-13 Leo Liu <sdl.web@gmail.com>
5579
5580 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5581 directory and file as argument (Bug#10822).
5582
4a07df36
KS
55832012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5584
5585 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5586 For dynamically generated code, follow $PC.
5587 (gdb-disassembly-handler-custom): Handle no function name case.
5588
4aaa9356
TL
55892012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5590
5591 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5592 * emulation/ws-mode.el (ws-query-replace):
5593 * sort.el (sort-regexp-fields):
5594 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5595
225979da
SM
55962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * dabbrev.el: Fix cycle completion order (bug#10963).
5599 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5600 (dabbrev-completion): Don't use an obarray; provide
5601 a cycle-sort-function.
5602
e2f1fdab
LL
56032012-03-12 Leo Liu <sdl.web@gmail.com>
5604
dc9924b8 5605 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5606 (kill-do-not-save-duplicates): Doc fix.
5607
b19490ed
SM
56082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * dabbrev.el: Fix cycle completion (bug#10963).
5611 Use lexical binding and wrap to 80 columns.
5612 (dabbrev-completion): Delay computing the list of completions.
5613
4b05d722
KH
56142012-03-12 Kenichi Handa <handa@m17n.org>
5615
5616 * international/quail.el (quail-insert-kbd-layout): Surround each
5617 row by LRO and PDF instead of inserting many LRMs. Pad the left
5618 and right of each non-spacing marks. Insert invisible space
5619 between lower and upper characters to prevent composition.
5620
dbbc2e69
SM
56212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * minibuffer.el (minibuffer-complete): Don't get confused when the
5624 function is run twice via different commands (bug#10958).
5625 (complete-with-action): Fix docstring.
5626
292112ed
CY
56272012-03-12 Chong Yidong <cyd@gnu.org>
5628
5d1ac394
CY
5629 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5630 (nxml-completion-at-point-function): New function.
5631 (nxml-mode): Use it.
5632 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5633
292112ed
CY
5634 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5635 Load generated autoloads file before byte compiling (Bug#10970).
5636 (package--make-autoloads-and-compile): New helper fun.
5637
4098f8f7
CS
56382012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5639
5640 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5641
8f754691
MA
56422012-03-11 Michael Albinus <michael.albinus@gmx.de>
5643
5644 * autorevert.el (auto-revert-handler): Ensure, that
5645 file-readable-p is applied only for local files or in
5646 auto-revert-tail-mode.
5647
e29ab36b
AS
56482012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5649
dbbc2e69
SM
5650 * server.el (server-eval-at): Handle non-tcp connections.
5651 Decode result string.
ad0bf5b6 5652
e29ab36b
AS
5653 * server.el (server-msg-size): New constant.
5654 (server-reply-print): New function.
5655 (server-eval-and-print): Use it.
5656 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5657 Handle -print-nonl.
5658
de5939ba
CS
56592012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5660
5661 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5662 (Bug#10987).
5663
0c93eabf
CY
56642012-03-11 Chong Yidong <cyd@gnu.org>
5665
397a688f
CY
5666 * simple.el (goto-line): Doc fix (Bug#9938).
5667
2cc775f9
CY
5668 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5669
0c93eabf
CY
5670 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5671 when finished (Bug#10963).
5672
c491fa41
MR
56732012-03-11 Martin Rudalics <rudalics@gmx.at>
5674
5675 * window.el (split-window-below): Fix bug in case where
5676 split-window-keep-point is nil (Bug#10971).
5677
300e8fa5
JL
56782012-03-11 Juri Linkov <juri@jurta.org>
5679
5680 * replace.el (replace-highlight): Set isearch-word to nil
5681 unconditionally. (Bug#10887)
5682
dbf6c5a1
EZ
56832012-03-10 Eli Zaretskii <eliz@gnu.org>
5684
5685 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5686 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5687 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5688 (mairix-widget-create-query): Add usage information about mairix
5689 search forms: negating words, searching for substrings, etc.
5690
b9e501de
JP
56912012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5692
5693 * international/fontset.el (font-encoding-alist): Add an entry for
5694 ksx1001 (Bug#5667).
5695
92795c91
RS
56962012-03-10 Richard Stallman <rms@gnu.org>
5697
1694e6c1
RS
5698 * mail/sendmail.el (mail-encode-header):
5699 Set rfc2047-encode-encoded-words.
5700
607e8555
RS
5701 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5702
de3bc99a
RS
5703 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5704 view buffer means not swapped.
5705 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5706 (rmail-write-region-annotate): Error if real text has disappeared.
5707
92795c91
RS
5708 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5709
699bd04e
CY
57102012-03-10 Chong Yidong <cyd@gnu.org>
5711
5712 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5713 * emulation/cua-base.el (cua--init-keymaps):
5714 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5715
570a1714
MR
57162012-03-10 Martin Rudalics <rudalics@gmx.at>
5717
dbbc2e69
SM
5718 * speedbar.el (speedbar-unhighlight-one-tag-line):
5719 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5720
82dcf4e4
CY
57212012-03-10 Chong Yidong <cyd@gnu.org>
5722
7a2c7ca7
CY
5723 * minibuffer.el (completion-in-region, completion-help-at-point):
5724 Give the completion field overlay a high priority (Bug#6830).
5725
82dcf4e4
CY
5726 * dired.el (dired-goto-file): Recognize absolute file name
5727 listings (Bug#7126).
5728 (dired-goto-file-1): New helper function.
5729 (dired-toggle-read-only): Inhibit warnings.
5730
052e28ac
MA
57312012-03-09 Michael Albinus <michael.albinus@gmx.de>
5732
75f1671a 5733 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5734 there are no properties.
5735
95d5e396
LL
57362012-03-09 Leo Liu <sdl.web@gmail.com>
5737
5738 * savehist.el (savehist-printable): Stricter check for string
5739 value (Bug#10937).
5740
3f018d6d
EZ
57412012-03-09 Eli Zaretskii <eliz@gnu.org>
5742
dbbc2e69
SM
5743 * mail/smtpmail.el (smtpmail-send-it):
5744 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5745 valid mbox format.
5746
f7fd3d79
GM
57472012-03-09 Glenn Morris <rgm@gnu.org>
5748
5749 * files.el (dir-locals-find-file):
5750 Don't check result is regular, readable.
5751 (dir-locals-read-from-file): Demote errors.
5752
6ff6e72f
EZ
57532012-03-08 Eli Zaretskii <eliz@gnu.org>
5754
dbbc2e69
SM
5755 * international/quail.el (quail-insert-kbd-layout):
5756 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5757 layout cell, to prevent their reordering by bidi display engine.
5758 For details, see the discussion in
5759 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5760
9cec7834
AM
57612012-03-08 Alan Mackenzie <acm@muc.de>
5762
5763 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5764 the starting position; make it extend the marked region when
5765 invoked repeatedly - all under appropriate circumstances.
5766 Fixes bugs #5525, #10906.
5767
9a40b8d4
GM
57682012-03-08 Glenn Morris <rgm@gnu.org>
5769
5770 * files.el (locate-dominating-file, dir-locals-find-file):
5771 Undo 2012-03-06 change.
5772
7a08ed35
EZ
57732012-03-07 Eli Zaretskii <eliz@gnu.org>
5774
dbbc2e69
SM
5775 * international/quail.el (quail-help):
5776 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5777 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5778 for the reason.
5779
5aca4f71 57802012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5781
5782 Avoid superfluous registering of signals. (Bug#10807)
5783
5784 * notifications.el (notifications-on-action-object)
5785 (notifications-on-close-object): New defvars.
5786 (notifications-on-action-signal, notifications-on-closed-signal):
5787 Unregister the signal if not needed any longer.
5788 (notifications-notify): Register `notifications-action-signal' or
5789 `notifications-closed-signal', if :on-action or :on-close has been
5790 passed as argument.
5791
78e8b10a
CY
57922012-03-07 Chong Yidong <cyd@gnu.org>
5793
5794 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5795 non-X platforms.
5796
69481eb8
GM
57972012-03-06 Glenn Morris <rgm@gnu.org>
5798
5799 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5800 (x-disown-selection-internal, x-get-selection-internal):
5801 Doc fix (add arglist signatures). (Bug#10783)
5802
133b8e11
KS
58032012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5804
5805 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5806 Handle breakpoints with no "type".
5807
99a83064
GM
58082012-03-06 Glenn Morris <rgm@gnu.org>
5809
5810 * files.el (locate-dominating-file): Add optional predicate argument.
5811 (dir-locals-find-file): Make use of above change.
5812
17798e78
TTN
58132012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5814
5815 * info.el (Info-insert-dir): Also try "dir.gz".
5816
eb182446
GM
58172012-03-06 Glenn Morris <rgm@gnu.org>
5818
8f2114ee
GM
5819 * files.el (dir-locals-find-file):
5820 Ignore non-readable or non-regular files. (Bug#10928)
5821
eb182446
GM
5822 * files.el (locate-dominating-file): Doc fix.
5823
24679323
AS
58242012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5825
5826 * calendar/calendar.el (calendar-set-mode-line):
5827 `getenv' returns a string. (Bug#10951)
5828
01d972a9
LL
58292012-03-05 Leo Liu <sdl.web@gmail.com>
5830
109aa8a9
LL
5831 * simple.el (backward-delete-char-untabify): Constrain point to
5832 field (Bug#10939).
5833
01d972a9
LL
5834 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5835
10607bea
CY
58362012-03-05 Chong Yidong <cyd@gnu.org>
5837
5838 * simple.el (count-words): If called from Lisp, return the word
5839 count, for symmetry with `count-lines'. Arglist changed.
5840 (count-words--message): Args changed. Consolidate counting code
5841 from count-words and count-words-region.
5842 (count-words-region): Caller changed.
5843 (count-lines-region): Make it an obsolete alias.
5844
5dd11cfe
TH
58452012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5846
5847 * saveplace.el (save-place-to-alist)
5848 (save-place-ignore-files-regexp): Allow value nil to disable this
5849 feature.
5850
c349f4e6
CY
58512012-03-04 Chong Yidong <cyd@gnu.org>
5852
5853 * faces.el (face-spec-reset-face): For the default face, reset the
5854 attributes to default values (Bug#10748).
5855
e627be4c
LMI
58562012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5857
5858 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5859 previous patch: Check `message-send-mail-function', and not the
5860 default function (bug#10897).
5861
ebeabff4
MA
58622012-03-04 Michael Albinus <michael.albinus@gmx.de>
5863
a41a6cf4
MA
5864 * notifications.el (notifications-on-action-signal)
5865 (notifications-on-closed-signal): Check for unique service name of
5866 incoming event. Fix error in removing entry.
ebeabff4 5867 (top): Register for signals with wildcard service name.
a41a6cf4 5868 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5869
c1ca42b4
CY
58702012-03-04 Chong Yidong <cyd@gnu.org>
5871
dc9924b8 5872 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5873
ea16568d
GM
58742012-03-04 Glenn Morris <rgm@gnu.org>
5875
5876 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5877 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5878 (expand-abbrev, define-abbrev-table): Doc fixes.
5879
fbae4637
LMI
58802012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5881
5882 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5883 `message-default-send-mail-function' and not `send-mail-function'
5884 when doing the prompting for `sendmail-query-once' before sending
5885 in Message buffers (bug#10897).
5886
a1e7225c
LMI
5887 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5888 This is inconsistent with all the other stream functions, which leave
5889 the setting up to the higher levels (if so wanted) (bug#10931).
5890
56d093a9
AM
58912012-03-02 Alan Mackenzie <acm@muc.de>
5892
5893 Depessimize the handling of very large macros.
5894
5895 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5896 (c-macro-cache-syntactic): New variables to implement a one
5897 element macro cache.
5898 (c-invalidate-macro-cache): New function.
5899 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5900 Adapt to use the new cache.
5901 (c-state-safe-place): Use better the cache of safe positions.
5902 (c-state-semi-nonlit-pos-cache)
5903 (c-state-semi-nonlit-pos-cache-limit):
5904 New variables for...
5905 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5906 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5907 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5908 Use c-state-semi-safe-place.
56d093a9 5909
dbbc2e69
SM
5910 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5911 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5912
817e5c3d
MA
59132012-03-02 Michael Albinus <michael.albinus@gmx.de>
5914
dbbc2e69
SM
5915 * jka-compr.el (jka-compr-call-process):
5916 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5917 not remote.
5918
a032a702
MA
59192012-03-01 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5922 access of FILE2, if FILE1 does not exist.
5923
99a54f21
MA
5924 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5925 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5926
5927 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5928 Add "PAGER=" to `process-environment'.
5929
f6561e1f
MM
59302012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5931
5932 * progmodes/sql.el: Bug fix
5933 (sql-get-login-ext): Save login values in globals.
5934 (sql-get-login): Use new version of `sql-get-login-ext'.
5935 (sql-interactive-mode): Set global `sql-connection' to nil.
5936 (sql-connect): Set global values for connection.
5937 (sql-product-interactive): Save global values as buffer local.
5938
2d44d9cc
LL
59392012-02-29 Leo Liu <sdl.web@gmail.com>
5940
5941 * abbrev.el (define-abbrevs): Reset sys to nil.
5942
96b49301 59432012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5944
bf7f9bc5
JB
5945 * files.el (file-equal-p): Rename from `files-equal-p'.
5946 Return nil when one or both files don't exist.
96b49301 5947 (file-subdir-of-p): Now only top directory must exists,
5948 return nil if it doesn't.
bf7f9bc5
JB
5949 (copy-directory): No need to test with `file-subdir-of-p' after
5950 creating dir.
5951 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5952 to `file-equal-p'.
96b49301 5953
44e97401
GM
59542012-02-28 Glenn Morris <rgm@gnu.org>
5955
5956 * shell.el (shell-mode):
5957 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5958 * play/landmark.el (landmark-font-lock-face-O):
5959 * play/handwrite.el (handwrite):
5960 * play/gomoku.el (gomoku-O):
5961 * net/browse-url.el (browse-url-browser-display):
5962 * international/mule.el (define-charset):
5963 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5964 * filesets.el (filesets-find-file-delay):
5965 * eshell/em-xtra.el (eshell-xtra):
5966 * eshell/em-unix.el (eshell-grep):
5967 * emulation/viper.el (viper-mode):
5968 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5969 * emacs-lisp/easymenu.el (easy-menu-define):
5970 * calendar/timeclock.el (timeclock-use-display-time):
5971 * bs.el (bs-mode):
5972 * bookmark.el (bookmark-save-flag):
5973 Doc fix (standardize possessive apostrophe usage).
5974
c98c6276
CY
59752012-02-27 Chong Yidong <cyd@gnu.org>
5976
bf7f9bc5
JB
5977 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5978 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5979
c98c6276
CY
5980 * font-lock.el (font-lock-specified-p): Rename from
5981 font-lock-spec-present. Callers changed.
5982
9c62cd04 59832012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5984
bf7f9bc5
JB
5985 * emacs-lisp/package.el (package-compute-transaction):
5986 Handle holding a package version to t in package-load-list.
8ac9e529 5987
530739c9
MA
59882012-02-26 Michael Albinus <michael.albinus@gmx.de>
5989
5990 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
5991 (tramp-get-inode, tramp-get-device): Use cached values.
5992
487915d7
AM
59932012-02-26 Alan Mackenzie <acm@muc.de>
5994
5995 Check there is a font-lock specification before doing initial
5996 fontification.
5997
5998 * font-core.el (font-lock-mode): Move the conditional from
5999 :after-hook to font-lock-initial-fontify.
6000 (font-lock-default-function): Move the check for a specification
6001 to font-lock-spec-present.
6002
dc9924b8 6003 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6004 (font-lock-spec-present): New function.
6005
4fd96557
JB
60062012-02-26 Jim Blandy <jimb@red-bean.com>
6007
6008 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6009 (gdb-send): Apply it to the operand of the '-interpreter-exec
6010 console' command, so that we can pass arguments with (say) quotes
6011 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6012
9a4888c0
CY
60132012-02-26 Chong Yidong <cyd@gnu.org>
6014
07498861
CY
6015 * help-fns.el (describe-function-1): Clarify description of
6016 remapping (Bug#10844).
6017
9a4888c0
CY
6018 * files.el (files-equal-p): Doc fix.
6019 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6020 and quit the loop once a mismatch is found.
6021
ea8fb88d
JB
60222012-02-25 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * bs.el (bs--show-with-configuration): Don't throw an error
6025 if the window cannot be split; otherwise, subsequent calls to
6026 bs-show fail, restoring a stale window config. (Bug#10882)
6027
525795c1
JD
60282012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6029
6030 * term/ns-win.el (global-map): Bind ns-drag-file to
6031 ns-find-file (Bug#5855, Bug#10050).
6032
f008086f
AS
60332012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6034
6035 * calendar/parse-time.el (parse-time-string): Allow extractor to
6036 return nil.
6037
a3fcfa99
MA
60382012-02-25 Michael Albinus <michael.albinus@gmx.de>
6039
91027d08
JB
6040 * net/tramp.el (tramp-file-name-for-operation):
6041 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6042
6043 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6044 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6045 Add COPY-CONTENTS argument.
a3fcfa99 6046
67b0de11
CY
60472012-02-25 Chong Yidong <cyd@gnu.org>
6048
6049 Add custom groups for VC backends, for consistency with vc-bzr.
6050
6051 * vc/vc-arch.el (vc-arch):
6052 * vc/vc-cvs.el (vc-cvs):
6053 * vc/vc-git.el (vc-git):
6054 * vc/vc-hg.el (vc-hg):
6055 * vc/vc-mtn.el (vc-mtn):
6056 * vc/vc-rcs.el (vc-rcs):
6057 * vc/vc-sccs.el (vc-sccs):
6058 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6059 All relevant defcustoms reassigned.
6060
3c9dfce6
CY
60612012-02-25 Chong Yidong <cyd@gnu.org>
6062
1339bf43
CY
6063 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6064
3c9dfce6
CY
6065 * term/x-win.el (x-initialize-window-system): Reduce default for
6066 x-selection-timeout to 5 seconds (Bug#8869).
6067
25b2e303 60682012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6069
ec70a47d
GM
6070 * files.el (files-equal-p, file-subdir-of-p): New functions.
6071 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6072 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6073 * dired-aux.el (dired-copy-file-recursive): Same.
6074 (dired-create-files): Modify destination when source is equal to
6075 dest when copying files.
53a46cd0 6076 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6077
914260cd
MA
60782012-02-24 Michael Albinus <michael.albinus@gmx.de>
6079
6080 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6081 (Bug#10874)
6082
2cb228f7
AM
60832012-02-23 Alan Mackenzie <acm@muc.de>
6084
6085 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6086 parameter "after-hook:" to allow the expansion to run code after
6087 the execution of the mode hooks.
6088
6089 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6090 from font-lock-mode-internal.
2cb228f7 6091
91027d08 6092 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6093 :after-hook.
6094
8f0fde21
SM
60952012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6096
3e88618b
SM
6097 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6098 (completion--cache-all-sorted-completions): New function.
6099 (completion-all-sorted-completions): Use it.
6100 (completion--do-completion, minibuffer-force-complete):
6101 Use it to re-instate the flush hook.
6102
8f0fde21
SM
6103 * icomplete.el (icomplete-completions): Replace last fix with a better
6104 one (bug#10850).
6105
8e911f6f
DG
61062012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6107
6108 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6109 when it might call us back infinitely (bug#10797).
6110
49fe4321
GM
61112012-02-23 Glenn Morris <rgm@gnu.org>
6112
6113 * minibuffer.el (completion-category-overrides): Doc fix.
6114
b291b572
SM
61152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6118 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6119
31a9ef2e
GM
61202012-02-23 Glenn Morris <rgm@gnu.org>
6121
5e6e6794 6122 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6123 (authors-obsolete-files-regexps, authors-ignored-files)
6124 (authors-ambiguous-files, authors-renamed-files-alist):
6125 Add more entries.
6126
0bd1e074
JL
61272012-02-23 Juri Linkov <juri@jurta.org>
6128
6129 * isearch.el (isearch-occur): Sync interactive spec with occur's
6130 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6131
b617673c
JL
6132 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6133
19e9789e
JL
61342012-02-22 Juri Linkov <juri@jurta.org>
6135
6136 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6137 (ucs-insert): Doc fix. Check for hex digits in the string.
6138 Don't display `nil' in the error message. (Bug#10857)
6139
f41ce09d
AM
61402012-02-22 Alan Mackenzie <acm@muc.de>
6141
7a71b18d 6142 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6143
ac2eceee
GM
61442012-02-22 Glenn Morris <rgm@gnu.org>
6145
6146 * ffap.el (ffap-c-path):
6147 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6148
abd1f678
CY
61492012-02-22 Chong Yidong <cyd@gnu.org>
6150
6151 * custom.el (load-theme): Doc fix.
6152
f25aef2e
GM
61532012-02-22 Glenn Morris <rgm@gnu.org>
6154
6155 * dired-x.el (dired-guess-shell-alist-default):
6156 Remove escape sequences from nroff output. (Bug#172)
6157
5f8dc2ca
GM
61582012-02-21 Glenn Morris <rgm@gnu.org>
6159
6ff86ec4
GM
6160 * vc/emerge.el (emerge-defvar-local):
6161 Set `permanent-local' property rather than unused `preserved'.
6162
be3223a3 6163 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6164 (picture-mode-map): Use it. (Bug#10860)
6165 (picture-mode): Doc fix.
6166
3fe58f4f
JB
61672012-02-21 Juanma Barranquero <lekktu@gmail.com>
6168
6169 * newcomment.el (uncomment-region-default): Remove unused binding.
6170
f9a998c3
GM
61712012-02-21 Glenn Morris <rgm@gnu.org>
6172
6173 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6174 (picture-self-insert, picture-tab-chars): Doc fix.
6175 (picture-mode-map): Fix C-a, C-e.
6176
c6029348
GM
61772012-02-20 Glenn Morris <rgm@gnu.org>
6178
6179 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6180
ab1ce9d7
LL
61812012-02-20 Leo Liu <sdl.web@gmail.com>
6182
6183 * icomplete.el (icomplete-completions): Check FROM arg before
6184 passing to substring (Bug#10850).
6185
0fd40f89
CY
61862012-02-19 Chong Yidong <cyd@gnu.org>
6187
6188 * comint.el: Require ansi-color.
6189 (comint-output-filter-functions): Add ansi-color-process-output.
6190
6191 * ansi-color.el: Don't set comint-output-filter-functions; it is
6192 now in the initial value defined in comint.el.
6193 (ansi-color-apply-face-function): New variable.
6194 (ansi-color-apply-on-region): Use it.
6195 (ansi-color-apply-overlay-face): New function.
6196
6197 * shell.el (shell): No need to require ansi-color.
6198 (shell-mode): Use ansi-color-apply-face-function to highlight
6199 color escapes using font-lock-face property (Bug#10835).
6200
20af2394
CY
62012012-02-19 Chong Yidong <cyd@gnu.org>
6202
6203 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6204 mode-line formats (Bug#10839).
6205
e23a3fbe
GM
62062012-02-18 Glenn Morris <rgm@gnu.org>
6207
b474519e
GM
6208 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6209
6210 * mail/undigest.el (unforward-rmail-message): Doc fix.
6211
e23a3fbe
GM
6212 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6213
57939ff4
EZ
62142012-02-18 Eli Zaretskii <eliz@gnu.org>
6215
6216 * international/characters.el (script-list): Sync with the latest
6217 Unicode Character Database.
6218
0c23686e
AS
62192012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6220
6221 * international/titdic-cnv.el: Remove duplicate coding tag.
6222 * language/cham.el: Likewise.
6223 * language/tai-viet.el: Likewise.
6224
6818b449
GM
62252012-02-18 Glenn Morris <rgm@gnu.org>
6226
6227 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6228 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6229 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6230 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6231 * calendar/holidays.el (holiday-bahai-holidays)
6232 (calendar-holidays, list-holidays):
6233 Use utf-8 Bahá'í in doc-strings, menus, etc.
6234
0311a3fc
TH
62352012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6236
6237 * saveplace.el (save-place-ignore-files-regexp): New variable
6238 allowing for excluding files from saving their location of point.
6239 The default value matches the temporary commit message editing
6240 files from Git, SVN, Bazaar, and Mercurial.
6241 (save-place-to-alist): Use it.
6242
d209e2fb 62432012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6244 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6245
6246 * newcomment.el (uncomment-region-default): Don't leave extra space
6247 when an arg is provided (bug#8150).
6248
ee0ce425
TZ
62492012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6250
eb864a71 6251 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6252
95ddf442
GM
62532012-02-17 Glenn Morris <rgm@gnu.org>
6254
6255 * net/socks.el: Require network-stream. (Bug#10599)
6256
48dd1e39 62572012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6258
6259 * international/charprop.el:
6260 * international/uni-name.el:
6261 * international/uni-old-name.el:
6262 * international/uni-comment.el: Regenerate.
6263
d68cd087
GM
62642012-02-16 Glenn Morris <rgm@gnu.org>
6265
6266 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6267 Interactively in calendar buffer, give an error if not on a date.
6268
13932042
GM
62692012-02-15 Glenn Morris <rgm@gnu.org>
6270
6271 * shell.el (shell-delimiter-argument-list):
6272 Revert 2011-02-17 change. (Bug#8027)
6273
c3a70e2b
CY
62742012-02-15 Chong Yidong <cyd@gnu.org>
6275
60236b0d
CY
6276 * minibuffer.el (completion-at-point-functions): Doc fix.
6277
c3a70e2b
CY
6278 * custom.el (defcustom): Doc fix; note use of defvar.
6279
9f26dc24
GM
62802012-02-15 Glenn Morris <rgm@gnu.org>
6281
6282 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6283 Doc fixes.
6284
6546b134
GM
62852012-02-14 Glenn Morris <rgm@gnu.org>
6286
6287 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6288
d29b2b4c
LI
62892012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6290
6291 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6292 way the ports list is computed.
835bdcba
LI
6293 (smtpmail-query-smtp-server): Prompt the user for a port number if
6294 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6295
08dcdbc9
TZ
62962012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6297
6298 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6299
2605051a
GM
63002012-02-13 Glenn Morris <rgm@gnu.org>
6301
6302 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6303
7ee99f32
TZ
63042012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6305
6306 * net/gnutls.el (gnutls-trustfiles): New variable.
6307 (gnutls-negotiate): Use it.
6308
5f0af64f
LI
63092012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6310
6311 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6312 does its stuff if Gnus is running.
6313
c14fcc95
AM
63142012-02-13 Alan Mackenzie <acm@muc.de>
6315
6316 Fix a loop in c-set-fl-decl-start.
6317
7a71b18d 6318 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6319 c-backward-syntactic-ws actually moves backwards.
6320
142b4d90
LL
63212012-02-13 Leo Liu <sdl.web@gmail.com>
6322
6323 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6324 beginning so that all \C-o chars are removed.
6325
fa9958a6
TZ
63262012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6327
dc9924b8 6328 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6329
0bc5886a
AM
63302012-02-12 Alan Mackenzie <acm@muc.de>
6331
6332 Fix infinite loop with long macros.
4d6769e1 6333 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6334
d4bd55e7
CY
63352012-02-12 Chong Yidong <cyd@gnu.org>
6336
6337 * window.el (display-buffer): Doc fix (Bug#10785).
6338
66f3fe22
GM
63392012-02-12 Glenn Morris <rgm@gnu.org>
6340
bd7da63e
GM
6341 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6342 (x-disown-selection-internal, x-get-selection-internal):
6343 Sync docs with the xselect.c versions.
6344
66f3fe22
GM
6345 * allout-widgets.el: Add missing license notice.
6346
3e0d2fa7
GM
63472012-02-11 Glenn Morris <rgm@gnu.org>
6348
cfecdf09
GM
6349 * select.el (x-get-selection-internal, x-own-selection-internal)
6350 (x-disown-selection-internal):
6351 * x-dnd.el (x-get-selection-internal): Update declarations.
6352
6d216d7f
GM
6353 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6354
2bed3f04
GM
6355 * window.el (window-sides-slots):
6356 * tool-bar.el (tool-bar-position):
6357 * term/xterm.el (xterm-extra-capabilities):
6358 * ses.el (ses-self-reference-early-detection):
6359 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6360 (verilog-auto-wire-type)
6361 (verilog-auto-delete-trailing-whitespace)
6362 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6363 (verilog-auto-tieoff-declaration):
6364 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6365 (sql-oracle-statement-starters, sql-oracle-scan-on):
6366 * progmodes/prolog.el (prolog-align-comments-flag)
6367 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6368 (prolog-left-indent-regexp, prolog-paren-indent-p)
6369 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6370 (prolog-types, prolog-mode-specificators)
6371 (prolog-determinism-specificators, prolog-directives)
6372 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6373 (prolog-electric-dot-flag)
6374 (prolog-electric-dot-full-predicate-template)
6375 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6376 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6377 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6378 (prolog-program-switches, prolog-prompt-regexp)
6379 (prolog-debug-on-string, prolog-debug-off-string)
6380 (prolog-trace-on-string, prolog-trace-off-string)
6381 (prolog-zip-on-string, prolog-zip-off-string)
6382 (prolog-use-standard-consult-compile-method-flag)
6383 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6384 (prolog-imenu-max-lines, prolog-info-predicate-index)
6385 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6386 (prolog-char-quote-workaround):
6387 * progmodes/cc-vars.el (c-defun-tactic):
6388 * net/tramp.el (tramp-encoding-command-interactive)
6389 (tramp-local-end-of-line):
6390 * net/soap-client.el (soap-client):
6391 * net/netrc.el (netrc-file):
6392 * net/gnutls.el (gnutls):
6393 * minibuffer.el (completion-category-overrides)
6394 (completion-cycle-threshold)
6395 (completion-pcm-complete-word-inserts-delimiters):
6396 * man.el (Man-name-local-regexp):
6397 * mail/feedmail.el (feedmail-display-full-frame):
6398 * international/characters.el (glyphless-char-display-control):
6399 * eshell/em-ls.el (eshell-ls-date-format):
6400 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6401 (lisp-lambda-list-keyword-parameter-indentation)
6402 (lisp-lambda-list-keyword-parameter-alignment):
6403 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6404 * dired-x.el (dired-omit-verbose):
6405 * cus-theme.el (custom-theme-allow-multiple-selections):
6406 * calc/calc.el (calc-highlight-selections-with-faces)
6407 (calc-lu-field-reference, calc-lu-power-reference)
6408 (calc-note-threshold):
6409 * battery.el (battery-mode-line-limit):
6410 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6411 (archive-7z-update):
6412 * allout.el (allout-prefixed-keybindings)
6413 (allout-unprefixed-keybindings)
6414 (allout-inhibit-auto-fill-on-headline)
6415 (allout-flattened-numbering-abbreviation):
6416 * allout-widgets.el (allout-widgets-auto-activation)
6417 (allout-widgets-icons-dark-subdir)
6418 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6419 (allout-widgets-theme-dark-background)
6420 (allout-widgets-theme-light-background)
6421 (allout-widgets-item-image-properties-emacs)
6422 (allout-widgets-item-image-properties-xemacs)
6423 (allout-widgets-run-unit-tests-on-load)
6424 (allout-widgets-time-decoration-activity)
6425 (allout-widgets-hook-error-post-time)
6426 (allout-widgets-track-decoration):
6427 Add missing :version tags to new defcustoms and defgroups.
6428
5fec1b8e
GM
6429 * progmodes/sql.el (sql-ansi-statement-starters)
6430 (sql-oracle-statement-starters): Add custom type.
6431
3e0d2fa7
GM
6432 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6433 (prolog-system-version): Give it a type.
6434
90b671e2
EZ
64352012-02-11 Eli Zaretskii <eliz@gnu.org>
6436
6437 * term/pc-win.el (x-select-text, x-selection-owner-p)
6438 (x-own-selection-internal, x-disown-selection-internal)
6439 (x-get-selection-internal): Sync doc strings and argument lists
6440 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6441
5eac0c02
LL
64422012-02-11 Leo Liu <sdl.web@gmail.com>
6443
6444 * progmodes/python.el (python-end-of-statement): Fix infinite
6445 loop. (Bug#10788)
6446
f82cb659
GM
64472012-02-10 Glenn Morris <rgm@gnu.org>
6448
6449 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6450 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6451
cc26d239
LI
64522012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6453
6454 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6455 about SMTP before checking the From header.
6456
91027d08 6457 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6458 into own function for reuse by emacsbug.el.
6459
1be3ca5a
LL
64602012-02-10 Leo Liu <sdl.web@gmail.com>
6461
6462 * subr.el (condition-case-unless-debug): Rename from
6463 condition-case-no-debug. All callers changed.
6464 (with-demoted-errors): Fix caller.
6465
6466 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6467 * nxml/rng-valid.el (rng-do-some-validation):
6468 * emacs-lisp/package.el (package-refresh-contents)
6469 (package-menu-execute):
6470 * desktop.el (desktop-create-buffer):
91027d08 6471 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6472
b011fbfe
GM
64732012-02-10 Glenn Morris <rgm@gnu.org>
6474
b2096d72
GM
6475 * textmodes/bibtex.el:
6476 Add missing :version tags for new/changed defcustoms.
6477
b011fbfe
GM
6478 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6479
4c7e65bf
LI
64802012-02-09 Lars Ingebrigtsen <larsi@rusty>
6481
6482 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6483 (smtpmail-via-smtp): Use it, or fall back on the From address.
6484 (smtpmail-send-it): Ditto.
6485
f3934f6f
SM
64862012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6489 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6490 (byte-compile-tmp-var): New const.
6491 (byte-compile-defvar): Use it to minimize .elc size.
6492 Just use `defvar' rather than simulate it (bug#10761).
6493
a075a2c5
GM
64942012-02-09 Glenn Morris <rgm@gnu.org>
6495
cf3aa21b
GM
6496 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6497
354998cd
GM
6498 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6499 Add :version tags.
6500
dc9924b8
SM
6501 * progmodes/compile.el (compilation-error-screen-columns)
6502 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6503
dab3703d
GM
6504 * vc/log-view.el (log-view-toggle-entry-display):
6505 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6506
3f88cd72
GM
6507 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6508 (report-emacs-bug-can-use-xdg-email):
6509 (report-emacs-bug-insert-to-mailer): Doc fixes.
6510 (report-emacs-bug): Message fix.
6511
d95b247d
GM
6512 * net/browse-url.el (browse-url-can-use-xdg-open)
6513 (browse-url-xdg-open): Doc fixes.
6514
a075a2c5
GM
6515 * electric.el (electric-indent-mode, electric-pair-mode)
6516 (electric-layout-rules, electric-layout-mode): Doc fixes.
6517 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6518
ffb6157e
MR
65192012-02-08 Martin Rudalics <rudalics@gmx.at>
6520
6521 * server.el (server-unselect-display): Don't inadvertently kill
6522 the current buffer. (Bug#10729)
6523
e1ac4066
GM
65242012-02-08 Glenn Morris <rgm@gnu.org>
6525
34e8a2da
GM
6526 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6527 (sql-list-table): Doc fixes.
6528
b4ac6e8c
GM
6529 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6530 Comment out (does nothing).
6531
e1ac4066
GM
6532 * completion.el (dynamic-completion-mode):
6533 * dirtrack.el (dirtrack-debug-mode):
6534 * electric.el (electric-layout-mode):
6535 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6536 * face-remap.el (text-scale-mode, buffer-face-mode):
6537 * iimage.el (iimage-mode):
6538 * image-mode.el (image-transform-mode):
6539 * minibuffer.el (completion-in-region-mode):
6540 * scroll-lock.el (scroll-lock-mode):
6541 * simple.el (next-error-follow-minor-mode):
6542 * tar-mode.el (tar-subfile-mode):
6543 * tooltip.el (tooltip-mode):
6544 * vcursor.el (vcursor-use-vcursor-map):
6545 * wid-browse.el (widget-minor-mode):
6546 * emulation/tpu-edt.el (tpu-edt-mode):
6547 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6548 * international/iso-ascii.el (iso-ascii-mode):
6549 * language/thai-util.el (thai-word-mode):
6550 * mail/supercite.el (sc-minor-mode):
6551 * net/goto-addr.el (goto-address-mode):
6552 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6553 * progmodes/cwarn.el (cwarn-mode):
6554 * progmodes/flymake.el (flymake-mode):
6555 * progmodes/glasses.el (glasses-mode):
6556 * progmodes/hideshow.el (hs-minor-mode):
6557 * progmodes/pascal.el (pascal-outline-mode):
6558 * textmodes/enriched.el (enriched-mode):
6559 * vc/smerge-mode.el (smerge-mode):
6560 Doc fixes (minor mode argument).
6561
5e0d957f
EZ
65622012-02-07 Eli Zaretskii <eliz@gnu.org>
6563
6564 * ls-lisp.el (ls-lisp-sanitize): New function.
6565 (ls-lisp-insert-directory): Use it to fix or remove any elements
6566 in file-alist with missing attributes. (Bug#4673)
6567
98d7371e
AM
65682012-02-07 Alan Mackenzie <acm@muc.de>
6569
6570 Fix spurious recognition of c-in-knr-argdecl.
6571
6572 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6573 putative K&R region.
6574
667ced3a
AM
65752012-02-07 Alan Mackenzie <acm@muc.de>
6576
eb864a71
LM
6577 * progmodes/cc-engine.el (c-forward-objc-directive):
6578 Prevent looping in "#pragma mark @implementation".
667ced3a 6579
5b77774d
MA
65802012-02-07 Michael Albinus <michael.albinus@gmx.de>
6581
6582 * notifications.el (notifications-on-closed-signal): Make `reason'
6583 optional. (Bug#10744)
6584
af008560
GM
65852012-02-07 Glenn Morris <rgm@gnu.org>
6586
60d47423
GM
6587 * emacs-lisp/easy-mmode.el (define-minor-mode):
6588 Doc fixes for the macro and the mode it defines.
6589
dd605cc4
GM
6590 * image.el (imagemagick-types-inhibit): Doc fix.
6591
af008560
GM
6592 * cus-start.el (imagemagick-render-type): Add it.
6593
5cc59a37
LI
65942012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6595
4d6769e1
JB
6596 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6597 Set the default at load time, too, so that `font-lock-fontify-buffer'
6598 can be called without setting up the entire mode first. This fixes
6599 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6600
9a6dd747
CY
66012012-02-06 Chong Yidong <cyd@gnu.org>
6602
2d16b285
CY
6603 * simple.el (list-processes--refresh): Delete exited processes
6604 (Bug#8094).
6605
171e9b6e
CY
6606 * comint.el (comint-next-prompt): next-single-char-property-change
6607 and prev-single-char-property-change never return nil (Bug#8657).
6608
9a6dd747
CY
6609 * custom.el (defcustom): Doc fix (Bug#9711).
6610
aa4589a7
CY
66112012-02-05 Chong Yidong <cyd@gnu.org>
6612
5c2a252f
CY
6613 * cus-edit.el (custom-variable-reset-backup): Quote the value
6614 before storing it in the customized-value property (Bug#6712).
4aab9006 6615 (custom-display): Add a customization type tag.
983b9602 6616 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6617
aa4589a7
CY
6618 * wid-edit.el (widget-field-value-get): New optional arg to
6619 suppress trailing whitespace truncation.
6620 (character): Use it (Bug#2689).
6621
1ff980ae
AS
66222012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6623
6624 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6625 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6626
03988c98
CY
66272012-02-05 Chong Yidong <cyd@gnu.org>
6628
eeb6cc88
CY
6629 * cus-edit.el (custom-variable-value-create): For mismatched
6630 types, show the current value (Bug#7600).
6631
03988c98
CY
6632 * custom.el (defcustom): Doc fix.
6633
f8cdeef0
GM
66342012-02-05 Glenn Morris <rgm@gnu.org>
6635
6636 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6637
0696d255
JB
66382012-02-05 Juanma Barranquero <lekktu@gmail.com>
6639
6640 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6641 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6642 (pp-last-sexp): Use `looking-at-p'.
6643
34c99998
GM
66442012-02-04 Glenn Morris <rgm@gnu.org>
6645
8f05da42
GM
6646 * files.el (revert-buffer):
6647 Doc fix (mention revert-buffer-in-progress-p).
6648
f160676e
GM
6649 * emacs-lisp/ert-x.el (ert-simulate-command):
6650 Check deferred-action-list (which is obsolete) is bound.
6651
c7291ad9
GM
6652 * subr.el (with-wrapper-hook): Doc fixes.
6653
34c99998
GM
6654 * simple.el (filter-buffer-substring-functions)
6655 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6656
6283a7d3
LL
66572012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6658
6659 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6660 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6661
e96e3013
LL
66622012-02-04 Leo Liu <sdl.web@gmail.com>
6663
6664 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6665
8ded50f2
GM
66662012-02-04 Glenn Morris <rgm@gnu.org>
6667
82ff1d13
GM
6668 * image.el (image-extension-data): Add obsolete alias.
6669
987a0a16
GM
6670 * isearch.el (isearch-update): Doc fix.
6671
ea32ef46
GM
6672 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6673
8ded50f2
GM
6674 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6675
eea14f31
GM
66762012-02-03 Glenn Morris <rgm@gnu.org>
6677
6678 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6679 (image-animate-timeout): Doc fix.
6680
6681 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6682
12f381b7
GM
66832012-02-02 Glenn Morris <rgm@gnu.org>
6684
953cebf5
GM
6685 * server.el (server-auth-dir): Doc fix.
6686 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6687
12f381b7
GM
6688 * subr.el (run-mode-hooks): Doc fix.
6689
953a8c3b
JL
66902012-02-02 Juri Linkov <juri@jurta.org>
6691
6692 * image-mode.el (image-toggle-display-image): Remove tautological
6693 `major-mode' from the `derived-mode-p' test.
6694
c5d3843c
KH
66952012-02-02 Kenichi Handa <handa@m17n.org>
6696
9f6e692e 6697 * composite.el (compose-region): Cancel previous change.
c5d3843c 6698
159462d4 66992012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6700
6701 * composite.el (compose-region, compose-string): Signal error for
6702 a null string component (Bug#6988).
6703
9f562668
CY
67042012-02-01 Chong Yidong <cyd@gnu.org>
6705
e2cef717
CY
6706 * view.el (view-buffer-other-window, view-buffer-other-frame):
6707 Handle special modes like view-buffer (Bug#10650).
6708 (view-buffer): Simplify.
6709
9f562668
CY
6710 * frame.el (set-frame-font): Tweak meaning of third argument.
6711
9f6e692e
JB
6712 * dynamic-setting.el (font-setting-change-default-font):
6713 Use set-frame-font (Bug#9982).
9f562668 6714
781acb9f
GM
67152012-02-01 Glenn Morris <rgm@gnu.org>
6716
6035be52
GM
6717 * progmodes/compile.el (compilation-internal-error-properties):
6718 Respect compilation-first-column in the "*compilation*" buffer.
6719
781acb9f
GM
6720 * emacs-lisp/easy-mmode.el (define-minor-mode):
6721 Relax :variable's test for a named function.
6722
abbceb00
AM
67232012-01-31 Alan Mackenzie <acm@muc.de>
6724
6725 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6726 off by one error.
6727
fce3fdeb
CY
67282012-01-31 Chong Yidong <cyd@gnu.org>
6729
6730 * frame.el (set-frame-font): New arg ALL-FRAMES.
6731
6732 * menu-bar.el (menu-set-font): Use set-frame-font.
6733
6734 * faces.el (face-spec-reset-face): Don't apply unspecified
6735 attribute values to the default face.
6736
47893581
JB
67372012-01-31 Juanma Barranquero <lekktu@gmail.com>
6738
6739 * progmodes/cwarn.el (cwarn): Remove dead link.
6740 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6741 Remove * from defcustom docstrings.
6742 (turn-on-cwarn-mode): Make obsolete.
6743 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6744 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6745
e58e988a
GM
67462012-01-31 Glenn Morris <rgm@gnu.org>
6747
60dc2671 6748 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6749 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6750 Allow named functions to be used as the cdr of :variable.
e58e988a 6751
7a3f511d
GM
67522012-01-30 Glenn Morris <rgm@gnu.org>
6753
6754 * emacs-lisp/authors.el (authors-fixed-entries):
6755 Remove reference to deleted file rnewspost.el.
6756
cb882333
JB
67572012-01-29 Juanma Barranquero <lekktu@gmail.com>
6758
6759 * window.el (window-with-parameter): Remove unused variable `windows'.
6760 (window--side-check): Remove unused variable `code'.
6761 (window--resize-siblings): Remove unused variable `first'.
6762 (adjust-window-trailing-edge): Remove unused variable `failed'.
6763 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6764 Use `let', not `let*'.
6765 (balance-windows-2): Remove unused variable `found'.
6766 (window--state-put-2): Remove unused variable `splits'.
6767 (window-state-put): Remove unused variable `selected'.
6768 (same-window-p): Use `string-match-p'.
6769 (display-buffer-assq-regexp): Remove unused variable `value'.
6770 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6771 Mark argument ALIST as ignored.
6772 (pop-to-buffer): Remove unused variable `old-window'.
6773
907201af
EZ
67742012-01-29 Eli Zaretskii <eliz@gnu.org>
6775
6776 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6777 and .lzma compressed files.
6778
ea162670
CY
67792012-01-29 Chong Yidong <cyd@gnu.org>
6780
5b95ee8a
CY
6781 * frame.el (window-system-default-frame-alist): Doc fix.
6782
ea162670
CY
6783 * dynamic-setting.el (font-setting-change-default-font): Don't
6784 change the default face if SET-FONT argument is non-nil (Bug#9982).
6785
d6e6f4b1
SB
67862012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6787
6788 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6789
0f29fa41 67902012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6791
6792 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6793 breakpoints in files outside current directory (Bug#6098).
6794
db174434
CY
67952012-01-29 Chong Yidong <cyd@gnu.org>
6796
6b25e4e2
SE
6797 * progmodes/python.el: Require ansi-color at top-level.
6798
6df6ae42
JB
6799 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6800 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6801 (lisp-mode-abbrev-table): Add doc.
6802 (lisp-mode-variables): Don't set local-abbrev-table.
6803 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6804
e70ee681
RW
68052012-01-28 Roland Winkler <winkler@gnu.org>
6806
6807 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6808
ace88aa2
RW
68092012-01-28 Roland Winkler <winkler@gnu.org>
6810
6811 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6812 (bibtex-set-dialect): Use it. Either set global values of
6813 dialect-dependent variables or bind these variables buffer-locally
6814 (Bug#10254).
6815 (bibtex-mode): Call bibtex-set-dialect via
6816 hack-local-variables-hook.
eb864a71
LM
6817 (bibtex-dialect): Update docstring.
6818 Add safe-local-variable predicate.
ace88aa2
RW
6819 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6820 bibtex-set-dialect.
6821 (bibtex-mode-map): Define menu for each dialect.
6822 (bibtex-entry): Fix docstring.
6823
93376c5b
CY
68242012-01-28 Chong Yidong <cyd@gnu.org>
6825
6826 * eshell/esh-arg.el (eshell-quote-argument): New function.
6827
6828 * eshell/esh-ext.el (eshell-invoke-batch-file):
6829 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6830 first arg to eshell-parse-command (Bug#10523).
6831
4372494f
DA
68322012-01-28 Drew Adams <drew.adams@oracle.com>
6833
6834 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6835 `default-directory' is non-nil.
6836
4d4ec1f8
EZ
68372012-01-28 Eli Zaretskii <eliz@gnu.org>
6838
6839 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6840 line that displays system-configuration-options. (Bug#9924)
6841
7c188927
DA
68422012-01-28 Drew Adams <drew.adams@oracle.com>
6843
6844 * descr-text.el (describe-char): Show information about POS, in
6845 addition to information about the character at POS. Improve and
6846 update the doc string. Change "code point" to "code point in
6847 charset", to avoid confusion with the character's Unicode code
6848 point shown above that. (Bug#10129)
6849
e0da685a
EZ
68502012-01-28 Eli Zaretskii <eliz@gnu.org>
6851
6852 * descr-text.el (describe-char): Show the raw character, not only
6853 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6854 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6855 for the reasons.
6856
70550acf
PH
68572012-01-28 Phil Hagelberg <phil@hagelb.org>
6858
eb864a71
LM
6859 * emacs-lisp/package.el (package-install):
6860 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6861
0ce8e868
CY
68622012-01-28 Chong Yidong <cyd@gnu.org>
6863
cb882333
JB
6864 * emacs-lisp/package.el (package-maybe-load-descriptor):
6865 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6866 (package-maybe-load-descriptor): Use it.
6867 (package-download-transaction): Fully load required packages
6868 inside the loop, so that `require' calls work (Bug#10593).
6869 (package-install): No need to call package-initialize now.
6870
2e7f3bea
CY
68712012-01-28 Chong Yidong <cyd@gnu.org>
6872
6e9bad14
CY
6873 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6874
f823b8ca
CY
6875 * tooltip.el (tooltip-mode): Doc fix.
6876 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6877
2680c309
CY
6878 * frame.el (set-cursor-color): Doc fix (Bug#352).
6879
d7a9e63b
CY
6880 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6881 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6882
2e7f3bea
CY
6883 * cus-edit.el (custom-buffer-create-internal): Fix search button
6884 action (Bug#10542).
2ae01800 6885 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6886
fc4f7a23
EW
68872012-01-27 Eduard Wiebe <usenet@pusto.de>
6888
6889 * dired.el (dired-mark-files-regexp):
6890 Include any subdirectory components. (Bug#10445)
6891
7dd37071
ML
68922012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6893
6894 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6895 Handle [host]:port syntax. (Bug#10533)
6896
a268160b
AH
68972012-01-27 Alex Harsanyi <harsanyi@mac.com>
6898
6899 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6900
e43273ef
GM
69012012-01-26 Glenn Morris <rgm@gnu.org>
6902
6903 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6904 * term.el (term-raw-escape-map): Use Control-X-prefix.
6905 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6906
1edf595d
MR
69072012-01-25 Martin Rudalics <rudalics@gmx.at>
6908
6909 * window.el (window-state-get, window--state-get-1): Don't deal
6910 with fixed-sizeness of windows. Simplify code.
6911
fa8eafef
JC
69122012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6913
6df6ae42
JB
6914 * window.el (window--state-get-1, window--state-put-2):
6915 Don't save and restore the mark.
fa8eafef 6916
0b21c100
CY
69172012-01-25 Chong Yidong <cyd@gnu.org>
6918
6919 * custom.el (custom-variable-p): Doc fix.
6920
5ae1a6c8
GM
69212012-01-25 Glenn Morris <rgm@gnu.org>
6922
40047858
GM
6923 * dired.el (dired-goto-file): Handle some of the more common
6924 characters that `ls -b' escapes. (Bug#10596)
6925
5ddce96c
GM
6926 * progmodes/compile.el (compilation-next-error-function):
6927 Respect compilation-first-column in the "*compilation*" buffer.
6928 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6929
5ae1a6c8
GM
6930 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6931
b559f1a9
GM
69322012-01-24 Glenn Morris <rgm@gnu.org>
6933
6934 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6935
6725d21a
JD
69362012-01-24 Julien Danjou <julien@danjou.info>
6937
6938 * color.el (color-rgb-to-hsl): Fix value computing.
6939 (color-hue-to-rgb): New function.
6940 (color-hsl-to-rgb): New function.
6941 (color-clamp, color-saturate-hsl, color-saturate-name)
6942 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6943 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6944
70df4bbe
GM
69452012-01-24 Glenn Morris <rgm@gnu.org>
6946
6947 * vc/vc-rcs.el (vc-rcs-create-tag):
6948 * vc/vc-sccs.el (vc-sccs-create-tag):
6949 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6950
802a2ae2
ML
69512012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6952
6953 * eshell/esh-util.el (eshell-read-hosts-file):
6954 Skip comment lines. (Bug#10549)
6955
d7128bb1
ML
6956 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6957
d1a5c3b4
JB
69582012-01-23 Juanma Barranquero <lekktu@gmail.com>
6959
2724d9c7
JB
6960 * subr.el (display-delayed-warnings): Doc fix.
6961 (collapse-delayed-warnings): New function to collapse identical
6962 adjacent warnings.
6963 (delayed-warnings-hook): Add it.
d1a5c3b4 6964
a5509865
MA
69652012-01-22 Michael Albinus <michael.albinus@gmx.de>
6966
6967 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6968
a5509865
MA
6969 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6970 (tramp-default-user-alist): Don't add "pscp".
6971 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6972 property "login-as", if set. (Bug#10530)
6973
cc6d5805
MA
69742012-01-21 Michael Albinus <michael.albinus@gmx.de>
6975
6976 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6977 "plink1" and "psftp". (Bug#10530)
6978
69792012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6980
6981 * international/mule-cmds.el (prefer-coding-system): Show a
6982 warning message if the default value of file-name-coding-system
6983 was not changed.
6984
f0960428
JC
69852012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6986
cb882333
JB
6987 * windmove.el (windmove-reference-loc):
6988 Fix windmove-reference-loc miscalculation.
f0960428 6989
dd6f2a63
JB
69902012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
6991
6992 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
6993 default unit.
6994
7b447e9b
GM
69952012-01-21 Glenn Morris <rgm@gnu.org>
6996
117a9ea1
GM
6997 * international/mule.el (auto-coding-alist): Add .tbz.
6998
7b447e9b
GM
6999 * files.el (local-enable-local-variables): Doc fix.
7000 (inhibit-local-variables-regexps): Rename from
7001 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7002 Doc fix. Add some extensions from auto-coding-alist.
7003 (inhibit-local-variables-suffixes):
7004 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7005 (inhibit-local-variables-p):
7006 New function, extracted from set-auto-mode-1.
7007 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7008 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7009 (hack-local-variables): Doc fix. Make the mode-only case
7010 respect enable-local-variables and friends.
7011 Respect inhibit-local-variables-regexps for file-locals, but
7012 not for directory-locals.
7013 (set-visited-file-name):
7014 Take account of inhibit-local-variables-regexps.
7015 Whether it applies may change as the file name is changed.
7016 * jka-cmpr-hook.el (jka-compr-install):
7017 * jka-compr.el (jka-compr-uninstall):
7018 Update for inhibit-first-line-modes-suffixes name change.
7019
dd6e3cdd
MR
70202012-01-20 Martin Rudalics <rudalics@gmx.at>
7021
7022 * help-macro.el (make-help-screen): Temporarily restore original
7023 binding for minor-mode-map-alist (Bug#10454).
7024
0d0deb38
JD
70252012-01-19 Julien Danjou <julien@danjou.info>
7026
7027 * color.el (color-name-to-rgb): Use the white color to find the max
7028 color component value and return correctly computed values.
7029 (color-name-to-rgb): Add missing float conversion for max value.
7030
34a02f46
MR
70312012-01-19 Martin Rudalics <rudalics@gmx.at>
7032
7033 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7034 special state value for window-persistent-parameters.
7035 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7036 (window--state-put-2): Reset all window parameters to nil before
7037 assigning values of persistent parameters.
7038
606c44c4
AM
70392012-01-18 Alan Mackenzie <acm@muc.de>
7040
7041 Eliminate sluggishness and hangs in fontification of "semicolon
7042 deserts".
7043
cb882333
JB
7044 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7045 Change value 10000 -> 3000.
606c44c4
AM
7046 (c-state-safe-place): Reformulate so it doesn't stack up an
7047 infinite number of wrong entries in c-state-nonlit-pos-cache.
7048 (c-determine-limit-get-base, c-determine-limit): New functions to
7049 determine backward search limits disregarding literals.
7050 (c-find-decl-spots): Amend commenting.
7051 (c-cheap-inside-bracelist-p): New function which detects "={".
7052
7053 * progmodes/cc-fonts.el
7054 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7055 backward search.
7056 (c-font-lock-declarations): Fix an occurrence of point being
7057 undefined. Check additionally for point being in a bracelist or
7058 near a macro invocation without a semicolon so as to avoid a
7059 fruitless time consuming search for a declarator. Give a more
7060 precise search limit for declarators using the new
7061 c-determine-limit.
7062
f3860cea
GM
70632012-01-18 Glenn Morris <rgm@gnu.org>
7064
7065 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7066 (set-auto-mode): Doc fixes.
7067
1db03b16
GM
70682012-01-17 Glenn Morris <rgm@gnu.org>
7069
0e6038be
GM
7070 * isearch.el (search-nonincremental-instead): Fix doc typo.
7071
1db03b16
GM
7072 * dired.el (dired-insert-directory): Handle newlines in directory name.
7073 (dired-build-subdir-alist): Unescape newlines in directory name.
7074
4cb0aa75
MA
70752012-01-17 Michael Albinus <michael.albinus@gmx.de>
7076
7077 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7078 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7079 (tramp-action-terminal): Use it. (Bug#10530)
7080
1d00653d
SM
70812012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7084
6a6ee00d
MR
70852012-01-16 Martin Rudalics <rudalics@gmx.at>
7086
7087 * window.el (window-state-ignored-parameters): Remove variable.
7088 (window--state-get-1): Rename argument MARKERS to IGNORE.
7089 Handle persistent window parameters. Make copy of clone-of
7090 parameter only if requested. (Bug#10348)
7091 (window--state-put-2): Install a window parameter only if it has
7092 a non-nil value or an existing parameter shall be overwritten.
7093
97912def
MA
70942012-01-15 Michael Albinus <michael.albinus@gmx.de>
7095
7096 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7097
688070a5
EZ
70982012-01-14 Eli Zaretskii <eliz@gnu.org>
7099
7100 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7101 don't pass the (nil) value of `upnode' to string-match.
7102
301afadc
CY
71032012-01-14 Chong Yidong <cyd@gnu.org>
7104
7105 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7106 Fix values recognized by the cursorBlink resource.
301afadc 7107
9e5788aa
PE
71082012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7109
7110 * epg.el (epg--make-temp-file): Avoid permission race condition
7111 when running on old Emacs versions (bug#10403).
7112
3cdb7f5a
GM
71132012-01-14 Glenn Morris <rgm@gnu.org>
7114
7115 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7116
8c82b1b4
AM
71172012-01-13 Alan Mackenzie <acm@muc.de>
7118
7119 Fix filling for when filladapt mode is enabled.
7120
7121 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7122 c-mask-paragraph, pass in `fill-paragraph' rather than
7123 `fill-region-as-paragraph'. (This is a reversion of a previous
7124 change.)
eb864a71
LM
7125 * progmodes/cc-mode.el (c-basic-common-init):
7126 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7127
e517eda4
GM
71282012-01-13 Glenn Morris <rgm@gnu.org>
7129
1498536e
GM
7130 * dired.el (dired-switches-escape-p): New function.
7131 (dired-insert-directory): Use dired-switches-escape-p.
7132 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7133
e517eda4
GM
7134 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7135
328f984d
GM
71362012-01-12 Glenn Morris <rgm@gnu.org>
7137
7138 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7139 changes in adaptive-fill-regexp. (Bug#10276)
7140
2cc769a8
AM
71412012-01-11 Alan Mackenzie <acm@muc.de>
7142
7143 Fix Emacs bug #10463 - put `widen's around the critical spots.
7144
1d00653d 7145 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7146 widen around each invocation of c-state-pp-to-literal. Remove an
7147 unused let variable.
7148
e52c37fa
GM
71492012-01-11 Glenn Morris <rgm@gnu.org>
7150
7151 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7152 Doc fix.
e52c37fa 7153
96f8741e
CY
71542012-01-10 Chong Yidong <cyd@gnu.org>
7155
1d00653d
SM
7156 * net/network-stream.el (network-stream-open-starttls):
7157 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7158 response to the capability command.
7159
b09a806e
GM
71602012-01-10 Glenn Morris <rgm@gnu.org>
7161
7162 * mail/unrmail.el (unrmail): Tweak previous change.
7163
7655cb66
CY
71642012-01-09 Chong Yidong <cyd@gnu.org>
7165
7166 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7167
9d5a8f0b
AM
71682012-01-08 Alan Mackenzie <acm@muc.de>
7169
7170 Optimise font locking in long enum definitions.
7171
7172 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7173 arm to a cond form to handle enums.
7174 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7175 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7176
9a0115ab 71772012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7178
7179 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7180 (Bug#10401)
6bb72cbd 7181
f186bb95
LMI
71822012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7183
29232a68
LMI
7184 * faces.el (set-face-attribute): Clarify the meaning of the nil
7185 frame (bug#10294).
7186
4e5d086d
LMI
7187 * subr.el (with-selected-frame): Mention that the selected frame
7188 is restored (bug#9980).
7189
8e66aebe
LMI
7190 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7191 (bug#9759).
7192
cd394be1 7193 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7194 (password-read): Don't autoload unused function.
7195
adf4e762
JB
71962012-01-07 Juanma Barranquero <lekktu@gmail.com>
7197
7198 * progmodes/which-func.el (which-func-mode): Turn into a
7199 non-interactive function and mark as obsolete (bug#10428).
7200
89bd9ccd
CY
72012012-01-06 Chong Yidong <cyd@gnu.org>
7202
7203 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7204 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7205 functions, along with 1 and -1.
7206
4afee9d5
EZ
72072012-01-06 Eli Zaretskii <eliz@gnu.org>
7208
7209 * time.el (display-time-load-average)
7210 (display-time-default-load-average): Doc fixes. See the thread
7211 starting at
7212 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7213 for the details.
7214
536aea70
GM
72152012-01-06 Glenn Morris <rgm@gnu.org>
7216
665ae865
GM
7217 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7218 has no messages. (Bug#10377)
7219
c869783d
GM
7220 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7221 than Info-edit. (Bug#10385)
7222
2bb4227e
GM
7223 * time.el (display-time-load-average, display-time-next-load-average):
7224 Doc fixes.
7225
7d5944b9
GM
7226 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7227 local setting of buffer-read-only to the input buffer. (Bug#10419)
7228
536aea70
GM
7229 * calendar/calendar.el (calendar-mode):
7230 Locally set scroll-margin to 0. (Bug#10379)
7231
7dccca16
UM
72322012-01-06 Ulrich Mueller <ulm@gentoo.org>
7233
7234 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7235
afbb7930
GM
72362012-01-05 Glenn Morris <rgm@gnu.org>
7237
7238 * eshell/em-unix.el (diff-no-select): Autoload it.
7239 (eshell/diff): Use diff-no-select. (Bug#10420)
7240
04482335
CY
72412012-01-05 Chong Yidong <cyd@gnu.org>
7242
7baca3bc
CY
7243 * shell.el (shell-dynamic-complete-functions): Revert last change.
7244 (shell-command-completion-function): New function.
7245 (shell-completion-vars): Use it to implement
7246 shell-completion-execonly (Bug#10417).
7247
04482335
CY
7248 * custom.el (enable-theme): Don't set custom-safe-themes.
7249
1d00653d
SM
7250 * cus-theme.el (custom-theme-merge-theme):
7251 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7252
bb5aa5d6
MM
72532012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7254
7255 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7256 first prompt in `sql-interacive-mode'.
7257 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7258 keywords.
6df6ae42 7259 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7260 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7261 context of original buffer. Invoke `sql-login-hook'.
7262
a7183d7c
EZ
72632012-01-04 Eli Zaretskii <eliz@gnu.org>
7264
7265 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7266 letters in cite-prefix.
7267
a1eacd1e
LMI
72682012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269
7270 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7271
787cdb34
CY
72722012-01-03 Chong Yidong <cyd@gnu.org>
7273
1d00653d
SM
7274 * shell.el (shell-dynamic-complete-functions):
7275 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7276 comint-filename-completion first (Bug#10417).
7277
30710442
RS
72782012-01-02 Richard Stallman <rms@gnu.org>
7279
7280 * battery.el (battery-status-function):
7281 Detect when to use battery-yeeloong-sysfs.
7282 (battery-echo-area-format): Add string for Yeeloong.
7283 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7284 (battery-yeeloong-sysfs): New function.
7285
f75bfc33
CY
72862012-01-02 Chong Yidong <cyd@gnu.org>
7287
7288 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7289 (dirtrack): Merge code for handling relative filenames in prompt
7290 from shell-dir-cookie-watcher.
7291 (dirtrack-debug-message): New arg to avoid excess format calls.
7292
7293 * shell.el (shell-dir-cookie-re): Variable deleted.
7294 (shell-dir-cookie-watcher): Function deleted.
7295 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7296 with dirtrack-mode.
7297
651e947e
EZ
72982012-01-01 Eli Zaretskii <eliz@gnu.org>
7299
1d00653d
SM
7300 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7301 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7302 libgnutls-26.dll.
7303
94d4c7dc
AS
73042011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7305
7306 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7307
8d43f3cd
EZ
73082011-12-31 Eli Zaretskii <eliz@gnu.org>
7309
7310 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7311 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7312
98c8795a
MA
73132011-12-29 Michael Albinus <michael.albinus@gmx.de>
7314
7315 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7316 also for alternative shells.
7317 (tramp-open-connection-setup-interactive-shell): Check, whether
7318 the shell is a busybox.
7319 (tramp-send-command): Don't suppress multiple prompts for
7320 busyboxes, it hurts.
7321
51281b32
CY
73222011-12-28 Chong Yidong <cyd@gnu.org>
7323
7324 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7325 (gdb-get-source-file): Move mode line update to
7326 gdb-get-source-file (Bug#10087).
7327
2170cb53
CY
73282011-12-25 Chong Yidong <cyd@gnu.org>
7329
7330 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7331 gud-gdb-marker-filter without taking it as an argument.
7332 (gud-gdb-run-command-fetch-lines): Caller changed.
7333 (gud-gdb-completion-function): New variable.
7334 (gud-gdb-completion-at-point): Use it.
7335 (gud-gdb-completions-1): Split from gud-gdb-completions.
7336
7337 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7338 function as separate arguments.
7339 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7340 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7341 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7342 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7343 (gdb-stopped, def-gdb-auto-update-trigger)
7344 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7345 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7346 Callers changed.
2170cb53
CY
7347 (gud-gdbmi-completions): New function.
7348 (gdb): Use it for generating the completion table.
7349
be8b11bb
AM
73502011-12-24 Alan Mackenzie <acm@muc.de>
7351
7352 Introduce a mechanism to widen the region used in context font
1d00653d 7353 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7354
1d00653d
SM
7355 * progmodes/cc-langs.el (c-before-font-lock-functions):
7356 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7357 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7358 functions to be run just before context (etc.) font locking.
7359
7360 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7361 New, functionality extracted from
be8b11bb 7362 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7363 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7364 (c-after-change): Set c-in-after-change-fontification.
7365 (c-set-fl-decl-start): Rejig its interface, so it can be called
7366 from both after-change and context fontifying.
b81d40f0
JB
7367 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7368 New functions.
7369 (c-standard-font-lock-fontify-region-function): New variable.
7370 (c-font-lock-fontify-region): New function.
be8b11bb 7371
341cf6ac
JL
73722011-12-24 Juri Linkov <juri@jurta.org>
7373
7374 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7375 (Bug#10348)
7376
bffcee0a
MA
73772011-12-23 Michael Albinus <michael.albinus@gmx.de>
7378
7379 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7380 existence of source file. (Bug#10325)
7381
cb5e207c
AM
73822011-12-23 Alan Mackenzie <acm@muc.de>
7383
7384 Fix unstable fontification inside templates.
7385
b81d40f0
JB
7386 * progmodes/cc-langs.el (c-before-font-lock-functions):
7387 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7388 additionally has c-set-fl-decl-start. The other languages (apart
7389 from AWK) have that as a single entry.
7390
b81d40f0
JB
7391 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7392 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7393 c-set-fl-decl-start.
7394
b81d40f0
JB
7395 * progmodes/cc-mode.el (c-common-init, c-after-change):
7396 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7397 (c-set-fl-decl-start): New function, extracted from
7398 c-font-lock-enclosing-decls and enhanced.
7399
60ff536c
JB
74002011-12-23 Juanma Barranquero <lekktu@gmail.com>
7401
7402 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7403
1c4757d6
JL
74042011-12-22 Juri Linkov <juri@jurta.org>
7405
7406 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7407
d031f2c7
CY
74082011-12-22 Chong Yidong <cyd@gnu.org>
7409
7410 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7411
bace743a
DA
74122011-12-21 Drew Adams <drew.adams@oracle.com>
7413
7414 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7415
728a1f2b
JC
74162011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7417
7418 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7419
0d373f73
TZ
74202011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7421
fec0aaa4
TZ
7422 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7423 highlighting and support. Fix up comments for capitalization.
7424 (cfengine-mode-debug): New var.
7425 (cfengine3-mode): Change the modeline indicator to "CFE3".
7426 (cfengine3-font-lock-keywords): Improve defun highlighting.
7427 (cfengine2-actions): Rename from `cfengine-actions'.
7428 (cfengine2-font-lock-keywords): Rename from
7429 `cfengine-font-lock-keywords'.
7430 (cfengine2-imenu-expression): Rename from
7431 `cfengine-imenu-expression'.
7432 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7433 (cfengine2-beginning-of-defun): Rename from
7434 `cfengine-beginning-of-defun'.
7435 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7436 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7437 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7438 modeline indicator to "CFE2".
7439 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7440 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7441
bc86f573
CY
74422011-12-21 Chong Yidong <cyd@gnu.org>
7443
7444 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7445 filename argument.
7446
d45ba96b
MR
74472011-12-20 Martin Rudalics <rudalics@gmx.at>
7448
7449 * window.el (window-normalize-buffer-to-display): Remove.
7450 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7451
a6198c90
CY
74522011-12-19 Chong Yidong <cyd@gnu.org>
7453
7454 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7455 Don't signal an error in a predicate function; return non-nil.
7456 (vc-dir-mark-file): Move the error here.
7457 (vc-dir-mark-unmark): If acting on the region, keep going if one
7458 of the entries cannot be marked/unmarked.
7459 (vc-dir-mark-all-files): If current entry is a directory, mark
7460 only child files, as documented.
7461
34c5fb55
VB
74622011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7463
7464 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7465 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7466 addition.
7467
c803b2b7
JD
74682011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7469
7470 * term/ns-win.el (ns-get-selection-internal)
7471 (ns-store-selection-internal): Declare.
1154d12e
JB
7472 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7473 Declare as obsolete.
7474 (ns-get-pasteboard, ns-paste-secondary):
7475 Use ns-get-selection-internal.
7476 (ns-set-pasteboard, ns-copy-including-secondary):
7477 Use ns-store-selection-internal.
c803b2b7 7478
9cff91f8 74792011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7480
7481 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7482 (vc-deduce-fileset): Doc fix.
99a289d9 7483
f16c898a
AS
74842011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7485
7486 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7487
763237c4
SS
74882011-12-13 Sam Steingold <sds@gnu.org>
7489
7490 * man.el (Man-getpage-in-background): When running under a
7491 window-system, ignore $MANWIDTH and $COLUMNS.
7492
5fc1c122
KH
74932011-12-15 Kenichi Handa <handa@m17n.org>
7494
7495 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7496 (setup-ethiopic-environment-internal): Comment out key-binding for
7497 ethio-toggle-punctuation.
7498
13d49cbb
AM
74992011-12-13 Alan Mackenzie <acm@muc.de>
7500
898169a2
AM
7501 Add the switch statement to AWK Mode.
7502
7a71b18d 7503 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7504 "default" to the keywords regexp.
7505
7a71b18d 7506 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7507 expression as the rest.
1d00653d
SM
7508 (c-nonlabel-token-key): Allow string literals for AWK.
7509 Refactor for the other modes.
898169a2 7510
13d49cbb 7511 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7512 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7513 routines. Limit backward searching in c-font-lock-enclosing.decl.
7514
7515 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7516 pp-state and literal type in addition to the limits.
1d00653d 7517 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7518 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7519 (c-slow-in-literal, c-fast-in-literal): Remove.
7520 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7521
7522 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7523 being in a literal. Add a limit for backward searching.
7524
7525 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7526 c-slow-in-literal.
7527
15e0efc7
SM
75282011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7531
454592a6
MR
75322011-12-13 Martin Rudalics <rudalics@gmx.at>
7533
7534 * window.el (delete-other-windows): Use correct frame in call to
7535 window-with-parameter.
7536
87393f26
DP
75372011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7538
7539 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7540 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7541 (makefile-gmake-statements, makefile-makepp-statements):
7542 Use it and add new makepp keywords.
7543 (makefile-makepp-font-lock-keywords): Add new patterns.
7544 (makefile-match-function-end): Match new [...] and [[...]].
7545
11636b22
JB
75462011-12-11 Juanma Barranquero <lekktu@gmail.com>
7547
7548 * ses.el (ses-call-printer-return, ses-cell-property-get)
7549 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7550 (ses-create-cell-variable, ses-reset-header-string)
7551 (ses-cell-set-formula, ses-repair-cell-reference-all)
7552 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7553 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7554 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7555 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7556 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7557 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7558 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7559 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7560 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7561 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7562 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7563 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7564
cf018193
VB
75652011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7566
7567 * ses.el: The overall change is to add cell renaming, that is
7568 setting fancy names for cell symbols other than name matching
7569 "\\`[A-Z]+[0-9]+\\'" regexp .
7570 (ses-create-cell-variable): New defun.
7571 (ses-relocate-formula): Relocate formulas only for cells the
7572 symbols of which are not renamed, i.e. symbols whose names do not
7573 match regexp "\\`[A-Z]+[0-9]+\\'".
7574 (ses-relocate-all): Relocate values only for cells the symbols of
7575 which are not renamed.
7576 (ses-load): Create cells variables as the (ses-cell ...) are read,
7577 in order to check row col consistency with cell symbol name only
7578 for cells that are not renamed.
7579 (ses-replace-name-in-formula): New defun.
7580 (ses-rename-cell): New defun.
7581
ee957461
CY
75822011-12-11 Chong Yidong <cyd@gnu.org>
7583
7584 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7585 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7586
9a9e9ef0
MR
75872011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7588
7589 * window.el (other-window): Fix docstring.
7590
92a8eba5
EZ
75912011-12-10 Eli Zaretskii <eliz@gnu.org>
7592
7593 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7594 `from' or `to' address before taking its substring.
7595 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7596 encoded name is chopped in the middle of the encoded string, and
7597 thus displayed encoded.
7598
e152e577
JB
75992011-12-10 Juanma Barranquero <lekktu@gmail.com>
7600
7601 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7602
e5d84bfe
EZ
76032011-12-10 Eli Zaretskii <eliz@gnu.org>
7604
7605 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7606 to use texinfo-update-node and commands that call it if the
7607 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7608 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7609 (texinfo-all-menus-update, texinfo-master-menu)
7610 (texinfo-update-node, texinfo-every-node-update)
7611 (texinfo-multiple-files-update): Doc fix. Warn against updating
7612 all the @node lines.
7613 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7614 argument is numeric. Explain better in the doc string what the
7615 function really does.
7616 (texinfo-insert-master-menu-list): Improve the error message
7617 displayed if there's no menu in the Top node.
7618 (Bug#2975) See also this thread:
e5d84bfe
EZ
7619 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7620
1d84e9bb
MG
76212011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7622
7623 * speedbar.el (speedbar-supported-extension-expressions):
7624 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7625
382c953b
JB
76262011-12-09 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * printing.el (pr-mode-alist):
7629 * simple.el (filter-buffer-substring-functions)
7630 (completion-list-insert-choice-function):
7631 * window.el (window-with-parameter, window-atom-root)
7632 (window-sides-slots, window-size-fixed, window-min-delta)
7633 (window-max-delta, window--resize-mini-window)
7634 (window--resize-child-windows-normal, window-tree)
7635 (delete-other-windows, quit-window, split-window)
7636 (display-buffer-record-window, special-display-buffer-names)
7637 (special-display-regexps, special-display-popup-frame)
7638 (same-window-p, split-window-sensibly)
7639 (display-buffer-overriding-action, display-buffer-alist)
7640 (display-buffer-base-action, display-buffer, switch-to-buffer)
7641 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7642 (fit-window-to-buffer, recenter-positions)
7643 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7644 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7645 and remove unneeded backslashes in docstrings.
7646
39c9faef
SM
76472011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7648
98449af8
SM
7649 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7650
39c9faef
SM
7651 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7652 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7653 end in ".mk".
7654 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7655 when reading the makefile (bug#10116).
7656
86ed9fdc
SM
76572011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7658
7659 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7660 (bug#10116).
7661
5580f89d
GM
76622011-12-06 Glenn Morris <rgm@gnu.org>
7663
7664 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7665
28d3917c
CY
76662011-12-06 Chong Yidong <cyd@gnu.org>
7667
7668 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7669
a98edce9
JB
76702011-12-06 Juanma Barranquero <lekktu@gmail.com>
7671
7672 * textmodes/table.el (table-shorten-cell): Fix typo.
7673
e65adfac
CG
76742011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7675
7676 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7677
71cc0b74
EZ
76782011-12-05 Eli Zaretskii <eliz@gnu.org>
7679
7680 * descr-text.el (describe-char): Fix display of strong
7681 right-to-left characters and directional embeddings and overrides.
7682
7683 * simple.el (what-cursor-position): Fix display of codepoints of
7684 strong right-to-left characters.
7685
315bc30d
CY
76862011-12-05 Chong Yidong <cyd@gnu.org>
7687
7688 * faces.el (read-color): Doc fix.
7689
58a70b94
GM
76902011-12-05 Glenn Morris <rgm@gnu.org>
7691
7692 * align.el (align--set-marker): Add doc-string.
7693 Don't try to move something that is not a marker. (Bug#10216)
7694
5158face
GM
76952011-12-04 Glenn Morris <rgm@gnu.org>
7696
7697 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7698 overly zealous deletion of trailing whitespace.
7699
520fca41
JB
77002011-12-04 Juanma Barranquero <lekktu@gmail.com>
7701
7702 * server.el (server-delete-client): On Windows, do not try to delete
7703 the only terminal.
7704 (server-process-filter): On Windows, treat requests for a tty frame as
7705 if they were for a GUI frame if the running server is in GUI mode.
7706
5e605a2e
GM
77072011-12-03 Glenn Morris <rgm@gnu.org>
7708
7709 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7710
5c3fe83f
SM
77112011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7712
6f5e57e7
SM
7713 * electric.el: Streamline electric-indent's hook.
7714 (electric-indent-chars): Revert to simple list.
7715 (electric-indent-functions): New var.
7716 (electric-indent-post-self-insert-function): Use it.
7717
5c3fe83f
SM
7718 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7719 there's no inferior buffer (bug#10196).
7720 (prolog-consult-compile): Don't use toggle-read-only.
7721
6bdac736
MA
77222011-12-02 Michael Albinus <michael.albinus@gmx.de>
7723
7724 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7725 interrupt. (Bug#10187)
7726
6131ba7f
SM
77272011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7728
99c79fee
SM
7729 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7730 (bug#9160).
7731
6131ba7f
SM
7732 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7733 (bug#10191).
7734
cb0a02ea
JL
77352011-12-02 Juri Linkov <juri@jurta.org>
7736
7737 * info.el (Info-search): Display "end of manual" when Isearch
7738 reaches the end of single-file Info manual. (Bug#9918)
7739
66e0570c
EZ
77402011-12-02 Eli Zaretskii <eliz@gnu.org>
7741
7742 * isearch.el (isearch-message-prefix): Run the input method part
7743 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7744
02b16839
JL
77452011-12-02 Juri Linkov <juri@jurta.org>
7746
7747 * isearch.el (isearch-occur): Use `word-search-regexp' for
7748 `isearch-word'.
7749 (isearch-search-and-update): Add condition for `isearch-word' and
7750 call `word-search-regexp'. (Bug#10145)
7751
0b950688
GM
77522011-12-01 Glenn Morris <rgm@gnu.org>
7753
7754 * eshell/em-hist.el (eshell-hist-initialize):
7755 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7756 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7757
9505c3c7
SM
77582011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7761
1bbe96b2 77622011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7763
a1beca85
SM
7764 * progmodes/verilog-mode.el (verilog-pretty-expr):
7765 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7766 verilog, such as += *= and the like.
7767 (verilog-assignment-operator-re): Regular expression to find the
7768 assigment operator in a verilog assignment.
7769 (verilog-assignment-operation-re): Regular expression to find an
7770 assignment statement for pretty-expr.
7771 (verilog-in-attribute-p): Query returns true if point is in an
7772 attribute context; used to skip these for expression line up from
7773 pretty-expr.
7774 (verilog-in-parameter-p): Query returns true if point is in an
7775 parameter definition context; used to skip these for expression
7776 line up from pretty-expr.
7777 (verilog-in-parenthesis-p): Query returns true if point is in a
7778 parenthetical expression, specifically ( ) but not [ ] or { };
7779 used by pretty-expr.
7780 (verilog-just-one-space): If there is no space, don't add one.
7781 (verilog-get-lineup-indent-2): Specifically skip just attribute
7782 contexts for expression lineup, rather than skipping all
7783 parenthetical expressions.
7784 (verilog-calculate-indent): Fix comment, and fix indent.
7785 (verilog-do-indent): Indent declarations in lists (suggested by
7786 Joachim Lechner).
7787 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7788 skeleton items.
7789 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7790 by Alain Mellan).
7791
1bbe96b2 77922011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7793
7794 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7795 parameters with embedded comments. Reported by Ray Stevens.
7796 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7797 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7798 Reported by Tim Holt.
7799 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7800 instantiated by upper module causing wrong expansion until AUTOed a
7801 second time. Reported by K C Buckenmaier.
7802 (verilog-diff-auto): Fix showing .* as a difference when
7803 `verilog-auto-star-save' off. Reported by Dan Dever.
7804 (verilog-auto-reset, verilog-read-always-signals)
7805 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7806 temporary signals in reset list if
7807 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7808 style to each signal's assignment type, bug381.
7809 Reported by Thomas Esposito.
6288f0ca
WS
7810 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7811 (verilog-uvm-statement-re): Support UVM indentation and
7812 highlighting, with old OVM keywords only.
a1beca85 7813 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7814 Support AUTOTIEOFF creating non-wire data types.
7815 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7816 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7817 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7818 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7819 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7820 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7821 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7822 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7823 non-numeric vector width. Reported by Alex Reed.
7824 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7825 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7826 (verilog-auto-delete-trailing-whitespace):
7827 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7828 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7829 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7830 Fix verilog-scan-cache corruption when running user AUTO expansion
7831 hooks that call indentation routines.
7832 (verilog-simplify-range-expression): Fix typo ignoring lower case
7833 identifiers.
7834 (verilog-delete-auto): Fix delete-autos to also remove user created
7835 automatics, as long as they start with AUTO.
7836 (verilog-batch-diff-auto, verilog-diff-auto)
7837 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7838 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7839 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7840 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7841 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7842 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7843 is disabled and its cache will get corrupt, causing AUTOS not to
7844 expand. Instead use only -quick functions.
7845 (verilog-scan-region): Fix scanning over escaped quotes.
7846 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7847 (verilog-re-search-backward-quick)
7848 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7849 related functions now ignore strings, to fix misparsing of strings
7850 with magic comments embedded in them.
a1beca85
SM
7851 (verilog-read-auto-template):
7852 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7853 Reported by Brad Dobbie.
7854 (verilog-read-auto-template):
7855 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7856 Reported by Brad Dobbie.
6288f0ca
WS
7857 (verilog-auto-inst, verilog-auto-inst-param)
7858 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7859 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7860 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7861 debugging templates without merge conflicts, bug357.
7862 Reported by Brad Dobbie.
7863 (verilog-read-auto-template):
7864 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7865 Reported by Brad Dobbie.
7866 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7867 abbrevs so user won't be asked to save.
7868 (verilog-read-auto-lisp-present): Fix to start at beginning of
7869 buffer in case called outside of verilog-auto.
7870 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7871 to "X-2". Reported by Matthew Myers.
7872 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7873 all inputs from module templates. Reported by Leith Johnson.
7874 (verilog-module-inside-filename-p): Fix locating programs as with
7875 modules.
7876 (verilog-auto-inst-port): Fix vl-width expressions when using
7877 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7878 (verilog-decls-get-regs, verilog-decls-get-signals,
7879 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7880 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7881 verilog-read-decls): Combine reg and wire structures into one var
7882 structure to represent SystemVerilog concepts.
7883 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7884 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7885 (verilog-auto-wire-type, verilog-insert-definition):
7886 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7887 SystemVerilog "logic" keyword instead of "wire"/"reg".
7888 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7889 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7890 ifdef or generate if so there's not a driver conflict).
7891 Reported by Matthew Myers.
7892 (verilog-auto-declare-nettype, verilog-insert-definition):
7893 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7894 `default_nettype none. Reported by Julian Gorfajn.
7895 (verilog-read-always-signals-recurse, verilog-read-decls)
7896 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7897 malformed end statement, bug325. Reported by Joshua Wise and
7898 Andrew Drake.
7899 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7900 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7901 when expanding .* in interfaces, bug320.
7902 Reported by Pierre-David Pfister.
6288f0ca 7903 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7904 name and open parenthesis, bug317.
7905 Reported by Pierre-David Pfister.
6288f0ca
WS
7906 (verilog-simplify-range-expression): Fix simplification of
7907 multiplications inside AUTOWIRE connections, bug303.
7908 (verilog-auto-inst-port): Support parameter expansion in
7909 multidimensional arrays.
7910 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7911 after "assert property". Reported by Julian Gorfajn.
7912 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7913 with multiplication, bug303.
7914 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7915 Reported by Jan Frode Lonnum.
7916
1bbe96b2
GM
79172011-11-30 Juanma Barranquero <lekktu@gmail.com>
7918
7919 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7920 (hfy-shell-file-name, hfy-shell):
7921 * international/fontset.el (x-decompose-font-name): Fix typos.
7922
79232011-11-29 Ken Brown <kbrown@cornell.edu>
7924
7925 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7926 (gdb-version): Remove defvar.
7927 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7928 (gdb-gud-context-command, gdb-non-stop-handler)
7929 (gdb-current-context-command, gdb-stopped): Use it.
7930 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7931 (gdb-non-stop-handler): Don't enable pretty-printing here.
7932 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7933 non-stop mode. Use the following.
7934 (gdb-check-target-async): New defun.
7935 (gud-watch, gdb-stopped): Fix whitespace.
7936 (gdb-get-source-file): Don't try to display the source file if
7937 `gdb-main-file' is nil.
7938
79392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * align.el: Try to generate fewer markers (bug#10047).
7942 (align--set-marker): New macro.
7943 (align-region): Use it.
7944
c935221f
SM
79452011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7948
e70b5064
CY
79492011-11-29 Chong Yidong <cyd@gnu.org>
7950
7951 * indent.el (indent-for-tab-command, indent-according-to-mode):
7952 Doc fix.
7953 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7954
f3af92b7
MA
79552011-11-29 Michael Albinus <michael.albinus@gmx.de>
7956
7957 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7958 aware of remote file names. (Bug#10124)
7959
ed472be9
CY
79602011-11-29 Chong Yidong <cyd@gnu.org>
7961
7962 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7963
24510c22
SM
79642011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * files.el (find-file): Don't use force-same-window (bug#10144).
7967 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7968 use pop-to-buffer if the selected window can't be used.
7969 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7970
c60c3703
EZ
79712011-11-28 Eli Zaretskii <eliz@gnu.org>
7972
7973 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7974 special-mode-map.
7975
e95def75
CY
79762011-11-28 Chong Yidong <cyd@gnu.org>
7977
7978 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7979
c3f1c606
NR
79802011-11-27 Nick Roberts <nickrob@snap.net.nz>
7981
7982 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7983 gdb-get-source-file-list on gdb-create-source-file-list.
7984
00db469c
EZ
79852011-11-26 Eli Zaretskii <eliz@gnu.org>
7986
7987 * whitespace.el (whitespace-newline): Use a different foreground
7988 color for 16-color light-background displays.
7989
4ad3bc2a
CY
79902011-11-24 Chong Yidong <cyd@gnu.org>
7991
7992 * window.el (display-buffer--special-action): Doc fix.
7993
e9fce1ac
JB
79942011-11-25 Juanma Barranquero <lekktu@gmail.com>
7995
7996 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
7997 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
7998 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
7999 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8000 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8001 (avl-tree-stack-first):
8002 * emacs-lisp/cconv.el (cconv--analyse-use):
8003 * net/gnutls.el (gnutls-negotiate): Fix typos.
8004
cb825e5d
GM
80052011-11-24 Glenn Morris <rgm@gnu.org>
8006
3adbe224
GM
8007 * lpr.el (lpr-windows-system, lpr-lp-system):
8008 * mail/binhex.el (binhex-begin-line):
8009 * progmodes/grep.el (grep-history, grep-find-history):
8010 * textmodes/flyspell.el:
8011 * vc/pcvs-defs.el (cvs-global-menu):
8012 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8013 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8014 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8015
321decc8
GM
8016 * net/tls.el: Fix case of "GnuTLS".
8017
420b63ad
GM
8018 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8019
cb825e5d
GM
8020 * version.el (emacs-build-system): Give it a doc-string.
8021
a0649f08
JL
80222011-11-24 Juri Linkov <juri@jurta.org>
8023
8024 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8025
c0bc0fd4
GM
80262011-11-24 Glenn Morris <rgm@gnu.org>
8027
8028 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8029 if called on a non-mime message just toggle the headers. (Bug#8006)
8030
20db1522
JB
80312011-11-24 Juanma Barranquero <lekktu@gmail.com>
8032
8033 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8034 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8035 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8036 (allout-rebullet-heading, allout-open-sibtopic)
8037 (allout-toggle-current-subtree-encryption)
8038 (allout-toggle-subtree-encryption, allout-encrypt-string)
8039 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8040 (allout-distinctive-bullets-string, allout-auto-activation):
8041 * window.el (window-normalize-buffer-to-display):
8042 * progmodes/verilog-mode.el (verilog-batch-indent):
8043 * textmodes/bibtex.el (bibtex-field-braces-opt)
8044 (bibtex-field-strings-opt):
8045 * vc/cvs-status.el (cvs-tree-merge):
8046 Fix typos.
8047
7262a87c
MA
80482011-11-23 Michael Albinus <michael.albinus@gmx.de>
8049
8050 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8051 `non-essential' to t, in order to avoid remote connections.
8052
283430a1
EZ
80532011-11-23 Eli Zaretskii <eliz@gnu.org>
8054
a1beca85
SM
8055 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8056 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8057 case-insensitively.
8058
d2992a38
ML
80592011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8060
8061 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8062
50419064
GM
80632011-11-23 Glenn Morris <rgm@gnu.org>
8064
da94eca1
GM
8065 * paths.el (rmail-file-name): Reformat the doc-string so that it
8066 is picked up.
8067
9aac4de2
GM
8068 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8069 (rmail-auto-file): Ignore case in the "special" field names,
8070 as mail-fetch-field does for all others.
8071
8038d2d2
GM
8072 * mail/rmail.el (rmail-forward):
8073 * mail/rmailkwd.el (rmail-set-label):
8074 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8075 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8076
f3fe222a
GM
8077 * mail/rmail.el (rmail-current-message): Doc fix.
8078
50419064
GM
8079 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8080
28109f49
SM
80812011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8084
394c65f1
GM
80852011-11-22 Glenn Morris <rgm@gnu.org>
8086
8087 * mail/rmailmm.el (test-rmail-mime-handler)
8088 (test-rmail-mime-bulk-handler)
8089 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8090
f2a0aa3a
JL
80912011-11-21 Juri Linkov <juri@jurta.org>
8092
1154d12e
JB
8093 * calc/calc.el (calc-read-key-sequence):
8094 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8095
9c34a344
LMI
80962011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8097
8098 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8099 Tell the caller that the next line needs recomputation, even
8100 though it doesn't start a sexp (bug#10094).
8101
f04a3be9
SM
81022011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8105
7978747f
SM
81062011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8107
f04a3be9
SM
8108 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8109 Use force-same-window.
7978747f 8110
fe7a3057
JB
81112011-11-20 Juanma Barranquero <lekktu@gmail.com>
8112
8113 * descr-text.el (describe-char-unicode-data):
8114 * json.el (json-string-escape):
8115 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8116 (Footnote-unicode, Footnote-style-p):
8117 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8118
24901d61
CY
81192011-11-20 Chong Yidong <cyd@gnu.org>
8120
8121 * window.el (replace-buffer-in-windows): Restore interactive spec.
8122
bac7ff22
SM
81232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8124
24f3d7b9
SM
8125 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8126
bac7ff22
SM
8127 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8128 (byte-compile-global-not-obsolete-vars): New var.
8129 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8130 Use it.
8131 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8132
cd1181db
JB
81332011-11-20 Juanma Barranquero <lekktu@gmail.com>
8134
8135 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8136 * progmodes/pascal.el (electric-pascal-equal):
8137 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8138 * xml.el (xml-substitute-special): Fix typos.
8139
7fb18e9e
GM
81402011-11-20 Glenn Morris <rgm@gnu.org>
8141
8142 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8143 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8144 Doc fixes.
8145 (rmail-decode-mime-charset): Mark as obsolete.
8146
8147 * mail/rmailsum.el (rmail-message-regexp-p-1):
8148 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8149 Before using mime functions, check they are set. (Bug#10077)
8150
d5a6b3ba
JL
81512011-11-19 Juri Linkov <juri@jurta.org>
8152
8153 * info.el (Info-finder-find-node): Use `package--builtins' instead
8154 of `package-alist'. Use node names formed by the pattern "Keyword "
8155 and the keyword name.
8156
e981b61f
AS
81572011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8158
1d00653d 8159 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8160
3ffbc301
JL
81612011-11-19 Juri Linkov <juri@jurta.org>
8162
8163 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8164 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8165 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8166 `old-history', `old-history-forward'. Add let-binding
8167 `window-selected'. Remove calls to `kill-buffer',
8168 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8169 before calling `Info-find-node', so `Info-find-node-2' will reread
8170 the Info file. Restore window positions only when `window-selected'
8171 is non-nil.
8172
30c62133
JL
81732011-11-19 Juri Linkov <juri@jurta.org>
8174
8175 * isearch.el (isearch-lazy-highlight-new-loop):
8176 Remove condition `(not isearch-error)'. (Bug#9918)
8177
8178 * misearch.el (multi-isearch-search-fun): Add condition
8179 `(not bound)' to ignore lazy-highlighting search.
8180 Add the search-failed message "end of multi" when the end of
8181 multi-sequence is reached. Uncapitalize the search-failed
8182 message "Repeat for next buffer".
8183
8184 * info.el (Info-search): Add the search-failed message
8185 "end of the manual" when the end of the manual is reached
8186 in Isearch mode.
8187
645ca9cf
JL
81882011-11-19 Juri Linkov <juri@jurta.org>
8189
8190 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8191 Use non-destructive `remove' instead of `delete' because
8192 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8193 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8194
df754f66
JL
81952011-11-19 Juri Linkov <juri@jurta.org>
8196
8197 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8198 to nil instead of binding `search-ring' and `regexp-search-ring'.
8199 (Bug#9185)
8200
0e23d96a
EZ
82012011-11-19 Eli Zaretskii <eliz@gnu.org>
8202
8203 * simple.el (line-move): Force movement by logical lines for any
8204 hscrolled window, not only when auto-hscroll-mode is on.
8205 (line-move-visual): Update doc string to that effect. (Bug#10076)
8206
8a6ccb66
AS
82072011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8208
8209 * language/european.el (macintosh): Define as alias for mac-roman.
8210
49ae5b39
EZ
82112011-11-19 Eli Zaretskii <eliz@gnu.org>
8212
8213 * mail/rmailmm.el (rmail-mime-display-header)
8214 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8215 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8216 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8217 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8218 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8219 of a raw aref.
8220 (rmail-mime-entity-segment): To get past the tagline, move forward
8221 2 more lines, to account for the 2 empty lines that precede and
8222 follow the line with the buttons.
8223 (rmail-mime-update-tagline): Move one more line, to get past the
8224 empty line that follows the buttons in the tagline. (Bug#9520)
8225
c56cad4a
MR
82262011-11-19 Martin Rudalics <rudalics@gmx.at>
8227
8228 * window.el (window-max-delta-1, window-min-delta-1)
8229 (window-min-size-1, window-state-get-1, window-state-put-1)
8230 (window-state-put-2): Use "window--" prefix.
8231
cbe71af3
SM
82322011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8233
2ad52c60
SM
8234 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8235 (smie-warning-count): New var.
8236 (smie-set-prec2tab): Use it.
8237 (smie-bnf->prec2): Improve warnings. Add docstring.
8238 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8239 (smie-bnf--set-class): New function.
8240 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8241 corner case.
8242
6944dbc1
SM
8243 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8244 (compilation-error-properties, compilation-move-to-column):
8245 Handle compilation-first-column while in the target buffer.
8246
c400c4d7
SM
8247 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8248 Don't hardcode point-min==1.
8249
6dbe3e96
SM
8250 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8251 (eshell-rewrite-for-command): Remove workaround.
8252 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8253 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8254 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8255
cbe71af3
SM
8256 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8257
a8e1496d
GM
82582011-11-17 Glenn Morris <rgm@gnu.org>
8259
8260 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8261 Ignore buffer-local generated-autoload-file if it is the same
8262 as the global value. (Bug#10049)
8263
df85d315
JB
82642011-11-17 Juanma Barranquero <lekktu@gmail.com>
8265
8266 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8267 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8268 (reftex-toc-previous-heading, reftex-toc-max-level)
8269 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8270 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8271 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8272 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8273 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8274 (reftex-toc-rename-label, reftex-toc-visit-location)
8275 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8276 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8277 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8278 leaving "*toc*" only for references to the buffer.
8279
a0c2d0ae
MR
82802011-11-17 Martin Rudalics <rudalics@gmx.at>
8281
8282 * window.el (window-resize, delete-window, split-window):
8283 Replace window-splits by window-combination-resize.
1d00653d 8284 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8285
35c0bac8
GM
82862011-11-17 Glenn Morris <rgm@gnu.org>
8287
8288 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8289 Make bash entry derive from sh entry, not shell entry.
8290
d0c8fc8a
MA
82912011-11-16 Michael Albinus <michael.albinus@gmx.de>
8292
7262a87c
MA
8293 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8294 local file name.
8295
7877f373
JB
82962011-11-16 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * menu-bar.el (menu-bar-file-menu):
8299 * printing.el (pr-ps-utility):
8300 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8301 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8302 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8303 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8304 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8305 (icalendar--convert-cyclic-to-ical)
8306 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8307 (icalendar--convert-ical-to-diary)
8308 (icalendar--convert-recurring-to-diary)
8309 (icalendar--convert-non-recurring-all-day-to-diary)
8310 (icalendar-import-format-sample):
8311 * progmodes/idlw-shell.el (idlwave-shell-mode):
8312 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8313 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8314 (vhdl-ps-print-init): Fix typos.
8315
10649b82
KM
83162011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8317
9d0cfcd6
GM
8318 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8319 FSF and collapse date sequence, obscure author/maintainer email address
8320 better, remove extra version line, track relocation of author's webpage.
10649b82 8321
9d0cfcd6
GM
8322 * progmodes/python.el (python-pdbtrack-input-prompt)
8323 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8324 regular python pdb prompts. Adjustments shamelessly taken exactly as
8325 suggested in EmacsWiki page (tiny change):
8326 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8327
58179cce
JB
83282011-11-16 Juanma Barranquero <lekktu@gmail.com>
8329
8330 * expand.el (expand-pos, expand-index, expand-point):
8331 Remove redundant info from docstring.
8332 (expand-add-abbrevs): Doc fix.
8333 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8334 (expand-sample-perl-mode-expand-list): Fix typos.
8335
8336 * net/dbus.el (dbus-event-member-name):
8337 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8338 * term/pc-win.el (msdos-create-frame-with-faces):
8339 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8340
b6f67890
MR
83412011-11-16 Martin Rudalics <rudalics@gmx.at>
8342
8343 * window.el (split-window, window-state-get-1)
8344 (window-state-put-1, window-state-put-2): Rename occurrences of
8345 window-nest to window-combination-limit.
1d00653d 8346 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8347
ce7ddba0
CY
83482011-11-16 Chong Yidong <cyd@gnu.org>
8349
8350 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8351 regexp (Bug#10033).
8352
3ae704f4
SM
83532011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8356 `completing-read' will remove *Completions* and will preserve
8357 current-buffer for us.
8358 (tmm-add-prompt): Users of *Completions* will always (re)set its
8359 major mode.
8360 (tmm-old-comp-map): Remove.
8361
6ad1cdde
GM
83622011-11-16 Glenn Morris <rgm@gnu.org>
8363
8364 * mail/rmailedit.el: Require rmailmm when compiling.
8365 (rmail-old-mime-state): New declaration.
8366 (rmail-edit-current-message): If editing a mime message,
8367 edit the "raw" message from the mbox buffer.
8368 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8369
d20faa20
GM
83702011-11-15 Glenn Morris <rgm@gnu.org>
8371
8372 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8373 which wasn't being used. Add optional arg to force given state.
8374 (rmail-mime): Add optional arg to force given state.
8375
c7015153
JB
83762011-11-15 Juanma Barranquero <lekktu@gmail.com>
8377
8378 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8379 * frame.el (display-mm-dimensions-alist):
8380 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8381 (outline-move-subtree-down):
8382 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8383 (newsticker--treeview-do-get-node):
8384 * net/quickurl.el (quickurl-list-buffer-name):
8385 * progmodes/dcl-mode.el (dcl-mode):
8386 * progmodes/gdb-mi.el (gdb-mapcar*):
8387 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8388
45261b50
GM
83892011-11-15 Glenn Morris <rgm@gnu.org>
8390
8391 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8392 in a boolean sense, so just make it a boolean, and fix the doc.
8393 (rmail-show-mime-function, rmail-mime-feature)
8394 (rmail-require-mime-maybe): Doc fixes.
8395 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8396
8397 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8398
0d26e0b6
JB
83992011-11-15 Juanma Barranquero <lekktu@gmail.com>
8400
8401 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8402 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8403 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8404 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8405
447f30f6
GM
84062011-11-15 Glenn Morris <rgm@gnu.org>
8407
672b871d
GM
8408 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8409 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8410 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8411 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8412 (rmail-mime, rmail-show-mime): Doc fixes.
8413
f6aa5bb1
GM
8414 * term/ns-win.el (mode-line-frame-identification):
8415 Leave it alone. (Bug#10051)
8416
947cd66b
GM
8417 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8418
447f30f6
GM
8419 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8420 Handle empty buffers. (Bug#9978)
8421
0b381c7e
JB
84222011-11-14 Juanma Barranquero <lekktu@gmail.com>
8423
8424 * international/mule.el (define-charset):
8425 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8426 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8427 * progmodes/verilog-mode.el (verilog-backward-token):
8428 * textmodes/ispell.el (lookup-words):
8429 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8430
71e027ac
GM
84312011-11-14 Glenn Morris <rgm@gnu.org>
8432
56632ce4
GM
8433 * progmodes/executable.el
8434 (executable-make-buffer-file-executable-if-script-p):
8435 Handle file-modes returning nil.
8436
40500957
GM
8437 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8438 message - not necessary, and causes problems. (Bug#9831)
8439
071c2340
GM
8440 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8441
d3cfca60
GM
8442 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8443
71e027ac
GM
8444 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8445 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8446 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8447
89d61221
MR
84482011-11-12 Martin Rudalics <rudalics@gmx.at>
8449
8450 * window.el (window-resize, delete-window): Use window-splits
8451 variable instead of function.
8452 (window-state-get-1, window-state-put-2, window-state-put):
8453 Don't deal with windows' splits status.
8454
98282f6f
GM
84552011-11-12 Glenn Morris <rgm@gnu.org>
8456
8457 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8458 (apropos-documentation): Doc fixes.
8459
40a8bdf6
JB
84602011-11-11 Juanma Barranquero <lekktu@gmail.com>
8461
8462 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8463 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8464
65bd19ff
SM
84652011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * electric.el (electric-indent-post-self-insert-function): Make it
8468 possible for a char to only indent in some circumstances.
8469 (electric-indent-mode): Simplify.
8470
54f9154c
MR
84712011-11-11 Martin Rudalics <rudalics@gmx.at>
8472
8473 * window.el (windows-with-parameter): Remove unused function.
8474 (windows-at-side): Rename to window-at-side-list.
8475 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8476 (window-side-check, window-size-ignore, window-size-fixed-1)
8477 (window-in-direction-2): Prefix with "window--".
8478 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8479
68cbc58b
GM
84802011-11-11 Glenn Morris <rgm@gnu.org>
8481
8482 * subr.el (eval-after-load): If FILE is already loaded,
8483 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8484
b2621720
GM
84852011-11-10 Glenn Morris <rgm@gnu.org>
8486
9a4de110
GM
8487 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8488 Call svn via vc-svn-command rather than vc-do-command.
8489 (vc-svn-command): Add --non-interactive. (Bug#9993)
8490 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8491
b2621720
GM
8492 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8493 Add toggle-read-only. (Bug#7292)
8494 * files.el (toggle-read-only): Mention that it should only
8495 be used interactively. (Bug#10006)
8496
1dce7193
SM
84972011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8498
d9ac1a1e
SM
8499 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8500 Adjust regexp for OCaml warnings.
8501
0c325082
SM
8502 * electric.el (electric-pair-post-self-insert-function): Let user
8503 turn it off buffer-locally (bug#9932).
8504
90132c14
SM
8505 * progmodes/python.el (python-beginning-of-statement):
8506 Rewrite (bug#2703).
8507
1dce7193
SM
8508 * progmodes/compile.el: Better handle TABs (bug#9749).
8509 (compilation-internal-error-properties)
8510 (compilation-next-error-function): Obey the target buffer's
8511 compilation-error-screen-columns.
8512
c4e7c63a
JB
85132011-11-09 Juanma Barranquero <lekktu@gmail.com>
8514
8515 * progmodes/meta-mode.el: Remove obsolete comments.
8516 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8517 Fix typos in docstrings.
8518
2cffd681
MR
85192011-11-09 Martin Rudalics <rudalics@gmx.at>
8520
8521 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8522 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8523 (window--resizable): New function. Make all callers of
8524 window-resizable call window--resizable instead.
8525 (window-resizable): Rewrite in terms of window--resizable.
8526
0edcba87
GM
85272011-11-08 Glenn Morris <rgm@gnu.org>
8528
8529 * progmodes/delphi.el (delphi-mode-syntax-table):
8530 Let define-derived-mode define a proper syntax table. (Bug#9994)
8531
4b0d61e3
SM
85322011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * window.el: Stay away from defsubst.
8535 (window-list-no-nils): Remove.
8536 (window-state-get-1, window-state-get): Use backquote instead.
8537
cd394be1 85382011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8539
4b0d61e3 8540 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8541 Fix incorrect use of default argument in `completing-read'.
8542
e1c2c6f2
MR
85432011-11-08 Martin Rudalics <rudalics@gmx.at>
8544
8545 * window.el (display-buffer-function, special-display-function):
8546 Mention display-buffer-record-window but do not mention
8547 help-setup parameter in doc-strings.
b3f4a882 8548 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8549
105216ed
CY
85502011-11-08 Chong Yidong <cyd@gnu.org>
8551
8552 * window.el (window-total-height, window-total-width): Doc fix.
8553 (window-body-size): Move from C.
8554 (window-body-height, window-body-width): Move to C.
8555
0a9f9ab5
SM
85562011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * window.el: Make special-display like display-buffer-alist (bug#9532).
8559 (display-buffer--special-action): New function, morphed
8560 from display-buffer--special.
8561 (display-buffer): Use it to handle special-display-buffers at higher
8562 priority (just after display-buffer-alist).
8563 (display-buffer-fallback-action, display-buffer--other-frame-action)
8564 (pop-to-buffer-same-window): Remove display-buffer--special.
8565
a769dd15
GM
85662011-11-07 Glenn Morris <rgm@gnu.org>
8567
8568 * calendar/cal-menu.el (cal-menu-set-date-title):
8569 Do nothing if not in a calendar. (Bug#9976)
8570
05a61ee3
SM
85712011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 * files.el (find-file): Always use selected-window.
8574
be7f5545
MR
85752011-11-07 Martin Rudalics <rudalics@gmx.at>
8576
8577 * window.el (window-combinations): Make WINDOW argument
8578 mandatory. Rewrite doc-string.
8579 (walk-window-subtree, window-atom-check, window-min-delta)
8580 (window-max-delta, window--resize-this-window)
8581 (window--resize-root-window-vertically, window-tree)
8582 (balance-windows, window-state-put): Rewrite doc-strings as to
8583 not mention the term "subwindow".
8584 (window--resize-subwindows-skip-p): Rename to
8585 window--resize-child-windows-skip-p.
8586 (window--resize-subwindows-normal): Rename to
8587 window--resize-child-windows-normal.
8588 (window--resize-subwindows): Rename to
8589 window--resize-child-windows.
8590 (window-or-subwindow-p): Rename to window--in-subtree-p.
8591
3c6702ef
ML
85922011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8593
8594 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8595 Ensure that mbox format messages end in two newlines (Bug#9974).
8596
49745b39
CY
85972011-11-06 Chong Yidong <cyd@gnu.org>
8598
8599 * window.el (window-combination-p): Function deleted; its
8600 side-effect is not used in any existing code.
8601 (window-combinations, window-combined-p): Call window-*-child
8602 directly.
8603
24300f5f
CY
86042011-11-05 Chong Yidong <cyd@gnu.org>
8605
8606 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8607 (window-size-ignore, window-state-get): Callers changed.
8608 (window-normalize-window): Rename from window-normalize-any-window.
8609 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8610 (window-normalize-live-window): Delete.
447f16b8
CY
8611 (window-combination-p, window-combined-p, window-combinations)
8612 (walk-window-subtree, window-atom-root, window-min-size)
8613 (window-sizable, window-sizable-p, window-size-fixed-p)
8614 (window-min-delta, window-max-delta, window-resizable)
8615 (window-resizable-p, window-full-height-p, window-full-width-p)
8616 (window-current-scroll-bars, window-point-1, set-window-point-1)
8617 (window-at-side-p, window-in-direction, window-resize)
8618 (adjust-window-trailing-edge, maximize-window, minimize-window)
8619 (window-deletable-p, delete-window, delete-other-windows)
8620 (record-window-buffer, unrecord-window-buffer)
8621 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8622 (quit-window, split-window, window-state-put)
8623 (set-window-text-height, fit-window-to-buffer)
8624 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8625
89bd5ee1
EZ
86262011-11-04 Eli Zaretskii <eliz@gnu.org>
8627
53479029
EZ
8628 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8629 rfc2047-decode-string.
8630 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8631 warnings.
8632
89bd5ee1
EZ
8633 * window.el (window-body-height, window-body-width): Mention in
8634 the doc string that the return values are in frame's canonical
8635 units. (Bug#9949)
8636
bd17fdee
AM
86372011-11-03 Alan Mackenzie <acm@muc.de>
8638
8639 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8640 change in cc-engine.el.
8641
acc825c5
SM
86422011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8645
1885e5b8
MR
86462011-11-02 Martin Rudalics <rudalics@gmx.at>
8647
8648 * window.el (quit-window): Call unrecord-window-buffer after
8649 showing another buffer in the window. (Bug#9937)
acc825c5 8650 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8651
ebe06da9
JB
86522011-11-02 Juanma Barranquero <lekktu@gmail.com>
8653
8654 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8655 Accept status with more than 9 shelves. (Bug#9935)
8656 Reported by Colin D Bennett <colin@gibibit.com>.
8657
4ee88440
MR
86582011-11-01 Martin Rudalics <rudalics@gmx.at>
8659
8660 * help.el (with-help-window): Don't reference
8661 temp-buffer-show-specifiers in doc-string.
8662
08e1d82c
AS
86632011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8664
8665 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8666 menu-item.
8667
84bd6e9e
VJL
86682011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8669
8670 * whitespace.el: New version 13.2.2.
8671 (whitespace-newline-mode): Disable properly. Reported by Sarah
8672 <EmacsWiki>.
8673
dba0634a
UJ
86742011-10-30 Ulf Jasper <ulf.jasper@web.de>
8675
8676 * net/newst-treeview.el: Remove "Time-stamp".
8677 (newsticker--group-manage-orphan-feeds): Do not call
8678 newsticker--treeview-tree-update.
db22a3c2
JB
8679 (newsticker-treeview-update, newsticker-treeview):
8680 Call newsticker--treeview-tree-update if necessary.
dba0634a 8681
3d8daefe
MR
86822011-10-30 Martin Rudalics <rudalics@gmx.at>
8683
8684 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8685 (window-iso-combinations): Remove "iso-" infix.
8686 Suggested by Chong Yidong.
3d8daefe
MR
8687 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8688 (window-max-delta-1, window-resize, window--resize-siblings)
8689 (window--resize-this-window, adjust-window-trailing-edge)
8690 (split-window, balance-windows-1)
8691 (shrink-window-if-larger-than-buffer):
8692 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8693 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8694
1bc4c3ae
SM
86952011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8698 in place (bug#9907).
8699 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8700 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8701 (eshell-structure-basic-command, eshell-rewrite-while-command)
8702 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8703 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8704 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8705 (eshell-do-pipelines-synchronously, eshell-eval-command):
8706 Use backquotes and prefer setq to set.
8707 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8708 (eshell-macrop): Use functionp.
c1e2f5fa 8709 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8710
30b65d9c
CY
87112011-10-30 Chong Yidong <cyd@gnu.org>
8712
8713 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8714 instead of set-mark (Bug#9810).
8715
2d197ffb
CY
87162011-10-30 Chong Yidong <cyd@gnu.org>
8717
8718 * window.el (split-window-below, split-window-right): Rename from
8719 split-window-above-each-other and split-window-side-by-side
8720 respectively. All callers changed.
8721 (split-window-sensibly, split-window-sensibly): Use them.
8722 (split-window-keep-point): Doc fix.
8723
8724 * isearch.el: Add isearch-scroll property to split-window-below
8725 and split-window-right.
8726
8727 * follow.el (follow-mode):
8728 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8729 * progmodes/ada-xref.el (ada-gdb-application):
8730 * emulation/vip.el (vip-buffer-in-two-windows):
8731 * image-dired.el (image-dired-dired-with-window-configuration):
8732 * dired-x.el (dired-do-find-marked-files):
8733 * dired.el (dired-pop-to-buffer):
8734 * bs.el (bs--show-with-configuration):
8735 * vc/emerge.el (emerge-setup-windows):
8736 * textmodes/two-column.el (2C-two-columns):
8737 * textmodes/reftex-toc.el (reftex-toc):
8738 * progmodes/gdb-mi.el (gdb-setup-windows):
8739 * progmodes/fortran.el (fortran-window-create):
8740 * net/newst-treeview.el (newsticker--treeview-window-init):
8741 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8742 * emulation/tpu-edt.el (tpu-gold-map):
8743 * emulation/crisp.el (crisp-mode-map):
8744 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8745
38bb2ca8
CY
87462011-10-29 Chong Yidong <cyd@gnu.org>
8747
aa4de341
CY
8748 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8749
e1eb5385
CY
8750 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8751
5d2ece3c
CY
8752 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8753 forged Ispell output (Bug#7904).
8754
38bb2ca8
CY
8755 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8756
d0af9f77
SM
87572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * doc-view.el: Avoid ugly errors about not finding nil.
8760 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8761 (doc-view-dvipdf-program, doc-view-unoconv-program)
8762 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8763 Avoid nil or absolute file name as default value.
8764 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8765
52bedd34
AM
87662011-10-28 Alan Mackenzie <acm@muc.de>
8767
db22a3c2 8768 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8769
7e43cfa5
AM
87702011-10-28 Alan Mackenzie <acm@muc.de>
8771
8772 Amend the handling of c-beginning/end-of-defun in nested declaration
8773 scopes.
8774
52bedd34
AM
8775 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8776 cc-langs.el. Change it to a defcustom.
7e43cfa5 8777
52bedd34
AM
8778 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8779 cc-vars.el.
7e43cfa5 8780
d0af9f77
SM
8781 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8782 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8783
52bedd34 8784 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8785 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8786 (c-widen-to-enclosing-decl-scope): New function.
8787 (c-while-widening-to-decl-block): New macro.
8788 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8789 outward for defun boundaries, and correspondingly change symbol
8790 `respect-enclosure' to `go-outward'.
8791 (c-declaration-limits): Change algorithm to report only the "innermost"
8792 defun's boundaries.
8793
1a2ce9ee
DD
87942011-10-28 Deniz Dogan <deniz@dogan.se>
8795
8796 * net/rcirc.el (rcirc-mode): Use hard newlines.
8797
bc97a826
AM
87982011-10-28 Alan Mackenzie <acm@muc.de>
8799
8800 Amend to indent and fontify macros "which include their own semicolon"
8801 correctly, using the "virtual semicolon" mechanism.
8802
52bedd34 8803 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8804
d0af9f77 8805 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8806 Recode to scan one line at a time rather than having \n and \r
58179cce 8807 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8808 (c-forward-label): Amend for virtual semicolons.
58179cce 8809 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8810
52bedd34
AM
8811 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8812 of the new C macros.
bc97a826 8813
52bedd34 8814 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8815 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8816 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8817 (c-opt-cpp-macro-define): Make into a full language variable.
8818 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8819 AWK Mode (including \n, \r) removed, no longer needed.
8820
d0af9f77
SM
8821 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8822 Invoke c-make-macro-with-semi-re.
bc97a826 8823
52bedd34
AM
8824 * progmodes/cc-vars.el (c-macro-with-semi-re):
8825 (c-macro-names-with-semicolon): New variables.
58179cce 8826 (c-make-macro-with-semi-re): New function.
bc97a826 8827
7a6c0941
SM
88282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * vc/log-edit.el: Fill empty field rather than adding new one.
8831 (log-edit-add-field): New function.
8832 (log-edit-insert-changelog): Use it.
8833
b0c4cdcf
ML
88342011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8835
8836 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8837
ee1f1da9
SM
88382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8841 (gdb--check-interpreter): New function.
8842 (gdb): Use it.
8843
51bc5f8b
GM
88442011-10-27 Glenn Morris <rgm@gnu.org>
8845
416a2c45
GM
8846 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8847 (least-positive-float, least-negative-float)
8848 (least-positive-normalized-float, least-negative-normalized-float)
8849 (float-epsilon, float-negative-epsilon):
8850 Remove unnecessary declarations.
8851
8852 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8853 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8854 (least-positive-float, least-negative-float)
8855 (least-positive-normalized-float, least-negative-normalized-float)
8856 (float-epsilon, float-negative-epsilon): Add doc-strings,
8857 based on those in cl.texi.
8858
51bc5f8b
GM
8859 * files.el (set-visited-file-name): If the major-mode changed,
8860 reload the local variables. (Bug#9796)
8861
15de15c6
CY
88622011-10-27 Chong Yidong <cyd@gnu.org>
8863
8864 * subr.el (change-major-mode-after-body-hook): New hook.
8865 (run-mode-hooks): Run it.
8866
ee1f1da9
SM
8867 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8868 Use change-major-mode-before-body-hook.
15de15c6
CY
8869
8870 * simple.el (fundamental-mode):
8871 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8872 change introducing fundamental-mode-hook.
8873
5430d399
JB
88742011-10-26 Juanma Barranquero <lekktu@gmail.com>
8875
acc825c5 8876 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8877
ad74a69e
MA
88782011-10-26 Michael Albinus <michael.albinus@gmx.de>
8879
8880 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8881 tramp.el explicitly. (Bug#7583)
ad74a69e 8882
71d4c2a5
SM
88832011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * progmodes/octave-mod.el:
8886 * progmodes/octave-inf.el: Update maintainer.
8887
b1f6fa26
CY
88882011-10-26 Chong Yidong <cyd@gnu.org>
8889
8890 * subr.el (with-wrapper-hook): Rewrite doc.
8891
3f04efd6
MA
88922011-10-25 Michael Albinus <michael.albinus@gmx.de>
8893
8894 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8895 filenames "/method:foo:". (Bug#9793)
3f04efd6 8896
410488d3
SM
88972011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8900 (bug#9865).
8901
c1ebb47e
GM
89022011-10-24 Glenn Morris <rgm@gnu.org>
8903
8904 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8905
7f5c46c7
MA
89062011-10-24 Michael Albinus <michael.albinus@gmx.de>
8907
8908 * notifications.el: Add the requirement of a running D-Bus session
8909 bus to the Commentary.
8910
db2440b6
JL
89112011-10-24 Juri Linkov <juri@jurta.org>
8912
8913 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8914 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8915 (Bug#9364)
8916
feecf435
JL
89172011-10-24 Juri Linkov <juri@jurta.org>
8918
8919 * info.el (Info-following-node-name-re): Add newline to the list
8920 of allowed characters for leading space. (Bug#9824)
8921
a3839de2
SM
89222011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8923
acc825c5
SM
8924 * progmodes/octave-inf.el (inferior-octave-mode-map):
8925 Fix C-c C-h binding.
a3839de2
SM
8926 * progmodes/octave-mod.el (octave-help): Remove.
8927
09388e76
MA
89282011-10-23 Michael Albinus <michael.albinus@gmx.de>
8929
8930 Sync with Tramp 2.2.3.
8931
8932 * net/tramp-cache.el (top): Pacify byte-compiler using
8933 `init-file-user' and `site-run-file'.
8934
8935 * net/trampver.el: Update release number.
8936
86c60681
CY
89372011-10-23 Chong Yidong <cyd@gnu.org>
8938
8939 * files.el (toggle-read-only): Remove obsolete comment about
8940 version control.
8941
8942 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8943 for toggle-read-only. Note that this hasn't called vc-next-action
8944 since 2008-05-02, though it wasn't documented at the time.
8945
a3839de2
SM
8946 * vc/ediff-init.el (ediff-toggle-read-only-function):
8947 Use toggle-read-only.
86c60681 8948
cd5495ff
AM
89492011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8950
8951 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8952 of c-parse-state.
8953
00b77525 8954 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8955 correct faulty logical expression.
cd5495ff
AM
8956 (c-parse-state-state, c-record-parse-state-state):
8957 (c-replay-parse-state-state): New defvar/defuns.
8958 (c-debug-parse-state): Use new functions.
8959
42ee24ed
MR
89602011-10-22 Martin Rudalics <rudalics@gmx.at>
8961
8962 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8963 last fix. Use window-in-direction correctly.
42ee24ed 8964
a7dee7e7
CY
89652011-10-21 Chong Yidong <cyd@gnu.org>
8966
8967 * progmodes/idlwave.el (idlwave-mode):
8968 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8969 require-final-newline; that's done in prog-mode.
8970 Suggested by Stefan Monnier.
a7dee7e7 8971
e07b9a6d
MR
89722011-10-21 Martin Rudalics <rudalics@gmx.at>
8973
8974 * mouse.el (mouse-drag-window-above)
8975 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8976 (mouse-drag-mode-line-1, mouse-drag-header-line)
8977 (mouse-drag-vertical-line-rightward-window): Remove.
8978 (mouse-drag-line): New function.
8979 (mouse-drag-mode-line, mouse-drag-header-line)
8980 (mouse-drag-vertical-line): Call mouse-drag-line.
8981 * window.el (window-at-side-p, windows-at-side): New functions.
8982
7e1361d9
UM
89832011-10-21 Ulrich Mueller <ulm@gentoo.org>
8984
8985 * tar-mode.el (tar-grind-file-mode):
8986 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8987
30fcaf3a
CY
89882011-10-21 Chong Yidong <cyd@gnu.org>
8989
8990 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
8991 * progmodes/vera-mode.el (vera-mode):
8992 Use mode-require-final-newline.
30fcaf3a 8993
516eddb0
GM
89942011-10-20 Glenn Morris <rgm@gnu.org>
8995
db22a3c2 8996 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 8997
10d5f513
CS
89982011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
8999
9000 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9001
ac6c8639
CY
90022011-10-20 Chong Yidong <cyd@gnu.org>
9003
9004 * emulation/cua-base.el (cua-mode):
9005 * mail/footnote.el (footnote-mode):
9006 * mail/mailabbrev.el (mail-abbrevs-mode):
9007 * net/xesam.el (xesam-minor-mode):
9008 * progmodes/bug-reference.el (bug-reference-mode):
9009 * progmodes/cap-words.el (capitalized-words-mode):
9010 * progmodes/compile.el (compilation-minor-mode)
9011 (compilation-shell-minor-mode):
9012 * progmodes/gud.el (gud-tooltip-mode):
9013 * progmodes/hideif.el (hide-ifdef-mode):
9014 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9015 * progmodes/subword.el (subword-mode):
9016 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9017 * progmodes/which-func.el (which-function-mode):
9018 * term/tvi970.el (tvi970-set-keypad-mode):
9019 * term/vt100.el (vt100-wide-mode):
9020 * textmodes/flyspell.el (flyspell-mode):
9021 * textmodes/ispell.el (ispell-minor-mode):
9022 * textmodes/nroff-mode.el (nroff-electric-mode):
9023 * textmodes/paragraphs.el (use-hard-newlines):
9024 * textmodes/refill.el (refill-mode):
9025 * textmodes/reftex.el (reftex-mode):
9026 * textmodes/rst.el (rst-minor-mode):
9027 * textmodes/sgml-mode.el (html-autoview-mode)
9028 (sgml-electric-tag-pair-mode):
9029 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9030 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9031 * emulation/crisp.el (crisp-mode):
9032 * emacs-lisp/eldoc.el (eldoc-mode):
9033 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9034 minor mode behavior.
9035
aa42ab43
JL
90362011-10-19 Juri Linkov <juri@jurta.org>
9037
9038 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9039 the list of hard-coded chars with escape-glyph face.
9040
89400f1d
SM
90412011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9044
305c07f6
MA
90452011-10-19 Michael Albinus <michael.albinus@gmx.de>
9046
9047 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9048 running process.
9049
13754b54
GM
90502011-10-19 Glenn Morris <rgm@gnu.org>
9051
9052 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9053 Ignore ignored files. (Bug#9726)
9054
06e21633
CY
90552011-10-19 Chong Yidong <cyd@gnu.org>
9056
9057 Doc fix for minor modes, stating that an omitted argument enables
9058 the mode unconditionally when called from Lisp.
9059
9060 * abbrev.el (abbrev-mode):
9061 * allout.el (allout-mode):
9062 * autoinsert.el (auto-insert-mode):
9063 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9064 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9065 (global-auto-revert-mode):
9066 * battery.el (display-battery-mode):
9067 * composite.el (global-auto-composition-mode)
9068 (auto-composition-mode):
9069 * delsel.el (delete-selection-mode):
9070 * desktop.el (desktop-save-mode):
9071 * dired-x.el (dired-omit-mode):
9072 * dirtrack.el (dirtrack-mode):
9073 * doc-view.el (doc-view-minor-mode):
9074 * double.el (double-mode):
9075 * electric.el (electric-indent-mode, electric-pair-mode):
9076 * emacs-lock.el (emacs-lock-mode):
9077 * epa-hook.el (auto-encryption-mode):
9078 * follow.el (follow-mode):
9079 * font-core.el (font-lock-mode):
9080 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9081 * help.el (temp-buffer-resize-mode):
9082 * hilit-chg.el (highlight-changes-mode)
9083 (highlight-changes-visible-mode):
9084 * hi-lock.el (hi-lock-mode):
9085 * hl-line.el (hl-line-mode, global-hl-line-mode):
9086 * icomplete.el (icomplete-mode):
9087 * ido.el (ido-everywhere):
9088 * image-file.el (auto-image-file-mode):
9089 * image-mode.el (image-minor-mode):
9090 * iswitchb.el (iswitchb-mode):
9091 * jka-cmpr-hook.el (auto-compression-mode):
9092 * linum.el (linum-mode):
9093 * longlines.el (longlines-mode):
9094 * master.el (master-mode):
9095 * mb-depth.el (minibuffer-depth-indicate-mode):
9096 * menu-bar.el (menu-bar-mode):
9097 * minibuf-eldef.el (minibuffer-electric-default-mode):
9098 * mouse-sel.el (mouse-sel-mode):
9099 * msb.el (msb-mode):
9100 * mwheel.el (mouse-wheel-mode):
9101 * outline.el (outline-minor-mode):
9102 * paren.el (show-paren-mode):
9103 * recentf.el (recentf-mode):
9104 * reveal.el (reveal-mode, global-reveal-mode):
9105 * rfn-eshadow.el (file-name-shadow-mode):
9106 * ruler-mode.el (ruler-mode):
9107 * savehist.el (savehist-mode):
9108 * scroll-all.el (scroll-all-mode):
9109 * scroll-bar.el (scroll-bar-mode):
9110 * server.el (server-mode):
9111 * shell.el (shell-dirtrack-mode):
9112 * simple.el (auto-fill-mode, transient-mark-mode)
9113 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9114 (line-number-mode, column-number-mode, size-indication-mode)
9115 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9116 * strokes.el (strokes-mode):
9117 * time.el (display-time-mode):
9118 * t-mouse.el (gpm-mouse-mode):
9119 * tool-bar.el (tool-bar-mode):
9120 * tooltip.el (tooltip-mode):
9121 * type-break.el (type-break-mode-line-message-mode)
9122 (type-break-query-mode):
9123 * view.el (view-mode):
9124 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9125 (global-whitespace-mode, global-whitespace-newline-mode):
9126 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9127
a3839de2
SM
9128 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9129 Fix autogenerated docstring.
06e21633 9130
5214e501
JL
91312011-10-19 Juri Linkov <juri@jurta.org>
9132
9133 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9134 by checking environment variables "DESKTOP_SESSION" and
9135 "XDG_CURRENT_DESKTOP". (Bug#9779)
9136
195f8db9
JL
91372011-10-19 Juri Linkov <juri@jurta.org>
9138
9139 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9140 (browse-url-chromium-program, browse-url-chromium-arguments):
9141 New defcustoms.
9142 (browse-url-default-browser): Check for `browse-url-chromium' and
9143 call `browse-url-chromium-program'.
9144 (browse-url-chromium): New command. (Bug#9779)
9145
343a34ff
JB
91462011-10-18 Juanma Barranquero <lekktu@gmail.com>
9147
9148 * facemenu.el (list-colors-duplicates): On Windows, detect more
9149 duplicates by assuming that only colors matching "^System" are
9150 special "system colors". (Bug#9722)
9151
6978a151
SM
91522011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9155 to distinguish the author from the committer.
9156
6a80b297
MA
91572011-10-18 Michael Albinus <michael.albinus@gmx.de>
9158
9159 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9160
b31a5677
JK
91612011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9162
9163 * international/mule.el (sgml-html-meta-auto-coding-function):
9164 Add support for detecting encoding in HTML5 specified only as
9165 <meta charset="UTF-8">. Implementation just makes http-equiv and
9166 content-type parts from HTML4 encoding string optional. (Bug#9716)
9167
80c6d77f
GM
91682011-10-18 Glenn Morris <rgm@gnu.org>
9169
9170 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9171
08b0fee8
CY
91722011-10-18 Chong Yidong <cyd@gnu.org>
9173
9174 * faces.el (cursor): Doc fix.
9175
67e729a5
CY
91762011-10-17 Chong Yidong <cyd@gnu.org>
9177
9178 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9179
343a34ff 91802011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9181
9182 * dirtrack.el (dirtrack): Support shell buffers with path
9183 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9184
0bc06380
TZ
91852011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9186
9187 * json.el: Bump version to 1.3 and note change in History.
9188 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9189
8b79f3e0
SM
91902011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9191
5a7c536b
SM
9192 * comint.el (comint-insert-input, comint-send-input)
9193 (comint-get-old-input-default, comint-backward-matching-input)
9194 (comint-next-prompt): Use nil instead of `input' for field property of
9195 past user input (bug#114).
9196
96a8a0df
SM
9197 * minibuffer.el (completion--replace): Inherit surrounding properties
9198 (bug#114).
9199 (minibuffer-complete-and-exit): Use it.
9200
8b79f3e0
SM
9201 * comint.el (comint--table-subvert): Quote the all-completions output
9202 (bug#9160).
9203
b8f7ff0d
MR
92042011-10-17 Martin Rudalics <rudalics@gmx.at>
9205
8b79f3e0 9206 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9207
b8f7ff0d 9208 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9209 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9210 entries and separate them from frame entries.
9211
c235b555
GM
92122011-10-15 Glenn Morris <rgm@gnu.org>
9213
9214 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9215 Doc fixes.
9216
6bbfa6e1
CY
92172011-10-15 Chong Yidong <cyd@stupidchicken.com>
9218
8b79f3e0
SM
9219 * net/network-stream.el (network-stream-open-starttls):
9220 Improve detection of failure due to lack of TLS support.
ec5c990d 9221
6bbfa6e1
CY
9222 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9223 putting the input text in front and in bold.
9224
98488977
SM
92252011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9226
3d1337be
SM
9227 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9228
ee0b45e4
SM
9229 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9230 empty buffer.
9231
98488977
SM
9232 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9233 unread-command-events rather than pushing yet-another event.
9234
186f4720
EZ
92352011-10-14 Eli Zaretskii <eliz@gnu.org>
9236
9237 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9238 the explanation of the possible choices. Make the options passed
9239 to completing-read shorter.
9240
8b7a997c
AM
92412011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9242
9243 * textmodes/flyspell.el (flyspell-large-region): Make sure
9244 extended character mode is used if defined (Bug#1339).
9245
12587bbb
EZ
92462011-10-13 Eli Zaretskii <eliz@gnu.org>
9247
9248 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9249 character info for LRE, LRO, RLE, and RLO characters by appending
9250 an invisible PDF.
12587bbb 9251
bad41229
SM
92522011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9255 even in case of error; add debug spec; simplify data flow.
9256 (with-timeout-handler): Remove.
9257
28dbc92f
MA
92582011-10-12 Michael Albinus <michael.albinus@gmx.de>
9259
9260 Fix Bug#6019, Bug#9315.
9261
9262 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9263 complete `buffer-file-name', the local file name part could look
9264 remotely (for example on VMS).
9265
9266 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9267 `tramp-run-real-handler'.
9268 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9269 already quoted by '"'.
9270
9271 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9272 Let `file-name-handler-alist' be nil, the local file name part
9273 could look remotely (for example on VMS).
9274
e1b0b23a
SM
92752011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9278 from here...
9279 (flyspell-post-command-hook): ...to here.
9280
a120bde9
SM
92812011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9284 if not needed.
9285 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9286 using completion. Protect against "slow" callers.
9287 Remove the "message hack".
9288
7ce7717b
JL
92892011-10-11 Juri Linkov <juri@jurta.org>
9290
9291 * isearch.el (isearch-lazy-highlight-word): New variable.
9292 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9293 Use it. (Bug#9727)
9294
c02ee9d6
GM
92952011-10-11 Glenn Morris <rgm@gnu.org>
9296
9297 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9298 like f90-previous-statement does.
9299
93e616fd 93002011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9301
1f190e73 9302 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9303 only in interactive use, to avoid error.
9304
af7b6078
SM
93052011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9306
9307 * minibuffer.el (completion-file-name-table): Fix last change,
9308 i.e. ignore normal errors but not the other ones.
9309
0563dae9
MR
93102011-10-10 Martin Rudalics <rudalics@gmx.at>
9311
9312 * window.el (special-display-buffer-names)
9313 (special-display-regexps): Remove some remnants of earlier
9314 changes from doc-strings.
366ca7f3
MR
9315 (quit-windows-on): New function.
9316
9317 * vc/vc.el (vc-revert, vc-rollback):
9318 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9319 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9320 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9321
49677495
MR
93222011-10-09 Martin Rudalics <rudalics@gmx.at>
9323
9324 * window.el (frame-auto-hide-function): Add version tag.
9325 (Bug#9699)
9326
56f2d1e1
MA
93272011-10-09 Michael Albinus <michael.albinus@gmx.de>
9328
9329 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9330 condition.
9331
112a6592
LL
93322011-10-09 Leo Liu <sdl.web@gmail.com>
9333
9334 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9335 (Bug#9701)
9336
0812589b
GM
93372011-10-08 Glenn Morris <rgm@gnu.org>
9338
9339 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9340 before the first code statement zero indent. (Bug#9690)
9341
b2b0776e
CY
93422011-10-08 Chong Yidong <cyd@stupidchicken.com>
9343
9344 * simple.el (count-words-region): Always count in the region.
9345 Report the number of lines and characters too.
9346 (count-words): New command, which counts in the buffer if the
9347 region is inactive, as count-words-region used to.
9348 (count-words--message): New function. Handle plurals.
9349 (count-lines-region): Make it an alias for count-words-region.
9350
9351 * bindings.el (esc-map): Replace count-lines-region with
9352 count-words-region.
9353
c557cd6b
MR
93542011-10-08 Martin Rudalics <rudalics@gmx.at>
9355
9356 * window.el (window--delete): Delete dedicated frame
9357 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9358 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9359
61a57ef4 93602011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9361
3a7d293b 9362 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9363
c3833279
CY
93642011-10-07 Chong Yidong <cyd@stupidchicken.com>
9365
9366 * bindings.el ([M-left],[M-right]): Bind to left-word and
9367 right-word respectively.
9368
21ce8245
GM
93692011-10-07 Glenn Morris <rgm@gnu.org>
9370
9371 * cus-start.el (debug-on-quit): Fix custom type.
9372
6d823bb2
LMI
93732011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9374
0181e193
LMI
9375 * subr.el (define-key-after): Clarify that the function is not
9376 useful for non-menu keymaps.
9377
6d823bb2
LMI
9378 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9379
8e3459ce 93802011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9381
21ce8245 9382 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9383 in current minibuffer (Fix bug with recursive minibuffers).
9384
a1c2d21e
CY
93852011-10-06 Chong Yidong <cyd@stupidchicken.com>
9386
9387 * progmodes/gdb-mi.el (gdb): Doc fix.
9388
5a4cf282
MR
93892011-10-05 Martin Rudalics <rudalics@gmx.at>
9390
9391 * window.el (frame-auto-hide-function): New option replacing
9392 frame-auto-delete. Suggested by Stefan Monnier.
9393 (window--delete): Call frame-auto-hide-function instead of
9394 investigating frame-auto-delete.
c96111ea
MR
9395 (window-point-1, set-window-point-1): New functions.
9396 (window-in-direction, record-window-buffer, window-state-get-1)
9397 (display-buffer-record-window): Use window-point-1 instead of
9398 window-point.
9399 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9400
9854542e
SM
94012011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9404
8943cfb0
GM
94052011-10-05 Glenn Morris <rgm@gnu.org>
9406
9407 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9408 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9409
647ab967
LL
94102011-10-05 Leo Liu <sdl.web@gmail.com>
9411
9412 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9413 works with buffer object.
9414
3ddfbced
SM
94152011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * mpc.el (mpc-tool-bar-map): Add labels.
9418
bdfa5dd2
GM
94192011-10-04 Glenn Morris <rgm@gnu.org>
9420
9421 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9422
0e2070b5
MR
94232011-10-04 Martin Rudalics <rudalics@gmx.at>
9424
9425 * window.el (window--delete): New function.
9426 (frame-auto-delete): Resuscitate option.
9427 (bury-buffer, replace-buffer-in-windows)
9428 (quit-window): Rewrite using window--delete.
9429 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9430 Pass display-buffer-mark-dedicated to window--display-buffer-2
9431 (Bug#9639).
9432
3dc61a09
SM
94332011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9434
915a9b64
SM
9435 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9436 returns a list (bug#9554). Add remote file name completion.
9437 * comint.el (comint--table-subvert): Curry and get quote&unquote
9438 functions as arguments.
9439 (comint--complete-file-name-data): Adjust call accordingly.
9440 * pcomplete.el (pcomplete--table-subvert): Remove.
9441 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9442
3dc61a09
SM
9443 * minibuffer.el (completion-table-case-fold): Use currying.
9444 (completion--styles-type, completion--cycling-threshold-type):
9445 New constants.
9446 (completion-styles, completion-category-overrides)
9447 (completion-cycle-threshold): Use them.
9448 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9449 completion-table-case-fold.
9450
8ea0a993
SB
94512011-10-03 Stephen Berman <stephen.berman@gmx.net>
9452
9453 * minibuffer.el (completion-category-overrides): Fix type of styles
9454 and add more user friendly tags (bug#9660).
9455
8c24b7f6
SM
94562011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9459 (mule-input-method-string): New widget.
9460 (default-input-method, language-info-custom-alist): Use it.
9461
428fe61a
SM
94622011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9463
32c1fffd
SM
9464 * pcomplete.el: Require comint.
9465 (pcomplete--common-suffix): Remove.
9466 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9467 (pcomplete--table-subvert): Sync with comint--table-subvert.
9468 (pcomplete--entries): Use comint-completion-file-name-table.
9469 * comint.el (comint-unquote-filename): Simplify.
9470 (comint-completion-file-name-table): New function (bug#9616).
9471 (comint--complete-file-name-data): Use it.
9472
428fe61a
SM
9473 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9474 (pcmpl-gnu-tar-buffer): Remove.
9475 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9476 around. Make sure pcomplete-suffix-list is only changed temporarily.
9477 Don't look inside the tar's file if it's too large.
428fe61a 9478
04c52e2f
CY
94792011-10-01 Chong Yidong <cyd@stupidchicken.com>
9480
ce3cefcc
CY
9481 * cus-edit.el (custom-mode-map):
9482 * epa.el (epa-key-list-mode-map):
9483 * man.el (Man-mode-map):
9484 * startup.el (splash-screen-keymap):
9485 * simple.el (special-mode-map): Use scroll-up-command and
9486 scroll-down-command.
9487
9488 * progmodes/idlw-help.el (idlwave-help-mode-map):
9489 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9490 * net/newst-plainview.el (newsticker-mode-map):
9491 * emulation/ws-mode.el (wordstar-mode-map):
9492 * emulation/vi.el (vi-com-map):
9493 * calc/calc-graph.el (calc-graph-show-dumb):
9494 * term/sun.el (terminal-init-sun):
9495 * term/ns-win.el (global-map):
9496 * progmodes/grep.el (grep-mode-map):
9497 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9498 * mail/rmail.el (rmail-mode-map):
9499 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9500
04c52e2f
CY
9501 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9502 custom-safe-themes as special.
9503
79adf8c8
JD
95042011-10-01 Julien Danjou <julien@danjou.info>
9505
9506 * notifications.el (notifications-notify): Fix docstring.
9507
63bd50d3
PS
95082011-10-01 Per Starbäck <per@starback.se>
9509
9510 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9511
199e4c7e
MR
95122011-09-30 Martin Rudalics <rudalics@gmx.at>
9513
9514 * startup.el (command-line-1): Fix last fix by inserting
9515 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9516 (Bug#9605) and (Bug#9636)
199e4c7e 9517
fe5f08dd
EZ
95182011-09-29 Eli Zaretskii <eliz@gnu.org>
9519
9520 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9521 window is hscrolled, move by logical lines. (Bug#9607)
9522 (line-move-visual): Update the doc string to the above effect.
9523
b5516bbd
MR
95242011-09-29 Martin Rudalics <rudalics@gmx.at>
9525
ccee00c0
MR
9526 * window.el (display-buffer-record-window): When WINDOW is the
9527 selected window use `point' instead of `window-point'. (Bug#9626)
9528
b5516bbd
MR
9529 * startup.el (command-line-1): Use insert-before-markers when
9530 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9531
b5516bbd
MR
9532 * help.el (help-window): Remove variable.
9533
52aa0014
GM
95342011-09-29 Glenn Morris <rgm@gnu.org>
9535
9536 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9537
df9a7357
JB
95382011-09-29 Juanma Barranquero <lekktu@gmail.com>
9539
9540 * descr-text.el (describe-char-categories): Accept category
9541 descriptions more than one line long.
9542
a8406c20
SM
95432011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9544
88d9610c
SM
9545 * simple.el (delete-trailing-whitespace): Fix last change.
9546
a5daf810
SM
9547 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9548 Don't confuse "y => 3" as the beginning of a `y' operation.
9549
a8406c20
SM
9550 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9551 object has more than 4 slots (bug#9613).
9552
a239d4e9
JB
95532011-09-28 Juanma Barranquero <lekktu@gmail.com>
9554
9555 * subr.el (with-output-to-temp-buffer):
9556 * net/quickurl.el (quickurl, quickurl-browse-url):
9557 Fix typos in docstrings.
9558
693fbdb6
EZ
95592011-09-27 Eli Zaretskii <eliz@gnu.org>
9560
9561 * minibuffer.el (completion-styles)
9562 (completion-category-overrides): Cross reference each other in doc
9563 strings.
9564
8b457e28
GM
95652011-09-27 Glenn Morris <rgm@gnu.org>
9566
9567 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9568 to split-string. (Bug#9606)
9569
85a16208
LMI
95702011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571
9572 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9573 (bug#9615).
9574
502f9ebd
CY
95752011-09-27 Chong Yidong <cyd@stupidchicken.com>
9576
9577 * emacs-lisp/package.el (list-packages): Fix echo area message.
9578
7690bdea
LL
95792011-09-27 Leo Liu <sdl.web@gmail.com>
9580
9581 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9582
e2ee6f30
MA
95832011-09-25 Michael Albinus <michael.albinus@gmx.de>
9584
9585 * net/dbus.el (dbus-unregister-object): Don't release services for
9586 registered signals. (Bug#9581)
9587
f3f98342
TZ
95882011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9589
9590 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9591 function that picks between cfengine 2 and 3 support
9592 automatically. Update docs accordingly.
9593
dd7aa8dd
KH
95942011-09-22 Kenichi Handa <handa@m17n.org>
9595
9596 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9597 ZERO.
9598 (indian-itrans-v5-table-for-tamil): New variable.
9599 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9600
3f2b07f8
KM
96012011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9602
9603 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9604 that's true if the current command involved collapsing of text.
9605 It's reset to false at the beginning of the next command.
9606 (allout-post-command-business): Move the cursor to the beginning
9607 of entry if the cursor is hidden and collapsing activity just
9608 happened.
9609
371d6a61
CY
96102011-09-24 Chong Yidong <cyd@stupidchicken.com>
9611
9612 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9613 tracking (Bug#9541).
9614
2ac2721a
UJ
96152011-09-24 Ulf Jasper <ulf.jasper@web.de>
9616
9617 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9618 (newsticker-show-news): Automatically load html rendering package
9619 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9620 because w3m-fill-column is let-bound" and the error "Symbol's value
9621 as variable is void: w3m-fill-column".
2ac2721a 9622
fac7ae53
MA
96232011-09-24 Michael Albinus <michael.albinus@gmx.de>
9624
9625 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9626 Release services only if they are defined. (Bug#9581)
9627
e08b633b
RS
96282011-09-23 Richard Stallman <rms@gnu.org>
9629
e488d29c
RS
9630 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9631 distinguish start of paragraph from start of its text.
9632
19c38752
RS
9633 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9634
e08b633b
RS
9635 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9636 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9637 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9638
0a39f27e
AS
96392011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9640
9641 * international/mule-diag.el (mule-diag): Insert a newline after
9642 each fontset description.
9643
db4e950d
SM
96442011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * simple.el (delete-trailing-whitespace):
9647 Document last change; simplify.
9648
eca3f3ea
PW
96492011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9650
d68e189a
PW
9651 * simple.el (delete-trailing-whitespace): Also delete
9652 extra newlines at the end of the buffer.
9653
eca3f3ea
PW
9654 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9655 (picture-newline): Use forward-line so as to ignore fields.
9656
01c157cc
SM
96572011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * subr.el (with-wrapper-hook): Fix edebug spec.
9660
022de23e
LMI
96612011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9662
9663 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9664 (bug#4538).
9665
91683089
MA
96662011-09-23 Michael Albinus <michael.albinus@gmx.de>
9667
eca3f3ea
PW
9668 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9669 Fix nasty bug using wrong cached values.
91683089 9670
5bdd6fa4
AM
96712011-09-23 Alan Mackenzie <acm@muc.de>
9672
9673 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9674
97adfb97
CY
96752011-09-23 Chong Yidong <cyd@stupidchicken.com>
9676
9677 * window.el (pop-to-buffer): Ensure right window is selected if we
9678 chose another frame.
9679
d4ef2b50
EZ
96802011-09-22 Eli Zaretskii <eliz@gnu.org>
9681
9682 * simple.el (what-cursor-position): Use get-char-property-change
9683 and next-single-char-property-change, to be able to show display
9684 properties that come from overlays as well as text properties.
9685
72258fe5
CY
96862011-09-22 Chong Yidong <cyd@stupidchicken.com>
9687
9688 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9689
9690 * cmuscheme.el (run-scheme, switch-to-scheme):
9691 * cus-edit.el (customize-group, custom-buffer-create)
9692 (customize-browse):
9693 * info.el (info):
9694 * shell.el (shell):
9695 * mail/sendmail.el (mail):
9696 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9697
8f098516
RS
96982011-09-22 Richard Stallman <rms@gnu.org>
9699
9700 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9701 move back only to line beg, don't move back over blank lines.
9702
e74f1bb6
MA
97032011-09-22 Michael Albinus <michael.albinus@gmx.de>
9704
9705 * files.el (copy-directory): Set directory attributes only in case
9706 they could be retrieved from the source directory. (Bug#9565)
9707
bfeef8b6
DK
97082011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9709
9710 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9711 (hs-find-block-beginning, hs-hide-level-recursive):
9712 Ignore strings as well as comments. (Bug#9502)
9713
7e423bb8
AS
97142011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9715
9716 * progmodes/sql.el (sql-comint-postgres):
9717 Convert port number to a string. (Bug#9566)
9718
b4d72fcf
MR
97192011-09-22 Martin Rudalics <rudalics@gmx.at>
9720
9721 * window.el (quit-window): Undedicate window when switching to
9722 previous buffer. Reported by Thierry Volpiatto
9723 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9724 (special-display-popup-frame): When popping up a new frame reset
9725 its previous buffers to nil. Simplify code.
b4d72fcf 9726
a7b88dc6
MA
97272011-09-21 Michael Albinus <michael.albinus@gmx.de>
9728
9729 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9730 and process filter, as done also in `shell-command'.
9731
cf4eacfd
MR
97322011-09-21 Martin Rudalics <rudalics@gmx.at>
9733
eca3f3ea 9734 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9735 Call set-window-start with NOFORCE argument t.
9736 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9737 (quit-window): Reword doc-string. Handle new format of
9738 quit-restore parameter. Don't delete window if it has a
9739 previous buffer we can show instead of the present one.
9740 (display-buffer-record-window): Rewrite using a new format for
9741 the quit-restore window parameter
9742 (special-display-popup-frame, display-buffer-same-window)
9743 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9744 (display-buffer-pop-up-window, display-buffer-use-some-window):
9745 Adapt symbol passed to display-buffer-record-window.
9746 * help.el (help-window-setup): Handle new format of quit-restore
9747 parameter.
9748
8d28cb95
SM
97492011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9750
94ab793f
SM
9751 * faces.el (face-list): Fix docstring (bug#9564).
9752
8d28cb95
SM
9753 * window.el (display-buffer--action-function-custom-type):
9754 Don't include internal functions in the Custom interface.
9755
3820edeb
JL
97562011-09-20 Juri Linkov <juri@jurta.org>
9757
9758 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9759 (Info-forward-node, Info-backward-node, Info-next-preorder)
9760 (Info-last-preorder): Use it. (Bug#9528)
9761
5147931d
JL
97622011-09-20 Juri Linkov <juri@jurta.org>
9763
9764 * info.el (Info-last-preorder): Visit last menu item only when
9765 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9766
cf499a1a
JD
97672011-09-20 Julien Danjou <julien@danjou.info>
9768
9769 * password-cache.el (password-cache-remove): Remove entries even if the
9770 value is nil, so that password with a nil value (negative caching) is
9771 possible to invalidate.
9772
f84e2fe2
LM
97732011-09-20 Lawrence Mitchell <wence@gmx.li>
9774
9775 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9776 all whitespace around breakpoint. (Bug#9553)
9777 (f90-find-breakpoint): Only break at whitespace inside a comment.
9778
78054a46
SM
97792011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * minibuffer.el (completion-file-name-table): Keep track of errors.
9782 (completion-table-with-predicate): Handle the case where pred1 is nil.
9783 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9784
345083b2
SM
97852011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9786
e24e27be
SM
9787 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9788 (debugger-return-value): Signal an error if the debugging context does
9789 not await any return value.
9790
345083b2
SM
9791 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9792 * image-mode.el (image-toggle-display-text)
9793 (image-toggle-display-image): Stay away from evil `intangible'.
9794
08d355e3
LL
97952011-09-19 Leo Liu <sdl.web@gmail.com>
9796
9797 * replace.el (occur-revert-arguments): Make it permanent-local.
9798 (occur-mode): Don't call font-lock-defontify.
9799
f01da43f
CY
98002011-09-19 Chong Yidong <cyd@stupidchicken.com>
9801
9802 * net/ldap.el (ldap-search-internal): Don't push empty search
9803 result (Bug#9508).
9804
b6072fa6
SM
98052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9808
443d6696
MA
98092011-09-19 Michael Albinus <michael.albinus@gmx.de>
9810
9811 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9812 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9813
7cc6e154
JL
98142011-09-18 Juri Linkov <juri@jurta.org>
9815
9816 * buff-menu.el (Buffer-menu-mode-map):
9817 * dired.el (dired-mode-map):
9818 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9819 (lisp-interaction-mode-map):
9820 * emacs-lisp/package.el (package-menu-mode-map):
9821 * epa.el (epa-key-list-mode-map):
9822 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9823 (menu-bar-options-menu):
9824 * outline.el (outline-mode-menu-bar-map):
9825 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9826 * vc/vc-dir.el (vc-dir-menu-map):
9827 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9828 Capitalize non-function content words in menu item strings.
9829
9830 * dired.el (dired-mode-map): Add menu item for
9831 `image-dired-dired-toggle-marked-thumbs'.
9832
80302a81
JL
98332011-09-18 Juri Linkov <juri@jurta.org>
9834
9835 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9836 to `isearch-case-fold-search' and restore its original value
9837 after the `isearch-mode' call.
9838
46c5cf66
JL
98392011-09-18 Juri Linkov <juri@jurta.org>
9840
9841 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9842 because `zgrep' returns 1 for successful matches (bug#9226).
9843
d18b513b
JL
98442011-09-18 Juri Linkov <juri@jurta.org>
9845
9846 * info.el (Info-extract-menu-node-name): Check the second match
9847 for empty string (second test-case of bug#9528).
9848 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9849 intermediate nodes to the history (first test-case of bug#9528).
9850
72753f87
JL
98512011-09-18 Juri Linkov <juri@jurta.org>
9852
9853 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9854 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9855
c9384295
JL
98562011-09-18 Juri Linkov <juri@jurta.org>
9857
1154d12e
JB
9858 * info.el (Info-file-supports-index-cookies):
9859 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9860 outputs one more line for long file names (bug#4142).
c9384295 9861
d473dce8
CY
98622011-09-18 Chong Yidong <cyd@stupidchicken.com>
9863
9864 * newcomment.el (comment-normalize-vars): If prompting for
9865 comment-start, set comment-start-skip too (Bug#8424).
9866
2176854d
JB
98672011-09-18 Johan Bockgård <bojohan@gnu.org>
9868
9869 * icomplete.el: Fix previous fix of Bug#5849.
9870 (icomplete-mode): Don't set completion-show-inline-help.
9871 (icomplete-minibuffer-setup): Set completion-show-inline-help
9872 locally during icompletion.
9873
3aace4e4
CY
98742011-09-18 Chong Yidong <cyd@stupidchicken.com>
9875
c940224f
CY
9876 * woman.el (woman2-process-escapes): Don't delete unrecognized
9877 escapes (Bug#7843).
9878
3aace4e4
CY
9879 * files.el (inhibit-first-line-modes-regexps): Add image files.
9880 (hack-local-variables-prop-line): Return nil for malformed
9881 prop-lines (Bug#9044).
9882
710dec63
MA
98832011-09-18 Michael Albinus <michael.albinus@gmx.de>
9884
9885 * net/tramp.el (top): Don't require 'shell.
9886 (tramp-methods): Fix docstring.
9887 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9888 Return complete remote file name. Handle "smb" case.
9889 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9890 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9891
9892 * net/tramp-compat.el (top): Require 'shell.
9893
9894 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9895 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9896 `tramp-current-host'.
9897 (tramp-get-remote-tmpdir): Remove.
9898
9899 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9900 `tramp-tmpdir' entries.
9901 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9902 (tramp-smb-handle-file-attributes): Ignore errors.
9903 (tramp-smb-wait-for-output): Check also for process end.
9904
5d5ac8ec
LMI
99052011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9906
9907 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9908 when sending QUIT (bug#9312).
9909
8c0f49f0
CY
99102011-09-17 Chong Yidong <cyd@stupidchicken.com>
9911
9912 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9913 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9914 occur-mode-display-occurrence.
9915 (occur-edit-mode): Add usage message.
9916 (occur-cease-edit): New command.
9917 (occur-after-change-function): Use text properties to find the
9918 position of the prefix text.
9919 (occur-engine): Set stickiness of prefix text properties.
9920
8f1383f7
GM
99212011-09-17 Glenn Morris <rgm@gnu.org>
9922
9923 * progmodes/etags.el (complete-tag):
9924 Fix call to completion-in-region. (Bug#9526)
9925
744ba0e3
JL
99262011-09-17 Juri Linkov <juri@jurta.org>
9927
9928 * textmodes/ispell.el (ispell-word): Add to the error message
9929 the word, ispell program name and current dictionary (bug#9121).
9930 (ispell-tex-arg-end): Capitalize "error" in the error message.
9931
d9bbf400
AS
99322011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9933
9934 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9935 check. (Bug#4251)
9936
8da11505
JL
99372011-09-17 Juri Linkov <juri@jurta.org>
9938
9939 * window.el (window-safe-min-height, window-safe-min-width):
9940 Fix typos (followup to bug#9522).
9941
a91adc7e
SJ
99422011-09-17 Sven Joachim <svenjoac@gmx.de>
9943
9944 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9945
064f328a
EZ
99462011-09-16 Eli Zaretskii <eliz@gnu.org>
9947
9948 * simple.el (line-move): If goal-column is set, move by logical
9949 lines, not by display lines. (Bug#971)
9950 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9951 to reflect the above change.
9952
e69df516
SM
99532011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * image.el (imagemagick-register-types): Use regexp-opt.
9956
cbb0f9ab
CY
99572011-09-15 Chong Yidong <cyd@stupidchicken.com>
9958
9959 * window.el (display-buffer-base-action): Rename from
9960 display-buffer-default-action. Make default value empty.
9961 (display-buffer-overriding-action): Convert to defvar.
9962 (display-buffer-fallback-action): New var.
9963
25322144
CY
99642011-09-15 Chong Yidong <cyd@stupidchicken.com>
9965
9966 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9967 declaration.
9968 (package--add-to-archive-contents): If there is a duplicate entry
9969 with an older version, remove it.
9970 (package-menu-mark-delete, package-menu-mark-install)
9971 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9972 (package-menu-mark-obsolete-for-deletion):
9973 Use package-menu-get-status instead of a regexp search.
25322144
CY
9974 (package-menu-get-status): Use tabulated-list-entry.
9975 (package-menu-mark-upgrades): New command.
d770725a 9976 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9977 (package-menu-execute): Do installation before deletion.
9978 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9979 instead of checking major-mode.
9980 (package-menu--find-upgrades): New function.
9981
7520339c
LMI
99822011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9983
9984 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9985 passwords in the log buffer.
65a046c4
LMI
9986 (smtpmail-process-filter): Update the process marker so that the
9987 "broken by peer" status message is inserted in the right place.
7520339c 9988
d3c30954
SM
99892011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9990
3fe48822
SM
9991 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
9992 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
9993 bibtex-completion-at-point-function.
9994 (bibtex-completion-at-point-function): Use them.
9995
1b8b3954
SM
9996 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
9997
d3c30954
SM
9998 * mpc.el (mpc-constraints-tag-lookup): New function.
9999 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10000 also to browser "album|playlist".
10001
72779976
JL
100022011-09-14 Juri Linkov <juri@jurta.org>
10003
10004 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10005 (isearch-edit-string): Use length of `isearch-string' when
10006 `isearch-fail-pos' returns nil.
10007 (isearch-message): Remove duplicate code and call
10008 `isearch-fail-pos' with arg `t'.
10009
a0bf2bcd
CY
100102011-09-14 Chong Yidong <cyd@stupidchicken.com>
10011
17bb0a2d
CY
10012 * replace.el (occur-mode-goto-occurrence): Don't force using other
10013 window (Bug#9499).
10014
a0bf2bcd
CY
10015 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10016
f678e0b6
MR
100172011-09-14 Martin Rudalics <rudalics@gmx.at>
10018
10019 * window.el (display-buffer-window): Remove.
10020 (display-buffer-record-window): Use help-setup window parameter
10021 instead of variable display-buffer-window.
10022 (display-buffer-function, special-display-buffer-names)
10023 (special-display-function): Mention help-setup parameter instead
10024 of display-buffer-window in doc-string.
d3c30954
SM
10025 * help.el (help-window-setup): New argument help-window.
10026 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10027 Reword some messages.
10028 (with-help-window): Pass window used for displaying the buffer
10029 to help-window-setup. Don't set display-buffer-window.
10030
8e39b2e8
GM
100312011-09-13 Glenn Morris <rgm@gnu.org>
10032
10033 * emacs-lisp/debug.el (debugger-make-xrefs):
10034 Preserve point. (Bug#9462)
10035
85e9c04b
CY
100362011-09-13 Chong Yidong <cyd@stupidchicken.com>
10037
10038 * window.el (window-deletable-p): Use next-frame.
10039
1b36ed6a
MR
100402011-09-13 Martin Rudalics <rudalics@gmx.at>
10041
10042 * window.el (window-auto-delete): Remove.
10043 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10044 dedication and previous buffers.
1b36ed6a
MR
10045 (switch-to-prev-buffer): Don't delete window.
10046 (delete-windows-on): Delete a window's frame if and only if the
10047 window is dedicated.
10048 (replace-buffer-in-windows): Delete buffer's window or frame if
10049 and only if window is dedicated.
10050 (quit-window): Handle quit-restore as before last change.
4d61f28d 10051 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10052
ef8ef9fb
CY
100532011-09-13 Chong Yidong <cyd@stupidchicken.com>
10054
10055 * window.el (window-deletable-p): Never delete the last frame on a
10056 given terminal.
10057
b2cba41e
GM
100582011-09-13 Glenn Morris <rgm@gnu.org>
10059
10060 * help.el (describe-key-briefly): Copy previous standard-output change.
10061
51553db6 100622011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10063
10064 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10065
b7556719
GM
100662011-09-13 Glenn Morris <rgm@gnu.org>
10067
10068 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10069 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10070
64b51947
CY
100712011-09-12 Chong Yidong <cyd@stupidchicken.com>
10072
10073 * dired-aux.el (dired-mark-read-string): Don't return default
10074 value on empty input (Bug#9361).
10075 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10076 Omit initial minibuffer contents.
10077 (dired-do-chmod): Signal an error on empty input.
10078 (dired-mark-read-string): Don't return default on empty input.
10079
10080 * files.el (file-modes-symbolic-to-number): Doc fix.
10081
393a301e
SM
100822011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * international/mule-cmds.el (ucs-completions): Remove.
10085 (read-char-by-name): Use complete-with-action instead; add metadata.
10086
fa5660f9
CY
100872011-09-11 Chong Yidong <cyd@stupidchicken.com>
10088
10089 * window.el (display-buffer--action-function-custom-type)
10090 (display-buffer--action-custom-type): New vars.
10091 (display-buffer-alist, display-buffer-default-action)
10092 (display-buffer-overriding-action): Add defcustom types.
10093
4a592f66
CY
10094 * frame.el (delete-other-frames): Doc fix (Bug#276).
10095
73d56dbd
LMI
100962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10097
10098 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10099
37ac18a3
CY
101002011-09-11 Chong Yidong <cyd@stupidchicken.com>
10101
10102 Change modes that used same-window-* vars to use switch-to-buffer.
10103
10104 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10105 Use switch-to-buffer.
10106
10107 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10108 (customize-browse, custom-buffer-create-other-window):
10109 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10110
10111 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10112 (Info-prev, Info-up, Info-speedbar-goto-node)
10113 (info-display-manual): Use switch-to-buffer.
10114 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10115
10116 * mail/sendmail.el (mail): Use switch-to-buffer.
10117 (mail-recover): Use switch-to-buffer-other-window.
10118
10119 * cmuscheme.el (run-scheme, switch-to-scheme):
10120 * ielm.el (ielm):
10121 * shell.el (shell):
10122 * net/rlogin.el (rlogin):
10123 * net/telnet.el (telnet, rsh):
10124 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10125
10195bd6
AS
101262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10127
10128 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10129
b322f63a
LMI
101302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10131
39d7fed6
LMI
10132 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10133 so don't mention it (bug#9301).
ba5a81f1 10134 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10135
ee0e9f11
LMI
10136 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10137 match `x', `w32' and `ns', like the manual says (bug#9029).
10138
0b1c89c1 10139 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10140 (process-kill-buffer-query-function): Mention the buffer name in
10141 the query.
0b1c89c1 10142
77549ea8
LMI
10143 * image-mode.el (image-next-line): The line parameter is mandatory
10144 (bug#9258).
10145
803ef892
LMI
10146 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10147 which can be useful (bug#9301).
10148
12980837
LMI
10149 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10150
91054f8f
LMI
10151 * subr.el (match-string): Mention that the current buffer should
10152 be the same as the search was done in (bug#9282).
10153
b322f63a
LMI
10154 * facemenu.el: Disable the remove-* commands if the mark isn't
10155 active (bug#9162).
10156
3199b96f
CY
101572011-09-10 Chong Yidong <cyd@stupidchicken.com>
10158
10159 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10160 of display-buffer.
10161 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10162
10163 * replace.el (occur-mode-goto-occurrence)
10164 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10165 and display-buffer.
10166
10167 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10168 display-buffer.
10169
10170 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10171 special-display and same-window variables.
10172 (mail-other-window): Use switch-to-buffer-other-window.
10173 (mail-other-frame): USe switch-to-buffer-other-frame.
10174
393a301e
SM
10175 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10176 Use display-buffer-other-frame.
3199b96f
CY
10177 (gdb-display-gdb-buffer): Use pop-to-buffer.
10178
10179 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10180
10181 * progmodes/python.el: Don't set same-window-buffer-names.
10182
10183 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10184
10185 * window.el (display-buffer-alist): Add *Python*.
10186
8319e0bf
CY
101872011-09-10 Chong Yidong <cyd@stupidchicken.com>
10188
10189 * window.el (display-buffer-alist): Add entry for buffers
10190 previously handled same-window-*.
10191 (display-buffer-alist, display-buffer-default-action)
10192 (display-buffer-overriding-action): Mark as risky.
10193 (display-buffer-alist): Document action function changes.
10194 (display-buffer--same-window-action)
10195 (display-buffer--other-frame-action): New variables.
10196 (switch-to-buffer, display-buffer-other-frame): Use them.
10197 (display-buffer): Rename reuse-frame entry to reusable-frames.
10198 (display-buffer-reuse-selected-window): Function deleted.
10199 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10200 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10201 (display-buffer-special): New function.
10202 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10203 display-buffer-reuse-or-pop-window. Split off special-display
10204 part into display-buffer-special.
10205 (display-buffer-use-some-window): Don't perform any special
10206 pop-up-frames handling.
10207 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10208 (display-buffer--maybe-same-window): Rename from
0d3ff375 10209 display-buffer-maybe-same-window.
8319e0bf 10210
919a69aa
CY
10211 * info.el: Don't set same-window-regexps.
10212 (info-setup): New function.
10213 (info-other-window, info): Call it.
10214
10215 * cus-edit.el: Don't set same-window-regexps.
10216 (customize-group): New argument.
10217 (customize-group-other-window): Use it.
10218 (customize-face, customize-face-other-window): Likewise.
10219 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10220
8319e0bf
CY
10221 * net/rlogin.el:
10222 * net/telnet.el:
10223 * progmodes/gud.el: Don't set same-window-regexps.
10224
10225 * cmuscheme.el:
10226 * ielm.el:
10227 * shell.el:
10228 * mail/sendmail.el:
10229 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10230
25173000
JL
102312011-09-10 Juri Linkov <juri@jurta.org>
10232
10233 * isearch.el (isearch-edit-string): Remove obsolete mention of
10234 `C-w' (`isearch-yank-word-or-char') from docstring.
10235 (isearch-query-replace): Fix typo in docstring (bug#9466).
10236
056e44ef
JL
102372011-09-10 Juri Linkov <juri@jurta.org>
10238
10239 * paren.el (show-paren-function): Don't show escaped parens.
10240 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10241
c3760c17
EZ
102422011-09-10 Eli Zaretskii <eliz@gnu.org>
10243
10244 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10245 (mm-default-file-encoding): Remove autoload forms, they are
10246 replaced with autoload cookies in mml.el and mm-encode.el.
10247 (mail-add-attachment): New command.
10248 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10249 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10250 the doc string.
10251 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10252
fece895e
RT
102532011-09-10 Reuben Thomas <rrt@sc3d.org>
10254
e69df516
SM
10255 * simple.el (count-words-region): Use buffer if there's no region
10256 (bug#9429).
fece895e 10257
5e68ce4a
JL
102582011-09-09 Juri Linkov <juri@jurta.org>
10259
10260 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10261 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10262 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10263
0a6b9622
AM
102642011-09-09 Alan Mackenzie <acm@muc.de>
10265
10266 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10267 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10268
14a29deb
EZ
102692011-09-09 Eli Zaretskii <eliz@gnu.org>
10270
10271 Fix for Savannah bug#9392.
10272 * simple.el (mail-encode-mml): New defvar.
10273
10274 * mail/rmail.el (mail-encode-mml): Add a defvar.
10275 (rmail-enable-mime-composing): Default to t.
10276 (rmail-forward): Use MIME method of forwarding only if both
10277 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10278 Set mail-encode-mml non-nil if the MIME method was used.
10279
10280 * mail/sendmail.el (mml-to-mime): Add autoload form.
10281 (mail-encode-mml): Add a defvar.
10282 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10283 to nil.
10284 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10285 message through mml-to-mime, and reset mail-encode-mml to nil.
10286
28c45130
GM
102872011-09-09 Glenn Morris <rgm@gnu.org>
10288
10289 * woman.el (woman-if-body): When processing an .el block,
10290 do not delete the next .el block as well. (Bug#9447)
69f4b618 10291 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10292
9b1c252e
MR
102932011-09-08 Martin Rudalics <rudalics@gmx.at>
10294
10295 * window.el (window-deletable-p): Make sure window is live before
10296 invoking window-prev-buffers.
10297
567457e3
LL
102982011-09-08 Leo Liu <sdl.web@gmail.com>
10299
10300 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10301
97f05794
JL
103022011-09-08 Juri Linkov <juri@jurta.org>
10303
10304 * progmodes/compile.el (compilation-environment): Make it
10305 a defcustom (bug#8340).
10306
8b0874b5
MR
103072011-09-08 Martin Rudalics <rudalics@gmx.at>
10308
10309 * window.el (frame-auto-delete): Rename to window-auto-delete.
10310 Make it control auto-deletion of windows and/or frames.
10311 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10312 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10313 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10314 Rewrite handling of case when window/frame can be deleted.
10315 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10316 argument t. (Bug#9456)
8b0874b5 10317
4feb6e73
CY
103182011-09-07 Chong Yidong <cyd@stupidchicken.com>
10319
10320 * help-mode.el (help-mode): Restore autoload.
10321
91ab9c13
JL
103222011-09-07 Juri Linkov <juri@jurta.org>
10323
10324 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10325 `compilation-environment'. Set buffer-local
10326 `compilation-environment' to `thisenv' later after (funcall mode).
10327 (Bug#8340)
10328
10329 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10330 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10331 instead of replacing its value. (Bug#8340)
10332
0527e251
JL
103332011-09-07 Juri Linkov <juri@jurta.org>
10334
10335 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10336 based on text properties put by `grep-filter' instead of matching
10337 escape sequences.
10338 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10339 to the value of `grep-error-screen-columns' (bug#9438).
10340
249f792c
JL
103412011-09-07 Juri Linkov <juri@jurta.org>
10342
10343 * simple.el (next-error-highlight, next-error-highlight-no-select):
10344 Doc fix (bug#9432).
10345
ff7271b9
OT
103462011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10347
10348 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10349 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10350
183fc730
LL
103512011-09-07 Leo Liu <sdl.web@gmail.com>
10352
10353 * net/rcirc.el (rcirc-mode): Conditionally initialize
10354 rcirc-input-ring.
10355
77694924
SM
103562011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10357
10358 * emacs-lisp/find-func.el (find-function-C-source): Only set
10359 find-function-C-source-directory after checking that we found a source
10360 file there (bug#9440).
10361
d809b8eb
AM
103622011-09-06 Alan Mackenzie <acm@muc.de>
10363
10364 * isearch.el (isearch-other-meta-char): Wherever a key list is
10365 unread, "unread" the prefix arg, too. This fixes bug #8901.
10366
453de99f
OG
103672011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10368
10369 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10370
90439906
JL
103712011-09-05 Juri Linkov <juri@jurta.org>
10372
10373 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10374
f62bd846
JL
103752011-09-05 Juri Linkov <juri@jurta.org>
10376
10377 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10378 keeping point where processing of grep matches begins, and
10379 continue to delete remaining escape sequences from the same point.
10380 (grep-filter): Make leading zero optional in "0?1;31m" because
10381 git-grep emits "\033[1;31m" escape sequences unlike expected
10382 "\033[01;31m" as GNU Grep does (bug#9408).
10383 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10384
045820ec
JL
103852011-09-05 Juri Linkov <juri@jurta.org>
10386
10387 * subr.el (y-or-n-p): Capitalize "yes".
10388
f5e29b9b
MA
103892011-09-04 Michael Albinus <michael.albinus@gmx.de>
10390
10391 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10392 `tramp-cache-unload-hook' where appropriate.
10393 (tramp-methods): Rename `tramp-remote-sh' to
10394 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10395 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10396
10397 * net/tramp-sh.el (top): Don't require 'shell.
10398 (tramp-methods): Add `tramp-remote-shell' and
10399 `tramp-remote-shell-args' entries.
10400 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10401 (tramp-sh-handle-shell-command): Remove.
10402 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10403 Use `tramp-remote-shell'.
10404
2784c434
CY
104052011-09-03 Chong Yidong <cyd@stupidchicken.com>
10406
393a301e 10407 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10408 (sendmail-query-once): Save directly to send-mail-function.
10409 Update message-send-mail-function too.
10410
10411 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10412
464cdf56
CS
104132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10414
10415 * progmodes/python.el (python-mode-map): Use correct function to
10416 start python interpreter from menu-bar (as reported by Geert
10417 Kloosterman).
10418 (inferior-python-mode-map): Fix typo.
393a301e 10419 (python-shell-map): Remove.
464cdf56 10420
d37e5c87
DD
104212011-09-03 Deniz Dogan <deniz@dogan.se>
10422
10423 * net/rcirc.el (rcirc-print): Simplify code for
10424 rcirc-scroll-show-maximum-output. There is no need to walk
10425 through all windows to find the right one.
10426
f3ada0ee
CS
104272011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10428
10429 * help.el (help-return-method): Doc fix.
10430
1f3c99ca
MR
104312011-09-03 Martin Rudalics <rudalics@gmx.at>
10432
10433 * window.el (window-deletable-p): Don't return a non-nil value
10434 when there's a buffer that was shown in the window before.
10435 (Bug#9419)
393a301e
SM
10436 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10437 Set window's previous buffers to nil.
1f3c99ca 10438
a3cf097f
EZ
104392011-09-03 Eli Zaretskii <eliz@gnu.org>
10440
10441 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10442 newline before and after the tag line, so it doesn't interfere
10443 with determining the paragraph direction of bidirectional text.
10444
3d03de90
LL
104452011-09-03 Leo Liu <sdl.web@gmail.com>
10446
10447 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10448
c3313451
CY
104492011-09-02 Chong Yidong <cyd@stupidchicken.com>
10450
393a301e 10451 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10452 (pop-to-buffer): Change interactive spec. Pass second argument
10453 directly to display-buffer.
10454 (display-buffer): Fix interactive spec. Use functionp to
10455 distinguish between a function and a list of functions.
10456
10457 * abbrev.el (edit-abbrevs):
10458 * arc-mode.el (archive-extract):
10459 * autoinsert.el (auto-insert):
10460 * bookmark.el (bookmark-bmenu-list):
10461 * files.el (find-file):
10462 * view.el (view-buffer):
10463 * progmodes/compile.el (compilation-goto-locus):
10464 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10465
89894cd8
CY
104662011-09-02 Chong Yidong <cyd@stupidchicken.com>
10467
10468 * window.el (display-buffer-alist): Doc fix.
10469 (display-buffer): Add docstring. Don't treat
10470 display-buffer-default specially.
10471 (display-buffer-reuse-selected-window)
10472 (display-buffer-same-window, display-buffer-maybe-same-window)
10473 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10474 (display-buffer-pop-up-window)
10475 (display-buffer-reuse-or-pop-window)
10476 (display-buffer-use-some-window): New functions.
10477 (display-buffer-default-action): Use them.
393a301e 10478 (display-buffer-default): Delete.
89894cd8
CY
10479 (pop-to-buffer-1): Fix choice of actions.
10480
ae0bc9fb
SM
104812011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * minibuffer.el (completion--insert-strings): Don't get confused by
10484 completion entries that end with an LF char.
10485
e9d90883
EZ
104862011-09-01 Eli Zaretskii <eliz@gnu.org>
10487
10488 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10489
437014c8
CY
104902011-09-01 Chong Yidong <cyd@stupidchicken.com>
10491
10492 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10493 (display-buffer-same-window, display-buffer-other-window):
10494 New functions.
437014c8
CY
10495 (pop-to-buffer-1): New function. Use the above.
10496 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10497 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10498
10499 * view.el (view-buffer-other-window, view-buffer-other-frame):
10500 Just use pop-to-buffer.
10501
a5e063d5
TV
105022011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10503
10504 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10505
793d32bb
WH
105062011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10507
10508 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10509
d65e4c15
RS
105102011-08-31 Richard Stallman <rms@gnu.org>
10511
10512 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10513 of the separation of rmail-view-buffer from rmail-buffer.
10514 If you say no to "replace original", the decrypt is in the
10515 view buffer. If you say yes, the decrypt goes into the
10516 rmail buffer also.
10517
f818cd2a
MR
105182011-08-31 Martin Rudalics <rudalics@gmx.at>
10519
10520 * window.el (display-buffer-window): Rewrite doc-string.
10521 (display-buffer-record-window): New function.
10522 (display-buffer-macro-specifiers)
10523 (display-buffer-even-window-sizes, display-buffer-set-height)
10524 (display-buffer-set-width, display-buffer-in-window)
10525 (display-buffer-reuse-window, display-buffer-split-specifiers)
10526 (display-buffer-side-specifiers, display-buffer-split-window-1)
10527 (display-buffer-split-window, display-buffer-split-atom-window)
10528 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10529 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10530 (display-buffer-other-window-means-other-frame)
10531 (display-buffer-normalize-special)
10532 (display-buffer-normalize-default)
10533 (display-buffer-normalize-argument)
10534 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10535 (display-buffer-normalize-specifiers, display-buffer-frame)
10536 (display-buffer-same-window, display-buffer-same-frame)
10537 (display-buffer-other-window)
10538 (display-buffer-same-frame-other-window)
10539 (display-buffer-other-frame, pop-to-buffer-same-window)
10540 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10541 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10542 (switch-to-buffer-same-frame)
10543 (switch-to-buffer-other-window-same-frame)
10544 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10545 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10546 (display-buffer-alist-set): Remove.
10547 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10548 (special-display-regexps, special-display-function):
10549 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10550 parameter.
10551 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10552 (special-display-frame-alist, special-display-popup-frame)
10553 (same-window-buffer-names, same-window-regexps, same-window-p)
10554 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10555 (split-window-preferred-function, split-height-threshold)
10556 (split-width-threshold, window-splittable-p)
10557 (split-window-sensibly, window--try-to-split-window)
10558 (window--frame-usable-p, even-window-heights)
10559 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10560 (window--display-buffer-2, display-buffer-other-frame):
10561 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10562 (display-buffer-default, display-buffer-assq-regexp): New functions.
10563 (display-buffer-alist): Rewrite doc-string.
10564 (display-buffer-default-action)
10565 (display-buffer-overriding-action): New variables.
10566 (display-buffer, switch-to-buffer): Rewrite.
10567 (pop-to-buffer): Restore Emacs 23 behavior but use
10568 window-normalize-buffer-to-display.
10569 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10570 Restore Emacs 23 behavior but use
10571 window-normalize-buffer-to-switch-to.
10572 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10573 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10574 Rewrite using Emacs 23 options.
f818cd2a 10575
5bc3b51d
MA
105762011-08-31 Michael Albinus <michael.albinus@gmx.de>
10577
10578 * net/tramp.el (tramp-root-regexp): Remove.
10579 (tramp-completion-file-name-regexp-unified)
10580 (tramp-completion-file-name-regexp-separate)
10581 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10582 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10583 (tramp-drop-volume-letter): Simplify definition.
10584 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10585
b1a4f8e1
SM
105862011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10589 (bug#9356).
10590
5664fa7b
RT
105912011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10592
b1a4f8e1 10593 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10594
9a45d6c3
JL
105952011-08-29 Juri Linkov <juri@jurta.org>
10596
10597 * isearch.el (isearch-done): Don't display message "Mark saved"
10598 when arg `edit' is non-nil to prevent its flicker in the echo area.
10599
fb87e0fb
CY
106002011-08-28 Chong Yidong <cyd@stupidchicken.com>
10601
10602 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10603 obsolete packages for deletion.
10604
09ac1c2a
CS
106052011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10606
10607 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10608 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10609 view-mode from help-mode.
10610 (help-xref-override-view-map): Remove.
10611 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10612 view-mode is not used anymore.
10613
7a1ff57f
CY
106142011-08-28 Chong Yidong <cyd@stupidchicken.com>
10615
10616 * server.el (server-port): Doc fix.
10617
b9696605
CY
10618 * cus-theme.el (custom-theme-choose-mode): Inherit from
10619 special-mode (Bug#9124).
10620 (custom-theme-choose-mode-map): Add special-mode to parent.
10621
ef8cdf8c
AM
106222011-08-28 Alan Mackenzie <acm@muc.de>
10623
10624 * progmodes/cc-fonts.el
10625 (c-make-font-lock-BO-decl-search-function): New function.
10626 (c-basic-matchers-after - "Fontify the clauses after various
10627 keywords"): Extract the three keyword lists for the 3 erroneous
10628 constructs from the list of four, and use the new function above
10629 in place of an old one.
10630
27de4e20
DD
106312011-08-28 Deniz Dogan <deniz@dogan.se>
10632
10633 * net/rcirc.el (rcirc-insert-prev-input)
10634 (rcirc-insert-next-input): Remove unused argument.
10635
356a3681
SM
106362011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10639
3fc9b218
AM
106402011-08-27 Alan Mackenzie <acm@muc.de>
10641
10642 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10643 handle function pointer parameters properly.
10644
538a061c
MR
106452011-08-27 Martin Rudalics <rudalics@gmx.at>
10646
10647 * window.el (display-buffer-reuse-window): Fix case where
10648 selected window was reused with non-nil OTHER-WINDOW argument.
10649 (Bug#9381)
10650
35b1c40c
DD
106512011-08-27 Deniz Dogan <deniz@dogan.se>
10652
10653 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10654 oftc's NickServ messages.
10655
2f6a3e79
GM
106562011-08-27 Glenn Morris <rgm@gnu.org>
10657
10658 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10659
7254299e
CY
106602011-08-26 Chong Yidong <cyd@stupidchicken.com>
10661
10662 * emacs-lisp/package.el (package-install): Call package-initialize
10663 if called interactively.
10664
f8ccf167
LL
106652011-08-26 Leo Liu <sdl.web@gmail.com>
10666
10667 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10668
3e8cd5ce
JL
106692011-08-25 Juri Linkov <juri@jurta.org>
10670
10671 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10672 `search-whitespace-regexp' (bug#9364).
10673
93eb7113
JL
106742011-08-25 Juri Linkov <juri@jurta.org>
10675
10676 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10677 `regexp-search-ring' to their global values to protect from
10678 updating by `read-from-minibuffer' (bug#9185).
10679
f65d1611
JL
106802011-08-25 Juri Linkov <juri@jurta.org>
10681
10682 * textmodes/ispell.el (ispell-command-loop): Add newline
10683 at the end of the "Use option `i'..." line.
10684
f1cf7a31
JL
106852011-08-25 Juri Linkov <juri@jurta.org>
10686
10687 * battery.el (display-battery-mode): If `battery-status-function'
10688 or `battery-mode-line-format' is nil, display the message and set
10689 `display-battery-mode' to nil (bug#9363).
10690
0c95fcf7
EZ
106912011-08-25 Eli Zaretskii <eliz@gnu.org>
10692
10693 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10694 bidi-string-mark-left-to-right; they are unnecessary now.
10695
a2ebe600
DD
106962011-08-25 Deniz Dogan <deniz@dogan.se>
10697
10698 * net/quickurl.el: Documentation typo fixes.
10699
e4ed06f1
CY
107002011-08-25 Chong Yidong <cyd@stupidchicken.com>
10701
10702 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10703
e5f1c99e
GM
107042011-08-25 Glenn Morris <rgm@gnu.org>
10705
b2948976
GM
10706 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10707
e5f1c99e
GM
10708 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10709 (smtpmail-via-smtp): Handle nil response from smtp.
10710
f22f4808
JL
107112011-08-24 Juri Linkov <juri@jurta.org>
10712
10713 * proced.el (proced-marked): Inherit from `error' instead of
10714 `font-lock-warning-face'.
10715
10716 * ibuffer.el (ibuffer-marked-face): Change default face from
10717 `font-lock-warning-face' to `warning'.
10718 (ibuffer-deletion-face): Change default face from
10719 `font-lock-type-face' to `error'.
10720
10721 * battery.el (battery-update): Use the face `error' instead of
10722 `font-lock-warning-face' (bug#6117).
10723
6a93965e
JL
107242011-08-24 Juri Linkov <juri@jurta.org>
10725
10726 * faces.el (success): Change face color from "Green3" to
10727 "ForestGreen" on light background (bug#9353).
10728
1ed43b09
CY
107292011-08-24 Chong Yidong <cyd@stupidchicken.com>
10730
5664fa7b
RT
10731 * window.el (quit-window): Rename from quit-restore-window.
10732 Use same arglist as old quit-window.
1ed43b09
CY
10733 (frame-auto-delete): Doc fix.
10734
10735 * view.el (view-mode-exit): Use quit-window.
10736
11dcdbb2
JL
107372011-08-24 Juri Linkov <juri@jurta.org>
10738
10739 * isearch.el (isearch-ring-adjust1): Start visiting previous
10740 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10741 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10742 for empty search string (when the last search string is reused
10743 automatically) to adjust the isearch ring to the last element and
10744 prepare the correct index for further M-p commands (bug#9185).
10745
de62b4df
KH
107462011-08-24 Kenichi Handa <handa@m17n.org>
10747
10748 * international/ucs-normalize.el: If decomposition property of
10749 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10750 nil.
10751 (nfd, nfkd): Likewise.
10752
963b492b
SM
107532011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10754
10755 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10756 from process filters aren't reliably transmitted to the surrounding
10757 accept-process-output.
10758 (mpc-proc-check): New function.
10759 (mpc-proc-sync): Use it (bug#8293)
10760
93b6b5e1
SM
107612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10764 Add compatibility functions (bug#9313).
10765
bca633fb
EZ
107662011-08-23 Eli Zaretskii <eliz@gnu.org>
10767
b177498a
EZ
10768 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10769
6df6ae42 10770 * international/uni-bidi.el: Regenerate.
bca633fb 10771
0902a04e
KH
107722011-08-23 Kenichi Handa <handa@m17n.org>
10773
10774 * international/charprop.el:
10775 * international/uni-bidi.el:
10776 * international/uni-category.el:
10777 * international/uni-combining.el:
10778 * international/uni-comment.el:
10779 * international/uni-decimal.el:
10780 * international/uni-decomposition.el:
10781 * international/uni-digit.el:
10782 * international/uni-lowercase.el:
10783 * international/uni-mirrored.el:
10784 * international/uni-name.el:
10785 * international/uni-numeric.el:
10786 * international/uni-old-name.el:
10787 * international/uni-titlecase.el:
10788 * international/uni-uppercase.el: Regenerate.
10789
3bbf23bc
MR
107902011-08-23 Martin Rudalics <rudalics@gmx.at>
10791
10792 * help.el (help-window-setup): Fix message displayed when other
10793 window is reused. (Bug#9341)
10794
b3fd59bd
SM
107952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10796
1802e444
SM
10797 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10798 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10799
b3fd59bd
SM
10800 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10801 Mark obsolete.
10802 * shell.el (shell-parse-pcomplete-arguments): New function.
10803 (shell-completion-vars): Use it instead (bug#9160).
10804
4eb61348
SM
108052011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10806
867cab74
SM
10807 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10808 strings and comments (bug#9333).
10809
4eb61348
SM
10810 * emacs-lisp/debug.el (debug-arglist): New function.
10811 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10812 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10813
262a1439
JL
108142011-08-22 Juri Linkov <juri@jurta.org>
10815
56ee679c
JL
10816 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10817 Revert regexp that highlights output switches to its old
10818 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10819
262a1439
JL
10820 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10821 to check for empty output (bug#9226).
10822
f13f86fb
CY
108232011-08-22 Chong Yidong <cyd@stupidchicken.com>
10824
10825 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10826 symbol-constituent as the default, as that stops font-lock from
10827 working properly (Bug#8843).
10828
c65c9622
LMI
108292011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10830
10831 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10832 `coding-system-for-*' around the process open call to avoid
10833 auth-source side effects.
e7f2c178 10834 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10835 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10836 probe hangs.
c65c9622 10837
23a8a5ab
CY
108382011-08-21 Chong Yidong <cyd@stupidchicken.com>
10839
ff98b2dd
CY
10840 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10841
23a8a5ab
CY
10842 * emacs-lisp/find-func.el (find-function-noselect): New arg
10843 lisp-only.
10844
10845 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10846 signal an error for built-in functions (Bug#6664).
10847
f5e3c598
LMI
108482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10849
10850 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10851 (smtpmail-try-auth-methods): Use it.
10852
a3f2468a
CY
108532011-08-21 Chong Yidong <cyd@stupidchicken.com>
10854
2c34e8da
CY
10855 * font-lock.el (font-lock-fontify-region)
10856 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10857 (font-lock-default-unfontify-buffer)
10858 (font-lock-default-fontify-region)
10859 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10860
b3fd59bd
SM
10861 * progmodes/compile.el (compilation-error-properties):
10862 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10863 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10864 `ant' regexp.
ee31aabc 10865
a3f2468a
CY
10866 * net/browse-url.el (browse-url-firefox): Don't call
10867 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10868
8e999f70
GM
108692011-08-20 Glenn Morris <rgm@gnu.org>
10870
c21a496a
GM
10871 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10872
59ee0542
GM
10873 * tutorial.el (tutorial--default-keys): Update some default bindings.
10874
8e999f70
GM
10875 * files.el (hack-local-variables): Fully ignore case for "mode:".
10876
e3715033
AM
108772011-08-20 Alan Mackenzie <acm@muc.de>
10878
10879 Resolve invalid use of a regexp in regexp-opt.
10880
4d61f28d
JB
10881 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10882 detection for a java annotation.
e3715033 10883
4d61f28d 10884 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10885 detection for a java annotation.
10886
4d61f28d
JB
10887 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10888 handling for java.
e3715033
AM
10889 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10890
04ed2e9c
CY
108912011-08-20 Chong Yidong <cyd@stupidchicken.com>
10892
10893 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10894 (Bug#9274).
10895
826cee64
AM
108962011-08-20 Alan Mackenzie <acm@muc.de>
10897
58179cce 10898 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10899 such a construct. Mainly for when jit-lock etc. starts a chunk
10900 here.
10901
58179cce 10902 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10903 variable.
58179cce 10904 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10905 c-make-font-lock-search-function.
10906 (c-make-font-lock-search-function): Use the above function.
10907 (c-make-font-lock-context-search-function): New function.
10908 (c-cpp-matchers): Enhance the preprocessor expression case with
10909 the above function
10910 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10911 which takes an expression.
10912
10913 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10914
13009bd8
MR
109152011-08-20 Martin Rudalics <rudalics@gmx.at>
10916
10917 * window.el (display-buffer-reuse-window)
10918 (display-buffer-pop-up-window): Don't reuse or split a side
10919 window.
10920
9234ff7f
GM
109212011-08-19 Glenn Morris <rgm@gnu.org>
10922
10923 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10924 Downcase "Mode:". (Bug#9331)
9234ff7f 10925
f635daa1
CY
109262011-08-18 Chong Yidong <cyd@stupidchicken.com>
10927
10928 * international/characters.el: Add L and R categories.
10929
10930 * subr.el (bidi-string-mark-left-to-right): Rename from
10931 string-mark-left-to-right. Use category search.
10932
10933 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10934
bc987f8b
JL
109352011-08-18 Juri Linkov <juri@jurta.org>
10936
10937 * faces.el (error, warning, success): New faces with definitions
10938 copied from old default values of `font-lock-warning-face',
10939 `compilation-warning', `compilation-info' (bug#6117).
10940
10941 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10942
10943 * progmodes/compile.el (compilation-error): Inherit from `error'.
10944 (compilation-warning): Inherit from `warning'.
10945 (compilation-info): Inherit from `success'.
10946
10947 * dired.el (dired-marked): Inherit from `warning'.
10948 (dired-flagged): Inherit from `error'.
10949
57173b96
LMI
109502011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10951
3e79eb87
LMI
10952 * mail/smtpmail.el (auth-source): Require to avoid problems with
10953 binding variables (bug#9298). Also clean up some unused
10954 autoloads.
10955
b3fd59bd
SM
10956 * net/network-stream.el (network-stream-open-starttls):
10957 Support using starttls.el without using gnutls-cli.
57173b96 10958
02b404de
JL
109592011-08-17 Juri Linkov <juri@jurta.org>
10960
10961 * progmodes/grep.el (rgrep): Handle the case when
10962 `grep-find-command' is a cons cell (bug#9278).
10963
8c9177f2
MR
109642011-08-17 Martin Rudalics <rudalics@gmx.at>
10965
10966 * window.el (display-buffer-pop-up-frame): Run frame creation
10967 function with BUFFER current (as special-display-popup-frame
10968 does). Reported by Drew Adams.
10969
3644a0ab
DU
109702011-08-17 Daiki Ueno <ueno@unixuser.org>
10971
10972 * epa-mail.el: Simplify GnuPG group expansion using
10973 epg-expand-group.
10974 (epa-mail-group-alist, epa-mail-group-modtime)
10975 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10976 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10977 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10978 Remove.
10979
5e617bc2 109802011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10981
10982 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10983
9c4aeabf
AM
109842011-08-16 Alan Mackenzie <acm@muc.de>
10985
10986 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10987 Correct, to avoid the inside of macros.
10988
3a99bf64
RS
109892011-08-16 Richard Stallman <rms@gnu.org>
10990
04963aa8
RS
10991 * epa-mail.el: Handle GnuPG group definitions.
10992 (epa-mail-group-alist, epa-mail-group-modtime)
10993 (epa-mail-gnupg-conf-file): New variables.
10994 (epa-mail-parse-groups, epa-mail-sync-groups)
10995 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
10996 (epa-mail-expand-recipients): New functions.
10997 (epa-mail-encrypt): Call epa-mail-expand-recipients.
10998
177549d0
RS
10999 * mail/rmail.el (rmail-epa-decrypt): New command.
11000
fe38beef
RS
11001 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11002 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11003 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11004 (epa-decrypt-armor-in-region): Make error message clearer.
11005
934eacb9
SM
110062011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11009 and "a2b" to "ab" for `prefix'.
11010
d024fb4e
CY
110112011-08-14 Chong Yidong <cyd@stupidchicken.com>
11012
11013 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11014 filter groups.
de148fee
CY
11015 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11016 Fourquet (Bug#8804).
d024fb4e 11017
62f1ca49
JB
110182011-08-12 Juanma Barranquero <lekktu@gmail.com>
11019
11020 * startup.el (argi): Declare as global variable (bug#9275).
11021
9ccaaa4b
CY
110222011-08-12 Chong Yidong <cyd@stupidchicken.com>
11023
11024 * subr.el (string-mark-left-to-right): Search the entire string
11025 for RTL script, not just the terminating character. Doc fix.
11026
a3dae87a
SM
110272011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11028
6cd18349
SM
11029 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11030 New function.
11031 (js--regexp-literal, js-syntax-propertize-function): Remove.
11032 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11033 (js-mode-map): Don't rebind electric keys.
11034 (js-insert-and-indent): Remove.
11035 (js-mode): Setup electric-layout and electric-indent instead.
11036
a3dae87a
SM
11037 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11038
9d5cb631
DU
110392011-08-12 Daiki Ueno <ueno@unixuser.org>
11040
11041 * epa.el (epa-progress-callback-function): Fix the logic of
11042 displaying progress.
11043 * epa-file.el (epa-file-insert-file-contents): Make progress
11044 display more user-friendly.
11045 (epa-file-write-region): Ditto.
11046
3e26a4a2
CY
110472011-08-10 Chong Yidong <cyd@stupidchicken.com>
11048
11049 * subr.el (string-mark-left-to-right): New function.
11050
11051 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11052 Use string-mark-left-to-right.
11053 (list-buffers-noselect): Caller changed.
11054
a3dae87a
SM
11055 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11056 Use string-mark-left-to-right.
3e26a4a2
CY
11057 (tabulated-list-print): Recenter after moving point.
11058
ac8cf6e6
JL
110592011-08-10 Juri Linkov <juri@jurta.org>
11060
11061 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11062 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11063 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11064
8d96c9a4
CY
110652011-08-09 Chong Yidong <cyd@stupidchicken.com>
11066
11067 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11068 (Bug#7554).
11069
7be1c708 110702011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11071
11072 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11073 character. (Bug#6594)
11074
37e11a63
CY
110752011-08-08 Chong Yidong <cyd@stupidchicken.com>
11076
839dde57
CY
11077 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11078 (image-dired--with-db-file): New macro.
11079 (image-dired-write-tags, image-dired-remove-tag)
11080 (image-dired-create-gallery-lists, image-dired-write-comments)
11081 (image-dired-get-comment, image-dired-mark-tagged-files)
11082 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11083 (image-dired-gallery-generate): Use insert-file-contents.
11084
37e11a63
CY
11085 * time.el (display-time-world-list, display-time-world-display):
11086 * time-stamp.el (time-stamp-string):
11087 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11088 set-time-zone-rule (Bug#7337).
11089
0b4946c4
DU
110902011-08-08 Daiki Ueno <ueno@unixuser.org>
11091
11092 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11093 (epg-error-to-string, epg-errors-to-string): New function.
11094 (epg-wait-for-completion): Reverse errors list.
11095 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11096 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11097 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11098 (epg-sign-keys, epg-generate-key-from-file)
11099 (epg-generate-key-from-string): Format errors by using
11100 epg-errors-to-string (bug#9255).
11101 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11102
75bfc667
JL
111032011-08-07 Juri Linkov <juri@jurta.org>
11104
11105 * faces.el (list-faces-display): Remove extra angle bracket
11106 from `help-mode-map'.
11107
11108 * info.el (Info-history-toc-nodes): Doc fix.
11109
11110 * longlines.el (longlines-mode): Doc fix.
11111
673e08bb
SM
111122011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11113
4640dd88
SM
11114 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11115 of statements and in a few more cases (bug#9183).
11116
673e08bb
SM
11117 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11118 New functions.
11119 (cl-transform-lambda): Use them (bug#9239).
11120
89b3f019
MR
111212011-08-05 Martin Rudalics <rudalics@gmx.at>
11122
11123 * window.el (display-buffer-same-window)
11124 (display-buffer-same-frame, display-buffer-other-window)
11125 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11126 (pop-to-buffer-other-window)
11127 (pop-to-buffer-same-frame-other-window)
11128 (pop-to-buffer-other-frame): Make them defuns.
11129 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11130
640c8776
SM
111312011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * subr.el (make-composed-keymap): Move from C. Change calling
11134 convention, and improve docstring to bring attention to a subtle point.
11135 * minibuffer.el (completing-read-default): Adjust accordingly.
11136
63648a95
MA
111372011-08-03 Michael Albinus <michael.albinus@gmx.de>
11138
11139 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11140 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11141
11142 * net/trampver.el: Update release number.
11143
b796c9b7
SM
111442011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11147 "in" (bug#9190).
11148
2239d7d5
LMI
111492011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11150
e07dd7c3
LMI
11151 * mail/sendmail.el (sendmail-query-once): Restore the current
11152 buffer after querying (bug#9074).
11153
0e6a2bd7
LMI
11154 * dired.el (dired-flagged): Use different faces for marked and
11155 flagged files (bug#6117).
11156
ce887515
LMI
11157 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11158 (bug#4433).
11159
92f2affc
LMI
11160 * ido.el (ido-mode): Switch off the message if called
11161 non-interactively.
11162
57d5aff0
LMI
11163 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11164 before 587, since it appears that that's more likely to work for
11165 more people.
11166
98cd6c18 11167 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11168 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11169 exist.
11170
b96dec83
LMI
11171 * info.el: Remove the `Info-beginning-of-buffer' function
11172 (bug#8325).
11173
b796c9b7
SM
11174 * net/network-stream.el (network-stream-open-starttls):
11175 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11176
d90e2ea0
MR
111772011-08-01 Martin Rudalics <rudalics@gmx.at>
11178
11179 * window.el (display-buffer-in-window): Don't set dedicated status
11180 of window here (Bug#9215).
11181 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11182 (display-buffer-pop-up-side-window)
b796c9b7 11183 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11184
cca09170
SM
111852011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11188 before binding generated-autoload-file.
11189
027b979c
DD
111902011-08-01 Deniz Dogan <deniz@dogan.se>
11191
11192 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11193
3c7ee4f3
MA
111942011-07-30 Michael Albinus <michael.albinus@gmx.de>
11195
11196 Sync with Tramp 2.2.2.
11197
11198 * net/trampver.el: Update release number.
11199
2cc8e51a
JL
112002011-07-30 Juri Linkov <juri@jurta.org>
11201
11202 * dired-aux.el (dired-touch-initial): Remove function.
11203 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11204 current time, and `default' to the last modification time of the
11205 current marked file (bug#6887).
11206
a514d856
JM
112072011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11208
11209 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11210 numeric argument to read-number (bug#9163).
a514d856 11211
8a7eddd7
MA
112122011-07-27 Michael Albinus <michael.albinus@gmx.de>
11213
11214 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11215 connection process, it could be nil.
11216
1ddd96f5
LL
112172011-07-27 Leo Liu <sdl.web@gmail.com>
11218
11219 Simplify url handling in rcirc-mode.
11220
11221 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11222 (rcirc-browse-url-at-mouse): Remove.
11223 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11224
b248a85d
AM
112252011-07-26 Alan Mackenzie <acm@muc.de>
11226
11227 Fontify bitfield declarations properly.
11228
11229 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11230 (c-symbol-chars): Now exported as a lang variable.
11231 (c-not-primitive-type-keywords): New lang variable.
11232
11233 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11234 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11235 parsed as a bitfield declaration.
b248a85d 11236
b796c9b7
SM
11237 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11238 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11239 (c-punctuation-in): New function.
11240 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11241 declarations properly.
11242
68575ab0
UJ
112432011-07-26 Ulf Jasper <ulf.jasper@web.de>
11244
11245 * calendar/icalendar.el (icalendar--all-events): Take care of
11246 multiple vcalendars in a single file.
b796c9b7 11247 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11248
0f0a88b9
DD
112492011-07-25 Deniz Dogan <deniz@dogan.se>
11250
11251 * image.el (insert-image): Clarifying docstring.
11252
0b3f36df
MA
112532011-07-24 Michael Albinus <michael.albinus@gmx.de>
11254
11255 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11256 `tramp-send-command-and-check' if there is no error.
11257 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11258
a9901f61
AM
112592011-07-22 Alan Mackenzie <acm@muc.de>
11260
11261 Prevent cc-langs.elc being loaded at run time.
11262
11263 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11264 cc-langs.
11265
4d61f28d 11266 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11267 "(require 'cc-langs)". Quote a form so it will evaluate at
11268 (cc-mode's) compilation time.
11269
11d074b2
MA
112702011-07-22 Michael Albinus <michael.albinus@gmx.de>
11271
11272 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11273 loading. (Bug#9114)
11274
938b94c8
MR
112752011-07-21 Martin Rudalics <rudalics@gmx.at>
11276
11277 * window.el (display-buffer-pop-up-window)
11278 (display-buffer-pop-up-side-window)
11279 (display-buffer-in-side-window): Call display-buffer-set-height
11280 and display-buffer-set-width after setting the new window's
b796c9b7 11281 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11282
bfa4f190
SS
112832011-07-20 Sam Steingold <sds@gnu.org>
11284
11285 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11286 (etags-tags-included-tables): Call `convert-standard-filename' on
11287 the file names contained in TAGS so that windows Emacs can handle
11288 TAGS files created by cygwin ctags.
11289
8ca42262
LMI
112902011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11291
11292 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11293 which apparently didn't work.
11294
5db2afd2 112952011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11296
5db2afd2
RW
11297 * proced.el (proced-send-signal): For *Marked Processes* buffer
11298 put point at beginning of buffer.
11299
92e15d10
SB
113002011-07-19 Stephen Berman <stephen.berman@gmx.net>
11301
11302 * proced.el (proced-format): Make header lines align with the text
11303 (bug#1779).
11304
1bfd59e5
LMI
113052011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11306
11307 * view.el (view-buffer): Allow running in `special' modes if we're
11308 visiting a file (bug#8615).
11309
f5aae37c
MR
113102011-07-19 Martin Rudalics <rudalics@gmx.at>
11311
11312 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11313 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11314 New functions.
f5aae37c
MR
11315 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11316 more accurately.
11317
bf2c1571
AM
113182011-07-18 Alan Mackenzie <acm@muc.de>
11319
11320 Fontify declarators properly when, e.g., a jit-lock chunk begins
11321 inside a declaration.
11322
11323 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11324
b796c9b7
SM
11325 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11326 New function.
bf2c1571
AM
11327 (c-complex-decl-matchers): Insert reference to
11328 c-font-lock-enclosing-decls.
11329
11330 * progmodes/cc-engine.el (c-backward-single-comment):
11331 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11332 to nil around calls to (forward-comment -1).
11333
4e190b80
LMI
113342011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11335
12dc863d
LMI
11336 * image.el (put-image): Doc typo fix.
11337
a762e966
LMI
11338 * progmodes/etags.el (tags-search): Doc typo fix.
11339
4e190b80
LMI
11340 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11341 password if we get errors 550 to 554.
11342
f019fb21
LMI
113432011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11344
b796c9b7 11345 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11346
81746738
LMI
11347 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11348 indentation character (bug#6380).
11349
3ee3a1b5
LMI
11350 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11351
c82f64de
LMI
11352 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11353 to clarify what the problem is (bug#4291).
11354
f019fb21
LMI
11355 * simple.el (current-kill): Clarify what
11356 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11357 (auto-fill-mode): Document `auto-fill-function' in relation to
11358 `auto-fill-mode' (bug#2470).
f019fb21 11359
0794775d
LM
113602011-07-16 Lawrence Mitchell <wence@gmx.li>
11361
11362 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11363 method if slot is read-only (bug#9035).
11364
be39b8cc
MR
113652011-07-16 Martin Rudalics <rudalics@gmx.at>
11366
b796c9b7 11367 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11368 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11369 selected before, see discussion of (Bug#8615), (Bug#6954).
11370 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11371
6ccf7859
GM
113722011-07-15 Glenn Morris <rgm@gnu.org>
11373
11374 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11375 Respect help-form.
6ccf7859 11376
87e86684
LM
113772011-07-09 Lawrence Mitchell <wence@gmx.li>
11378
11379 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11380 (gnutls-negotiate): Use it.
11381
d6066239
LMI
113822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
b796c9b7
SM
11384 * net/gnutls.el (gnutls-negotiate):
11385 Upcase `gnutls-algorithm-priority'.
d6066239 11386
bd23ebc0
GM
113872011-07-15 Glenn Morris <rgm@gnu.org>
11388
c65bca65
GM
11389 * jka-compr.el (jka-compr-verbose): Move from here...
11390 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11391 Add missing :version tag.
11392 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11393
478615cc
LMI
113942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11395
7b41decb
LMI
11396 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11397 (gnutls-negotiate): Use it.
11398
dbc44fcd
LMI
11399 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11400
06789f97
LMI
11401 * info.el (Info-beginning-of-buffer): New command.
11402 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11403 announcing `b' as the key (bug#8325).
ab896c37 11404 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11405
c39da690
LMI
11406 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11407
3aa5f34b
LMI
11408 * international/mule-cmds.el
11409 (describe-specified-language-support): Make the error message
11410 clearer (bug#8905).
11411
4bf0979f
LMI
11412 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11413
478615cc
LMI
11414 * isearch.el (isearch-barrier): Add a doc string, since it's
11415 mentioned in a function doc string (bug#8678).
11416
75c68aa1
MR
114172011-07-15 Martin Rudalics <rudalics@gmx.at>
11418
11419 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11420 buffer argument (Bug#9083) and self-identifying label argument.
11421
a7c33da2
GM
114222011-07-15 Glenn Morris <rgm@gnu.org>
11423
11424 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11425
2f5c6024
LMI
114262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11427
11428 * man.el (Man-fontify-manpage): Fix message when formatting the
11429 man page (bug#7929).
11430
0bb23927 114312011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11432
11433 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11434 argument LRM; if non-nil, append an invisible LRM character to the
11435 buffer name.
11436 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11437 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11438 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11439 paragraph direction.
cce4b0a7 11440
621ef9ab
LMI
114412011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11442
d1583c48
LMI
11443 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11444 the man page name (bug#7929).
11445
6a57fb5f
LMI
11446 * image.el (put-image): Mention the `put-image' overlay property
11447 (bug#7834).
11448
d7956b14
LMI
11449 * scroll-bar.el (set-scroll-bar-mode): Mention that
11450 `scroll-bar-mode' lists the values (bug#7772).
11451
5b2d4a66
LMI
11452 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11453 command (bug#7729).
11454
7509a874
LMI
11455 * rect.el (apply-on-rectangle): Return the point after the last
11456 operation.
11457 (string-rectangle): Go to the point after the last operation
11458 (bug#7522).
11459
4fe74b19
LMI
11460 * printing.el (pr-toggle-region): Clarify the documentation
11461 slightly (bug#7493).
11462
b796c9b7
SM
11463 * time.el (display-time-update):
11464 Allow `display-time-mail-function' to return nil (bug#7158).
11465 Fix suggested by Detlev Zundel.
ab283561 11466
fc233c9d
LMI
11467 * vc/diff.el (diff): Clarify the order the file names are read
11468 (bug#7111).
11469
43f5740b
LMI
11470 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11471 the doc string (bug#7015).
11472
f2182a76
LMI
11473 * font-lock.el (font-lock-maximum-decoration): Mention what
11474 numeric levels mean (bug#6935).
11475
621ef9ab
LMI
11476 * startup.el (initial-buffer-choice): Don't mention the `none'
11477 selection, which is against policy.
11478
adc47434
MR
114792011-07-14 Martin Rudalics <rudalics@gmx.at>
11480
b796c9b7
SM
11481 * window.el (display-buffer-normalize-special):
11482 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11483
7e5bfb8f
EZ
114842011-07-14 Eli Zaretskii <eliz@gnu.org>
11485
11486 * subr.el (version<, version<=, version=): Mention "-CVS" and
11487 "-12345" alpha version numbers.
11488
27fa387a
CY
114892011-07-14 Chong Yidong <cyd@stupidchicken.com>
11490
11491 * bindings.el: Add advertised binding for set-mark-command
11492 (Bug#5772).
11493
8bdfa064
CY
114942011-07-14 Chong Yidong <cyd@stupidchicken.com>
11495
11496 * bindings.el (mode-line-other-buffer):
11497 * bookmark.el (bookmark-bmenu-2-window):
11498 * bs.el (bs-cycle-next, bs-cycle-previous):
11499 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11500 switch-to-buffer.
11501
11502 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11503 Delete.
8bdfa064 11504
5eba16a3
JB
115052011-07-14 Juanma Barranquero <lekktu@gmail.com>
11506
11507 * follow.el (follow-debug-message, follow-redisplay):
11508 * jka-cmpr-hook.el (with-auto-compression-mode):
11509 Fix typos in docstrings.
11510
15853710
LMI
115112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11512
a28e4607
LMI
11513 * subr.el (with-silent-modifications): Clarify somewhat what the
11514 macro inhibits (bug#6525).
11515
15853710
LMI
11516 * simple.el (eval-expression): Note what it does if called
11517 interactively (bug#6495).
11518
bee0fcef
CY
115192011-07-13 Chong Yidong <cyd@stupidchicken.com>
11520
b796c9b7
SM
11521 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11522 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11523
11524 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11525 Remove switch-to-buffer.
11526
58274504
LMI
115272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11528
bd2fcc8d
LMI
11529 * files.el (make-directory): Clarify that an error will be raised
11530 if there's an error (bug#6397).
11531
0f04b32c
LMI
11532 * startup.el (initial-buffer-choice): Add `none' as a choice
11533 (bug#6234).
11534
465c5fc8
LMI
11535 * subr.el (add-hook): Clarify section about buffer-local hooks
11536 (bug#6218).
11537
58274504
LMI
11538 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11539
bead9a43
JB
115402011-07-13 Juanma Barranquero <lekktu@gmail.com>
11541
11542 * tabify.el (untabify): Preserve the current column so that point
11543 doesn't move (bug#6032).
11544
3af98a7b
LMI
115452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11546
b796c9b7
SM
11547 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11548 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11549
6240145a
GM
115502011-07-13 Glenn Morris <rgm@gnu.org>
11551
11552 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11553 (dired-insert-directory): Give a message the first time
11554 if ls is found not to support --dired.
11555
1d8c2ccc
LMI
115562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11557
11558 * simple.el (toggle-truncate-lines): Clarify what is toggled
11559 (bug#5580). Text by Drew Adams.
11560
5fc4038e
CY
115612011-07-13 Chong Yidong <cyd@stupidchicken.com>
11562
11563 * simple.el (blink-matching-open): Make the error message from the
11564 last change less verbose.
11565
bf6012e5
DN
115662011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11567
11568 * font-lock.el (font-lock-comment-face): Use the high contrast
11569 "yellow" color for font-lock-comment-face on low color terminals
11570 using a dark background color (bug#4221).
11571
343c3b5a
LMI
115722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11573
7e9505c5
LMI
11574 * dired.el (dired-insert-set-properties): Make the doc string
11575 reflect what it does now (bug#5325).
11576
c26fdcf5
LMI
11577 * simple.el (blink-matching-open): Say that we were unable to find
11578 the match within the limit, if we're limited (bug#5122).
11579
bb388cc5
LMI
11580 * international/mule-cmds.el (prefer-coding-system): Add an
11581 example (bug#4869).
11582
343c3b5a
LMI
11583 * progmodes/etags.el (tags-search): Document `file-list-form'
11584 (bug#4731).
11585
2a517d45
LM
115862011-07-13 Lawrence Mitchell <wence@gmx.li>
11587
11588 * net/browse-url.el (browse-url-default-browser)
11589 (browse-url-browser-function): Make the default browser choice a
11590 bit more logical (bug#4300). Also clean up the doc string.
11591
b6c78ef2
JB
115922011-07-13 Juanma Barranquero <lekktu@gmail.com>
11593
11594 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11595 binary endings (bug#4440).
11596
1c4dd947
LMI
115972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11598
a2014063
LMI
11599 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11600 which can be pretty annoying (bug#8971).
11601
9c9c2d88
LMI
11602 * jka-compr.el (jka-compr-verbose): New variable, and use
11603 throughout (bug#8971).
11604
1c4dd947
LMI
11605 * info.el (Info-find-file): Fall back on the installation
11606 directory if we can't find the info node anywhere else.
11607
a1c9f41b
SO
116082011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11609
11610 * vc/vc.el (vc-revert-file):
11611 Don't set file time-stamp in the past. (Bug#5181)
11612
536f3d36
LMI
116132011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11614
7152b011
LMI
11615 * files.el (after-find-file): Give a better error message when
11616 trying to find a symlink that points to a file that doesn't exist
11617 (bug#4398).
11618
536f3d36
LMI
11619 * progmodes/cc-vars.el: Remove (probably) misleading comment
11620 (bug#4396).
11621
460c0fba
JB
116222011-07-12 Johan Bockgård <bojohan@gnu.org>
11623
11624 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11625
7a6bda45
CY
116262011-07-12 Chong Yidong <cyd@stupidchicken.com>
11627
11628 * mouse-sel.el: Hack restoring functionality, while keeping
11629 compatibility with 2010-07-03 changes to mouse selection.
11630 (mouse-sel-primary-overlay): New var.
11631 (mouse-sel-selection-alist): Use it.
11632 (mouse-sel-mode): Doc fix; remove points that are default features
11633 of mouse.el.
11634
c79598ef
JB
116352011-07-12 Johan Bockgård <bojohan@gnu.org>
11636
11637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11638 Fix previous fix (bug#2490).
11639
ff8be6ef
RW
116402011-07-12 Roland Winkler <winkler@gnu.org>
11641
b796c9b7
SM
11642 * textmodes/bibtex.el (bibtex-initialize):
11643 Use pop-to-buffer-same-window.
ff8be6ef
RW
11644 (bibtex-search-entries): Fix interactive call.
11645
296ba3ee
LMI
116462011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11647
f5242a02 11648 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11649 Fontise bytecomp Error lines more correctly (bug#2490).
11650 Fix suggested by Johan Bockgård.
f5242a02 11651
296ba3ee
LMI
11652 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11653
11654 * dired-x.el (dired-guess-default): Use `delete-dups'.
11655
f69fd0d2
CY
116562011-07-12 Chong Yidong <cyd@stupidchicken.com>
11657
11658 * dired.el (dired-mark-prompt):
11659 * dired-aux.el (dired-read-shell-command): Doc fix.
11660
eab5dc07
LMI
116612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11662
b796c9b7
SM
11663 * mail/sendmail.el (sendmail-query-once):
11664 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11665 emacs -Q.
11666
11667 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11668
eab5dc07
LMI
11669 * cus-edit.el (custom-file): Take an optional no-error variable.
11670 (customize-save-variable): Set the variable, and give a warning if
11671 running under "emacs -q".
11672
a1e65d42
JB
116732011-07-11 Juanma Barranquero <lekktu@gmail.com>
11674
11675 * loadhist.el (unload-feature-special-hooks):
11676 Add `auto-coding-functions', `fill-nobreak-predicate' and
11677 `find-directory-functions' (bug#5327).
11678
1d52da10
LMI
116792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11680
be958f1d
LMI
11681 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11682
5bedb26c
LMI
11683 * cus-edit.el (custom-guess-name-alist): -alist variables should
11684 use the `alist' type (bug#3120). Suggested by Drew Adams.
11685
1d52da10
LMI
11686 * printing.el: Add documentation to all the `pr-toggle-' commands.
11687
cd394be1 116882011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11689
11690 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11691 backends where it makes sense (bug#2623).
11692
dcc88d8a
LMI
116932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11694
c3de9feb
LMI
11695 * dired-x.el (dired-guess-default): Remove duplicate shell command
11696 entries (bug#2028).
8a93078b 11697 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11698 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11699
dcc88d8a
LMI
11700 * subr.el (remove-duplicates): New conveniency function.
11701
505e3645
LMI
117022011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11703
11704 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11705 (bug#1526).
11706
117072011-07-10 Martin Rudalics <rudalics@gmx.at>
11708
11709 * window.el (display-buffer-normalize-default): Don't invert
11710 meaning of even-window-heights. Reported by Eli Zaretskii
11711 <eliz@gnu.org>.
11712
455e4fa1
BR
117132011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11714
11715 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11716
8e0bc3e9
CY
117172011-07-10 Chong Yidong <cyd@stupidchicken.com>
11718
11719 * window.el (display-buffer): Fix arguments to
11720 display-buffer-reuse-window in last change.
11721
fa7c3228
CY
11722 * faces.el (link): Use a less saturated blue on light backgrounds.
11723
11724 * startup.el (fancy-startup-text, fancy-about-text)
11725 (fancy-startup-tail): Use font-lock faces, for background safety.
11726
c0a7f300
BN
117272011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11728
b796c9b7
SM
11729 * emulation/viper-cmd.el (viper-change-state-to-vi):
11730 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11731
4dc2a129
MR
117322011-07-09 Martin Rudalics <rudalics@gmx.at>
11733
11734 * window.el (display-buffer-default-specifiers): Remove.
11735 (display-buffer-macro-specifiers): Remove default specifiers.
11736 (display-buffer-alist): Default to nil.
b796c9b7 11737 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11738 (display-buffer-pop-up-window): Allow splitting internal
11739 windows. Check whether a live window was created.
11740 (display-buffer-other-window-means-other-frame)
11741 (display-buffer-normalize-arguments): Rename to
11742 display-buffer-normalize-argument and rewrite. Set the
11743 other-window specifier.
11744 (display-buffer-normalize-special): New function.
11745 (display-buffer-normalize-options): Rename to
11746 display-buffer-normalize-default and rewrite.
11747 (display-buffer-normalize-options-inhibit): Remove.
11748 (display-buffer-normalize-specifiers): Rewrite.
11749 (display-buffer): Process other-window specifier and call
11750 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11751 more faithfully.
b796c9b7 11752 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11753 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11754 (display-buffer-in-window, display-buffer-alist-set):
11755 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11756 <tassilo@member.fsf.org>.
11757
2d43b8c9
LL
117582011-07-09 Leo Liu <sdl.web@gmail.com>
11759
11760 * register.el (insert-register): Restore accidental change on
11761 2011-06-26. (Bug#9028)
11762
7f9b7c53
GM
117632011-07-09 Glenn Morris <rgm@gnu.org>
11764
11765 * subr.el (remq): Handle the empty list. (Bug#9024)
11766
f042cfd8
AS
117672011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11768
11769 * mail/sendmail.el (send-mail-function): No longer delay custom
11770 initialization.
11771 * custom.el (custom-initialize-delay): Doc fix.
11772
856b2f11
SM
117732011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11776
afae1d68
MA
117772011-07-08 Michael Albinus <michael.albinus@gmx.de>
11778
11779 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11780 human-friendly prompt.
11781
0757af94
SM
117822011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11785 provided by a particular plugin.
11786
d760b731
LMI
117872011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788
11789 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11790 save customizations (with "emacs -Q"), just set the variable
11791 instead of erroring out.
11792
11793 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11794
cd79ce90
JL
117952011-07-08 Juri Linkov <juri@jurta.org>
11796
11797 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11798 (archive-zip-update-case): Use 7z if found by `executable-find'.
11799 The order of searching the available programs is the same as in
11800 `archive-zip-extract' (bug#8968).
11801
14cc04aa
CY
118022011-07-07 Chong Yidong <cyd@stupidchicken.com>
11803
11804 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11805 (menu-bar-options-menu): Tweak descriptions.
11806
0a1848ec
LMI
118072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11808
11809 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11810 menu items into verb phrases (bug#1421). Also refill to fit under
11811 80 columns.
11812
f5bd0689
CY
118132011-07-07 Chong Yidong <cyd@stupidchicken.com>
11814
538e85c6
CY
11815 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11816 (Info-read-node-name): Doc fix (Bug#1084).
11817
f5bd0689
CY
11818 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11819 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11820 (end-of-sexp, beginning-of-sexp)
11821 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11822 (forward-symbol, forward-same-syntax, word-at-point)
11823 (sentence-at-point): Doc fix (Bug#1144).
11824
56ec5115
LMI
118252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11826
f3f8e37f
LMI
11827 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11828 should cover it (bug#1281).
11829
0757af94 11830 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11831
e9fce1ac 11832 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11833 negotiation fails, then possibly try again with a non-encrypted
11834 connection (bug#9017).
11835
56ec5115
LMI
11836 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11837 be used.
11838
c2f9aec8
RS
118392011-07-07 Richard Stallman <rms@gnu.org>
11840
11841 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11842 property, and handle its changed format.
11843 Look for the correct line number.
11844 Use file's line contents (but not past first =) to find
11845 correct line in message.
11846
ef7b981d 118472011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11848
11849 * international/characters.el (build-unicode-category-table):
11850 Delete it.
0757af94 11851 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11852
0757af94 11853 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11854 to src/chartab.c.
11855 (get-char-code-property): Call unicode-property-table-internal to
11856 load a file. Call get-unicode-property-internal where necessary.
11857 (put-char-code-property): Call unicode-property-table-internal to
11858 load a file. Call put-unicode-property-internal where necessary.
11859 put-unicode-property-internal where necessary.
0757af94
SM
11860 (char-code-property-description):
11861 Call unicode-property-table-internal to load a file.
c805dec0
KH
11862
11863 * international/charprop.el:
11864 * international/uni-bidi.el:
11865 * international/uni-category.el:
11866 * international/uni-combining.el:
11867 * international/uni-comment.el:
11868 * international/uni-decimal.el:
11869 * international/uni-decomposition.el:
11870 * international/uni-digit.el:
11871 * international/uni-lowercase.el:
11872 * international/uni-mirrored.el:
11873 * international/uni-name.el:
11874 * international/uni-numeric.el:
11875 * international/uni-old-name.el:
11876 * international/uni-titlecase.el:
11877 * international/uni-uppercase.el: Regenerate.
11878
11879 * loadup.el: Load international/charprop.el before
11880 international/characters.
11881
e14b388a
CY
118822011-07-07 Chong Yidong <cyd@stupidchicken.com>
11883
11884 * window.el (next-buffer, previous-buffer): Signal an error if
11885 called from a minibuffer window.
11886
11887 * bindings.el: Revert 2011-07-04 change.
11888
354cf0ba
RS
118892011-07-06 Richard Stallman <rms@gnu.org>
11890
11891 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11892 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11893 Treat markers like ints.
11894 (rmail-mime-entity): Doc fix.
11895
a48868a7
LMI
118962011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11897
4906cd3d
LMI
11898 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11899 defcustom again for backwards compatibility.
11900
e0457abe
LMI
11901 * simple.el (shell-command-on-region): Fill.
11902
d67f7e1f
LMI
11903 * dired-aux.el (dired-kill-line): Add a doc string.
11904
fe204702
LMI
11905 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11906 to "\\sw\\|\\s_" (bug#358).
11907
a48868a7
LMI
11908 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11909 (dired-unmark-backward): Ditto.
11910 (dired-flag-backup-files): Ditto.
11911
11912 * dired-x.el (dired-mark-sexp): Ditto.
11913
aa8a705c
RS
119142011-07-06 Richard Stallman <rms@gnu.org>
11915
11916 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11917 (rmail-mime-entity): New arg TRUNCATED.
11918 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11919 New functions.
11920 (rmail-mime-save): Warn if entity is truncated.
11921 (rmail-mime-toggle-hidden): Likewise, for showing.
11922 (rmail-mime-process-multipart): Record when an entity is truncated.
11923
a9a936b9
RS
11924 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11925 if ENTITY is a string.
11926
1f2b92cb
LMI
119272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11928
f4f73198 11929 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11930 of faces when `M-C-x'-ing their definitions (bug#8378).
11931 Also clean up the code slightly.
f4f73198 11932
12b16734 11933 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11934 because that makes the colors go away.
12b16734 11935
f0691d22
LMI
11936 * mail/sendmail.el (send-mail-function): Change the default to
11937 `sendmail-query-once'.
9e87df06 11938 (sendmail-query-once): Add an autoload cookie.
f0691d22 11939
1f2b92cb
LMI
11940 * net/network-stream.el (network-stream-open-starttls): Try using
11941 a plain connection even if the server offered STARTTLS, and we
11942 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11943 capability. This should make smtpmail.el work in slightly more
11944 configurations.
11945
1cdd2a1b
MA
119462011-07-06 Michael Albinus <michael.albinus@gmx.de>
11947
11948 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11949 New defun.
11950 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11951
fbcc67e2
MM
119522011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11953
11954 * progmodes/sql.el: Version 3.0
0757af94 11955 (sql-product-alist): Add product :completion-object,
fbcc67e2 11956 :completion-column, and :statement attributes.
0757af94 11957 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11958 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11959 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11960 ansi keywords.
11961 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11962 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11963 (sql-oracle-show-reserved-words): New function for development.
11964 (sql-product-font-lock): Simplify for source code buffers.
11965 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11966 New functions.
11967 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11968 (sql-mode-map): Add statement movement functions.
11969 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11970 New variable.
fbcc67e2
MM
11971 (sql-statement-regexp, sql-beginning-of-statement)
11972 (sql-end-of-statement, sql-signum): New functions.
0757af94 11973 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11974 (sql-show-sqli-buffer): Bug fix.
11975 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11976 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11977 with sql-interactive-mode.
11978 (sql-save-connection): Save buffer local settings.
0757af94 11979 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11980 (sql-product-interactive): Bug fix.
11981 (sql-preoutput-hold): New variable.
11982 (sql-interactive-remove-continuation-prompt): Bug fixes.
11983 (sql-debug-redirect): New variable.
11984 (sql-str-literal): New function.
11985 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11986 Redesign.
fbcc67e2
MM
11987 (sql-oracle-save-settings, sql-oracle-restore-settings)
11988 (sql-oracle-list-all, sql-oracle-list-table): New functions.
11989 (sql-completion-object, sql-completion-column)
11990 (sql-completion-sqlbuf): New variables.
11991 (sql-build-completions-1, sql-build-completions)
11992 (sql-try-completion): New functions.
11993 (sql-read-table-name): Use them.
11994 (sql-contains-names): New buffer local variable.
11995 (sql-list-all, sql-list-table): Use it.
11996 (sql-oracle-completion-types): New variable.
11997 (sql-oracle-completion-object, sql-sqlite-completion-object)
11998 (sql-postgres-completion-object): New functions.
11999
d4eaeab1
GM
120002011-07-06 Glenn Morris <rgm@gnu.org>
12001
12002 * window.el (pop-to-buffer): Doc fix.
12003
322b7dab 120042011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12005
12006 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12007
322b7dab 120082011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12009
322b7dab 12010 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12011
322b7dab 12012 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12013
605dd5bf
CY
120142011-07-05 Chong Yidong <cyd@stupidchicken.com>
12015
12016 * button.el (button): Inherit from link face. Suggested by Dan
12017 Nicolaescu.
12018
7dbfa719
SM
120192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12020
3db614b0
SM
12021 * progmodes/gdb-mi.el: Fit in 80 columns.
12022 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12023 switch-to-buffer.
12024
7dbfa719
SM
12025 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12026 if imenu is simply not configured (bug#8941).
12027
919d884a
KM
120282011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12029
12030 * allout.el (allout-post-undo-hook): New allout outline-change
12031 event hook to signal undo activity.
12032 (allout-post-command-business): Run allout-post-undo-hook if an
12033 undo just occurred.
7dbfa719
SM
12034 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12035 * allout-widgets.el (allout-widgets-after-undo-function):
12036 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12037 in the vicinity of an undo.
12038 (allout-widgets-mode): Include allout-widgets-after-undo-function
12039 on the new allout-post-undo-hook.
12040
450a0f09
SM
120412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12044 Let define-derived-mode define it.
12045 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12046 cycles of abbrev-table inheritance (bug#8998).
12047
2de69e00
RW
120482011-07-05 Roland Winkler <winkler@gnu.org>
12049
12050 * textmodes/bibtex.el: Add support for biblatex.
12051 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12052 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12053 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12054 (bibtex-entry-alist, bibtex-field-alist): New variables.
12055 (bibtex-entry-field-alist): Obsolete alias for
12056 bibtex-BibTeX-entry-alist.
12057 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12058 (bibtex-set-dialect): New command.
12059 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12060 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12061 Bind via bibtex-set-dialect.
2de69e00
RW
12062 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12063 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12064 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12065 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12066 Define via bibtex-set-dialect.
450a0f09
SM
12067 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12068 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12069 (bibtex-vec-push, bibtex-vec-incr): New functions.
12070 (bibtex-format-entry, bibtex-field-list)
12071 (bibtex-print-help-message, bibtex-validate)
12072 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12073
2dcdbdd9
SM
120742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12075
12076 * progmodes/compile.el (compilation-goto-locus):
12077 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12078 * bs.el (bs-cycle-next, bs-cycle-previous):
12079 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12080 * bindings.el (mode-line-other-buffer):
12081 * autoinsert.el (auto-insert):
12082 * arc-mode.el (archive-extract):
12083 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12084
b27640fe
JB
120852011-07-05 Juanma Barranquero <lekktu@gmail.com>
12086
12087 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12088 Fix check of `emacs-lock-unlockable-modes'.
12089 Coerce true values of `emacs-lock--try-unlocking' to t.
12090
53bbe3ad
JB
120912011-07-05 Juanma Barranquero <lekktu@gmail.com>
12092
12093 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12094 * emacs-lock.el: New file.
12095
1d3cdbc7
JD
120962011-07-05 Julien Danjou <julien@danjou.info>
12097
12098 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12099 than `boundp' to check if face is set.
12100
9173deec
JB
121012011-07-05 Juanma Barranquero <lekktu@gmail.com>
12102
12103 * register.el (registerv-make):
12104 * window.el (window-min-height): Fix typos in docstrings.
12105
869795d6
JD
121062011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12107
9173deec 12108 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12109 Update doc string.
12110
b768cdcd
JB
121112011-07-04 Juanma Barranquero <lekktu@gmail.com>
12112
12113 * server.el (server-execute): Catch quit and call
12114 `server-return-error' to pass the error back to emacsclient and
12115 close the connection (bug#8942).
12116
13aa217b
KM
121172011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12118
12119 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12120 insecure exception for current topic. Also note that auto-saves
12121 are handled differently.
12122
5d3385a0 12123 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12124 State variables for tracking auto-save inhibition situation.
12125
12126 (allout-write-contents-hook-handler): Rename from
12127 'allout-write-file-hook-handler', and describe how it depends on
12128 write-contents-functions sensitivity to non-nil value to prevent
12129 file write.
12130
12131 (allout-auto-save-hook-handler): Remove. auto-save does not check
12132 this in individual buffers, only in the starting buffer, so this
12133 is not the right way for us to inhibit auto-save in a buffer
12134 according to its condition.
12135
12136 (allout-mode): Use new allout-write-contents-hook-handler, and
12137 only with write-contents-functions. Remove auto-save provisions -
12138 they're implemented elsewhere.
12139
12140 (allout-before-change-handler): If undo is in progress, note that
12141 for attention of allout-post-command-business.
12142
12143 (allout-post-command-business): If the command we're following was
12144 an undo, check for change in the status of encrypted items and
12145 adjust auto-save inhibitions accordingly.
12146
12147 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12148 according to whether there are or aren't any plain-text topics
12149 pending encryption.
12150
2dcdbdd9 12151 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12152 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12153 if there are plain-text topics pending encryption.
13aa217b
KM
12154
12155 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12156 buffer-saved-size and some allout state to not inhibit auto-saves
12157 if there are no longer any plain-text topics pending encryption.
12158
0757af94
SM
12159 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12160 No longer provide for exemption of the current topic.
13aa217b 12161
ac89b32c
JL
121622011-07-04 Juri Linkov <juri@jurta.org>
12163
12164 Add 7z operations to delete and save changed members (bug#8968).
12165 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12166 New defcustoms.
12167 (archive-7z-write-file-member): New function.
12168 (archive-7z-summarize): Fix the number of dashes in the
12169 listing output.
12170
8fa39615
SM
121712011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12172
12173 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12174 (bug#8958).
12175
2f11b3f1
CY
121762011-07-04 Chong Yidong <cyd@stupidchicken.com>
12177
d66fef2b
CY
12178 * bindings.el: Ignore next-buffer and previous-buffer in
12179 minibuffer-local-map.
12180
2f11b3f1
CY
12181 * font-lock.el (font-lock-builtin-face): Change light background
12182 color to dark slate blue (Bug#6693).
12183
f932a347
WD
121842011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12185
12186 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12187
c8af70e1
SM
121882011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12189
12190 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12191 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12192 Add switch-to-buffer.
12193
f158badc
LMI
121942011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12195
12196 * isearch.el (isearch-search-fun-function): Clarify further the
12197 meaning of the function returned.
12198
6d95bd46
MA
121992011-07-04 Michael Albinus <michael.albinus@gmx.de>
12200
12201 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12202
12203 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12204 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12205 Use it.
12206 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12207 `tramp-default-remote-path' does not exist.
12208 (tramp-send-command-and-read): New optional argument NOERROR.
12209 (tramp-open-connection-setup-interactive-shell)
12210 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12211 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12212 (tramp-process-sentinel): Flush also process' connection property.
12213 (tramp-sh-handle-start-file-process): Do not set process
12214 sentinel. It is done now ...
12215 (tramp-maybe-open-connection): ... here. (Bug#8929)
12216
909e6b67
MK
122172011-07-04 MON KEY <monkey@sandpframing.com>
12218
12219 * play/animate.el (animate-string): Doc fixes and allow changing
12220 the buffer name (bug#5417).
12221
122222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12223
c8af70e1 12224 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12225
f34755dc
PE
122262011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12227
396cec72
PE
12228 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12229 This is simpler and helps future-proof the code.
12230 (timer-until): Use time-subtract and float-time.
08235028 12231 (timer--time-less-p): Use time-less-p.
f34755dc 12232
56e6cc31
JB
122332011-07-04 Juanma Barranquero <lekktu@gmail.com>
12234
3abb79e5
JB
12235 * type-break.el (timep): Use the value of `float-time' to avoid a
12236 byte-compiler warning.
12237
56e6cc31
JB
12238 * server.el (server-eval-and-print): Return any result, even nil.
12239
7b9430b4
PE
122402011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12241
12242 * type-break.el: Accept time formats that the builtins accept.
12243 (timep, type-break-time-difference): Accept any format that
12244 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12245 This is simpler and helps future-proof the code.
12246 (type-break-time-difference): Round rather than ignoring
12247 subseconds components.
12248
3034e9e7
LMI
122492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12250
12251 * info.el (Info-apropos-matches): Make non-interactive, since it
12252 doesn't seem to do anything useful as a command (bug#8829).
12253
1485f4c0
CY
122542011-07-03 Chong Yidong <cyd@stupidchicken.com>
12255
12256 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12257 Move from faces.el.
1485f4c0
CY
12258 (frame-default-terminal-background): New function.
12259
12260 * custom.el (custom-push-theme): Don't record faces in `changed'
12261 theme; this doesn't work correctly for per-frame face settings.
12262 (disable-theme): Use face-set-after-frame-default to reset faces.
12263 (custom--frame-color-default): New function.
12264
9fa3dd45
LMI
122652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12266
c8af70e1 12267 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12268 (bug#8769).
12269
6cbbc20c
KR
122702011-03-29 Kevin Ryde <user42@zip.com.au>
12271
12272 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12273 `perl-Test2' extend to match possible "fail #N" rep count
12274 (bug#8377).
12275
c7f98048
LMI
122762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12277
65676592
LMI
12278 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12279 `smtpmail-via-smtp' now returns the error instead of nil.
12280
c7f98048
LMI
12281 * isearch.el (isearch-search-fun-function): Clarify the doc string
12282 (bug#8101).
12283
56e6cc31 122842011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12285
12286 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12287 unnecessary spaces (bug#8987).
12288
2b216704
LMI
122892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12290
12291 * net/network-stream.el (open-network-stream): Use the
12292 :end-of-capability command thoughout.
12293
122942011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12295
12296 * net/network-stream.el (open-network-stream): Add the
12297 :end-of-capability command parameter, used by pop3.el.
12298
36adf6ce
LMI
122992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12300
1ca0da0e
LMI
12301 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12302
fc00f69c
LMI
12303 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12304 for list)" (bug#6475).
12305
28fd8759 12306 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12307 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12308 an error (bug#6297).
12309
0dd8b6da
LMI
12310 * man.el (Man-reference-regexp): Allow matching possible
12311 word-wrapped references (bug#6289).
12312
ce1438d6
LMI
12313 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12314 for consistency with the other vc buffers (bug#6197).
12315 (vc-checkin): Ditto.
12316
12317 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12318
36adf6ce
LMI
12319 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12320
e83cc1f7
LMI
123212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12322
8a20ca4c
LMI
12323 * custom.el (defcustom): Clarify that :set is only used in the
12324 Customize user interface (bug#6089).
12325
83319045
LMI
12326 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12327 associated with a file, refuse to run instead of erroring out
12328 (bug#6084).
12329
a8392169
LMI
12330 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12331 the doc string, since it appears that using `fill-column' always
12332 controls the width (bug#7845).
12333
e83cc1f7
LMI
12334 * simple.el (shell-command-on-region): Say where the error output
12335 went if `shell-command-default-error-buffer' is set (bug#6857).
12336
e47ca23b
KM
123372011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12338
12339 * allout.el (allout-yank-processing): Adjust cursor position for
12340 backwards-deleted space.
12341
12342 (allout-rebullet-heading): Register changes with
12343 allout-exposure-changed-hook, so the modified topic is properly
12344 decorated.
12345
5cf56143
LMI
123462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12347
08549772
LMI
12348 * minibuffer.el (completion-in-region): Document PREDICATE
12349 (bug#7136).
12350
48e96771
LMI
12351 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12352 of keyword/argument pairs (bug#6904).
12353
c8af70e1
SM
12354 * replace.el (multi-occur):
12355 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12356
e17d05e2
LMI
123572011-07-02 Drew Adams <drew.adams@oracle.com>
12358
12359 * dired.el (dired-mark-if): Make the message about whether it's
12360 marking or unmarking clearer (bug#8523).
12361
063b0e45
LMI
123622011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12363
12364 * disp-table.el (display-table-print-array): New function.
12365 (describe-display-table): Use it to print the vectors more pretty
12366 (Bug#8859).
12367
28545e04
MR
123682011-07-02 Martin Rudalics <rudalics@gmx.at>
12369
12370 * window.el (window-state-get-1): Don't assign clone numbers.
12371 Add clone-of item to list of window parameters.
12372 (window-state-put-2): Don't process clone numbers.
12373 (display-buffer-alist): Fix doc-string.
12374
3349e122
SM
123752011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * subr.el (remq): Don't allocate if it's not needed.
12378 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12379 (keymap--merge-bindings): New functions.
12380 (keymap-canonicalize): Use them to refine the canonicalization.
12381 * minibuffer.el (minibuffer-local-completion-map)
12382 (minibuffer-local-must-match-map): Move initialization from C.
12383 (minibuffer-local-filename-completion-map): Move initialization from C;
12384 don't inherit from anything here.
12385 (minibuffer-local-filename-must-match-map): Make obsolete.
12386 (completing-read-default): Use make-composed-keymap to combine
12387 minibuffer-local-filename-completion-map with either
12388 minibuffer-local-must-match-map or
12389 minibuffer-local-filename-completion-map.
12390
d224ac83
GM
123912011-07-01 Glenn Morris <rgm@gnu.org>
12392
3de63bf8
GM
12393 * type-break.el (type-break-time-sum): Use dolist.
12394
d224ac83
GM
12395 * textmodes/flyspell.el (flyspell-word-search-backward):
12396 Replace CL function.
12397
1a1e3f32
SM
123982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12399
fe3f64d5
SM
12400 * mouse.el (mouse--strip-first-event): New function.
12401 (function-key-map): Use it to map fringe clicks to normal clicks
12402 by default.
12403
eb604e34
SM
12404 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12405 (vc-bzr-revision-completion-table): Add support for annotate and date.
12406
1a1e3f32
SM
12407 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12408 inherit from parent.
12409
5bd35902
LMI
124102011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12411
ace6c69c 12412 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12413 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12414
191e2bed
LMI
12415 * dired.el (dired-mode): Fix up the doc string as suggested by
12416 Drew Adams (bug#8817).
12417
5bd35902
LMI
12418 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12419 cookie, since the manual says that it should be possible to add
12420 this function to `find-file-hook' (bug#8709).
12421
eee8207a
TZ
124222011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12423
12424 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12425 here. Noted Ted Zlatanov as the maintainer.
12426 (cfengine-common-settings, cfengine-common-syntax): New functions
12427 to set up common things between `cfengine-mode' and
12428 `cfengine3-mode'.
12429 (cfengine3-mode): New mode.
12430 (cfengine3-defuns cfengine3-defuns-regex
12431 (cfengine3-class-selector-regex cfengine3-category-regex)
12432 (cfengine3-vartypes cfengine3-font-lock-keywords)
12433 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12434 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12435
36b148cf
MA
124362011-07-01 Michael Albinus <michael.albinus@gmx.de>
12437
12438 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12439
12440 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12441
0bf4ba9a
MR
124422011-07-01 Martin Rudalics <rudalics@gmx.at>
12443
12444 * window.el (same-window-buffer-names, same-window-regexps)
12445 (same-window-p, special-display-frame-alist)
12446 (special-display-popup-frame, special-display-function)
12447 (special-display-buffer-names, special-display-regexps)
12448 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12449 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12450 (split-window-preferred-function, split-height-threshold)
12451 (split-width-threshold, even-window-heights)
12452 (display-buffer-mark-dedicated, window-splittable-p)
12453 (split-window-sensibly, window-safely-shrinkable-p):
12454 Un-obsolete.
12455 (display-buffer): Don't spread args with function specifier
12456 because special-display-popup-frame won't like it.
12457
35837f51
PE
124582011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12459
d0672f86
PE
12460 Time-stamp simplifications and fixes.
12461 These improve accuracy slightly, and future-proof the code
12462 against some potential changes to current-time format.
12463
b9444d97
PE
12464 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12465 by using time-since and float-time.
12466
0ef923dc
PE
12467 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12468 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12469 + NNN microseconds".
12470
2f81380d
PE
12471 * type-break.el (type-break-time-sum): Rewrite using time-add.
12472
845b5c3e
PE
12473 * play/hanoi.el (hanoi-current-time-float): Remove.
12474 All uses replaced by float-time.
12475
ee6f1be0
PE
12476 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12477 This yields a more-accurate answer.
12478 (rng-time-to-float): Remove; no longer needed.
12479
fe955043
PE
12480 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12481
5777162a
PE
12482 * calendar/timeclock.el (timeclock-seconds-to-time):
12483 Defalias to seconds-to-time, since they're the same thing.
12484
3103f8b6 12485 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12486 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12487 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12488
0e61a35f
SM
124892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12490
12491 * window.el (bury-buffer): Don't iconify the only frame.
12492 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12493 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12494
ddd63a1e
CY
124952011-07-01 Chong Yidong <cyd@stupidchicken.com>
12496
0e61a35f
SM
12497 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12498 Add mouse-yank-primary.
ddd63a1e 12499
055f4923
TZ
125002011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12501
12502 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12503
6a2fb145
SM
125042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12507 (find-library-name): Use it to find relative load names when provided
12508 absolute file name (bug#8803).
12509
fd4983f2
LMI
125102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12511
887d14ad
LMI
12512 * textmodes/flyspell.el (flyspell-word): Consider words that
12513 differ only in case as potential doublons (bug#5687).
12514
c53dc7fc
LMI
12515 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12516 Remove two rather uninteresting debugging-like messages to make
12517 debbugs.el more silent.
12518
fd4983f2
LMI
12519 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12520 a password-like phrase.
12521
7a71b18d 125222011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12523
12524 * progmodes/cc-guess.el: New file.
12525
6a2fb145 12526 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12527
12528 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12529 derived from `c-basic-common-init'.
12530
12531 * progmodes/cc-mode.el (top-level): Require cc-guess.
12532 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12533
1fa280a3
LM
125342011-06-30 Lawrence Mitchell <wence@gmx.li>
12535
12536 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12537
e6597158
AM
125382011-06-30 Alan Mackenzie <acm@muc.de>
12539
1fa280a3
LM
12540 * progmodes/cc-engine.el (c-guess-continued-construct):
12541 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12542 lock is disabled. Name this case as "CASE G".
12543
68ba37fb
KM
125442011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12545
12546 * allout.el (allout-yank-processing): Fix injection of extra space
12547 between bullet and non-whitespace character in first topic when
12548 pasting, ensuring that the actual spacing in the pasted topic
12549 following the bullet char is preserved. This extra space was
12550 causing pasted encrypted topics to get a decrypted status even
12551 when the content was actually still encrypted. Now the decryption
12552 status from before the paste is preserved.
12553
12554 (allout-flag-region): Set all allout overlays so they evaporate
12555 when reduced to zero length (evanescent), to prevent overlay
12556 leakage.
12557
887a0b34
GM
125582011-06-30 Glenn Morris <rgm@gnu.org>
12559
94b9acce
GM
12560 * w32-fns.el (w32-charset-info-alist): Declare.
12561
1d9b46d4
GM
12562 * find-dired.el (find-grep-options): Simplify.
12563
cc232200
GM
12564 * term/ns-win.el (ns-set-resource): Declare.
12565
28e77c46
GM
12566 * ses.el (row, col): Declare dynamic variables honestly.
12567
887a0b34
GM
12568 * textmodes/reftex-parse.el (index-tags): Declare.
12569
658d8eb8
CY
125702011-06-30 Chong Yidong <cyd@stupidchicken.com>
12571
12572 * cus-edit.el (customize-push-and-save): New function.
12573
12574 * files.el (hack-local-variables-confirm): Use it.
12575
1fa280a3
LM
12576 * custom.el (load-theme): New arg NO-CONFIRM.
12577 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12578 (custom-enabled-themes): Doc fix.
12579
12580 * cus-theme.el (customize-create-theme)
12581 (custom-theme-merge-theme): Callers to load-theme changed.
12582
bb617717
LMI
125832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12584
d61bdd5d
LMI
12585 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12586 short URLs have at least one dot in them (bug #7614).
12587
bb617717
LMI
12588 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12589 nil, because using a pty is apparently too slow (bug #895).
12590
2f31f37a
LMI
125912011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12592
12593 * mail/sendmail.el (sendmail-query-once): New function.
12594 (sendmail-query-once-function): New variable.
12595
3076b24e
GM
125962011-06-29 Glenn Morris <rgm@gnu.org>
12597
faf2a174
GM
12598 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12599
3076b24e
GM
12600 * ses.el (top-level): Require cl when compiling.
12601 (ses-set-localvars): Fix error statement.
12602 Call it at compile time to silence a storm of warnings.
12603
5386012d
MR
126042011-06-29 Martin Rudalics <rudalics@gmx.at>
12605
12606 * window.el (normalize-live-buffer): Rename to
12607 window-normalize-buffer.
12608 (normalize-live-frame): Rename to window-normalize-frame.
12609 (normalize-any-window): Rename to window-normalize-any-window.
12610 (normalize-live-window): Rename to window-normalize-live-window.
12611 (make-window-atom): Rename to window-make-atom.
12612 (window-resize-reset): Rename to window--resize-reset.
12613 (window-resize-reset-1): Rename to window--resize-reset-1.
12614 (resize-mini-window): Rename to window--resize-mini-window.
12615 (resize-subwindows-skip-p): Rename to
12616 window--resize-subwindows-skip-p.
12617 (resize-subwindows-normal): Rename to
12618 window--resize-subwindows-normal.
12619 (resize-subwindows): Rename to window--resize-subwindows.
12620 (resize-other-windows): Rename to window--resize-siblings.
12621 (resize-this-window): Rename to window--resize-this-window.
12622 (resize-root-window): Rename to window--resize-root-window.
12623 (resize-root-window-vertically): Rename to
12624 window--resize-root-window-vertically.
12625 (normalize-buffer-to-display): Rename to
12626 window-normalize-buffer-to-display.
12627 (normalize-buffer-to-switch-to): Rename to
12628 window-normalize-buffer-to-switch-to.
12629 Correspondingly update all callers of the functions listed
12630 above.
12631 (display-buffer-alist, display-buffer-normalize-arguments)
12632 (display-buffer-normalize-options, display-buffer)
12633 (display-buffer-alist-set): Use "function" instead of
12634 "fun-with-args".
12635
1176868d
CY
126362011-06-28 Chong Yidong <cyd@stupidchicken.com>
12637
12638 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12639 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12640 debbugs.gnu.org. Mention acknowledgment email.
12641
20a7a65f
LMI
126422011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12643
12644 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12645 buffer multibyteness, since it shouldn't matter.
12646
5f45cca5
MR
126472011-06-28 Martin Rudalics <rudalics@gmx.at>
12648
12649 * window.el (display-buffer-in-side-window): Handle dedicated
12650 windows as in display-buffer-reuse-window.
12651 (display-buffer-normalize-alist): Use value of override
12652 specifier.
12653 (display-buffer-normalize-specifiers): Use value of
12654 other-window-means-other-frame specifier.
12655 (display-buffer-alist): Rewrite some texts in widgets.
12656 (display-buffer): Spread arguments when calling function
12657 specified by fun-with-args.
12658
ad85fe1f
DD
126592011-06-28 Deniz Dogan <deniz@dogan.se>
12660
1fa280a3
LM
12661 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12662 Unnest `let'.
da68c4c8 12663
ad85fe1f
DD
12664 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12665 selectors (Bug#5732).
ec49bd31 12666 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12667
a08cc025
JA
126682011-06-27 Jari Aalto <jari.aalto@cante.net>
12669
12670 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12671 (eshell-ls-date-format): New defcustom.
12672 (eshell-ls-file): Use it.
12673
e2b551c5
SM
126742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12677
8982b231
KY
126782011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12679
12680 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12681 (ange-ftp-make-tmp-name): New arg.
12682 (ange-ftp-file-local-copy): Use it.
12683
36c9fa27
J
126842011-06-27 Jambunathan K <kjambunathan@gmail.com>
12685
12686 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12687 no-conversion (Bug#8870).
12688
d68443dc
MR
126892011-06-27 Martin Rudalics <rudalics@gmx.at>
12690
12691 * window.el (window-right, window-left, window-child)
12692 (window-child-count, window-last-child)
12693 (window-iso-combination-p, walk-window-tree-1)
12694 (window-atom-check-1, window-tree-1, delete-window)
12695 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12696 new naming conventions - window-vchild, window-hchild,
12697 window-next and window-prev are now called window-top-child,
12698 window-left-child, window-next-sibling and window-prev-sibling
12699 respectively.
d615d6d2
MR
12700 (resize-window-reset): Rename to window-resize-reset.
12701 (resize-window-reset-1): Rename to window-resize-reset-1.
12702 (resize-window): Rename to window-resize.
12703 (window-min-height, window-min-width)
12704 (resize-mini-window, resize-this-window, resize-root-window)
12705 (resize-root-window-vertically, adjust-window-trailing-edge)
12706 (enlarge-window, shrink-window, maximize-window)
12707 (minimize-window, delete-window, quit-restore-window)
12708 (split-window, balance-windows, balance-windows-area-adjust)
12709 (balance-windows-area, window-state-put-2)
12710 (display-buffer-even-window-sizes, display-buffer-set-height)
12711 (display-buffer-set-width, set-window-text-height)
12712 (fit-window-to-buffer): Rename all "resize-window" prefixed
12713 calls to use the "window-resize" prefix convention.
12714 (display-buffer-alist): Fix symbol for label specifier.
12715 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12716 corresponding specifier.
12717 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12718
b6458526
VB
127192011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12720
12721 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12722 convention.
12723 (ses-call-printer): Does not pass an empty string to formatter when the
12724 cell is empty to keep from barking printer Calc math-format-value.
12725
d31fd9ac
RS
127262011-06-27 Richard Stallman <rms@gnu.org>
12727
43d5bf84
RS
12728 * battery.el (battery-mode-line-limit): New variable.
12729 (battery-update): Handle it.
12730
d31fd9ac
RS
12731 * mail/rmailmm.el (rmail-mime-process-multipart):
12732 Handle truncated messages.
12733
819a6054
GM
127342011-06-27 Glenn Morris <rgm@gnu.org>
12735
12736 * progmodes/flymake.el (flymake-err-line-patterns):
12737 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12738
cedc73f2
VB
127392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12740
819a6054 12741 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12742 (ses--clean-!, ses--clean-_): New functions.
12743 (ses-range): Add configurability of readout order, and conversion
12744 to Calc vector.
12745
5e5d49b6
VB
12746 * ses.el (ses-repair-cell-reference-all): New function.
12747 (ses-cell-symbol): Set macro as safe, so that it can be used in
12748 formulas.
12749
56e6cc31 12750 * ses.el: Update cycle detection algorithm.
90ca8b49 12751 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12752 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12753 (ses-set-localvars): New function.
12754 (ses-make-cell): Add property-list as a cell element.
12755 (ses-cell-property-get-fun, ses-cell-property-get)
12756 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12757 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12758 New functions.
90ca8b49
VB
12759 (ses-cell-property-set, ses-cell-property-pop)
12760 (ses-cell-property-get-handle): New macro.
12761 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12762 New aliases, used for code readability.
12763 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12764 cycle detection.
12765 (ses-self-reference-early-detection): New defcustom.
fac916bf 12766 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12767 (ses-mode): Use ses-set-localvars.
12768 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12769 before lauching the update processing.
12770 (ses-initialize-Dijkstra-attempt): New function.
12771 (ses-recalculate-cell): Update for cycle detection based on
12772 Dijkstra algorithm.
12773
2bb63e81
VB
12774 * ses.el: Fix commenting and indenting convention.
12775
c9d29fb8
SM
127762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * bs.el (bs-cycle-next): Complete last change.
12779
d8e4b68b
JB
127802011-06-27 Drew Adams <drew.adams@oracle.com>
12781
12782 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12783
40098786
LMI
127842011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12785
c9d29fb8
SM
12786 * net/network-stream.el (network-stream-open-starttls):
12787 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12788 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12789
40098786
LMI
12790 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12791 to binary to possibly avoid line encoding issues on Windows (among
12792 other things).
12793
468d09d4
LMI
127942011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12795
12796 * net/network-stream.el (open-network-stream): Return an :error
12797 saying what the problem was, if possible.
12798
12799 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12800 server.
12801
12802 * net/network-stream.el (network-stream-open-starttls): If we
12803 wanted to use STARTTLS, and the server offered it, but we weren't
12804 able to because we had no STARTTLS support, then close the connection.
12805 (open-network-stream): Return an :error element, if present.
12806
16f07dd7
CY
128072011-06-26 Chong Yidong <cyd@stupidchicken.com>
12808
88821ca0
CY
12809 * hl-line.el (hl-line-sticky-flag): Doc fix.
12810 (global-hl-line-sticky-flag): New option (Bug#8323).
12811 (global-hl-line-highlight): Obey it.
12812
16f07dd7
CY
12813 * vc/vc.el (vc-revert-show-diff): Default to t.
12814
6b5ccddf
KM
128152011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12816
c9d29fb8
SM
12817 * allout-widgets.el (allout-widgets-post-command-business):
12818 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12819 undecorated when an isearch is continued past, and isearch
12820 automatically collapses them. This leads to "widget leaks", where
12821 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12822 hidden widgets can slow down cursor travel, substantially.
12823 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12824 so we're doing without this nicety.
12825
12826 (allout-widgets-tally-string): Don't try to do a hash-table-count
12827 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12828 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12829 *Messages* when allout-widgets-maintain-tally is t.
12830
355f2e07
MR
128312011-06-26 Martin Rudalics <rudalics@gmx.at>
12832
12833 * window.el (display-buffer-normalize-argument): Rename to
12834 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12835 LABEL argument. Respect special-display-function when popping up
12836 a new frame. Fix code searching for a window showing the buffer
12837 on another frame.
c9d29fb8
SM
12838 (display-buffer-normalize-specifiers):
12839 Call display-buffer-normalize-arguments.
355f2e07
MR
12840 (display-buffer-in-window): Don't undedicate the window if its
12841 buffer remains the same.
12842 Reported by Drew Adams <drew.adams@oracle.com>.
12843 (display-buffer-alist): Add choice for same-window macro
12844 specfier.
12845 (display-buffer): Mention special meaning of LABEL argument in
12846 doc-string. Fix quoting. Don't pop up a new frame even as
12847 fallback.
12848
7ca8fc42
JB
128492011-06-26 Juanma Barranquero <lekktu@gmail.com>
12850
12851 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12852 avoid deleting the current window in some cases (bug#8911).
12853
bc312254
AS
128542011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12855
12856 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12857 (Bug#8934)
12858
2db18f3f
LMI
128592011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12860
c9d29fb8
SM
12861 * net/network-stream.el (network-stream-open-starttls):
12862 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12863 (network-stream-open-tls): Ditto.
12864
6302e0d3
LL
128652011-06-26 Leo Liu <sdl.web@gmail.com>
12866
12867 * register.el (registerv): New struct.
12868 (registerv-make): New function.
c9d29fb8
SM
12869 (jump-to-register, describe-register-1, insert-register):
12870 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12871 struct. (Bug#8415)
12872
5fdd4046
CY
128732011-06-26 Chong Yidong <cyd@stupidchicken.com>
12874
2afef60a
CY
12875 * vc/vc.el (vc-revert-show-diff): New defcustom.
12876 (vc-diff-internal): New arg specifying diff buffer.
12877 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12878 reuse an existing *vc-diff* buffer (Bug#8927).
12879
5fdd4046
CY
12880 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12881
e93db24a
GM
128822011-06-26 Glenn Morris <rgm@gnu.org>
12883
12884 * progmodes/f90.el (f90-critical-indent): New option.
12885 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12886 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12887 (f90-mode): Doc fix.
12888 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12889 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12890 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12891 (f90-match-end): Handle block, critical.
12892
eefff499
GM
128932011-06-25 Glenn Morris <rgm@gnu.org>
12894
f6ba4cc9
GM
12895 * calendar/diary-lib.el (diary-included-files): Doc fix.
12896 (diary-include-files): New function, extracted from
12897 diary-include-other-diary-files and diary-mark-included-diary-files.
12898 (diary-include-other-diary-files, diary-mark-included-diary-files):
12899 Just call diary-include-files.
12900 (diary-mark-entries): Reset diary-included-files on first call.
12901
16712304
GM
12902 * calendar/diary-lib.el (diary-mark-entries)
12903 (diary-mark-included-diary-files):
12904 Visit included diary-files in temp buffers.
12905
5d8e0d43
GM
12906 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12907 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12908 (f90-start-block-re, f90-imenu-generic-expression)
12909 (f90-looking-at-program-block-start, f90-no-block-limit):
12910 Add support for submodules.
12911
ccf7a5d5
GM
12912 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12913 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12914
11fdef7d 129152011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12916
12917 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12918 buffer-file-type before setting its value, to avoid disastrous
eefff499 12919 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12920
74f53697
JB
129212011-06-25 Juanma Barranquero <lekktu@gmail.com>
12922
12923 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12924
12925 * ses.el (ses-unload-function):
12926 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12927
12928 * proced.el (proced-unload-function):
12929 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12930
18a4ce5e
AR
129312011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12932
12933 * server.el (server-create-window-system-frame): Add parameters arg.
12934 (server-process-filter): Doc fix. Handle frame-parameters.
12935
519d22cc
JB
129362011-06-25 Juanma Barranquero <lekktu@gmail.com>
12937
12938 Fix bug#8730, bug#8781.
12939
12940 * loadhist.el (unload--set-major-mode): New function.
12941 (unload-feature): Use it.
12942
12943 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12944 (python-unload-function): New function.
12945
c206f5b0
SM
129462011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12949
f9ad64f3
GS
129502011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12951
12952 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12953 the candidates list.
12954
7d0da90e
JB
129552011-06-24 Juanma Barranquero <lekktu@gmail.com>
12956
12957 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12958
14b4e83d
RS
129592011-06-23 Richard Stallman <rms@gnu.org>
12960
12961 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12962 (rmail-variables): Set next-error-move-function.
12963 (rmail-what-message): Take argument POS.
12964 (rmail-next-error-move): New function.
12965
273d2baf
SM
129662011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12969 messages for adjacent non-terminals.
12970
56c2cc9a
RS
129712011-06-23 Richard Stallman <rms@gnu.org>
12972
12973 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12974 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12975 (rmail-start-mail): Don't specify use of rmail-mail-return;
12976 that's done by mail-bury now.
12977 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12978
d59eb518
MA
129792011-06-23 Michael Albinus <michael.albinus@gmx.de>
12980
12981 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12982 SIZE is a number.
12983
02cfc6d6
MR
129842011-06-23 Martin Rudalics <rudalics@gmx.at>
12985
12986 * window.el (get-lru-window, get-mru-window)
12987 (get-largest-window): Never return a minibuffer window.
12988 (display-buffer-pop-up-window): Fix a bug that could lead to
12989 reusing the minibuffer window.
12990 (display-buffer): Pass original specifier argument to
12991 display-buffer-function instead of the normalized one.
12992 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12993
4e323265
LL
129942011-06-22 Leo Liu <sdl.web@gmail.com>
12995
12996 * minibuffer.el (completing-read-function)
12997 (completing-read-default): Move from minibuf.c
12998
7a70468f
RS
129992011-06-22 Richard Stallman <rms@gnu.org>
13000
50718fc2
RS
13001 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13002 to Rmail even if not started by a special Rmail command.
13003
7a70468f
RS
13004 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13005 Copy the buffer currently showing just one message.
13006
297dde5a
RW
130072011-06-22 Roland Winkler <winkler@gnu.org>
13008
13009 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13010 (bibtex-clean-entry): First delete the old key so that a
13011 customized algorithm for generating the new key does not get
13012 confused by the old key.
13013 (bibtex-url): Obey regexp of first step.
13014 (bibtex-search-entries): Do not use add-to-list with local
13015 list-var.
13016
97bb1093
LMI
130172011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13018
13019 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13020 stored a user name, then query for the password first, instead of
13021 waiting for SMTP to give an error message and the trying again.
13022
1c0f1a19
JD
130232011-06-22 Lawrence Mitchell <wence@gmx.li>
13024
13025 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13026 BUFFER in call-process.
13027
396f7c9d
LMI
130282011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13029
13030 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13031 QUIT twice.
ddb7ffee
LMI
13032 (smtpmail-try-auth-methods): Require user name and password from
13033 auth-source.
396f7c9d 13034
8998d1b3
MR
130352011-06-22 Martin Rudalics <rudalics@gmx.at>
13036
13037 * window.el (display-buffer-default-specifiers)
13038 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13039 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13040 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13041
13042 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13043 (special-display-frame-alist, special-display-popup-frame):
13044 Remove duplicate declarations. These are now in window.el.
13045
4ea31e07
LMI
130462011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13047
c9d29fb8
SM
13048 * mail/smtpmail.el (smtpmail-via-smtp):
13049 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13050 server supports it. SMTP servers that support STARTTLS commonly
13051 require it.
13052
13053 * net/network-stream.el (network-stream-open-starttls): Support
13054 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13055 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13056
95f41d9a
LMI
13057 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13058 upgrades with `open-network-stream', and rely solely on
13059 auth-source for all credentials. Big changes throughout the file,
13060 but in particular:
c9d29fb8
SM
13061 (smtpmail-auth-credentials): Remove.
13062 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13063 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13064 MAIL FROM, too.
95f41d9a 13065
c9d29fb8
SM
13066 * net/network-stream.el (network-stream-open-starttls):
13067 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13068 STARTTLS.
13069 (auth-source): Require.
13070 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13071 (network-stream-certificate): Change cert-cert to cert and
13072 cert-key to key.
4ea31e07 13073
065ec2c7
MA
130742011-06-21 Michael Albinus <michael.albinus@gmx.de>
13075
13076 * net/tramp-cache.el (top): Don't load the persistency file when
13077 "emacs -Q" has been called.
13078
cd93b359
DR
130792011-06-21 Tim Harper <timcharper@gmail.com>
13080
d8e4b68b
JB
13081 * term/ns-win.el (ns-initialize-window-system):
13082 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13083 resource to NO as it is not yet supported by the NS port.
13084
ae9c0411
JB
130852011-06-21 Juanma Barranquero <lekktu@gmail.com>
13086
13087 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13088 (list-dynamic-libraries): ...not here.
13089
7f3f739f
LL
130902011-06-21 Leo Liu <sdl.web@gmail.com>
13091
13092 * subr.el (sha1): Implement sha1 using secure-hash.
13093
327c8fb1
MR
130942011-06-21 Martin Rudalics <rudalics@gmx.at>
13095
13096 * window.el (display-buffer-alist): In default value do not
13097 enforce searching a window on any but the selected frame.
13098 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13099 (display-buffer-select-window): Remove function.
13100 (display-buffer-in-window): When a window on another frame gets
13101 reused, do not select it any more but just raise its frame if
13102 necessary (Bug#8851) and (Bug#8856).
13103 (display-buffer-normalize-options): Handle pop-up-frames related
13104 options more faithfully.
13105 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13106 window if it is on another frame.
c9d29fb8
SM
13107 (display-buffer-alist, display-buffer-default-specifiers):
13108 Don't make new frame unsplittable by default.
9e9de014
MR
13109 (display-buffer-normalize-argument): Fix doc-string typo and use
13110 'same-frame-other-window instead of 'other-window when associating
13111 with display-buffer-macro-specifiers.
327c8fb1 13112
7cf3f556
VB
131132011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13114
13115 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13116 New functions.
13117 (5x5-mode-map, 5x5-mode-menu): Bind them.
13118 (5x5-draw-grid): Tweak the solver's rendering.
13119
60a406cf
SM
131202011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13121
13122 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13123 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13124
d8e4b68b 131252011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13126
13127 * menu-bar.el: Use function variable instead of switch-to-buffer.
13128 (menu-bar-select-buffer-function): New variable.
60a406cf 13129 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13130
478d6f95
SM
131312011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13134 variable's status.
13135
ca530739
JD
131362011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13137
13138 * x-dnd.el (x-dnd-version-from-flags)
13139 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13140 and long as number (Bug#8899).
13141 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13142
bcd70d97
SM
131432011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13144
60a406cf 13145 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13146 (completion-try-completion, completion-all-completions): Compute the
13147 metadata argument if it's missing; make it optional (bug#8795).
13148
60a406cf 13149 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13150 (widget-complete): Use new :completion-function property.
13151 (widget-completions-at-point): New function.
13152 (default): Use :completion-function instead of :complete.
60a406cf
SM
13153 (widget-default-completions): Rename from widget-default-complete;
13154 Rewrite.
bcd70d97
SM
13155 (widget-string-complete, widget-file-complete, widget-color-complete):
13156 Remove functions.
13157 (file, symbol, function, variable, coding-system, color):
13158 * international/mule-cmds.el (default-input-method, charset)
13159 (language-info-custom-alist):
13160 * cus-edit.el (face): Use new property :completions.
13161
13162 * progmodes/pascal.el (pascal-completions-at-point): New function.
13163 (pascal-mode): Use it.
13164 (pascal-mode-map): Use completion-at-point.
13165 (pascal-toggle-completions): Make obsolete.
13166 (pascal-complete-word, pascal-show-completions):
13167 * progmodes/octave-mod.el (octave-complete-symbol):
13168 Redefine as obsolete alias.
13169 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13170 Signal absence of completion info for old Octave,
13171 (inferior-octave-complete): Redefine as obsolete alias.
13172 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13173 (meta-completions-at-point): Rename from meta-complete-symbol and
13174 adapt it for use on completion-at-point-functions.
13175 (meta-common-mode): Use it.
13176 (meta-looking-at-backward, meta-match-buffer): Remove.
13177 (meta-complete-symbol): Redefine as obsolete alias.
13178 (meta-common-mode-map): Use completion-at-point.
13179 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13180 (makefile-mode-map): Use completion-at-point.
13181 (makefile-completions-at-point): Rename from makefile-complete and
13182 adapt it for use on completion-at-point-functions.
13183 (makefile-mode): Use it.
13184 (makefile-complete): Redefine as obsolete alias.
13185
aebf69c8
DD
131862011-06-20 Deniz Dogan <deniz@dogan.se>
13187
13188 * net/rcirc.el: Delete trailing whitespaces once and for all.
13189
bfbbb27d
DC
131902011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13191
13192 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13193
d264a46b
CY
131942011-06-19 Chong Yidong <cyd@stupidchicken.com>
13195
4ca009e5
CY
13196 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13197
d264a46b
CY
13198 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13199
fbf5b3ce
MR
132002011-06-19 Martin Rudalics <rudalics@gmx.at>
13201
13202 * window.el (display-buffer-other-window-means-other-frame):
13203 Call display-buffer-normalize-alist.
13204 (display-buffer-normalize-specifiers-1): Rename to
13205 display-buffer-normalize-argument. New argument other-frame.
13206 Rewrite.
13207 (display-buffer-normalize-specifiers-2): Rename to
13208 display-buffer-normalize-options.
13209 (display-buffer-normalize-alist-1): New function.
13210 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13211 display-buffer-normalize-alist.
13212 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13213 (display-buffer-normalize-options-inhibit): New variable.
13214 (display-buffer-normalize-specifiers): Rewrite calling
13215 display-buffer-normalize-alist,
13216 display-buffer-normalize-argument, and
13217 display-buffer-normalize-options. Don't call the latter if
13218 display-buffer-normalize-options-inhibit is non-nil.
13219 (frame-auto-delete): New option.
13220 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13221 (window-list-no-nils, window-state-ignored-parameters)
13222 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13223 (window-state-put-1, window-state-put-2, window-state-put):
13224 New functions.
9a028c23
MR
13225 (display-buffer-normalize-options): Move special-display-p group
13226 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13227
6d10d800
CY
132282011-06-18 Chong Yidong <cyd@stupidchicken.com>
13229
6420d28b
CY
13230 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13231 groups (Bug#8776).
13232 (rx-submatch-n): New function.
13233 (rx): Document it.
13234
ddb8b596
CY
13235 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13236 (Bug#8768).
13237
13238 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13239
77080289
CY
13240 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13241
61dfb316
CY
13242 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13243 anytime existing face settings are present (Bug#8889).
13244
6d10d800
CY
13245 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13246 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13247 Remove unused argument.
13248
be3fb2b8
MR
132492011-06-18 Martin Rudalics <rudalics@gmx.at>
13250
bcd70d97
SM
13251 * window.el (display-buffer-default-specifiers):
13252 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13253 pop-up-window-min-width, and another reuse-window specifier
13254 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13255 (display-buffer-normalize-specifiers-2):
13256 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13257 pop-up-windows is unset. Add a reuse-window specifier for the
13258 case popping up a new window fails.
13259 (special-display-popup-frame): Remove double quoting.
28dec25a 13260 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13261
1c6d8c76
SM
132622011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13263
13264 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13265 according to comint-completion-addsuffix.
13266
13267 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13268 (pcomplete-suffix-list): Mark as obsolete.
13269 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13270 pcomplete-seen in the closure.
13271 (pcomplete-comint-setup): Setup completion-at-point as well.
13272 (pcomplete--entries): New function.
13273 (pcomplete--env-regexp): New var.
13274 (pcomplete-entries): Rewrite to work with partial-completion and
13275 without relying on pcomplete-suffix-list.
13276 (pcomplete-pare-list): Remove, unused.
13277
25aef8b8
MR
132782011-06-17 Martin Rudalics <rudalics@gmx.at>
13279
13280 * window.el (display-buffer-alist): Set pop-up-window-min-height
13281 and pop-up-window-min-width in default value. Reported by
13282 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13283 other-window-means-other-frame.
13284 (display-buffer-macro-specifiers): Comment out entry for
13285 other-window specifier.
13286 (display-buffer-other-window-means-other-frame): New function.
13287 (display-buffer-normalize-specifiers-1): New arguments
13288 buffer-name and label. Treat other-window case specially.
13289 (display-buffer-normalize-specifiers-2): Treat other-window case
13290 specially.
13291 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13292 (display-buffer-normalize-specifiers):
13293 Call display-buffer-normalize-specifiers-3.
25aef8b8 13294
dbad4f69
MR
132952011-06-17 Martin Rudalics <rudalics@gmx.at>
13296
13297 * window.el (same-window-p): Fix two typos introduced when
13298 adding with-no-warnings.
d1067961
MR
13299 (display-buffer-normalize-specifiers-1): Don't check
13300 pop-up-frames for 'unset initialization.
13301 (display-buffer-normalize-specifiers-2): Major rewrite using
13302 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13303 (pop-up-frames, display-buffer-reuse-frames)
13304 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13305 Suggested by David Engster <deng@randomsample.de>.
13306 (even-window-heights): Initialize to 'unset.
13307 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13308 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13309 other window case.
dbad4f69 13310
9b9c9e3a
MR
133112011-06-16 Martin Rudalics <rudalics@gmx.at>
13312
bcd70d97
SM
13313 * window.el (display-buffer-normalize-specifiers-1):
13314 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13315 second argument of display-buffer (Bug#8865).
981d5c09
MR
13316 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13317 (switch-to-buffer-other-window-same-frame)
13318 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13319 Adams (Bug#8875).
9c2755e9
MR
13320 (display-buffer): Don't check noninteractive when calling
13321 display-buffer-pop-up-frame.
13322 (display-buffer-pop-up-frame): Never pop up a frame in
13323 noninteractive mode (Bug#8857).
67222e1d
MR
13324 (enlarge-window, shrink-window): Don't report an error when the
13325 window can't be resized as requested (Bug#8862).
9b9c9e3a 13326
2b75be67
SM
133272011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13328
9ffdd3ba
SM
13329 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13330
cb581a67
SM
13331 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13332
2b75be67
SM
13333 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13334
8c0e3589
AM
133352011-06-15 Alan Mackenzie <acm@muc.de>
13336
cb581a67
SM
13337 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13338 for declarators, disable knr checking to speed up for normal files.
13339 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13340
b96e6cde
LMI
133412011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13342
4bba86e6
LMI
13343 * net/network-stream.el (open-network-stream): Add the keyword
13344 :always-query-capabilities for the case where you want to force a
13345 `plain' network connection, but the protocol still requires the
13346 capabilitiy command (i.e., SMTP and EHLO).
13347
2b75be67 13348 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13349 consistency with other `-live-p' functions.
13350
efdcdbf8
SM
133512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * window.el (same-window-buffer-names, same-window-regexps)
13354 (special-display-frame-alist, special-display-popup-frame)
13355 (special-display-function, special-display-buffer-names)
13356 (special-display-regexps, pop-up-frame-alist)
13357 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13358 (pop-up-windows, split-window-preferred-function)
13359 (split-height-threshold, split-width-threshold, even-window-heights)
13360 (display-buffer-mark-dedicated): Don't encourage the use of
13361 display-buffer-alist from Elisp code.
13362
c5cde042
DN
133632011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13364
13365 * progmodes/python.el (python-mode): Derive from prog-mode.
13366 * progmodes/ps-mode.el (ps-mode):
13367 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13368 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13369 * progmodes/ld-script.el (ld-script-mode): Likewise.
13370
baa1c9ab
MR
133712011-06-15 Martin Rudalics <rudalics@gmx.at>
13372
13373 * window.el (display-buffer-alist): Trim default value to avoid
13374 popping up a new frame (Bug#8857) or reusing an arbitrary window
13375 on another frame.
13376 (display-buffer): Do not fall back on popping up a new frame in
13377 batch mode (Bug#8857).
13378
c5dd5a51
CY
133792011-06-14 Chong Yidong <cyd@stupidchicken.com>
13380
13381 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13382 (custom-theme-summary): New function.
13383 (customize-themes): Use it.
13384
d647b7c4
GM
133852011-06-13 Glenn Morris <rgm@gnu.org>
13386
13387 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13388
9481c002
MR
133892011-06-13 Martin Rudalics <rudalics@gmx.at>
13390
357f93d2
MR
13391 * help.el (help-window): Remove variable.
13392 (help-window-point-marker, temp-buffer-max-height)
13393 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13394 (help-print-return-message): Don't set help-window.
13395 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13396 (help-window-setup-finish): Remove.
13397 (help-window-display-message, help-window-setup)
13398 (with-help-window): Major rewrite based on new
13399 display-buffer-window variable.
13400
13401 * help-mode.el (help-mode-finish): Remove help-window related
13402 code.
13403
13404 * view.el (view-exits-all-viewing-windows): Remove reference to
13405 view-return-to-alist in doc-string.
13406 (view-return-to-alist): Make obsolete.
13407 (view-buffer): Call pop-to-buffer-same-window and remove
13408 undo-window code.
13409 (view-buffer-other-window): Call pop-to-buffer-other-window and
13410 simplify code. Ignore second argument.
13411 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13412 simplify code. Ignore second argument.
13413 (view-return-to-alist-update): Make obsolete.
13414 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13415 Rewrite using quit-restore window parameters.
2b75be67
SM
13416 (view-mode-exit): Rename second argument to EXIT-ONLY.
13417 Rewrite using quit-restore-window.
357f93d2
MR
13418 (View-exit, View-exit-and-edit, View-leave, View-quit)
13419 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13420 appropriate arguments.
13421 (view-end-message): Use quit-restore window parameter.
13422
9481c002
MR
13423 * window.el (display-buffer-function): Rewrite doc-string.
13424 (display-buffer-window, display-buffer-alist): New variables.
13425 (display-buffer-split-specifiers)
13426 (display-buffer-side-specifiers)
13427 (display-buffer-macro-specifiers): New constants.
13428 (display-buffer-even-window-sizes, display-buffer-set-height)
13429 (display-buffer-set-width, display-buffer-select-window)
13430 (display-buffer-in-window, display-buffer-reuse-window)
13431 (display-buffer-split-window-1, display-buffer-split-window)
13432 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13433 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13434 (display-buffer-in-side-window, normalize-buffer-to-display)
13435 (display-buffer-normalize-specifiers-1)
13436 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13437 (display-buffer-normalize-specifiers, display-buffer-frame):
13438 New functions.
9481c002
MR
13439 (display-buffer): Major rewrite.
13440 (display-buffer-other-window, display-buffer-other-frame)
13441 (pop-to-buffer, switch-to-buffer-other-window)
13442 (switch-to-buffer-other-frame): Rewrite.
13443 (display-buffer-same-window, display-buffer-same-frame)
13444 (display-buffer-same-frame-other-window)
13445 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13446 (pop-to-buffer-other-window)
13447 (pop-to-buffer-same-frame-other-window)
13448 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13449 (switch-to-buffer-other-window-same-frame): New functions.
13450 (same-window-p, special-display-p): Rewrite disabling warnings.
13451 Make obsolete.
13452 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13453 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13454 Make obsolete
13455 (same-window-buffer-names, same-window-regexps)
13456 (special-display-frame-alist, special-display-popup-frame)
13457 (special-display-function, special-display-buffer-names)
13458 (special-display-regexps, pop-up-frame-alist)
13459 (pop-up-frame-function, split-window-preferred-function)
13460 (split-height-threshold, split-width-threshold)
13461 (even-window-heights): Make obsolete.
13462
9db51aca
GM
134632011-06-12 Glenn Morris <rgm@gnu.org>
13464
13465 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13466 Misc simplifications.
9db51aca 13467
39cffb44
MR
134682011-06-12 Martin Rudalics <rudalics@gmx.at>
13469
13470 * window.el (window-safely-shrinkable-p): Restore function which
13471 was inadvertently removed in change from 2011-06-11. Declare as
13472 obsolete.
13473
2b75be67
SM
13474 * calendar/calendar.el (calendar-generate-window):
13475 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13476 window-safely-shrinkable-p.
13477
a8955be7
GM
134782011-06-12 Glenn Morris <rgm@gnu.org>
13479
13480 * progmodes/fortran.el (fortran-mode-syntax-table):
13481 * progmodes/f90.el (f90-mode-syntax-table):
13482 Set % to punctuation. (Bug#8820)
13483 (f90-find-tag-default): Remove, no longer needed.
13484
f0d4059d
DC
134852011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13486
13487 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13488
1100a63c
CY
134892011-06-11 Chong Yidong <cyd@stupidchicken.com>
13490
13491 * image.el (image-animated-p): Return animation delay in seconds.
13492 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13493 (image-animate-timeout): Remove DELAY argument. Don't assume
13494 every subimage has the same delay; get it from image-animated-p.
13495 (image-animate): Caller changed.
13496
def722bf
MA
134972011-06-11 Michael Albinus <michael.albinus@gmx.de>
13498
13499 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13500 to ignored backtrace functions.
13501
0a2bb1a9
GM
135022011-06-11 Glenn Morris <rgm@gnu.org>
13503
13504 * calendar/appt.el (appt-disp-window-function): Doc fix.
13505 (appt-check): Handle overlapping appointments. (Bug#8337)
13506
6198ccd0
MR
135072011-06-11 Martin Rudalics <rudalics@gmx.at>
13508
13509 * window.el (window-tree-1, window-tree): New functions, moving
13510 the latter to window.el.
13511 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13512 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13513 (bw-refresh-edges): Remove.
13514 (balance-windows-1, balance-windows-2): New functions.
13515 (balance-windows): Rewrite in terms of window tree functions,
13516 balance-windows-1 and balance-windows-2.
13517 (bw-adjust-window): Remove.
13518 (balance-windows-area-adjust): New function with functionality of
13519 bw-adjust-window but using resize-window.
2b75be67
SM
13520 (set-window-text-height): Rewrite doc-string.
13521 Use normalize-live-window and resize-window.
13522 (enlarge-window-horizontally, shrink-window-horizontally):
13523 Rename argument to DELTA.
6198ccd0
MR
13524 (window-buffer-height): New function.
13525 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13526 Rewrite using new window resize routines.
2b75be67
SM
13527 (kill-buffer-and-window, mouse-autoselect-window-select):
13528 Use ignore-errors instead of condition-case.
6198ccd0
MR
13529 (quit-window): Call delete-frame instead of delete-windows-on
13530 for the only buffer on frame.
13531
9397e56f
MR
135322011-06-10 Martin Rudalics <rudalics@gmx.at>
13533
13534 * loadup.el (top-level): Load window before files for the sake
13535 of replace-buffer-in-windows.
13536
13537 * files.el (read-buffer-to-switch)
13538 (switch-to-buffer-other-window)
2b75be67
SM
13539 (switch-to-buffer-other-frame, display-buffer-other-frame):
13540 Move to window.el.
9397e56f
MR
13541
13542 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13543 (previous-buffer): Move to window.el.
13544
13545 * bindings.el (unbury-buffer): Move to window.el.
13546
13547 * window.el (delete-other-windows-vertically): Move after
13548 definition of delete-other-windows.
13549 (other-window, delete-windows-on, replace-buffer-in-windows):
13550 Move here from window.c.
13551 (record-window-buffer, unrecord-window-buffer)
13552 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13553 (switch-to-next-buffer): New functions.
13554 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13555 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13556 (previous-buffer): Move here from simple.el.
13557 Call switch-to-prev-buffer.
9397e56f
MR
13558 (bury-buffer): Move here from buffer.c. Switch to previous
13559 buffer when window cannot be deleted.
13560 (unbury-buffer): Move here from bindings.el.
13561 (ctl-x-map): Move binding for other-window from window.c to
13562 here.
13563 (read-buffer-to-switch, switch-to-buffer-other-window)
13564 (switch-to-buffer-other-frame): Move here from files.el.
13565 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13566 (switch-to-buffer): Move here from buffer.c.
13567 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13568
562dd5e9
MR
135692011-06-10 Martin Rudalics <rudalics@gmx.at>
13570
13571 * window.el (window-min-height, window-min-width): Move here
13572 from window.c. Add defcustoms and rewrite doc-strings.
13573 (resize-mini-window, resize-window): New functions.
13574 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13575 Move here from window.c.
13576 (maximize-window, minimize-window): New functions.
13577 (delete-window, delete-other-windows, split-window): Move here
13578 from window.c.
13579 (window-split-min-size): New function.
13580 (split-window-keep-point): Mention split-window-above-each-other
13581 instead of split-window-vertically.
2b75be67 13582 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13583 Rename split-window-vertically to split-window-above-each-other
13584 and provide defalias for old definition.
13585 (split-window-side-by-side, split-window-horizontally):
13586 Rename split-window-horizontally to split-window-side-by-side
13587 and provide defalias for the old definition.
562dd5e9
MR
13588 (ctl-x-map): Move bindings for delete-window,
13589 delete-other-windows and enlarge-window here from window.c.
13590 Replace bindings for split-window-vertically and
13591 split-window-horizontally by bindings for
13592 split-window-above-each-other and split-window-side-by-side.
13593
13594 * cus-start.el (all): Remove entries for window-min-height and
13595 window-min-width. Add entries for window-splits and
13596 window-nest.
13597
f0da764a
GM
135982011-06-09 Glenn Morris <rgm@gnu.org>
13599
80675c21
GM
13600 * calendar/appt.el (appt-mode-line): New function.
13601 (appt-check, appt-disp-window): Use it.
13602
f0da764a
GM
13603 * files.el (hack-one-local-variable-eval-safep):
13604 Allow minor-modes with explicit +/-1 arguments.
13605
59f623b7
TZ
136062011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13607
13608 * term/xterm.el (xterm): Add defgroup.
13609 (xterm-extra-capabilities): Add defcustom to supply known xterm
13610 capabilities, skip querying them, or query them (default).
13611 (terminal-init-xterm): Use it.
13612 (terminal-init-xterm-modify-other-keys): New function to set up
13613 modifyOtherKeys support to simplify `terminal-init-xterm'.
13614
9aab8e0d
MR
136152011-06-09 Martin Rudalics <rudalics@gmx.at>
13616
13617 * window.el (resize-window-reset, resize-window-reset-1)
13618 (resize-subwindows-skip-p, resize-subwindows-normal)
13619 (resize-subwindows, resize-other-windows, resize-this-window)
13620 (resize-root-window, resize-root-window-vertically)
13621 (window-deletable-p, window-or-subwindow-p)
13622 (frame-root-window-p): New functions.
13623
e8b08aee
GM
136242011-06-09 Glenn Morris <rgm@gnu.org>
13625
13626 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13627 (ange-ftp-get-files): Use it.
13628
254c37a5
AK
136292011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13630
13631 * mail/sendmail.el (mail-recover-1, mail-recover):
13632 * files.el (recover-file, recover-session):
13633 Handle dired-listing-switches not being just a single short option.
13634
35d7dbd3
GM
136352011-06-09 Glenn Morris <rgm@gnu.org>
13636
13637 * calendar/appt.el (appt-display-message, appt-disp-window):
13638 Handle lists of appointments.
13639
387522b2
MR
136402011-06-08 Martin Rudalics <rudalics@gmx.at>
13641
2b75be67
SM
13642 * window.el (one-window-p): Move down in code.
13643 Rewrite doc-string.
13644 (window-current-scroll-bars): Rewrite doc-string.
13645 Normalize live window argument.
387522b2
MR
13646 (walk-windows, get-window-with-predicate, count-windows):
13647 Rewrite doc-string. Use window-list-1.
13648 (window-in-direction-2, window-in-direction, get-mru-window):
13649 New functions.
13650
d8e4b68b 136512011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13652
13653 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13654 Doc fix (Bug#8713).
13655
136562011-06-08 Chong Yidong <cyd@stupidchicken.com>
13657
13658 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13659
136602011-06-08 Juanma Barranquero <lekktu@gmail.com>
13661
13662 * loadhist.el (unload-feature-special-hooks):
13663 Add `comint-output-filter-functions'.
13664
0de12c52
IK
136652011-06-08 Ivan Kanis <gnu@kanis.fr>
13666
13667 * calendar/appt.el (appt-check): Move some initializations into the let.
13668
f3d1777e
MR
136692011-06-08 Martin Rudalics <rudalics@gmx.at>
13670
13671 * window.el (window-height): Defalias to window-total-height.
13672 (window-width): Defalias to window-body-width.
13673
18af70d0
CY
136742011-06-07 Chong Yidong <cyd@stupidchicken.com>
13675
13676 * image-mode.el (image-toggle-animation): New command.
13677 (image-mode-map): Bind it to RET.
13678 (image-mode): Update message.
13679 (image-toggle-display-image): Avoid a spurious cache flush.
13680 (image-transform-rotation): Doc fix.
13681 (image-transform-properties): Return quickly in the normal case.
13682 (image-animate-loop): Rename from image-animate-max-time.
13683
2b75be67 13684 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13685 (create-animated-image): Remove unnecessary function.
13686 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13687 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13688 (image-animate-timer): Use car-safe.
13689 (image-animate-timeout): Rename argument.
13690
190b47e6
MR
136912011-06-07 Martin Rudalics <rudalics@gmx.at>
13692
13693 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13694 window.c. Rename first argument to ALL-FRAMES.
13695 Rephrase doc-strings.
13696 (get-buffer-window-list): Rewrite using window-list-1.
13697 Rephrase doc-string.
a1511caf
MR
13698 (window-safe-min-height, window-safe-min-width): New constants.
13699 (window-size-ignore, window-min-size, window-min-size-1)
13700 (window-sizable, window-sizable-p, window-size-fixed-1)
13701 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13702 (window-max-delta-1, window-max-delta, window-resizable)
13703 (window-resizable-p, window-total-height, window-total-width)
13704 (window-body-width): New functions.
13705 (window-full-height-p, window-full-width-p): Rewrite using
13706 window-total-size.
13707 (window-body-height): Rewrite using window-body-size.
190b47e6 13708
85cc1f11
MR
137092011-06-06 Martin Rudalics <rudalics@gmx.at>
13710
13711 * window.el (window-right, window-left, window-child)
13712 (window-child-count, window-last-child, window-any-p)
13713 (normalize-live-buffer, normalize-live-frame)
13714 (normalize-any-window, normalize-live-window)
13715 (window-iso-combination-p, window-iso-combined-p)
13716 (window-iso-combinations)
13717 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13718 (windows-with-parameter, window-with-parameter)
13719 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13720 (window-atom-check, window-side-check, window-check):
13721 New functions.
85cc1f11
MR
13722 (ignore-window-parameters, window-sides, window-sides-vertical)
13723 (window-sides-slots): New variables.
13724 (window-size-fixed): Move down in code. Minor doc-string fix.
13725
e7156492
AS
137262011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13727
13728 * comint.el (comint-dynamic-complete-as-filename)
13729 (comint-dynamic-complete-filename): Correctly call
13730 completion-in-region.
13731
7e821d0d
DD
137322011-06-05 Deniz Dogan <deniz@dogan.se>
13733
13734 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13735 in last change.
13736
ac09b8a1
DD
137372011-06-05 Deniz Dogan <deniz@dogan.se>
13738
13739 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13740 (rcirc): Use it to prompt for encryption.
13741
34699b85
RW
137422011-06-05 Roland Winkler <winkler@gnu.org>
13743
13744 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13745 (bibtex-search-entries): New command bound to C-c C-a.
13746 (bibtex-display-entries): New function.
13747
004dedd3
RW
137482011-06-05 Roland Winkler <winkler@gnu.org>
13749
13750 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13751 (bibtex-insert-kill): After yanking insert newline if necessary.
13752 (bibtex-initialize): Call bibtex-string-files-init only once.
13753 (bibtex-mode): Do not call easy-menu-add.
13754 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13755 (bibtex-yank): Set arg properly if nil.
13756
022fe7ce
RW
137572011-06-05 Roland Winkler <winkler@gnu.org>
13758
2b75be67
SM
13759 * textmodes/bibtex.el (bibtex-search-entry-globally):
13760 New variable.
022fe7ce
RW
13761 (bibtex-search-entry): Use it.
13762
b7c3692a
RW
137632011-06-05 Roland Winkler <winkler@gnu.org>
13764
13765 * textmodes/bibtex.el (bibtex-entry-format): New option
13766 sort-fields.
13767 (bibtex-format-entry, bibtex-reformat): Honor this option.
13768 (bibtex-parse-entry): Return fields in proper order.
13769
8eda563d
JB
137702011-06-05 Juanma Barranquero <lekktu@gmail.com>
13771
13772 * doc-view.el (doc-view-remove-if): Move computation of result out
13773 of `dolist' to silence misleading lexical-binding warning.
13774
7dbe3dbc
CY
137752011-06-04 Chong Yidong <cyd@stupidchicken.com>
13776
13777 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13778 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13779
0c33dd17
MA
137802011-06-04 Michael Albinus <michael.albinus@gmx.de>
13781
13782 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13783 "SunOS 5.10".
13784
f8f91c2b
MA
137852011-06-04 Michael Albinus <michael.albinus@gmx.de>
13786
13787 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13788 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13789 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13790 (tramp-parse-putty):
13791 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13792 (tramp-completion-function-alist-ssh)
13793 (tramp-completion-function-alist-telnet)
13794 (tramp-completion-function-alist-su)
13795 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13796 cookie.
13797
13798 * net/tramp-ftp.el:
13799 * net/tramp-sh.el:
13800 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13801 load "tramp.el" `tramp-set-completion-function'.
13802
e17d9003
SM
138032011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13804
13805 * shell.el: Require and use pcomplete.
13806 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13807 (shell-completion-vars): Set pcomplete-default-completion-function.
13808
6c4cab03
DD
138092011-06-04 Deniz Dogan <deniz@dogan.se>
13810
13811 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13812 `memq' (Bug#8799).
13813
ea9fafe0
SM
138142011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13815
13816 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13817
b3e945d3
JB
138182011-06-02 Juanma Barranquero <lekktu@gmail.com>
13819
13820 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13821 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13822 * vc/log-view.el (log-view-beginning-of-defun):
13823 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13824 (smerge-refine-forward, smerge-refine-chopup-region):
13825 Silence warning for unused `dotimes' counter variables.
13826
7d520089
SM
138272011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13828
13829 * net/tramp.el (tramp-with-progress-reporter): Rename from
13830 with-progress-reporter. Use `declare'.
13831 * net/tramp-smb.el:
13832 * net/tramp-sh.el:
13833 * net/tramp-gvfs.el: Update all uses.
13834
a1c2400f
JB
138352011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13836
13837 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13838 buffer isn't killed before making it current.
13839
2403c841
SM
138402011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 Silence various byte-compiler warnings.
13843 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13844 `access-type' and new obsolescence format.
13845 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13846 new format.
13847 (byte-compile-check-variable): New `access-type' argument.
13848 Only warn if the access-type is obsolete.
13849 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13850 (byte-compile-variable-set): Adjust callers.
13851 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13852 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13853 setting it as obsolete.
13854 * simple.el (minibuffer-completing-symbol):
13855 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13856 access as obsolete.
13857 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13858 obsolete yet.
13859 * international/quail.el (quail-mouse-choose-completion): Remove unused
13860 code referring to obsolete var.
13861 (quail-choose-completion-string): Remove.
13862 * server.el (server-clients-with, server-kill-buffer-query-function)
13863 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13864 * proced.el (proced-send-signal):
13865 * emacs-lisp/lisp.el (lisp-complete-symbol):
13866 Replace completion-annotate-function with completion-extra-properties.
13867
2462470b
SM
138682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13869
fb5b2591
SM
13870 * simple.el (goto-line): Use read-number.
13871 (overriding-map-is-bound): Remove.
13872 (saved-overriding-map): Change default.
13873 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13874 Take the map as argument.
13875 (universal-argument, negative-argument, digit-argument): Use it.
13876 (restore-overriding-map): Adjust.
13877 (do-auto-fill): Use fill-forward-paragraph.
13878 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13879
fd6fa53f
SM
13880 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13881 (minibuffer-inactive-mode): New major mode.
13882 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13883 the *Messages* buffer" hack.
13884 (mouse-popup-menubar): Don't burp if the event is a normal key.
13885
2462470b
SM
13886 Miscellaneous tweaks.
13887 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13888 lexical scoping as in subr.el's dolist and dotimes.
13889 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13890 Silence compiler warning.
13891 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13892 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13893 * international/ccl.el (ccl-compile): Trivial simplification.
13894 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13895 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13896 `printflag' argument.
13897 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13898 Purecopy the whole obsolescence data.
13899
108bf785
LL
139002011-06-01 Leo Liu <sdl.web@gmail.com>
13901
13902 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13903 improve doc-string as suggested by Marco Pessotto
13904 <melmothx@gmail.com>.
13905 (rcirc-print): Fix last change.
13906
30a23501
SM
139072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * minibuffer.el (complete-with-action): Return nil for the metadata and
13910 boundaries of non-functional tables.
13911 (completion-table-dynamic): Return nil for the metadata.
13912 (completion-table-with-terminator): Add default case, using
13913 complete-with-action.
13914 (completion--metadata): New function.
13915 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13916 to try and avoid pathological performance problems.
13917 (completion--embedded-envvar-table): Return `category' metadata.
13918
bcd54f83
LMI
139192011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13920
13921 * subr.el (process-alive-p): New tiny convenience function.
13922
e227544d
SM
139232011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13926 content but also its previous major mode.
13927
e8296fdc
HE
139282011-05-31 Helmut Eller <eller.helmut@gmail.com>
13929
4d61f28d 13930 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13931 *Backtrace* buffer when we exit with C-M-c.
13932
620c53a6
SM
139332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * minibuffer.el: Add metadata method to completion tables.
13936 (completion-category-overrides): New defcustom.
13937 (completion-metadata, completion--field-metadata)
13938 (completion-metadata-get, completion--styles)
13939 (completion--cycle-threshold): New functions.
13940 (completion-try-completion, completion-all-completions):
13941 Add `metadata' argument to choose completion-styles.
13942 (completion--do-completion): Use metadata to choose cycling.
13943 (completion-all-sorted-completions): Use metadata for sorting.
13944 Remove :completion-cycle-penalty which is not needed any more.
13945 (completion--try-word-completion): Add `metadata' argument.
13946 (minibuffer-completion-help): Check metadata for annotation function
13947 and sorting.
13948 (completion-file-name-table): Return `category' metadata.
13949 (minibuffer-completing-file-name): Make obsolete.
13950 * simple.el (minibuffer-completing-symbol): Make obsolete.
13951 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13952 completion-try-completion.
13953
1257e755
SM
139542011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13957
3767e706
LL
139582011-05-30 Leo Liu <sdl.web@gmail.com>
13959
13960 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13961 (rcirc-print): Decode all incoming messages (bug#8744).
13962 (rcirc-decode-coding-system): Allow value nil for automatic coding
13963 system detection.
3767e706 13964
d1a5d56a
GM
139652011-06-01 Glenn Morris <rgm@gnu.org>
13966
13967 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13968
e8cbec34
CY
139692011-05-29 Chong Yidong <cyd@stupidchicken.com>
13970
13971 * image.el (image-animate-max-time): Allow nil and t values.
13972 Default to nil.
13973 (create-animated-image): Doc fix.
13974 (image-animate-start): Remove second arg; just use
13975 image-animate-max-time.
13976 (image-animate-timeout): Doc fix. Args changed.
13977
13978 * image-mode.el (image-toggle-display-image): Ensure that the
13979 image spec passed to the animate timer is the same object as in
58179cce 13980 the buffer's display property (Bug#6981).
e8cbec34
CY
13981 (image-transform-properties): Doc fix.
13982
13983 * image.el (image-animate-max-time): Default to nil.
13984
159daf87
MR
139852011-05-29 Martin Rudalics <rudalics@gmx.at>
13986
13987 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13988 entire buffer list (Bug#8184).
13989
d66c4c7c
CY
139902011-05-29 Chong Yidong <cyd@stupidchicken.com>
13991
13992 * image.el (imagemagick-types-inhibit)
13993 (imagemagick-register-types): Doc fix.
13994
80aec780
DD
139952011-05-29 Deniz Dogan <deniz@dogan.se>
13996
13997 * net/rcirc.el (rcirc): Use the user's stored encryption method by
13998 default.
13999
1dd3c2d9
CY
140002011-05-29 Chong Yidong <cyd@stupidchicken.com>
14001
14002 * select.el: Don't perform clipboard-manager saving in hooks;
14003 leave the hooks empty.
14004
60e56523
LL
140052011-05-28 Leo Liu <sdl.web@gmail.com>
14006
14007 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14008 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14009 (occur-edit-mode): New major mode (Bug#8463).
14010 (occur-after-change-function): New function.
14011 (occur-engine): Give Occur tags a read-only property.
14012
2b1e1a22
KR
140132011-05-28 Kevin Ryde <user42@zip.com.au>
14014
14015 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14016
5d344e88
CY
140172011-05-28 Chong Yidong <cyd@stupidchicken.com>
14018
8e6ca83d
CY
14019 * bindings.el (help-echo): Make the initial non-indicator dash
14020 empty on graphical terminals (Bug#7295).
14021
5d344e88
CY
14022 * files.el (auto-mode-alist): Move config rule after the
14023 in-stripping one (Bug#8547).
14024
bfbbace7
CY
14025 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14026
fbeba6e2
CY
14027 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14028 setting (Bug#8740).
14029
60ed8c72
AA
140302011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14031
4ac619f0
AA
14032 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14033 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14034 (Bug#8539).
60ed8c72 14035
23db196e
CY
140362011-05-28 Chong Yidong <cyd@stupidchicken.com>
14037
14038 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14039
5012f24c
DK
140402011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14041
14042 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14043 (hs-hide-block-at-point, hs-find-block-beginning)
14044 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14045 (Bug#8279).
14046
6a639b16
GM
140472011-05-28 Glenn Morris <rgm@gnu.org>
14048
14049 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14050
d43eaf2c
CY
140512011-05-28 Chong Yidong <cyd@stupidchicken.com>
14052
5199bde1
CY
14053 * help-fns.el (describe-function-1): If the function is a derived
14054 major mode, print the parent mode.
14055
d43eaf2c
CY
14056 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14057 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14058
423428a8
SM
140592011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14060
0ff8e1ba 14061 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14062 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14063 * progmodes/etags.el (tags-completion-at-point-function):
14064 * info-look.el (info-lookup-completions-at-point): Mark as
14065 non-exclusive.
14066 (info-complete): Adjust accordingly.
14067
423428a8
SM
14068 * info-look.el: Convert to lexical-binding and completion-at-point.
14069 (info-lookup-completions-at-point): New function.
14070 (info-complete): Use it and completion-in-region.
14071
b74aa22b
DA
140722011-05-28 Drew Adams <drew.adams@oracle.com>
14073
14074 * isearch.el: Let M-e start with point at the first mismatched char.
14075 (isearch-fail-pos): New function.
14076 (isearch-edit-string): Use it.
14077
66e2e71d
DK
140782011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14079
14080 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14081
b1890b0f 140822011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14083
14084 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14085 traversal functions for avl-trees.
14086 (avl-tree--stack): New struct.
14087 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14088 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14089 (avl-tree--do-enter): Add optional `updatefun' arg.
14090 Change return value.
eb95d01d 14091 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14092 (avl-tree--do-delete): Add `test' and `nilflag' args.
14093 Change return value.
eb95d01d
TC
14094 (avl-tree-member): Add optional `nilflag'
14095 (avl-tree-member-p): New function.
14096 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14097 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14098 (avl-tree-stack-empty-p): New functions.
14099
3769ddcf
TC
14100 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14101 avl-tree--del-balance1 and make it work both ways.
14102 (avl-tree--del-balance2): Remove.
14103 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14104 make it work both ways.
14105 (avl-tree--enter-balance2): Remove.
14106 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14107 New macros.
14108 (avl-tree--mapc, avl-tree-map): Add direction argument.
14109
eb95d01d 141102011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14111
14112 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14113
a9f737ee
CY
141142011-05-27 Chong Yidong <cyd@stupidchicken.com>
14115
14116 * select.el: Support clipboard managers with built-in function
14117 x-clipboard-manager-save, via delete-frame-functions and
14118 kill-emacs-hook.
14119 (xselect-convert-to-targets): Add MULTIPLE target to list.
14120 (xselect-convert-to-save-targets): New function.
14121
c92a1e54
KH
141222011-05-27 Kenichi Handa <handa@m17n.org>
14123
14124 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14125 let-binding rfc2047-encode-encoded-words to nil.
14126
e145f188
GM
141272011-05-27 Glenn Morris <rgm@gnu.org>
14128
5ec8a862
GM
14129 * mail/emacsbug.el: Don't require url-util.
14130
4b29d9fb
GM
14131 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14132
e145f188
GM
14133 * files.el (set-auto-mode):
14134 Also respect mode: entries at the end of the file. (Bug#8586)
14135
7d15102b
GM
141362011-05-26 Glenn Morris <rgm@gnu.org>
14137
98f593b8
GM
14138 * files.el (hack-local-variables-prop-line, hack-local-variables):
14139 Downcase mode names, as seems to be traditional.
27b48e63 14140 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14141
7d15102b
GM
14142 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14143 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14144
51d5b4ec
JD
141452011-05-25 Julien Danjou <julien@danjou.info>
14146
14147 * textmodes/rst.el (rst-define-level-faces): Do not define face
14148 symbol if it is already defined.
14149
91513f63
VB
141502011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14151
14152 * play/5x5.el (5x5-new-game, 5x5-randomize):
14153 Reset 5x5-solver-output to nil when a new grid is cast.
14154 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14155 these debugging traces, as defmacro breaks the compiled code.
14156
4d90d6d0
DK
141572011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14158
14159 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14160
e1b90ef6
LL
141612011-05-24 Leo Liu <sdl.web@gmail.com>
14162
14163 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14164 (vc-bzr-sha1): Adapt.
14165
d8e4b68b 14166 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14167
14168 * bindings.el: Provide sha1 feature.
14169
db0406bb 141702011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14171
14172 * mail/sendmail.el: Require `rfc2047'.
14173 (mail-insert-from-field): Do not perform RFC2047 encoding.
14174 (mail-encode-header): New function.
14175 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14176 buffer to the return value of select-message-coding-system.
14177 Call mail-encode-header.
b8d747b9
KH
14178
14179 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14180
db0406bb 141812011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14182
4d90d6d0
DK
14183 * mail/supercite.el (sc-default-cite-frame):
14184 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14185
eb8a5e9b
GM
141862011-05-24 Glenn Morris <rgm@gnu.org>
14187
f8630703
GM
14188 * progmodes/python.el (brm-menu): Declare.
14189
8831bbed
GM
14190 * emulation/viper.el (viper-set-hooks): Declare.
14191
eb8a5e9b
GM
14192 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14193 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14194 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14195 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14196 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14197 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14198
a2a25d24
SM
141992011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14200
14201 Add an :exit-function for completion-at-point.
14202
14203 * minibuffer.el (completion--done): New fun.
14204 (completion--do-completion): Use it. New arg `expect-exact'.
14205 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14206 since completion--do-completion does it for us now.
14207 (minibuffer-force-complete): Use completion--done and
14208 completion--replace. Handle sole-completion case with more care.
14209 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14210 (completion-extra-properties): New var.
14211 (completion-annotate-function): Make obsolete.
14212 (minibuffer-completion-help): Adjust accordingly.
14213 Use completion-list-insert-choice-function.
14214 (completion-at-point, completion-help-at-point):
14215 Bind completion-extra-properties.
14216 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14217 * simple.el (completion-list-insert-choice-function): New var.
14218 (completion-setup-function): Preserve it.
14219 (choose-completion): Pay attention to it, shuffle the code a bit.
14220 (choose-completion-string): New arg `insert-function'.
14221
14222 * textmodes/bibtex.el: Convert to lexical binding.
14223 (bibtex-mode-map): Use completion-at-point.
14224 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14225 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14226 (bibtex-complete): Define as obsolete alias.
14227 (bibtex-complete-internal): Remove.
14228 (bibtex-format-entry): Remove unused sub-group in regexp.
14229 * shell.el (shell--command-completion-data)
14230 (shell-environment-variable-completion):
14231 * pcomplete.el (pcomplete-completions-at-point):
14232 * comint.el (comint--complete-file-name-data): Use :exit-function
14233 instead of completion-table-with-terminator so it also works for
14234 choose-completion.
14235
e44e373d
SM
142362011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14237
4f91a816
SM
14238 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14239
782fc819
SM
14240 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14241 (bug#8710).
14242
e44e373d
SM
14243 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14244
381987c3
KM
142452011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14246
14247 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14248 customization variable and implement: If non-nil, auto-fill will
14249 be inhibited while on topic's header line.
14250
b776bc70
VB
142512011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14252
14253 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14254 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14255 always have a solution in grid size = 5 cases.
14256 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14257 (5x5-solver-output, 5x5-log-buffer): New vars.
14258 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14259 Make these variables buffer local to achieve 5x5 multi-session-ness.
14260 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14261 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14262 (5x5-solve-suggest): New funs.
14263 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14264 randomize a grid so that we ensure that there is always a solution.
14265 (5x5-make-random-grid): Allow other movement than flipping.
14266
7de88b6e
KR
142672011-05-23 Kevin Ryde <user42@zip.com.au>
14268
14269 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14270 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14271 advice and passes PREDICATE.
14272
b1ef1257
SM
142732011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14274
bbca48fe
SM
14275 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14276 byte-compile-lambda if it's actually a lambda.
14277
b1ef1257
SM
14278 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14279 Fix function quoting. Use backquote better.
14280
92a9cc65
YS
142812011-05-22 Yuanle Song <sylecn@gmail.com>
14282
14283 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14284 matching (Bug#8516).
14285
f0fb8059
JA
142862011-01-22 Jari Aalto <jari.aalto@cante.net>
14287
14288 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14289 different face (Bug#8178).
14290
d5b44c93
CY
142912011-05-22 Chong Yidong <cyd@stupidchicken.com>
14292
14293 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14294 defface (Bug#8144).
14295
79106a44
SM
142962011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14297
9c848d8a
SM
14298 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14299 funcall as well (bug#8712). Warn when performing those conversions.
14300 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14301
79106a44
SM
14302 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14303
88dfa756
GM
143042011-05-22 Glenn Morris <rgm@gnu.org>
14305
14306 * files.el (hack-local-variables-prop-line): Small simplifications.
14307 (hack-local-variables, hack-local-variables-prop-line):
14308 If MODE-ONLY, return the mode, rather than just `t'.
14309
b7cf2c79
SM
143102011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14311
14312 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14313
3f1a8558
GM
143142011-05-21 Glenn Morris <rgm@gnu.org>
14315
7e4ccca3
GM
14316 * files.el (hack-local-variables-prop-line, hack-local-variables):
14317 If only interested in the mode, don't bother doing the other stuff.
14318
637d46ca
GM
14319 * image-mode.el (image-after-revert-hook):
14320 Redraw all frames on which the image is visible. (Bug#8567)
14321
973d955b
GM
14322 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14323
3f1a8558
GM
14324 * wid-edit.el (widget-checklist-match-inline):
14325 Fix 2011-04-19 change. (Bug#8649)
14326
96479927
SM
143272011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14328
1dcf791f
SM
14329 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14330 Also allow singlespace after single-letter capitals followed by a dot.
14331
96479927
SM
14332 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14333 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14334
35fd0881
N
143352011-05-20 Nix <nix@esperi.org.uk>
14336
14337 * files.el (basic-save-buffer-2):
14338 Fix handling of break-hardlink-on-save with non-existent files.
14339
82745640
DD
143402011-05-19 Deniz Dogan <deniz@dogan.se>
14341
14342 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14343 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14344
4a720484
GM
143452011-05-19 Glenn Morris <rgm@gnu.org>
14346
d1f21341
GM
14347 * progmodes/f90.el (f90-type-def-re):
14348 Handle "type, bind(c)". (Bug#8691)
14349
4a720484
GM
14350 * emacs-lisp/autoload.el (batch-update-autoloads):
14351 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14352
2fb0a219
MA
143532011-05-18 Michael Albinus <michael.albinus@gmx.de>
14354
14355 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14356 property for the correct connection in case of multihops.
14357
e565dd37
GM
143582011-05-18 Glenn Morris <rgm@gnu.org>
14359
c2571358 14360 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14361 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14362
e565dd37
GM
14363 Rationalize calendar handling of day and month abbrev-arrays.
14364 * calendar/calendar.el (calendar-customized-p): New function.
14365 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14366 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14367 Add :set function.
14368 (calendar-abbrev-length, calendar-day-abbrev-array)
14369 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14370 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14371 Elements may no longer be nil.
14372 (calendar-day-name, calendar-month-name):
14373 Update for changed nature of abbrev arrays.
14374 * calendar/diary-lib.el (diary-name-pattern):
14375 Update for changed nature of abbrev arrays.
14376 (diary-mark-entries-1): Update calendar-make-alist calls.
14377 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14378 * calendar/cal-html.el (cal-html-day-abbrev-array):
14379 Simply inherit from calendar-day-abbrev-array.
14380
1d99a745
SM
143812011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14382
14383 * progmodes/grep.el (grep-mode): Disable default
14384 compilation-directory-matcher setting (bug#8684).
14385
7c1d9aa0
MA
143862011-05-17 Michael Albinus <michael.albinus@gmx.de>
14387
14388 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14389 instead of "head" and "tail". There were problems with SunOS 5.9,
14390 and it performs better.
14391
3952e9d8
GM
143922011-05-17 Glenn Morris <rgm@gnu.org>
14393
2dd12e7f
GM
14394 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14395
e4157b9c
GM
14396 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14397 Replace obsolete function.
14398
8e249bbd
GM
14399 * shell.el (pcomplete-parse-arguments-function): Declare.
14400
3952e9d8
GM
14401 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14402 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14403 (appt-check): Doc fixes.
14404 (appt-disp-window-function, appt-delete-window-function):
14405 Remove needless special case in custom :type.
14406 (appt-display-count): Default to 0, not nil.
14407 (appt-check): Reset appt-display-count to 0, not nil.
14408
c71a0d48 144092011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14410
c71a0d48
GM
14411 * progmodes/python.el (python-font-lock-keywords):
14412 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14413
31d55be9
SM
144142011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14415
14416 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14417
3bfacb2f
KR
144182011-05-16 Kevin Ryde <user42@zip.com.au>
14419
14420 * info-look.el (makefile-automake-mode): New setups, looking in
14421 automake manual, then makefile-mode.
14422 (makefile-mode): Remove automake manual, have it just in
14423 makefile-automake-mode since there's various things different or
14424 not relevant to plain make.
14425 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14426 believe a hypothetical automake-mode would go to makefile-mode,
14427 not the other way around.
14428
c8e83751
CY
144292011-05-15 Chong Yidong <cyd@stupidchicken.com>
14430
5e9e35cd
CY
14431 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14432 hunk-end tags (Bug#8672).
14433
c8e83751
CY
14434 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14435 vc-annotate-show-diff-revision-at-line (Bug#8671).
14436
50b23e5a
GM
144372011-05-14 Glenn Morris <rgm@gnu.org>
14438
7210a739
GM
14439 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14440 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14441 (change-log-font-lock-keywords): Also handle multiple author lines
14442 with leading tabs. (Bug#8644)
7210a739 14443
4691905a
GM
14444 * calendar/appt.el (appt-check): Rename some local variables.
14445 Some simplification/reordering.
14446
50b23e5a
GM
14447 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14448 (feedmail-sendmail-f-doesnt-sell-me-out)
14449 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14450 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14451 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14452 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14453 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14454 (feedmail-binmail-gnulinuxish-template):
14455 Rename from feedmail-binmail-linuxish-template.
14456 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14457 Use insert-buffer-substring.
14458
215cda7c
BC
144592011-05-14 Bill Carpenter <bill@carpenter.org>
14460
14461 * mail/feedmail.el (feedmail-patch-level): Increase.
14462 (feedmail-debug): New custom group.
14463 (feedmail-confirm-outgoing-timeout)
14464 (feedmail-sendmail-f-doesnt-sell-me-out)
14465 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14466 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14467 (feedmail-sender-line, feedmail-from-line)
14468 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14469 (feedmail-spray-this-address)
215cda7c
BC
14470 (feedmail-spray-address-fiddle-plex-list)
14471 (feedmail-queue-use-send-time-for-date)
14472 (feedmail-queue-use-send-time-for-message-id)
14473 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14474 (feedmail-buffer-eating-function):
14475 Doc fixes.
14476 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14477 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14478 (feedmail-message-action-scroll-down): New functions.
14479 (feedmail-queue-directory, feedmail-queue-draft-directory):
14480 Use expand-file-name.
14481 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14482 Remove C-v help entry.
14483 (feedmail-queue-buffer-file-name): New variable.
14484 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14485 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14486 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14487 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14488 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14489 (feedmail-message-action-toggle-spray)
14490 (feedmail-run-the-queue-no-prompts)
14491 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14492 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14493 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14494 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14495 (feedmail-envelope-deducer, feedmail-fiddle-from)
14496 (feedmail-fiddle-sender, feedmail-default-date-generator)
14497 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14498 (feedmail-fiddle-spray-address)
14499 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14500 (feedmail-fiddle-list-of-fiddle-plexes)
14501 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14502 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14503 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14504 Change default. Doc fix.
14505 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14506 (feedmail-binmail-linuxish-template): New constant.
14507 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14508 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14509 (feedmail-send-it): Add debug call.
14510 Use feedmail-queue-buffer-file-name, and
14511 feedmail-send-it-immediately-wrapper.
14512 (feedmail-message-action-send): Add debug call.
14513 Use feedmail-send-it-immediately-wrapper.
14514 (feedmail-queue-express-to-queue): Add debug call.
14515 Run feedmail-queue-express-hook.
14516 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14517 (feedmail-message-action-help-blat):
14518 Rename from feedmail-queue-send-edit-prompt-help-first.
14519 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14520 Check line-endings. Handle errors better.
14521 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14522 Doc fix. Add debug call.
14523 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14524 Use feedmail-queue-send-edit-prompt-inner.
14525 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14526 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14527 from feedmail-queue-send-edit-prompt.
14528 (feedmail-queue-send-edit-prompt-help)
14529 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14530 (feedmail-tidy-up-slug): Add debug call.
14531 Respect feedmail-queue-slug-suspect-regexp.
14532 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14533 (feedmail-dump-message-to-queue): Add debug call.
14534 Expand queue-directory.
14535 (feedmail-dump-message-to-queue): Change message slightly.
14536 Use feedmail-say-chatter.
14537 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14538 (feedmail-send-it-immediately-wrapper): New function.
14539 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14540 Insert empty string rather than newline. Handle full-frame case.
14541 Use catch/throw. Use feedmail-say-chatter.
14542 (feedmail-fiddle-from): Try mail-host-address.
14543 (feedmail-default-message-id-generator): Doc fix.
14544 Bind system-time-locale. Handle missing end.
14545 (feedmail-fiddle-x-mailer): Add debug call.
14546 Handle feedmail-x-mailer-line being nil.
14547 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14548 Add debug call. Use buffer-substring-no-properties.
14549 (feedmail-say-debug, feedmail-say-chatter): New functions.
14550 (feedmail-find-eoh): Give an explicit error.
14551
42c7e61e
UJ
145522011-05-13 Ulf Jasper <ulf.jasper@web.de>
14553
c2571358 14554 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14555 family from helvetica to sans.
c2571358 14556 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14557 etc/images/newsticker.
14558
c2571358 14559 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14560 family from helvetica to sans.
14561
14562 * net/newst-plainview.el (newsticker-new-item-face)
14563 (newsticker-old-item-face, newsticker-immortal-item-face)
14564 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14565 (newsticker-statistics-face): Change default family from
42c7e61e 14566 helvetica to sans.
c2571358 14567 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14568 etc/images/newsticker.
14569
5d3385a0
JB
14570 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14571 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14572 auto-marking.
14573
8497a297
DV
145742011-05-13 Didier Verna <didier@xemacs.org>
14575
14576 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14577 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14578 TODO entries.
8497a297
DV
14579 (lisp-lambda-list-keyword-parameter-indentation)
14580 (lisp-lambda-list-keyword-parameter-alignment)
14581 (lisp-lambda-list-keyword-alignment): New customizable user options.
14582 (lisp-indent-defun-method): Improve docstring.
14583 (extended-loop-p): Fix comment.
14584 (lisp-indent-lambda-list-keywords-regexp): New variable.
14585 (lisp-indent-lambda-list): New function.
14586 (lisp-indent-259): Use it.
14587 (lisp-indent-defmethod): Support for more than one
14588 method qualifier and properly indent methods lambda-lists.
14589 (defgeneric): Provide a missing common-lisp-indent-function property.
14590
f278f87f
SM
145912011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14592
14593 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14594 bounds for the empty string (bug#8667).
14595
5233edd7
GM
145962011-05-13 Glenn Morris <rgm@gnu.org>
14597
5237a44f
GM
14598 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14599
8340026c 14600 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14601 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14602
5233edd7 14603 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14604 (appt-time-msg-list): Doc fix.
a5464014 14605 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14606
92d10796
AS
146072011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14608
14609 * progmodes/ld-script.el (ld-script-keywords)
14610 (ld-script-builtins): Update keywords list.
14611
914a0ae1
SM
146122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14613
c89be45f
SM
14614 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14615
914a0ae1
SM
14616 * shell.el (shell-completion-vars): New function.
14617 (shell-mode):
14618 * simple.el (read-shell-command): Use it.
14619 (blink-matching-open): No need for " [...]" in minibuffer-message.
14620
98dc3df3
GM
146212011-05-12 Glenn Morris <rgm@gnu.org>
14622
14623 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14624 (appt-check): Simplify.
14625
d2fc7e3d 146262011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14627
4d61f28d 14628 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14629 literal "/dev/null".
14630
d2fc7e3d 146312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14632
14633 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14634 Fix typo.
14635
d2fc7e3d 146362011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14637
3f254caa
SM
14638 * progmodes/which-func.el (which-function):
14639 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14640 which might not be defined (Bug#8260).
14641
d45885f7
GM
146422011-05-12 Glenn Morris <rgm@gnu.org>
14643
14644 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14645 Let byte-compile-initial-macro-environment always take precedence.
14646
488086f4
SM
146472011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14648
14649 * net/rcirc.el: Add support for SSL/TLS connections.
14650 (rcirc-server-alist): New field `encryption'.
14651 (rcirc): Check `encryption' settings.
14652 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14653 Merge make-local-variable into `set'.
14654 (rcirc--connection-open-p): New function.
14655 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14656 the process is not a network process (e.g. running gnutls-cli).
14657 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14658 Make rcirc-(en|de)code-coding-system local here.
14659 (rcirc-mode): Merge make-local-variable into `set'.
14660 (rcirc-parent-buffer): Make permanent buffer-local.
14661 (rcirc-multiline-minor-mode): Don't do it here.
14662 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14663 there's no server buffer.
14664
7d3b9d44
GM
146652011-05-11 Glenn Morris <rgm@gnu.org>
14666
f64049c6
GM
14667 * newcomment.el (comment-kill): Prefix "unused" local.
14668
93c9df73
GM
14669 * term/w32console.el (get-screen-color): Declare.
14670
7d3b9d44
GM
14671 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14672 Handle symbol elements of byte-compile-initial-macro-environment.
14673
9e2dd53f
LL
146742011-05-10 Leo Liu <sdl.web@gmail.com>
14675
488086f4
SM
14676 * bookmark.el (bookmark-bmenu-mode-map):
14677 Bind bookmark-bmenu-search to `/'.
8b340240 14678
9e2dd53f 14679 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14680 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14681 (Footnote-unicode): New function.
14682 (footnote-style-alist): Add unicode style to the list.
14683 (footnote-style): Doc fix.
9e2dd53f 14684
79b70037
GM
146852011-05-10 Jim Meyering <meyering@redhat.com>
14686
14687 Fix doubled-word typos.
14688 * international/quail.el (quail-insert-kbd-layout): and and -> and
14689 * kermit.el: and and -> and
14690 * net/ldap.el (ldap-search-internal): to to -> to
14691 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14692 * progmodes/js.el (js-mode): and and -> and
14693 * textmodes/artist.el (artist-move-to-xy): at at -> at
14694 (artist-draw-region-trim-line-endings): if if -> if
14695 And Safetyc -> Safety.
14696 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14697
b8f82dc1 146982011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14699 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14700
14701 * files.el (hack-one-local-variable-eval-safep):
14702 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14703
4f99f44b
GM
147042011-05-10 Glenn Morris <rgm@gnu.org>
14705
14706 * calendar/diary-lib.el (diary-list-entries-hook)
14707 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14708 (diary-nongregorian-marking-hook, diary-list-entries)
14709 (diary-include-other-diary-files, diary-mark-entries)
14710 (diary-mark-included-diary-files): Doc fixes.
14711
84f29e6b
JB
147122011-05-09 Juanma Barranquero <lekktu@gmail.com>
14713
14714 * misc.el: Require tabulated-list.el during compilation.
14715
9bedd73a
CY
147162011-05-09 Chong Yidong <cyd@stupidchicken.com>
14717
488086f4
SM
14718 * progmodes/compile.el (compilation-start):
14719 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14720 (compilation-filter-hook): Doc fix.
14721
797c735c
DD
147222011-05-09 Deniz Dogan <deniz@dogan.se>
14723
14724 * wdired.el: Remove outdated installation comment. Fix usage
14725 comment.
14726
5f4b1dfe
JB
147272011-05-09 Juanma Barranquero <lekktu@gmail.com>
14728
14729 * misc.el: Implement new command `list-dynamic-libraries'.
14730 (list-dynamic-libraries--loaded-only-p): New variable.
14731 (list-dynamic-libraries--refresh): New function.
14732 (list-dynamic-libraries): New command.
14733
4c44026c
CY
147342011-05-09 Chong Yidong <cyd@stupidchicken.com>
14735
488086f4
SM
14736 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14737 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14738 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14739 higher priority to avoid clobbering by gnu.
14740
027f966d
CY
147412011-05-08 Chong Yidong <cyd@stupidchicken.com>
14742
14743 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14744 if the face has existing theme settings (Bug#8454).
14745
085f5d7d
CY
147462011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14747
488086f4
SM
14748 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14749 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14750
2a86a00c
RS
14751 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14752 special file names `.' and `..' (Bug#8259).
14753
d9c54a06
CY
147542011-05-08 Chong Yidong <cyd@stupidchicken.com>
14755
488086f4
SM
14756 * progmodes/grep.el (grep-mode-font-lock-keywords):
14757 Remove buffer-changing entries.
d9c54a06
CY
14758 (grep-filter): New function.
14759 (grep-mode): Add it to compilation-filter-hook.
14760
14761 * progmodes/compile.el (compilation-filter-hook)
14762 (compilation-filter-start): New defvars.
14763 (compilation-filter): Call compilation-filter-hook prior to
14764 updating the process mark.
14765
c4662635
SM
147662011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14767
14768 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14769
b0512a1d
EZ
147702011-05-07 Eli Zaretskii <eliz@gnu.org>
14771
605c9376
EZ
14772 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14773 mailclient-send-it even if window-system is nil. (Bug#8595)
14774
c4662635
SM
14775 * term/w32console.el (terminal-init-w32console):
14776 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14777 background-mode. (Bug#8597)
14778
d1dc2cc2
SM
147792011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14782 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14783 New functions.
14784 (defgeneric, eieio--defmethod): Use them.
14785 (eieio-defgeneric): Remove.
14786 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14787
915d1300
GM
147882011-05-07 Glenn Morris <rgm@gnu.org>
14789
a3961c3e
GM
14790 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14791 Use let rather than let*.
14792 (timeclock-find-discrep): Remove unused local.
14793
314347b9
GM
14794 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14795
915d1300
GM
14796 * calendar/appt.el (appt-time-msg-list): Doc fix.
14797
275b59b0
NF
147982011-05-06 Noah Friedman <friedman@splode.com>
14799
14800 * apropos.el (apropos-print-doc): Only use
14801 emacs-lisp-docstring-fill-column when it is bound to an integer,
14802 per that variable's documentation.
14803
6c19f744
SM
148042011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14807 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14808
60f884b2
GM
148092011-05-06 Glenn Morris <rgm@gnu.org>
14810
5006e634
GM
14811 * calendar/appt.el (appt-message-warning-time): Doc fix.
14812 (appt-warning-time-regexp): New option.
14813 (appt-make-list): Respect appt-message-warning-time.
14814
548d0a63
GM
14815 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14816 New options.
14817 (diary-add-to-list): Strip comments from the displayed string.
14818 (diary-mode): Set comment-start and comment-end.
14819
60f884b2
GM
14820 * vc/diff-mode.el (smerge-refine-subst): Declare.
14821 (diff-refine-hunk): Don't require smerge-mode when compiling.
14822
989681bb
JB
148232011-05-06 Juanma Barranquero <lekktu@gmail.com>
14824
14825 * simple.el (list-processes): Return nil as the docstring says.
14826
a6bc05e1
MA
148272011-05-05 Michael Albinus <michael.albinus@gmx.de>
14828
14829 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14830 to "".
14831 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14832 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14833 determining of binary transfer. (Bug#7383)
14834
23c22e9a
MA
148352011-05-05 Michael Albinus <michael.albinus@gmx.de>
14836
c4662635
SM
14837 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14838 Fix port computation bug. (Bug#8618)
23c22e9a 14839
0bff894f
GM
148402011-05-05 Glenn Morris <rgm@gnu.org>
14841
b8296902
GM
14842 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14843
1f522ce8
GM
14844 * simple.el (shell-dynamic-complete-functions)
14845 (comint-dynamic-complete-functions): Declare.
14846
cf5bee67
GM
14847 * net/network-stream.el (gnutls-negotiate):
14848 * simple.el (tabulated-list-print): Fix declarations.
14849
14850 * progmodes/gud.el (syntax-symbol, syntax-point):
14851 Remove unnecessary and incorrect declarations.
14852
0bff894f
GM
14853 * emacs-lisp/check-declare.el (check-declare-scan):
14854 Handle byte-compile-initial-macro-environment in bytecomp.el
14855
9869b3ae
SM
148562011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14857
14858 Fix earlier half-done eieio-defmethod change (bug#8338).
14859 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14860 Streamline and change calling convention.
14861 (defmethod): Adjust accordingly and simplify.
14862 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14863 new eieio--defmethod.
14864 (slot-boundp): Minor CSE simplification.
14865
9c1d5ac5
MZ
148662011-05-05 Milan Zamazal <pdm@zamazal.org>
14867
14868 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14869 (glasses-make-readable): Use glasses-separate-capital-groups.
14870
455c834e
JB
148712011-05-05 Juanma Barranquero <lekktu@gmail.com>
14872
14873 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14874 (warning-series): Doc fix.
14875 (display-warning): Don't try to create the buffer if we just found it.
14876
9ed7c8cb
CY
148772011-05-04 Chong Yidong <cyd@stupidchicken.com>
14878
14879 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14880 (autoload-find-generated-file): New function.
14881 (generate-file-autoloads): Bind generated-autoload-file to
14882 buffer-file-name.
9869b3ae
SM
14883 (update-file-autoloads, update-directory-autoloads):
14884 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14885 output file (Bug#7989).
14886 (batch-update-autoloads): Doc fix.
14887
0898ca10
JB
148882011-05-04 Juanma Barranquero <lekktu@gmail.com>
14889
14890 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14891
31dfb76c
GM
148922011-05-04 Glenn Morris <rgm@gnu.org>
14893
f330b642
GM
14894 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14895 function, so it follows changes in calendar-date-style.
14896 (diary-fancy-date-matcher): New function.
14897 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14898 (diary-fancy-font-lock-fontify-region-function):
14899 Use diary-fancy-date-pattern as a function.
14900
31dfb76c
GM
14901 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14902 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14903
48e79d6a
TZ
149042011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14905
14906 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14907 instead of positional arguments. Allow :keylist and :crlfiles
14908 arguments.
14909 (open-gnutls-stream): Call it.
14910
14911 * net/network-stream.el (network-stream-open-starttls): Adjust to
14912 call `gnutls-negotiate' with :process and :hostname arguments.
14913
dd5a5ee0
SM
149142011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14915
ef80fc09
SM
14916 * minibuffer.el (completion--message): New function.
14917 (completion--do-completion, minibuffer-complete)
14918 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14919 (completion--do-completion): Don't ignore completion-auto-help when in
14920 icomplete-mode.
14921
dd5a5ee0
SM
14922 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14923 internal encoding (e.g. tibetan zero is not whitespace).
14924 (global-whitespace-mode): Prefer save-current-buffer.
14925 (whitespace-trailing-regexp): Remove useless save-match-data.
14926 (whitespace-empty-at-bob-regexp): Minor simplification.
14927
b7d22a83
CY
149282011-05-03 Chong Yidong <cyd@stupidchicken.com>
14929
14930 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14931
5192af46
AM
149322011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14933
14934 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14935 Use `concat' to create string for insertion.
5192af46 14936
5767d190
SM
149372011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14938
14939 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14940 Avoid open-line which runs post-self-insert-hook.
14941 (bibtex-fill-entry): Remove unused `end' var.
14942
bf242939
AM
149432011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14944
5767d190
SM
14945 * textmodes/ispell.el (ispell-add-per-file-word-list):
14946 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14947
25666126
LL
149482011-05-03 Leo Liu <sdl.web@gmail.com>
14949
14950 * isearch.el (isearch-yank-pop): New command.
5767d190 14951 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14952 (isearch-forward): Mention it.
14953
52d3c2d0
SM
149542011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14955
1bcace58
SM
14956 * simple.el (minibuffer-complete-shell-command): Remove.
14957 (minibuffer-local-shell-command-map): Use completion-at-point.
14958 (read-shell-command): Setup completion vars here instead.
14959 (read-expression-map): Bind TAB to symbol completion.
14960
52d3c2d0
SM
14961 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14962 error directly rather via storing it into `results'.
14963
35813471
LL
149642011-05-02 Leo Liu <sdl.web@gmail.com>
14965
14966 * vc/diff.el: Fix description.
14967
e793a940
LMI
149682011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14969
14970 * server.el (server-eval-at): New function.
14971
8de66e05
LMI
149722011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14973
14974 * net/network-stream.el (open-network-stream): Take a :nowait
14975 parameter and pass it on to `make-network-process'.
14976 (network-stream-open-plain): Ditto.
14977
dcb79f20
AS
149782011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14979
14980 * faces.el (face-spec-set-match-display): Don't match toolkit
14981 options on terminal frames.
14982
14a7fbd8
SM
149832011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14984
7eabc1be
SM
14985 * progmodes/pascal.el: Use lexical binding.
14986 (pascal-mode-map): Remove author preferences.
14987
14a7fbd8
SM
14988 * pcomplete.el (pcomplete-std-complete): Don't abuse
14989 completion-at-point.
14990
50f84510
JB
149912011-04-28 Juanma Barranquero <lekktu@gmail.com>
14992
6e087a44
JB
14993 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
14994 removing code that has been dead since 1991 or so.
14995
50f84510
JB
14996 * startup.el (command-line): When warning about "_emacs", use a
14997 delayed warning to allow the user to filter it out.
14998
0ba690bd
DD
149992011-04-28 Deniz Dogan <deniz@dogan.se>
15000
15001 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15002 user has not joined.
15003
08abfaad
SM
150042011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15005
15006 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15007 aren't any completions at point.
15008
638f053a
JB
150092011-04-28 Juanma Barranquero <lekktu@gmail.com>
15010
15011 * subr.el (display-delayed-warnings): New function.
15012 (delayed-warnings-hook): New variable.
15013
8fff8daa
SM
150142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15015
08abfaad
SM
15016 * minibuffer.el (completion-at-point, completion-help-at-point):
15017 Don't presume that a given completion-at-point-function will always
15018 use the same calling convention.
15019
8fff8daa
SM
15020 * pcomplete.el (pcomplete-completions-at-point):
15021 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15022 pcomplete-seen is non-nil.
15023 (pcomplete-comint-setup): Also recognize the new comint/shell
15024 completion functions.
15025 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15026 pcomplete-seen is non-nil.
15027
841a1577 150282011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15029
841a1577 15030 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15031 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15032 the first character in the entry. This allows for code to add its
211ec907
UJ
15033 own uid to the entry.
15034 (icalendar--convert-float-to-ical): Add export of
15035 `diary-float'-entries save for those with the optional DAY
15036 argument.
15037
2a782793
DC
150382011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15039
15040 * subr.el (shell-quote-argument): Use alternate escaping strategy
15041 when we spot a variable reference in a string.
15042
0438ce91
DC
150432011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15044
15045 * cus-start.el (all): Define customization for debug-on-event.
15046
841a1577 150472011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15048
15049 * subr.el (shell-quote-argument): Escape correctly under Windows.
15050
d090ed6c
SM
150512011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15052
15053 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15054
bfd31217
MA
150552011-04-25 Michael Albinus <michael.albinus@gmx.de>
15056
d090ed6c
SM
15057 * net/tramp.el (tramp-process-actions): Add POS argument.
15058 Delete region between POS and (pos).
bfd31217 15059
d090ed6c
SM
15060 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15061 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15062 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15063
15064 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15065 position in `tramp-process-actions' call.
15066
15067 * net/trampver.el: Update release number.
15068
e92f3bd3
SM
150692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15070
850256b5
SM
15071 * custom.el (defcustom): Obey lexical-binding.
15072
e92f3bd3
SM
15073 Fix octave-inf completion problems reported by Alexander Klimov.
15074 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15075 Inherit from octave-mode-syntax-table.
15076 (inferior-octave-mode): Set info-lookup-mode.
15077 (inferior-octave-completion-at-point): New function.
15078 (inferior-octave-complete): Use it and completion-in-region.
15079 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15080 comint-filename-completion.
15081 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15082 symbol elements which shouldn't be word elements.
15083 (octave-font-lock-keywords, octave-beginning-of-defun)
15084 (octave-function-header-regexp): Adjust regexps accordingly.
15085 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15086
cd22b309
JB
150872011-04-25 Juanma Barranquero <lekktu@gmail.com>
15088
15089 * net/gnutls.el (gnutls-errorp): Declare before first use.
15090
8b492194
TZ
150912011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15092
15093 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15094 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15095 default trustfile exists before going to use it. Add missing
5a5fa834 15096 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15097 Reported by Claudio Bley <claudio.bley@gmail.com>.
15098 (open-gnutls-stream): Add usage example.
15099
15100 * net/network-stream.el (network-stream-open-starttls): Give host
15101 parameter to `gnutls-negotiate'.
15102 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15103 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15104
841a1577 151052011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15106
cd22b309
JB
15107 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15108 Use correct match group (bug#8438).
05842630 15109
3ba7869c
CY
151102011-04-24 Chong Yidong <cyd@stupidchicken.com>
15111
512e3ae1
CY
15112 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15113 (package-menu--generate): New arg specifying packages to show.
15114 (package-menu-refresh, package-menu-execute, list-packages):
15115 Callers changed.
15116 (package-show-package-list): New function, replacing deleted
15117 package--list-packages (renamed because it is non-internal).
15118
15119 * finder.el (finder-list-matches): Use package-show-package-list
15120 instead of deleted package--list-packages.
15121
e92f3bd3
SM
15122 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15123 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15124 (vc-annotate-mode-map): Bind it to RET.
15125
7031be6d
UR
151262011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15127
15128 * progmodes/etags.el (next-file): Don't use set-buffer to change
15129 buffers (Bug#8478).
15130
4ef177aa
CY
151312011-04-24 Chong Yidong <cyd@stupidchicken.com>
15132
c8d173eb
CY
15133 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15134
4ef177aa
CY
15135 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15136 (apropos-accumulator): Doc fix.
15137 (apropos-function, apropos-macro, apropos-command)
15138 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15139 (apropos-plist): Add face property.
15140 (apropos-symbols-internal): Fix indentation.
15141 (apropos-print): Simplify help, and recognize apropos-multi-type.
15142 (apropos-print-doc): Use button-type-get to extract the button's
15143 face property. Fill docstring (Bug#8352).
15144
4ffd0d6b 151452011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15146
15147 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15148
c6c32125 15149 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15150 (mpuz-mode-map): Use mapc.
c6c32125
JB
15151 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15152 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15153 Fix typos in docstrings.
15154
58d468b4
JB
15155 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15156 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15157
6470c3c6
JB
15158 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15159
4ffd0d6b 151602011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15161
15162 * minibuffer.el (completion--do-completion): Avoid the "Next char
15163 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15164
3ad8bad0
CY
15165 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15166 mouse-2 into unread-command-events, it is interpreted correctly.
15167
71d73c9c 15168 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15169 (image-toggle-display): Doc fix.
71d73c9c 15170
841a1577 151712011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15172
4ffd0d6b
GM
15173 * textmodes/page.el (what-page): Use line-number-at-pos to
15174 calculate line number (Bug#6825).
6e1dbaa9 15175
c2fb1b60
JB
151762011-04-22 Juanma Barranquero <lekktu@gmail.com>
15177
15178 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15179 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15180 Pass argument NO-DEFAULT to `find-tag-interactive'.
15181
e02f48d7
JB
151822011-04-22 Juanma Barranquero <lekktu@gmail.com>
15183
15184 Lexical-binding cleanup.
15185
15186 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15187 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15188 * progmodes/ada-prj.el (ada-prj-initialize-values)
15189 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15190 (ada-prj-show-value):
15191 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15192 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15193 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15194 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15195 * progmodes/bug-reference.el (bug-reference-push-button):
15196 * progmodes/fortran.el (fortran-line-length):
15197 * progmodes/glasses.el (glasses-change):
15198 * progmodes/octave-mod.el (octave-fill-paragraph):
15199 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15200 (python-pdbtrack-grub-for-buffer, python-sentinel):
15201 * progmodes/sql.el (sql-save-connection):
15202 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15203 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15204 Mark unused parameters.
15205
15206 * progmodes/compile.el (compilation--flush-directory-cache)
15207 (compilation--flush-parse, compile-internal): Mark unused parameters.
15208 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15209 (compilation-next-error-function): Remove unused variable `timestamp'.
15210
15211 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15212 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15213
15214 * progmodes/dcl-mode.el (dcl-end-of-command):
15215 Remove unused variable `start'.
15216 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15217 (dcl-option-value-basic, dcl-option-value-offset)
15218 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15219 Mark unused parameters.
15220 (dcl-save-local-variable): Remove unused variable `val'.
15221 (mode): Declare.
15222
15223 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15224 Mark unused parameters.
15225 (delphi-ignore-changes): Move before first use.
15226 (delphi-charset-token-at): Remove unused variable `start'.
15227 (delphi-else-start): Remove unused variable `if-count'.
15228 (delphi-comment-block-start, delphi-comment-block-end):
15229 Remove unused variable `kind'.
15230 (delphi-indent-line): Remove unused variable `new-point'.
15231
15232 * progmodes/ebrowse.el (ebrowse-files-list)
15233 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15234 Mark unused parameters. Don't quote `lambda'.
15235 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15236 Don't quote `lambda'.
15237 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15238 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15239 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15240 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15241 Use `ignore-errors'.
15242 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15243 (ebrowse-view/find-file-and-search-pattern)
15244 (ebrowse-view/find-member-declaration/definition):
15245 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15246 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15247 Rename parameter PREFIX-ARG to PREFIX.
15248 (ebrowse-tags-read-name): Remove unused variables `start' and
15249 `member-info'.
15250 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15251 to `tags-file'.
15252
15253 * progmodes/etags.el (local-find-tag-hook): Declare.
15254 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15255 Mark unused parameters.
15256
15257 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15258 (executable-interpret): Mark unused parameter.
15259
15260 * progmodes/flymake.el (flymake-process-sentinel)
15261 (flymake-after-change-function)
15262 (flymake-create-temp-with-folder-structure)
15263 (flymake-get-include-dirs-dot): Mark unused parameters.
15264 (flymake-safe-delete-directory): Remove unused variable `err'.
15265
15266 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15267 (speedbar-timer-fn, speedbar-line-text)
15268 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15269 (speedbar-center-buffer-smartly): Declare functions.
15270 (gdb-find-watch-expression): Remove unused variable `array'.
15271 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15272 (gdb-starting): Mark unused parameters.
15273 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15274 (gdb-table-string): Remove unused variable `res'.
15275 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15276 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15277 (gdb-display-buffer): Remove unused variable `cur-size'.
15278
15279 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15280 allow lexical-binding compilation.
15281 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15282 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15283 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15284 Mark unused parameters.
15285 (gud-gdb-marker-filter): Remove unused variable `match'.
15286 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15287 lambda expressions and funcall them, instead of using `fset'.
15288
15289 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15290 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15291
15292 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15293 variable `header-beg'; use `let'.
15294
15295 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15296 `restart', `last-sexp' and `at-do'.
15297
15298 * progmodes/js.el (js--debug): Mark unused parameter.
15299 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15300 (js--splice-into-items): Remove unused variable `item'.
15301 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15302
15303 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15304 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15305 (makefile-complete): Remove unused variable `try'.
15306 (makefile-fill-paragraph, makefile-match-function-end):
15307 Mark unused parameters.
15308
15309 * progmodes/octave-inf.el (inferior-octave-complete):
15310 Remove unused variable `proc'.
15311 (inferior-octave-output-digest): Mark unused parameter.
15312
15313 * progmodes/perl-mode.el (perl-calculate-indent):
15314 Remove unused variable `err'.
15315
15316 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15317 (prolog-indent-line): Mark unused parameters.
15318 (prolog-indent-line): Remove unused variable `beg'.
15319
15320 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15321 (reporter-dont-compact-list): Declare.
15322
15323 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15324 Remove unused variable `char'.
15325 (sh-debug): Mark unused parameter.
15326 (sh-get-indent-info): Remove unused variable `start'.
15327 (sh-calculate-indent): Remove unused variable `var'.
15328
15329 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15330 (simula-electric-keyword): Remove unused variable `null'.
15331 (simula-search-backward, simula-search-forward): Remove unused
15332 variables `begin' and `end'.
15333
15334 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15335 Remove unused variable `pos'.
15336 (vera-electric-tab, vera-comment-uncomment-region):
15337 Mark unused parameters.
15338 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15339
7ede3b65
CY
153402011-04-22 Chong Yidong <cyd@stupidchicken.com>
15341
15342 * emacs-lisp/package.el (package--builtins, package-alist)
15343 (package-load-descriptor, package-built-in-p, package-activate)
15344 (define-package, package-installed-p)
15345 (package-compute-transaction, package-buffer-info)
15346 (package--push): Doc fix. Distinguish more clearly between
15347 version strings and version lists.
15348
121656e9
JB
153492011-04-21 Juanma Barranquero <lekktu@gmail.com>
15350
15351 Lexical-binding cleanup.
15352
15353 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15354 (5x5-make-mutate-best):
15355 * play/fortune.el (fortune-in-buffer):
15356 * play/gomoku.el (gomoku-init-display):
15357 * play/solitaire.el (solitaire, solitaire-do-check):
15358 * play/tetris.el (tetris-default-update-speed-function):
15359 Mark unused parameters.
15360
15361 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15362 (bubbles--shift): Remove unused variable `char-org'.
15363 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15364 (bubbles--show-images): Remove unused variable `char'.
15365
15366 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15367 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15368 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15369 (decipher-analyze-buffer): Use ?\s.
15370 (decipher-make-checkpoint): Remove unused variable `mapping'.
15371
15372 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15373
15374 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15375 Remove unused variable `result'; use `let'.
15376
15377 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15378 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15379 (gametree-children-shown-p, gametree-compute-reduced-score):
15380 Use `ignore-errors'.
15381
15382 * play/handwrite.el (ps-lpr-switches): Declare.
15383 (handwrite): Remove unused variables `pmin' and `lastp'.
15384
15385 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15386
15387 * play/landmark.el (landmark-init-display)
15388 (landmark-update-naught-weights): Mark unused parameters.
15389 (landmark-y): Remove unused variable `noise'. Simplify.
15390 (landmark-human-plays): Remove unused variable `score'.
15391
15392 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15393 (mpuz-try-proposal): Remove unused variable `game'.
15394
15395 * play/zone.el (life-patterns): Declare.
15396
80f499c7
JB
153972011-04-20 Juanma Barranquero <lekktu@gmail.com>
15398
15399 * vc/vc.el (ediff-vc-internal): Declare function.
15400
024ff170
SM
154012011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15402
c0a193ea
SM
15403 * shell.el: Use lexical-binding and std completion UI.
15404 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15405 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15406 comint-preoutput-filter-functions rather than on
15407 comint-output-filter-functions.
15408 (shell-command-completion, shell--command-completion-data)
15409 (shell-filename-completion, shell-environment-variable-completion)
15410 (shell-c-a-p-replace-by-expanded-directory): New functions.
15411 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15412 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15413 (shell-dynamic-complete-environment-variable): Use them.
15414 (shell-dynamic-complete-as-environment-variable)
15415 (shell-dynamic-complete-as-command): Remove.
15416 (shell-match-partial-variable): Match past point.
15417 * comint.el: Clean up use of completion-at-point-functions.
15418 (comint-completion-at-point): New function.
15419 (comint-mode): Use it completion-at-point-functions.
15420 (comint-dynamic-complete): Make it obsolete.
15421 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15422 (comint-c-a-p-replace-by-expanded-history): New function.
15423 (comint-dynamic-complete-functions)
15424 (comint-replace-by-expanded-history): Use it.
15425 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15426 termination strings. Try harder to avoid second try-completion.
15427 (completion-in-region-mode-map): Disable bindings that don't work yet.
15428
2dbaa080
SM
15429 * comint.el: Use lexical-binding. Require CL.
15430 (comint-dynamic-complete-functions): Use comint-filename-completion.
15431 (comint-completion-addsuffix): Tweak custom type.
15432 (comint-filename-completion, comint--common-suffix)
15433 (comint--common-quoted-suffix, comint--table-subvert)
15434 (comint--complete-file-name-data): New functions.
15435 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15436 (comint-dynamic-list-filename-completions): Use them.
15437 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15438
2dbaa080
SM
15439 * minibuffer.el (completion-in-region-mode):
15440 Keep completion-in-region-mode--predicate global.
15441 (completion-in-region--postch):
15442 Assume completion-in-region-mode--predicate is not null.
15443
c79a6f38
SM
15444 * progmodes/flymake.el (flymake-start-syntax-check-process):
15445 Obey `dir'. Simplify.
15446
024ff170
SM
15447 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15448 we're in VC after all.
15449
1c6c854e
CS
154502011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15451
15452 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15453 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15454 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15455
bed7f140
SM
154562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15457
332e62ab
SM
15458 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15459 add sanity check.
15460
bed7f140
SM
15461 * obsolete/erc-hecomplete.el: Make obsolete.
15462 * obsolete/: Standardize obsolescence info in the header.
15463
f195c582
GM
154642011-04-20 Glenn Morris <rgm@gnu.org>
15465
15466 * calendar/solar.el (solar-horizontal-coordinates):
15467 Use the longitude argument rather than `calendar-longitude'.
15468 (solar-date-next-longitude): Remove unused locals.
15469
cb79b8c0
VJL
154702011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15471
15472 * whitespace.el: New version 13.2.1.
15473
154742011-04-20 felix <EmacsWiki> (tiny change)
15475
d8e4b68b 15476 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15477 switching between major modes on a file.
15478
602ea69d
SM
154792011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15482 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15483 multi-line comments as well.
15484
06b60517
JB
154852011-04-19 Juanma Barranquero <lekktu@gmail.com>
15486
15487 Lexical-binding cleanup.
15488
15489 * arc-mode.el (archive-mode-revert):
15490 * cmuscheme.el (scheme-interactively-start-process):
15491 * custom.el (custom-initialize-delay):
15492 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15493 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15494 * emacs-lock.el (emacs-lock-clear-sentinel):
15495 * ezimage.el (defezimage):
15496 * follow.el (follow-avoid-tail-recenter):
15497 * fringe.el (set-fringe-mode-1):
15498 * generic-x.el (bat-generic-mode-compile):
15499 * help-mode.el (help-info-variable, help-do-xref)
15500 (help-mode-revert-buffer):
15501 * help.el (view-emacs-todo):
15502 * iswitchb.el (iswitchb-completion-help):
15503 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15504 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15505 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15506 * locate.el (locate-update):
15507 * longlines.el (longlines-encode-region)
15508 (longlines-after-change-function):
15509 * outline.el (outline-isearch-open-invisible):
15510 * ps-def.el (declare-function, charset-dimension, char-width)
15511 (encode-char):
15512 * ps-mule.el (ps-mule-plot-string):
15513 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15514 (recentf-edit-list-select, recentf-edit-list-validate)
15515 (recentf-open-files-action):
15516 * rect.el (delete-whitespace-rectangle-line)
15517 (rectangle-number-line-callback):
15518 * register.el (window-configuration-to-register)
15519 (frame-configuration-to-register):
15520 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15521 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15522 (xselect-convert-to-targets, xselect-convert-to-delete)
15523 (xselect-convert-to-filename, xselect-convert-to-charpos)
15524 (xselect-convert-to-lineno, xselect-convert-to-colno)
15525 (xselect-convert-to-os, xselect-convert-to-host)
15526 (xselect-convert-to-user, xselect-convert-to-class)
15527 (xselect-convert-to-name, xselect-convert-to-integer)
15528 (xselect-convert-to-atom, xselect-convert-to-identity):
15529 * subr.el (declare, ignore, process-kill-without-query)
15530 (text-clone-maintain):
15531 * terminal.el (te-get-char, te-tic-sentinel):
15532 * tool-bar.el (tool-bar-make-keymap):
15533 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15534 * type-break.el (type-break-mode, type-break-noninteractive-query):
15535 * view.el (View-back-to-mark):
15536 * wid-browse.el (widget-browse-action, widget-browse-widget)
15537 (widget-browse-widgets, widget-browse-sexp):
15538 * widget.el (define-widget-keywords):
15539 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15540 Mark unused parameters.
15541
15542 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15543 (align-areas): Remove unused variable `look'.
15544 (align-region): Remove unused variables `real-end' and `pos-list'.
15545
15546 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15547
15548 * bindings.el (mode-line-modified, mode-line-remote):
15549 Mark unused parameters.
15550 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15551
15552 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15553 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15554
15555 * comint.el (comint-history-isearch-pop-state)
15556 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15557 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15558 (comint-substitute-in-file-name): Doc fix.
15559
15560 * completion.el (cmpl-statistics-block): Mark unused parameter.
15561 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15562 (save-completions-to-file, load-completions-from-file):
15563 Remove unused local variable `e'.
15564
15565 * composite.el (compose-chars): Remove unused variable `len'.
15566 (lgstring-insert-glyph): Remove unused variable `g'.
15567 (compose-glyph-string): Remove unused variables `ascent',
15568 `descent', `lbearing' and `rbearing'.
15569 (compose-glyph-string-relative): Remove unused variables
15570 `lbearing', `rbearing' and `wadjust'.
15571 (compose-gstring-for-graphic): Remove unused variables `header',
15572 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15573 (compose-gstring-for-terminal): Remove unused variables `header'
15574 and `nchars'. Use `let', not `let*'.
15575
15576 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15577 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15578 (Custom-buffer-done, custom-buffer-create-internal)
15579 (custom-browse-visibility-action, custom-browse-group-tag-action)
15580 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15581 (widget-magic-mouse-down-action, custom-toggle-parent)
15582 (custom-add-parent-links, custom-toggle-hide-variable)
15583 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15584 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15585 (custom-face-menu-create, custom-variable-menu-create, get)
15586 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15587 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15588 (customize-apropos): Remove unused variable `tests'.
15589 (custom-group-value-create): Remove unused variable `hidden-p'.
15590 (sort-fold-case): Declare.
15591
15592 * cus-theme.el (custom-reset-standard-faces-list)
15593 (custom-reset-standard-variables-list): Declare.
15594 (customize-create-theme, custom-theme-revert, custom-theme-write)
15595 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15596 Mark unused parameters.
15597
15598 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15599
15600 * delim-col.el (delimit-columns-max): Move defvar before first use.
15601
15602 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15603 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15604
15605 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15606 (auto-insert): Declare.
15607 (desktop-restore-file-buffer): Rename desktop-* parameters;
15608 mark unused ones.
15609 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15610 (desktop-buffer): Rename desktop-* parameters.
15611
15612 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15613 (dframe-reposition-frame-xemacs, dframe-help-echo)
15614 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15615 Mark unused parameters.
15616
15617 * dired-aux.el (backup-extract-version-start, overwrite-query)
15618 (overwrite-backup-query, rename-regexp-query)
15619 (rename-non-directory-query): Declare.
15620 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15621 (dired-add-entry): Remove unused variable `orig-file-name'.
15622 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15623 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15624 `dired-copy-preserve-time' directly.
15625 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15626 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15627
15628 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15629 (dired-virtual-revert, dired-make-relative-symlink):
15630 Mark unused parameters.
15631 (manual-program): Declare.
15632 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15633 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15634 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15635
15636 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15637
15638 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15639
15640 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15641 Declare.
15642
15643 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15644
15645 * electric.el (Electric-command-loop): Rename parameter
15646 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15647
15648 * expand.el (expand-in-literal): Remove unused variable `here'.
15649
15650 * facemenu.el (facemenu-add-new-color):
15651 Remove unused variable `docstring'.
15652
15653 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15654 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15655 (face-attr-construct): Mark unused parameter. Doc fix.
15656 (read-color): Remove unused variable `hex-string'.
15657
15658 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15659 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15660 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15661 (display-buffer-other-frame): Remove unused variable `old-window'.
15662 (kill-buffer-hook): Declare.
15663 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15664 Mark unused parameters.
15665 (after-find-file): Pass 1 to `auto-save-mode', not t.
15666
15667 * files-x.el (auto-insert): Declare.
15668 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15669
15670 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15671 variable `buf'. Mark unused parameter.
06b60517
JB
15672 (find-lisp-insert-directory): Mark unused parameter.
15673
15674 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15675 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15676 (format-common-tail): Remove, unused.
15677 (format-deannotate-region): Remove unused variable `loc'.
15678 (format-annotate-region): Remove unused variable `p'.
15679 (format-annotate-single-property-change): Remove unused variables
15680 `default' and `tail'.
15681
15682 * forms.el (read-file-filter): Declare.
15683 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15684
15685 * frame.el (frame-creation-function-alist): Mark unused parameter.
15686 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15687
15688 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15689 Remove unused parameters.
15690 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15691 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15692
15693 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15694 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15695 (hfy-prepare-tag-map): Mark unused parameters.
15696 (htmlfontify-buffer): Use `called-interactively-p'.
15697
15698 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15699 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15700 (ibuffer-do-occur): Mark unused parameters.
15701 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15702 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15703
15704 * ibuffer.el: Don't quote `lambda'.
15705 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15706 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15707 Mark unused parameters.
15708
15709 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15710 (ido-completing-read): Mark unused parameters.
15711 (ido-copy-current-word): Mark unused parameters;
15712 remove unused variable `name'.
15713 (ido-sort-merged-list): Remove unused parameter `dirs'.
15714
15715 * ielm.el (ielm-input-sender): Mark unused parameter.
15716 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15717 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15718 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15719 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15720 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15721
15722 * image-dired.el (image-dired-display-thumbs): Remove unused
15723 variables `curr-file' and `count'.
15724 (image-dired-remove-tag): Remove unused variable `start'.
15725 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15726 variable `curr-file'
15727 (image-dired-rotate-original): Remove unused variable `temp-file'.
15728 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15729 Remove unused variable `file'.
15730 (image-dired-gallery-generate): Remove unused variable `curr'.
15731 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15732
15733 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15734
15735 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15736
15737 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15738
15739 * isearch.el (minibuffer-history-symbol): Declare.
15740 (isearch-edit-string): Remove unused variable `err'.
15741 (isearch-message-prefix, isearch-message-suffix):
15742 Mark unused parameters.
15743
15744 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15745
15746 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15747
15748 * makesum.el (double-column): Remove unused variable `cnt'.
15749
15750 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15751 (ido-ignore-item-temp-list): Declare.
15752
15753 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15754 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15755 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15756 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15757 `mouse-col-delta'.
15758
15759 * mouse-sel.el (mouse-extend-internal):
15760 Remove unused variable `orig-window-frame'.
15761
15762 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15763 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15764 Move declarations before first use.
15765 (pcomplete-opt): Mark unused parameters; doc fix.
15766
15767 * proced.el (proced-revert): Mark unused parameter.
15768 (proced-send-signal): Remove unused variable `err'.
15769
15770 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15771 Rename parameter PREFIX-ARG to ARG.
15772 (ps-basic-plot-string, ps-basic-plot-whitespace):
15773 Mark unused parameters.
15774
15775 * replace.el (replace-count): Define.
15776 (occur-revert-function): Mark unused parameters.
15777 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15778 (isearch-case-fold-search, isearch-string): Declare.
15779 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15780 bind `case-fold-search'. Remove unused variables `beg' and `end',
15781 and simplify.
15782 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15783 COUNT and bind `replace-count'.
15784 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15785 to COUNT.
15786
15787 * savehist.el (print-readably, print-string-length): Declare.
15788
15789 * shadowfile.el (shadow-expand-cluster-in-file-name):
15790 Remove unused variable `cluster'.
15791 (shadow-copy-file): Remove unused variable `i'.
15792 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15793 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15794 (shadow-define-literal-group, shadow-define-regexp-group)
15795 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15796
15797 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15798 (shell): Use `called-interactively-p'.
15799 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15800
15801 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15802 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15803 (delete-backward-char): Remove unused variable `ocol'.
15804 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15805 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15806 (event-apply-hyper-modifier, event-apply-shift-modifier)
15807 (event-apply-control-modifier, event-apply-meta-modifier):
15808 Mark unused parameters.
15809 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15810 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15811
15812 * speedbar.el (speedbar-ignored-directory-expressions)
15813 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15814 (speedbar-find-file, speedbar-dir-follow)
15815 (speedbar-directory-buttons-follow, speedbar-tag-find)
15816 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15817 (speedbar-buffers-line-directory, speedbar-buffer-click):
15818 Mark unused parameters.
15819 (speedbar-tag-file): Remove unused variable `mode'.
15820 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15821
15822 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15823
15824 * talk.el (talk): Remove unused variable `display'.
15825
15826 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15827 (tar-write-region-annotate): Mark unused parameter.
15828
15829 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15830 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15831 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15832 warning by another.
15833
15834 * time-stamp.el (time-stamp-string-preprocess):
15835 Remove unused variable `require-padding'.
15836
15837 * tree-widget.el (widget-glyph-enable): Declare.
15838 (tree-widget-action): Mark unused parameter.
15839
15840 * w32-fns.el (x-get-selection): Mark unused parameter.
15841 (autoload-make-program, generated-autoload-file): Declare.
15842
15843 * wdired.el (wdired-revert): Mark unused parameters.
15844 (wdired-xcase-word): Remove unused variable `err'.
15845
15846 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15847 (whitespace-help-scroll): Remove unused variable `data-help'.
15848
15849 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15850 (widget-image-insert, widget-after-change, default)
15851 (widget-default-format-handler, widget-default-notify)
15852 (widget-default-prompt-value, widget-info-link-action)
15853 (widget-url-link-action, widget-function-link-action)
15854 (widget-variable-link-action, widget-file-link-action)
15855 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15856 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15857 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15858 (widget-insert-button-action, widget-delete-button-action, visibility)
15859 (widget-documentation-link-action, widget-documentation-string-action)
15860 (widget-const-prompt-value, widget-regexp-match, symbol)
15861 (widget-coding-system-prompt-value)
15862 (widget-key-sequence-value-to-external, sexp)
15863 (widget-sexp-value-to-internal, character, vector, cons)
15864 (widget-choice-prompt-value, widget-boolean-prompt-value)
15865 (widget-color--choose-action): Mark unused parameters.
15866 (widget-item-match-inline, widget-choice-match-inline)
15867 (widget-checklist-match, widget-checklist-match-inline)
15868 (widget-group-match): Rename parameter VALUES to VALS.
15869 (widget-field-value-set): Remove unused variable `size'.
15870 (widget-color-action): Remove unused variables `value' and `start'.
15871
15872 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15873 variable `dir'. Doc fix.
06b60517
JB
15874 (windmove-find-other-window): Don't pass it.
15875
15876 * window.el (count-windows): Mark unused parameter.
15877 (bw-adjust-window): Remove unused variable `err'.
15878
15879 * woman.el (woman-file-name): Remove unused variable `default'.
15880 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15881 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15882 (global-font-lock-mode): Declare.
15883 (woman-decode-region): Mark unused parameter.
15884 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15885
15886 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15887 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15888 (x-dnd-handle-moz-url): Remove unused variable `title'.
15889 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15890
15891 * xml.el (xml-parse-tag, xml-parse-attlist):
15892 Remove unused variable `pos'.
15893
bc4f7f3d
GM
158942011-04-19 Glenn Morris <rgm@gnu.org>
15895
15896 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15897 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15898 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15899 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15900 * calendar/cal-html.el (cal-html-insert-minical):
15901 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15902 (calendar-mark-date-pattern):
15903 Prefix "unused" locals.
15904
15905 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15906 optional argument `style'.
15907
15908 * calendar/appt.el (appt-make-list):
15909 * calendar/cal-china.el (calendar-chinese-date-string):
15910 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15911 (diary-hebrew-yahrzeit):
15912 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15913 * calendar/calendar.el (calendar-generate-window):
15914 * calendar/time-date.el (time-to-days):
15915 Remove unused local variables.
15916
16a43933
CY
159172011-04-18 Chong Yidong <cyd@stupidchicken.com>
15918
15919 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15920 glyphless-char-display table.
15921 (tabulated-list-glyphless-char-display): New var.
15922
7eed1860
SS
159232011-04-18 Sam Steingold <sds@gnu.org>
15924
15925 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15926 to acknowledgments.
15927
4d2d1ccd
GM
159282011-04-17 Glenn Morris <rgm@gnu.org>
15929
15930 * calendar/diary-lib.el (diary-sexp-entry):
15931 * calendar/holidays.el (holiday-sexp):
15932 Set debug-on-error rather than the removed stack-trace-on-error.
15933
239da61d
GM
159342011-04-16 Glenn Morris <rgm@gnu.org>
15935
15936 * progmodes/f90.el: Use lexical-binding.
15937 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15938
8b05752a
SM
159392011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15940
daca8ba5
SM
15941 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15942 (mail-mode): Setup mailalias completion here instead.
15943 * mail/mailalias.el: Use lexical-binding.
15944 (pattern, mailalias-done): Declare dynamic.
15945 (mail-completion-at-point-function): New function, from mail-complete.
15946 (mail-complete): Use it.
15947 (mail-completion-expand): New function.
15948 (mail-get-names): Use it.
15949 (mail-directory, mail-directory-process, mail-directory-stream):
15950 Don't use `pattern' for lexically bound arg.
15951
6f542485
SM
15952 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15953
037e7c3f
SM
15954 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15955 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15956 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15957
8b05752a
SM
15958 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15959 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15960 (byte-interactive-p): Define them again, for use when inlining
15961 old code.
15962
49093f60
JB
159632011-04-15 Juanma Barranquero <lekktu@gmail.com>
15964
15965 * loadup.el: Use `string-to-number', not `string-to-int'.
15966
b5b8e7de
SM
159672011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15968
15969 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15970 gud-gdb-complete-command.
15971 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15972 (gud-gdb-completion-at-point): New function.
15973 (gud-gdb-completions): Remove.
15974
f42efeb5
MA
159752011-04-14 Michael Albinus <michael.albinus@gmx.de>
15976
49093f60
JB
15977 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15978 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15979 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15980 whether `executable-find' is bound.
f42efeb5
MA
15981
15982 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15983
e240cc21
SM
159842011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15985
15986 * minibuffer.el (completion-in-region-mode-predicate)
15987 (completion-in-region-mode--predicate): New vars.
15988 (completion-in-region, completion-in-region--postch)
15989 (completion-in-region-mode): Use them.
15990 (completion--capf-wrapper): Also return the hook function.
15991 (completion-at-point, completion-help-at-point):
15992 Adjust and provide a predicate.
c2bd2ab0
SM
15993
15994 Preserve arg names for advice of subr and lexical functions (bug#8457).
15995 * help-fns.el (help-function-arglist): Consolidate the subr and
15996 new-byte-code cases. Add argument `preserve-names' to extract names
15997 from the docstring when needed.
15998 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
15999 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16000 (ad-arglist): Use help-function-arglist's new arg.
16001 (ad-definition-type): Use cond.
16002
c183f693
JB
160032011-04-13 Juanma Barranquero <lekktu@gmail.com>
16004
06641a47
JB
16005 * autorevert.el (auto-revert-handler):
16006 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16007 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16008 Don't quote lambda.
16009
c183f693
JB
16010 * image-mode.el (image-transform-set-scale):
16011 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16012
1e3b6001
G
160132011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16014
16015 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16016 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16017 Upgrades via gnutls-cli are too slow to be done opportunistically.
16018
2d6af8dd
JB
160192011-04-12 Juanma Barranquero <lekktu@gmail.com>
16020
16021 * dframe.el (dframe-current-frame): Remove spurious quote.
16022
c0749a51
GM
160232011-04-12 Glenn Morris <rgm@gnu.org>
16024
088d0d61
GM
16025 * calendar/cal-tex.el (cal-tex-end-document):
16026 Try to automatically use latin1 input if needed.
16027
c0749a51
GM
16028 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16029 Don't try to cons a mark onto an empty element.
16030
5c90fde0
LL
160312011-04-11 Leo Liu <sdl.web@gmail.com>
16032
16033 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16034 buffers.
16035 (ido-kill-buffer-at-head): Support killing virtual buffers.
16036
369e974d
CY
160372011-04-10 Chong Yidong <cyd@stupidchicken.com>
16038
16039 * minibuffer.el (completion-show-inline-help): New var.
16040 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16041 (minibuffer-force-complete, minibuffer-complete-word):
16042 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16043
16044 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16045 to avoid interference from inline help (Bug#5849).
16046
37f1c930
LL
160472011-04-10 Leo Liu <sdl.web@gmail.com>
16048
099c39a4
JB
16049 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16050 Fix typo.
37f1c930 16051
a32d4040
CY
160522011-04-09 Chong Yidong <cyd@stupidchicken.com>
16053
16054 * image-mode.el (image-toggle-display-image): Signal an error if
16055 not in Image mode.
16056 (image-transform-mode, image-transform-resize)
16057 (image-transform-set-rotation): Doc fix.
daca8ba5 16058 (image-transform-set-resize): Delete.
a32d4040
CY
16059 (image-transform-set-scale, image-transform-fit-to-height)
16060 (image-transform-fit-to-width): Handle image-toggle-display-image
16061 and image-transform-resize directly.
16062
099c39a4 160632011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16064
16065 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16066 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16067 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16068 (doc-view-mode-map): Add bindings for the new functions.
16069
099c39a4 160702011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16071
4d61f28d 16072 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16073 Fix typo in docstring.
16074
3726838a
EZ
160752011-04-08 Eli Zaretskii <eliz@gnu.org>
16076
04f33f1e
EZ
16077 * files.el (file-size-human-readable): Produce one digit after
16078 decimal, like "ls -lh" does.
16079
16080 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16081 the file size representation.
16082
3726838a
EZ
16083 * simple.el (list-processes): If async subprocesses are not
16084 available, error out with a clear error message.
16085
cbb59342
CY
160862011-04-08 Chong Yidong <cyd@stupidchicken.com>
16087
16088 * help.el (help-form-show): New function, to be called from C.
16089 Put help-form output in a buffer named differently than *Help*.
16090
e3971c44
EZ
160912011-04-08 Eli Zaretskii <eliz@gnu.org>
16092
16093 * files.el (file-size-human-readable): New function.
16094
16095 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16096 computing the representation inline. Don't require `cl'.
16097
12544bbe
GM
160982011-04-08 Glenn Morris <rgm@gnu.org>
16099
a1de6c6a
GM
16100 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16101
3c4671f4
GM
16102 * net/browse-url.el (browse-url-firefox):
16103 Test system-type, not system-configuration.
16104
b605679c
GM
16105 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16106 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16107 Use log-edit-empty-buffer-p. (Bug#7598)
16108
56442f0c
GM
16109 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16110 (rlogin-mode-map): Initialize in the defvar.
16111 (rlogin): Use ignore-errors.
16112
12544bbe
GM
16113 * replace.el (occur-mode-map): Some fixes for menu items.
16114
eb237b0f
AH
161152011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16116
16117 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16118
7d668f2c
CY
161192011-04-06 Chong Yidong <cyd@stupidchicken.com>
16120
e67a13ab
CY
16121 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16122 issuing unused warnings.
16123
16124 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16125 macro directly.
16126
7d668f2c
CY
16127 * simple.el: Lisp reimplement of list-processes. Based on an
16128 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16129 (process-menu-mode): New major mode.
16130 (list-processes--refresh, list-processes):
16131 (process-menu-visit-buffer): New functions.
16132
16133 * files.el (save-buffers-kill-emacs): Don't assume any return
16134 value of list-processes, which is undocumented anyway.
16135
a83ec3c9
CY
161362011-04-06 Chong Yidong <cyd@stupidchicken.com>
16137
16138 * emacs-lisp/tabulated-list.el: New file.
16139
e91a96fe
CY
16140 * emacs-lisp/package.el: Use Tabulated List mode.
16141 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16142 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16143 table format using Tabulated List mode variables.
16144 (package--push): New macro, replacing package-list-maybe-add.
16145 (package-menu--generate): Use package--push. Renamed from
16146 package--generate-package-list.
16147 (package-menu-refresh, list-packages): Use it.
daca8ba5 16148 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16149 Return insertion data instead of inserting it directly.
099c39a4
JB
16150 (package-menu-describe-package, package-menu-execute):
16151 Use tabulated-list-get-id.
e91a96fe
CY
16152 (package-menu-mark-delete, package-menu-mark-install)
16153 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16154 (package-menu-mark-obsolete-for-deletion):
16155 Use tabulated-list-put-tag.
e91a96fe
CY
16156 (package--list-packages, package-menu-revert)
16157 (package-menu-get-package, package-menu-get-version)
16158 (package-menu-sort-by-column): Functions deleted.
16159 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16160 (package-menu--status-predicate, package-menu--version-predicate)
16161 (package-menu--name-predicate)
16162 (package-menu--description-predicate): Handle arguments in the
16163 Tabulated List format.
16164 (package-list-packages-no-fetch): Call list-packages.
16165
3e214b50
JB
161662011-04-06 Juanma Barranquero <lekktu@gmail.com>
16167
16168 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16169 (after-find-file): Don't bind it.
3e214b50
JB
16170 (revert-buffer-in-progress-p): New variable.
16171 (revert-buffer): Bind it.
16172 Pass nil for `after-find-file-from-revert-buffer'.
16173
16174 * saveplace.el (save-place-find-file-hook): Use new variable
16175 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16176
3f0f1700
GM
161772011-04-06 Glenn Morris <rgm@gnu.org>
16178
c0274801
GM
16179 * Makefile.in (AUTOGEN_VCS): New variable.
16180 (autoloads): Use $AUTOGEN_VCS.
16181
3f0f1700
GM
16182 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16183 * calendar/calendar.el (calendar-mode-map):
16184 Check for toolkit scroll bars. (Bug#8305)
16185
41ea9e48
CY
161862011-04-05 Chong Yidong <cyd@stupidchicken.com>
16187
16188 * minibuffer.el (completion-in-region--postch)
16189 (completion-in-region-mode): Remove unnecessary messages.
16190
6194c800
JB
161912011-04-05 Juanma Barranquero <lekktu@gmail.com>
16192
33256f14
JB
16193 * font-lock.el (font-lock-refresh-defaults):
16194 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16195 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16196
6194c800
JB
16197 * info.el (Info-directory-list, Info-read-node-name-2)
16198 (Info-split-parameter-string): Doc fixes.
16199 (Info-virtual-nodes): Reflow docstring.
16200 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16201 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16202 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16203 Fix typos in docstrings.
16204 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16205 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16206 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16207 (Info-restore-desktop-buffer): Mark unused parameters.
16208 (Info-directory-find-file, Info-directory-find-node)
16209 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16210 (Info-virtual-index-find-node, Info-apropos-find-file)
16211 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16212 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16213 (Info-virtual-index): Remove unused local variable `nodename'.
16214
b87a8200 162152011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16216
b87a8200
DD
16217 * net/rcirc.el: Update my e-mail address.
16218 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16219
3b2ff876
CY
162202011-04-05 Chong Yidong <cyd@stupidchicken.com>
16221
16222 * startup.el (command-line): Save the cursor's theme-face
16223 directly, instead of using face-override-spec.
16224
16225 * custom.el (load-theme): Minor optimization in assigning faces.
16226
8d17e7ca
JB
162272011-04-04 Juanma Barranquero <lekktu@gmail.com>
16228
16229 * help-fns.el (describe-variable): Complete all variables having
16230 documentation, including keywords.
16231 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16232
2fbc1934
JB
162332011-04-04 Juanma Barranquero <lekktu@gmail.com>
16234
16235 Convert to lexical-binding.
16236
16237 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16238 (bs--get-marked-string, bs--get-modified-string)
16239 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16240 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16241 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16242
16243 * ehelp.el (electric-help-execute-extended)
16244 (electric-help-ctrl-x-prefix):
16245 * hexl.el (hexl-revert-buffer-function):
16246 * linum.el (linum-after-change, linum-after-scroll):
16247 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16248
16249 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16250
74f50695
DU
162512011-04-04 Daiki Ueno <ueno@unixuser.org>
16252
16253 * epa-dired.el:
16254 * epa-mail.el:
16255 * epa-hook.el:
16256 * epa-file.el:
16257 * epa.el:
16258 * epg.el: Use lexical binding.
16259
c11325f7
CY
162602011-04-03 Chong Yidong <cyd@stupidchicken.com>
16261
0d9e9a12
CY
16262 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16263
c11325f7 16264 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16265 dictionary case for flyspell-mark-duplications-exceptions.
16266 Use regexp matching for languages.
c11325f7
CY
16267 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16268 default dictionary (Bug#7926).
16269
da91b5f2
CY
162702011-04-02 Chong Yidong <cyd@stupidchicken.com>
16271
099c39a4
JB
16272 * emacs-lisp/package.el (package--with-work-buffer):
16273 Recognize https URLs.
da91b5f2 16274
099c39a4
JB
16275 * net/network-stream.el: Move from gnus/proto-stream.el.
16276 Change prefix to network-stream throughout.
da91b5f2
CY
16277 (open-protocol-stream): Merge into open-network-stream, leaving
16278 open-protocol-stream as an alias. Handle nil BUFFER args.
16279
16280 * subr.el (open-network-stream): Move to net/network-stream.el.
16281
afa8e9f6
GM
162822011-04-02 Glenn Morris <rgm@gnu.org>
16283
1d2e369d
GM
16284 * find-dired.el (find-exec-terminator): New option.
16285 (find-ls-option): Test for -ls support.
16286 (find-ls-subdir-switches): Test for -b in find-ls-option.
16287 (find-dired, find-grep-dired): Doc fixes.
16288 (find-dired): Use find-exec-terminator.
16289
8abb7da8 16290 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16291 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16292 (find-name-arg): Remove purecopy.
8abb7da8 16293
f3ca7378
GM
16294 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16295 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16296 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16297 accordingly. Don't add the null-device if not needed.
16298
afa8e9f6
GM
16299 * files.el (save-some-buffers): Doc fix.
16300
35eae264
EZ
163012011-04-02 Eli Zaretskii <eliz@gnu.org>
16302
16303 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16304
26b51db5
JB
163052011-04-01 Juanma Barranquero <lekktu@gmail.com>
16306
16307 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16308 Use `dolist' rather than `mapcar'.
16309
7200d79c
SM
163102011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16311
03408648 16312 Add lexical binding.
7200d79c 16313
03408648
SM
16314 * subr.el (apply-partially): Use new closures rather than CL.
16315 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16316 (dolist, dotimes): Use slightly different expansion for lexical code.
16317 (functionp): Move to C.
16318 (letrec): New macro.
16319 (with-wrapper-hook): Use it and apply-partially instead of CL.
16320 (eval-after-load): Preserve lexical-binding.
16321 (save-window-excursion, with-output-to-temp-buffer): Turn them
16322 into macros.
7200d79c 16323
03408648
SM
16324 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16325
16326 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16327 than the arglist.
16328 (help-add-fundoc-usage): Don't add `Not documented'.
16329 (help-function-arglist): Handle closures, subroutines, and new
16330 byte-code-functions.
16331 (help-make-usage): Remove leading underscores.
16332 (describe-function-1): Handle closures.
16333 (describe-variable): Use special-variable-p for completion.
16334
16335 * files.el (lexical-binding): Declare safe.
f488fb65 16336
03408648
SM
16337 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16338 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16339 (pcase): Add `let' pattern.
16340 Change memoization so it actually works.
16341 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16342 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16343 <let>: New case.
f488fb65 16344
03408648
SM
16345 * emacs-lisp/macroexp.el: Use lexical binding.
16346 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16347 Don't convert ' to #' without checking that it's indeed quoting
16348 a lambda.
16349
16350 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16351 Use eval-sexp-add-defvars.
03408648
SM
16352 (eval-sexp-add-defvars): New fun.
16353
16354 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16355
16356 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16357 Don't autoload.
16358 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16359 than the internal `byte-compile-lambda'.
16360 (defmethod): Don't hide code under quotes.
16361 (eieio-defmethod): New `code' argument.
16362
16363 * emacs-lisp/eieio-comp.el: Remove.
16364
16365 * emacs-lisp/edebug.el (edebug-eval-defun)
16366 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16367 (edebug-toggle): Avoid `eval'.
16368
16369 * emacs-lisp/disass.el (disassemble-internal): Handle new
16370 `closure' objects.
16371 (disassemble-1): Handle new byte codes.
16372
16373 * emacs-lisp/cl.el (pushnew): Silence warning.
16374
16375 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16376 (cl-byte-compile-throw): Remove.
16377 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16378
16379 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16380 closures.
16381
16382 * emacs-lisp/cconv.el: New file.
16383
16384 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16385 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16386 (byte-compile-initial-macro-environment):
16387 Handle declare-function here.
16388 (byte-compile--lexical-environment): New var.
16389 (byte-stack-ref, byte-stack-set, byte-discardN)
16390 (byte-discardN-preserve-tos): New lap codes.
16391 (byte-interactive-p): Don't use any more.
16392 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16393 New macros.
16394 (byte-compile-lapcode): Use them and handle new lap codes.
16395 (byte-compile-obsolete): Remove.
16396 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16397 (byte-compile-arglist-warn): Check late def of inlinable funs.
16398 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16399 since they should have been expanded by now.
16400 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16401 (byte-compile-from-buffer): Remove unused second arg.
16402 (byte-compile-preprocess): New function.
16403 (byte-compile-toplevel-file-form): New function to distinguish
16404 file-form calls from outside from file-form calls from hunk-handlers.
16405 (byte-compile-file-form): Simplify.
16406 (byte-compile-file-form-defsubst): Remove.
16407 (byte-compile-file-form-defmumble): Simplify now that
16408 byte-compile-lambda always returns a byte-code-function.
16409 (byte-compile): Preprocess.
16410 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16411 Remove, not used any more.
16412 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16413 (byte-compile-make-args-desc): New funs.
16414 (byte-compile-lambda): Handle lexical functions. Always return
16415 a byte-code-function.
16416 (byte-compile-reserved-constants): New var, to make up room for
16417 closed-over variables.
16418 (byte-compile-constants-vector): Obey it.
16419 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16420 (byte-compile-macroexpand-declare-function): New function.
16421 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16422 byte-code-functions.
16423 (byte-compile-form): Check obsolescence here.
16424 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16425 (byte-compile-variable-ref): Remove.
16426 (byte-compile-dynamic-variable-op): New fun.
16427 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16428 (byte-compile-variable-set): New funs.
16429 (byte-compile-discard): Add 2 args.
16430 (byte-compile-stack-ref, byte-compile-stack-set)
16431 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16432 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16433 macroexpand-all instead.
16434 (byte-compile-quote-form): Remove.
16435 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16436 (byte-compile-bind, byte-compile-unbind): New funs.
16437 (byte-compile-let): Handle let* and lexical binding.
16438 (byte-compile-let*): Remove.
16439 (byte-compile-catch, byte-compile-unwind-protect)
16440 (byte-compile-track-mouse, byte-compile-condition-case):
16441 Handle a new :fun-body form, used for lexical scoping.
16442 (byte-compile-save-window-excursion)
16443 (byte-compile-with-output-to-temp-buffer): Remove.
16444 (byte-compile-defun): Simplify.
16445 (byte-compile-stack-adjustment): New fun.
16446 (byte-compile-out): Use it.
16447 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16448
16449 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16450 handler any more.
16451
16452 * emacs-lisp/byte-opt.el: Use lexical binding.
16453 (byte-inline-lapcode): Remove (to bytecomp).
16454 (byte-compile-inline-expand): Pay attention to inlining to/from
16455 lexically bound code.
16456 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16457 any more.
16458 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16459 any more and don't call compiler-macros.
16460 (byte-compile-splice-in-already-compiled-code): Remove.
16461 (byte-code): Don't inline any more.
16462 (disassemble-offset): Receive `bytes' as argument rather than via
16463 dynamic scoping.
16464 (byte-compile-tag-number): Declare before first use.
16465 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16466 `return' even if make-spliceable.
16467 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16468 obsolete interactive-p.
16469 (byte-optimize-lapcode): Optimize new lap-codes.
16470 Don't trip up on new form of `byte-constant' lap code.
16471
16472 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16473
16474 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16475
16476 * custom.el (custom-initialize-default, custom-declare-variable):
16477 Use `defvar'.
16478
16479 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16480 New variables.
16481 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16482 (COMPILE_FIRST): Add macroexp and cconv.
16483 * makefile.w32-in: Mirror changes in Makefile.in.
16484
16485 * vc/cvs-status.el:
16486 * vc/diff-mode.el:
16487 * vc/log-edit.el:
16488 * vc/log-view.el:
16489 * vc/smerge-mode.el:
16490 * textmodes/bibtex-style.el:
090bd7cb 16491 * textmodes/css-mode.el:
03408648
SM
16492 * startup.el:
16493 * uniquify.el:
da91b5f2
CY
16494 * minibuffer.el:
16495 * newcomment.el:
16496 * reveal.el:
16497 * server.el:
16498 * mpc.el:
16499 * emacs-lisp/smie.el:
16500 * doc-view.el:
16501 * dired.el:
03408648
SM
16502 * abbrev.el: Use lexical binding.
16503
0f0c1f27
EZ
165042011-04-01 Eli Zaretskii <eliz@gnu.org>
16505
16506 * info.el (info-display-manual): New function.
16507
c82b2579
SM
165082011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16509
16510 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16511
221ddf68
TH
165122011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16513
16514 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16515 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16516
cba6e77e
GM
165172011-03-31 Glenn Morris <rgm@gnu.org>
16518
e040639f
GM
16519 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16520
cba6e77e
GM
16521 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16522
6d0f1c9e
CS
165232011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16524
16525 * progmodes/python.el (python-default-interpreter)
16526 (python-python-command-args, python-jython-command-args)
16527 (python-which-shell, python-which-args, python-which-bufname)
16528 (python-file-queue, python-comint-output-filter-function)
16529 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16530 variables and functions.
16531
3e2d70fd
SM
165322011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16533
16534 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16535 (completion-in-region-mode): New minor mode.
16536 (completion-in-region): Use it.
16537 (completion-in-region--data, completion-in-region-mode-map): New vars.
16538 (completion-in-region--postch): New function.
16539 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16540 New vars.
16541 (completion--capf-wrapper): New function.
16542 (completion-at-point): Use it to track well-behavedness of
16543 hook functions.
16544 (completion-help-at-point): New command.
16545
f3e4086c
JM
165462011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16547
16548 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16549 syntax class to search for whitespace on a single line
16550 (Message-ID: <4D938140.4030905@redhat.com>).
16551
eb7ffc14
LL
165522011-03-30 Leo Liu <sdl.web@gmail.com>
16553
16554 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16555 New commands.
16556 (edit-abbrevs-map): Bind them here.
16557 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16558
d806ab68
KM
165592011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16560
16561 * allout.el (allout-hide-by-annotation, allout-flag-region):
16562 Reduce possibility of overlay leakage by making them volatile.
16563
16564 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16565 hash is not shared between buffers. Mode initialization is
16566 responsible for giving it a useful starting value.
16567 (allout-item-span): Reduce possibility of overlay leakage by
16568 making them volatile.
16569 (allout-widgets-count-buttons-in-region): Add diagnostic function
16570 for tracking down button overlay leaks.
16571
ea622834
LL
165722011-03-29 Leo Liu <sdl.web@gmail.com>
16573
16574 * ido.el (ido-read-internal): Use the default history var
16575 minibuffer-history if no HISTORY is specified.
16576
b62f8267
G
165772011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16578
03408648
SM
16579 * net/imap.el (imap-shell-open, imap-process-connection-type):
16580 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16581 Kerberos, SSL, other subprocesses.
16582
947b6566
LL
165832011-03-28 Leo Liu <sdl.web@gmail.com>
16584
16585 * abbrev.el (abbrev-table-empty-p): New function.
16586 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16587 nonempty ones. (Bug#5937)
16588
5ffb62aa
JD
165892011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16590
16591 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16592
7a097943
LL
165932011-03-27 Leo Liu <sdl.web@gmail.com>
16594
16595 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16596 for foreground and background colors.
16597 (ansi-color-make-color-map): Adapt.
16598
c5b40130
LL
165992011-03-25 Leo Liu <sdl.web@gmail.com>
16600
1f48f7d2
LL
16601 * midnight.el (midnight-time-float): Remove. Note it calculates
16602 the microsecond component incorrectly and seconds-to-time does the
16603 same job.
625897ec 16604 Remove redundant (require 'timer).
1f48f7d2 16605
c5b40130
LL
16606 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16607 (ido-completions): Remove unused arguments. (Bug#8329)
16608
d86d2721
SM
166092011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16610
16611 * minibuffer.el (completion--flush-all-sorted-completions):
16612 Remove itself from hook.
16613 (completion-at-point): Let the functions perform the completion
16614 immediately and return nil or t.
16615 * comint.el (comint-dynamic-complete-functions): Now identical to
16616 completion-at-point-functions.
16617 (comint-dynamic-list-input-ring): Remove unused var `index'.
16618 (comint--match-partial-filename, comint--unquote&expand-filename):
16619 New funs, split from comint-match-partial-filename.
16620 (comint-dynamic-complete): Use completion-at-point.
16621 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16622
e8974c48
DA
166232011-03-24 Drew Adams <drew.adams@oracle.com>
16624
16625 * thingatpt.el: Support `defun'.
16626
def71b5e
LL
166272011-03-23 Leo Liu <sdl.web@gmail.com>
16628
cb5af48e
LL
16629 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16630
def71b5e
LL
16631 * help-mode.el (help-mode-finish): Tweak regexp.
16632
927c53e7
GM
166332011-03-23 Glenn Morris <rgm@gnu.org>
16634
18d05bed
GM
16635 * eshell/esh-opt.el (eshell-eval-using-options):
16636 Do not bind unused local variable `eshell-option-stub'.
16637
927c53e7
GM
16638 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16639
9d0da923
JB
166402011-03-22 Juanma Barranquero <lekktu@gmail.com>
16641
16642 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16643 keymap variable in `with-no-warnings' to avoid a warning when the
16644 keymap has been already `defconst'ed.
16645
4b978a67
LL
166462011-03-22 Leo Liu <sdl.web@gmail.com>
16647
16648 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16649 encode all chars in abbrevs; otherwise use emacs-mule or
16650 utf-8-emacs. (Bug#8308)
16651
5fd62452
JB
166522011-03-22 Juanma Barranquero <lekktu@gmail.com>
16653
0b1596c6
JB
16654 * simple.el (backward-delete-char-untabify):
16655 Avoid warning about using `delete-backward-char'.
16656
5fd62452
JB
16657 * image.el (image-type-file-name-regexps): Make it variable.
16658 `imagemagick-register-types' modifies it, and the user may want
16659 to add new extensions for known image types.
16660 (imagemagick-register-types): Throw error if not using ImageMagick.
16661
0b4e93f1
LL
166622011-03-22 Leo Liu <sdl.web@gmail.com>
16663
16664 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16665 located before rcirc-prompt-end-marker.
16666 (rcirc-complete): Error if point is not after rcirc prompt.
16667 Handle the case when table is nil.
9882e214 16668 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16669
fccee4ab
CY
166702011-03-22 Chong Yidong <cyd@stupidchicken.com>
16671
16672 * custom.el (custom--inhibit-theme-enable): Make it affect only
16673 custom-theme-set-variables and custom-theme-set-faces.
16674 (provide-theme): Ignore custom--inhibit-theme-enable.
16675 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16676 (custom-enabling-themes): Delete variable.
d86d2721
SM
16677 (enable-theme): Accept only loaded themes as arguments.
16678 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16679 (custom-enabled-themes): Forbid themes from setting this.
16680 Eliminate use of custom-enabling-themes.
16681 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16682
af896da6
LL
166832011-03-21 Leo Liu <sdl.web@gmail.com>
16684
16685 * ido.el (ido-read-internal): Add ido-selected to history instead
16686 of user input.
16687
78f64af0
SM
166882011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16689
16690 * subr.el (deferred-action-list, deferred-action-function):
16691 Mark obsolete.
16692
b16ac1ec
LL
166932011-03-21 Leo Liu <sdl.web@gmail.com>
16694
810f7698
LL
16695 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16696 change on 2011-02-13 (bug#8309).
16697
b16ac1ec
LL
16698 * minibuffer.el (read-file-name-function): Change default value.
16699 (read-file-name--defaults): Rename from read-file-name-defaults.
16700 (read-file-name-default): Rename from read-file-name.
16701 (read-file-name): Call read-file-name-function.
16702
4e05e67e
GM
167032011-03-21 Glenn Morris <rgm@gnu.org>
16704
16705 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16706 Doc fixes.
16707
4359915b
CY
167082011-03-21 Chong Yidong <cyd@stupidchicken.com>
16709
16710 * cus-theme.el: Add missing provide statement.
16711 (customize-create-theme): Extract theme value correctly.
16712 (custom-theme-visit-theme): Autoload.
16713 (customize-create-theme): Prompt before inserting default faces.
16714
1fe275ee
JB
167152011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16716
16717 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16718 units and musical notes.
16719
cd394be1 167202011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16721
16722 * ido.el (ido-read-internal): Use completing-read-default.
16723 (ido-completing-read): Fix compatibility with completing-read.
16724
7d476bde
CO
167252011-03-20 Christian Ohler <ohler@gnu.org>
16726
16727 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16728 (ert-delete-all-tests): Use `called-interactively-p' rather than
16729 `interactive-p'.
16730 (ert--make-xrefs-region): Respect END.
16731
fe0fb33e
CY
167322011-03-19 Chong Yidong <cyd@stupidchicken.com>
16733
ff854b0b
CY
16734 * dired-aux.el (dired-create-directory): Signal an error if the
16735 directory already exists (Bug#8246).
16736
fe0fb33e
CY
16737 * facemenu.el (list-colors-display): Call list-faces-display
16738 inside with-help-window.
16739 (list-colors-print): Use display property to align the final
16740 column, instead of checking window-width.
16741
576bce32
EZ
167422011-03-19 Eli Zaretskii <eliz@gnu.org>
16743
4d61f28d 16744 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16745 windows-nt systems.
16746 (emerge-protect-metachars): Quote correctly for ms-dos and
16747 windows-nt systems.
16748
89c41d68 167492011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16750
16751 * info.el (info-initialize): Replace all uses of `:' with
16752 path-separator for compatibility with non-Unix systems.
16753 Cache quoting of path-separator. (Bug#8258)
16754
b14e3e21 167552011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16756
16757 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16758 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16759 (mouse-avoidance-mode): Fix typos in docstrings.
16760
4525ce3e
CY
167612011-03-19 Chong Yidong <cyd@stupidchicken.com>
16762
16763 * startup.el (package-subdirectory-regexp): Move from package.el.
16764 Omit \\` and \\', and let callers add them.
16765
16766 * emacs-lisp/package.el (package-strip-version)
16767 (package-load-all-descriptors): Add \\` and \\' to
16768 package-subdirectory-regexp before using it.
16769 (package-untar-buffer): New arg DIR; ensure that file untars only
16770 into this expected directory. Remove superfluous delete-region.
16771 (package-unpack): Caller changed.
16772 (package-tar-file-info): Use package-subdirectory-regexp.
16773
a904a09a 167742011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16775
a904a09a
SM
16776 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16777 diff-mode-shared-map (bug#8284).
16778 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16779
167802011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16781
16782 * calendar/time-date.el (format-seconds): Use assoc instead of
16783 assoc-string, since assoc-string doesn't exist in XEmacs.
16784
171fc304
JB
167852011-03-17 Juanma Barranquero <lekktu@gmail.com>
16786
16787 * custom.el (custom-known-themes): Reflow docstring.
16788 (custom-theme-load-path): Fix typo in docstring.
16789 (load-theme): Fix typo in error message.
16790 (custom-available-themes, custom-variable-theme-value):
16791 Use `let', not `let*'.
16792
d71990a1
JB
167932011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16794
16795 * calc/README: Mention inclusion of musical notes.
16796
16797 * calc/calc-units.el (calc-lu-quant): Rename from
16798 `calc-logunits-quantity'.
16799 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16800 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16801 (calc-db): Rename from `calc-dblevel'.
16802 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16803 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16804 (calc-np): Rename from `calc-nplevel'.
16805 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16806 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16807 (calc-lu-plus): Rename from `calc-logunits-add'.
16808 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16809 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16810 (calc-lu-minus): Rename from `calc-logunits-sub'.
16811 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16812 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16813 (calc-lu-times): Rename from `calc-logunits-mul'.
16814 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16815 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16816 (calc-lu-divide): Rename from `calc-logunits-div'.
16817 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16818 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16819
16820 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16821 functions being autoloaded.
16822
16823 * calc/calc.el (calc-lu-power-reference): Rename from
16824 `calc-logunits-power-reference'.
16825 (calc-lu-field-reference): Rename from
16826 `calc-logunits-field-reference'.
16827
7a71b18d
GM
16828 * calc/calc-help.el (calc-l-prefix-help):
16829 Mention musical note functions.
d71990a1 16830
40c2934b
SM
168312011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16832
16833 * minibuffer.el (completion-all-sorted-completions):
16834 Use :completion-cycle-penalty text property if present.
16835
b0911414
KM
168362011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16837
16838 * allout.el (allout-yank-processing): Adjust for new rebulleting
16839 regime so bullet being yanked is used without prompting the user
16840 for a choice.
16841
8a05b668
JB
168422011-03-16 Juanma Barranquero <lekktu@gmail.com>
16843
16844 * startup.el (command-line): Warn the user that _emacs is deprecated.
16845
5ba5fb81
JB
168462011-03-16 Juanma Barranquero <lekktu@gmail.com>
16847
16848 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16849 (delphi-verbose, delphi-comment-face, delphi-string-face)
16850 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16851 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16852 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16853 (delphi-new-comment-line, delphi-font-lock-defaults)
16854 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16855 Fix typos in docstrings.
16856
2dab465b
KM
168572011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16858
5ba5fb81 16859 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16860 Invert the roles of character and string values for INSTEAD, so a
16861 string is used for the more common case of a defaulting prompt.
16862
0adf5618
SM
168632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16864
16865 * progmodes/ruby-mode.el (ruby-backward-sexp):
16866 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16867 * play/gamegrid.el (gamegrid-make-face):
16868 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16869 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16870 * notifications.el (notifications-notify):
16871 * net/xesam.el (xesam-search-engines):
16872 * net/quickurl.el (quickurl-list-insert):
16873 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16874
d72700e5
CY
168752011-03-15 Chong Yidong <cyd@stupidchicken.com>
16876
16877 * startup.el (command-line): Update package subdirectory regexp.
16878
49c5410a
SM
168792011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16880
c6eee9aa
SM
16881 * allout.el (allout-abbreviate-flattened-numbering)
16882 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16883
49c5410a
SM
16884 * subr.el (read-char-choice): Only show the cursor after the prompt,
16885 not after the answer.
16886
047b2bb9
KR
168872011-03-15 Kevin Ryde <user42@zip.com.au>
16888
16889 * help-fns.el (variable-at-point): Skip leading quotes, if any
16890 (bug#8253).
16891
0a57d256
SM
168922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16893
16894 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16895 warning message.
16896
77c992bc
MA
168972011-03-14 Michael Albinus <michael.albinus@gmx.de>
16898
16899 * shell.el (shell): When called interactively, offer to change the
16900 shell file name on remote hosts.
16901
eebc475d
TZ
169022011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16903
16904 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16905 integration for LDAP parameters. The host, base, user or binddn,
16906 and secret tokens can be specified in a netrc file, for instance.
16907 This is optional because an `auth-source' parameter must be
16908 specified in the search attributes.
16909
9d05d1ba
JB
169102011-03-13 Juanma Barranquero <lekktu@gmail.com>
16911
16912 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16913
09d9db2c
GM
169142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16915
16916 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16917 into declaration. Remove redundant and harmful binding.
16918
169192011-03-12 Eli Zaretskii <eliz@gnu.org>
16920
16921 * files.el (file-ownership-preserved-p): Pass `integer' as an
16922 explicit 2nd argument to `file-attributes'. If the file's owner
16923 is the Administrators group on Windows, and the current user is
16924 Administrator, consider that a match.
16925
16926 * server.el (server-ensure-safe-dir): Consider server directory
16927 safe on MS-Windows if its owner is the Administrators group while
16928 the current Emacs user is Administrator. Use `=' to compare
16929 numerical UIDs, since they could be integers or floats.
16930
219bd536
JB
169312011-03-12 Juanma Barranquero <lekktu@gmail.com>
16932
16933 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16934
f3afd36b
MA
169352011-03-12 Michael Albinus <michael.albinus@gmx.de>
16936
16937 Sync with Tramp 2.2.1.
16938
16939 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16940
16941 * net/trampver.el: Update release number.
16942
3aaaa6f1
SM
169432011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16944
94642599
SM
16945 * progmodes/compile.el (compilation--previous-directory): Fix up
16946 various nil/dead-marker mismatches (bug#8014).
16947 (compilation-directory-properties, compilation-error-properties):
16948 Don't call it at a position past the one we're about to change.
16949
3aaaa6f1
SM
16950 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16951 Disable obsolescence warnings in the file that declares it.
16952
14239447
KM
169532011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16954
099c39a4
JB
16955 * allout-widgets.el (allout-widgets-tally):
16956 Initialize allout-widgets-tally as a hash table rather than nil to
16957 prevent mode-line redisplay warnings. Also, clarify the module
16958 description and fix a comment typo.
14239447 16959
135e287c
JB
169602011-03-11 Juanma Barranquero <lekktu@gmail.com>
16961
16962 * help-fns.el (describe-variable): Don't complete keywords.
16963 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16964
ffbf300e
CY
169652011-03-10 Chong Yidong <cyd@stupidchicken.com>
16966
ba08b241
CY
16967 * emacs-lisp/package.el (package-version-join): Impose a standard
16968 string representation for pre/alpha/beta version lists.
16969 (package-unpack-single): Standardize the directory name by passing
16970 it through package-version-join.
16971 (package-strip-rcs-id): Accept any version string that does not
16972 signal an error in version-to-list.
ffbf300e 16973
f346fd6b
MA
169742011-03-10 Michael Albinus <michael.albinus@gmx.de>
16975
16976 * simple.el (delete-trailing-whitespace): Return nil for the
16977 benefit of `write-file-functions'.
16978
ccb55d27
GM
169792011-03-10 Glenn Morris <rgm@gnu.org>
16980
5ceaac0c
GM
16981 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16982
02da65ff
GM
16983 * vc/vc-git.el (vc-git-program): New option.
16984 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16985 (vc-git--call): Use it.
16986
b2f603cc
GM
16987 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16988
5772caab
GM
16989 * cus-edit.el (Custom-newline): If no button at point, look
16990 for a subgroup button at start-of-line. (Bug#2298)
16991
ccb55d27
GM
16992 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
16993
ec6ecaed
JD
169942011-03-10 Julien Danjou <julien@danjou.info>
16995
16996 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
16997 `cursor-type' is nil.
16998
9d5aa01d
JB
169992011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17000
17001 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17002
b6a5875b
KM
170032011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17004
7a71b18d 17005 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17006 preserves the existing header prefix, rebulleting it if necessary,
17007 rather than replacing it. This is necessary for proper operation
17008 of cooperative addons like allout-widgets.
1154d12e
JB
17009 (allout-make-topic-prefix, allout-rebullet-heading):
17010 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17011 value as alternate bullet to be used, instead of prompting the user
17012 for a bullet character.
b6a5875b 17013
ee545c35
MA
170142011-03-09 Michael Albinus <michael.albinus@gmx.de>
17015
d86d2721
SM
17016 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17017 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17018 `tramp-default-port'.
17019
c47971d7
DD
170202011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17021
17022 * net/rcirc.el (rcirc-handler-001): Remove useless
17023 with-rcirc-process-buffer.
17024 (rcirc-check-auth-status): Swap arguments to string-match.
17025
13522cb4
GM
170262011-03-09 Glenn Morris <rgm@gnu.org>
17027
0be6f4f1
GM
17028 * shell.el (shell-mode):
17029 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17030
13522cb4
GM
17031 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17032 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17033
515de2e3
CY
170342011-03-08 Chong Yidong <cyd@stupidchicken.com>
17035
17036 * emacs-lisp/package.el (package-refresh-contents)
17037 (package-menu-execute): Use condition-case-no-debug.
17038
b511b994
MA
170392011-03-08 Michael Albinus <michael.albinus@gmx.de>
17040
17041 * simple.el (shell-command-to-string): Use `process-file'.
17042
17043 * emacs-lisp/package.el (package-tar-file-info): Handle also
17044 remote files.
17045
d86d2721
SM
17046 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17047 Use `equal' for upload base check.
b511b994 17048
25bbfb31
AM
170492011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17050
17051 * textmodes/texinfo.el (texinfo-environments):
17052 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17053
be996521
GM
170542011-03-08 Glenn Morris <rgm@gnu.org>
17055
e9c8529f
GM
17056 * cus-start.el (cursor-in-non-selected-windows):
17057 Fix :set quoting oddness. (Bug#8192)
17058
be996521
GM
17059 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17060 in some setf expressions. (Bug#2159)
17061
2bb5649e
CY
170622011-03-08 Chong Yidong <cyd@stupidchicken.com>
17063
17064 * custom.el (custom-available-themes): Return themes in
17065 alphabetical order.
17066
33383987 17067See ChangeLog.15 for earlier changes.
e3d51b27
MR
17068
17069;; Local Variables:
17070;; coding: utf-8
e3d51b27
MR
17071;; End:
17072
acaf905b 17073 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17074
17075 This file is part of GNU Emacs.
17076
17077 GNU Emacs is free software: you can redistribute it and/or modify
17078 it under the terms of the GNU General Public License as published by
17079 the Free Software Foundation, either version 3 of the License, or
17080 (at your option) any later version.
17081
17082 GNU Emacs is distributed in the hope that it will be useful,
17083 but WITHOUT ANY WARRANTY; without even the implied warranty of
17084 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17085 GNU General Public License for more details.
17086
17087 You should have received a copy of the GNU General Public License
17088 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.