* textmodes/reftex-vars.el (reftex-label-alist): Docfix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
983741d8
TH
12012-08-02 Tassilo Horn <horn@thinkpad.tsdh.de>
2
3 * textmodes/reftex-vars.el (reftex-label-alist): Docfix.
4
cfcc9cc8
TH
52012-08-02 Tassilo Horn <tsdh@gnu.org>
6
7 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8 Add listings, minted, and ctable packages.
9 (reftex-label-alist-builtin): Move listings, minted, and ctable
10 entries before LaTeX.
11
66ec2442
BG
122012-08-02 Bastien Guerry <bzg@gnu.org>
13
14 * replace.el (occur): Fix docstring (bug#12122).
15
837b365b
GM
162012-08-02 Glenn Morris <rgm@gnu.org>
17
18 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
19
e098de97
PE
202012-08-02 Paul Eggert <eggert@cs.ucla.edu>
21
22 Obsolete alias inactivate-current-input-method-function (Bug#10150).
23 * international/mule-cmds.el: Create
24 inactivate-current-input-method-function as an obsolete alias for
25 deactivate-current-input-method-function. See Katsumi Yamaoka in
26 <http://bugs.gnu.org/10150#46>.
27
a0f95636
JB
282012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
29
30 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
31 of nested `if's.
32
0d26d7c4
GM
332012-08-01 Glenn Morris <rgm@gnu.org>
34
35 * progmodes/autoconf.el (autoconf-definition-regexp):
36 Add AH_TEMPLATE, adjust submatch numbering.
37 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
38 (autoconf-current-defun-function): Update for above change.
39 (autoconf-current-defun-function): First skip to end of current word.
40
b686ba06
RS
412012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
42
43 * calendar/cal-html.el (cal-html-insert-agenda-days):
44 Fix typo. (Bug#12018)
45
0d49da68
FEG
462012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
47
48 Shell processes: enhancements to startup and CEDET compatibility.
49 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
50 (python-shell-make-comint): accept-process-output at startup.
51 (run-python-internal): Set inferior-python-mode-hook to nil.
52 (python-shell-internal-get-or-create-process): call sit-for.
53 (python-preoutput-result): Add obsolete alias.
54 (python-shell-internal-send-string): Use it.
55 (python-shell-send-setup-code): Remove call to
56 accept-process-output.
57
f1a71c6e
AS
582012-07-31 Andreas Schwab <schwab@linux-m68k.org>
59
60 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
61 (Bug#12108)
62
d2605269
JB
632012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
64
65 * calc-mode.el (calc-basic-simplification-mode): Rename from
66 `calc-limited-simplification-mode'.
67 (calc-alg-simplification-mode): New function.
d66060f8 68 (calc-set-simplify-mode): Adjust message.
f1a71c6e 69
d2605269
JB
70 * calc.el (calc-set-mode-line): Adjust mode line display for
71 basic simplification mode.
72
73 * calc-help.el (calc-m-prefix-help): Update help message.
74
75 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
76 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
77
a3827a43
BG
782012-07-31 Bastien Guerry <bzg@gnu.org>
79
80 * man.el (man): Fix comment. (bug#12101)
81
502e3f89
MR
822012-07-31 Martin Rudalics <rudalics@gmx.at>
83
84 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
85 Don't return a non-nil value when no suitable buffer was found.
86
d7714961
FEG
872012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
88
89 * progmodes/python.el (run-python-internal): Disable font lock for
90 internal shells.
91
1f45e27e
SM
922012-07-30 Stefan Merten <smerten@oekonux.de>
93
94 * rst.el: Silence `checkdoc-ispell'.
95 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
96 (rst-official-version, rst-official-cvs-rev)
97 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
98 (rst-mode-map): New key binding.
99
0aee6912
PE
1002012-07-30 Paul Eggert <eggert@cs.ucla.edu>
101
102 Update .PHONY listings in makefiles.
103 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
104 autoloads, update-subdirs, updates, bzr-update, update-authors,
105 compile-onefile, compile-calc, backup-compiled-files,
106 compile-after-backup, compile-one-process, mh-autoloads,
107 bootstrap-clean, distclean, maintainer-clean.
108
9052f9f0
JB
1092012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
110
1823ac5a
JB
111 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
112 (calc-set-mode-line): Don't display "AlgSimp ".
113
114 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
115 (calc-lim-simplify-mode): New function.
116 (calc-set-simplify-mode): Default to 'alg.
117 (calc-default-simplify-mode): Make algebraic simplifications
118 the default.
119
120 * calc/calc-ext.el (calc-init-extensions): Remove binding for
121 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
122
8d7c7eed 123 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
124 indicate new simplification modes.
125
1823ac5a
JB
126 * calc/README: Mention new default simplification mode.
127
9052f9f0
JB
128 * calc/calc.el (math-normalize-error): New variable.
129 (math-normalize): Set `math-normalize-error' to t
130 when there's an error.
131
132 * calc/calc-alg.el (math-simplify): Don't simplify when
133 `math-normalize' returns an error.
134
20ba0cb4
EZ
1352012-07-29 Eli Zaretskii <eliz@gnu.org>
136
137 * international/mule-cmds.el (set-locale-environment): Revert last
138 change, since display-graphic-p returns nil when this function is
139 called during startup. Instead...
140
141 * term/w32console.el (terminal-init-w32console): ...setup the
142 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
143
a5dcc929
JL
1442012-07-29 Juri Linkov <juri@jurta.org>
145
146 * simple.el (goto-line): Don't display default line number in the
147 prompt because it should be displayed by `read-number' (bug#9952).
148 Add the current line number to the defaults of `goto-line' to
149 allow its easier modification by users with `M-n' (bug#9201).
150
151 * subr.el (read-number): Support multiple default values like in
152 other minibuffer reading functions. Replace `read' with
153 `string-to-number' for consistency with `number-to-string'.
154
72b255c7
PE
1552012-07-29 Paul Eggert <eggert@cs.ucla.edu>
156
157 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
158 * emulation/viper-init.el (viper-deactivate-input-method-action):
159 Rename from viper-inactivate-input-method-action.
160 (viper-deactivate-input-method):
161 Rename from viper-inactivate-input-method.
162 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
163 * international/mule-cmds.el (deactivate-input-method):
164 Rename from inactivate-input-method.
165 Also run input-method-deactivate-hook.
166 (deactivate-current-input-method-function):
167 Rename from inactivate-current-input-method-function.
168 (input-method-deactivate-hook): New hook.
169 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
170 (inactivate-input-method): Mark obsolete.
171
72b255c7
PE
172 * international/quail.el (quail-activate):
173 Also run quail-deactivate-hook.
174 (quail-deactivate): Rename from quail-inactivate.
175 * international/robin.el (robin-activate):
176 Also run robin-deactivate-hook.
177 (robin-deactivate): Rename from robin-inactivate.
178
2549c068
CY
1792012-07-29 Chong Yidong <cyd@gnu.org>
180
181 * simple.el (indicate-copied-region): New function.
182 (kill-ring-save): Split off from here.
183
184 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
185 (kill-rectangle): Set deactivate-mark to t on read-only error.
186
187 * register.el (copy-to-register, copy-rectangle-to-register):
188 Deactivate the mark, and use indicate-copied-region (Bug#10056).
189 (append-to-register, prepend-to-register): Call
190
17711ed9
JL
1912012-07-29 Juri Linkov <juri@jurta.org>
192
193 * simple.el (async-shell-command-buffer): New defcustom.
194 (shell-command): Use it. (Bug#4719)
195
01bd1b0d
EZ
1962012-07-28 Eli Zaretskii <eliz@gnu.org>
197
198 * international/mule-cmds.el (set-locale-environment): In a
199 console session on MS-Windows, set up keyboard and terminal
200 encoding from the OEM codepage, not the ANSI codepage.
201 (Bug#12055)
202
a55739d3
CY
2032012-07-28 Chong Yidong <cyd@gnu.org>
204
205 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
206 gdb-get-location.
207
9a0f8f2e
LL
2082012-07-25 Leo Liu <sdl.web@gmail.com>
209
210 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
211 the alist (bug#12029).
212
20329d73
EZ
2132012-07-28 Eli Zaretskii <eliz@gnu.org>
214
215 * makefile.w32-in (custom-deps, finder-data, updates, compile)
216 (compile-always, compile-first)
217 ($(lisp)/calendar/cal-loaddefs.el)
218 ($(lisp)/calendar/diary-loaddefs.el)
219 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
220 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
221 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
222 instead of on update-subdirs.
223 (bootstrap-clean): Delete $(lisp)/subdirs.el.
224
345a2258
CY
2252012-07-28 Chong Yidong <cyd@gnu.org>
226
1eee6341
CY
227 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
228 directory if vc-deduce-backend returns nil (Bug#7350).
229
345a2258
CY
230 * simple.el (delete-trailing-lines): New option.
231 (delete-trailing-whitespace): Obey it (Bug#11879).
232
049a0936
DE
2332012-07-28 David Engster <deng@randomsample.de>
234
235 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
236 Explanation of new 'symbol-qnames feature in doc-strings.
237 (xml-maybe-do-ns): Return expanded names as plain symbols if
238 'symbol-qnames was provided in XML-NS argument (Bug#11916).
239 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
240
aa81af71
FEG
2412012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
242
243 Consistent completion in inferior python with emacs -nw.
244 * progmodes/python.el (inferior-python-mode): replace "<tab>"
245 binding in inferior-python-mode-map with "\t".
246 (python-shell-completion-complete-at-point)
247 (python-completion-complete-at-point): Remove interactive spec.
248
e827b1eb
JB
2492012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
250
251 * calc/calccomp.el (math-compose-expr): Undo previous change.
252
a90dfb95
FEG
2532012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
254
255 * progmodes/python.el (python-mode-map): Added keybinding for
256 run-python.
257 (python-shell-make-comint): Fix pop-to-buffer call.
258 (run-python): Autoload. New arg SHOW.
259 (python-shell-get-or-create-process): Do not pop python process
260 buffer.
261
32770973 2622012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
263
264 * notifications.el (notifications-on-action-signal)
265 (notifications-on-closed-signal): Use also the bus address for the map.
266 (notifications-notify, notifications-close-notification)
267 (notifications-get-capabilities): Add optional argument BUS.
268
86332df2
TH
2692012-07-27 Tassilo Horn <tsdh@gnu.org>
270
271 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
272 support for the lstlisting and minted environments, and for the
273 ctable macro.
274 * textmodes/reftex.el (reftex-compile-variables): Also recognize
275 labels written in keyvals syntax.
276
ca1302a4
JB
2772012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
278
279 * calc/calccomp.el (math-compose-expr): Use parentheses when
280 there is a product in the denominator of a fraction.
281
f8b91036
EZ
2822012-07-26 Eli Zaretskii <eliz@gnu.org>
283
284 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
285 ($(lisp)/calendar/diary-loaddefs.el)
286 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
287 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
288 failures in parallel bootstrap because subdirs.el is being
289 rewritten while the autoload files are built at the same time,
290 which needs to load subdirs.el.
291
c8e5a42c
MR
2922012-07-26 Martin Rudalics <rudalics@gmx.at>
293
294 * mouse.el (popup-menu): Fix doc-string and re-indent code.
295 (mouse-drag-line): Don't exit tracking when a switch-frame or
296 switch-window event occurs (Bug#12006).
297
670d85ea
SM
2982012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * mouse.el (popup-menu): Fix last change.
301
7abaf5cc
SM
3022012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 Autoload from Lisp with more care. Follow aliases when looking for
305 function properties.
306 * subr.el (autoloadp): New function.
307 (symbol-file): Use it.
308 (function-get): New function.
309 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
310 autoload-do-load.
311 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
312 (lisp-indent-function):
313 * emacs-lisp/gv.el (gv-get):
314 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
315 * emacs-lisp/byte-opt.el (byte-optimize-form):
316 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
317 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
318 Use function-get.
319 * emacs-lisp/cl.el: Don't propagate function properties any more.
320
321 * speedbar.el (speedbar-add-localized-speedbar-support):
322 * emacs-lisp/disass.el (disassemble-internal):
323 * desktop.el (desktop-load-file):
324 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
325 (describe-function-1):
326 * emacs-lisp/find-func.el (find-function-noselect):
327 * emacs-lisp/elp.el (elp-instrument-function):
328 * emacs-lisp/advice.el (ad-has-proper-definition):
329 * apropos.el (apropos-safe-documentation, apropos-macrop):
330 * emacs-lisp/debug.el (debug-on-entry):
331 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
332 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
333 * calc/calc.el (name): Use autoloadp & autoload-do-load.
334
b1364986
AA
3352012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
336
337 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
338 function, not an obsolete variable (Bug#12046).
339
67ada220
AS
3402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
341
342 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
343
f08088e3
CS
3442012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
345
346 * emacs-lisp/pp.el (pp-display-expression): Select old selected
347 window only if it is still live (Bug#12034).
348
8137e7b3
MR
3492012-07-25 Martin Rudalics <rudalics@gmx.at>
350
351 * subr.el (redirect-frame-focus): Add advertised calling
352 convention (Bug#12030).
353
09ae5da1
PE
3542012-07-25 Paul Eggert <eggert@cs.ucla.edu>
355
356 Prefer typical American spelling for "acknowledgment".
357 * vc/add-log.el (change-log-acknowledgment): Rename from
358 change-log-acknowledgement, with an alias for the old name.
359
3cc5a3a8
JB
3602012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
361
362 * calc-alg.el (math-simplify-divide): Don't cross multiply
363 in an equation when the lhs is a variable.
364
b7af7f62
JD
3652012-07-24 Julien Danjou <julien@danjou.info>
366
367 * net/netrc.el (netrc-find-service-number, netrc-store-data):
368 Remove, unused.
369
ec1b09b1
EZ
3702012-07-23 Eli Zaretskii <eliz@gnu.org>
371
372 * startup.el (command-line): Don't display an empty user name in
373 the error message about non-existent home directory, when
374 init-file-user was set to an empty string. See
375 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
376 for the details and context.
377
b525fd8a
VB
3782012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
379
380 * ses.el (ses-cell-formula-aset): New macro.
381 (ses-cell-references-aset): New macro.
382 (ses-cell-p): New function.
383 (ses-rename-cell): Do no longer rely on complex operations like
384 ses-cell-set-formula or ses-set-cell to change the cell and handle
385 the undo at the same time, but rather use lower level new macros
386 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
387 the undo directly. Refresh the mode line.
388
2c73e345
LL
3892012-07-21 Leo Liu <sdl.web@gmail.com>
390
670d85ea
SM
391 * progmodes/cc-cmds.el (c-defun-name):
392 Use match-string-no-properties instead for consistency.
2c73e345 393
542dfbde
LL
3942012-07-20 Leo Liu <sdl.web@gmail.com>
395
3646bcd6
LL
396 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
397 (Bug#7879)
398
542dfbde
LL
399 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
400
25721031
CY
4012012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
404 * progmodes/bug-reference.el, misearch.el: Provide themselves
405 (bug#11915).
406
407 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
408 of narrowed buffer (bug#11966).
409
316e68a7
VB
4102012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
411
412 * ses.el (ses-rename-cell): Set new name also in reference list of
413 cells of which the renamed cell depends.
414
bbf0e7d9
MY
4152012-07-20 Masatake YAMATO <yamato@redhat.com>
416
417 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
418 to check whether menu-bar is shown or not. If not shown,
419 show the menu-bar as a popup menu instead of using tmm.
420 * mouse.el (popup-menu): Accept `point' as `position' argument.
421
c28662a8
DG
4222012-07-20 Dmitry Gutov <dgutov@yandex.ru>
423
424 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
425 up inside string symbol literal (bug#11923).
426
87ab808f
EZ
4272012-07-20 Eli Zaretskii <eliz@gnu.org>
428
429 * startup.el (fancy-startup-text): Read the whole tutorial, not
430 just its first 256 bytes. Prevents gibberish in display of the
431 tutorial title.
432
89dea803
DA
4332012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
434
435 Drop idle buffer compaction due to an absence of the
436 proved efficiency.
437 * compact.el: Remove.
438
8a4e6db8
SS
4392012-07-19 Sam Steingold <sds@gnu.org>
440
441 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
442 vc-bzr-pull & vc-bzr-merge-branch.
443 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
444 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
445 for consistency with compilation-error-regexp-alist.
446 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
447 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
448 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
449 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
450
5db81e33
SM
4512012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * emacs-lisp/chart.el: Use lexical-binding.
454 (chart-emacs-storage): Don't hardcode the list of entries.
455
5b835e1d
DA
4562012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
457
458 Next round of tweaks caused by Fgarbage_collect changes.
459 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
460
9cd47b72
DA
4612012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
462
463 Compact buffers when idle.
464 * compact.el: New file.
465
1d6fc0df
SM
4662012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * subr.el (eventp): Presume that if it looks vaguely like an event,
469 it's an event (bug#10190).
470
1d29cc7d
FEG
4712012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
472
473 Enhancements to ppss related code (thanks Stefan).
474 * progmodes/python.el (python-indent-context)
475 (python-indent-calculate-indentation, python-indent-dedent-line)
476 (python-indent-electric-colon, python-nav-forward-block)
477 (python-mode-abbrev-table)
1d6fc0df 478 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
479 for ppss context.
480 (python-info-continuation-line-p): Cleanup.
481 (python-info-ppss-context): Do not catch 'quote.
482 (python-info-ppss-context-type)
483 (python-info-ppss-comment-or-string-p): Simplify.
484
d583cbe6
FEG
4852012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
486
487 * progmodes/python.el: Enhancements to eldoc support.
488 (python-info-current-symbol): New function.
489 (python-eldoc-at-point): Use python-info-current-symbol.
490 (python-info-current-defun): Fix cornercase on first defun scan.
491 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
492 and signal error when no inferior python process is available.
493
eceb6feb
DG
4942012-07-18 Dmitry Gutov <dgutov@yandex.ru>
495
496 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
497 assume it's always t.
498 (vc-git-registered): Remove caching, the function is only called
499 once.
500 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
501
4c8ff0fe
CY
5022012-07-18 Chong Yidong <cyd@gnu.org>
503
19fb7186
CY
504 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
505
9587c688
CY
506 * simple.el (count-words): Report on narrowing (Bug#9959).
507
0fe776a1
CY
508 * bindings.el: Bind M-= to count-words.
509
4c8ff0fe
CY
510 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
511
7f5331cc
MY
5122012-07-18 Masatake YAMATO <yamato@redhat.com>
513
514 * progmodes/sh-script.el (sh-imenu-generic-expression):
515 Capture a function with `function' keyword and without parentheses
516 like "function FOO" (bug#11856).
517
2dc2a609
TH
5182012-07-18 Tassilo Horn <tassilo@member.fsf.org>
519
520 * window.el (split-window-sensibly): Make WINDOW argument
521 optional.
522
439f7677
CY
5232012-07-18 Chong Yidong <cyd@gnu.org>
524
9aeb25a6
CY
525 * subr.el (keyboard-translate): Doc fix (Bug#7261).
526
439f7677
CY
527 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
528 and make C-x 8 RET exit isearch (Bug#11439).
529
530 * international/iso-transl.el: Move isearch-mode-map key
531 definitions to isearch.el.
532
12999ea8
SM
5332012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
534
535 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
536 (eieio-defclass): Use gv-define-setter when possible.
537
3ab6e069
DA
5382012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
539
540 Reflect recent changes in Fgarbage_collect.
541 * emacs-lisp/chart.el (chart-emacs-storage): Change to
542 reflect new format of data returned by Fgarbage_collect.
543
0a60bc10
FEG
5442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
545
546 New utility functions + python-info-ppss-context fix (Bug#11910).
547 * progmodes/python.el (python-info-beginning-of-block-statement-p)
548 (python-info-ppss-comment-or-string-p): New functions.
549 (python-info-ppss-context): Small fix for string check.
550
6dafa0d5
JL
5512012-07-17 Juri Linkov <juri@jurta.org>
552
553 * dired-aux.el (dired-do-async-shell-command): Doc fix.
554 (dired-do-async-shell-command): Don't add `*' at the end of the
555 command (Bug#11815).
556 (dired-do-shell-command): Doc fix.
557 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
558 Join the individual commands using either "&" or ";" as the
559 separator depending on the values of these trailing characters.
560 At the end re-add the trailing "&". (Bug#10598)
561
562 * simple.el (async-shell-command): Sync the interactive spec with
563 `shell-command'. Doc fix.
564 (shell-command): Doc fix.
565
b19dd9d1
JL
5662012-07-17 Juri Linkov <juri@jurta.org>
567
568 * descr-text.el (describe-char): Fix format args. (Bug#10129)
569
bcdc27d7 5702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 571
bcdc27d7 572 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
573 * progmodes/python.el (python-nav-beginning-of-statement):
574 Rename from python-nav-statement-start.
bcdc27d7
FEG
575 (python-nav-end-of-statement): Rename from
576 python-nav-statement-end.
577 (python-nav-beginning-of-block): Rename from
578 python-nav-block-start.
579 (python-nav-end-of-block): Rename from python-nav-block-end.
580
191da00e
FEG
5812012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
582
7f5331cc
MY
583 * progmodes/python.el (python-shell-send-string-no-output):
584 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
585 future interactions (Bug#11868).
586
4dc7c8d5 5872012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 588
88ecaf8f
SM
589 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
590
ef501ef0
SM
591 * emacs-lisp/elint.el (elint-find-args-in-code):
592 Use help-function-arglist, so as to handle lexical byte-code.
593
aa7aaf8f
SM
594 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
595 change (bug#11826).
596
45fd731c
SM
5972012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
598
2143fa32
SM
599 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
600 Avoid spuriously marking the buffer as modified because of c-is-sws.
601
efc26dbe
SM
602 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
603 as not-a-comment (bug#11946).
604
f5695c9a
SM
605 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
606 for uninterned vars.
607
608 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
609 Use read-event since we don't really want to read chars but bytes.
610
45fd731c
SM
611 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
612 $$..$$ but also $..$ using regexps (bug#11953).
613 Use tex-verbatim for \url and \path.
614 (tex-font-lock-keywords): Define as defconst like the others.
615 (tex-common-initialization): Don't use font-lock-syntax-table any more.
616
ddfc8813
RK
6172012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
618
619 * international/mule-cmds.el (ucs-insert): Make it an obsolete
620 alias for insert-char.
621
758e556a
FEG
6222012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
623
624 * progmodes/python.el: Simplified imenu implementation.
625 (python-nav-jump-to-defun): Remove command.
626 (python-mode-map): Use `imenu' instead.
627 (python-nav-list-defun-positions-cache)
628 (python-imenu-include-defun-type, python-imenu-make-tree)
629 (python-imenu-subtree-root-label, python-imenu-index-alist):
630 Remove vars.
631 (python-nav-list-defun-positions, python-nav-read-defun)
632 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
633 (python-imenu-make-tree, python-imenu-create-index):
634 Remove functions.
758e556a
FEG
635 (python-mode): Update to interact with imenu by setting
636 `imenu-extract-index-name-function' only.
637
032d23ab
FEG
6382012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
639
640 * progmodes/python.el: Enhancements to navigation commands.
641 (python-nav-backward-sentence)
642 (python-nav-forward-sentence): Remove.
643 (python-nav-backward-statement, python-nav-forward-statement)
644 (python-nav-statement-start, python-nav-statement-end)
645 (python-nav-backward-block, python-nav-forward-block)
646 (python-nav-block-start, python-nav-block-end)
647 (python-nav-forward-sexp-function)
648 (python-info-current-line-comment-p)
649 (python-info-current-line-empty-p): New functions.
650 (python-indent-context): Use `python-nav-statement-start'.
651
01795a1b
MA
6522012-07-16 Michael Albinus <michael.albinus@gmx.de>
653
9328d9aa
MA
654 * eshell/em-ls.el (eshell/ls): Use `apply'.
655
656 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
657 multi-hops, instead of Tramp internals.
658
01795a1b
MA
659 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
660
661 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
662 when F1 and F2 are located on different hosts.
663
63408057
CY
6642012-07-14 Chong Yidong <cyd@gnu.org>
665
666 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
667 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
668 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
669 (xterm-mouse--read-event-sequence-1000)
670 (xterm-mouse--read-event-sequence-1006): New functions. For old
671 mouse protocol, handle M-mouse-X events correctly.
672 (xterm-mouse-event): New arg specifying mouse protocol.
673 (turn-on-xterm-mouse-tracking-on-terminal)
674 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
675 sequence to toggle extended coordinates on newer XTerms.
676 This appears to be harmless on terminals which do not support this.
63408057 677
cd276f6e
LL
6782012-07-14 Leo Liu <sdl.web@gmail.com>
679
28ca98ac
LL
680 Add fringe bitmap indicators for flymake. (Bug#11253)
681 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
682 (flymake-make-overlay): New arg BITMAP.
683 (flymake-error-bitmap, flymake-warning-bitmap)
684 (flymake-fringe-indicator-position): New user variables.
685
cd276f6e
LL
686 * fringe.el: New bitmap exclamation-mark.
687
04408072
JD
6882012-07-14 Jan Djärv <jan.h.d@swipnet.se>
689
690 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
691 also (Bug#7879).
692
b5cf7fc4
CY
6932012-07-14 Chong Yidong <cyd@gnu.org>
694
695 * electric.el (electric-pair-post-self-insert-function): Fix pair
696 insertion in empty-region case (Bug#11520).
697
be755c79
RT
6982012-07-14 Chong Yidong <cyd@gnu.org>
699
45fd731c
SM
700 * bindings.el: Consolidate ctl-x-r-map bindings.
701 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
702
703 * rect.el, register.el: Move bindings to bindings.el.
704
7052012-07-14 Reuben Thomas <rrt@sc3d.org>
706
707 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
708
7f5b3198
AS
7092012-07-13 Andreas Schwab <schwab@linux-m68k.org>
710
711 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
712
97662200
JB
7132012-07-13 Juanma Barranquero <lekktu@gmail.com>
714
80185fed
JB
715 * bindings.el (top): Use `mapc' instead of `mapcar'.
716
97662200
JB
717 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
718
2bb1ae55
MA
7192012-07-13 Michael Albinus <michael.albinus@gmx.de>
720
721 * progmodes/sql.el (sql-comint): Suppress the check for program on
722 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
723 (Bug#11908)
724
dea31bd3
CY
7252012-07-13 Chong Yidong <cyd@gnu.org>
726
727 * bindings.el: Assign a non-nil permanent-local property to
728 per-buffer variables which lack a default value (Bug#11930).
729
730 * help-fns.el (describe-variable): In the "automatically becomes
731 local" notice, take note of permanent-local variables.
732
b68b3337
CY
7332012-07-13 Chong Yidong <cyd@gnu.org>
734
735 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
736 to allow printing the message when called from Lisp.
737
738 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
739 Remove toggle-read-only.
740
741 * bs.el (bs-toggle-readonly):
45fd731c
SM
742 * buff-menu.el (Buffer-menu-toggle-read-only):
743 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
744
745 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
746 Remove with-no-warnings around toggle-read-only.
747 (ffap-read-only, ffap-read-only-other-window)
748 (ffap-read-only-other-frame): Callers changed.
749
750 * help-mode.el: Don't require view package.
751 (help-mode-finish): Set buffer-read-only instead of calling
752 toggle-read-only.
753
754 * bindings.el (mode-line-toggle-read-only):
755 * dired.el (dired-toggle-read-only):
756 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
757 with non-nil second arg.
758
759 * emacs-lisp/eieio-custom.el (eieio-customize-object):
760 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
761 directly.
762
56bc1586
EZ
7632012-07-12 Eli Zaretskii <eliz@gnu.org>
764
765 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
766 not incf.
767
a464a6c7
SM
7682012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 More CL cleanups and reduction of use of cl.el.
771 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
772 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
773 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
774 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
775 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
776 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
777 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
778 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
779 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
780 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
781 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
782 * eshell/em-cmpl.el, eshell/em-banner.el:
783 * calendar/parse-time.el: Use cl-lib.
784 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
785 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
786 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
787 * term/ns-win.el, term.el, shell.el, ps-samp.el:
788 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
789 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
790 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
791 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
792 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
793 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
794 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
795 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
796 `lambda' rather than with `quote'.
797 (eshell-do-opt): Adjust accordingly.
798 (eshell-process-option): Simplify.
799 * eshell/esh-var.el:
800 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
801 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
802 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
803 to `pcase--dontcare'.
804 * emacs-lisp/cl.el (labels): Mark obsolete.
805 (cl--letf, letf): Move to cl-lib.
806 (cl--letf*, letf*): Remove.
807 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
808 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
809 (cl-progv): Rewrite.
810 (cl--letf, cl-letf): Move from cl.el.
811 (cl-letf*): New macro.
812 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
813
7ad4afe1
MA
8142012-07-11 Michael Albinus <michael.albinus@gmx.de>
815
816 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
817
9af57756
CY
8182012-07-11 Chong Yidong <cyd@gnu.org>
819
820 * vc/log-edit.el (log-edit-vc-backend): New variable.
821 (log-edit): Doc fix.
822
823 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
824 argument of log-edit to set up all local variables.
825 (vc-start-logentry): New optional arg specifying VC backend.
826
827 * vc/vc.el (vc-checkin): Use it.
828 (vc-deduce-fileset): Handle Log Edit buffers.
829 (vc-diff): Make first argument optional too.
830
831 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
832
8477cc7a
MA
8332012-07-10 Michael Albinus <michael.albinus@gmx.de>
834
835 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
836 command, just in case. The function is not needed anymore.
837 (eshell-external-command): Do not call `eshell-remote-command'.
838
19faa8e8
SM
8392012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
840
f58e0fd5
SM
841 Reduce use of (require 'cl).
842 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
843 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
844 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
845 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
846 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
847 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
848 * battery.el, avoid.el, abbrev.el: Use cl-lib.
849 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
850 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
851 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
852 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
853 * calculator.el, autorevert.el, apropos.el: Don't require CL.
854 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
855 (byte-compile-unfold-bcf, byte-compile-check-variable):
856 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
857 (byte-compile-nilconstp):
858 * emacs-lisp/autoload.el (make-autoload): Use pcase.
859 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
860
2519d43a
SM
861 * emacs-lisp/gv.el (cond): Make it a valid place.
862 (if): Simplify slightly.
863
19faa8e8
SM
864 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
865 (pcase--self-quoting-p): New function.
866 (pcase--u1): Use it.
867
c4907a5e
GM
8682012-07-10 Glenn Morris <rgm@gnu.org>
869
870 * emacs-lisp/authors.el (authors-fixed-entries):
871 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
872
c4444d16
PE
8732012-07-09 Paul Eggert <eggert@cs.ucla.edu>
874
875 Rename configure.in to configure.ac (Bug#11603).
876 * emacs-lisp/authors.el (authors-canonical-file-name):
877 * progmodes/autoconf.el (autoconf-mode):
878 Prefer configure.ac to configure.in.
879
d75be97d
CY
8802012-07-08 Chong Yidong <cyd@gnu.org>
881
01ac65bd
CY
882 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
883 Implement the mouse-1-click-follows-link handling properly.
884
885 * info.el (Info-link-keymap): Use follow-link mechanism for
886 header-line links (Bug#374).
887
d75be97d
CY
888 * simple.el (deactivate-mark): Do not set the primary selection
889 if another program has acquired it (Bug#11772).
890
87a92845 8912012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
892
893 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
894 (woman-decode-region): Replace escaped-escapes without destroying
895 bold or underline (Bug#11552).
87a92845 896 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 897
621b9d6c
CY
8982012-07-07 Chong Yidong <cyd@gnu.org>
899
900 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
901 (interprogram-cut-function, interprogram-paste-function):
902 Mention that we typically mean the clipboard.
621b9d6c 903
133a11fc
GM
9042012-07-06 Glenn Morris <rgm@gnu.org>
905
0d27a45e
GM
906 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
907
133a11fc
GM
908 * files.el (toggle-read-only): Restrict message to interactive use.
909
07b151f1
MA
9102012-07-06 Michael Albinus <michael.albinus@gmx.de>
911
912 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
913
914 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
915
211b896b
GM
9162012-07-06 Glenn Morris <rgm@gnu.org>
917
50394322
GM
918 * Makefile.in (compile-one-process): Rename from "recompile".
919
211b896b
GM
920 * Makefile.in (bzr-update): "compile" is the same as "recompile
921 autoloads", but parallelizable, so use that instead.
922
4737eec9
DG
9232012-07-06 Dmitry Gutov <dgutov@yandex.ru>
924
925 * window.el (quit-window): Always restore window height when
8137e7b3 926 it's saved in quit-restore parameter (Bug#11810).
4737eec9 927
226c3633 9282012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
929
930 * simple.el (kill-whole-line): Doc tweak.
931
226c3633 9322012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
933
934 * files.el (file-relative-name): Compare file names
935 case-insensitively if on MS-Windows or MS-DOS, or if
936 read-file-name-completion-ignore-case is non-nil. Don't use
937 case-fold-search for this purpose. (Bug#11827)
938
4dc7c8d5
SM
9392012-07-17 Andreas Schwab <schwab@linux-m68k.org>
940
941 * calendar/cal-dst.el (calendar-current-time-zone):
942 Return calendar-current-time-zone-cache if non-nil.
943
9442012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 9452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 946
19faa8e8
SM
947 * calendar/cal-dst.el (calendar-current-time-zone):
948 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 949
60198fc9
GM
9502012-07-06 Glenn Morris <rgm@gnu.org>
951
952 * Makefile.in (cvs-update): Remove old alias.
953
957b3189
MA
9542012-07-05 Michael Albinus <michael.albinus@gmx.de>
955
956 Sync with Tramp 2.2.6-pre.
957
958 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
959 compatible declaration.
960
19faa8e8
SM
961 * net/tramp-cmds.el (tramp-append-tramp-buffers):
962 Protect `list-load-path-shadows' call.
957b3189
MA
963
964 * net/tramp-compat.el (top): Require packages, which aren't
965 autoloaded anymore for XEmacs. Protect call of
966 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
967 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
968 it hurts at least for SXEmacs.
969 (tramp-compat-temporary-file-directory): In XEmacs, there is no
970 standard-value for `temporary-file-directory'.
971
972 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
973 Redirect stderr to /dev/null.
974 (tramp-sh-handle-write-region): uid and gid can be floats.
975 Reported by Russell Sim <russell.sim@gmail.com>.
976 (tramp-sh-handle-vc-registered): Hide errors.
977 (tramp-vc-file-name-handler): Use dummy results for `process-file'
978 and `start-file-process'.
979 (tramp-maybe-open-connection): Check also whether `non-essential'
980 is bound.
981
566df3fc
CY
9822012-07-04 Chong Yidong <cyd@gnu.org>
983
984 * xml.el (xml--parse-buffer): Use xml-syntax-table.
985 (xml-parse-tag): Likewise, and avoid changing entity tables.
986 (xml-syntax-table): Define from scratch, making sure not to give
987 x2000 and other Unicode spaces whitespace syntax, since those are
988 not spaces in XML.
989 (xml-parse-fragment): Delete unused function.
990 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
991 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
992 (xml-entity-ref, xml-pe-reference-re)
993 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
994 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
995 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
996 (xml-entity-value-re): Use syntax references in regexps where
997 possible; no need to define inside a let-binding.
998 (xml-parse-dtd): Use xml-pe-reference-re.
999 (xml-entity-or-char-ref-re): New defconst.
1000 (xml-parse-string, xml-substitute-special): Use it.
1001
30eabd7a
SM
10022012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1003
0781098a
SM
1004 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1005 (find-file--read-only): New function.
1006 (find-file-read-only, find-file-read-only-other-window)
1007 (find-file-read-only-other-frame): Use it.
1008 (insert-file-contents-literally): Don't `fset'.
1009 (get-free-disk-space): Use locate-dominating-file.
1010
b5771c0d
SM
1011 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1012 function is already compiled.
1013
30eabd7a
SM
1014 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1015
b4886f6e
MA
10162012-07-03 Michael Albinus <michael.albinus@gmx.de>
1017
1018 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1019 files on the same host.
1020
b9d82339
AS
10212012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1022
1023 * help-fns.el (describe-function-1): Only call
1024 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1025
a76e6535
CY
10262012-07-03 Chong Yidong <cyd@gnu.org>
1027
1028 * xml.el: Protect parser against XML bombs.
1029 (xml-entity-expansion-limit): New variable.
1030 (xml-parse-string, xml-substitute-special): Use it.
1031 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1032
b544fef2
GM
10332012-07-03 Glenn Morris <rgm@gnu.org>
1034
1035 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1036 Allow linking to specific messages in debbugs reports (eg 123#5).
1037
a7aef6f5
CY
10382012-07-02 Chong Yidong <cyd@gnu.org>
1039
1040 * xml.el: Fix entity and character reference expansion, allowing
1041 them to expand into markup as per XML spec.
1042 (xml-default-ns): New variable.
1043 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1044 (xml-parse-region): Make first two arguments optional.
1045 Discard text properties.
1046 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1047 All callers changed.
a7aef6f5
CY
1048 (xml-parse-tag): Call xml-parse-tag-1. For backward
1049 compatibility, this function should not modify buffer contents.
1050 (xml-parse-tag-1): Fix opening-tag regexp.
1051 (xml-parse-string): Rewrite, handling entity and character
1052 references properly.
1053 (xml--entity-replacement-text): Signal an error if a parameter
1054 entity is undefined.
1055
3df31c9f
SM
10562012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1057
2b5208f1
SM
1058 * comint.el (comint-output-filter): Filter out repeated prompts.
1059
3df31c9f
SM
1060 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1061 and file-name-absolute-p.
1062 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1063 internal calls.
1064
e3ac1281
PE
10652012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1066
1067 Spelling fixes.
1068 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1069 Rename from byte-compile--refiy-function. All uses changed.
1070
fbf2e7ad
CY
10712012-07-01 Chong Yidong <cyd@gnu.org>
1072
1073 * xml.el (xml--parse-buffer): New function. Move most of
1074 xml-parse-region here.
1075 (xml-parse-region): Copy region into a temporary buffer, since
1076 parameter entity substitution requires changing buffer contents.
1077 Use xml--parse-buffer.
1078 (xml-parse-file): Use xml--parse-buffer.
1079 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1080 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1081
9bf0aa15
GM
10822012-06-30 Glenn Morris <rgm@gnu.org>
1083
bbce2853
GM
1084 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1085
9bf0aa15
GM
1086 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1087 Remove outdated and unnecessary dbus declarations.
1088
0d23c240
EZ
10892012-06-30 Eli Zaretskii <eliz@gnu.org>
1090
1091 * emacs-lisp/timer.el (timer-until): Subtract results of
1092 float-time, instead of taking float-time of the result of
1093 time-subtract, since float-time signals an error for negative time
1094 arguments.
1095
b3218de1
CY
10962012-06-30 Chong Yidong <cyd@gnu.org>
1097
1098 * xml.el (xml-*-re): Convert defvars into defconsts, and
1099 eval-and-compile them so eval-and-compile works on derivatives.
1100 (xml--entity-replacement-text): Use eval-and-comple.
1101
a40c87a0
MA
11022012-06-30 Michael Albinus <michael.albinus@gmx.de>
1103
1104 * vc/vc-git.el (vc-git-registered): Use cache property
1105 `git-registered'.
1106 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1107 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1108 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1109
ac87de97
DG
11102012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1113 removed (likely outside Emacs). (Bug#11757)
ac87de97 1114
ac10fe06
SM
11152012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1116
3df31c9f 1117 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1118
7f3fbd5d
CY
11192012-06-30 Chong Yidong <cyd@gnu.org>
1120
1121 * xml.el: Implement XML parameter entities.
1122 (xml-parameter-entity-alist): New variable.
1123 (xml-parse-region, xml-parse-fragment): Preserve previous values
1124 of xml-entity-alist and xml-parameter-entity-alist, so that
1125 repeated calls on different documents do not change them.
1126 (xml-parse-tag): Fix doctype regexp.
1127 (xml--entity-replacement-text): New function.
1128 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1129 properly requires url retrieval which is unimplemented.
1130 (xml-escape-string): Doc fix.
1131
3cfbebba
SM
11322012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1135
2af3565e
DA
11362012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1137
1138 * fringe.el (fringe-mode): Doc fix.
1139
929df0e7
MA
11402012-06-29 Michael Albinus <michael.albinus@gmx.de>
1141
1142 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1143 is non-nil.
1144 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1145 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1146
c8d3a25c 11472012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1148
c8d3a25c
GM
1149 * calendar/cal-dst.el (calendar-current-time-zone):
1150 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1151
c8d3a25c 11522012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1153
1154 * progmodes/which-func.el (which-func-format):
1155 Add mouse-face. (Bug#11698)
1156
c8d3a25c
GM
11572012-06-29 Leo Liu <sdl.web@gmail.com>
1158
1159 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1160
11612012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * minibuffer.el (minibuffer-confirm-exit-commands):
1164 Add completion-at-point (bug#11725).
1165
11662012-06-29 Glenn Morris <rgm@gnu.org>
1167
1168 * progmodes/f90.el (f90-font-lock-keywords-2):
1169 Add some preprocessor elements. (Bug#10499)
1170
11712012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1174 Use syntax-propertize (bug#11739).
1175
2badeec4
JB
11762012-06-28 Juanma Barranquero <lekktu@gmail.com>
1177
1178 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1179
ae4969c2
JD
11802012-06-28 Julien Danjou <julien@danjou.info>
1181
1182 * term.el (term-handle-colors-array): Use a set of new faces to
1183 color the terminal. Also uses :inverse-video property.
1184 (term-default-fg-color): Set to nil by default, deprecate in favor
1185 of `term-face'.
1186 (term-default-bg-color): Set to nil by default, deprecate in favor
1187 of `term-face'.
1188 (term-current-face): Use `term-face' by default.
1189 (term-bold-attribute): Variable deleted.
1190
1c9bd870
GM
11912012-06-28 Glenn Morris <rgm@gnu.org>
1192
1193 * simple.el (completion-list-mode-finish):
1194 Don't use toggle-read-only. (Since completion-list-mode has
1195 a special mode-class, it wasn't doing anything extra anyway.)
1196
c207708c
SM
11972012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 Make inlining of other-mode interpreted functions work (bug#11799).
1200 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1201 (byte-compile): Use it to fix compilation of lexical-binding closures.
1202 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1203 function, if needed.
1204
3fd56834
SM
12052012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1206
04901786
SM
1207 * help-mode.el (help-make-xrefs): Don't just withstand
1208 cyclic-variable-indirection but any error in documentation-property.
1209
1ec4b7b2
SM
1210 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1211 memory use.
1212 * bindings.el (bindings--define-key): New function.
1213 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1214 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1215 * bindings.el: Use it to purecopy define-key bindings.
1216
e309e2a5
SM
1217 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1218
d5c6faf9
SM
1219 * emacs-lisp/cl.el (flet): Mark obsolete.
1220 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1221 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1222 * progmodes/js.el (js-c-fill-paragraph):
1223 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1224 (ebrowse-switch-member-buffer-to-derived-class):
1225 * play/5x5.el (5x5-solver): Use cl-flet.
1226
6e9590e2
SM
1227 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1228 (cl--symbol-function): New macro.
1229 (cl--letf, cl--letf*): Use it.
1230
3fd56834
SM
1231 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1232 Strip "toggle-" if any.
1233
35ff222c
GM
12342012-06-27 Glenn Morris <rgm@gnu.org>
1235
1ba6038a
GM
1236 * info.el (Info-default-directory-list): Move here from paths.el.
1237 * paths.el: Remove file, which is now empty.
1238 * loadup.el: No longer load "paths".
1239
0ea0e51b
GM
1240 * custom.el (custom-initialize-delay): Doc fix.
1241
35ff222c
GM
1242 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1243 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1244 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1245 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1246 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1247 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1248 * eshell/eshell.el (eshell-defgroup): Remove alias.
1249
c89926a5
CY
12502012-06-27 Chong Yidong <cyd@gnu.org>
1251
1252 * help.el (help-enable-auto-load): New variable.
1253
1254 * help-fns.el (help-fns--autoloaded-p): New function.
1255 (describe-function-1): Refer to a function as "autoloaded" if it
1256 was autoloaded at any time in the past. Perform autoloading if
1257 help-enable-auto-load is non-nil.
1258
cc06e7e7
EZ
12592012-06-26 Eli Zaretskii <eliz@gnu.org>
1260
1261 * makefile.w32-in (compile, compile-always): Depend on
1262 update-subdirs, not on subdirs.el. Otherwise, several different
1263 sub-targets of 'bootstrap' running in parallel could
1264 simultaneously write to subdirs.el, producing a garbled file.
1265
d2c32364
SS
12662012-06-26 Sam Steingold <sds@gnu.org>
1267
1268 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1269 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1270 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1271 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1272 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1273 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1274 * textmodes/tex-mode.el: Use it.
1275 Did not touch cedet and org because they are maintained elsewhere.
1276
5cf983b2
MR
12772012-06-26 Martin Rudalics <rudalics@gmx.at>
1278
1279 * calendar/calendar.el (calendar-exit): Don't try to delete or
1280 iconify last frame. See:
1281 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1282
8c4f2952
JD
12832012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1284
1285 * server.el (server-process-filter): Remember dir in the
1286 process's `server-client-directory' properties.
1287
772b2e2c
CY
12882012-06-24 Chong Yidong <cyd@gnu.org>
1289
1290 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1291 non-tag text.
1292
711b11e1
JB
12932012-06-23 Juanma Barranquero <lekktu@gmail.com>
1294
1295 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1296
dc5d230c
SM
12972012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * help-fns.el (describe-variable): Don't croak when doc is not found.
1300 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1301 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1302 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1303 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1304 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1305 ((lambda ..) ..).
1306 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1307
136e1c1d
CY
13082012-06-23 Chong Yidong <cyd@gnu.org>
1309
e8c1cabf
CY
1310 * info.el (Info-mouse-follow-link): Accept symbol values of
1311 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1312 (Info-fontify-node): Use Info-link-keymap for all navigation
1313 buttons, with link-args property to perform the desired action.
1314 (Info-link-keymap): Doc fix.
1315 (Info-next-link-keymap, Info-prev-link-keymap)
1316 (Info-up-link-keymap): Delete now-unused keymaps.
1317
0e9e6c6a
CY
13182012-06-23 Chong Yidong <cyd@gnu.org>
1319
05e89fea
CY
1320 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1321
0e9e6c6a
CY
1322 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1323 system abbrevs.
1324
1325 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1326
e33c6771
SM
13272012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1328
b68581e2
SM
1329 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1330 (bug#11719).
1331
e33c6771
SM
1332 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1333 the requote function doesn't work properly (bug#11714).
1334
7117e105
GM
13352012-06-23 Glenn Morris <rgm@gnu.org>
1336
1337 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1338
36cec983
SM
13392012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 Further GV/CL cleanups.
1342 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1343 gv-expander.
1344 (gv--defun-declaration): New function.
1345 (defun-declarations-alist): Use it.
1346 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1347 (gv-place): Autoload.
1348 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1349 original definition of dotimes and dolist.
1350 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1351 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1352 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1353 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1354 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1355 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1356 to the function's definition.
1357 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1358 * window.el:
1359 * files.el:
1360 * faces.el:
1361 * env.el: Don't use CL.
1362
d35af63c
PE
13632012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1364
1365 Support higher-resolution time stamps (Bug#9000).
1366
1367 * calendar/time-date.el (with-decoded-time-value): New arg
1368 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1369 (encode-time-value): New optional arg PICO. New type 3.
1370 (time-to-seconds) [!float-time]: Support the new picoseconds
1371 component if it's used.
1372 (seconds-to-time, time-subtract, time-add):
1373 Support ps-resolution time stamps as well.
1374
1375 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1376 (timerp): Timer vectors now have length 9, not 8.
1377 (timer--time): Support new-style (4-part) time stamps.
1378 (timer-next-integral-multiple-of-time): Time stamps now have
1379 picosecond resolution, so take a bit more care about rounding.
1380 (timer-relative-time, timer-inc-time): New optional arg psecs.
1381 (timer-set-time-with-usecs): Set psecs to 0.
1382 (timer--activate): Check psecs component, too.
1383
1384 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1385
ac77b21a
SM
13862012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1387
f143bfe3
SM
1388 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1389 Move the non-essential binding to the post/pre-command-hook where it is
1390 more obviously correct.
1391
ac77b21a
SM
1392 * subr.el (read-passwd): Don't use a history at all.
1393 * savehist.el (savehist-save): Remove password saved accidentally
1394 because of the above bug.
1395
76386c5a
BG
13962012-06-22 Bastien Guerry <bzg@gnu.org>
1397
1398 * files.el (toggle-read-only): Display a message telling whether
1399 the buffer is read-only or not (bug#11726).
1400
2ee3d7f0
SM
14012012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * emacs-lisp/gv.el: New file.
1404 * subr.el (push, pop): Extend to generalized variables.
1405 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1406 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1407 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1408 gv-define-simple-setter, and gv-define-expander.
1409 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1410 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1411 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1412 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1413 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1414 gv-letplace.
1415 (cl-defstruct): Don't define setf-method any more.
1416 * emacs-lisp/cl.el (flet): Don't autoload.
1417 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1418 (define-setf-expander, defsetf, define-modify-macro)
1419 (cl-struct-setf-expander): Move from cl-lib.el.
1420 * emacs-lisp/syntax.el:
1421 * emacs-lisp/ewoc.el:
1422 * emacs-lisp/smie.el:
1423 * emacs-lisp/cconv.el:
1424 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1425 (timer--time): Use gv-define-simple-setter.
1426 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1427 to avoid coding-system problems in subr.el. Adjust all users.
1428 (macroexp--maxsize, macroexp-small-p): New functions.
1429 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1430 * scroll-bar.el (scroll-bar-mode):
1431 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1432 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1433 * winner.el (winner-configuration, winner-make-point-alist)
1434 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1435 * files.el (locate-file-completion-table): Avoid list*.
1436
c5695d1d
CY
14372012-06-22 Chong Yidong <cyd@gnu.org>
1438
1439 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1440 (dired-create-files): Doc fix (Bug#11329).
1441 (dired-do-copy): Doc fix (Bug#11334).
1442 (dired-mark-read-string): Doc fix (Bug#11553).
1443
2ee3d7f0
SM
1444 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1445 Doc fix (Bug#11326).
c5695d1d
CY
1446 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1447 (dired-dwim-target): Doc fix.
1448
1449 * wdired.el (wdired-mode): Doc fix.
1450
89b5595a
GM
14512012-06-22 Glenn Morris <rgm@gnu.org>
1452
575db3f1
GM
1453 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1454 (pcmpl-rpm-cache-stamp-file): New constant.
1455 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1456 (pcmpl-rpm-packages): Optionally cache list of packages.
1457
a4c8dd51
GM
1458 * pcmpl-rpm.el (pcmpl-rpm): New group.
1459 (pcmpl-rpm-query-options): New option.
1460 (pcmpl-rpm-packages): No need to inline it.
1461 Use pcmpl-rpm-query-options.
1462
89b5595a
GM
1463 * calendar/calendar.el (calendar-in-read-only-buffer):
1464 Avoid some needless mode changes.
1465
e76f0800
CY
14662012-06-21 Chong Yidong <cyd@gnu.org>
1467
1468 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1469 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1470 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1471
297a8f1d
CY
14722012-06-20 Chong Yidong <cyd@gnu.org>
1473
1474 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1475
d34c18b1
DR
14762012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1477
1478 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1479 (bug#11201).
1480
32f7f28e
CY
14812012-06-20 Chong Yidong <cyd@gnu.org>
1482
1483 * term.el (term-window-width): Handle the case of a missing right
1484 fringe (Bug#8837).
1485 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1486 (term-mode): Use define-derived-mode. Minor cleanups.
1487 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1488 (term-move-columns, term-insert-char, term-emulate-terminal)
1489 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1490
493c6688
MA
14912012-06-20 Michael Albinus <michael.albinus@gmx.de>
1492
d34c18b1
DR
1493 * net/ange-ftp.el (ange-ftp-get-passwd):
1494 Bind `enable-recursive-minibuffers'.
493c6688
MA
1495 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1496
3f06ecf4
DR
14972012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1498
1499 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1500
68f12411
GM
15012012-06-19 Glenn Morris <rgm@gnu.org>
1502
1503 * progmodes/python.el (python-mode): Derive from prog-mode.
1504
b3820318
KG
15052012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1506
1507 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1508 (edt-user-menu-bar-update-buffers): New functions.
1509 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1510
c6bf3022
CY
15112012-06-19 Chong Yidong <cyd@gnu.org>
1512
1513 * subr.el (with-selected-window): Preserve the selected window's
1514 terminal's top-frame (Bug#4702).
1515
1516 * window.el (save-selected-window): Likewise.
1517
25f09295
SM
15182012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * progmodes/python.el (python-rx-constituents): Move backquote.
1521 (python-skeleton-define, python-define-auxiliary-skeleton):
1522 Use `declare'.
1523
6b11952a
MA
15242012-06-18 Michael Albinus <michael.albinus@gmx.de>
1525
1526 * minibuffer.el (read-file-name-default): Revert the patch from
1527 2012-06-17.
1528
ee4b1330
SM
15292012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1532 (pcase--u1, pcase--q1): Don't use apply-partially.
1533
35647f79
GM
15342012-06-18 Glenn Morris <rgm@gnu.org>
1535
1536 * progmodes/python.el (python-proc, python-buffer)
1537 (python-send-receive, python-send-string): Fix obsolete versions.
1538
24b0cff0
MR
15392012-06-18 Martin Rudalics <rudalics@gmx.at>
1540
1541 * window.el (special-display-p): Completely remove stringp
1542 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1543
29855149
MA
15442012-06-17 Michael Albinus <michael.albinus@gmx.de>
1545
1546 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1547
1548 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1549
1550 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1551 * net/tramp-sh.el (tramp-maybe-open-connection):
1552 Throw if `non-essential' is non-nil.
1553
07463363
MR
15542012-06-17 Martin Rudalics <rudalics@gmx.at>
1555
1556 * window.el (special-display-p): Signal an error if BUFFER-NAME
1557 is not a string (Bug#11713).
1558
48d1354e
PE
15592012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1560
1561 * progmodes/python.el (python-info-beginning-of-backslash):
1562 Rename from python-info-beginning-of-backlash, as a spelling fix.
1563
eb4a8a9a
CY
15642012-06-17 Chong Yidong <cyd@gnu.org>
1565
1566 * term.el (term-emulate-terminal): If term-check-size is called,
1567 move point to the process mark without resetting point (Bug#4635).
1568
ddfbf826 15692012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1570
1571 * international/mule-cmds.el (mule-menu-keymap)
1572 (set-language-environment, set-locale-environment): Doc tweaks.
1573
9b0e3eba
AA
15742012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1575
1576 * cus-face.el (custom-face-attributes): Add wave-style underline
1577 attribute.
1578 * faces.el (set-face-attribute): Update docstring to describe
1579 wave-style underline attribute.
1580
771e3eae
CY
15812012-06-16 Chong Yidong <cyd@gnu.org>
1582
1583 * term/xterm.el (terminal-init-xterm): Discard input before
1584 querying background mode (Bug#10959).
1585
7ae2ea10
SM
15862012-06-16 Stefan Merten <smerten@oekonux.de>
1587
1588 * textmodes/rst.el: Added and corrected some comments.
1589 (rst-re-alist-def): Improve symbol syntax.
1590 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1591 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1592 (rst-official-version, rst-official-cvs-rev): Update version
1593 information.
7ae2ea10 1594
b6974efa
JB
15952012-06-15 Juanma Barranquero <lekktu@gmail.com>
1596
1597 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1598 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1599
8826d473
GM
16002012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1601
1602 * progmodes/python.el: New python.el merge.
1603 (python-guess-indent): Obsolete var.
1604 (python-indent-guess-indent-offset): New defcustom.
1605 (python-indent): Obsolete var.
1606 (python-indent-offset): New defcustom.
1607 (python-python-command, python-jython-command): Delete var.
1608 (python-shell-interpreter): New defcustom.
1609 (python-pdbtrack-do-tracking-p): Delete var.
1610 (python-pdbtrack-activate): New defcustom.
1611 (python-use-skeletons): Obsolete var.
1612 (python-skeleton-autoinsert): New defcustom.
1613 (inferior-python-filter-regexp, python-continuation-offset)
1614 (python-honour-comment-indentation, python-indent-string-contents)
1615 (python-jython-packages, python-mode-hook)
1616 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1617 (python-shell-prompt-alist)
1618 (python-source-modes): Delete defcustoms.
1619 (python-check-buffer-name, python-eldoc-setup-code)
1620 (python-eldoc-string-code, python-ffap-setup-code)
1621 (python-ffap-string-code, python-fill-comment-function)
1622 (python-fill-decorator-function, python-fill-paren-function)
1623 (python-fill-string-function, python-imenu-include-defun-type)
1624 (python-imenu-make-tree, python-imenu-subtree-root-label)
1625 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1626 (python-shell-compilation-regexp-alist)
1627 (python-shell-completion-module-string-code)
1628 (python-shell-completion-pdb-string-code)
1629 (python-shell-completion-setup-code)
1630 (python-shell-completion-string-code)
1631 (python-shell-enable-font-lock, python-shell-exec-path)
1632 (python-shell-extra-pythonpaths)
1633 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1634 (python-shell-process-environment)
1635 (python-shell-prompt-block-regexp)
1636 (python-shell-prompt-output-regexp)
1637 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1638 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1639 (python-shell-virtualenv-path): New defcustoms.
1640 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1641 (inferior-python-mode-syntax-table, python--prompt-regexp)
1642 (python-buffer, python-command python-python-command)
1643 (python-default-template, python-imports, python-indent-index)
1644 (python-indent-list, python-indent-list-length)
1645 (python-mode-running, python-pdbtrack-is-tracking-p)
1646 (python-preoutput-continuation, python-preoutput-leftover)
1647 (python-preoutput-result, python-preoutput-skip-next-prompt)
1648 (python-prev-dir/file, python-recursing)
1649 (python-saved-check-command, python-version-checked)
1650 (python-which-func-length-limit)
1651 (view-return-to-alist): Delete vars.
1652 (python-check-custom-command, python-dotty-syntax-table)
1653 (python-imenu-index-alist, python-indent-current-level)
1654 (python-indent-dedenters, python-indent-levels)
1655 (python-nav-beginning-of-defun-regexp)
1656 (python-nav-list-defun-positions-cache)
1657 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1658 (python-shell-internal-buffer)
1659 (python-skeleton-available): New vars.
1660 (def-python-skeleton): Delete macro.
1661 (python-skeleton-define): New macro.
1662 (python-define-auxiliary-skeleton, python-rx): New macros.
1663 (python-insert-class): Delete command.
1664 (python-skeleton-class): New command.
1665 (python-insert-def): Delete command.
1666 (python-skeleton-def): New command.
1667 (python-insert-for): Delete command.
1668 (python-skeleton-for): New command.
1669 (python-insert-if): Delete command.
1670 (python-skeleton-if): New command.
1671 (python-insert-try/except, python-insert-try/finally): Delete commands.
1672 (python-skeleton-try): New command.
1673 (python-insert-while): Delete command.
1674 (python-skeleton-while): New command.
1675 (python-backspace): Delete command.
1676 (python-indent-dedent-line-backspace): New command.
1677 (python-electric-colon): Delete command.
1678 (python-indent-electric-colon): New command.
1679 (python-guess-indent): Delete command.
1680 (python-indent-guess-indent-offset): New command.
1681 (python-shift-left): Delete command.
1682 (python-indent-shift-left): New command.
1683 (python-shift-right): Delete command.
1684 (python-indent-shift-right): New command.
1685 (python-find-function): Delete command.
1686 (python-nav-jump-to-defun): New command.
1687 (python-next-statement): Delete command.
1688 (python-nav-forward-sentence): New command.
1689 (python-previous-statement): Delete command.
1690 (python-nav-backward-sentence): New command.
1691 (python-fill-paragraph): Delete command.
1692 (python-fill-paragraph-function): New command.
1693 (python-send-buffer): Delete command.
1694 (python-shell-send-buffer): New command.
1695 (python-send-defun): Delete command.
1696 (python-shell-send-defun): New command.
1697 (python-send-region, python-send-region-and-go): Delete commands.
1698 (python-shell-send-region)
1699 (python-shell-switch-to-shell): New commands.
1700 (python-send-string): Delete command.
1701 (python-shell-send-string): New command.
1702 (python-switch-to-python): Delete command.
1703 (python-shell-switch-to-shell): New command.
1704 (python-describe-symbol): Delete command.
1705 (python-eldoc-at-point): New command.
1706 (python--set-prompt-regexp, python-args-to-list)
1707 (python-after-info-look, python-check-version)
1708 (python-check-comint-prompt, python-find-imports)
1709 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1710 (python-unload-function, python-expand-template)
1711 (python-maybe-jython, python-preoutput-filter)
1712 (python-pdbtrack-get-source-buffer)
1713 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1714 (python-pdbtrack-toggle-stack-tracking)
1715 (python-pdbtrack-track-stack-file, python-initial-text)
1716 (python-first-word, python-comment-line-p, python-send-command)
1717 (python-setup-brm, python-sentinel, python-set-proc)
1718 (python-skip-out, python-input-filter, python-outdent-p)
1719 (python-outline-level, python-backslash-continuation-line-p)
1720 (python-end-of-block, python-end-of-statement, python-mark-block)
1721 (python-beginning-of-block, python-beginning-of-statement)
1722 (python-blank-line-p, python-beginning-of-string)
1723 (python-open-block-statement-p): Delete functions.
1724 (python-indent-line, python-indent-line-1): Delete functions.
1725 (python-indent-line): New function.
1726 (python-indentation-levels): Delete function.
1727 (python-indent-calculate-levels): New function.
1728 (python-proc): Delete function.
1729 (python-shell-get-process): New function.
1730 (python-send-receive): Delete function.
1731 (python-shell-send-string-no-output): New function.
1732 (python-module-path): Delete function.
1733 (python-ffap-module-path): New function.
1734 (python-completion-at-point)
1735 (python-symbol-completions): Delete functions.
1736 (python-completion-complete-at-point): New function.
1737 (python-load-file): Delete function.
1738 (python-shell-send-file): New function.
1739 (python-calculate-indentation): Delete function.
1740 (python-indent-calculate-indentation): New function.
1741 (python-skip-comments/blanks): Delete function.
1742 (python-util-forward-comment): New function.
1743 (python-continuation-line-p): Delete function.
1744 (python-info-continuation-line-p): New function.
1745 (python-which-func, python-current-defun): Delete function.
1746 (python-info-current-defun): New function.
1747 (python-beginning-of-defun): Delete function.
1748 (python-nav-beginning-of-defun): New function.
1749 (python-close-block-statement-p)
1750 (python-block-end-p): Delete function.
1751 (python-info-closing-block): New function.
1752 (python-comint-output-filter-function)
1753 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1754 (python-fill-comment, python-fill-decorator, python-fill-paren)
1755 (python-fill-string, python-imenu-make-element-tree)
1756 (python-imenu-make-tree, python-imenu-tree-assoc)
1757 (python-indent-context, python-indent-dedent-line)
1758 (python-indent-line-function)
1759 (python-indent-post-self-insert-function)
1760 (python-indent-toggle-levels)
1761 (python-info-assignment-continuation-line-p)
1762 (python-info-beginning-of-backlash)
1763 (python-info-block-continuation-line-p)
1764 (python-info-closing-block-message)
1765 (python-info-line-ends-backslash-p)
1766 (python-info-looking-at-beginning-of-defun)
1767 (python-info-ppss-context, python-info-ppss-context-type)
1768 (python-nav-list-defun-positions, python-nav-read-defun)
1769 (python-nav-sentence-end, python-nav-sentence-start)
1770 (python-pdbtrack-comint-output-filter-function)
1771 (python-pdbtrack-set-tracked-buffer)
1772 (python-shell-calculate-exec-path)
1773 (python-shell-calculate-process-environment)
1774 (python-shell-completion--do-completion-at-point)
1775 (python-shell-completion--get-completions)
1776 (python-shell-completion-complete-at-point)
1777 (python-shell-completion-complete-or-indent)
1778 (python-shell-get-or-create-process)
1779 (python-shell-get-process-name)
1780 (python-shell-internal-get-or-create-process)
1781 (python-shell-internal-get-process-name)
1782 (python-shell-internal-send-string, python-shell-make-comint)
1783 (python-shell-parse-command, python-shell-send-setup-code)
1784 (python-skeleton-add-menu-items)
1785 (python-util-clone-local-variables, python-util-position)
1786 (run-python-internal, python-indentation-levels)
1787 (python-nav-beginning-of-defun)
1788 (python-completion-complete-at-point): New functions.
1789 (run-python): Change arguments. New API requirements.
1790
4302f5ba
SM
17912012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1792
f38ea36d
SM
1793 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1794 (bug#11649).
1795
1796 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1797 (macroexp--expand-all): Use it.
1798
4302f5ba
SM
1799 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1800 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1801 Use `cl-function' instead.
1802
33377562
JB
18032012-06-14 Juanma Barranquero <lekktu@gmail.com>
1804
1805 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1806 Suggested by Stefan Monnier while discussing bug#11657.
1807
54c5ba1a
SS
18082012-06-14 Sam Steingold <sds@gnu.org>
1809
1810 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1811
f9f1b1fe
AS
18122012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1813
1814 * play/doctor.el (doctor-doc): Remove parameter and use
1815 doctor-sent instead of sent.
1816 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1817
a81068ba
SM
18182012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1819
5a315f9c
SM
1820 * files.el: Require cl-lib.
1821 (file-name-non-special): Replace case -> cl-case.
1822
1823 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1824
a81068ba
SM
1825 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1826 mapping from #' to function*.
1827
8cca9703
CY
18282012-06-13 Chong Yidong <cyd@gnu.org>
1829
1830 * mouse.el (mouse-drag-track): Do not set the mark if the user
1831 releases the mouse without selecting anything (Bug#11588).
1832
a12ac9d7
SM
18332012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1834
ccf1dc18
SM
1835 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1836 as well (bug#11646).
1837
ef62b23d
SM
1838 * loadup.el: Count byte-code functions as well.
1839
c4c8444a
SM
1840 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1841 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1842
a12ac9d7
SM
1843 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1844 (bug#11649). Add cl-defun and cl-defmacro.
1845
87e6e64f
DA
18462012-06-13 Drew Adams <drew.adams@oracle.com>
1847
1848 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1849 Fix last change.
1850
682cefaf
MA
18512012-06-13 Michael Albinus <michael.albinus@gmx.de>
1852
1853 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1854 Otherwise, it blocks in batch mode.
1855
773e1f08
JB
18562012-06-13 Juanma Barranquero <lekktu@gmail.com>
1857
1858 * help-mode.el (bookmark-make-record-default): Declare.
1859
60057926
CY
18602012-06-13 Chong Yidong <cyd@gnu.org>
1861
1862 * emacs-lisp/package.el (list-packages): Compute a list of
1863 packages that are newly-available since the last list-packages
1864 invocation.
1865 (package-menu--new-package-list): New var.
1866 (package-menu--generate, package-menu--print-info)
1867 (package-menu--status-predicate, package-menu-mark-install):
1868 Handle new status label "new".
1869
ad4d226c
SM
18702012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1873 conversion to backquotes.
1874
f1a4e679
CY
18752012-06-12 Chong Yidong <cyd@gnu.org>
1876
1877 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1878 Rename from gud-inhibit-global-bindings.
1879
1880 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1881
1882 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1883 hook from nxml-glyph-set-hook.
1884
1885 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1886 declaration.
1887
1888 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1889
1890 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1891 Convert to defcustom.
1892
0c9e42b5
DA
18932012-06-12 Drew Adams <drew.adams@oracle.com>
1894
1895 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1896 New functions.
1897 (help-mode): Use them.
1898
09e06855
GM
18992012-06-11 Glenn Morris <rgm@gnu.org>
1900
1901 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1902 Use preprocessor face for directives.
1903 (fortran-directive-re): Doc fix.
1904
71adb94b
SM
19052012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1906
2eb87922
SM
1907 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1908 conversion to backquotes (bug#11652).
1909
71adb94b
SM
1910 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1911 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1912 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1913 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1914 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1915 (cl-ninth, cl-tenth): Mark them as inlinable.
1916 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1917 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1918 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1919 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1920 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1921 (cl-list*, cl-adjoin): Don't put an autoload manually.
1922 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1923 (cl--compiler-macro-list*): Add autoload cookie.
1924 (cl--compiler-macro-cXXr): New function.
2eb87922 1925
71adb94b
SM
1926 * help-fns.el (help-fns--compiler-macro): New function extracted from
1927 describe-function-1; follow aliases and use `compiler-macro' property.
1928 (describe-function-1): Use it.
1929
a6674402
CY
19302012-06-11 Chong Yidong <cyd@gnu.org>
1931
1932 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1933 is uninstalled, if imagemagick is installed.
1934
bb3faf5b
SM
19352012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * emacs-lisp/cl-lib.el: Use lexical-binding.
1938 (cl-map-extents, cl-maclisp-member): Remove.
1939 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1940 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1941 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1942 * emacs-lisp/cl-extra.el: Use lexical-binding.
1943 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1944 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1945 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1946 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1947 * emacs-lisp/cl-seq.el: Use lexical-binding.
1948 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1949 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1950 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1951 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1952 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1953 CL's internals.
1954
2fe4b125
MA
19552012-06-11 Michael Albinus <michael.albinus@gmx.de>
1956
1957 Sync with Tramp 2.2.6-pre.
1958
1959 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1960 `print-length' and `print-level' to nil, in order to avoid
1961 truncation. Reported by Christopher Schmidt
1962 <christopher@ristopher.com>.
1963
1964 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1965
1966 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
1967 New defmacro.
1968 (tramp-compat-copy-directory): Add optional argument
1969 COPY-CONTENTS. It is not handled yet.
1970
1971 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
1972 (tramp-ftp-file-name-p): Simplify.
1973
1974 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
1975 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
1976 connection vector.
1977
1978 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
1979 (tramp-methods): Do not use `tramp-password-end-of-line'.
1980 (tramp-completion-function-alist-putty): Handle UNIX case.
1981 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
1982 (tramp-do-file-attributes-with-stat)
1983 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
1984 gid as real numbers. They could run out of integer range on cygwin.
1985 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
1986 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
1987 (tramp-open-connection-setup-interactive-shell):
1988 Use `tramp-cleanup'. Move check for busyboxes ...
1989 (tramp-find-shell): ... here. Simplify implementation.
1990 Set "remote-shell" property also for alternative shells.
1991 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
1992 If failing, a regular file would be written otherwise.
1993 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
1994 (tramp-find-inline-encoding): Cache the coding commands in the
1995 process cache. Apply test command on the remote side, if defined.
1996 (tramp-find-inline-compress): Cache the compress commands in the
1997 process cache.
1998 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
1999 when requested. Handle hops.
2000 (tramp-current-connection): New defvar.
87e6e64f
DA
2001 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2002 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2003 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2004 (tramp-get-inline-compress, tramp-get-inline-coding):
2005 Read connection properties from the process cache.
2fe4b125
MA
2006
2007 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2008 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2009 New defconsts.
2fe4b125
MA
2010 (tramp-smb-prompt): Extend for powershell prompt.
2011 (tramp-smb-file-name-handler-alist): Add handlers for
2012 `process-file', `shell-command' and `start-file-process'.
2013 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2014 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2015 (tramp-smb-file-name-p): Simplify.
2016 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2017 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2018 (tramp-smb-shell-quote-argument): New defuns.
2019 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2020 Implement using "tar". By this, time-stamps are preserved.
2021 (tramp-smb-handle-copy-file): Handle also the case of directories.
2022 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2023 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2024 Use `tramp-get-connection-buffer').
2fe4b125
MA
2025 (tramp-smb-handle-rename-file): Use "rename", when source and
2026 target are on the same share.
87e6e64f
DA
2027 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2028 Use `tramp-smb-server-version'.
2fe4b125
MA
2029 (tramp-smb-wait-for-output): Remove prompt.
2030
2031 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2032 (tramp-methods, tramp-rsh-end-of-line):
2033 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2034 (tramp-save-ad-hoc-proxies): New defcustom.
2035 (tramp-completion-function-alist): Adapt docstring.
2036 (tramp-default-password-end-of-line): Remove defcustom.
2037 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2038 (tramp-user-regexp, tramp-file-name-regexp-unified)
2039 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2040 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2041 (tramp-remote-file-name-spec-regexp): New defconst.
2042 (tramp-file-name-structure): Extend structure for hops.
2043 (tramp-get-method-parameter): Move up.
2044 (tramp-file-name-p, tramp-dissect-file-name)
2045 (with-parsed-tramp-file-name): Handle hops.
2046 (tramp-file-name-hop): New defun.
2047 (tramp-make-tramp-file-name): New optional arg HOP.
2048 (tramp-message-show-progress-reporter-message): New defvar.
2049 (tramp-with-progress-reporter): Use it. We cannot use
2050 `tramp-message-show-message' here, because this suppresses also
2051 error buffers.
2052 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2053 `tramp-message-show-message' is nil.
2054 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2055 (tramp-cleanup): New defun.
2056 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2057 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2058 an error unchanged.
2059 (tramp-completion-handle-file-name-all-completions): Handle hops.
2060 Fix an error when called from ido.
2061 (tramp-completion-dissect-file-name): Use better local variable
2062 name. Add hop to the vector.
2063 (tramp-handle-insert-file-contents): Use progress-reporter for the
2064 whole scenario.
2065 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2066 to `t'.
2067 (tramp-check-for-regexp): Simplify search.
2068 (tramp-enter-password): Remove it. Move implementation ...
2069 (tramp-action-password): ... here.
2070 (tramp-mode-string-to-int, tramp-local-host-p)
2071 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2072 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2073 Set tramp-autoload cookie.
2fe4b125
MA
2074
2075 * net/trampver.el: Update release number.
2076
20772012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2078 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2081 (tramp-parse-group, tramp-parse-file)
2082 (tramp-parse-shostkeys-sknownhosts): New defuns.
2083 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2084 (tramp-parse-shosts-group, tramp-parse-sconfig)
2085 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2086 (tramp-parse-sknownhosts, tramp-parse-hosts)
2087 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2088 Use them.
2089 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2090 (tramp-parse-putty-group): Don't narrow.
2091 (tramp-parse-putty): Make a loop.
2092 (tramp-file-name-handler): Catch the `suppress' signal.
2093
72834e10
CY
20942012-06-11 Chong Yidong <cyd@gnu.org>
2095
2096 * image.el (imagemagick-register-types): Put the ImageMagick entry
2097 at the end of image-type-file-name-regexps.
2098
a4712e11
JB
20992012-06-11 Johan Bockgård <bojohan@gnu.org>
2100
2101 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2102 (pcase, pcase-let*, pcase-dolist): Use them.
2103
82ad98e3
SM
21042012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * emacs-lisp/pcase.el (pcase--let*): New function.
2107 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2108 (pcase--expand): Use macroexp-let².
2109
f80efb86
SM
21102012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2113 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2114 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2115 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2116 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2117 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2118
31ca4639 21192012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2120
31ca4639
CY
2121 * mail/rmail.el (rmail-yank-current-message): Leave point at
2122 correct position. (Bug#11660)
94f0aa34 2123
31ca4639 21242012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2125
31ca4639 2126 * allout-widgets.el: Fix code header.
9e1b8ec4 2127
31ca4639 21282012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2129
f80efb86
SM
2130 * cus-edit.el (customize-changed-options-previous-release):
2131 Bump to 24.1.
31ca4639 2132
642b6d30
AS
21332012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2134
2135 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2136
4f5d2ba1
CY
21372012-06-09 Chong Yidong <cyd@gnu.org>
2138
2139 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2140
e75852fd
MR
21412012-06-09 Martin Rudalics <rudalics@gmx.at>
2142
2143 * window.el (special-display-popup-frame): Don't use
2144 window--display-buffer (Bug#11651).
2145
1e48e282
EZ
21462012-06-09 Eli Zaretskii <eliz@gnu.org>
2147
8a26b487
EZ
2148 Fix parallel builds: make sure loaddefs.el is not being written
2149 while Lisp files are compiled.
2150 (compile): Don't depend on 'mh-autoloads'.
2151 (compile-CMD, compile-SH): Depend on 'autoloads'.
2152 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2153
1e48e282
EZ
2154 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2155
6175e34b
CY
21562012-06-09 Chong Yidong <cyd@gnu.org>
2157
2158 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2159 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2160 Doc fixes (Bug#11225).
2161
d9857e53
SM
21622012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2165 a function if there's a clear indication that it has a compiler-macro.
2166 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2167 (macro-declarations-alist): Add arglist to declaration functions.
2168 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2169 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2170 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2171 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2172 Also add autoload to find the compiler macro.
2173 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2174 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2175 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2176 (cl--compiler-macro-get): New functions, replacing calls to
2177 cl-define-compiler-macro.
2178 (cl-typep) [compiler-macro]: Use macroexp-let².
2179
f81298f8 21802012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2181
2182 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2183 string properly, fixes Bug#11473.
2184
4b56d0fe
CY
21852012-06-08 Chong Yidong <cyd@gnu.org>
2186
2187 * faces.el (set-face-attribute): Doc fix.
2188 (modify-face): Don't use :bold and :italic.
2189 (error, warning, success): Tweak definitions.
2190
2191 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2192 (custom-modified, custom-set, custom-changed, custom-themed)
2193 (custom-saved, custom-button, custom-button-mouse)
2194 (custom-button-pressed, custom-state, custom-comment-tag)
2195 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2196 (custom-group-subtitle): Use new-style face specs.
2197 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2198 (custom-set-face, custom-changed-face, custom-saved-face)
2199 (custom-button-face, custom-button-pressed-face)
2200 (custom-documentation-face, custom-state-face)
2201 (custom-comment-face, custom-comment-tag-face)
2202 (custom-variable-tag-face, custom-variable-button-face)
2203 (custom-face-tag-face, custom-group-tag-face-1)
2204 (custom-group-tag-face): Remove obsolete face alias.
2205
2206 * epa.el (epa-validity-high, epa-validity-medium)
2207 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2208 (epa-field-name, epa-field-body):
2209 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2210 (font-lock-keyword-face, font-lock-builtin-face)
2211 (font-lock-function-name-face, font-lock-variable-name-face)
2212 (font-lock-type-face, font-lock-constant-face):
2213 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2214 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2215 * speedbar.el (speedbar-button-face, speedbar-file-face)
2216 (speedbar-directory-face, speedbar-tag-face)
2217 (speedbar-selected-face, speedbar-highlight-face)
2218 (speedbar-separator-face):
2219 * whitespace.el (whitespace-newline, whitespace-space)
2220 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2221 (whitespace-line, whitespace-space-before-tab)
2222 (whitespace-space-after-tab, whitespace-indentation)
2223 (whitespace-empty):
2224 * emulation/cua-base.el (cua-global-mark):
2225 * eshell/em-prompt.el (eshell-prompt):
2226 * net/newst-plainview.el (newsticker-new-item-face)
2227 (newsticker-old-item-face, newsticker-immortal-item-face)
2228 (newsticker-obsolete-item-face, newsticker-date-face)
2229 (newsticker-statistics-face, newsticker-default-face):
2230 * net/newst-reader.el (newsticker-feed-face)
2231 (newsticker-extra-face, newsticker-enclosure-face):
2232 * net/newst-treeview.el (newsticker-treeview-face)
2233 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2234 (newsticker-treeview-immortal-face)
2235 (newsticker-treeview-obsolete-face)
2236 (newsticker-treeview-selection-face):
2237 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2238 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2239 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2240 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2241 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2242 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2243 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2244 (mpuz-text):
2245 * progmodes/vera-mode.el (vera-font-lock-number)
2246 (vera-font-lock-function, vera-font-lock-interface):
2247 * textmodes/table.el (table-cell): Use new-style face specs, and
2248 don't use the old :bold and :italic attributes.
2249
2250 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2251 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2252 (ebrowse-member-class, ebrowse-progress): Likewise.
2253 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2254 (ebrowse-file-name-face, ebrowse-default-face)
2255 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2256 (ebrowse-progress-face): Remove obsolete faces.
2257
2258 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2259 Inherit from error and warning faces respectively.
2260
2261 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2262 Likewise.
f80efb86
SM
2263 (flyspell-incorrect-face, flyspell-duplicate-face):
2264 Remove obsolete aliases.
4b56d0fe 2265
03310646
MA
22662012-06-08 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2269 Avoid infloop.
2270
513749ee
SM
22712012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2272
2273 * startup.el (argv, argi): Make lexically scoped.
2274 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2275 * emacs-lisp/cl-macs.el: Use lexical-binding.
2276 Rename cl-bind-* to cl--bind-*.
2277 * files.el: Don't require `cl' since it doesn't use it.
2278 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2279
595ef4ad
JB
22802012-06-08 Juanma Barranquero <lekktu@gmail.com>
2281
2282 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2283 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2284 instead of calling external sort utility.
2285 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2286
e9f66fcb
EZ
22872012-06-08 Eli Zaretskii <eliz@gnu.org>
2288
2289 * descr-text.el (describe-char): Mention how to insert the
2290 character, if the current input method doesn't support it.
2291 See the discussion in this thread for the details:
2292 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2293
3d10db47
SS
22942012-06-08 Sam Steingold <sds@gnu.org>
2295
2296 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2297 XF86Back to previous-buffer.
2298 (minibuffer-local-map): Bind them to next-history-element and
2299 previous-history-element respectively.
2300 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2301 help-go-back respectively.
2302 * info.el (Info-mode-map): Bind them to Info-history-forward and
2303 Info-history-back respectively.
2304 These are the keys next to Up on the ThinkPad keyboard.
2305
de7e2b36
SM
23062012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2309 * emacs-lisp/cl-macs.el: Provide itself.
2310 (cl--labels-convert-cache): New var.
2311 (cl--labels-convert): New function.
2312 (cl-flet, cl-labels): New implementation with new semantics, relying on
2313 lexical-binding.
2314 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2315 (cl-closure-vars, cl--function-convert-cache)
2316 (cl--function-convert): Move from cl-macs.el.
2317 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2318 rename by removing the "cl-" prefix.
2319 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2320
6fa6c4ae
SM
23212012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2324 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2325 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2326 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2327 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2328 (cl-hash-table-count): Add old compatibility aliases.
2329
2330 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2331 Use macroexpand-all-environment instead.
2332 (cl--old-macroexpand): New var.
2333 (cl--sm-macroexpand): New function.
2334 (cl-symbol-macrolet): Use it during macro expansion.
2335 (cl--function-convert-cache): New var.
2336 (cl--function-convert): New function, extracted from
2337 cl-macroexpand-all.
2338 (cl-lexical-let): Use it.
2339
2340 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2341 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2342 (cl-member): Remove old alias.
2343
2344 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2345 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2346 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2347 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2348 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2349 (cl-macroexpand-cmacs): Remove var.
2350 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2351 Use macroexpand-all instead.
2352
4dd1c416
SM
23532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2356 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2357 (macroexp-copyable-p): New functions and macros.
2358 * emacs-lisp/edebug.el (edebug-unwrap):
2359 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2360 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2361 (pcase--let*): Remove.
2362 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2363 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2364 macroexp-const-p instead.
2365 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2366
2367 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2368 instead of "cl-" for internal definitions. Use macroexp-const-p.
2369 (cl-old-bc-file-form): Remove var.
2370 (cl-const-exprs-p): Remove fun.
2371 (cl-labels, cl-macrolet): Use backquote.
2372 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2373 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2374 (cl-define-setf-expander): Rename from cl-define-setf-method.
2375 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2376
2377 * international/mule-cmds.el: Don't require CL.
2378 (view-hello-file): Don't use `letf'.
2379
ed8bd4d7
SM
23802012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2381
7287f2f3
SM
2382 * tmm.el (tmm-prompt): Use string-prefix-p.
2383 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2384 (tmm-add-prompt): Use minibuffer-completion-help.
2385 (tmm-delete-map): Remove.
2386
ed8bd4d7
SM
2387 * subr.el (kbd): Make it its own function.
2388
7b4cdbf4
SM
23892012-06-07 Stefan Merten <smerten@oekonux.de>
2390
2391 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2392 Silence compiler warnings. Fix versions.
ed8bd4d7 2393 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2394 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2395 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2396 (rst-package-emacs-version-alist): Correct Emacs version to
2397 represent major merge with upstream.
ed8bd4d7 2398 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2399
2b48d721
GM
24002012-06-06 Glenn Morris <rgm@gnu.org>
2401
2402 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2403 Only print environment variables if set.
2404
fa779ab0
SM
24052012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2408 (macroexp--cons): Rename from maybe-cons.
2409 (macroexp--accumulate): Rename from macroexp-accumulate.
2410 (macroexp--all-forms): Rename from macroexpand-all-forms.
2411 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2412 (macroexp--expand-all): Rename from macroexpand-all-1.
2413
628299e0
SS
24142012-06-06 Sam Steingold <sds@gnu.org>
2415
2416 * calendar/calendar.el (calendar-in-read-only-buffer):
2417 Call `special-mode' to enable the standard read-only keybindings.
2418
b7bb5838
SM
24192012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2422 with "loading" messages (bug#11635).
2423
dfb308ba
MA
24242012-06-06 Michael Albinus <michael.albinus@gmx.de>
2425
2426 * files.el (enable-remote-dir-locals): New option.
2427 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2428
0372ee92
MA
2429 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2430 Ensure, that the temp directory is local.
2431
2432 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2433 `temporary-file-directory'.
2434
eed0bb91
MA
2435 * progmodes/python.el (python-send-region): Ensure, that the
2436 temporary file is created also in the remote case.
2437
7a58f64d
GM
24382012-06-06 Glenn Morris <rgm@gnu.org>
2439
f7dd4e98
GM
2440 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2441 (vc-rcs-update-changelog): Use it.
2442
090bd7cb 2443 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2444
7a58f64d
GM
2445 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2446 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2447 (vc-sccs-diff): Replace use of the external vcdiff script.
2448
daed4003
GM
24492012-06-05 Glenn Morris <rgm@gnu.org>
2450
2451 * ledit.el: Move to obsolete/.
2452
48c455c7
SS
24532012-06-05 Sam Steingold <sds@gnu.org>
2454
ed9265fc 2455 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2456 patch (Bug#11140).
2457
57a7d507
SM
24582012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2459
090bd7cb 2460 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2461
53aacf21
SM
2462 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2463 compiler-macro expansion.
2464
57a7d507
SM
2465 Add native compiler-macro support.
2466 * emacs-lisp/macroexp.el (macroexpand-all-1):
2467 Support compiler-macros directly. Properly follow aliases and apply
2468 the compiler macros more thoroughly.
2469 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2470 macroexpand now properly follows aliases.
2471 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2472 (cl-compiler-macroexpand): Use new prop.
2473 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2474
2475 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2476
51a5f9d8
MR
24772012-06-05 Martin Rudalics <rudalics@gmx.at>
2478
2479 * window.el (get-lru-window, get-mru-window, get-largest-window):
2480 New argument NOT-SELECTED to avoid picking the selected window.
2481 (window--display-buffer-1, window--display-buffer-2): Replace by
2482 new function window--display-buffer
2483 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2484 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2485 Use window--display-buffer.
51a5f9d8
MR
2486 (display-buffer-use-some-window): Remove temporary dedication
2487 hack by calling get-lru-window and get-largest-window with
2488 NOT-SELECTED argument non-nil. Call window--display-buffer.
2489
08f9f738
GM
24902012-06-05 Glenn Morris <rgm@gnu.org>
2491
2492 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2493 Replace external vcdiff script.
2494
e364a2b7
SM
24952012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2498
041df390
CY
24992012-06-04 Chong Yidong <cyd@gnu.org>
2500
e364a2b7
SM
2501 * image.el (imagemagick-types-inhibit): Revert last change.
2502 Add INFO and M.
47b36b94 2503 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2504
7c1898a7
SM
25052012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2506
2507 * emacs-lisp/cl-lib.el: Rename from cl.el.
2508 * emacs-lisp/cl.el: New compatibility file.
2509 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2510 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2511 to obey the "cl-" prefix.
2512 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2513
0c3461de
GM
25142012-06-03 Glenn Morris <rgm@gnu.org>
2515
1e266c88
GM
2516 * emacs-lisp/authors.el (authors-aliases): Addition.
2517
0c3461de
GM
2518 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2519 Fix :version.
2520
d8a52e15
SM
25212012-06-03 Stefan Merten <smerten@oekonux.de>
2522
2523 * textmodes/rst.el: Add comments.
2524 (rst-transition, rst-adornment): New faces.
2525 (rst-adornment-faces-alist): Make default safe to reevaluate.
2526 Fixes
2527 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2528 Improve customization tags.
2529 (rst-define-level-faces): Clarify meaning.
2530
5205d6f6
CY
25312012-06-03 Chong Yidong <cyd@gnu.org>
2532
2533 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2534 (compilation-mode-line-run, compilation-mode-line-exit):
2535 New faces.
5205d6f6
CY
2536 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2537
757ee657
JD
25382012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2539
7c1898a7
SM
2540 * progmodes/which-func.el (which-func-update-ediff-windows):
2541 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2542
5f2c76c6
CY
25432012-06-03 Chong Yidong <cyd@gnu.org>
2544
2545 * bindings.el: Remove explicit help text from format-mode-line.
2546 It is now supplied by mode-line-default-help-echo.
2547 (mode-line-front-space, mode-line-end-spaces)
2548 (mode-line-misc-info): New variables.
2549 (mode-line-modes, mode-line-position): Move the default value to
2550 the variable definition.
2551 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2552 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2553 (mode-line-modified-help-echo): New functions.
2554 (mode-line-mule-info, mode-line-modified): Use them.
2555 (mode-line-eol-desc, propertized-buffer-identification):
2556 Consistency fixes for help text.
cbe46e5f
CY
2557 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2558 set-buffer-file-coding-system (Bug#289).
2559 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2560
f2d6a3df
SM
25612012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 * simple.el (execute-extended-command): Set real-this-command
2564 (bug#11506).
2565
37269466
CY
25662012-06-02 Chong Yidong <cyd@gnu.org>
2567
2568 Remove incorrect uses of "modeline" in comments, docstrings, and
2569 function/variable names (Bug#10329).
2570
2571 * cus-edit.el (mode-line):
2572 * dframe.el (dframe-mouse-hscroll):
2573 * emacs-lisp/re-builder.el:
2574 * emacs-lisp/easy-mmode.el (define-minor-mode):
2575 * frame.el (set-frame-name):
2576 * help.el (lookup-minor-mode-from-indicator):
2577 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2578 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2579 (c-toggle-hungry-state):
2580 * progmodes/antlr-mode.el (antlr-language-alist):
2581 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2582 * progmodes/vhdl-mode.el (vhdl-mode):
2583 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2584 * term/ns-win.el (ns-face-at-pos):
2585 * term/sup-mouse.el (sup-mouse-report):
2586 * textmodes/flyspell.el (flyspell-mode-line-string):
2587 * textmodes/ispell.el (ispell-highlight-face):
2588 * textmodes/reftex-global.el:
2589 * vc/vc-arch.el (vc-arch-mode-line-string):
2590 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2591 * vc/vc-git.el (vc-git-mode-line-string):
2592 * vc/vc-hooks.el (vc-display-status)
2593 (vc-default-mode-line-string):
2594 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2595
2596 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2597
2598 * dired.el (dired-sort-set-mode-line): Rename from
2599 dired-sort-set-modeline. All callers changed.
2600
2601 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2602 eshell-status-in-modeline.
2603
2604 * foldout.el (foldout-mode-line-string): Rename from
2605 foldout-modeline-string. All callers changed.
2606 (foldout-update-mode-line): Rename from foldout-update-modeline.
2607
2608 * subr.el (redraw-modeline): Make into obsolete alias.
2609
2610 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2611 timeclock-modeline-display. Make old name an alias.
2612 (timeclock-update-mode-line): Likewise. All callers changed.
2613 (timeclock-mode-line-display): No need to check before using
2614 add-hook.
2615 (timeclock-relative, timeclock-day-over-hook)
2616 (timeclock-use-elapsed, timeclock-mode-string)
2617 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2618
2619 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2620 crisp-mode-modeline-string.
2621
2622 * play/solitaire.el (solitaire-build-mode-line): Rename from
2623 solitaire-build-modeline. All callers changed.
2624
2625 * play/zone.el (zone-hiding-mode-line): Rename from
2626 zone-hiding-modeline. All callers changed.
2627 (zone): Remove unusued `modeline-hidden-level' property.
2628
2629 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2630 xscheme-modeline-initialize. All callers changed.
2631
2632 * strokes.el (strokes-lighter): Rename from
2633 strokes-modeline-string.
2634
2635 * textmodes/sgml-mode.el (html-face-tag-alist)
2636 (html-tag-face-alist): Use mode-line face instead of obsolete
2637 alias modeline.
2638
42152ee4
SM
26392012-06-02 Stefan Merten <smerten@oekonux.de>
2640
2641 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2642 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2643
95f520b5
CY
26442012-06-02 Chong Yidong <cyd@gnu.org>
2645
2646 * image.el (imagemagick-enabled-types): Rename from
2647 imagemagick-types-enable. Add many more types.
2648 (imagemagick-types-inhibit): Change default to nil.
2649 (imagemagick-filter-types): Caller changed.
2650
4a5f187a
SM
26512012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2652
03fef3e6
SM
2653 * emacs-lisp/cl-macs.el: Use backquotes.
2654 (cl-transform-function-property): Use eval-and-compile rather than
2655 abusing `require'.
2656 (defstruct): Use declare-function instead of with-no-warnings.
2657
4a5f187a
SM
2658 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2659 (byte-compile-output-docform): Re-add the print-circle bindings.
2660 (byte-compile-fix-header): Use #$ just because it's shorter.
2661 (byte-compile-output-file-form): Remove defun/defmacro.
2662
bd56924f
MR
26632012-06-01 Martin Rudalics <rudalics@gmx.at>
2664
2665 * simple.el (choose-completion): Remove now obsolete binding for
2666 owindow.
2667
046e38ce
MA
26682012-06-01 Michael Albinus <michael.albinus@gmx.de>
2669
2670 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2671 in order to avoid "Stack overflow in regexp matcher".
2672
32d72c2f
GM
26732012-05-31 Glenn Morris <rgm@gnu.org>
2674
2675 * image.el: For clarity, call imagemagick-register-types at
2676 top-level, rather than relying on a custom :initialize.
2677 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2678 (imagemagick-filter-types): New function. (Bug#7406)
2679 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2680 If disabling support, remove elements altogether rather
2681 than using an impossible regexp.
2682 (imagemagick-types-inhibit): Give it the default init function.
2683
dd41169b
SM
26842012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2685
4a5f187a
SM
2686 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2687 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2688
efc00ab1 26892012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2690
2691 * desktop.el (desktop-read): Clear previous and next buffers for
2692 all windows and bury *Messages* buffer (bug#11556).
2693
500fcedc
SM
26942012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 Add `declare' for `defun'. Align `defmacro's with it.
2697 * emacs-lisp/easy-mmode.el (define-minor-mode)
2698 (define-globalized-minor-mode): Don't autoload the var definitions.
2699 * emacs-lisp/byte-run.el: Use lexical-binding.
2700 (defun-declarations-alist, macro-declarations-alist): New vars.
2701 (defmacro, defun): Use them.
2702 (make-obsolete, define-obsolete-function-alias)
2703 (make-obsolete-variable, define-obsolete-variable-alias):
2704 Use `declare'.
2705 (macro-declaration-function): Mark obsolete.
2706 * emacs-lisp/autoload.el: Use lexical-binding.
2707 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2708
6e8a1786
AM
27092012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2710
2711 * textmodes/ispell.el (ispell-with-no-warnings):
2712 Define as a macro.
500fcedc
SM
2713 (ispell-kill-ispell, ispell-change-dictionary):
2714 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2715 `interactive-p'.
2716
61b108cc
SM
27172012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2720 (macro-declaration-function): Move var from C code.
2721 (macro-declaration-function): Define function with defalias.
2722 * emacs-lisp/macroexp.el (macroexpand-all-1):
2723 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2724 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2725 defun/defmacro any more.
2726 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2727 Provide fallback for unknown arglist.
2728 (byte-compile-arglist-warn): Change calling convention.
2729 (byte-compile-output-file-form): Move print-vars binding.
2730 (byte-compile-output-docform): Simplify accordingly.
2731 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2732 (byte-compile-defmacro-declaration): Remove.
2733 (byte-compile-file-form-defmumble): Generalize to defalias.
2734 (byte-compile-output-as-comment): Return byte-positions.
2735 Simplify callers accordingly.
2736 (byte-compile-lambda): Use `assert'.
2737 (byte-compile-defun, byte-compile-defmacro): Remove.
2738 (byte-compile-file-form-defalias):
2739 Use byte-compile-file-form-defmumble.
2740 (byte-compile-defalias-warn): Remove.
2741
6d3f7c2f
SM
27422012-05-29 Stefan Merten <smerten@oekonux.de>
2743
2744 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2745 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2746
2747 (rst-mode-abbrev-table): Merge definition.
2748 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2749 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2750
6dbaa1c7
UJ
27512012-05-29 Ulf Jasper <ulf.jasper@web.de>
2752
2753 * calendar/icalendar.el
2754 (icalendar-export-region): Export UID properly.
2755
d209e2fb 27562012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2757 * calendar/icalendar.el (icalendar-import-format):
2758 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2759 (icalendar-import-format-uid): New.
2760 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2761 Export UID.
2762
6876a58d
SM
27632012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2766 different alternative patterns.
2767 (pcase-codegen): Be more careful to preserve identity.
2768 (pcase--u1): Don't forget to mark vars as used.
2769
2770 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2771 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2772 (byte-compile-from-buffer): ...rather than here.
2773
2774 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2775 functions from byte-compile-function-environment.
2776
46b7967e
TN
27772012-05-29 Troels Nielsen <bn.troels@gmail.com>
2778
2779 * window.el (window-deletable-p): Avoid deleting the root window
2780 of a frame with an active minibuffer.
2781
69d565e2
MR
27822012-05-29 Martin Rudalics <rudalics@gmx.at>
2783
2784 * simple.el (choose-completion): Use quit-window (Bug#11567).
2785
a149fa51
CY
27862012-05-29 Chong Yidong <cyd@gnu.org>
2787
2788 * whitespace.el (whitespace-cleanup): Fix usage of
2789 whitespace-empty-at-bob-regexp (Bug#11492).
2790
2b311310
AH
27912012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2792
2793 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2794 revert (Bug#11488).
2795
b9cb2387
JL
27962012-05-29 Juri Linkov <juri@jurta.org>
2797
2798 * isearch.el (isearch-mode-map): Bind `M-s _' to
2799 `isearch-toggle-symbol'. Bind `M-s c' to
2800 `isearch-toggle-case-fold'.
2801 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2802 (isearch-forward): Add `M-s _' to the docstring.
2803 (isearch-forward-symbol, isearch-toggle-case-fold)
2804 (isearch-symbol-regexp): New functions. (Bug#11381)
2805
d5e61c1c
JL
28062012-05-29 Juri Linkov <juri@jurta.org>
2807
2808 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2809 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2810 a function, call it to get the regexp.
2811 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2812 property `isearch-message-prefix' instead of the string "word ".
2813 (isearch-search-fun-default): For the case of `isearch-word',
2814 return a lambda that calls re-search-forward/re-search-backward
2815 with a regexp returned by `word-search-regexp' or by the function
2816 in `isearch-word'.
2817
8cbd80f7
JL
28182012-05-29 Juri Linkov <juri@jurta.org>
2819
2820 * isearch.el (isearch-search-fun-default): New function.
2821 (isearch-search-fun): Move default part to the new function
2822 `isearch-search-fun-default'.
2823 (isearch-search-fun-function): Set the default value to
2824 `isearch-search-fun-default'. (Bug#11381)
2825
2826 * comint.el (comint-history-isearch-end):
2827 Use `isearch-search-fun-default'.
2828 (comint-history-isearch-search): Use `isearch-search-fun-default'
2829 and remove spacial case for `isearch-word'.
2830 (comint-history-isearch-wrap): Remove spacial case for
2831 `isearch-word'.
2832
2833 * hexl.el (hexl-isearch-search-function):
2834 Use `isearch-search-fun-default'.
2835
2836 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2837 Use `word-search-regexp' for `isearch-word'.
2838
2839 * misearch.el (multi-isearch-search-fun):
2840 Use `isearch-search-fun-default'.
2841
2842 * simple.el (minibuffer-history-isearch-search):
2843 Use `isearch-search-fun-default' and remove spacial case for
2844 `isearch-word'.
2845 (minibuffer-history-isearch-wrap): Remove spacial case for
2846 `isearch-word'.
2847
2848 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2849 Remove spacial case for `isearch-word'.
2850 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2851
85c8c5b6
AM
28522012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2853
2854 Decrease XEmacs incompatibilities.
2855 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2856 Use `string-match'.
2857 (flyspell-delete-region-overlays): Use alternative definition for
2858 XEmacs.
2859 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2860 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2861 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2862 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2863 `define-obsolete-face-alias' under XEmacs, but old method.
2864
2865 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2866 `with-no-warnings' definition or Emacs alias.
2867 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2868 (ispell-word): Do not use `region-p' if XEmacs.
2869
8cab9efc
AM
28702012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2871
2872 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2873 Check for `ispell-dictionary-base-alist' instead of full
2874 `ispell-dictionary-alist'.
2875 (ispell-init-process): Show spellchecker when starting new Ispell
2876 process.
2877
fda91268
RZ
28782012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2881 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2882
694ea8e3
JB
28832012-05-27 Juanma Barranquero <lekktu@gmail.com>
2884
2885 * version.el (motif-version-string, gtk-version-string)
2886 (ns-version-string): Declare.
2887
e4d4f539
JL
28882012-05-27 Juri Linkov <juri@jurta.org>
2889
2890 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2891 after the `eval-defun-1' specialcaseing
2892 like in `edebug-eval-defun' (bug#10181).
2893
2894 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2895 like in `eval-defun-1'.
2896
33017faf 28972012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2898
fda91268
RZ
2899 * mail/sendmail.el (mail-yank-region):
2900 Recognize rmail-yank-current-message in addition to insert-buffer.
2901 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2902 a *mail* buffer created through rmail-start-mail with sendmail as
2903 mail-user-agent.
2904
33017faf
GM
29052012-05-27 Chong Yidong <cyd@gnu.org>
2906
2907 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2908 Default to 256 (Bug#11267).
2909
2910 * help.el (describe-mode): Doc fix.
2911
04188bb9
GM
29122012-05-26 Glenn Morris <rgm@gnu.org>
2913
38264cc9
GM
2914 * w32-fns.el (w32-init-info): Remove.
2915 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2916
eb7afdad
GM
2917 * info.el (info-initialize): For self-contained NS builds, put the
2918 included info/ directory at the front. (Bug#2791)
2919
04188bb9
GM
2920 * paths.el (Info-default-directory-list): Make it a defcustom,
2921 mainly so that we can use custom-initialize-delay.
2922
a179e3f7
SM
29232012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2924
43416392
SM
2925 * subr.el (buffer-has-markers-at): Mark obsolete.
2926
a179e3f7 2927 * subr.el (lambda): Use declare.
43416392 2928
a179e3f7
SM
2929 * emacs-lisp/lisp-mode.el (lambda):
2930 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2931
34a008d9
AH
29322012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2933
2934 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2935
0a3b289f
GM
29362012-05-26 Glenn Morris <rgm@gnu.org>
2937
2938 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2939
758c81e8
GM
29402012-05-25 Glenn Morris <rgm@gnu.org>
2941
f9f334f0
GM
2942 * paths.el: Remove no-byte-compile.
2943 * loadup.el: No need to load paths.el uncompiled.
2944
87eb79c2
GM
2945 * image.el (imagemagick-types-inhibit): Doc fix.
2946
758c81e8
GM
2947 * version.el: Remove no-byte-compile and associated formatting.
2948 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2949 is ancient code from when there was an "inc-vers.el".
2950
e7e85dc0
SM
29512012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * progmodes/gdb-mi.el: Minor style changes.
2954 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2955 Turn into minor modes.
2956 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2957 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2958 (gdb-shell): Remove unneeded let-binding.
2959 (gdb-get-many-fields): Eliminate O(n²) behavior.
2960
f31237a4
EZ
29612012-05-25 Eli Zaretskii <eliz@gnu.org>
2962
2963 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2964 platforms that don't link in fontset.c.
2965
bc1b21bb
JL
29662012-05-25 Juri Linkov <juri@jurta.org>
2967
2968 Use the same diff color scheme as in modern VCSes (bug#10181).
2969
2970 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
2971 to avoid confusion with `diff-added' that now uses green colors.
2972 (diff-removed): Use shades of red.
2973 (diff-added): Use shades of green.
2974 (diff-changed): Leave just the yellow color.
2975 (diff-use-changed-face): New variable.
2976 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
2977 how to highlight context diff changes.
2978 (diff-refine-change): Use shades of yellow.
2979 (diff-refine-removed): New face that uses shades of red.
2980 (diff-refine-added): New face that uses shades of green.
2981 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
2982 `diff-refine-removed' in the call to `smerge-refine-subst'
2983 depending on the value of `diff-use-changed-face'.
2984
2985 * vc/smerge-mode.el (smerge-mine): Use shades of red.
2986 (smerge-other): Use shades of green.
2987 (smerge-base): Use shades of yellow.
2988 (smerge-refined-change): Empty face.
2989 (smerge-refined-removed): New face that uses shades of red.
2990 (smerge-refined-added): New face that uses shades of green.
2991 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
2992 args `props-r' and `props-a', and use them. Doc fix.
2993 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
2994 on its value use different faces `smerge-refined-change',
2995 `smerge-refined-removed', `smerge-refined-added' in the call to
2996 `smerge-refine-subst'.
2997
2998 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
2999 Add face condition `min-colors 88' with shades of red.
3000 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3001 `min-colors 88' with shades of green.
3002 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3003 `min-colors 88' with shades of yellow.
3004
6df9112c
GM
30052012-05-24 Glenn Morris <rgm@gnu.org>
3006
ead5edc0
GM
3007 * paths.el (prune-directory-list, remote-shell-program): Move to...
3008 * files.el (prune-directory-list, remote-shell-program): ...here.
3009 For the latter, delay initialization, prefer ssh, just search PATH.
3010
f18b81e6
GM
3011 * paths.el (term-file-prefix): Move to faces.el (the only user).
3012 * faces.el (term-file-prefix): Move here, make it a defcustom.
3013
ee2f89a6
GM
3014 * paths.el (news-directory, news-path, news-inews-program):
3015 Move to gnus/nnspool.el.
61a583ca 3016
f8815e4c
GM
3017 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3018
c8f3b42c
GM
3019 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3020 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3021 Make the latter a defcustom, with a delayed initialization.
3022
6df9112c
GM
3023 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3024 These were deleted from Gnus itself late 2010.
3025
5dadff36
JB
30262012-05-22 Juanma Barranquero <lekktu@gmail.com>
3027
9e1701c6
JB
3028 * progmodes/which-func.el (which-func-ff-hook):
3029 Check against user-error, not error.
3030
bd7239f5 3031 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3032 cl-specs.el, which no longer exists.
3033
3290526d
GM
30342012-05-22 Glenn Morris <rgm@gnu.org>
3035
3036 * info.el (info-emacs-bug): New command.
3037 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3038 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3039
ff0c3cfb
GM
30402012-05-21 Glenn Morris <rgm@gnu.org>
3041
3042 * makefile.w32-in (update-subdirs-SH):
3043 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3044
5814f126
SM
30452012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3046
a52c0aa0
SM
3047 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3048
5814f126
SM
3049 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3050 Simplify Maven regexp, and make sure the file can't start with a space
3051 (bug#11517).
3052
b847032c
GM
30532012-05-21 Glenn Morris <rgm@gnu.org>
3054
3055 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3056 Scrap superfluous subshells.
3057
3858bfe7
SM
30582012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3059
3060 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3061 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3062
d14b0029
JB
30632012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3064
3065 * calc/calc.el (calc-ensure-consistent-units): New variable.
3066
a52c0aa0
SM
3067 * calc/calc-units.el (math-consistent-units-p)
3068 (math-check-unit-consistency): New functions.
3069 (calc-quick-units, calc-convert-units):
3070 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3071 is non-nil.
d14b0029
JB
3072 (calc-extract-units): Fix typo.
3073
60c4db3a
SM
30742012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3075
77f3b62e
SM
3076 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3077
60c4db3a
SM
3078 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3079 (flyspell-default-deplacement-commands): Don't spell check after
3080 repeated window/frame switches (e.g. triggered by mouse-movement).
3081 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3082 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3083 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3084 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3085 Remove unused vars.
3086 (flyspell-get-casechars, flyspell-get-not-casechars):
3087 Simplify; Don't bother removing a ] just to add it back.
3088 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3089
d209e2fb 30902012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3091
3092 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3093 New functions.
bd7239f5 3094 (math-function-table): Add support for more C functions.
b1a10716 3095
3f1b25b5
AM
30962012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3097
090bd7cb
JB
3098 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3099 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3100 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3101
b581bb5c
SM
31022012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3105 their respective macro declarations.
3106 * skeleton.el (define-skeleton):
3107 * progmodes/compile.el (define-compilation-mode):
3108 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3109 (define-ibuffer-filter):
3110 * emacs-lisp/generic.el (define-generic-mode):
3111 * emacs-lisp/easy-mmode.el (define-minor-mode)
3112 (define-globalized-minor-mode):
3113 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3114 * emacs-lisp/byte-run.el (defsubst):
3115 * custom.el (deftheme): Add doc-string metadata.
3116
70b8ef8f
SM
31172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3120
b1198e17
SM
31212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3122
9abdc45d
SM
3123 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3124
b1198e17
SM
3125 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3126 * emacs-lisp/cl-macs.el: Idem.
3127 * emacs-lisp/cl-specs.el: Remove.
3128
4735906a
SM
31292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 Minor renaming of internal CL functions and variables.
3132 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3133 (cl--position): Rename from cl-position.
3134 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3135 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3136 (cl--random-state): Rename from *random-state*.
3137
ac348012
SM
31382012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3141 parens around the arg list (bug#11499).
3142
a0a79cde
JL
31432012-05-17 Juri Linkov <juri@jurta.org>
3144
3145 * isearch.el (word-search-regexp, word-search-backward)
3146 (word-search-forward, word-search-backward-lax)
3147 (word-search-forward-lax): Move functions from search.c
3148 (bug#10145, bug#11381).
3149
65034a51
AM
31502012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3151
090bd7cb
JB
3152 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3153 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3154 Delay for otherchars as for normal word components.
65034a51 3155
1a72a195
SM
31562012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * minibuffer.el (completion--sifn-requote): Fix last change.
3159 (minibuffer-local-must-match-filename-map):
3160 Move define-obsolete-variable-alias before its var.
3161
fdb058c2
SM
31622012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3163
c41045e6
SM
3164 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3165
036dfb8b
SM
3166 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3167 behavior.
3168 (completion--string-equal-p): New function.
3169 (completion--twq-all): Use it to get better assertion failure data.
3170
2473256d
SM
3171 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3172 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3173 (shell--requote-argument): New functions.
3174 (shell-completion-vars): Use them.
3175 (shell--parse-pcomplete-arguments): Rename from
3176 shell-parse-pcomplete-arguments.
3177 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3178 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3179 Obey comint-file-name-quote-list.
3180
fdb058c2
SM
3181 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3182 (smie-indent-keyword): Use it.
3183
51fa99f1
SM
31842012-05-14 Stefan Merten <smerten@oekonux.de>
3185
3186 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3187
e18afed7 31882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3189
3190 * net/rlogin.el (rlogin-mode-map): Fix last change.
3191
e18afed7 31922012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3193
3194 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3195 the following \r\n using a single `process-send-string', since the
3196 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3197 with two `process-send-string's (Bug#11444).
8633b1f4 3198
e18afed7 31992012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3200
fdb058c2
SM
3201 * shell.el (shell-parse-pcomplete-arguments):
3202 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3203
2d21d7f6
WJ
32042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3205
e18afed7 3206 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3207 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3208 (image-transform-width, image-transform-fit-width): New functions.
3209 (image-transform-properties): Use them.
3210 (image-transform-check-size): New function.
3211 (image-toggle-display-image): Use it (for testing).
3212 (image-transform-set-rotation): Reduce angle mod 360.
3213 Delete obsolete comment.
3214
7102e6d0
WJ
32152012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3216
3217 * image-mode.el: Fix scaling (bug#11399).
3218 (image-transform-resize): Doc fix.
3219 (image-transform-properties): Default scale is 1 and height should
3220 be an integer.
3221
06bc5e6e
SM
32222012-05-13 Johan Bockgård <bojohan@gnu.org>
3223
3224 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3225 than hard-coding `car', to fix misbehavior when moving forward.
3226
0ae03b6a
CY
32272012-05-13 Chong Yidong <cyd@gnu.org>
3228
3229 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3230 (tabulated-list-entries, tabulated-list-padding)
3231 (tabulated-list-sort-key): Make permanent-local.
3232
3233 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3234 (electric-buffer-list): Put electric buffer menu
3235 command descriptions in this docstring, instead of the docstring
3236 of electric-buffer-menu-mode. Code cleanups.
3237 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3238 Electric-buffer-menu-mode.
3239 (electric-buffer-update-highlight): Minor code cleanup.
3240
205a7391
MA
32412012-05-13 Michael Albinus <michael.albinus@gmx.de>
3242
3243 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3244 (Bug#11447)
3245
e5bd0a28
SM
32462012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 Move define-obsolete-variable-alias before the var's definition.
3249 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3250 * tooltip.el (tooltip-hook):
3251 * textmodes/reftex-toc.el (reftex-toc-map):
3252 * textmodes/reftex-sel.el (reftex-select-label-map)
3253 (reftex-select-bib-map):
3254 * textmodes/reftex-index.el (reftex-index-map)
3255 (reftex-index-phrases-map):
3256 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3257 * progmodes/meta-mode.el (meta-mode-map):
3258 * novice.el (disabled-command-hook):
3259 * loadhist.el (unload-hook-features-list):
3260 * frame.el (blink-cursor):
3261 * files.el (find-file-not-found-hooks, write-file-hooks)
3262 (write-contents-hooks):
3263 * emulation/tpu-edt.el (GOLD-map):
3264 * emacs-lock.el (emacs-lock-from-exiting):
3265 * emacs-lisp/generic.el (generic-font-lock-defaults):
3266 * emacs-lisp/chart.el (chart-map):
3267 * dos-fns.el (register-name-alist):
3268 * dired-x.el (dired-omit-files-p):
3269 * desktop.el (desktop-enable):
3270 * cus-edit.el (custom-mode-hook):
3271 * buff-menu.el (buffer-menu-mode-hook):
3272 * bookmark.el (bookmark-read-annotation-text-func)
3273 (bookmark-exit-hooks):
3274 * allout.el (allout-mode-deactivate-hook)
3275 (allout-exposure-change-hook, allout-structure-added-hook)
3276 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3277 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3278 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3279 comes before the corresponding variable's definition.
3280
ac59c2f6
CY
32812012-05-12 Chong Yidong <cyd@gnu.org>
3282
3283 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3284 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3285 (Buffer-menu-mode-map): Bind it.
3286 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3287
dee6c9a3
SM
32882012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3289
2171cea5
SM
3290 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3291 (prolog-upper-case-string, prolog-lower-case-string)
3292 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3293 (prolog-use-smie, prolog-smie-grammar): New vars.
3294 (prolog-smie-forward-token, prolog-smie-backward-token)
3295 (prolog-smie-rules): New funs.
3296 (prolog-comment-indent): Remove.
3297 (prolog-mode-variables): Use default comment indentation instead.
3298 Setup SMIE.
3299 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3300 (prolog-mode): Don't call them any more.
3301 (prolog-electric-colon, prolog-electric-dash)
3302 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3303
aa0382bd
SM
3304 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3305
dbacb4bd
SM
3306 * minibuffer.el (completion--twq-all): Again, allow case differences.
3307
13bdd94c
SM
3308 * term.el: Move keymap initialization code to be more idiomatic.
3309 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3310 (term-terminal-menu): Move initialization into declaration.
3311 (term-escape-char): Let the user set it in her .emacs.
3312
ff46c759
SM
3313 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3314 Provide SMIE-based indentation (not enabled by default yet).
3315 (sh-mode-map): Don't bind electric keys.
3316 Use electric-pair-mode instead of skeleton-pair.
3317 (sh-assignment-regexp): Fit within 80 columns.
3318 (sh-indent-supported): Specify actual shell name instead of boolean.
3319 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3320 (sh-maybe-here-document): Use it. Make obsolete.
3321 (sh-electric-here-document-mode) New minor mode.
3322 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3323 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3324 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3325 (sh-smie-rc-grammar, sh-use-smie): New vars.
3326 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3327 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3328 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3329 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3330 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3331 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3332 (sh-set-shell): Use smie-setup if requested.
3333
dee6c9a3
SM
3334 * term.el (term-set-escape-char): Properly set term-escape-char.
3335 See http://stackoverflow.com/questions/10524656.
3336
9f9aa044
CY
33372012-05-10 Chong Yidong <cyd@gnu.org>
3338
3339 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3340 Use url-generic-parse-url, and handle host names and Windows
3341 filenames properly.
3342 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3343 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3344 URL schemes to work on.
3345 (ffap--toggle-read-only): New function.
3346 (ffap-read-only, ffap-read-only-other-window)
3347 (ffap-read-only-other-frame): Use it.
3348 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3349 necessary for ffap-url-unwrap-remote.
3350
836d29b3
DA
33512012-05-10 Dave Abrahams <dave@boostpro.com>
3352
3353 * cus-start.el (create-lockfiles): Add it.
3354
00fd78ed
CY
33552012-05-09 Chong Yidong <cyd@gnu.org>
3356
3357 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3358 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3359
666b903b 33602012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3361
3362 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3363
666b903b 33642012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3365
3366 * ansi-color.el (ansi-color-process-output): Check for validity of
3367 comint-last-output-start before using it. This avoids a bad
3368 interaction with gdb-mi's input/output buffer.
3369
666b903b 33702012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3371
3372 * files.el (dir-locals-read-from-file):
3373 Mention dir-locals in any error message.
3374
666b903b 33752012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3376
3377 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3378 package (Bug#11410).
3379
f677562b
CY
3380 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3381 variables into description.
3382
666b903b 33832012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3384
3385 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3386 shell-delimiter-argument-list (bug#11348).
3387 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3388
b499d8d0
JB
33892012-05-09 Juanma Barranquero <lekktu@gmail.com>
3390
8f6b6da8
JB
3391 * textmodes/rst.el: Silence byte-compiler warnings.
3392 (rst-re-alist, rst-reset-section-caches): Move around.
3393 (rst-re): Use `characterp', not `char-valid-p'.
3394 (font-lock-beg, font-lock-end): Declare.
3395
4824146a
JB
3396 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3397 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3398
b499d8d0
JB
3399 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3400
ad89bb83
GM
34012012-05-08 Glenn Morris <rgm@gnu.org>
3402
3403 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3404
8bba5a75
SM
34052012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3406
49ed9c8e
SM
3407 * vc/log-edit.el: Add GNU coding standards highlighting.
3408 (log-edit-font-lock-gnu-style)
3409 (log-edit-font-lock-gnu-keywords): New vars.
3410 (log-edit-font-lock-keywords): New fun.
3411 (log-edit-mode): Don't fold case in font-lock.
3412 (log-edit-font-lock-keywords): Do not assume case-folding.
3413
07d00b56
SM
3414 * imenu.el: Misc cleanup. Make docstrings out of comments.
3415 Use lexical-binding.
3416 (imenu--index-alist, imenu--last-menubar-index-alist)
3417 (imenu-menubar-modified-tick): Use defvar-local.
3418 (imenu--split-menu): Remove unused var.
3419 (imenu--cleanup-seen): Declare as global.
3420 (imenu--cleanup): Use dolist.
3421
8bba5a75
SM
3422 * subr.el (defvar-local): Add debug spec and doc-string position.
3423
5075bdb5
GM
34242012-05-08 Glenn Morris <rgm@gnu.org>
3425
090bd7cb 3426 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3427 * language/english.el, language/georgian.el, language/greek.el:
3428 * language/japanese.el, language/khmer.el, language/korean.el:
3429 * language/lao.el, language/misc-lang.el, language/romanian.el:
3430 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3431 * language/thai.el, language/utf-8-lang.el:
3432 Remove no-byte-compile setting.
3433
5075bdb5
GM
3434 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3435
06f679a7
AH
34362012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3437
3438 * progmodes/make-mode.el (makefile-browse):
3439 Remove unnecessary interactive. (Bug#11324)
3440
03794570
GM
34412012-05-07 Glenn Morris <rgm@gnu.org>
3442
af8630f4
GM
3443 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3444
03794570
GM
3445 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3446
f0809a9d
SM
34472012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3448
28be5ce7
SM
3449 * loadup.el: Preload newcomment.el.
3450 * newcomment.el: Move autoload-only code to toplevel.
3451
f0809a9d
SM
3452 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3453 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3454 Handle new :right-align column property.
3455 (tabulated-list-print-col): Idem, plus use `display' text-property to
3456 try and preserve alignment for variable pitch fonts.
3457
1241b724
CY
34582012-05-07 Chong Yidong <cyd@gnu.org>
3459
3460 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3461 (tabulated-list-use-header-line): New var.
3462 (tabulated-list-init-header): Use it.
3463 (tabulated-list-print-fake-header): New function.
3464 (tabulated-list-print): Use it.
3465 (tabulated-list-sort-button-map): Add non-header-line commands.
3466 (tabulated-list-init-header): Add column name property to basic
3467 labels as well.
3468 (tabulated-list-col-sort): Handle non-header-line button case.
3469 (tabulated-list--sort-by-column-name): Fix a corner case.
3470
f0809a9d
SM
3471 * buff-menu.el (list-buffers--refresh):
3472 Handle Buffer-menu-use-header-line.
1241b724 3473
e5f9458f
CY
34742012-05-06 Chong Yidong <cyd@gnu.org>
3475
3476 * buff-menu.el: Convert to Tabulated List mode.
3477 (Buffer-menu-buffer+size-width): Make obsolete.
3478 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3479 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3480 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3481 documentation into docstring of buffer-menu.
3482 (Buffer-menu-toggle-files-only): Add an informative message.
3483 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3484 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3485 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3486 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3487 (Buffer-menu-execute, Buffer-menu-select)
3488 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3489 (Buffer-menu-bury): Use Tabulated List machinery.
3490 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3491 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3492 Delete.
e5f9458f
CY
3493 (list-buffers--refresh): New function.
3494 (list-buffers-noselect): Use it.
3495 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3496 (Buffer-menu--pretty-file-name): New helper functions.
3497
3498 * loadup.el: Preload tabulated-list.
3499
3500 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3501 tabulated-list-sort-column.
3502 (tabulated-list-init-header): Add the initial aligning space even
3503 if tabulated-list-padding is zero.
3504
e129292c
CS
35052012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3506
3507 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3508 whose cdr is not a cons cell correctly (bug#11038).
3509
6632d361
CY
35102012-05-06 Chong Yidong <cyd@gnu.org>
3511
e129292c
CS
3512 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3513 Accept additional plist in column descriptors.
6632d361
CY
3514 (tabulated-list-init-header): Obey it.
3515 (tabulated-list-get-entry): New function.
3516 (tabulated-list-put-tag): Use it. Use string-width instead of
3517 length.
3518 (tabulated-list--column-number): New function.
3519 (tabulated-list-print): Use it.
e129292c
CS
3520 (tabulated-list-print-col): New function.
3521 Set `tabulated-list-column-name' property on each column's text.
6632d361 3522 (tabulated-list-print-entry): Use it.
e129292c
CS
3523 (tabulated-list-delete-entry, tabulated-list-set-col):
3524 New functions.
6632d361
CY
3525 (tabulated-list-sort-column): New command (Bug#11337).
3526
3cc99f68
CY
3527 * buff-menu.el (list-buffers): Move C-x C-b binding from
3528 buff-menu.el to bindings.el.
3529
3530 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3531 :advertised-binding feature.
3532
52b61776
TN
35332012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3534
3535 * progmodes/compile.el (compilation-internal-error-properties):
3536 Calculate start position correctly when end-col is set but
3537 end-line is not (Bug#11382).
3538
ebfe2597
WJ
35392012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3540
3541 * man.el (Man-unindent): Use text-property-default-nonsticky to
3542 prevent untabify from inheriting face properties (Bug#11408).
3543
6d3f7c2f
SM
35442012-05-05 Stefan Merten <smerten@oekonux.de>
3545
3546 * textmodes/rst.el: Major merge with upstream development up to
3547 Docutils SVN r7399 / rst.el V1.2.1.
3548
3549 Clarify maintainership and authors.
3550
3551 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3552 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3553 (rst-official-version, rst-official-cvs-rev, rst-version)
3554 (rst-package-emacs-version-alist): New functions and variables
3555 for version information.
3556
3557 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3558 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3559 (rst-mode-syntax-table, rst-mode): New and corrected functions
3560 and variables representing reStructuredText features.
3561
3562 (rst-re): New function for reStructuredText regexes. Use in
3563 many places.
3564
3565 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3566 (rst-mode-map): Rebind keys.
3567
3568 (rst-mode-lazy, rst-font-lock-keywords)
3569 (rst-font-lock-extend-region)
3570 (rst-font-lock-extend-region-internal)
3571 (rst-font-lock-extend-region-extend)
3572 (rst-font-lock-find-unindented-line-limit)
3573 (rst-font-lock-find-unindented-line-match)
3574 (rst-adornment-level, rst-font-lock-adornment-level)
3575 (rst-font-lock-adornment-match)
3576 (rst-font-lock-handle-adornment-pre-match-form)
3577 (rst-font-lock-handle-adornment-matcher): Major revision of
3578 font-locking. Integrate with other code. Use `jit-lock-mode'.
3579
3580 (rst-preferred-adornments, rst-adjust-hook)
3581 (rst-new-adornment-down, rst-preferred-bullets)
3582 (rst-preferred-bullets, rst-indent, rst-indent-width)
3583 (rst-indent-field, rst-indent-literal-normal)
3584 (rst-indent-literal-minimized, rst-indent-comment): Change,
3585 extend and improve customization.
3586
3587 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3588 (rst-normalize-cursor-position, rst-get-decoration)
3589 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3590 (rst-rstrip, rst-toc-insert-find-delete-contents)
3591 (rst-shift-fill-region, rst-compute-bullet-tabs)
3592 (rst-debug-print-tabs, rst-debug-mark-found)
3593 (rst-shift-region-guts, rst-shift-region-right)
3594 (rst-shift-region-left, rst-use-char-classes)
3595 (rst-font-lock-keywords-function)
3596 (rst-font-lock-indentation-point)
3597 (rst-font-lock-find-unindented-line-begin)
3598 (rst-font-lock-find-unindented-line-end)
3599 (rst-font-lock-find-unindented-line)
3600 (rst-font-lock-adornment-point, rst-font-lock-level)
3601 (rst-adornment-level-alist): Remove functions and variables.
3602
3603 (rst-compare-adornments, rst-get-adornment-match)
3604 (rst-suggest-new-adornment, rst-get-adornments-around)
3605 (rst-adornment-complete-p, rst-get-next-adornment)
3606 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3607 (rst-straighten-adornments): Standardize function names to
3608 use "adornment" instead of "decoration". Correct callers.
3609 Similar standardizing in many places.
3610
3611 (rst-update-section, rst-adjust, rst-promote-region)
3612 (rst-enumerate-region, rst-bullet-list-region)
3613 (rst-repeat-last-character): Correct use of `interactive'.
3614
3615 (rst-classify-adornment, rst-find-all-adornments)
3616 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3617 (rst-find-leftmost-column, rst-repeat-last-character):
3618 Refactor functions.
3619
3620 (rst-find-title-line, rst-reset-section-caches)
3621 (rst-get-adornments-around, rst-adjust-adornment-work)
3622 (rst-arabic-to-roman, rst-roman-to-arabic)
3623 (rst-insert-list-pos, rst-insert-list-new-item)
3624 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3625 New functions.
3626
3627 (rst-all-sections, rst-section-hierarchy)
3628 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3629 New variables.
3630
3631 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3632 configuration instead of only buffer. Change where necessary.
3633
3634 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3635 (rst-shift-region, rst-adaptive-fill): New functions for
3636 indentation and filling.
3637
3638 (rst-comment-line-break, rst-comment-indent)
3639 (rst-comment-insert-comment, rst-comment-region)
3640 (rst-uncomment-region): New functions for handling comments.
3641
3642 (rst-compile): Quote shell arguments.
3643
3644 (rst-compile-pdf-preview, rst-compile-slides-preview):
3645 Delete temporary files after use.
3646
a43f98b3
GM
36472012-05-05 Glenn Morris <rgm@gnu.org>
3648
48176e8b
GM
3649 * calendar/cal-html.el: Optionally include holidays in the output.
3650 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3651 (cal-html-holidays): New option.
3652 (cal-html-css-default): Add holiday entry.
3653 (holiday-in-range): Autoload it.
3654 (cal-html-htmlify-entry): Add optional class argument.
3655 (cal-html-htmlify-list): Add optional holidays argument.
3656 (cal-html-insert-agenda-days): Include holidays in the output.
3657 (cal-html-one-month): Maybe include holidays.
3658
a43f98b3
GM
3659 * calendar/holidays.el (holiday-in-range):
3660 Move here from cal-tex-list-holidays.
3661 * calendar/cal-tex.el (cal-tex-list-holidays):
3662 Make it an obsolete alias for holiday-in-range. Update all callers.
3663
fef9d149 36642012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3665
3666 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3667 Nextstep.
3668
248da2f4
RW
36692012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3670
3671 * files.el (file-auto-mode-skip): New var.
3672 (set-auto-mode-1): Use it.
3673
f95e9344
SM
36742012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3675
df96ab1e
SM
3676 * repeat.el: Use lexical-binding.
3677 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3678 (repeat-undo-count): Remove.
3679 (repeat):
3680 * progmodes/octave-mod.el (octave-abbrev-start):
3681 * progmodes/f90.el (f90-abbrev-start):
3682 * face-remap.el (text-scale-adjust):
3683 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3684
5342bb06
SM
3685 * emacs-lisp/pcase.el (pcase--let*): New function.
3686 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3687 a bit more.
3688 (pcase--split-pred): Be more clever about ruling out overlap between
3689 a predicate and some constant pattern.
3690 (pcase--q1): Use `null' instead of (eq foo nil).
3691
f95e9344
SM
3692 * subr.el (setq-local, defvar-local): New macros.
3693 (kbd): Redefine as an alias.
3694 (with-selected-window): Leave unrelated frames alone.
3695 (set-temporary-overlay-map): New function.
3696
71873e2b
SM
36972012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 * subr.el (user-error): New function.
3700 * window.el (switch-to-buffer):
3701 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3702 (smerge-match-conflict):
3703 * simple.el (previous-matching-history-element)
3704 (next-matching-history-element, goto-history-element, undo-more)
3705 (undo-start):
3706 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3707 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3708 (next-file, tags-loop-scan, list-tags, complete-tag):
3709 * progmodes/compile.el (compilation-loop):
3710 * mouse.el (mouse-minibuffer-check):
3711 * man.el (Man-bgproc-sentinel, Man-goto-page):
3712 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3713 (Info-history-forward, Info-follow-reference, Info-menu)
3714 (Info-extract-menu-item, Info-extract-menu-counting)
3715 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3716 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3717 (Info-next-reference, Info-prev-reference, Info-index)
3718 (Info-index-next, Info-follow-nearest-node)
3719 (Info-copy-current-node-name):
3720 * imenu.el (imenu--make-index-alist)
3721 (imenu-default-create-index-function, imenu-add-to-menubar):
3722 * files.el (basic-save-buffer, recover-file):
3723 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3724 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3725 (checkdoc-message-text, checkdoc-defun):
3726 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3727 * cus-edit.el (customize-changed-options, customize-rogue)
3728 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3729 (custom-variable-mark-to-reset-standard)
3730 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3731 (custom-file):
3732 * completion.el (check-completion-length):
3733 * comint.el (comint-search-arg)
3734 (comint-previous-matching-input-string-position)
3735 (comint-previous-matching-input)
3736 (comint-replace-by-expanded-history-before-point, comint-send-input)
3737 (comint-copy-old-input, comint-backward-matching-input)
3738 (comint-goto-process-mark, comint-set-process-mark):
3739 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3740 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3741
8a61ee22
SM
37422012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3743
66408d1e
SM
3744 * dabbrev.el (dabbrev--ignore-case-p): New function.
3745 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3746 Use it.
3747
8a61ee22
SM
3748 * files.el (automount-dir-prefix): Mark as obsolete.
3749
3c74813a
GM
37502012-05-04 Glenn Morris <rgm@gnu.org>
3751
3752 * patcomp.el, play/bruce.el: Move to obsolete/.
3753
0bfcf5c5
PE
37542012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3755
3756 Fix minor Y10k bugs.
3757 * arc-mode.el (archive-unixdate):
3758 * autoinsert.el (auto-insert-alist):
3759 * calc/calc-forms.el (math-this-year):
3760 * emacs-lisp/copyright.el (copyright-current-year)
3761 (copyright-update-year, copyright):
3762 * tar-mode.el (tar-clip-time-string):
3763 * time.el (display-time-update):
3764 Don't assume years have 4 digits.
3765
78f3273a
CY
37662012-05-04 Chong Yidong <cyd@gnu.org>
3767
3768 * dos-w32.el (file-name-buffer-file-type-alist)
3769 (direct-print-region-use-command-dot-com):
3770 * ffap.el (ffap-menu-regexp):
3771 * find-file.el (ff-special-constructs):
3772 * follow.el (follow-debug):
3773 * forms.el (forms--debug):
3774 * iswitchb.el (iswitchb-all-frames):
3775 * ido.el (ido-all-frames):
3776 * emacs-lisp/timer.el (timer-max-repeats):
3777 * mail/feedmail.el (feedmail-mail-send-hook)
3778 (feedmail-mail-send-hook-queued):
3779 * mail/footnote.el (footnote-signature-separator):
3780 * mail/mailabbrev.el (mail-alias-separator-string)
3781 (mail-abbrev-mode-regexp):
3782 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3783 * progmodes/idlwave.el (idlwave-libinfo-file)
3784 (idlwave-default-completion-case-is-down)
3785 (idlwave-library-routines): Convert defvars to defcustoms.
3786
3787 * mail/rmail.el (rmail-decode-mime-charset):
3788 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3789 (idlwave-shell-fix-inserted-breaks)
3790 (idlwave-shell-activate-alt-keybindings)
3791 (idlwave-shell-use-breakpoint-glyph):
3792 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3793
f7ae6719
SM
37942012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3797
47086495
WS
37982012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3799
3800 * progmodes/verilog-mode.el (font-lock-keywords):
3801 Fix mis-highligting auto. Reported by Craig Barner.
3802 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3803 defines from global name space. Reported by Dan Dever.
3804 (verilog-auto-reset, verilog-auto-reset-widths)
3805 (verilog-auto-tieoff): Support using unbased numbers for
3806 AUTORESET and AUTOTIEOFF.
3807 (verilog-submit-bug-report): Update variable list.
3808 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3809 parenthesis from not matching. Reported by Michael Rytting.
3810 (verilog-auto-template-lint): Fix hash error when linting modules
3811 with no used templates.
3812 (verilog-warn, verilog-warn-error)
3813 (verilog-warn-fatal): When non-interactive report multiple
3814 warnings before exiting. Suggested by Brad Dobbie.
3815 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3816 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3817 to report unused template errors. Reported by Brad Dobbie.
3818 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3819 nets, bug438. Reported by Vns Blore.
3820 (verilog-auto-inout-module, verilog-auto-reg)
3821 (verilog-read-decls, verilog-read-sub-decls-sig)
3822 (verilog-signals-edit-wire-reg, verilog-signals-with):
3823 Fix passing of Verilog data types in ANSI input/output ports
3824 such as "output logic" into the AUTOs. Special case "wire" and
3825 "reg" for backwards compatibility presuming Verilog 2001.
3826 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3827 (verilog-preprocess): Fix replication of preprocess output.
3828 Reported by Brad Dobbie.
3829 (verilog-auto-inst-interfaced-ports):
3830 Create verilog-auto-inst-interfaced-ports, bug429.
3831 Reported by Julian Gorfajn.
3832 (verilog-after-save-font-hook)
3833 (verilog-before-save-font-hook): New variable.
3834 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3835 (verilog-save-font-mods): Wrap disabling fontification, reported
3836 by David Rogoff.
3837 (verilog-do-indent, verilog-pretty-declarations-auto)
3838 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3839 Reported by Pierre-David Pfister.
3840 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3841 of class declarations, bug292. Reported by Kevin Heilman.
3842 (verilog-read-decls): Fix 'parameter type' not appearing in
3843 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3844 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3845 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3846 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3847 Reported by David Kravitz.
3848
38492012-05-03 Michael McNamara <mac@mail.brushroad.com>
3850
3851 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3852 assignment with tests in ifs and for loops.
3853 (verilog-extended-complete-re, verilog-complete-reg): Change so
3854 that DPI inport functions don't look like fuction declarations.
3855 (verilog-pretty-expr): Don't line up assignment
3856 operations to the test and increment in if and for loops
3857 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3858 that DPI inport functions don't look like fuction declarations.
47086495 3859
2e51d4b5
KH
38602012-05-03 Kenichi Handa <handa@m17n.org>
3861
3862 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3863 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3864 (Bug#11282).
3865
2bd785a2
SM
38662012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * emacs-lisp/bytecomp.el
3869 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3870 since cconv.el might have introduced :fun-body, internal-make-closure,
3871 and friends for bytecomp to handle (bug#11391).
3872 * custom.el (defcustom): Avoid ((λ ..) ..).
3873
99d27583
SM
38742012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3877
55a71479
JB
38782012-05-02 Juanma Barranquero <lekktu@gmail.com>
3879
3880 * notifications.el (dbus-debug):
3881 * term/linux.el (gpm-mouse-enable):
3882 * term/screen.el (xterm-register-default-colors): Declare.
3883
7b97c764
CY
38842012-05-02 Chong Yidong <cyd@gnu.org>
3885
2bc356d7
CY
3886 * cus-start.el (gc-cons-percentage, exec-suffixes)
3887 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3888 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3889 (make-cursor-line-fully-visible, void-text-area-pointer)
3890 (font-list-limit): Add customization data.
3891
7b97c764
CY
3892 * allout.el (allout-exposure-change-functions)
3893 (allout-structure-added-functions)
3894 (allout-structure-deleted-functions)
3895 (allout-structure-shifted-functions): Rename abnormal hooks from
3896 *-hook, and convert to defcustoms.
5d3385a0
JB
3897 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3898 Convert to defcustoms.
7b97c764
CY
3899 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3900
3901 * allout-widgets.el: Hook callers changed.
3902
90207a15 39032012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3904
3905 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3906 the yanked message in preference to the default value of
3907 buffer-file-coding-system.
3908
90207a15 39092012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3910
5d3385a0
JB
3911 * window.el (display-buffer--action-function-custom-type):
3912 Fix entry.
d9558cad 3913
90207a15 39142012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3915
3916 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3917
d80ac57b
GM
39182012-05-01 Glenn Morris <rgm@gnu.org>
3919
976f7668
GM
3920 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3921
beb83b5a
GM
3922 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3923
d80ac57b
GM
3924 * cus-edit.el (custom-variable-documentation): Simplify with format.
3925
b593d6a9 39262012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 3927 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
3928
3929 * simple.el (suggest-key-bindings, execute-extended-command):
3930 Move from keyboard.c.
3931
782fbf2a
CY
39322012-05-01 Chong Yidong <cyd@gnu.org>
3933
3934 * follow.el: Eliminate advice.
3935 (set-process-filter, process-filter, sit-for): Advice deleted.
3936 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3937 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3938 Vars deleted.
782fbf2a
CY
3939 (follow-auto): Use a :set function.
3940 (follow-mode): Rewritten. Don't advise process filters.
3941 (follow-switch-to-current-buffer-all, follow-scroll-up)
3942 (follow-scroll-down): Assume follow-mode is bound.
3943 (follow-comint-scroll-to-bottom)
3944 (follow-align-compilation-windows): New functions.
3945 (follow--window-sorter): New function.
3946 (follow-all-followers): Use it to explicitly sort windows by their
3947 positions; don't make assumptions about next-window order.
3948 (follow-windows-start-end, follow-delete-other-windows-and-split)
3949 (follow-calc-win-start): Doc fix.
3950 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3951 vertical-motion unnecessarily.
3952 (follow-adjust-window): New function.
3953 (follow-post-command-hook): Use it.
3954 (follow-call-set-process-filter, follow-call-process-filter)
3955 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3956 (follow-stop-intercept-process-output, follow-generic-filter):
3957 Functions deleted.
3958 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3959 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3960 New functions, replacing advice on scroll-bar-* commands.
87233a14 3961 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3962
3963 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3964 (comint-postoutput-scroll-to-bottom): Use it.
3965 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 3966
290af740
GM
39672012-05-01 Glenn Morris <rgm@gnu.org>
3968
3969 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
3970 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
3971 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
3972 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
3973 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
3974 Remove no-byte-compile setting.
3975
6eac8dc9
SM
39762012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3977
3978 * minibuffer.el (completion-table-with-quoting): Fix compatibility
3979 all-completions code to not return a number in the last cdr.
3980
9cc7819c
LL
39812012-04-30 Leo Liu <sdl.web@gmail.com>
3982
3983 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
3984 read-only error.
3985
c93b886f
CY
39862012-04-29 Chong Yidong <cyd@gnu.org>
3987
3988 * follow.el (follow-calc-win-end): Rewrite to handle partial
3989 screen lines correctly (Bug#8390).
3990 (follow-avoid-tail-recenter): Minor cleanup.
3991
8b6c19f4
SM
39922012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 Avoid the obsolete `assoc' package.
3995 * speedbar.el (speedbar-refresh): Avoid adelete.
3996 (speedbar-file-lists): Simplify and avoid aput.
3997 * man.el (Man--sections, Man--refpages): New vars, replacing
3998 Man-sections-alist and Man-refpages-alist.
3999 (Man-build-section-alist, Man-build-references-alist):
4000 Use them; avoid aput.
4001 (Man--last-section, Man--last-refpage): New vars.
4002 (Man-follow-manual-reference): Use them.
4003 Use the `default' arg of completing-read.
4004 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4005
c5bb7569
CY
40062012-04-27 Chong Yidong <cyd@gnu.org>
4007
d1d2e2e8
CY
4008 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4009
15cd8efd
CY
4010 * startup.el (x-apply-session-resources): New function.
4011
4012 * term/ns-win.el (ns-initialize-window-system):
4013 * term/w32-win.el (w32-initialize-window-system):
4014 * term/x-win.el (x-initialize-window-system): Use it to properly
4015 set menu-bar-mode and other vars from X resources, even if the
4016 initial frame is not a window-system frame (Bug#2299).
4017
c5bb7569
CY
4018 * subr.el (read-key): Avoid running filter function when setting
4019 up temporary tool bar entries (Bug#9922).
4020
a8e7d6d7 40212012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4022
4023 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4024 (Bug#11344)
4025
a8e7d6d7 40262012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4027
4028 * select.el (xselect--encode-string): New function, split from
4029 xselect-convert-to-string.
4030 (xselect-convert-to-string): Use it.
4031 (xselect-convert-to-filename, xselect-convert-to-os)
4032 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4033 returned strings are properly encoded (Bug#11315).
4034
a8e7d6d7 40352012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4036
4037 * simple.el (delete-active-region): Move to killing custom group.
4038
a8e7d6d7 40392012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4040
4041 * progmodes/which-func.el (which-func-current): Quote %
4042 characters for mode-line processing.
4043
578c1d4b 40442012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4045
4046 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4047 reaching eob (Bug#11286).
4048
a8e7d6d7 40492012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4050
4051 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4052 (gdb): Make it buffer-local and init to zero.
4053 (gdb-control-commands-regexp): New variable.
4054 (gdb-send): Don't wrap in "-interpreter-exec console" if
4055 gdb-control-level is positive. Increment gdb-control-level
4056 whenever the command matches gdb-control-commands-regexp, and
4057 decrement it each time the command is "end". (Bug#11279)
4058
a8e7d6d7 40592012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4060
4061 * window.el (adjust-window-trailing-edge, enlarge-window)
4062 (shrink-window, window-resize):
4063 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4064 windows (Bug#11276).
4065
b3608390
CY
40662012-04-27 Chong Yidong <cyd@gnu.org>
4067
4068 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4069 fix "missing prefix" warning. All callers changed.
b3608390 4070
797e6e88
SM
40712012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4072
4073 * emacs-lisp/assoc.el: Move to obsolete/.
4074
e95a67dc
SM
40752012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4076
657c21e4 4077 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4078
4079 * term/ns-win.el (ns-define-service):
4080 * progmodes/pascal.el (pascal-goto-defun):
4081 * progmodes/js.el (js--read-tab):
4082 * progmodes/etags.el (tags-lazy-completion-table):
4083 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4084 * emacs-lisp/ewoc.el (ewoc--wrap):
4085 * emacs-lisp/assoc.el (aput, adelete, amake):
4086 * doc-view.el (doc-view-convert-current-doc):
4087 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4088
cb3e7ae0
CY
40892012-04-26 Chong Yidong <cyd@gnu.org>
4090
dce04f7f
CY
4091 * image.el (image-type-from-buffer): Only return supported image
4092 type (Bug#9045).
4093
cb3e7ae0
CY
4094 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4095 value, for symmetry with diff-end-of-hunk.
4096 (diff-split-hunk, diff-find-source-location)
4097 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4098 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4099 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4100 compute the relevant hunk or file properly (Bug#6005).
4101 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4102
0d42eb3e
SM
41032012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * vc/vc-mtn.el:
4106 * vc/vc-hg.el:
4107 * vc/vc-git.el:
4108 * vc/vc-dir.el:
4109 * vc/vc-cvs.el:
4110 * vc/vc-bzr.el:
4111 * vc/vc-arch.el:
4112 * vc/vc.el: Replace lexical-let by lexical-binding.
4113 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4114 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4115 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4116
f08ae1c9
CY
41172012-04-26 Chong Yidong <cyd@gnu.org>
4118
8b71081d
CY
4119 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4120 (diff-mode-shared-map): Bind it to / and [remap undo].
4121
f08ae1c9
CY
4122 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4123 (ediff-window-setup-function): Use it as the default, to set up
4124 windows based on whether the current frame is graphical (Bug#2138).
4125 (ediff-choose-window-setup-function-automatically): Make obsolete.
4126
4127 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4128
ef24141c
SM
41292012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4130
cc356a5d
SM
4131 * ffap.el: Remove old code for obsolete package.
4132 (ffap-complete-as-file-p): Remove.
4133
b4ff4f1f
SM
4134 Use completion-table-with-quoting for comint and pcomplete.
4135 * comint.el (comint--unquote&requote-argument)
4136 (comint--unquote-argument, comint--requote-argument): New functions.
4137 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4138 (comint-quote-filename): Use regexp-opt-charset.
4139 (comint--common-suffix, comint--common-quoted-suffix)
4140 (comint--table-subvert): Remove.
4141 (comint-unquote-function, comint-requote-function): New vars.
4142 (comint--complete-file-name-data): Use them with
4143 completion-table-with-quoting.
4144 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4145 * pcomplete.el (pcomplete-arg-quote-list)
4146 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4147 (pcomplete-unquote-argument-function): Default to non-nil.
4148 (pcomplete-unquote-argument): Simplify.
4149 (pcomplete--common-quoted-suffix): Remove.
4150 (pcomplete-requote-argument-function): New var.
4151 (pcomplete--common-suffix): New function.
4152 (pcomplete-completions-at-point): Use completion-table-with-quoting
4153 and completion-table-subvert.
4154
79c4eeb4
SM
4155 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4156 (minibuffer--double-dollars): Preserve properties.
4157 (completion--sifn-requote): New function.
4158 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4159
ef24141c
SM
4160 * minibuffer.el: Add support for completion of quoted/escaped data.
4161 (completion-table-with-quoting, completion-table-subvert): New funs.
4162 (completion--twq-try, completion--twq-all): New functions.
4163 (completion--nth-completion): New function.
4164 (completion-try-completion, completion-all-completions): Use it.
4165
784e7d6e
LL
41662012-04-25 Leo Liu <sdl.web@gmail.com>
4167
dd2ac746
SM
4168 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4169 Use compilation-message if available to find real filename.
784e7d6e 4170
07875ee7
CY
41712012-04-25 Chong Yidong <cyd@gnu.org>
4172
4173 * vc/diff-mode.el (diff-setup-whitespace): New function.
4174 (diff-mode): Use it.
4175
4176 * vc/diff.el (diff-sentinel):
4177 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4178 Whitespace mode variables based on diff style (Bug#8612).
4179
5055880d
LL
41802012-04-25 Leo Liu <sdl.web@gmail.com>
4181
daf75653
LL
4182 * progmodes/python.el (python-send-region): Add suffix .py to the
4183 temp file.
4184
5055880d
LL
4185 * files.el (auto-mode-alist): Use javascript-mode instead.
4186
db9b177b
AH
41872012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4188
ef24141c 4189 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4190
090bd7cb 4191 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4192 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4193 references, see Bug#9.
ef24141c 4194 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4195 when receiving a fault reply.
ef24141c 4196 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4197
090bd7cb 4198 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4199 (soap-inspect-simple-type): New function.
db9b177b 4200
090bd7cb 4201 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4202 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4203 (soap-decode-basic-type, soap-encode-basic-type):
4204 support unsignedInt and double basic types.
db9b177b 4205 (soap-resolve-references-for-simple-type)
ef24141c
SM
4206 (soap-parse-simple-type, soap-encode-simple-type): New function.
4207 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4208
090bd7cb 4209 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4210 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4211 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4212 the local name of "soapenc:Array".
4213 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4214 decoding integer, byte and anyURI xsd types.
4215
1fc6097b
CY
42162012-04-25 Chong Yidong <cyd@gnu.org>
4217
4218 * cus-edit.el (custom-buffer-create-internal): Update header text.
4219
afc6df87
EZ
42202012-04-25 Eli Zaretskii <eliz@gnu.org>
4221
4222 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4223 settings on 'system-type', not on 'window-system'. On MS-Windows,
4224 set interactive-mode on in GDB.
4225
dfbd787f
SM
42262012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4229 (ruby-syntax-propertize-regexp): Remove.
4230 (ruby-syntax-propertize-function): Split regexp into chunks.
4231 Match following code directly.
4232
85222d44
DG
42332012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4234
51a8ea2a
DG
4235 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4236 (ruby-syntax-propertize-regexp): New function.
4237 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4238 by a special keyword.
4239
85222d44
DG
4240 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4241 (ruby-syntax-general-delimiters-goto-beg)
4242 (ruby-syntax-propertize-general-delimiters): New functions.
4243 (ruby-syntax-propertize-function): Use them to handle GDL.
4244 (ruby-font-lock-keywords): Move old handling of GDL...
4245 (ruby-font-lock-syntactic-keywords): .. to here.
4246 (ruby-calculate-indent): Adjust indentation for GDL.
4247
b613912b
MA
42482012-04-24 Michael Albinus <michael.albinus@gmx.de>
4249
b5380639
MA
4250 * notifications.el (top): Remove unneeded declarations.
4251 (notifications-specification-version): Change to "1.2".
e43042fe 4252 (notifications-interface, notifications-notify-method)
b613912b
MA
4253 (notifications-close-notification-method): Fix docstring.
4254 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4255 (notifications-notify): Add :action-items, :resident and
4256 :transient hints. Change "image_data" to "image-data" and
4257 "image_path" to "image-path".
b613912b
MA
4258 (notifications-get-capabilities): New defun.
4259
257440aa
LL
42602012-04-24 Leo Liu <sdl.web@gmail.com>
4261
4262 * progmodes/python.el: Move hideshow setup to the end.
4263
b1bac16e
MR
42642012-04-24 Martin Rudalics <rudalics@gmx.at>
4265
4266 * window.el (handle-select-window): Clear echo area since this is
4267 no more done by read_char (Bug#11304).
4268
d81bd059
SM
42692012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4272 and `/ M' to filter-derived-mode.
4273 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4274 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4275 (ibuffer-mark-by-mode): Use default rather than initial-input.
4276 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4277
c4cf6d91
IA
42782012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4279
4280 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4281 (ibuffer-filter-by-derived-mode): New filter.
4282 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4283
7511ded8
CY
42842012-04-23 Andreas Politz <politza@fh-trier.de>
4285
4286 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4287
775c916b
CY
42882012-04-23 Chong Yidong <cyd@gnu.org>
4289
4290 * cus-edit.el (customize-apropos, customize-apropos-options):
4291 Disable matching of non-option variables (Bug#11176).
4292 (customize-option, customize-option-other-window)
4293 (customize-changed-options): Doc fix.
4294 (customize-apropos-options, customize-apropos-faces)
4295 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4296
4297 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4298 Fix word list splitting (Bug#11132).
46c71e23
CY
4299 (apropos-symbol, apropos-keybinding, apropos-label)
4300 (apropos-property, apropos-function-button)
4301 (apropos-variable-button, apropos-misc-button): New faces.
4302 (apropos-symbol-face, apropos-keybinding-face)
4303 (apropos-label-face, apropos-property-face, apropos-match-face):
4304 Variables removed (Bug#8396).
4305 (apropos-library-button, apropos-format-plist, apropos-print)
4306 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4307
2df41f9c
MA
43082012-04-23 Michael Albinus <michael.albinus@gmx.de>
4309
4310 * net/xesam.el (xesam-mode-map): Use let-bound map in
4311 initialization. (Bug#11292)
4312
da00640a
AM
43132012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4314
4315 Preserve ispell session localwords when switching back to
4316 original buffer.
4317
090bd7cb
JB
4318 * textmodes/ispell.el (ispell-buffer-session-localwords):
4319 New buffer-local variable to hold buffer session localwords.
ed9265fc 4320 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4321 localwords.
4322 (ispell-command-loop, ispell-change-dictionary)
4323 (ispell-buffer-local-words): Preserve session localwords when
4324 needed.
4325
090bd7cb
JB
4326 * textmodes/flyspell.el (flyspell-process-localwords)
4327 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4328
f621ccf5
AM
43292012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4330
090bd7cb
JB
4331 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4332 using obsolete `translation-table-for-input'.
ef24141c
SM
4333 (ispell-word, ispell-process-line, ispell-complete-word):
4334 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4335
c2d1019e
CY
43362012-04-22 Chong Yidong <cyd@gnu.org>
4337
4338 * cus-edit.el (custom-variable-menu)
4339 (custom-variable-reset-saved, custom-face-menu)
4340 (custom-face-reset-saved): If there is no saved value, make the
4341 "reset-saved" operation bring back the default (Bug#9509).
4342 (custom-face-state): Properly detect themed faces.
4343
eeddc531
CY
4344 * faces.el (face-spec-set): Stop supporting deprecated form of
4345 third arg.
4346
dcbf5805
MA
43472012-04-22 Michael Albinus <michael.albinus@gmx.de>
4348
4349 Move functions from C to Lisp. Make non-blocking method calls
4350 the default. Implement further D-Bus standard interfaces.
4351
ef24141c
SM
4352 * net/dbus.el (dbus-message-internal): Declare function.
4353 Remove unneeded function declarations.
dcbf5805
MA
4354 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4355 (dbus-message-type-method-return, dbus-message-type-error)
4356 (dbus-message-type-signal): Declare variables. Remove local
4357 definitions.
4358 (dbus-interface-dbus, dbus-interface-peer)
4359 (dbus-interface-introspectable, dbus-interface-properties)
4360 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4361 Adapt docstring.
4362 (dbus-interface-objectmanager): New defconst.
4363 (dbus-call-method, dbus-call-method-asynchronously)
4364 (dbus-send-signal, dbus-method-return-internal)
4365 (dbus-method-error-internal, dbus-register-service)
4366 (dbus-register-signal, dbus-register-method): New defuns, moved
4367 from dbusbind.c
4368 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4369 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4370 New defuns.
dcbf5805
MA
4371 (dbus-call-method-non-blocking): Make it an obsolete function.
4372 (dbus-unregister-object, dbus-unregister-service)
4373 (dbus-handle-event, dbus-register-property)
4374 (dbus-property-handler): Obey the new structure of
4375 `bus-registered-objects'.
4376 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4377 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4378 Use `dbus-call-method'.
4379
cf20dee0
CY
43802012-04-22 Chong Yidong <cyd@gnu.org>
4381
4382 * cus-edit.el (custom-commands, custom-reset-menu)
4383 (Custom-reset-standard): Tweak labels.
4384 (custom-reset-button-menu): Change default to t.
4385 (custom-buffer-create-internal): For the custom-reset-button-menu
4386 case, put the revert button first.
4387 (custom-group-subtitle): New face.
4388 (custom-group-value-create): Align docstring to a specific column.
4389
4390 * wid-edit.el (widget-documentation-link-add): Don't handle
4391 indentation in this function.
4392 (widget-documentation-string-indent-to): New function.
4393 (widget-documentation-string-value-create): Use it.
4394
4395 * autorevert.el (auto-revert):
4396 * epg-config.el (epg):
4397 * ibuffer.el (ibuffer):
4398 * mpc.el (mpc):
4399 * ses.el (ses):
4400 * eshell/eshell.el (eshell):
4401 * net/ange-ftp.el (ange-ftp):
4402 * progmodes/ebnf2ps.el (postscript):
4403 * progmodes/flymake.el (flymake):
4404 * progmodes/prolog.el (prolog):
4405 * progmodes/verilog-mode.el (verilog-mode):
4406 * progmodes/which-func.el (which-func):
4407 * term/xterm.el (xterm):
4408 * textmodes/picture.el (picture):
4409 * textmodes/tildify.el (tildify):
4410 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4411 customization buffers.
4412
583e23bd
AM
44132012-04-22 Alan Mackenzie <acm@muc.de>
4414
4415 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4416 Adding a ) can hide the resulting (..) from searches. Fix it.
4417 Bound the backward search to the position of the existing (.
4418
7dd51bf1
JB
44192012-04-21 Juanma Barranquero <lekktu@gmail.com>
4420
4421 * progmodes/verilog-mode.el (verilog-mode): Check whether
4422 which-func-modes is t before adding verilog-mode.
4423 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4424
d64a438f
LL
44252012-04-21 Leo Liu <sdl.web@gmail.com>
4426
7dd51bf1 4427 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4428
081e8d65
MV
44292012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4430
4431 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4432 filling of the last column of a table (Bug#5635).
4433 (woman-find-next-control-line): New arg, specifying an additional
4434 regexp component for the control line.
4435 (woman2-roff-buffer): Use it.
4436 (woman-break-table): New function.
4437 (woman2-TS): Use it.
4438
44392012-04-21 Chong Yidong <cyd@gnu.org>
4440
4441 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4442 (woman-horizontal-escapes, woman-negative-vertical-space)
4443 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4444 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4445
ed571ccb
SM
44462012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * minibuffer.el (completion-file-name-table): Complete user names.
4449
39773899
LL
44502012-04-20 Leo Liu <sdl.web@gmail.com>
4451
4452 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4453 and pcase-let*.
4454
de6ff46d
CY
44552012-04-20 Chong Yidong <cyd@gnu.org>
4456
4457 * server.el (server-execute): Respect initial-buffer-choice if it
4458 is a string and there are no files to open (Bug#2825).
4459 (server-create-window-system-frame, server-create-tty-frame):
4460 Don't switch buffers here.
2d0e8e61
CY
4461 (server-process-filter): Only try to open a window system frame if
4462 compiled with graphical support (Bug#8314).
de6ff46d 4463
54071013
DN
44642012-04-20 Dan Nicolaescu <dann@gnu.org>
4465
4466 * battery.el (battery-echo-area-format): Display remaining time
4467 for sysfs backend too (Bug#11269).
4468 (battery-linux-sysfs): Fix conditional for the charge.
4469
f30d612a
CY
44702012-04-20 Chong Yidong <cyd@gnu.org>
4471
c07a4c0b 4472 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4473 (gdb-inferior-io--init-proc): New function.
4474 (gdb-init-1): Use it.
4475 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4476 responsible for allocating a new pty and hooking it to gdb when
4477 the old pty gets an EIO due to process exit.
4478 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4479 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4480 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4481
2116e93c
EZ
44822012-04-20 Eli Zaretskii <eliz@gnu.org>
4483
4484 * window.el (window-min-size, window-sizable, window-min-delta)
4485 (window-max-delta, window--resizable, window-resizable)
4486 (window-total-size, window-full-height-p, window-full-width-p)
4487 (window-in-direction, window--resize-mini-window, window-resize)
4488 (window--resize-child-windows-normal)
4489 (window--resize-child-windows, window--resize-siblings)
4490 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4491 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4492
c07a4c0b 44932012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4494
ef24141c
SM
4495 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4496 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4497 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4498 pty process (Bug#11273).
4499 (gdb-update): New arg to suppress talking to the gdb process.
4500 (gdb-done-or-error): Use it.
4501 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4502 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4503 sentinel not being called.
4504
4505 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4506
d02766ab
CY
4507 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4508
c07a4c0b 45092012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4510
4511 * net/network-stream.el (open-network-stream): Doc fix.
4512
c07a4c0b 45132012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4514
4515 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4516
c07a4c0b 45172012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4518
4519 Ensure searching for keywords is case sensitive.
4520
4521 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4522 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4523 (c-defun-name, c-mark-function, c-cpp-define-name)
4524 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4525 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4526
ef24141c
SM
4527 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4528 Bind case-fold-search to nil.
f0f6bc35 4529
c07a4c0b 45302012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4531
4532 * mail/sendmail.el (mail-bury): Call return action with the right
4533 Rmail buffer (Bug#11242).
4534
9a864fa2
CY
4535 * server.el (server-process-filter): Handle corner case where both
4536 tty and nowait options are present (Bug#11102).
4537
539aa513
EZ
45382012-04-20 Eli Zaretskii <eliz@gnu.org>
4539
4540 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4541 (top level): Put into the executable the ident-style '$Id:' tag on
4542 windows-nt as well.
539aa513 4543
cfc7d5da
SM
45442012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * electric.el (electric-indent-post-self-insert-function): Check that
4547 electric-indent-mode is enabled in current buffer.
4548
5b01685c
JB
45492012-04-19 Juanma Barranquero <lekktu@gmail.com>
4550
4551 * imenu.el (imenu-progress-message): Restore; it is "used" in
4552 erc/erc-imenu.el and net/snmp-mode.el.
4553
4d6769e1
JB
45542012-04-19 Juanma Barranquero <lekktu@gmail.com>
4555
4556 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4557 (mouse-avoidance-nudge-mouse): Remove unused binding.
4558
4559 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4560
4561 * descr-text.el (describe-char):
4562 * progmodes/python.el (python-describe-symbol):
4563 Don't call `toggle-read-only', set `buffer-read-only'.
4564
4565 * imenu.el (imenu-default-goto-function): Mark unused args.
4566 (imenu-progress-message): Remove obsolete macro; all callers changed.
4567
4568 * subr.el (keymap-canonicalize): Remove unused binding.
4569 (read-passwd): Mark unused arg.
4570
4571 * tutorial.el (tutorial--display-changes): Remove unused binding.
4572 (tutorial--save-tutorial-to): Remove unused variable.
4573
4574 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4575 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4576 (package-generate-autoloads, package-menu--generate)
4577 (package-menu--find-upgrades): Remove unused bindings.
4578
4579 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4580 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4581 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4582 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4583 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4584 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4585 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4586 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4587 (cua-delete-char-rectangle): Mark unused args.
4588 (cua-align-rectangle): Remove unused binding.
4589
4590 * mail/rmail.el (compilation--message->loc)
4591 (epa--find-coding-system-for-mime-charset): Declare.
4592
4593 * net/dbus.el (dbus-register-service): Declare.
4594 (dbus-name-owner-changed-handler): Remove unused binding.
4595
4596 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4597 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4598 (nxml-scan-backward-within): Mark unused arg.
4599 (nxml-dynamic-markup-word): Remove unused binding.
4600
4601 * mouse.el (mouse-menu-major-mode-map):
4602 * emacs-lisp/authors.el (authors-scan-change-log)
4603 (authors-add-to-author-list):
4604 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4605 * emacs-lisp/smie.el (smie-auto-fill):
4606 * mail/sendmail.el (mail-bury):
4607 * mail/unrmail.el (unrmail):
4608 * net/tls.el (open-tls-stream):
4609 * textmodes/picture.el (picture-mouse-set-point):
4610 Remove unused bindings.
4611
8c8fc5df
MA
46122012-04-19 Michael Albinus <michael.albinus@gmx.de>
4613
4614 * net/tramp.el (tramp-action-password): Let-bind
4615 `enable-recursive-minibuffers' to t.
4616
a77b0ac9
SS
46172012-04-18 Sam Steingold <sds@gnu.org>
4618
4619 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4620 instead of 'string to accommodate values like [f11].
4621 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4622 * progmodes/gdb-mi.el: Likewise.
4623
12a106a9
LL
46242012-04-18 Leo Liu <sdl.web@gmail.com>
4625
4626 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4627 current buffer.
4628 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4629 LOCAL is nil.
4630
bc6494ef
CY
46312012-04-18 Chong Yidong <cyd@gnu.org>
4632
4633 * simple.el (line-move): Use forward-line if in batch mode
4634 (Bug#11053).
4635
c09c46b2
CS
46362012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4637
4638 * files.el (after-find-file): Do not try to add a final newline if
4639 the buffer is read-only (Bug#11156).
4640
5f6530ea
RS
46412012-04-17 Richard Stallman <rms@gnu.org>
4642
4643 * mail/rmail.el (rmail-start-mail):
4644 Pass (rmail-mail-return...) for the return-action.
4645 Pass (rmail-yank-current-message...) for the yank-action.
4646 (rmail-yank-current-message): New function.
4647 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4648 (rmail-reply): Likewise.
4649 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4650
4651 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4652 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4653 buffer, not newbuf.
4654
197b6f3c
JB
46552012-04-17 Juanma Barranquero <lekktu@gmail.com>
4656
4657 * server.el (server-ensure-safe-dir): Simplify.
4658
2311d8e5 46592012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4660
2311d8e5
GM
4661 * emacs-lisp/smie.el: Provide smarter auto-filling.
4662 (smie-auto-fill): New function.
4663 (smie-setup): Use it.
98fb480e 4664
2311d8e5
GM
4665 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4666
46672012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4668
4669 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4670 (comment-indent): Use it.
4671
2311d8e5 46722012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4673
4674 * ses.el: The overall change is to add cell renaming, that is
4675 setting fancy names for cell symbols other than name matching
4676 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4677 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4678 (ses-create-cell-variable): New defun.
2311d8e5 4679 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4680 (ses-relocate-formula): Relocate formulas only for cells the
4681 symbols of which are not renamed, i.e. symbols whose names do not
4682 match regexp "\\`[A-Z]+[0-9]+\\'".
4683 (ses-relocate-all): Relocate values only for cells the symbols of
4684 which are not renamed.
4685 (ses-load): Create cells variables as the (ses-cell ...) are read,
4686 in order to check row col consistency with cell symbol name only
4687 for cells that are not renamed.
4688 (ses-replace-name-in-formula): New defun.
4689 (ses-rename-cell): New defun.
4bdf2ad2 4690
fc72b15c
PO
46912012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4692
4693 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4694 New option (bug#11118).
4695 (perl-calculate-indent): Respect it.
4696
12e10e61
GM
46972012-04-17 Glenn Morris <rgm@gnu.org>
4698
4699 * dired-aux.el (dired-mark-read-string): Doc fix.
4700
30009afd
DA
47012012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4702
4703 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4704 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4705
41f03f4d
GM
47062012-04-17 Glenn Morris <rgm@gnu.org>
4707
4708 * mouse.el (mouse-drag-track):
4709 * speedbar.el (speedbar-frame-mode):
4710 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4711
f45f90f3
LL
47122012-04-16 Leo Liu <sdl.web@gmail.com>
4713
4714 * progmodes/python.el: Trivial cleanup.
4715
94ee8db5
GM
47162012-04-16 Glenn Morris <rgm@gnu.org>
4717
121b8917
GM
4718 * vc/vc.el (vc-string-prefix-p):
4719 * vc/pcvs-util.el (cvs-string-prefix-p):
4720 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4721 * mpc.el (mpc-string-prefix-p):
4722 Make all of these into obsolete aliases for string-prefix-p.
4723 Update callers.
4724 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4725
1197ecfa
GM
4726 * textmodes/two-column.el: Move custom options to the start.
4727 (frame-width): Remove compat definition.
4728 (2C-associate-buffer, 2C-dissociate):
4729 Use with-current-buffer rather than save-excursion.
4730 (2C-dissociate): Force a mode-line update.
4731 (2C-autoscroll): Use ignore-errors.
4732
099e7202
GM
4733 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4734 Autoload trivia.
4735
bf350d6a
GM
4736 * emacs-lisp/cl-extra.el (*random-state*):
4737 Remove unnecessary declaration.
4738
0e829eab
GM
4739 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4740
e3ad7552
GM
4741 * play/cookie1.el (cookie-snarf):
4742 Give an explicit error if input file cannot be read.
4743
68892d27
GM
4744 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4745
20f0c46d
GM
4746 * progmodes/perl-mode.el (c-macro-expand):
4747 Remove unnecessary autoload (it is in loaddefs.el).
4748
5a0978ce
GM
4749 * textmodes/picture.el (picture-desired-column)
4750 (picture-update-desired-column): Convert comments to doc-strings.
4751 (picture-substitute): Remove function.
4752 (picture-mode-map): Initialize in the defvar.
4753
6b955486
GM
4754 * woman.el: Remove eval-after-load for tar-mode.
4755 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4756 (woman-tar-extract-file): Autoload it.
4757
94ee8db5
GM
4758 * frame.el (automatic-hscrolling): Make this alias obsolete.
4759
177eca34
AM
47602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4761
090bd7cb 4762 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4763 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4764 (ispell-dictionary-base-alist): Revert to original XEmacs
4765 friendly version for default. [:alpha:] will be added in
090bd7cb 4766 `ispell-set-spellchecker-params' if needed.
177eca34 4767
c505aaeb
CY
47682012-04-16 Chong Yidong <cyd@gnu.org>
4769
b19dd9d1 4770 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4771 (imagemagick-register-types): Use it.
4772 (imagemagick-types-inhibit): Add :set function. Allow new value
4773 of t to inhibit all types.
4774
4775 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4776 so we can preload it.
4777
4778 * loadup.el (fboundp): Preload regexp-opt, needed by
4779 imagemagick-register-types.
4780
60efac0f
CY
47812012-04-15 Chong Yidong <cyd@gnu.org>
4782
4783 * frame.el (scrolling): Remove nearly unused customization group.
4784
4785 * scroll-all.el (scroll-all-mode): Move to windows group.
4786
5dd1713e
CY
47872012-04-15 Chong Yidong <cyd@gnu.org>
4788
4789 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4790
e6fd457e
CY
47912012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4792
4793 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4794 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4795
e153c136
GM
47962012-04-15 Glenn Morris <rgm@gnu.org>
4797
4798 * simple.el (process-file-side-effects): Doc fix.
4799
e6fd457e 48002012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4801
4802 * international/mule-cmds.el (set-language-environment): Doc fix.
4803
3603c3b1
JB
48042012-04-14 Juanma Barranquero <lekktu@gmail.com>
4805
4806 * server.el (server-auth-key, server-generate-key): Doc fixes.
4807 (server-get-auth-key): Doc fix. Use `string-match-p'.
4808 (server-start): Reflow docstring.
4809
e6de100c
LI
48102012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4811
4812 * server.el (server-generate-key): `called-interactively-p'
4813 requires a parameter.
4814
29734c21
MN
48152012-04-14 Michal Nazarewicz <mina86@mina86.com>
4816
4817 * server.el (server-auth-key): New variable.
75f1671a 4818 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4819 (server-start): Use the new variable and functions to allow
4820 setting a permanent server key (bug#9423).
4821
d65c9521
LL
48222012-04-14 Leo Liu <sdl.web@gmail.com>
4823
4824 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4825
5ae255c7
PE
48262012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4827
4828 Spelling fixes.
4829 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4830 Emacs uses American spelling.
4831
d5e6342e
JB
48322012-04-14 Juanma Barranquero <lekktu@gmail.com>
4833
4834 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4835 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4836 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4837 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4838
ab036cd7
SM
48392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4840
4841 * progmodes/which-func.el (which-func-modes): Change default.
4842
35dc09a1 48432012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4844
4845 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4846 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4847
35dc09a1 48482012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4849
4850 * custom.el (custom-theme-set-variables): Doc fix.
4851
35dc09a1 48522012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4853
4854 * international/mule.el (set-auto-coding-for-load): Doc fix.
4855
35dc09a1 48562012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4857
35dc09a1
GM
4858 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4859 imenu work again for Objective C Mode. Correct the *-index values,
4860 these having been disturbed by a previous change in 2011-08.
57f845ee 4861
0de3da9f
AM
4862 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4863 Correct two search limits.
4864
35dc09a1 48652012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4866
4867 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4868
35dc09a1 48692012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4870
4871 * international/characters.el: Fix sorting.
4872
35dc09a1 48732012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4874
4875 * international/characters.el: Add more missing Latin case pairs.
4876
35dc09a1 48772012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4878
4879 * files.el (dir-locals-set-class-variables): Doc fix.
4880
35dc09a1 48812012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4882
3f1b5bf8
EZ
4883 * international/characters.el: Add set-case-syntax-pair call for
4884 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4885 counterpart. (Bug#11209)
4886
9f847f41
EZ
4887 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4888
35dc09a1 48892012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4890
4891 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4892
35dc09a1 48932012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4894
35dc09a1
GM
4895 * textmodes/ispell.el (ispell-dictionary-base-alist):
4896 Add data for Hebrew.
e2627d21 4897
35dc09a1 48982012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4899
35dc09a1
GM
4900 * net/rcirc.el (rcirc-cmd-quit):
4901 Revert 2012-03-18 change (Bug#11192).
5c14e333 4902
35dc09a1 49032012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4904
4905 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4906
35dc09a1 49072012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4908
4517fe3a
SM
4909 * minibuffer.el (completion-in-region-mode-map):
4910 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4911
b472a594
VD
49122012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4913
4914 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4915
09b95ce3
MY
49162012-04-13 Masatake YAMATO <yamato@redhat.com>
4917
4918 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4919 to allow `C-M-f' and `C-M-b' to move to the nearest path
4920 separator (bug#9511).
4921
4b63a9ca
LI
49222012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4923
4924 * avoid.el: Require cl when compiling. And also move the
4925 `provide' to the end.
4926
7b55b8bf
TV
49272012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4928
4929 * avoid.el (mouse-avoidance-banish-position): New variable.
4930 (mouse-avoidance-banish-destination): Use it (bug#10165).
4931
adedaa1f
LL
49322012-04-13 Leo Liu <sdl.web@gmail.com>
4933
4934 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4935
70e74021
KB
49362012-04-13 Ken Brown <kbrown@cornell.edu>
4937
4938 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4939 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4940 (browse-url-filename-alist): For the same reason, don't modify
4941 file:// URLs on Cygwin.
4942
e75e89ba
SM
49432012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4946 the region on shift if the binding is already shifted (bug#11221).
4947
82f289a4
GM
49482012-04-12 Glenn Morris <rgm@gnu.org>
4949
4950 * mail/mailpost.el: Move to obsolete/.
4951
d333dc4c
DA
49522012-04-12 Drew Adams <drew.adams@oracle.com>
4953
4954 * imenu.el (imenu--generic-function): Ignore invisible definitions
4955 (bug#10123).
4956
0d15b5ba
VD
49572012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4958
4959 * hexl.el (hexl-bits): New variable.
4960 (hexl-options): Mention the variable in the doc string.
75f1671a 4961 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4962 (hexl-mode): Mention the new variable.
75f1671a
JB
4963 (hexl-mode, hexl-current-address, hexl-current-address):
4964 Use the displen.
0d15b5ba
VD
4965 (hexl-ascii-start-column): New function.
4966 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
4967 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
4968
64a440db
AM
49692012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4970
4971 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
4972 '("-i" ENCODING), in 2 separate command-line arguments, to specify
4973 the encoding, as expected by hunspell.
4974
6decb6c2
SM
49752012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * battery.el (battery--linux-sysfs-regexp): New const.
4978 (battery-status-function): Use it. Remove yeeloong special case.
4979 (battery-yeeloong-sysfs): Remove.
4980 (battery-echo-area-format): Remove yeeloong special case.
4981
088be6fb
SM
49822012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
4983
6622e416
SM
4984 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
4985 Reported by Noah Friedman.
4986
088be6fb
SM
4987 * subr.el (read-passwd): Use read-string.
4988
b49f886e
LMI
49892012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4990
4991 * vcursor.el (vcursor-move): Increase the priority of the overlay
4992 (bug#9663).
4993
a63067fc
DD
49942012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4995
4996 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
4997 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
4998
ac3cf14a
WS
49992012-04-11 William Stevenson <yhvh2000@gmail.com>
5000
5001 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5002 define-minor-mode (bug#10760).
5003
c4fc691b 50042012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5005
4d6769e1 5006 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5007 that directories matching `grep-find-ignored-files' won't be
5008 pruned (bug#10351).
5009
af23e2e5
CY
50102012-04-11 Chong Yidong <cyd@gnu.org>
5011
5012 * startup.el (command-line): Remove support for long-obsolete
5013 variable font-lock-face-attributes.
5014
ab7ce8c1
GM
50152012-04-11 Glenn Morris <rgm@gnu.org>
5016
5017 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5018
de8c03dc
SM
50192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * window.el (window--state-get-1): Obey window-point-insertion-type.
5022
050cc68b
LB
50232012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5024
5025 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5026 to previous function when point is on the first character of a
75f1671a 5027 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5028
a38c310c
GM
50292012-04-11 Glenn Morris <rgm@gnu.org>
5030
effed0c2
GM
5031 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5032 not just file-errors.
5033
a38c310c
GM
5034 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5035 (vc-bzr-sha1): Use internal sha1.
5036
0221e323
SM
50372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5040
43956923
SG
50412012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5042
5043 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5044 that start in the middle of the line (bug#10496).
5045
6a8c9eaf
DN
50462012-04-10 Dan Nicolaescu <dann@gnu.org>
5047
5048 * battery.el (battery-linux-proc-acpi): Only one battery is
5049 discharged at a time, but that seems to confuse battery.el when
5050 computing `rate-type' for the battery not being discharged
5051 (bug#10332).
5052
1930bf5d
SM
50532012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5054
2a718f6f
SM
5055 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5056
599430d0
SM
5057 * international/quail.el: Use dolist and simplify.
5058 (quail-define-package, quail-update-keyboard-layout)
5059 (quail-define-rules): Use dolist.
5060 (quail-insert-kbd-layout, quail-get-translation): CSE.
5061
a2754b6c
SM
5062 * tmm.el: Use dolist, remove left over hook.
5063 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5064 Use dolist.
5065 (calendar-load-hook): Don't mess with it.
5066
1930bf5d
SM
5067 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5068 Use derived-mode-p. Run the diff asynchronously.
5069
9f67961c
LMI
50702012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5071
5072 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5073
2a8ce227
JB
50742012-04-10 Juanma Barranquero <lekktu@gmail.com>
5075
5076 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5077 (list-dynamic-libraries--loaded): New function.
5078 (list-dynamic-libraries--refresh): Use it.
5079
8f33b5f8
NW
50802012-04-10 Nathan Weizenbaum <nweiz@google.com>
5081
1930bf5d
SM
5082 * progmodes/python.el (python-fill-paragraph):
5083 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5084 disabled (bug#7018).
5085
b12f0439
L
50862012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5087
1930bf5d 5088 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5089 DOS/MS Windows for the Baltic languages. There are still plenty
5090 of texts written in this encoding/codepage (bug#6519).
b12f0439 5091
57c3bd01
GM
50922012-04-10 Glenn Morris <rgm@gnu.org>
5093
5094 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5095 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5096
6c3eab30
FA
50972012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5098
1930bf5d 5099 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5100 next-line "n" and previous-line "p" in order to make recentf more
5101 consistent with ibuffer, dired or org-mode (bug#9387).
5102
24d78a88
LMI
51032012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104
bc72b5d9
LMI
5105 * image.el (put-image): Return the overlay created instead of the
5106 optional input string (bug#7834). Note that this may break code
5107 that is (for some reason or other) depending on `put-image'
5108 returning the string.
5109
bd2dba5a
LMI
5110 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5111
74beb59f
LMI
5112 * simple.el (zap-to-char): Allow zapping using input methods
5113 (bug#1580).
5114
24d78a88
LMI
5115 * textmodes/fill.el (fill-region): Leave point and mark where they
5116 were before filling (bug#5399).
5117
263f20cd
GM
51182012-04-09 Glenn Morris <rgm@gnu.org>
5119
5120 * version.el (emacs-bzr-get-version):
5121 Handle lightweight checkouts of local branches.
5122
58d1f797
AS
51232012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5124
263f20cd 5125 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5126
b4d3bc10
CY
51272012-04-09 Chong Yidong <cyd@gnu.org>
5128
5129 * custom.el (custom-variable-p): Return nil for non-symbol
5130 arguments instead of signaling an error.
5131 (user-variable-p): Obsolete alias for custom-variable-p.
5132
5133 * apropos.el (apropos-variable):
5134 * files-x.el (read-file-local-variable):
5135 * simple.el (set-variable):
5136 * woman.el (woman-mini-help):
5137 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5138
fd06db5d
GM
51392012-04-09 Glenn Morris <rgm@gnu.org>
5140
e5fcdb5e
GM
5141 * startup.el (normal-top-level): Don't look for leim-list.el
5142 in places where it will not be found. (Bug#910)
5143
fd06db5d
GM
5144 * international/mule-cmds.el (set-default-coding-systems):
5145 * files.el (normal-mode):
5146 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5147 This function was removed with ucs-tables.el in 2008.
5148
b39bb7e1
EZ
51492012-04-08 Eli Zaretskii <eliz@gnu.org>
5150
5151 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5152 ispell-encoding8-command to "-i", without a trailing space.
5153 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5154 separate command-line arguments, to specify the encoding, since
5155 that's how hunspell expects it.
5156
5c5b8e23
GM
51572012-04-08 Glenn Morris <rgm@gnu.org>
5158
5159 * loadup.el: Load bindings before cus-start.
5160 This reduces somewhat the number of "rogue" settings in emacs -Q.
5161
a1ed8b05
GM
51622012-04-07 Glenn Morris <rgm@gnu.org>
5163
5164 * version.el (emacs-bzr-get-version): New function.
dfae128a 5165 (emacs-bzr-version): New variable.
a1ed8b05
GM
5166 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5167 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5168
b142f158
EZ
51692012-04-07 Eli Zaretskii <eliz@gnu.org>
5170
dfae128a
GM
5171 * international/uni-bidi.el, international/uni-category.el:
5172 * international/uni-combining.el, international/uni-decimal.el:
5173 * international/uni-decomposition.el, international/uni-digit.el:
5174 * international/uni-lowercase.el, international/uni-mirrored.el:
5175 * international/uni-name.el, international/uni-numeric.el:
5176 * international/uni-titlecase.el, international/uni-uppercase.el:
5177 Update for Unicode 6.1.
b142f158 5178
9078ead6
EZ
51792012-04-07 Eli Zaretskii <eliz@gnu.org>
5180
5181 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5182
f23d2c7d
LMI
51832012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5184
5185 * window.el (shrink-window): Mention the `window-min-height'
5186 variable in the doc string.
5187
0a0a3573
BG
51882012-04-05 Bastien Guerry <bzg@altern.org>
5189
5190 * color.el (color-lighten-name): Fix typo.
5191
e5248ac9
SM
51922012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * server.el (server--on-display-p): New function.
5195 (server--on-display-p): Use it.
5196
b4243e22
GV
51972012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5198
5199 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5200 (bug#11145).
5201
305d9f44
SM
52022012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * comint.el (comint--common-quoted-suffix): Check string boundary
5205 before comparing (bug#11158).
5206 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5207
3d439cd1
CY
52082012-04-04 Chong Yidong <cyd@gnu.org>
5209
321cc491
CY
5210 * minibuffer.el (completion-extra-properties): Doc fix.
5211
3d439cd1
CY
5212 * subr.el (delayed-warnings-hook): Doc fix.
5213
2d562c0f
DU
52142012-04-04 Daiki Ueno <ueno@unixuser.org>
5215
5216 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5217 selection (Bug#11159).
5218 (epa-insert-keys): Inform that the default public key will be
5219 exported if no key is selected.
5220
4443f204
RS
52212012-04-04 Richard Stallman <rms@gnu.org>
5222
5223 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5224
529c06b6
CY
52252012-04-03 Chong Yidong <cyd@gnu.org>
5226
5227 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5228 mail-insert-file, not its obsolete alias mail-attach-file.
5229
66b907dc
MA
52302012-04-03 Michael Albinus <michael.albinus@gmx.de>
5231
5232 * notifications.el (notifications-notify): Fix docstring.
5233
c0ea195d
GM
52342012-04-02 Glenn Morris <rgm@gnu.org>
5235
5236 * emacs-lisp/authors.el (authors-aliases): Another addition.
5237
5ca64e00
MA
52382012-04-02 Michael Albinus <michael.albinus@gmx.de>
5239
5240 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5241 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5242 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5243
42ee526b
CY
52442012-04-01 Chong Yidong <cyd@gnu.org>
5245
5246 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5247 Handle root directory properly.
5248 (copy-directory): Caller changed.
5249
5250 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5251 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5252
0b021094
GM
52532012-03-31 Glenn Morris <rgm@gnu.org>
5254
40f86458
GM
5255 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5256
7019c177
GM
5257 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5258
a1daddd6
GM
5259 * calendar/calendar.el (calendar-window-list)
5260 (calendar-hide-window): Restore. (Bug#11140)
5261 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5262
0b021094
GM
5263 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5264
40311efc
TV
52652012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5266
5267 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5268 Check if file is a symlink (Bug#10489).
5269
5270 * files.el (copy-directory): Likewise.
5271
5319014e
CY
52722012-03-30 Chong Yidong <cyd@gnu.org>
5273
5274 * image.el (imagemagick-types-inhibit)
5275 (imagemagick-register-types): Doc fix.
5276
935d1290
AM
52772012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5278
090bd7cb 5279 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5280 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5281 and treats ~word as ordinary words in pipe mode.
935d1290 5282
61c6e8fd
GM
52832012-03-30 Glenn Morris <rgm@gnu.org>
5284
5285 * tutorial.el (help-with-tutorial): Ensure local variables don't
5286 happen to make the buffer read-only. (Bug#11127)
5287
81fdff00
SM
52882012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5291 (perl-calculate-indent): Return `noindent' in strings.
5292
6e7a6ec0
SS
52932012-03-28 Sam Steingold <sds@gnu.org>
5294
5295 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5296 instead of the broken adhockery which does not prevent calendar
5297 buffers from being displayed at random after exit.
5298 (calendar-window-list, calendar-hide-window): Remove the broken
5299 adhockery.
5300
fee88ca0
GM
53012012-03-28 Glenn Morris <rgm@gnu.org>
5302
5303 * replace.el (query-replace-map): Doc fix.
5304
38de3354
AS
53052012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5306
5307 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5308 contents. (Bug#11109)
5309
b973155e
SM
53102012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5313 (bug#11077).
5314 (avl-tree--check, avl-tree--check-node): New funs.
5315
dcb6e7b3
MR
53162012-03-27 Martin Rudalics <rudalics@gmx.at>
5317
5318 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5319 (switch-to-prev-buffer, switch-to-next-buffer):
5320 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5321 showing a buffer already is done on the same frame.
5322
b4fa35fa
GM
53232012-03-27 Glenn Morris <rgm@gnu.org>
5324
5325 * startup.el (mail-host-address): Doc fix.
5326
f9210e18
SM
53272012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5330 than 197 variables.
5331
c0bf7753
AF
53322012-03-26 Ami Fischman <ami@fischman.org>
5333
5334 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5335
33da7b16
GM
53362012-03-26 Glenn Morris <rgm@gnu.org>
5337
02243d9d
GM
5338 * files.el (save-buffers-kill-emacs): Doc fix.
5339
33da7b16
GM
5340 * startup.el (normal-top-level, command-line, command-line-1):
5341 Give them doc strings.
5342
e5a69fd0
EZ
53432012-03-25 Eli Zaretskii <eliz@gnu.org>
5344
5345 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5346 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5347
9a69676a
CY
53482012-03-25 Chong Yidong <cyd@gnu.org>
5349
4125cb8b
CY
5350 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5351 theme if it was previously enabled before (Bug#11031).
5352
dd470960
CY
5353 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5354 spec with custom-face-get-current-spec if its :shown-value is not
5355 determined yet (Bug#9337).
4125cb8b 5356 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5357
9a69676a
CY
5358 * button.el (button-at): Minor addition to docstring.
5359
6e7e90fa
SL
53602012-03-24 Simon Leinen <simon.leinen@gmail.com>
5361
5362 * vc/vc.el (vc-merge): Fix a prompt.
5363
f06e2758
CY
53642012-03-24 Chong Yidong <cyd@gnu.org>
5365
5366 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5367 point (Bug#9623).
5368
6e7e90fa
SL
5369 * button.el (button-at): Minor addition to docstring.
5370
b9d0879b
SM
53712012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * newcomment.el (comment-choose-indent): No space after BOL.
5374
e71cebb3
SS
53752012-03-22 Sam Steingold <sds@gnu.org>
5376
5377 * window.el (switch-to-prev-buffer): Revert last patch because the
5378 bug turned out to be an advertised feature (Elisp manual 28.14).
5379
335aff35
GM
53802012-03-22 Glenn Morris <rgm@gnu.org>
5381
5382 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5383 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5384
c676576a
LMI
53852012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5386
5387 * net/network-stream.el (network-stream-open-starttls): Make error
5388 message under Windows be less misleading.
5389
126f3d39
LW
53902012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5391
5392 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5393 understands (bug#9942).
5394
64fee311
CY
53952012-03-22 Chong Yidong <cyd@gnu.org>
5396
5397 * simple.el (end-of-visible-line): Handle return value of
5398 next-single-property-change properly (Bug#9371).
5399
a640d29a
KH
54002012-03-22 Kenichi Handa <handa@m17n.org>
5401
5402 * international/quail.el (quail-insert-kbd-layout): Fix previous
5403 change. To avoid unwanted bidi reordering, use
5404 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5405
39675016
DG
54062012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5407
5408 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5409 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5410 (ruby-beginning-of-indent): Be more careful with the difference
5411 between word-boundary and symbol boundary.
5412 (ruby-mode-syntax-table): Make : a symbol constituent.
5413
0a6934fc 54142012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5415
3d008e4f
SM
5416 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5417
0a6934fc
SM
54182012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5419
af67c9d7
SM
5420 * progmodes/etags.el (tags-completion-at-point-function):
5421 Improve last fix.
5422
1acad97c
SM
5423 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5424
e298b5da
SS
54252012-03-21 Sam Steingold <sds@gnu.org>
5426
5427 * progmodes/etags.el (tags-completion-at-point-function):
5428 Avoid the error when point is inside the pattern.
5429
91d82a70
JY
54302012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5431
5432 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5433 line (Bug#10855).
5434
69188b79
CY
54352012-03-21 Drew Adams <drew.adams@oracle.com>
5436
5437 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5438
99fc91fe
AK
54392012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5440
5441 * ido.el (ido-set-current-directory, ido-read-internal)
5442 (ido-choose-completion-string, ido-completion-help): Handle nil
5443 value of ido-completion-buffer (Bug#11008).
5444
087bbb4c
SS
54452012-03-21 Sam Steingold <sds@gnu.org>
5446
5447 * window.el (switch-to-prev-buffer): Do not switch to a visible
5448 window previous buffer, just like with the frame previous buffers.
5449
fb5b8aca
CY
54502012-03-21 Chong Yidong <cyd@gnu.org>
5451
5452 * faces.el (make-face, make-empty-face, copy-face):
5453 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5454 Doc fixes.
5455
dc9924b8
SM
54562012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5459 (widget-complete): Remove broken use of it.
5460
f0bcceb9
CY
54612012-03-20 Chong Yidong <cyd@gnu.org>
5462
dc9924b8
SM
5463 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5464 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5465 characters.
5466
ee52ebf3
TH
54672012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5468
5469 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5470 to draw rectangles, not squares. (Regression introduced by revno
5471 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5472
4c5779ab
CY
54732012-03-18 Chong Yidong <cyd@gnu.org>
5474
5475 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5476 it is not yet defined (for temacs).
5477
15360934
LL
54782012-03-18 Leo Liu <sdl.web@gmail.com>
5479
dc9924b8 5480 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5481
d9a8eb66
EZ
54822012-03-17 Eli Zaretskii <eliz@gnu.org>
5483
5484 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5485 (ispell-choices-win-default-height, ispell-silently-savep)
5486 (ispell-dictionary-alist, ispell-encoding8-command)
5487 (ispell-check-version, ispell-aspell-find-dictionary)
5488 (ispell-valid-dictionary-list, ispell-words-keyword)
5489 (ispell-get-word, ispell-internal-change-dictionary)
5490 (ispell-region, ispell-skip-region-list)
5491 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5492 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5493 (ispell-message-text-end, ispell-message)
5494 (ispell-buffer-local-parsing): Doc fix.
5495
f02ff80d
J
54962012-03-13 Jambunathan K <kjambunathan@gmail.com>
5497
5498 * htmlfontify.el: Add support for code block fontification for ODT
5499 export (Bug #9914).
5500 (hfy-optimisations): Define new option
5501 `body-text-only'
5502 (hfy-fontify-buffer): Honor above setting.
5503 (hfy-begin-span, hfy-end-span): New routines factored out form
5504 `hfy-fontify-buffer'.
5505 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5506 that permit insertion of custom tags.
5507 (hfy-fontify-buffer): Use above handlers.
5508 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5509 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5510 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5511 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5512 bind a special variable `hfy-user-sheet-assoc'.
5513 (htmlfontify-string): New defun.
5514 (hfy-compile-face-map): Make sure that the last char in the
5515 buffer is correctly fontified.
5516 (hfy-face-resolve-face): Whitespace only change.
5517
9ac7a13f
EZ
55182012-03-17 Eli Zaretskii <eliz@gnu.org>
5519
5520 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5521 message more clear.
5522
e2b5bdd7
LL
55232012-03-16 Leo Liu <sdl.web@gmail.com>
5524
5525 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5526
2e492df3
AM
55272012-03-16 Alan Mackenzie <acm@muc.de>
5528
5529 Further optimise the handling of large macros.
5530
5531 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5532 limit to a call of `c-literal-limits'.
5533 (c-determine-+ve-limit): New function.
dc9924b8
SM
5534 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5535 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5536 In CASE 5B, restrict a search limit to 500.
5537 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5538
5539 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5540 Restrict macro bounds to +-500 from after-change's BEG END.
5541
50e94f0c
LL
55422012-03-16 Leo Liu <sdl.web@gmail.com>
5543
5544 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5545
6f09f6ed
AH
55462012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5547
5548 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5549 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5550
c7e73d51
GM
55512012-03-16 Glenn Morris <rgm@gnu.org>
5552
da986230
GM
5553 * view.el (view-buffer, view-buffer-other-window)
5554 (view-buffer-other-frame): Doc fixes re special mode-class.
5555
0835f01e
GM
5556 * subr.el (eval-after-load): If named feature is provided not from
5557 a file, run after-load forms. (Bug#10946)
5558
c7e73d51
GM
5559 * calendar/calendar.el (calendar-insert-at-column):
5560 Handle non-unit-width characters a bit better. (Bug#10978)
5561
3f2eafd1
CY
55622012-03-15 Chong Yidong <cyd@gnu.org>
5563
5564 * emacs-lisp/ring.el (ring-extend): New function.
5565 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5566
5567 * comint.el (comint-read-input-ring)
5568 (comint-add-to-input-history): Grow comint-input-ring lazily.
5569
103af3fe
SM
55702012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5571
663b1677
SM
5572 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5573 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5574
103af3fe
SM
5575 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5576 (imenu-add-to-menubar): Don't add a redundant index.
5577 (imenu-update-menubar): Handle a dynamically composed keymap.
5578
899cb7cb
KY
55792012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5580
5581 * mail/sendmail.el (mail-encode-header):
5582 Bind rfc2047-encode-encoded-words to nil.
5583
3809f91d
GM
55842012-03-13 Glenn Morris <rgm@gnu.org>
5585
5586 * calendar/calendar.el (calendar-string-spread):
5587 Handle non-unit-width characters a bit better. (Bug#10978)
5588
9e345a01
LL
55892012-03-13 Leo Liu <sdl.web@gmail.com>
5590
5591 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5592 directory and file as argument (Bug#10822).
5593
4a07df36
KS
55942012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5595
5596 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5597 For dynamically generated code, follow $PC.
5598 (gdb-disassembly-handler-custom): Handle no function name case.
5599
4aaa9356
TL
56002012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5601
5602 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5603 * emulation/ws-mode.el (ws-query-replace):
5604 * sort.el (sort-regexp-fields):
5605 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5606
225979da
SM
56072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * dabbrev.el: Fix cycle completion order (bug#10963).
5610 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5611 (dabbrev-completion): Don't use an obarray; provide
5612 a cycle-sort-function.
5613
e2f1fdab
LL
56142012-03-12 Leo Liu <sdl.web@gmail.com>
5615
dc9924b8 5616 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5617 (kill-do-not-save-duplicates): Doc fix.
5618
b19490ed
SM
56192012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5620
5621 * dabbrev.el: Fix cycle completion (bug#10963).
5622 Use lexical binding and wrap to 80 columns.
5623 (dabbrev-completion): Delay computing the list of completions.
5624
4b05d722
KH
56252012-03-12 Kenichi Handa <handa@m17n.org>
5626
5627 * international/quail.el (quail-insert-kbd-layout): Surround each
5628 row by LRO and PDF instead of inserting many LRMs. Pad the left
5629 and right of each non-spacing marks. Insert invisible space
5630 between lower and upper characters to prevent composition.
5631
dbbc2e69
SM
56322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * minibuffer.el (minibuffer-complete): Don't get confused when the
5635 function is run twice via different commands (bug#10958).
5636 (complete-with-action): Fix docstring.
5637
292112ed
CY
56382012-03-12 Chong Yidong <cyd@gnu.org>
5639
5d1ac394
CY
5640 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5641 (nxml-completion-at-point-function): New function.
5642 (nxml-mode): Use it.
5643 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5644
292112ed
CY
5645 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5646 Load generated autoloads file before byte compiling (Bug#10970).
5647 (package--make-autoloads-and-compile): New helper fun.
5648
4098f8f7
CS
56492012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5650
5651 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5652
8f754691
MA
56532012-03-11 Michael Albinus <michael.albinus@gmx.de>
5654
5655 * autorevert.el (auto-revert-handler): Ensure, that
5656 file-readable-p is applied only for local files or in
5657 auto-revert-tail-mode.
5658
e29ab36b
AS
56592012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5660
dbbc2e69
SM
5661 * server.el (server-eval-at): Handle non-tcp connections.
5662 Decode result string.
ad0bf5b6 5663
e29ab36b
AS
5664 * server.el (server-msg-size): New constant.
5665 (server-reply-print): New function.
5666 (server-eval-and-print): Use it.
5667 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5668 Handle -print-nonl.
5669
de5939ba
CS
56702012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5671
5672 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5673 (Bug#10987).
5674
0c93eabf
CY
56752012-03-11 Chong Yidong <cyd@gnu.org>
5676
397a688f
CY
5677 * simple.el (goto-line): Doc fix (Bug#9938).
5678
2cc775f9
CY
5679 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5680
0c93eabf
CY
5681 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5682 when finished (Bug#10963).
5683
c491fa41
MR
56842012-03-11 Martin Rudalics <rudalics@gmx.at>
5685
5686 * window.el (split-window-below): Fix bug in case where
5687 split-window-keep-point is nil (Bug#10971).
5688
300e8fa5
JL
56892012-03-11 Juri Linkov <juri@jurta.org>
5690
5691 * replace.el (replace-highlight): Set isearch-word to nil
5692 unconditionally. (Bug#10887)
5693
dbf6c5a1
EZ
56942012-03-10 Eli Zaretskii <eliz@gnu.org>
5695
5696 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5697 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5698 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5699 (mairix-widget-create-query): Add usage information about mairix
5700 search forms: negating words, searching for substrings, etc.
5701
b9e501de
JP
57022012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5703
5704 * international/fontset.el (font-encoding-alist): Add an entry for
5705 ksx1001 (Bug#5667).
5706
92795c91
RS
57072012-03-10 Richard Stallman <rms@gnu.org>
5708
1694e6c1
RS
5709 * mail/sendmail.el (mail-encode-header):
5710 Set rfc2047-encode-encoded-words.
5711
607e8555
RS
5712 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5713
de3bc99a
RS
5714 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5715 view buffer means not swapped.
5716 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5717 (rmail-write-region-annotate): Error if real text has disappeared.
5718
92795c91
RS
5719 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5720
699bd04e
CY
57212012-03-10 Chong Yidong <cyd@gnu.org>
5722
5723 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5724 * emulation/cua-base.el (cua--init-keymaps):
5725 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5726
570a1714
MR
57272012-03-10 Martin Rudalics <rudalics@gmx.at>
5728
dbbc2e69
SM
5729 * speedbar.el (speedbar-unhighlight-one-tag-line):
5730 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5731
82dcf4e4
CY
57322012-03-10 Chong Yidong <cyd@gnu.org>
5733
7a2c7ca7
CY
5734 * minibuffer.el (completion-in-region, completion-help-at-point):
5735 Give the completion field overlay a high priority (Bug#6830).
5736
82dcf4e4
CY
5737 * dired.el (dired-goto-file): Recognize absolute file name
5738 listings (Bug#7126).
5739 (dired-goto-file-1): New helper function.
5740 (dired-toggle-read-only): Inhibit warnings.
5741
052e28ac
MA
57422012-03-09 Michael Albinus <michael.albinus@gmx.de>
5743
75f1671a 5744 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5745 there are no properties.
5746
95d5e396
LL
57472012-03-09 Leo Liu <sdl.web@gmail.com>
5748
5749 * savehist.el (savehist-printable): Stricter check for string
5750 value (Bug#10937).
5751
3f018d6d
EZ
57522012-03-09 Eli Zaretskii <eliz@gnu.org>
5753
dbbc2e69
SM
5754 * mail/smtpmail.el (smtpmail-send-it):
5755 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5756 valid mbox format.
5757
f7fd3d79
GM
57582012-03-09 Glenn Morris <rgm@gnu.org>
5759
5760 * files.el (dir-locals-find-file):
5761 Don't check result is regular, readable.
5762 (dir-locals-read-from-file): Demote errors.
5763
6ff6e72f
EZ
57642012-03-08 Eli Zaretskii <eliz@gnu.org>
5765
dbbc2e69
SM
5766 * international/quail.el (quail-insert-kbd-layout):
5767 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5768 layout cell, to prevent their reordering by bidi display engine.
5769 For details, see the discussion in
5770 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5771
9cec7834
AM
57722012-03-08 Alan Mackenzie <acm@muc.de>
5773
5774 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5775 the starting position; make it extend the marked region when
5776 invoked repeatedly - all under appropriate circumstances.
5777 Fixes bugs #5525, #10906.
5778
9a40b8d4
GM
57792012-03-08 Glenn Morris <rgm@gnu.org>
5780
5781 * files.el (locate-dominating-file, dir-locals-find-file):
5782 Undo 2012-03-06 change.
5783
7a08ed35
EZ
57842012-03-07 Eli Zaretskii <eliz@gnu.org>
5785
dbbc2e69
SM
5786 * international/quail.el (quail-help):
5787 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5788 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5789 for the reason.
5790
5aca4f71 57912012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5792
5793 Avoid superfluous registering of signals. (Bug#10807)
5794
5795 * notifications.el (notifications-on-action-object)
5796 (notifications-on-close-object): New defvars.
5797 (notifications-on-action-signal, notifications-on-closed-signal):
5798 Unregister the signal if not needed any longer.
5799 (notifications-notify): Register `notifications-action-signal' or
5800 `notifications-closed-signal', if :on-action or :on-close has been
5801 passed as argument.
5802
78e8b10a
CY
58032012-03-07 Chong Yidong <cyd@gnu.org>
5804
5805 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5806 non-X platforms.
5807
69481eb8
GM
58082012-03-06 Glenn Morris <rgm@gnu.org>
5809
5810 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5811 (x-disown-selection-internal, x-get-selection-internal):
5812 Doc fix (add arglist signatures). (Bug#10783)
5813
133b8e11
KS
58142012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5815
5816 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5817 Handle breakpoints with no "type".
5818
99a83064
GM
58192012-03-06 Glenn Morris <rgm@gnu.org>
5820
5821 * files.el (locate-dominating-file): Add optional predicate argument.
5822 (dir-locals-find-file): Make use of above change.
5823
17798e78
TTN
58242012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5825
5826 * info.el (Info-insert-dir): Also try "dir.gz".
5827
eb182446
GM
58282012-03-06 Glenn Morris <rgm@gnu.org>
5829
8f2114ee
GM
5830 * files.el (dir-locals-find-file):
5831 Ignore non-readable or non-regular files. (Bug#10928)
5832
eb182446
GM
5833 * files.el (locate-dominating-file): Doc fix.
5834
24679323
AS
58352012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5836
5837 * calendar/calendar.el (calendar-set-mode-line):
5838 `getenv' returns a string. (Bug#10951)
5839
01d972a9
LL
58402012-03-05 Leo Liu <sdl.web@gmail.com>
5841
109aa8a9
LL
5842 * simple.el (backward-delete-char-untabify): Constrain point to
5843 field (Bug#10939).
5844
01d972a9
LL
5845 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5846
10607bea
CY
58472012-03-05 Chong Yidong <cyd@gnu.org>
5848
5849 * simple.el (count-words): If called from Lisp, return the word
5850 count, for symmetry with `count-lines'. Arglist changed.
5851 (count-words--message): Args changed. Consolidate counting code
5852 from count-words and count-words-region.
5853 (count-words-region): Caller changed.
5854 (count-lines-region): Make it an obsolete alias.
5855
5dd11cfe
TH
58562012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5857
5858 * saveplace.el (save-place-to-alist)
5859 (save-place-ignore-files-regexp): Allow value nil to disable this
5860 feature.
5861
c349f4e6
CY
58622012-03-04 Chong Yidong <cyd@gnu.org>
5863
5864 * faces.el (face-spec-reset-face): For the default face, reset the
5865 attributes to default values (Bug#10748).
5866
e627be4c
LMI
58672012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5868
5869 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5870 previous patch: Check `message-send-mail-function', and not the
5871 default function (bug#10897).
5872
ebeabff4
MA
58732012-03-04 Michael Albinus <michael.albinus@gmx.de>
5874
a41a6cf4
MA
5875 * notifications.el (notifications-on-action-signal)
5876 (notifications-on-closed-signal): Check for unique service name of
5877 incoming event. Fix error in removing entry.
ebeabff4 5878 (top): Register for signals with wildcard service name.
a41a6cf4 5879 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5880
c1ca42b4
CY
58812012-03-04 Chong Yidong <cyd@gnu.org>
5882
dc9924b8 5883 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5884
ea16568d
GM
58852012-03-04 Glenn Morris <rgm@gnu.org>
5886
5887 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5888 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5889 (expand-abbrev, define-abbrev-table): Doc fixes.
5890
fbae4637
LMI
58912012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5892
5893 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5894 `message-default-send-mail-function' and not `send-mail-function'
5895 when doing the prompting for `sendmail-query-once' before sending
5896 in Message buffers (bug#10897).
5897
a1e7225c
LMI
5898 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5899 This is inconsistent with all the other stream functions, which leave
5900 the setting up to the higher levels (if so wanted) (bug#10931).
5901
56d093a9
AM
59022012-03-02 Alan Mackenzie <acm@muc.de>
5903
5904 Depessimize the handling of very large macros.
5905
5906 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5907 (c-macro-cache-syntactic): New variables to implement a one
5908 element macro cache.
5909 (c-invalidate-macro-cache): New function.
5910 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5911 Adapt to use the new cache.
5912 (c-state-safe-place): Use better the cache of safe positions.
5913 (c-state-semi-nonlit-pos-cache)
5914 (c-state-semi-nonlit-pos-cache-limit):
5915 New variables for...
5916 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5917 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5918 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5919 Use c-state-semi-safe-place.
56d093a9 5920
dbbc2e69
SM
5921 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5922 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5923
817e5c3d
MA
59242012-03-02 Michael Albinus <michael.albinus@gmx.de>
5925
dbbc2e69
SM
5926 * jka-compr.el (jka-compr-call-process):
5927 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5928 not remote.
5929
a032a702
MA
59302012-03-01 Michael Albinus <michael.albinus@gmx.de>
5931
5932 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5933 access of FILE2, if FILE1 does not exist.
5934
99a54f21
MA
5935 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5936 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5937
5938 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5939 Add "PAGER=" to `process-environment'.
5940
f6561e1f
MM
59412012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5942
5943 * progmodes/sql.el: Bug fix
5944 (sql-get-login-ext): Save login values in globals.
5945 (sql-get-login): Use new version of `sql-get-login-ext'.
5946 (sql-interactive-mode): Set global `sql-connection' to nil.
5947 (sql-connect): Set global values for connection.
5948 (sql-product-interactive): Save global values as buffer local.
5949
2d44d9cc
LL
59502012-02-29 Leo Liu <sdl.web@gmail.com>
5951
5952 * abbrev.el (define-abbrevs): Reset sys to nil.
5953
96b49301 59542012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5955
bf7f9bc5
JB
5956 * files.el (file-equal-p): Rename from `files-equal-p'.
5957 Return nil when one or both files don't exist.
96b49301 5958 (file-subdir-of-p): Now only top directory must exists,
5959 return nil if it doesn't.
bf7f9bc5
JB
5960 (copy-directory): No need to test with `file-subdir-of-p' after
5961 creating dir.
5962 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5963 to `file-equal-p'.
96b49301 5964
44e97401
GM
59652012-02-28 Glenn Morris <rgm@gnu.org>
5966
5967 * shell.el (shell-mode):
5968 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
5969 * play/landmark.el (landmark-font-lock-face-O):
5970 * play/handwrite.el (handwrite):
5971 * play/gomoku.el (gomoku-O):
5972 * net/browse-url.el (browse-url-browser-display):
5973 * international/mule.el (define-charset):
5974 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
5975 * filesets.el (filesets-find-file-delay):
5976 * eshell/em-xtra.el (eshell-xtra):
5977 * eshell/em-unix.el (eshell-grep):
5978 * emulation/viper.el (viper-mode):
5979 * emacs-lisp/regexp-opt.el (regexp-opt-group):
5980 * emacs-lisp/easymenu.el (easy-menu-define):
5981 * calendar/timeclock.el (timeclock-use-display-time):
5982 * bs.el (bs-mode):
5983 * bookmark.el (bookmark-save-flag):
5984 Doc fix (standardize possessive apostrophe usage).
5985
c98c6276
CY
59862012-02-27 Chong Yidong <cyd@gnu.org>
5987
bf7f9bc5
JB
5988 * emulation/viper-cmd.el (viper-intercept-ESC-key):
5989 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 5990
c98c6276
CY
5991 * font-lock.el (font-lock-specified-p): Rename from
5992 font-lock-spec-present. Callers changed.
5993
9c62cd04 59942012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 5995
bf7f9bc5
JB
5996 * emacs-lisp/package.el (package-compute-transaction):
5997 Handle holding a package version to t in package-load-list.
8ac9e529 5998
530739c9
MA
59992012-02-26 Michael Albinus <michael.albinus@gmx.de>
6000
6001 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6002 (tramp-get-inode, tramp-get-device): Use cached values.
6003
487915d7
AM
60042012-02-26 Alan Mackenzie <acm@muc.de>
6005
6006 Check there is a font-lock specification before doing initial
6007 fontification.
6008
6009 * font-core.el (font-lock-mode): Move the conditional from
6010 :after-hook to font-lock-initial-fontify.
6011 (font-lock-default-function): Move the check for a specification
6012 to font-lock-spec-present.
6013
dc9924b8 6014 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6015 (font-lock-spec-present): New function.
6016
4fd96557
JB
60172012-02-26 Jim Blandy <jimb@red-bean.com>
6018
6019 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6020 (gdb-send): Apply it to the operand of the '-interpreter-exec
6021 console' command, so that we can pass arguments with (say) quotes
6022 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6023
9a4888c0
CY
60242012-02-26 Chong Yidong <cyd@gnu.org>
6025
07498861
CY
6026 * help-fns.el (describe-function-1): Clarify description of
6027 remapping (Bug#10844).
6028
9a4888c0
CY
6029 * files.el (files-equal-p): Doc fix.
6030 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6031 and quit the loop once a mismatch is found.
6032
ea8fb88d
JB
60332012-02-25 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * bs.el (bs--show-with-configuration): Don't throw an error
6036 if the window cannot be split; otherwise, subsequent calls to
6037 bs-show fail, restoring a stale window config. (Bug#10882)
6038
525795c1
JD
60392012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6040
6041 * term/ns-win.el (global-map): Bind ns-drag-file to
6042 ns-find-file (Bug#5855, Bug#10050).
6043
f008086f
AS
60442012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6045
6046 * calendar/parse-time.el (parse-time-string): Allow extractor to
6047 return nil.
6048
a3fcfa99
MA
60492012-02-25 Michael Albinus <michael.albinus@gmx.de>
6050
91027d08
JB
6051 * net/tramp.el (tramp-file-name-for-operation):
6052 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6053
6054 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6055 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6056 Add COPY-CONTENTS argument.
a3fcfa99 6057
67b0de11
CY
60582012-02-25 Chong Yidong <cyd@gnu.org>
6059
6060 Add custom groups for VC backends, for consistency with vc-bzr.
6061
6062 * vc/vc-arch.el (vc-arch):
6063 * vc/vc-cvs.el (vc-cvs):
6064 * vc/vc-git.el (vc-git):
6065 * vc/vc-hg.el (vc-hg):
6066 * vc/vc-mtn.el (vc-mtn):
6067 * vc/vc-rcs.el (vc-rcs):
6068 * vc/vc-sccs.el (vc-sccs):
6069 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6070 All relevant defcustoms reassigned.
6071
3c9dfce6
CY
60722012-02-25 Chong Yidong <cyd@gnu.org>
6073
1339bf43
CY
6074 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6075
3c9dfce6
CY
6076 * term/x-win.el (x-initialize-window-system): Reduce default for
6077 x-selection-timeout to 5 seconds (Bug#8869).
6078
25b2e303 60792012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6080
ec70a47d
GM
6081 * files.el (files-equal-p, file-subdir-of-p): New functions.
6082 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6083 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6084 * dired-aux.el (dired-copy-file-recursive): Same.
6085 (dired-create-files): Modify destination when source is equal to
6086 dest when copying files.
53a46cd0 6087 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6088
914260cd
MA
60892012-02-24 Michael Albinus <michael.albinus@gmx.de>
6090
6091 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6092 (Bug#10874)
6093
2cb228f7
AM
60942012-02-23 Alan Mackenzie <acm@muc.de>
6095
6096 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6097 parameter "after-hook:" to allow the expansion to run code after
6098 the execution of the mode hooks.
6099
6100 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6101 from font-lock-mode-internal.
2cb228f7 6102
91027d08 6103 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6104 :after-hook.
6105
8f0fde21
SM
61062012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6107
3e88618b
SM
6108 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6109 (completion--cache-all-sorted-completions): New function.
6110 (completion-all-sorted-completions): Use it.
6111 (completion--do-completion, minibuffer-force-complete):
6112 Use it to re-instate the flush hook.
6113
8f0fde21
SM
6114 * icomplete.el (icomplete-completions): Replace last fix with a better
6115 one (bug#10850).
6116
8e911f6f
DG
61172012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6118
6119 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6120 when it might call us back infinitely (bug#10797).
6121
49fe4321
GM
61222012-02-23 Glenn Morris <rgm@gnu.org>
6123
6124 * minibuffer.el (completion-category-overrides): Doc fix.
6125
b291b572
SM
61262012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6127
6128 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6129 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6130
31a9ef2e
GM
61312012-02-23 Glenn Morris <rgm@gnu.org>
6132
5e6e6794 6133 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6134 (authors-obsolete-files-regexps, authors-ignored-files)
6135 (authors-ambiguous-files, authors-renamed-files-alist):
6136 Add more entries.
6137
0bd1e074
JL
61382012-02-23 Juri Linkov <juri@jurta.org>
6139
6140 * isearch.el (isearch-occur): Sync interactive spec with occur's
6141 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6142
b617673c
JL
6143 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6144
19e9789e
JL
61452012-02-22 Juri Linkov <juri@jurta.org>
6146
6147 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6148 (ucs-insert): Doc fix. Check for hex digits in the string.
6149 Don't display `nil' in the error message. (Bug#10857)
6150
f41ce09d
AM
61512012-02-22 Alan Mackenzie <acm@muc.de>
6152
7a71b18d 6153 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6154
ac2eceee
GM
61552012-02-22 Glenn Morris <rgm@gnu.org>
6156
6157 * ffap.el (ffap-c-path):
6158 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6159
abd1f678
CY
61602012-02-22 Chong Yidong <cyd@gnu.org>
6161
6162 * custom.el (load-theme): Doc fix.
6163
f25aef2e
GM
61642012-02-22 Glenn Morris <rgm@gnu.org>
6165
6166 * dired-x.el (dired-guess-shell-alist-default):
6167 Remove escape sequences from nroff output. (Bug#172)
6168
5f8dc2ca
GM
61692012-02-21 Glenn Morris <rgm@gnu.org>
6170
6ff86ec4
GM
6171 * vc/emerge.el (emerge-defvar-local):
6172 Set `permanent-local' property rather than unused `preserved'.
6173
be3223a3 6174 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6175 (picture-mode-map): Use it. (Bug#10860)
6176 (picture-mode): Doc fix.
6177
3fe58f4f
JB
61782012-02-21 Juanma Barranquero <lekktu@gmail.com>
6179
6180 * newcomment.el (uncomment-region-default): Remove unused binding.
6181
f9a998c3
GM
61822012-02-21 Glenn Morris <rgm@gnu.org>
6183
6184 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6185 (picture-self-insert, picture-tab-chars): Doc fix.
6186 (picture-mode-map): Fix C-a, C-e.
6187
c6029348
GM
61882012-02-20 Glenn Morris <rgm@gnu.org>
6189
6190 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6191
ab1ce9d7
LL
61922012-02-20 Leo Liu <sdl.web@gmail.com>
6193
6194 * icomplete.el (icomplete-completions): Check FROM arg before
6195 passing to substring (Bug#10850).
6196
0fd40f89
CY
61972012-02-19 Chong Yidong <cyd@gnu.org>
6198
6199 * comint.el: Require ansi-color.
6200 (comint-output-filter-functions): Add ansi-color-process-output.
6201
6202 * ansi-color.el: Don't set comint-output-filter-functions; it is
6203 now in the initial value defined in comint.el.
6204 (ansi-color-apply-face-function): New variable.
6205 (ansi-color-apply-on-region): Use it.
6206 (ansi-color-apply-overlay-face): New function.
6207
6208 * shell.el (shell): No need to require ansi-color.
6209 (shell-mode): Use ansi-color-apply-face-function to highlight
6210 color escapes using font-lock-face property (Bug#10835).
6211
20af2394
CY
62122012-02-19 Chong Yidong <cyd@gnu.org>
6213
6214 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6215 mode-line formats (Bug#10839).
6216
e23a3fbe
GM
62172012-02-18 Glenn Morris <rgm@gnu.org>
6218
b474519e
GM
6219 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6220
6221 * mail/undigest.el (unforward-rmail-message): Doc fix.
6222
e23a3fbe
GM
6223 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6224
57939ff4
EZ
62252012-02-18 Eli Zaretskii <eliz@gnu.org>
6226
6227 * international/characters.el (script-list): Sync with the latest
6228 Unicode Character Database.
6229
0c23686e
AS
62302012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6231
6232 * international/titdic-cnv.el: Remove duplicate coding tag.
6233 * language/cham.el: Likewise.
6234 * language/tai-viet.el: Likewise.
6235
6818b449
GM
62362012-02-18 Glenn Morris <rgm@gnu.org>
6237
6238 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6239 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6240 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6241 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6242 * calendar/holidays.el (holiday-bahai-holidays)
6243 (calendar-holidays, list-holidays):
6244 Use utf-8 Bahá'í in doc-strings, menus, etc.
6245
0311a3fc
TH
62462012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6247
6248 * saveplace.el (save-place-ignore-files-regexp): New variable
6249 allowing for excluding files from saving their location of point.
6250 The default value matches the temporary commit message editing
6251 files from Git, SVN, Bazaar, and Mercurial.
6252 (save-place-to-alist): Use it.
6253
d209e2fb 62542012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6255 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6256
6257 * newcomment.el (uncomment-region-default): Don't leave extra space
6258 when an arg is provided (bug#8150).
6259
ee0ce425
TZ
62602012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6261
eb864a71 6262 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6263
95ddf442
GM
62642012-02-17 Glenn Morris <rgm@gnu.org>
6265
6266 * net/socks.el: Require network-stream. (Bug#10599)
6267
48dd1e39 62682012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6269
6270 * international/charprop.el:
6271 * international/uni-name.el:
6272 * international/uni-old-name.el:
6273 * international/uni-comment.el: Regenerate.
6274
d68cd087
GM
62752012-02-16 Glenn Morris <rgm@gnu.org>
6276
6277 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6278 Interactively in calendar buffer, give an error if not on a date.
6279
13932042
GM
62802012-02-15 Glenn Morris <rgm@gnu.org>
6281
6282 * shell.el (shell-delimiter-argument-list):
6283 Revert 2011-02-17 change. (Bug#8027)
6284
c3a70e2b
CY
62852012-02-15 Chong Yidong <cyd@gnu.org>
6286
60236b0d
CY
6287 * minibuffer.el (completion-at-point-functions): Doc fix.
6288
c3a70e2b
CY
6289 * custom.el (defcustom): Doc fix; note use of defvar.
6290
9f26dc24
GM
62912012-02-15 Glenn Morris <rgm@gnu.org>
6292
6293 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6294 Doc fixes.
6295
6546b134
GM
62962012-02-14 Glenn Morris <rgm@gnu.org>
6297
6298 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6299
d29b2b4c
LI
63002012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6301
6302 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6303 way the ports list is computed.
835bdcba
LI
6304 (smtpmail-query-smtp-server): Prompt the user for a port number if
6305 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6306
08dcdbc9
TZ
63072012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6308
6309 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6310
2605051a
GM
63112012-02-13 Glenn Morris <rgm@gnu.org>
6312
6313 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6314
7ee99f32
TZ
63152012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6316
6317 * net/gnutls.el (gnutls-trustfiles): New variable.
6318 (gnutls-negotiate): Use it.
6319
5f0af64f
LI
63202012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6321
6322 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6323 does its stuff if Gnus is running.
6324
c14fcc95
AM
63252012-02-13 Alan Mackenzie <acm@muc.de>
6326
6327 Fix a loop in c-set-fl-decl-start.
6328
7a71b18d 6329 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6330 c-backward-syntactic-ws actually moves backwards.
6331
142b4d90
LL
63322012-02-13 Leo Liu <sdl.web@gmail.com>
6333
6334 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6335 beginning so that all \C-o chars are removed.
6336
fa9958a6
TZ
63372012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6338
dc9924b8 6339 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6340
0bc5886a
AM
63412012-02-12 Alan Mackenzie <acm@muc.de>
6342
6343 Fix infinite loop with long macros.
4d6769e1 6344 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6345
d4bd55e7
CY
63462012-02-12 Chong Yidong <cyd@gnu.org>
6347
6348 * window.el (display-buffer): Doc fix (Bug#10785).
6349
66f3fe22
GM
63502012-02-12 Glenn Morris <rgm@gnu.org>
6351
bd7da63e
GM
6352 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6353 (x-disown-selection-internal, x-get-selection-internal):
6354 Sync docs with the xselect.c versions.
6355
66f3fe22
GM
6356 * allout-widgets.el: Add missing license notice.
6357
3e0d2fa7
GM
63582012-02-11 Glenn Morris <rgm@gnu.org>
6359
cfecdf09
GM
6360 * select.el (x-get-selection-internal, x-own-selection-internal)
6361 (x-disown-selection-internal):
6362 * x-dnd.el (x-get-selection-internal): Update declarations.
6363
6d216d7f
GM
6364 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6365
2bed3f04
GM
6366 * window.el (window-sides-slots):
6367 * tool-bar.el (tool-bar-position):
6368 * term/xterm.el (xterm-extra-capabilities):
6369 * ses.el (ses-self-reference-early-detection):
6370 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6371 (verilog-auto-wire-type)
6372 (verilog-auto-delete-trailing-whitespace)
6373 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6374 (verilog-auto-tieoff-declaration):
6375 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6376 (sql-oracle-statement-starters, sql-oracle-scan-on):
6377 * progmodes/prolog.el (prolog-align-comments-flag)
6378 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6379 (prolog-left-indent-regexp, prolog-paren-indent-p)
6380 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6381 (prolog-types, prolog-mode-specificators)
6382 (prolog-determinism-specificators, prolog-directives)
6383 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6384 (prolog-electric-dot-flag)
6385 (prolog-electric-dot-full-predicate-template)
6386 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6387 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6388 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6389 (prolog-program-switches, prolog-prompt-regexp)
6390 (prolog-debug-on-string, prolog-debug-off-string)
6391 (prolog-trace-on-string, prolog-trace-off-string)
6392 (prolog-zip-on-string, prolog-zip-off-string)
6393 (prolog-use-standard-consult-compile-method-flag)
6394 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6395 (prolog-imenu-max-lines, prolog-info-predicate-index)
6396 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6397 (prolog-char-quote-workaround):
6398 * progmodes/cc-vars.el (c-defun-tactic):
6399 * net/tramp.el (tramp-encoding-command-interactive)
6400 (tramp-local-end-of-line):
6401 * net/soap-client.el (soap-client):
6402 * net/netrc.el (netrc-file):
6403 * net/gnutls.el (gnutls):
6404 * minibuffer.el (completion-category-overrides)
6405 (completion-cycle-threshold)
6406 (completion-pcm-complete-word-inserts-delimiters):
6407 * man.el (Man-name-local-regexp):
6408 * mail/feedmail.el (feedmail-display-full-frame):
6409 * international/characters.el (glyphless-char-display-control):
6410 * eshell/em-ls.el (eshell-ls-date-format):
6411 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6412 (lisp-lambda-list-keyword-parameter-indentation)
6413 (lisp-lambda-list-keyword-parameter-alignment):
6414 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6415 * dired-x.el (dired-omit-verbose):
6416 * cus-theme.el (custom-theme-allow-multiple-selections):
6417 * calc/calc.el (calc-highlight-selections-with-faces)
6418 (calc-lu-field-reference, calc-lu-power-reference)
6419 (calc-note-threshold):
6420 * battery.el (battery-mode-line-limit):
6421 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6422 (archive-7z-update):
6423 * allout.el (allout-prefixed-keybindings)
6424 (allout-unprefixed-keybindings)
6425 (allout-inhibit-auto-fill-on-headline)
6426 (allout-flattened-numbering-abbreviation):
6427 * allout-widgets.el (allout-widgets-auto-activation)
6428 (allout-widgets-icons-dark-subdir)
6429 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6430 (allout-widgets-theme-dark-background)
6431 (allout-widgets-theme-light-background)
6432 (allout-widgets-item-image-properties-emacs)
6433 (allout-widgets-item-image-properties-xemacs)
6434 (allout-widgets-run-unit-tests-on-load)
6435 (allout-widgets-time-decoration-activity)
6436 (allout-widgets-hook-error-post-time)
6437 (allout-widgets-track-decoration):
6438 Add missing :version tags to new defcustoms and defgroups.
6439
5fec1b8e
GM
6440 * progmodes/sql.el (sql-ansi-statement-starters)
6441 (sql-oracle-statement-starters): Add custom type.
6442
3e0d2fa7
GM
6443 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6444 (prolog-system-version): Give it a type.
6445
90b671e2
EZ
64462012-02-11 Eli Zaretskii <eliz@gnu.org>
6447
6448 * term/pc-win.el (x-select-text, x-selection-owner-p)
6449 (x-own-selection-internal, x-disown-selection-internal)
6450 (x-get-selection-internal): Sync doc strings and argument lists
6451 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6452
5eac0c02
LL
64532012-02-11 Leo Liu <sdl.web@gmail.com>
6454
6455 * progmodes/python.el (python-end-of-statement): Fix infinite
6456 loop. (Bug#10788)
6457
f82cb659
GM
64582012-02-10 Glenn Morris <rgm@gnu.org>
6459
6460 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6461 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6462
cc26d239
LI
64632012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6464
6465 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6466 about SMTP before checking the From header.
6467
91027d08 6468 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6469 into own function for reuse by emacsbug.el.
6470
1be3ca5a
LL
64712012-02-10 Leo Liu <sdl.web@gmail.com>
6472
6473 * subr.el (condition-case-unless-debug): Rename from
6474 condition-case-no-debug. All callers changed.
6475 (with-demoted-errors): Fix caller.
6476
6477 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6478 * nxml/rng-valid.el (rng-do-some-validation):
6479 * emacs-lisp/package.el (package-refresh-contents)
6480 (package-menu-execute):
6481 * desktop.el (desktop-create-buffer):
91027d08 6482 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6483
b011fbfe
GM
64842012-02-10 Glenn Morris <rgm@gnu.org>
6485
b2096d72
GM
6486 * textmodes/bibtex.el:
6487 Add missing :version tags for new/changed defcustoms.
6488
b011fbfe
GM
6489 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6490
4c7e65bf
LI
64912012-02-09 Lars Ingebrigtsen <larsi@rusty>
6492
6493 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6494 (smtpmail-via-smtp): Use it, or fall back on the From address.
6495 (smtpmail-send-it): Ditto.
6496
f3934f6f
SM
64972012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6500 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6501 (byte-compile-tmp-var): New const.
6502 (byte-compile-defvar): Use it to minimize .elc size.
6503 Just use `defvar' rather than simulate it (bug#10761).
6504
a075a2c5
GM
65052012-02-09 Glenn Morris <rgm@gnu.org>
6506
cf3aa21b
GM
6507 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6508
354998cd
GM
6509 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6510 Add :version tags.
6511
dc9924b8
SM
6512 * progmodes/compile.el (compilation-error-screen-columns)
6513 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6514
dab3703d
GM
6515 * vc/log-view.el (log-view-toggle-entry-display):
6516 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6517
3f88cd72
GM
6518 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6519 (report-emacs-bug-can-use-xdg-email):
6520 (report-emacs-bug-insert-to-mailer): Doc fixes.
6521 (report-emacs-bug): Message fix.
6522
d95b247d
GM
6523 * net/browse-url.el (browse-url-can-use-xdg-open)
6524 (browse-url-xdg-open): Doc fixes.
6525
a075a2c5
GM
6526 * electric.el (electric-indent-mode, electric-pair-mode)
6527 (electric-layout-rules, electric-layout-mode): Doc fixes.
6528 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6529
ffb6157e
MR
65302012-02-08 Martin Rudalics <rudalics@gmx.at>
6531
6532 * server.el (server-unselect-display): Don't inadvertently kill
6533 the current buffer. (Bug#10729)
6534
e1ac4066
GM
65352012-02-08 Glenn Morris <rgm@gnu.org>
6536
34e8a2da
GM
6537 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6538 (sql-list-table): Doc fixes.
6539
b4ac6e8c
GM
6540 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6541 Comment out (does nothing).
6542
e1ac4066
GM
6543 * completion.el (dynamic-completion-mode):
6544 * dirtrack.el (dirtrack-debug-mode):
6545 * electric.el (electric-layout-mode):
6546 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6547 * face-remap.el (text-scale-mode, buffer-face-mode):
6548 * iimage.el (iimage-mode):
6549 * image-mode.el (image-transform-mode):
6550 * minibuffer.el (completion-in-region-mode):
6551 * scroll-lock.el (scroll-lock-mode):
6552 * simple.el (next-error-follow-minor-mode):
6553 * tar-mode.el (tar-subfile-mode):
6554 * tooltip.el (tooltip-mode):
6555 * vcursor.el (vcursor-use-vcursor-map):
6556 * wid-browse.el (widget-minor-mode):
6557 * emulation/tpu-edt.el (tpu-edt-mode):
6558 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6559 * international/iso-ascii.el (iso-ascii-mode):
6560 * language/thai-util.el (thai-word-mode):
6561 * mail/supercite.el (sc-minor-mode):
6562 * net/goto-addr.el (goto-address-mode):
6563 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6564 * progmodes/cwarn.el (cwarn-mode):
6565 * progmodes/flymake.el (flymake-mode):
6566 * progmodes/glasses.el (glasses-mode):
6567 * progmodes/hideshow.el (hs-minor-mode):
6568 * progmodes/pascal.el (pascal-outline-mode):
6569 * textmodes/enriched.el (enriched-mode):
6570 * vc/smerge-mode.el (smerge-mode):
6571 Doc fixes (minor mode argument).
6572
5e0d957f
EZ
65732012-02-07 Eli Zaretskii <eliz@gnu.org>
6574
6575 * ls-lisp.el (ls-lisp-sanitize): New function.
6576 (ls-lisp-insert-directory): Use it to fix or remove any elements
6577 in file-alist with missing attributes. (Bug#4673)
6578
98d7371e
AM
65792012-02-07 Alan Mackenzie <acm@muc.de>
6580
6581 Fix spurious recognition of c-in-knr-argdecl.
6582
6583 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6584 putative K&R region.
6585
667ced3a
AM
65862012-02-07 Alan Mackenzie <acm@muc.de>
6587
eb864a71
LM
6588 * progmodes/cc-engine.el (c-forward-objc-directive):
6589 Prevent looping in "#pragma mark @implementation".
667ced3a 6590
5b77774d
MA
65912012-02-07 Michael Albinus <michael.albinus@gmx.de>
6592
6593 * notifications.el (notifications-on-closed-signal): Make `reason'
6594 optional. (Bug#10744)
6595
af008560
GM
65962012-02-07 Glenn Morris <rgm@gnu.org>
6597
60d47423
GM
6598 * emacs-lisp/easy-mmode.el (define-minor-mode):
6599 Doc fixes for the macro and the mode it defines.
6600
dd605cc4
GM
6601 * image.el (imagemagick-types-inhibit): Doc fix.
6602
af008560
GM
6603 * cus-start.el (imagemagick-render-type): Add it.
6604
5cc59a37
LI
66052012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6606
4d6769e1
JB
6607 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6608 Set the default at load time, too, so that `font-lock-fontify-buffer'
6609 can be called without setting up the entire mode first. This fixes
6610 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6611
9a6dd747
CY
66122012-02-06 Chong Yidong <cyd@gnu.org>
6613
2d16b285
CY
6614 * simple.el (list-processes--refresh): Delete exited processes
6615 (Bug#8094).
6616
171e9b6e
CY
6617 * comint.el (comint-next-prompt): next-single-char-property-change
6618 and prev-single-char-property-change never return nil (Bug#8657).
6619
9a6dd747
CY
6620 * custom.el (defcustom): Doc fix (Bug#9711).
6621
aa4589a7
CY
66222012-02-05 Chong Yidong <cyd@gnu.org>
6623
5c2a252f
CY
6624 * cus-edit.el (custom-variable-reset-backup): Quote the value
6625 before storing it in the customized-value property (Bug#6712).
4aab9006 6626 (custom-display): Add a customization type tag.
983b9602 6627 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6628
aa4589a7
CY
6629 * wid-edit.el (widget-field-value-get): New optional arg to
6630 suppress trailing whitespace truncation.
6631 (character): Use it (Bug#2689).
6632
1ff980ae
AS
66332012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6634
6635 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6636 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6637
03988c98
CY
66382012-02-05 Chong Yidong <cyd@gnu.org>
6639
eeb6cc88
CY
6640 * cus-edit.el (custom-variable-value-create): For mismatched
6641 types, show the current value (Bug#7600).
6642
03988c98
CY
6643 * custom.el (defcustom): Doc fix.
6644
f8cdeef0
GM
66452012-02-05 Glenn Morris <rgm@gnu.org>
6646
6647 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6648
0696d255
JB
66492012-02-05 Juanma Barranquero <lekktu@gmail.com>
6650
6651 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6652 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6653 (pp-last-sexp): Use `looking-at-p'.
6654
34c99998
GM
66552012-02-04 Glenn Morris <rgm@gnu.org>
6656
8f05da42
GM
6657 * files.el (revert-buffer):
6658 Doc fix (mention revert-buffer-in-progress-p).
6659
f160676e
GM
6660 * emacs-lisp/ert-x.el (ert-simulate-command):
6661 Check deferred-action-list (which is obsolete) is bound.
6662
c7291ad9
GM
6663 * subr.el (with-wrapper-hook): Doc fixes.
6664
34c99998
GM
6665 * simple.el (filter-buffer-substring-functions)
6666 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6667
6283a7d3
LL
66682012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6669
6670 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6671 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6672
e96e3013
LL
66732012-02-04 Leo Liu <sdl.web@gmail.com>
6674
6675 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6676
8ded50f2
GM
66772012-02-04 Glenn Morris <rgm@gnu.org>
6678
82ff1d13
GM
6679 * image.el (image-extension-data): Add obsolete alias.
6680
987a0a16
GM
6681 * isearch.el (isearch-update): Doc fix.
6682
ea32ef46
GM
6683 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6684
8ded50f2
GM
6685 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6686
eea14f31
GM
66872012-02-03 Glenn Morris <rgm@gnu.org>
6688
6689 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6690 (image-animate-timeout): Doc fix.
6691
6692 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6693
12f381b7
GM
66942012-02-02 Glenn Morris <rgm@gnu.org>
6695
953cebf5
GM
6696 * server.el (server-auth-dir): Doc fix.
6697 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6698
12f381b7
GM
6699 * subr.el (run-mode-hooks): Doc fix.
6700
953a8c3b
JL
67012012-02-02 Juri Linkov <juri@jurta.org>
6702
6703 * image-mode.el (image-toggle-display-image): Remove tautological
6704 `major-mode' from the `derived-mode-p' test.
6705
c5d3843c
KH
67062012-02-02 Kenichi Handa <handa@m17n.org>
6707
9f6e692e 6708 * composite.el (compose-region): Cancel previous change.
c5d3843c 6709
159462d4 67102012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6711
6712 * composite.el (compose-region, compose-string): Signal error for
6713 a null string component (Bug#6988).
6714
9f562668
CY
67152012-02-01 Chong Yidong <cyd@gnu.org>
6716
e2cef717
CY
6717 * view.el (view-buffer-other-window, view-buffer-other-frame):
6718 Handle special modes like view-buffer (Bug#10650).
6719 (view-buffer): Simplify.
6720
9f562668
CY
6721 * frame.el (set-frame-font): Tweak meaning of third argument.
6722
9f6e692e
JB
6723 * dynamic-setting.el (font-setting-change-default-font):
6724 Use set-frame-font (Bug#9982).
9f562668 6725
781acb9f
GM
67262012-02-01 Glenn Morris <rgm@gnu.org>
6727
6035be52
GM
6728 * progmodes/compile.el (compilation-internal-error-properties):
6729 Respect compilation-first-column in the "*compilation*" buffer.
6730
781acb9f
GM
6731 * emacs-lisp/easy-mmode.el (define-minor-mode):
6732 Relax :variable's test for a named function.
6733
abbceb00
AM
67342012-01-31 Alan Mackenzie <acm@muc.de>
6735
6736 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6737 off by one error.
6738
fce3fdeb
CY
67392012-01-31 Chong Yidong <cyd@gnu.org>
6740
6741 * frame.el (set-frame-font): New arg ALL-FRAMES.
6742
6743 * menu-bar.el (menu-set-font): Use set-frame-font.
6744
6745 * faces.el (face-spec-reset-face): Don't apply unspecified
6746 attribute values to the default face.
6747
47893581
JB
67482012-01-31 Juanma Barranquero <lekktu@gmail.com>
6749
6750 * progmodes/cwarn.el (cwarn): Remove dead link.
6751 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6752 Remove * from defcustom docstrings.
6753 (turn-on-cwarn-mode): Make obsolete.
6754 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6755 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6756
e58e988a
GM
67572012-01-31 Glenn Morris <rgm@gnu.org>
6758
60dc2671 6759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6760 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6761 Allow named functions to be used as the cdr of :variable.
e58e988a 6762
7a3f511d
GM
67632012-01-30 Glenn Morris <rgm@gnu.org>
6764
6765 * emacs-lisp/authors.el (authors-fixed-entries):
6766 Remove reference to deleted file rnewspost.el.
6767
cb882333
JB
67682012-01-29 Juanma Barranquero <lekktu@gmail.com>
6769
6770 * window.el (window-with-parameter): Remove unused variable `windows'.
6771 (window--side-check): Remove unused variable `code'.
6772 (window--resize-siblings): Remove unused variable `first'.
6773 (adjust-window-trailing-edge): Remove unused variable `failed'.
6774 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6775 Use `let', not `let*'.
6776 (balance-windows-2): Remove unused variable `found'.
6777 (window--state-put-2): Remove unused variable `splits'.
6778 (window-state-put): Remove unused variable `selected'.
6779 (same-window-p): Use `string-match-p'.
6780 (display-buffer-assq-regexp): Remove unused variable `value'.
6781 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6782 Mark argument ALIST as ignored.
6783 (pop-to-buffer): Remove unused variable `old-window'.
6784
907201af
EZ
67852012-01-29 Eli Zaretskii <eliz@gnu.org>
6786
6787 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6788 and .lzma compressed files.
6789
ea162670
CY
67902012-01-29 Chong Yidong <cyd@gnu.org>
6791
5b95ee8a
CY
6792 * frame.el (window-system-default-frame-alist): Doc fix.
6793
ea162670
CY
6794 * dynamic-setting.el (font-setting-change-default-font): Don't
6795 change the default face if SET-FONT argument is non-nil (Bug#9982).
6796
d6e6f4b1
SB
67972012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6798
6799 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6800
0f29fa41 68012012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6802
6803 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6804 breakpoints in files outside current directory (Bug#6098).
6805
db174434
CY
68062012-01-29 Chong Yidong <cyd@gnu.org>
6807
6b25e4e2
SE
6808 * progmodes/python.el: Require ansi-color at top-level.
6809
6df6ae42
JB
6810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6811 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6812 (lisp-mode-abbrev-table): Add doc.
6813 (lisp-mode-variables): Don't set local-abbrev-table.
6814 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6815
e70ee681
RW
68162012-01-28 Roland Winkler <winkler@gnu.org>
6817
6818 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6819
ace88aa2
RW
68202012-01-28 Roland Winkler <winkler@gnu.org>
6821
6822 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6823 (bibtex-set-dialect): Use it. Either set global values of
6824 dialect-dependent variables or bind these variables buffer-locally
6825 (Bug#10254).
6826 (bibtex-mode): Call bibtex-set-dialect via
6827 hack-local-variables-hook.
eb864a71
LM
6828 (bibtex-dialect): Update docstring.
6829 Add safe-local-variable predicate.
ace88aa2
RW
6830 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6831 bibtex-set-dialect.
6832 (bibtex-mode-map): Define menu for each dialect.
6833 (bibtex-entry): Fix docstring.
6834
93376c5b
CY
68352012-01-28 Chong Yidong <cyd@gnu.org>
6836
6837 * eshell/esh-arg.el (eshell-quote-argument): New function.
6838
6839 * eshell/esh-ext.el (eshell-invoke-batch-file):
6840 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6841 first arg to eshell-parse-command (Bug#10523).
6842
4372494f
DA
68432012-01-28 Drew Adams <drew.adams@oracle.com>
6844
6845 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6846 `default-directory' is non-nil.
6847
4d4ec1f8
EZ
68482012-01-28 Eli Zaretskii <eliz@gnu.org>
6849
6850 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6851 line that displays system-configuration-options. (Bug#9924)
6852
7c188927
DA
68532012-01-28 Drew Adams <drew.adams@oracle.com>
6854
6855 * descr-text.el (describe-char): Show information about POS, in
6856 addition to information about the character at POS. Improve and
6857 update the doc string. Change "code point" to "code point in
6858 charset", to avoid confusion with the character's Unicode code
6859 point shown above that. (Bug#10129)
6860
e0da685a
EZ
68612012-01-28 Eli Zaretskii <eliz@gnu.org>
6862
6863 * descr-text.el (describe-char): Show the raw character, not only
6864 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6865 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6866 for the reasons.
6867
70550acf
PH
68682012-01-28 Phil Hagelberg <phil@hagelb.org>
6869
eb864a71
LM
6870 * emacs-lisp/package.el (package-install):
6871 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6872
0ce8e868
CY
68732012-01-28 Chong Yidong <cyd@gnu.org>
6874
cb882333
JB
6875 * emacs-lisp/package.el (package-maybe-load-descriptor):
6876 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6877 (package-maybe-load-descriptor): Use it.
6878 (package-download-transaction): Fully load required packages
6879 inside the loop, so that `require' calls work (Bug#10593).
6880 (package-install): No need to call package-initialize now.
6881
2e7f3bea
CY
68822012-01-28 Chong Yidong <cyd@gnu.org>
6883
6e9bad14
CY
6884 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6885
f823b8ca
CY
6886 * tooltip.el (tooltip-mode): Doc fix.
6887 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6888
2680c309
CY
6889 * frame.el (set-cursor-color): Doc fix (Bug#352).
6890
d7a9e63b
CY
6891 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6892 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6893
2e7f3bea
CY
6894 * cus-edit.el (custom-buffer-create-internal): Fix search button
6895 action (Bug#10542).
2ae01800 6896 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6897
fc4f7a23
EW
68982012-01-27 Eduard Wiebe <usenet@pusto.de>
6899
6900 * dired.el (dired-mark-files-regexp):
6901 Include any subdirectory components. (Bug#10445)
6902
7dd37071
ML
69032012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6904
6905 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6906 Handle [host]:port syntax. (Bug#10533)
6907
a268160b
AH
69082012-01-27 Alex Harsanyi <harsanyi@mac.com>
6909
6910 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6911
e43273ef
GM
69122012-01-26 Glenn Morris <rgm@gnu.org>
6913
6914 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6915 * term.el (term-raw-escape-map): Use Control-X-prefix.
6916 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6917
1edf595d
MR
69182012-01-25 Martin Rudalics <rudalics@gmx.at>
6919
6920 * window.el (window-state-get, window--state-get-1): Don't deal
6921 with fixed-sizeness of windows. Simplify code.
6922
fa8eafef
JC
69232012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6924
6df6ae42
JB
6925 * window.el (window--state-get-1, window--state-put-2):
6926 Don't save and restore the mark.
fa8eafef 6927
0b21c100
CY
69282012-01-25 Chong Yidong <cyd@gnu.org>
6929
6930 * custom.el (custom-variable-p): Doc fix.
6931
5ae1a6c8
GM
69322012-01-25 Glenn Morris <rgm@gnu.org>
6933
40047858
GM
6934 * dired.el (dired-goto-file): Handle some of the more common
6935 characters that `ls -b' escapes. (Bug#10596)
6936
5ddce96c
GM
6937 * progmodes/compile.el (compilation-next-error-function):
6938 Respect compilation-first-column in the "*compilation*" buffer.
6939 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6940
5ae1a6c8
GM
6941 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6942
b559f1a9
GM
69432012-01-24 Glenn Morris <rgm@gnu.org>
6944
6945 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6946
6725d21a
JD
69472012-01-24 Julien Danjou <julien@danjou.info>
6948
6949 * color.el (color-rgb-to-hsl): Fix value computing.
6950 (color-hue-to-rgb): New function.
6951 (color-hsl-to-rgb): New function.
6952 (color-clamp, color-saturate-hsl, color-saturate-name)
6953 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6954 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6955
70df4bbe
GM
69562012-01-24 Glenn Morris <rgm@gnu.org>
6957
6958 * vc/vc-rcs.el (vc-rcs-create-tag):
6959 * vc/vc-sccs.el (vc-sccs-create-tag):
6960 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6961
802a2ae2
ML
69622012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6963
6964 * eshell/esh-util.el (eshell-read-hosts-file):
6965 Skip comment lines. (Bug#10549)
6966
d7128bb1
ML
6967 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
6968
d1a5c3b4
JB
69692012-01-23 Juanma Barranquero <lekktu@gmail.com>
6970
2724d9c7
JB
6971 * subr.el (display-delayed-warnings): Doc fix.
6972 (collapse-delayed-warnings): New function to collapse identical
6973 adjacent warnings.
6974 (delayed-warnings-hook): Add it.
d1a5c3b4 6975
a5509865
MA
69762012-01-22 Michael Albinus <michael.albinus@gmx.de>
6977
6978 * net/tramp.el (tramp-action-login): Set connection property "login-as".
6979
a5509865
MA
6980 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
6981 (tramp-default-user-alist): Don't add "pscp".
6982 (tramp-do-copy-or-rename-file-out-of-band): Use connection
6983 property "login-as", if set. (Bug#10530)
6984
cc6d5805
MA
69852012-01-21 Michael Albinus <michael.albinus@gmx.de>
6986
6987 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
6988 "plink1" and "psftp". (Bug#10530)
6989
69902012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
6991
6992 * international/mule-cmds.el (prefer-coding-system): Show a
6993 warning message if the default value of file-name-coding-system
6994 was not changed.
6995
f0960428
JC
69962012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6997
cb882333
JB
6998 * windmove.el (windmove-reference-loc):
6999 Fix windmove-reference-loc miscalculation.
f0960428 7000
dd6f2a63
JB
70012012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7002
7003 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7004 default unit.
7005
7b447e9b
GM
70062012-01-21 Glenn Morris <rgm@gnu.org>
7007
117a9ea1
GM
7008 * international/mule.el (auto-coding-alist): Add .tbz.
7009
7b447e9b
GM
7010 * files.el (local-enable-local-variables): Doc fix.
7011 (inhibit-local-variables-regexps): Rename from
7012 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7013 Doc fix. Add some extensions from auto-coding-alist.
7014 (inhibit-local-variables-suffixes):
7015 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7016 (inhibit-local-variables-p):
7017 New function, extracted from set-auto-mode-1.
7018 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7019 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7020 (hack-local-variables): Doc fix. Make the mode-only case
7021 respect enable-local-variables and friends.
7022 Respect inhibit-local-variables-regexps for file-locals, but
7023 not for directory-locals.
7024 (set-visited-file-name):
7025 Take account of inhibit-local-variables-regexps.
7026 Whether it applies may change as the file name is changed.
7027 * jka-cmpr-hook.el (jka-compr-install):
7028 * jka-compr.el (jka-compr-uninstall):
7029 Update for inhibit-first-line-modes-suffixes name change.
7030
dd6e3cdd
MR
70312012-01-20 Martin Rudalics <rudalics@gmx.at>
7032
7033 * help-macro.el (make-help-screen): Temporarily restore original
7034 binding for minor-mode-map-alist (Bug#10454).
7035
0d0deb38
JD
70362012-01-19 Julien Danjou <julien@danjou.info>
7037
7038 * color.el (color-name-to-rgb): Use the white color to find the max
7039 color component value and return correctly computed values.
7040 (color-name-to-rgb): Add missing float conversion for max value.
7041
34a02f46
MR
70422012-01-19 Martin Rudalics <rudalics@gmx.at>
7043
7044 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7045 special state value for window-persistent-parameters.
7046 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7047 (window--state-put-2): Reset all window parameters to nil before
7048 assigning values of persistent parameters.
7049
606c44c4
AM
70502012-01-18 Alan Mackenzie <acm@muc.de>
7051
7052 Eliminate sluggishness and hangs in fontification of "semicolon
7053 deserts".
7054
cb882333
JB
7055 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7056 Change value 10000 -> 3000.
606c44c4
AM
7057 (c-state-safe-place): Reformulate so it doesn't stack up an
7058 infinite number of wrong entries in c-state-nonlit-pos-cache.
7059 (c-determine-limit-get-base, c-determine-limit): New functions to
7060 determine backward search limits disregarding literals.
7061 (c-find-decl-spots): Amend commenting.
7062 (c-cheap-inside-bracelist-p): New function which detects "={".
7063
7064 * progmodes/cc-fonts.el
7065 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7066 backward search.
7067 (c-font-lock-declarations): Fix an occurrence of point being
7068 undefined. Check additionally for point being in a bracelist or
7069 near a macro invocation without a semicolon so as to avoid a
7070 fruitless time consuming search for a declarator. Give a more
7071 precise search limit for declarators using the new
7072 c-determine-limit.
7073
f3860cea
GM
70742012-01-18 Glenn Morris <rgm@gnu.org>
7075
7076 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7077 (set-auto-mode): Doc fixes.
7078
1db03b16
GM
70792012-01-17 Glenn Morris <rgm@gnu.org>
7080
0e6038be
GM
7081 * isearch.el (search-nonincremental-instead): Fix doc typo.
7082
1db03b16
GM
7083 * dired.el (dired-insert-directory): Handle newlines in directory name.
7084 (dired-build-subdir-alist): Unescape newlines in directory name.
7085
4cb0aa75
MA
70862012-01-17 Michael Albinus <michael.albinus@gmx.de>
7087
7088 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7089 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7090 (tramp-action-terminal): Use it. (Bug#10530)
7091
1d00653d
SM
70922012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7095
6a6ee00d
MR
70962012-01-16 Martin Rudalics <rudalics@gmx.at>
7097
7098 * window.el (window-state-ignored-parameters): Remove variable.
7099 (window--state-get-1): Rename argument MARKERS to IGNORE.
7100 Handle persistent window parameters. Make copy of clone-of
7101 parameter only if requested. (Bug#10348)
7102 (window--state-put-2): Install a window parameter only if it has
7103 a non-nil value or an existing parameter shall be overwritten.
7104
97912def
MA
71052012-01-15 Michael Albinus <michael.albinus@gmx.de>
7106
7107 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7108
688070a5
EZ
71092012-01-14 Eli Zaretskii <eliz@gnu.org>
7110
7111 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7112 don't pass the (nil) value of `upnode' to string-match.
7113
301afadc
CY
71142012-01-14 Chong Yidong <cyd@gnu.org>
7115
7116 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7117 Fix values recognized by the cursorBlink resource.
301afadc 7118
9e5788aa
PE
71192012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7120
7121 * epg.el (epg--make-temp-file): Avoid permission race condition
7122 when running on old Emacs versions (bug#10403).
7123
3cdb7f5a
GM
71242012-01-14 Glenn Morris <rgm@gnu.org>
7125
7126 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7127
8c82b1b4
AM
71282012-01-13 Alan Mackenzie <acm@muc.de>
7129
7130 Fix filling for when filladapt mode is enabled.
7131
7132 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7133 c-mask-paragraph, pass in `fill-paragraph' rather than
7134 `fill-region-as-paragraph'. (This is a reversion of a previous
7135 change.)
eb864a71
LM
7136 * progmodes/cc-mode.el (c-basic-common-init):
7137 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7138
e517eda4
GM
71392012-01-13 Glenn Morris <rgm@gnu.org>
7140
1498536e
GM
7141 * dired.el (dired-switches-escape-p): New function.
7142 (dired-insert-directory): Use dired-switches-escape-p.
7143 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7144
e517eda4
GM
7145 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7146
328f984d
GM
71472012-01-12 Glenn Morris <rgm@gnu.org>
7148
7149 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7150 changes in adaptive-fill-regexp. (Bug#10276)
7151
2cc769a8
AM
71522012-01-11 Alan Mackenzie <acm@muc.de>
7153
7154 Fix Emacs bug #10463 - put `widen's around the critical spots.
7155
1d00653d 7156 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7157 widen around each invocation of c-state-pp-to-literal. Remove an
7158 unused let variable.
7159
e52c37fa
GM
71602012-01-11 Glenn Morris <rgm@gnu.org>
7161
7162 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7163 Doc fix.
e52c37fa 7164
96f8741e
CY
71652012-01-10 Chong Yidong <cyd@gnu.org>
7166
1d00653d
SM
7167 * net/network-stream.el (network-stream-open-starttls):
7168 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7169 response to the capability command.
7170
b09a806e
GM
71712012-01-10 Glenn Morris <rgm@gnu.org>
7172
7173 * mail/unrmail.el (unrmail): Tweak previous change.
7174
7655cb66
CY
71752012-01-09 Chong Yidong <cyd@gnu.org>
7176
7177 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7178
9d5a8f0b
AM
71792012-01-08 Alan Mackenzie <acm@muc.de>
7180
7181 Optimise font locking in long enum definitions.
7182
7183 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7184 arm to a cond form to handle enums.
7185 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7186 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7187
9a0115ab 71882012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7189
7190 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7191 (Bug#10401)
6bb72cbd 7192
f186bb95
LMI
71932012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7194
29232a68
LMI
7195 * faces.el (set-face-attribute): Clarify the meaning of the nil
7196 frame (bug#10294).
7197
4e5d086d
LMI
7198 * subr.el (with-selected-frame): Mention that the selected frame
7199 is restored (bug#9980).
7200
8e66aebe
LMI
7201 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7202 (bug#9759).
7203
cd394be1 7204 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7205 (password-read): Don't autoload unused function.
7206
adf4e762
JB
72072012-01-07 Juanma Barranquero <lekktu@gmail.com>
7208
7209 * progmodes/which-func.el (which-func-mode): Turn into a
7210 non-interactive function and mark as obsolete (bug#10428).
7211
89bd9ccd
CY
72122012-01-06 Chong Yidong <cyd@gnu.org>
7213
7214 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7215 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7216 functions, along with 1 and -1.
7217
4afee9d5
EZ
72182012-01-06 Eli Zaretskii <eliz@gnu.org>
7219
7220 * time.el (display-time-load-average)
7221 (display-time-default-load-average): Doc fixes. See the thread
7222 starting at
7223 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7224 for the details.
7225
536aea70
GM
72262012-01-06 Glenn Morris <rgm@gnu.org>
7227
665ae865
GM
7228 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7229 has no messages. (Bug#10377)
7230
c869783d
GM
7231 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7232 than Info-edit. (Bug#10385)
7233
2bb4227e
GM
7234 * time.el (display-time-load-average, display-time-next-load-average):
7235 Doc fixes.
7236
7d5944b9
GM
7237 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7238 local setting of buffer-read-only to the input buffer. (Bug#10419)
7239
536aea70
GM
7240 * calendar/calendar.el (calendar-mode):
7241 Locally set scroll-margin to 0. (Bug#10379)
7242
7dccca16
UM
72432012-01-06 Ulrich Mueller <ulm@gentoo.org>
7244
7245 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7246
afbb7930
GM
72472012-01-05 Glenn Morris <rgm@gnu.org>
7248
7249 * eshell/em-unix.el (diff-no-select): Autoload it.
7250 (eshell/diff): Use diff-no-select. (Bug#10420)
7251
04482335
CY
72522012-01-05 Chong Yidong <cyd@gnu.org>
7253
7baca3bc
CY
7254 * shell.el (shell-dynamic-complete-functions): Revert last change.
7255 (shell-command-completion-function): New function.
7256 (shell-completion-vars): Use it to implement
7257 shell-completion-execonly (Bug#10417).
7258
04482335
CY
7259 * custom.el (enable-theme): Don't set custom-safe-themes.
7260
1d00653d
SM
7261 * cus-theme.el (custom-theme-merge-theme):
7262 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7263
bb5aa5d6
MM
72642012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7265
7266 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7267 first prompt in `sql-interacive-mode'.
7268 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7269 keywords.
6df6ae42 7270 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7271 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7272 context of original buffer. Invoke `sql-login-hook'.
7273
a7183d7c
EZ
72742012-01-04 Eli Zaretskii <eliz@gnu.org>
7275
7276 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7277 letters in cite-prefix.
7278
a1eacd1e
LMI
72792012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
7281 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7282
787cdb34
CY
72832012-01-03 Chong Yidong <cyd@gnu.org>
7284
1d00653d
SM
7285 * shell.el (shell-dynamic-complete-functions):
7286 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7287 comint-filename-completion first (Bug#10417).
7288
30710442
RS
72892012-01-02 Richard Stallman <rms@gnu.org>
7290
7291 * battery.el (battery-status-function):
7292 Detect when to use battery-yeeloong-sysfs.
7293 (battery-echo-area-format): Add string for Yeeloong.
7294 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7295 (battery-yeeloong-sysfs): New function.
7296
f75bfc33
CY
72972012-01-02 Chong Yidong <cyd@gnu.org>
7298
7299 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7300 (dirtrack): Merge code for handling relative filenames in prompt
7301 from shell-dir-cookie-watcher.
7302 (dirtrack-debug-message): New arg to avoid excess format calls.
7303
7304 * shell.el (shell-dir-cookie-re): Variable deleted.
7305 (shell-dir-cookie-watcher): Function deleted.
7306 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7307 with dirtrack-mode.
7308
651e947e
EZ
73092012-01-01 Eli Zaretskii <eliz@gnu.org>
7310
1d00653d
SM
7311 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7312 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7313 libgnutls-26.dll.
7314
94d4c7dc
AS
73152011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7316
7317 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7318
8d43f3cd
EZ
73192011-12-31 Eli Zaretskii <eliz@gnu.org>
7320
7321 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7322 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7323
98c8795a
MA
73242011-12-29 Michael Albinus <michael.albinus@gmx.de>
7325
7326 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7327 also for alternative shells.
7328 (tramp-open-connection-setup-interactive-shell): Check, whether
7329 the shell is a busybox.
7330 (tramp-send-command): Don't suppress multiple prompts for
7331 busyboxes, it hurts.
7332
51281b32
CY
73332011-12-28 Chong Yidong <cyd@gnu.org>
7334
7335 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7336 (gdb-get-source-file): Move mode line update to
7337 gdb-get-source-file (Bug#10087).
7338
2170cb53
CY
73392011-12-25 Chong Yidong <cyd@gnu.org>
7340
7341 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7342 gud-gdb-marker-filter without taking it as an argument.
7343 (gud-gdb-run-command-fetch-lines): Caller changed.
7344 (gud-gdb-completion-function): New variable.
7345 (gud-gdb-completion-at-point): Use it.
7346 (gud-gdb-completions-1): Split from gud-gdb-completions.
7347
7348 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7349 function as separate arguments.
7350 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7351 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7352 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7353 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7354 (gdb-stopped, def-gdb-auto-update-trigger)
7355 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7356 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7357 Callers changed.
2170cb53
CY
7358 (gud-gdbmi-completions): New function.
7359 (gdb): Use it for generating the completion table.
7360
be8b11bb
AM
73612011-12-24 Alan Mackenzie <acm@muc.de>
7362
7363 Introduce a mechanism to widen the region used in context font
1d00653d 7364 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7365
1d00653d
SM
7366 * progmodes/cc-langs.el (c-before-font-lock-functions):
7367 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7368 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7369 functions to be run just before context (etc.) font locking.
7370
7371 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7372 New, functionality extracted from
be8b11bb 7373 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7374 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7375 (c-after-change): Set c-in-after-change-fontification.
7376 (c-set-fl-decl-start): Rejig its interface, so it can be called
7377 from both after-change and context fontifying.
b81d40f0
JB
7378 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7379 New functions.
7380 (c-standard-font-lock-fontify-region-function): New variable.
7381 (c-font-lock-fontify-region): New function.
be8b11bb 7382
341cf6ac
JL
73832011-12-24 Juri Linkov <juri@jurta.org>
7384
7385 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7386 (Bug#10348)
7387
bffcee0a
MA
73882011-12-23 Michael Albinus <michael.albinus@gmx.de>
7389
7390 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7391 existence of source file. (Bug#10325)
7392
cb5e207c
AM
73932011-12-23 Alan Mackenzie <acm@muc.de>
7394
7395 Fix unstable fontification inside templates.
7396
b81d40f0
JB
7397 * progmodes/cc-langs.el (c-before-font-lock-functions):
7398 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7399 additionally has c-set-fl-decl-start. The other languages (apart
7400 from AWK) have that as a single entry.
7401
b81d40f0
JB
7402 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7403 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7404 c-set-fl-decl-start.
7405
b81d40f0
JB
7406 * progmodes/cc-mode.el (c-common-init, c-after-change):
7407 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7408 (c-set-fl-decl-start): New function, extracted from
7409 c-font-lock-enclosing-decls and enhanced.
7410
60ff536c
JB
74112011-12-23 Juanma Barranquero <lekktu@gmail.com>
7412
7413 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7414
1c4757d6
JL
74152011-12-22 Juri Linkov <juri@jurta.org>
7416
7417 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7418
d031f2c7
CY
74192011-12-22 Chong Yidong <cyd@gnu.org>
7420
7421 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7422
bace743a
DA
74232011-12-21 Drew Adams <drew.adams@oracle.com>
7424
7425 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7426
728a1f2b
JC
74272011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7428
7429 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7430
0d373f73
TZ
74312011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7432
fec0aaa4
TZ
7433 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7434 highlighting and support. Fix up comments for capitalization.
7435 (cfengine-mode-debug): New var.
7436 (cfengine3-mode): Change the modeline indicator to "CFE3".
7437 (cfengine3-font-lock-keywords): Improve defun highlighting.
7438 (cfengine2-actions): Rename from `cfengine-actions'.
7439 (cfengine2-font-lock-keywords): Rename from
7440 `cfengine-font-lock-keywords'.
7441 (cfengine2-imenu-expression): Rename from
7442 `cfengine-imenu-expression'.
7443 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7444 (cfengine2-beginning-of-defun): Rename from
7445 `cfengine-beginning-of-defun'.
7446 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7447 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7448 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7449 modeline indicator to "CFE2".
7450 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7451 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7452
bc86f573
CY
74532011-12-21 Chong Yidong <cyd@gnu.org>
7454
7455 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7456 filename argument.
7457
d45ba96b
MR
74582011-12-20 Martin Rudalics <rudalics@gmx.at>
7459
7460 * window.el (window-normalize-buffer-to-display): Remove.
7461 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7462
a6198c90
CY
74632011-12-19 Chong Yidong <cyd@gnu.org>
7464
7465 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7466 Don't signal an error in a predicate function; return non-nil.
7467 (vc-dir-mark-file): Move the error here.
7468 (vc-dir-mark-unmark): If acting on the region, keep going if one
7469 of the entries cannot be marked/unmarked.
7470 (vc-dir-mark-all-files): If current entry is a directory, mark
7471 only child files, as documented.
7472
34c5fb55
VB
74732011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7474
7475 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7476 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7477 addition.
7478
c803b2b7
JD
74792011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7480
7481 * term/ns-win.el (ns-get-selection-internal)
7482 (ns-store-selection-internal): Declare.
1154d12e
JB
7483 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7484 Declare as obsolete.
7485 (ns-get-pasteboard, ns-paste-secondary):
7486 Use ns-get-selection-internal.
7487 (ns-set-pasteboard, ns-copy-including-secondary):
7488 Use ns-store-selection-internal.
c803b2b7 7489
9cff91f8 74902011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7491
7492 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7493 (vc-deduce-fileset): Doc fix.
99a289d9 7494
f16c898a
AS
74952011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7496
7497 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7498
763237c4
SS
74992011-12-13 Sam Steingold <sds@gnu.org>
7500
7501 * man.el (Man-getpage-in-background): When running under a
7502 window-system, ignore $MANWIDTH and $COLUMNS.
7503
5fc1c122
KH
75042011-12-15 Kenichi Handa <handa@m17n.org>
7505
7506 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7507 (setup-ethiopic-environment-internal): Comment out key-binding for
7508 ethio-toggle-punctuation.
7509
13d49cbb
AM
75102011-12-13 Alan Mackenzie <acm@muc.de>
7511
898169a2
AM
7512 Add the switch statement to AWK Mode.
7513
7a71b18d 7514 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7515 "default" to the keywords regexp.
7516
7a71b18d 7517 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7518 expression as the rest.
1d00653d
SM
7519 (c-nonlabel-token-key): Allow string literals for AWK.
7520 Refactor for the other modes.
898169a2 7521
13d49cbb 7522 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7523 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7524 routines. Limit backward searching in c-font-lock-enclosing.decl.
7525
7526 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7527 pp-state and literal type in addition to the limits.
1d00653d 7528 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7529 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7530 (c-slow-in-literal, c-fast-in-literal): Remove.
7531 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7532
7533 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7534 being in a literal. Add a limit for backward searching.
7535
7536 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7537 c-slow-in-literal.
7538
15e0efc7
SM
75392011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7542
454592a6
MR
75432011-12-13 Martin Rudalics <rudalics@gmx.at>
7544
7545 * window.el (delete-other-windows): Use correct frame in call to
7546 window-with-parameter.
7547
87393f26
DP
75482011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7549
7550 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7551 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7552 (makefile-gmake-statements, makefile-makepp-statements):
7553 Use it and add new makepp keywords.
7554 (makefile-makepp-font-lock-keywords): Add new patterns.
7555 (makefile-match-function-end): Match new [...] and [[...]].
7556
11636b22
JB
75572011-12-11 Juanma Barranquero <lekktu@gmail.com>
7558
7559 * ses.el (ses-call-printer-return, ses-cell-property-get)
7560 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7561 (ses-create-cell-variable, ses-reset-header-string)
7562 (ses-cell-set-formula, ses-repair-cell-reference-all)
7563 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7564 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7565 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7566 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7567 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7568 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7569 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7570 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7571 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7572 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7573 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7574 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7575
cf018193
VB
75762011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7577
7578 * ses.el: The overall change is to add cell renaming, that is
7579 setting fancy names for cell symbols other than name matching
7580 "\\`[A-Z]+[0-9]+\\'" regexp .
7581 (ses-create-cell-variable): New defun.
7582 (ses-relocate-formula): Relocate formulas only for cells the
7583 symbols of which are not renamed, i.e. symbols whose names do not
7584 match regexp "\\`[A-Z]+[0-9]+\\'".
7585 (ses-relocate-all): Relocate values only for cells the symbols of
7586 which are not renamed.
7587 (ses-load): Create cells variables as the (ses-cell ...) are read,
7588 in order to check row col consistency with cell symbol name only
7589 for cells that are not renamed.
7590 (ses-replace-name-in-formula): New defun.
7591 (ses-rename-cell): New defun.
7592
ee957461
CY
75932011-12-11 Chong Yidong <cyd@gnu.org>
7594
7595 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7596 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7597
9a9e9ef0
MR
75982011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7599
7600 * window.el (other-window): Fix docstring.
7601
92a8eba5
EZ
76022011-12-10 Eli Zaretskii <eliz@gnu.org>
7603
7604 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7605 `from' or `to' address before taking its substring.
7606 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7607 encoded name is chopped in the middle of the encoded string, and
7608 thus displayed encoded.
7609
e152e577
JB
76102011-12-10 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7613
e5d84bfe
EZ
76142011-12-10 Eli Zaretskii <eliz@gnu.org>
7615
7616 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7617 to use texinfo-update-node and commands that call it if the
7618 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7619 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7620 (texinfo-all-menus-update, texinfo-master-menu)
7621 (texinfo-update-node, texinfo-every-node-update)
7622 (texinfo-multiple-files-update): Doc fix. Warn against updating
7623 all the @node lines.
7624 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7625 argument is numeric. Explain better in the doc string what the
7626 function really does.
7627 (texinfo-insert-master-menu-list): Improve the error message
7628 displayed if there's no menu in the Top node.
7629 (Bug#2975) See also this thread:
e5d84bfe
EZ
7630 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7631
1d84e9bb
MG
76322011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7633
7634 * speedbar.el (speedbar-supported-extension-expressions):
7635 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7636
382c953b
JB
76372011-12-09 Juanma Barranquero <lekktu@gmail.com>
7638
7639 * printing.el (pr-mode-alist):
7640 * simple.el (filter-buffer-substring-functions)
7641 (completion-list-insert-choice-function):
7642 * window.el (window-with-parameter, window-atom-root)
7643 (window-sides-slots, window-size-fixed, window-min-delta)
7644 (window-max-delta, window--resize-mini-window)
7645 (window--resize-child-windows-normal, window-tree)
7646 (delete-other-windows, quit-window, split-window)
7647 (display-buffer-record-window, special-display-buffer-names)
7648 (special-display-regexps, special-display-popup-frame)
7649 (same-window-p, split-window-sensibly)
7650 (display-buffer-overriding-action, display-buffer-alist)
7651 (display-buffer-base-action, display-buffer, switch-to-buffer)
7652 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7653 (fit-window-to-buffer, recenter-positions)
7654 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7655 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7656 and remove unneeded backslashes in docstrings.
7657
39c9faef
SM
76582011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7659
98449af8
SM
7660 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7661
39c9faef
SM
7662 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7663 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7664 end in ".mk".
7665 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7666 when reading the makefile (bug#10116).
7667
86ed9fdc
SM
76682011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7671 (bug#10116).
7672
5580f89d
GM
76732011-12-06 Glenn Morris <rgm@gnu.org>
7674
7675 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7676
28d3917c
CY
76772011-12-06 Chong Yidong <cyd@gnu.org>
7678
7679 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7680
a98edce9
JB
76812011-12-06 Juanma Barranquero <lekktu@gmail.com>
7682
7683 * textmodes/table.el (table-shorten-cell): Fix typo.
7684
e65adfac
CG
76852011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7686
7687 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7688
71cc0b74
EZ
76892011-12-05 Eli Zaretskii <eliz@gnu.org>
7690
7691 * descr-text.el (describe-char): Fix display of strong
7692 right-to-left characters and directional embeddings and overrides.
7693
7694 * simple.el (what-cursor-position): Fix display of codepoints of
7695 strong right-to-left characters.
7696
315bc30d
CY
76972011-12-05 Chong Yidong <cyd@gnu.org>
7698
7699 * faces.el (read-color): Doc fix.
7700
58a70b94
GM
77012011-12-05 Glenn Morris <rgm@gnu.org>
7702
7703 * align.el (align--set-marker): Add doc-string.
7704 Don't try to move something that is not a marker. (Bug#10216)
7705
5158face
GM
77062011-12-04 Glenn Morris <rgm@gnu.org>
7707
7708 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7709 overly zealous deletion of trailing whitespace.
7710
520fca41
JB
77112011-12-04 Juanma Barranquero <lekktu@gmail.com>
7712
7713 * server.el (server-delete-client): On Windows, do not try to delete
7714 the only terminal.
7715 (server-process-filter): On Windows, treat requests for a tty frame as
7716 if they were for a GUI frame if the running server is in GUI mode.
7717
5e605a2e
GM
77182011-12-03 Glenn Morris <rgm@gnu.org>
7719
7720 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7721
5c3fe83f
SM
77222011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7723
6f5e57e7
SM
7724 * electric.el: Streamline electric-indent's hook.
7725 (electric-indent-chars): Revert to simple list.
7726 (electric-indent-functions): New var.
7727 (electric-indent-post-self-insert-function): Use it.
7728
5c3fe83f
SM
7729 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7730 there's no inferior buffer (bug#10196).
7731 (prolog-consult-compile): Don't use toggle-read-only.
7732
6bdac736
MA
77332011-12-02 Michael Albinus <michael.albinus@gmx.de>
7734
7735 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7736 interrupt. (Bug#10187)
7737
6131ba7f
SM
77382011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7739
99c79fee
SM
7740 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7741 (bug#9160).
7742
6131ba7f
SM
7743 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7744 (bug#10191).
7745
cb0a02ea
JL
77462011-12-02 Juri Linkov <juri@jurta.org>
7747
7748 * info.el (Info-search): Display "end of manual" when Isearch
7749 reaches the end of single-file Info manual. (Bug#9918)
7750
66e0570c
EZ
77512011-12-02 Eli Zaretskii <eliz@gnu.org>
7752
7753 * isearch.el (isearch-message-prefix): Run the input method part
7754 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7755
02b16839
JL
77562011-12-02 Juri Linkov <juri@jurta.org>
7757
7758 * isearch.el (isearch-occur): Use `word-search-regexp' for
7759 `isearch-word'.
7760 (isearch-search-and-update): Add condition for `isearch-word' and
7761 call `word-search-regexp'. (Bug#10145)
7762
0b950688
GM
77632011-12-01 Glenn Morris <rgm@gnu.org>
7764
7765 * eshell/em-hist.el (eshell-hist-initialize):
7766 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7767 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7768
9505c3c7
SM
77692011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7772
1bbe96b2 77732011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7774
a1beca85
SM
7775 * progmodes/verilog-mode.el (verilog-pretty-expr):
7776 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7777 verilog, such as += *= and the like.
7778 (verilog-assignment-operator-re): Regular expression to find the
7779 assigment operator in a verilog assignment.
7780 (verilog-assignment-operation-re): Regular expression to find an
7781 assignment statement for pretty-expr.
7782 (verilog-in-attribute-p): Query returns true if point is in an
7783 attribute context; used to skip these for expression line up from
7784 pretty-expr.
7785 (verilog-in-parameter-p): Query returns true if point is in an
7786 parameter definition context; used to skip these for expression
7787 line up from pretty-expr.
7788 (verilog-in-parenthesis-p): Query returns true if point is in a
7789 parenthetical expression, specifically ( ) but not [ ] or { };
7790 used by pretty-expr.
7791 (verilog-just-one-space): If there is no space, don't add one.
7792 (verilog-get-lineup-indent-2): Specifically skip just attribute
7793 contexts for expression lineup, rather than skipping all
7794 parenthetical expressions.
7795 (verilog-calculate-indent): Fix comment, and fix indent.
7796 (verilog-do-indent): Indent declarations in lists (suggested by
7797 Joachim Lechner).
7798 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7799 skeleton items.
7800 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7801 by Alain Mellan).
7802
1bbe96b2 78032011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7804
7805 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7806 parameters with embedded comments. Reported by Ray Stevens.
7807 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7808 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7809 Reported by Tim Holt.
7810 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7811 instantiated by upper module causing wrong expansion until AUTOed a
7812 second time. Reported by K C Buckenmaier.
7813 (verilog-diff-auto): Fix showing .* as a difference when
7814 `verilog-auto-star-save' off. Reported by Dan Dever.
7815 (verilog-auto-reset, verilog-read-always-signals)
7816 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7817 temporary signals in reset list if
7818 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7819 style to each signal's assignment type, bug381.
7820 Reported by Thomas Esposito.
6288f0ca
WS
7821 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7822 (verilog-uvm-statement-re): Support UVM indentation and
7823 highlighting, with old OVM keywords only.
a1beca85 7824 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7825 Support AUTOTIEOFF creating non-wire data types.
7826 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7827 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7828 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7829 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7830 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7831 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7832 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7833 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7834 non-numeric vector width. Reported by Alex Reed.
7835 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7836 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7837 (verilog-auto-delete-trailing-whitespace):
7838 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7839 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7840 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7841 Fix verilog-scan-cache corruption when running user AUTO expansion
7842 hooks that call indentation routines.
7843 (verilog-simplify-range-expression): Fix typo ignoring lower case
7844 identifiers.
7845 (verilog-delete-auto): Fix delete-autos to also remove user created
7846 automatics, as long as they start with AUTO.
7847 (verilog-batch-diff-auto, verilog-diff-auto)
7848 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7849 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7850 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7851 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7852 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7853 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7854 is disabled and its cache will get corrupt, causing AUTOS not to
7855 expand. Instead use only -quick functions.
7856 (verilog-scan-region): Fix scanning over escaped quotes.
7857 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7858 (verilog-re-search-backward-quick)
7859 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7860 related functions now ignore strings, to fix misparsing of strings
7861 with magic comments embedded in them.
a1beca85
SM
7862 (verilog-read-auto-template):
7863 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7864 Reported by Brad Dobbie.
7865 (verilog-read-auto-template):
7866 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7867 Reported by Brad Dobbie.
6288f0ca
WS
7868 (verilog-auto-inst, verilog-auto-inst-param)
7869 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7870 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7871 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7872 debugging templates without merge conflicts, bug357.
7873 Reported by Brad Dobbie.
7874 (verilog-read-auto-template):
7875 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7876 Reported by Brad Dobbie.
7877 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7878 abbrevs so user won't be asked to save.
7879 (verilog-read-auto-lisp-present): Fix to start at beginning of
7880 buffer in case called outside of verilog-auto.
7881 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7882 to "X-2". Reported by Matthew Myers.
7883 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7884 all inputs from module templates. Reported by Leith Johnson.
7885 (verilog-module-inside-filename-p): Fix locating programs as with
7886 modules.
7887 (verilog-auto-inst-port): Fix vl-width expressions when using
7888 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7889 (verilog-decls-get-regs, verilog-decls-get-signals,
7890 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7891 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7892 verilog-read-decls): Combine reg and wire structures into one var
7893 structure to represent SystemVerilog concepts.
7894 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7895 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7896 (verilog-auto-wire-type, verilog-insert-definition):
7897 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7898 SystemVerilog "logic" keyword instead of "wire"/"reg".
7899 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7900 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7901 ifdef or generate if so there's not a driver conflict).
7902 Reported by Matthew Myers.
7903 (verilog-auto-declare-nettype, verilog-insert-definition):
7904 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7905 `default_nettype none. Reported by Julian Gorfajn.
7906 (verilog-read-always-signals-recurse, verilog-read-decls)
7907 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7908 malformed end statement, bug325. Reported by Joshua Wise and
7909 Andrew Drake.
7910 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7911 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7912 when expanding .* in interfaces, bug320.
7913 Reported by Pierre-David Pfister.
6288f0ca 7914 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7915 name and open parenthesis, bug317.
7916 Reported by Pierre-David Pfister.
6288f0ca
WS
7917 (verilog-simplify-range-expression): Fix simplification of
7918 multiplications inside AUTOWIRE connections, bug303.
7919 (verilog-auto-inst-port): Support parameter expansion in
7920 multidimensional arrays.
7921 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7922 after "assert property". Reported by Julian Gorfajn.
7923 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7924 with multiplication, bug303.
7925 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7926 Reported by Jan Frode Lonnum.
7927
1bbe96b2
GM
79282011-11-30 Juanma Barranquero <lekktu@gmail.com>
7929
7930 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7931 (hfy-shell-file-name, hfy-shell):
7932 * international/fontset.el (x-decompose-font-name): Fix typos.
7933
79342011-11-29 Ken Brown <kbrown@cornell.edu>
7935
7936 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7937 (gdb-version): Remove defvar.
7938 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7939 (gdb-gud-context-command, gdb-non-stop-handler)
7940 (gdb-current-context-command, gdb-stopped): Use it.
7941 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7942 (gdb-non-stop-handler): Don't enable pretty-printing here.
7943 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7944 non-stop mode. Use the following.
7945 (gdb-check-target-async): New defun.
7946 (gud-watch, gdb-stopped): Fix whitespace.
7947 (gdb-get-source-file): Don't try to display the source file if
7948 `gdb-main-file' is nil.
7949
79502011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * align.el: Try to generate fewer markers (bug#10047).
7953 (align--set-marker): New macro.
7954 (align-region): Use it.
7955
c935221f
SM
79562011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7959
e70b5064
CY
79602011-11-29 Chong Yidong <cyd@gnu.org>
7961
7962 * indent.el (indent-for-tab-command, indent-according-to-mode):
7963 Doc fix.
7964 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7965
f3af92b7
MA
79662011-11-29 Michael Albinus <michael.albinus@gmx.de>
7967
7968 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
7969 aware of remote file names. (Bug#10124)
7970
ed472be9
CY
79712011-11-29 Chong Yidong <cyd@gnu.org>
7972
7973 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
7974
24510c22
SM
79752011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * files.el (find-file): Don't use force-same-window (bug#10144).
7978 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
7979 use pop-to-buffer if the selected window can't be used.
7980 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
7981
c60c3703
EZ
79822011-11-28 Eli Zaretskii <eliz@gnu.org>
7983
7984 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
7985 special-mode-map.
7986
e95def75
CY
79872011-11-28 Chong Yidong <cyd@gnu.org>
7988
7989 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
7990
c3f1c606
NR
79912011-11-27 Nick Roberts <nickrob@snap.net.nz>
7992
7993 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
7994 gdb-get-source-file-list on gdb-create-source-file-list.
7995
00db469c
EZ
79962011-11-26 Eli Zaretskii <eliz@gnu.org>
7997
7998 * whitespace.el (whitespace-newline): Use a different foreground
7999 color for 16-color light-background displays.
8000
4ad3bc2a
CY
80012011-11-24 Chong Yidong <cyd@gnu.org>
8002
8003 * window.el (display-buffer--special-action): Doc fix.
8004
e9fce1ac
JB
80052011-11-25 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8008 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8009 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8010 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8011 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8012 (avl-tree-stack-first):
8013 * emacs-lisp/cconv.el (cconv--analyse-use):
8014 * net/gnutls.el (gnutls-negotiate): Fix typos.
8015
cb825e5d
GM
80162011-11-24 Glenn Morris <rgm@gnu.org>
8017
3adbe224
GM
8018 * lpr.el (lpr-windows-system, lpr-lp-system):
8019 * mail/binhex.el (binhex-begin-line):
8020 * progmodes/grep.el (grep-history, grep-find-history):
8021 * textmodes/flyspell.el:
8022 * vc/pcvs-defs.el (cvs-global-menu):
8023 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8024 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8025 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8026
321decc8
GM
8027 * net/tls.el: Fix case of "GnuTLS".
8028
420b63ad
GM
8029 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8030
cb825e5d
GM
8031 * version.el (emacs-build-system): Give it a doc-string.
8032
a0649f08
JL
80332011-11-24 Juri Linkov <juri@jurta.org>
8034
8035 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8036
c0bc0fd4
GM
80372011-11-24 Glenn Morris <rgm@gnu.org>
8038
8039 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8040 if called on a non-mime message just toggle the headers. (Bug#8006)
8041
20db1522
JB
80422011-11-24 Juanma Barranquero <lekktu@gmail.com>
8043
8044 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8045 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8046 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8047 (allout-rebullet-heading, allout-open-sibtopic)
8048 (allout-toggle-current-subtree-encryption)
8049 (allout-toggle-subtree-encryption, allout-encrypt-string)
8050 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8051 (allout-distinctive-bullets-string, allout-auto-activation):
8052 * window.el (window-normalize-buffer-to-display):
8053 * progmodes/verilog-mode.el (verilog-batch-indent):
8054 * textmodes/bibtex.el (bibtex-field-braces-opt)
8055 (bibtex-field-strings-opt):
8056 * vc/cvs-status.el (cvs-tree-merge):
8057 Fix typos.
8058
7262a87c
MA
80592011-11-23 Michael Albinus <michael.albinus@gmx.de>
8060
8061 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8062 `non-essential' to t, in order to avoid remote connections.
8063
283430a1
EZ
80642011-11-23 Eli Zaretskii <eliz@gnu.org>
8065
a1beca85
SM
8066 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8067 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8068 case-insensitively.
8069
d2992a38
ML
80702011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8071
8072 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8073
50419064
GM
80742011-11-23 Glenn Morris <rgm@gnu.org>
8075
da94eca1
GM
8076 * paths.el (rmail-file-name): Reformat the doc-string so that it
8077 is picked up.
8078
9aac4de2
GM
8079 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8080 (rmail-auto-file): Ignore case in the "special" field names,
8081 as mail-fetch-field does for all others.
8082
8038d2d2
GM
8083 * mail/rmail.el (rmail-forward):
8084 * mail/rmailkwd.el (rmail-set-label):
8085 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8086 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8087
f3fe222a
GM
8088 * mail/rmail.el (rmail-current-message): Doc fix.
8089
50419064
GM
8090 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8091
28109f49
SM
80922011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8095
394c65f1
GM
80962011-11-22 Glenn Morris <rgm@gnu.org>
8097
8098 * mail/rmailmm.el (test-rmail-mime-handler)
8099 (test-rmail-mime-bulk-handler)
8100 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8101
f2a0aa3a
JL
81022011-11-21 Juri Linkov <juri@jurta.org>
8103
1154d12e
JB
8104 * calc/calc.el (calc-read-key-sequence):
8105 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8106
9c34a344
LMI
81072011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8108
8109 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8110 Tell the caller that the next line needs recomputation, even
8111 though it doesn't start a sexp (bug#10094).
8112
f04a3be9
SM
81132011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8114
8115 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8116
7978747f
SM
81172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8118
f04a3be9
SM
8119 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8120 Use force-same-window.
7978747f 8121
fe7a3057
JB
81222011-11-20 Juanma Barranquero <lekktu@gmail.com>
8123
8124 * descr-text.el (describe-char-unicode-data):
8125 * json.el (json-string-escape):
8126 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8127 (Footnote-unicode, Footnote-style-p):
8128 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8129
24901d61
CY
81302011-11-20 Chong Yidong <cyd@gnu.org>
8131
8132 * window.el (replace-buffer-in-windows): Restore interactive spec.
8133
bac7ff22
SM
81342011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8135
24f3d7b9
SM
8136 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8137
bac7ff22
SM
8138 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8139 (byte-compile-global-not-obsolete-vars): New var.
8140 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8141 Use it.
8142 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8143
cd1181db
JB
81442011-11-20 Juanma Barranquero <lekktu@gmail.com>
8145
8146 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8147 * progmodes/pascal.el (electric-pascal-equal):
8148 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8149 * xml.el (xml-substitute-special): Fix typos.
8150
7fb18e9e
GM
81512011-11-20 Glenn Morris <rgm@gnu.org>
8152
8153 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8154 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8155 Doc fixes.
8156 (rmail-decode-mime-charset): Mark as obsolete.
8157
8158 * mail/rmailsum.el (rmail-message-regexp-p-1):
8159 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8160 Before using mime functions, check they are set. (Bug#10077)
8161
d5a6b3ba
JL
81622011-11-19 Juri Linkov <juri@jurta.org>
8163
8164 * info.el (Info-finder-find-node): Use `package--builtins' instead
8165 of `package-alist'. Use node names formed by the pattern "Keyword "
8166 and the keyword name.
8167
e981b61f
AS
81682011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8169
1d00653d 8170 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8171
3ffbc301
JL
81722011-11-19 Juri Linkov <juri@jurta.org>
8173
8174 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8175 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8176 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8177 `old-history', `old-history-forward'. Add let-binding
8178 `window-selected'. Remove calls to `kill-buffer',
8179 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8180 before calling `Info-find-node', so `Info-find-node-2' will reread
8181 the Info file. Restore window positions only when `window-selected'
8182 is non-nil.
8183
30c62133
JL
81842011-11-19 Juri Linkov <juri@jurta.org>
8185
8186 * isearch.el (isearch-lazy-highlight-new-loop):
8187 Remove condition `(not isearch-error)'. (Bug#9918)
8188
8189 * misearch.el (multi-isearch-search-fun): Add condition
8190 `(not bound)' to ignore lazy-highlighting search.
8191 Add the search-failed message "end of multi" when the end of
8192 multi-sequence is reached. Uncapitalize the search-failed
8193 message "Repeat for next buffer".
8194
8195 * info.el (Info-search): Add the search-failed message
8196 "end of the manual" when the end of the manual is reached
8197 in Isearch mode.
8198
645ca9cf
JL
81992011-11-19 Juri Linkov <juri@jurta.org>
8200
8201 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8202 Use non-destructive `remove' instead of `delete' because
8203 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8204 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8205
df754f66
JL
82062011-11-19 Juri Linkov <juri@jurta.org>
8207
8208 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8209 to nil instead of binding `search-ring' and `regexp-search-ring'.
8210 (Bug#9185)
8211
0e23d96a
EZ
82122011-11-19 Eli Zaretskii <eliz@gnu.org>
8213
8214 * simple.el (line-move): Force movement by logical lines for any
8215 hscrolled window, not only when auto-hscroll-mode is on.
8216 (line-move-visual): Update doc string to that effect. (Bug#10076)
8217
8a6ccb66
AS
82182011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8219
8220 * language/european.el (macintosh): Define as alias for mac-roman.
8221
49ae5b39
EZ
82222011-11-19 Eli Zaretskii <eliz@gnu.org>
8223
8224 * mail/rmailmm.el (rmail-mime-display-header)
8225 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8226 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8227 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8228 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8229 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8230 of a raw aref.
8231 (rmail-mime-entity-segment): To get past the tagline, move forward
8232 2 more lines, to account for the 2 empty lines that precede and
8233 follow the line with the buttons.
8234 (rmail-mime-update-tagline): Move one more line, to get past the
8235 empty line that follows the buttons in the tagline. (Bug#9520)
8236
c56cad4a
MR
82372011-11-19 Martin Rudalics <rudalics@gmx.at>
8238
8239 * window.el (window-max-delta-1, window-min-delta-1)
8240 (window-min-size-1, window-state-get-1, window-state-put-1)
8241 (window-state-put-2): Use "window--" prefix.
8242
cbe71af3
SM
82432011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8244
2ad52c60
SM
8245 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8246 (smie-warning-count): New var.
8247 (smie-set-prec2tab): Use it.
8248 (smie-bnf->prec2): Improve warnings. Add docstring.
8249 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8250 (smie-bnf--set-class): New function.
8251 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8252 corner case.
8253
6944dbc1
SM
8254 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8255 (compilation-error-properties, compilation-move-to-column):
8256 Handle compilation-first-column while in the target buffer.
8257
c400c4d7
SM
8258 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8259 Don't hardcode point-min==1.
8260
6dbe3e96
SM
8261 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8262 (eshell-rewrite-for-command): Remove workaround.
8263 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8264 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8265 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8266
cbe71af3
SM
8267 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8268
a8e1496d
GM
82692011-11-17 Glenn Morris <rgm@gnu.org>
8270
8271 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8272 Ignore buffer-local generated-autoload-file if it is the same
8273 as the global value. (Bug#10049)
8274
df85d315
JB
82752011-11-17 Juanma Barranquero <lekktu@gmail.com>
8276
8277 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8278 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8279 (reftex-toc-previous-heading, reftex-toc-max-level)
8280 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8281 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8282 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8283 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8284 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8285 (reftex-toc-rename-label, reftex-toc-visit-location)
8286 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8287 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8288 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8289 leaving "*toc*" only for references to the buffer.
8290
a0c2d0ae
MR
82912011-11-17 Martin Rudalics <rudalics@gmx.at>
8292
8293 * window.el (window-resize, delete-window, split-window):
8294 Replace window-splits by window-combination-resize.
1d00653d 8295 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8296
35c0bac8
GM
82972011-11-17 Glenn Morris <rgm@gnu.org>
8298
8299 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8300 Make bash entry derive from sh entry, not shell entry.
8301
d0c8fc8a
MA
83022011-11-16 Michael Albinus <michael.albinus@gmx.de>
8303
7262a87c
MA
8304 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8305 local file name.
8306
7877f373
JB
83072011-11-16 Juanma Barranquero <lekktu@gmail.com>
8308
8309 * menu-bar.el (menu-bar-file-menu):
8310 * printing.el (pr-ps-utility):
8311 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8312 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8313 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8314 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8315 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8316 (icalendar--convert-cyclic-to-ical)
8317 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8318 (icalendar--convert-ical-to-diary)
8319 (icalendar--convert-recurring-to-diary)
8320 (icalendar--convert-non-recurring-all-day-to-diary)
8321 (icalendar-import-format-sample):
8322 * progmodes/idlw-shell.el (idlwave-shell-mode):
8323 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8324 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8325 (vhdl-ps-print-init): Fix typos.
8326
10649b82
KM
83272011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8328
9d0cfcd6
GM
8329 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8330 FSF and collapse date sequence, obscure author/maintainer email address
8331 better, remove extra version line, track relocation of author's webpage.
10649b82 8332
9d0cfcd6
GM
8333 * progmodes/python.el (python-pdbtrack-input-prompt)
8334 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8335 regular python pdb prompts. Adjustments shamelessly taken exactly as
8336 suggested in EmacsWiki page (tiny change):
8337 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8338
58179cce
JB
83392011-11-16 Juanma Barranquero <lekktu@gmail.com>
8340
8341 * expand.el (expand-pos, expand-index, expand-point):
8342 Remove redundant info from docstring.
8343 (expand-add-abbrevs): Doc fix.
8344 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8345 (expand-sample-perl-mode-expand-list): Fix typos.
8346
8347 * net/dbus.el (dbus-event-member-name):
8348 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8349 * term/pc-win.el (msdos-create-frame-with-faces):
8350 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8351
b6f67890
MR
83522011-11-16 Martin Rudalics <rudalics@gmx.at>
8353
8354 * window.el (split-window, window-state-get-1)
8355 (window-state-put-1, window-state-put-2): Rename occurrences of
8356 window-nest to window-combination-limit.
1d00653d 8357 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8358
ce7ddba0
CY
83592011-11-16 Chong Yidong <cyd@gnu.org>
8360
8361 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8362 regexp (Bug#10033).
8363
3ae704f4
SM
83642011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8367 `completing-read' will remove *Completions* and will preserve
8368 current-buffer for us.
8369 (tmm-add-prompt): Users of *Completions* will always (re)set its
8370 major mode.
8371 (tmm-old-comp-map): Remove.
8372
6ad1cdde
GM
83732011-11-16 Glenn Morris <rgm@gnu.org>
8374
8375 * mail/rmailedit.el: Require rmailmm when compiling.
8376 (rmail-old-mime-state): New declaration.
8377 (rmail-edit-current-message): If editing a mime message,
8378 edit the "raw" message from the mbox buffer.
8379 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8380
d20faa20
GM
83812011-11-15 Glenn Morris <rgm@gnu.org>
8382
8383 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8384 which wasn't being used. Add optional arg to force given state.
8385 (rmail-mime): Add optional arg to force given state.
8386
c7015153
JB
83872011-11-15 Juanma Barranquero <lekktu@gmail.com>
8388
8389 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8390 * frame.el (display-mm-dimensions-alist):
8391 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8392 (outline-move-subtree-down):
8393 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8394 (newsticker--treeview-do-get-node):
8395 * net/quickurl.el (quickurl-list-buffer-name):
8396 * progmodes/dcl-mode.el (dcl-mode):
8397 * progmodes/gdb-mi.el (gdb-mapcar*):
8398 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8399
45261b50
GM
84002011-11-15 Glenn Morris <rgm@gnu.org>
8401
8402 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8403 in a boolean sense, so just make it a boolean, and fix the doc.
8404 (rmail-show-mime-function, rmail-mime-feature)
8405 (rmail-require-mime-maybe): Doc fixes.
8406 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8407
8408 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8409
0d26e0b6
JB
84102011-11-15 Juanma Barranquero <lekktu@gmail.com>
8411
8412 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8413 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8414 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8415 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8416
447f30f6
GM
84172011-11-15 Glenn Morris <rgm@gnu.org>
8418
672b871d
GM
8419 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8420 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8421 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8422 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8423 (rmail-mime, rmail-show-mime): Doc fixes.
8424
f6aa5bb1
GM
8425 * term/ns-win.el (mode-line-frame-identification):
8426 Leave it alone. (Bug#10051)
8427
947cd66b
GM
8428 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8429
447f30f6
GM
8430 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8431 Handle empty buffers. (Bug#9978)
8432
0b381c7e
JB
84332011-11-14 Juanma Barranquero <lekktu@gmail.com>
8434
8435 * international/mule.el (define-charset):
8436 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8437 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8438 * progmodes/verilog-mode.el (verilog-backward-token):
8439 * textmodes/ispell.el (lookup-words):
8440 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8441
71e027ac
GM
84422011-11-14 Glenn Morris <rgm@gnu.org>
8443
56632ce4
GM
8444 * progmodes/executable.el
8445 (executable-make-buffer-file-executable-if-script-p):
8446 Handle file-modes returning nil.
8447
40500957
GM
8448 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8449 message - not necessary, and causes problems. (Bug#9831)
8450
071c2340
GM
8451 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8452
d3cfca60
GM
8453 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8454
71e027ac
GM
8455 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8456 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8457 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8458
89d61221
MR
84592011-11-12 Martin Rudalics <rudalics@gmx.at>
8460
8461 * window.el (window-resize, delete-window): Use window-splits
8462 variable instead of function.
8463 (window-state-get-1, window-state-put-2, window-state-put):
8464 Don't deal with windows' splits status.
8465
98282f6f
GM
84662011-11-12 Glenn Morris <rgm@gnu.org>
8467
8468 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8469 (apropos-documentation): Doc fixes.
8470
40a8bdf6
JB
84712011-11-11 Juanma Barranquero <lekktu@gmail.com>
8472
8473 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8474 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8475
65bd19ff
SM
84762011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8477
8478 * electric.el (electric-indent-post-self-insert-function): Make it
8479 possible for a char to only indent in some circumstances.
8480 (electric-indent-mode): Simplify.
8481
54f9154c
MR
84822011-11-11 Martin Rudalics <rudalics@gmx.at>
8483
8484 * window.el (windows-with-parameter): Remove unused function.
8485 (windows-at-side): Rename to window-at-side-list.
8486 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8487 (window-side-check, window-size-ignore, window-size-fixed-1)
8488 (window-in-direction-2): Prefix with "window--".
8489 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8490
68cbc58b
GM
84912011-11-11 Glenn Morris <rgm@gnu.org>
8492
8493 * subr.el (eval-after-load): If FILE is already loaded,
8494 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8495
b2621720
GM
84962011-11-10 Glenn Morris <rgm@gnu.org>
8497
9a4de110
GM
8498 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8499 Call svn via vc-svn-command rather than vc-do-command.
8500 (vc-svn-command): Add --non-interactive. (Bug#9993)
8501 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8502
b2621720
GM
8503 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8504 Add toggle-read-only. (Bug#7292)
8505 * files.el (toggle-read-only): Mention that it should only
8506 be used interactively. (Bug#10006)
8507
1dce7193
SM
85082011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8509
d9ac1a1e
SM
8510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8511 Adjust regexp for OCaml warnings.
8512
0c325082
SM
8513 * electric.el (electric-pair-post-self-insert-function): Let user
8514 turn it off buffer-locally (bug#9932).
8515
90132c14
SM
8516 * progmodes/python.el (python-beginning-of-statement):
8517 Rewrite (bug#2703).
8518
1dce7193
SM
8519 * progmodes/compile.el: Better handle TABs (bug#9749).
8520 (compilation-internal-error-properties)
8521 (compilation-next-error-function): Obey the target buffer's
8522 compilation-error-screen-columns.
8523
c4e7c63a
JB
85242011-11-09 Juanma Barranquero <lekktu@gmail.com>
8525
8526 * progmodes/meta-mode.el: Remove obsolete comments.
8527 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8528 Fix typos in docstrings.
8529
2cffd681
MR
85302011-11-09 Martin Rudalics <rudalics@gmx.at>
8531
8532 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8533 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8534 (window--resizable): New function. Make all callers of
8535 window-resizable call window--resizable instead.
8536 (window-resizable): Rewrite in terms of window--resizable.
8537
0edcba87
GM
85382011-11-08 Glenn Morris <rgm@gnu.org>
8539
8540 * progmodes/delphi.el (delphi-mode-syntax-table):
8541 Let define-derived-mode define a proper syntax table. (Bug#9994)
8542
4b0d61e3
SM
85432011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * window.el: Stay away from defsubst.
8546 (window-list-no-nils): Remove.
8547 (window-state-get-1, window-state-get): Use backquote instead.
8548
cd394be1 85492011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8550
4b0d61e3 8551 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8552 Fix incorrect use of default argument in `completing-read'.
8553
e1c2c6f2
MR
85542011-11-08 Martin Rudalics <rudalics@gmx.at>
8555
8556 * window.el (display-buffer-function, special-display-function):
8557 Mention display-buffer-record-window but do not mention
8558 help-setup parameter in doc-strings.
b3f4a882 8559 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8560
105216ed
CY
85612011-11-08 Chong Yidong <cyd@gnu.org>
8562
8563 * window.el (window-total-height, window-total-width): Doc fix.
8564 (window-body-size): Move from C.
8565 (window-body-height, window-body-width): Move to C.
8566
0a9f9ab5
SM
85672011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * window.el: Make special-display like display-buffer-alist (bug#9532).
8570 (display-buffer--special-action): New function, morphed
8571 from display-buffer--special.
8572 (display-buffer): Use it to handle special-display-buffers at higher
8573 priority (just after display-buffer-alist).
8574 (display-buffer-fallback-action, display-buffer--other-frame-action)
8575 (pop-to-buffer-same-window): Remove display-buffer--special.
8576
a769dd15
GM
85772011-11-07 Glenn Morris <rgm@gnu.org>
8578
8579 * calendar/cal-menu.el (cal-menu-set-date-title):
8580 Do nothing if not in a calendar. (Bug#9976)
8581
05a61ee3
SM
85822011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8583
8584 * files.el (find-file): Always use selected-window.
8585
be7f5545
MR
85862011-11-07 Martin Rudalics <rudalics@gmx.at>
8587
8588 * window.el (window-combinations): Make WINDOW argument
8589 mandatory. Rewrite doc-string.
8590 (walk-window-subtree, window-atom-check, window-min-delta)
8591 (window-max-delta, window--resize-this-window)
8592 (window--resize-root-window-vertically, window-tree)
8593 (balance-windows, window-state-put): Rewrite doc-strings as to
8594 not mention the term "subwindow".
8595 (window--resize-subwindows-skip-p): Rename to
8596 window--resize-child-windows-skip-p.
8597 (window--resize-subwindows-normal): Rename to
8598 window--resize-child-windows-normal.
8599 (window--resize-subwindows): Rename to
8600 window--resize-child-windows.
8601 (window-or-subwindow-p): Rename to window--in-subtree-p.
8602
3c6702ef
ML
86032011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8604
8605 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8606 Ensure that mbox format messages end in two newlines (Bug#9974).
8607
49745b39
CY
86082011-11-06 Chong Yidong <cyd@gnu.org>
8609
8610 * window.el (window-combination-p): Function deleted; its
8611 side-effect is not used in any existing code.
8612 (window-combinations, window-combined-p): Call window-*-child
8613 directly.
8614
24300f5f
CY
86152011-11-05 Chong Yidong <cyd@gnu.org>
8616
8617 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8618 (window-size-ignore, window-state-get): Callers changed.
8619 (window-normalize-window): Rename from window-normalize-any-window.
8620 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8621 (window-normalize-live-window): Delete.
447f16b8
CY
8622 (window-combination-p, window-combined-p, window-combinations)
8623 (walk-window-subtree, window-atom-root, window-min-size)
8624 (window-sizable, window-sizable-p, window-size-fixed-p)
8625 (window-min-delta, window-max-delta, window-resizable)
8626 (window-resizable-p, window-full-height-p, window-full-width-p)
8627 (window-current-scroll-bars, window-point-1, set-window-point-1)
8628 (window-at-side-p, window-in-direction, window-resize)
8629 (adjust-window-trailing-edge, maximize-window, minimize-window)
8630 (window-deletable-p, delete-window, delete-other-windows)
8631 (record-window-buffer, unrecord-window-buffer)
8632 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8633 (quit-window, split-window, window-state-put)
8634 (set-window-text-height, fit-window-to-buffer)
8635 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8636
89bd5ee1
EZ
86372011-11-04 Eli Zaretskii <eliz@gnu.org>
8638
53479029
EZ
8639 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8640 rfc2047-decode-string.
8641 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8642 warnings.
8643
89bd5ee1
EZ
8644 * window.el (window-body-height, window-body-width): Mention in
8645 the doc string that the return values are in frame's canonical
8646 units. (Bug#9949)
8647
bd17fdee
AM
86482011-11-03 Alan Mackenzie <acm@muc.de>
8649
8650 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8651 change in cc-engine.el.
8652
acc825c5
SM
86532011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8654
8655 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8656
1885e5b8
MR
86572011-11-02 Martin Rudalics <rudalics@gmx.at>
8658
8659 * window.el (quit-window): Call unrecord-window-buffer after
8660 showing another buffer in the window. (Bug#9937)
acc825c5 8661 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8662
ebe06da9
JB
86632011-11-02 Juanma Barranquero <lekktu@gmail.com>
8664
8665 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8666 Accept status with more than 9 shelves. (Bug#9935)
8667 Reported by Colin D Bennett <colin@gibibit.com>.
8668
4ee88440
MR
86692011-11-01 Martin Rudalics <rudalics@gmx.at>
8670
8671 * help.el (with-help-window): Don't reference
8672 temp-buffer-show-specifiers in doc-string.
8673
08e1d82c
AS
86742011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8675
8676 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8677 menu-item.
8678
84bd6e9e
VJL
86792011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8680
8681 * whitespace.el: New version 13.2.2.
8682 (whitespace-newline-mode): Disable properly. Reported by Sarah
8683 <EmacsWiki>.
8684
dba0634a
UJ
86852011-10-30 Ulf Jasper <ulf.jasper@web.de>
8686
8687 * net/newst-treeview.el: Remove "Time-stamp".
8688 (newsticker--group-manage-orphan-feeds): Do not call
8689 newsticker--treeview-tree-update.
db22a3c2
JB
8690 (newsticker-treeview-update, newsticker-treeview):
8691 Call newsticker--treeview-tree-update if necessary.
dba0634a 8692
3d8daefe
MR
86932011-10-30 Martin Rudalics <rudalics@gmx.at>
8694
8695 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8696 (window-iso-combinations): Remove "iso-" infix.
8697 Suggested by Chong Yidong.
3d8daefe
MR
8698 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8699 (window-max-delta-1, window-resize, window--resize-siblings)
8700 (window--resize-this-window, adjust-window-trailing-edge)
8701 (split-window, balance-windows-1)
8702 (shrink-window-if-larger-than-buffer):
8703 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8704 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8705
1bc4c3ae
SM
87062011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8709 in place (bug#9907).
8710 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8711 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8712 (eshell-structure-basic-command, eshell-rewrite-while-command)
8713 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8714 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8715 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8716 (eshell-do-pipelines-synchronously, eshell-eval-command):
8717 Use backquotes and prefer setq to set.
8718 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8719 (eshell-macrop): Use functionp.
c1e2f5fa 8720 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8721
30b65d9c
CY
87222011-10-30 Chong Yidong <cyd@gnu.org>
8723
8724 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8725 instead of set-mark (Bug#9810).
8726
2d197ffb
CY
87272011-10-30 Chong Yidong <cyd@gnu.org>
8728
8729 * window.el (split-window-below, split-window-right): Rename from
8730 split-window-above-each-other and split-window-side-by-side
8731 respectively. All callers changed.
8732 (split-window-sensibly, split-window-sensibly): Use them.
8733 (split-window-keep-point): Doc fix.
8734
8735 * isearch.el: Add isearch-scroll property to split-window-below
8736 and split-window-right.
8737
8738 * follow.el (follow-mode):
8739 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8740 * progmodes/ada-xref.el (ada-gdb-application):
8741 * emulation/vip.el (vip-buffer-in-two-windows):
8742 * image-dired.el (image-dired-dired-with-window-configuration):
8743 * dired-x.el (dired-do-find-marked-files):
8744 * dired.el (dired-pop-to-buffer):
8745 * bs.el (bs--show-with-configuration):
8746 * vc/emerge.el (emerge-setup-windows):
8747 * textmodes/two-column.el (2C-two-columns):
8748 * textmodes/reftex-toc.el (reftex-toc):
8749 * progmodes/gdb-mi.el (gdb-setup-windows):
8750 * progmodes/fortran.el (fortran-window-create):
8751 * net/newst-treeview.el (newsticker--treeview-window-init):
8752 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8753 * emulation/tpu-edt.el (tpu-gold-map):
8754 * emulation/crisp.el (crisp-mode-map):
8755 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8756
38bb2ca8
CY
87572011-10-29 Chong Yidong <cyd@gnu.org>
8758
aa4de341
CY
8759 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8760
e1eb5385
CY
8761 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8762
5d2ece3c
CY
8763 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8764 forged Ispell output (Bug#7904).
8765
38bb2ca8
CY
8766 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8767
d0af9f77
SM
87682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * doc-view.el: Avoid ugly errors about not finding nil.
8771 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8772 (doc-view-dvipdf-program, doc-view-unoconv-program)
8773 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8774 Avoid nil or absolute file name as default value.
8775 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8776
52bedd34
AM
87772011-10-28 Alan Mackenzie <acm@muc.de>
8778
db22a3c2 8779 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8780
7e43cfa5
AM
87812011-10-28 Alan Mackenzie <acm@muc.de>
8782
8783 Amend the handling of c-beginning/end-of-defun in nested declaration
8784 scopes.
8785
52bedd34
AM
8786 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8787 cc-langs.el. Change it to a defcustom.
7e43cfa5 8788
52bedd34
AM
8789 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8790 cc-vars.el.
7e43cfa5 8791
d0af9f77
SM
8792 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8793 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8794
52bedd34 8795 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8796 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8797 (c-widen-to-enclosing-decl-scope): New function.
8798 (c-while-widening-to-decl-block): New macro.
8799 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8800 outward for defun boundaries, and correspondingly change symbol
8801 `respect-enclosure' to `go-outward'.
8802 (c-declaration-limits): Change algorithm to report only the "innermost"
8803 defun's boundaries.
8804
1a2ce9ee
DD
88052011-10-28 Deniz Dogan <deniz@dogan.se>
8806
8807 * net/rcirc.el (rcirc-mode): Use hard newlines.
8808
bc97a826
AM
88092011-10-28 Alan Mackenzie <acm@muc.de>
8810
8811 Amend to indent and fontify macros "which include their own semicolon"
8812 correctly, using the "virtual semicolon" mechanism.
8813
52bedd34 8814 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8815
d0af9f77 8816 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8817 Recode to scan one line at a time rather than having \n and \r
58179cce 8818 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8819 (c-forward-label): Amend for virtual semicolons.
58179cce 8820 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8821
52bedd34
AM
8822 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8823 of the new C macros.
bc97a826 8824
52bedd34 8825 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8826 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8827 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8828 (c-opt-cpp-macro-define): Make into a full language variable.
8829 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8830 AWK Mode (including \n, \r) removed, no longer needed.
8831
d0af9f77
SM
8832 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8833 Invoke c-make-macro-with-semi-re.
bc97a826 8834
52bedd34
AM
8835 * progmodes/cc-vars.el (c-macro-with-semi-re):
8836 (c-macro-names-with-semicolon): New variables.
58179cce 8837 (c-make-macro-with-semi-re): New function.
bc97a826 8838
7a6c0941
SM
88392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * vc/log-edit.el: Fill empty field rather than adding new one.
8842 (log-edit-add-field): New function.
8843 (log-edit-insert-changelog): Use it.
8844
b0c4cdcf
ML
88452011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8846
8847 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8848
ee1f1da9
SM
88492011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8850
8851 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8852 (gdb--check-interpreter): New function.
8853 (gdb): Use it.
8854
51bc5f8b
GM
88552011-10-27 Glenn Morris <rgm@gnu.org>
8856
416a2c45
GM
8857 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8858 (least-positive-float, least-negative-float)
8859 (least-positive-normalized-float, least-negative-normalized-float)
8860 (float-epsilon, float-negative-epsilon):
8861 Remove unnecessary declarations.
8862
8863 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8864 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8865 (least-positive-float, least-negative-float)
8866 (least-positive-normalized-float, least-negative-normalized-float)
8867 (float-epsilon, float-negative-epsilon): Add doc-strings,
8868 based on those in cl.texi.
8869
51bc5f8b
GM
8870 * files.el (set-visited-file-name): If the major-mode changed,
8871 reload the local variables. (Bug#9796)
8872
15de15c6
CY
88732011-10-27 Chong Yidong <cyd@gnu.org>
8874
8875 * subr.el (change-major-mode-after-body-hook): New hook.
8876 (run-mode-hooks): Run it.
8877
ee1f1da9
SM
8878 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8879 Use change-major-mode-before-body-hook.
15de15c6
CY
8880
8881 * simple.el (fundamental-mode):
8882 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8883 change introducing fundamental-mode-hook.
8884
5430d399
JB
88852011-10-26 Juanma Barranquero <lekktu@gmail.com>
8886
acc825c5 8887 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8888
ad74a69e
MA
88892011-10-26 Michael Albinus <michael.albinus@gmx.de>
8890
8891 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8892 tramp.el explicitly. (Bug#7583)
ad74a69e 8893
71d4c2a5
SM
88942011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 * progmodes/octave-mod.el:
8897 * progmodes/octave-inf.el: Update maintainer.
8898
b1f6fa26
CY
88992011-10-26 Chong Yidong <cyd@gnu.org>
8900
8901 * subr.el (with-wrapper-hook): Rewrite doc.
8902
3f04efd6
MA
89032011-10-25 Michael Albinus <michael.albinus@gmx.de>
8904
8905 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8906 filenames "/method:foo:". (Bug#9793)
3f04efd6 8907
410488d3
SM
89082011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8911 (bug#9865).
8912
c1ebb47e
GM
89132011-10-24 Glenn Morris <rgm@gnu.org>
8914
8915 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8916
7f5c46c7
MA
89172011-10-24 Michael Albinus <michael.albinus@gmx.de>
8918
8919 * notifications.el: Add the requirement of a running D-Bus session
8920 bus to the Commentary.
8921
db2440b6
JL
89222011-10-24 Juri Linkov <juri@jurta.org>
8923
8924 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8925 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8926 (Bug#9364)
8927
feecf435
JL
89282011-10-24 Juri Linkov <juri@jurta.org>
8929
8930 * info.el (Info-following-node-name-re): Add newline to the list
8931 of allowed characters for leading space. (Bug#9824)
8932
a3839de2
SM
89332011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8934
acc825c5
SM
8935 * progmodes/octave-inf.el (inferior-octave-mode-map):
8936 Fix C-c C-h binding.
a3839de2
SM
8937 * progmodes/octave-mod.el (octave-help): Remove.
8938
09388e76
MA
89392011-10-23 Michael Albinus <michael.albinus@gmx.de>
8940
8941 Sync with Tramp 2.2.3.
8942
8943 * net/tramp-cache.el (top): Pacify byte-compiler using
8944 `init-file-user' and `site-run-file'.
8945
8946 * net/trampver.el: Update release number.
8947
86c60681
CY
89482011-10-23 Chong Yidong <cyd@gnu.org>
8949
8950 * files.el (toggle-read-only): Remove obsolete comment about
8951 version control.
8952
8953 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8954 for toggle-read-only. Note that this hasn't called vc-next-action
8955 since 2008-05-02, though it wasn't documented at the time.
8956
a3839de2
SM
8957 * vc/ediff-init.el (ediff-toggle-read-only-function):
8958 Use toggle-read-only.
86c60681 8959
cd5495ff
AM
89602011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8961
8962 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8963 of c-parse-state.
8964
00b77525 8965 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 8966 correct faulty logical expression.
cd5495ff
AM
8967 (c-parse-state-state, c-record-parse-state-state):
8968 (c-replay-parse-state-state): New defvar/defuns.
8969 (c-debug-parse-state): Use new functions.
8970
42ee24ed
MR
89712011-10-22 Martin Rudalics <rudalics@gmx.at>
8972
8973 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 8974 last fix. Use window-in-direction correctly.
42ee24ed 8975
a7dee7e7
CY
89762011-10-21 Chong Yidong <cyd@gnu.org>
8977
8978 * progmodes/idlwave.el (idlwave-mode):
8979 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
8980 require-final-newline; that's done in prog-mode.
8981 Suggested by Stefan Monnier.
a7dee7e7 8982
e07b9a6d
MR
89832011-10-21 Martin Rudalics <rudalics@gmx.at>
8984
8985 * mouse.el (mouse-drag-window-above)
8986 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
8987 (mouse-drag-mode-line-1, mouse-drag-header-line)
8988 (mouse-drag-vertical-line-rightward-window): Remove.
8989 (mouse-drag-line): New function.
8990 (mouse-drag-mode-line, mouse-drag-header-line)
8991 (mouse-drag-vertical-line): Call mouse-drag-line.
8992 * window.el (window-at-side-p, windows-at-side): New functions.
8993
7e1361d9
UM
89942011-10-21 Ulrich Mueller <ulm@gentoo.org>
8995
8996 * tar-mode.el (tar-grind-file-mode):
8997 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
8998
30fcaf3a
CY
89992011-10-21 Chong Yidong <cyd@gnu.org>
9000
9001 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9002 * progmodes/vera-mode.el (vera-mode):
9003 Use mode-require-final-newline.
30fcaf3a 9004
516eddb0
GM
90052011-10-20 Glenn Morris <rgm@gnu.org>
9006
db22a3c2 9007 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9008
10d5f513
CS
90092011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9010
9011 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9012
ac6c8639
CY
90132011-10-20 Chong Yidong <cyd@gnu.org>
9014
9015 * emulation/cua-base.el (cua-mode):
9016 * mail/footnote.el (footnote-mode):
9017 * mail/mailabbrev.el (mail-abbrevs-mode):
9018 * net/xesam.el (xesam-minor-mode):
9019 * progmodes/bug-reference.el (bug-reference-mode):
9020 * progmodes/cap-words.el (capitalized-words-mode):
9021 * progmodes/compile.el (compilation-minor-mode)
9022 (compilation-shell-minor-mode):
9023 * progmodes/gud.el (gud-tooltip-mode):
9024 * progmodes/hideif.el (hide-ifdef-mode):
9025 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9026 * progmodes/subword.el (subword-mode):
9027 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9028 * progmodes/which-func.el (which-function-mode):
9029 * term/tvi970.el (tvi970-set-keypad-mode):
9030 * term/vt100.el (vt100-wide-mode):
9031 * textmodes/flyspell.el (flyspell-mode):
9032 * textmodes/ispell.el (ispell-minor-mode):
9033 * textmodes/nroff-mode.el (nroff-electric-mode):
9034 * textmodes/paragraphs.el (use-hard-newlines):
9035 * textmodes/refill.el (refill-mode):
9036 * textmodes/reftex.el (reftex-mode):
9037 * textmodes/rst.el (rst-minor-mode):
9038 * textmodes/sgml-mode.el (html-autoview-mode)
9039 (sgml-electric-tag-pair-mode):
9040 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9041 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9042 * emulation/crisp.el (crisp-mode):
9043 * emacs-lisp/eldoc.el (eldoc-mode):
9044 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9045 minor mode behavior.
9046
aa42ab43
JL
90472011-10-19 Juri Linkov <juri@jurta.org>
9048
9049 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9050 the list of hard-coded chars with escape-glyph face.
9051
89400f1d
SM
90522011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9055
305c07f6
MA
90562011-10-19 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9059 running process.
9060
13754b54
GM
90612011-10-19 Glenn Morris <rgm@gnu.org>
9062
9063 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9064 Ignore ignored files. (Bug#9726)
9065
06e21633
CY
90662011-10-19 Chong Yidong <cyd@gnu.org>
9067
9068 Doc fix for minor modes, stating that an omitted argument enables
9069 the mode unconditionally when called from Lisp.
9070
9071 * abbrev.el (abbrev-mode):
9072 * allout.el (allout-mode):
9073 * autoinsert.el (auto-insert-mode):
9074 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9075 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9076 (global-auto-revert-mode):
9077 * battery.el (display-battery-mode):
9078 * composite.el (global-auto-composition-mode)
9079 (auto-composition-mode):
9080 * delsel.el (delete-selection-mode):
9081 * desktop.el (desktop-save-mode):
9082 * dired-x.el (dired-omit-mode):
9083 * dirtrack.el (dirtrack-mode):
9084 * doc-view.el (doc-view-minor-mode):
9085 * double.el (double-mode):
9086 * electric.el (electric-indent-mode, electric-pair-mode):
9087 * emacs-lock.el (emacs-lock-mode):
9088 * epa-hook.el (auto-encryption-mode):
9089 * follow.el (follow-mode):
9090 * font-core.el (font-lock-mode):
9091 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9092 * help.el (temp-buffer-resize-mode):
9093 * hilit-chg.el (highlight-changes-mode)
9094 (highlight-changes-visible-mode):
9095 * hi-lock.el (hi-lock-mode):
9096 * hl-line.el (hl-line-mode, global-hl-line-mode):
9097 * icomplete.el (icomplete-mode):
9098 * ido.el (ido-everywhere):
9099 * image-file.el (auto-image-file-mode):
9100 * image-mode.el (image-minor-mode):
9101 * iswitchb.el (iswitchb-mode):
9102 * jka-cmpr-hook.el (auto-compression-mode):
9103 * linum.el (linum-mode):
9104 * longlines.el (longlines-mode):
9105 * master.el (master-mode):
9106 * mb-depth.el (minibuffer-depth-indicate-mode):
9107 * menu-bar.el (menu-bar-mode):
9108 * minibuf-eldef.el (minibuffer-electric-default-mode):
9109 * mouse-sel.el (mouse-sel-mode):
9110 * msb.el (msb-mode):
9111 * mwheel.el (mouse-wheel-mode):
9112 * outline.el (outline-minor-mode):
9113 * paren.el (show-paren-mode):
9114 * recentf.el (recentf-mode):
9115 * reveal.el (reveal-mode, global-reveal-mode):
9116 * rfn-eshadow.el (file-name-shadow-mode):
9117 * ruler-mode.el (ruler-mode):
9118 * savehist.el (savehist-mode):
9119 * scroll-all.el (scroll-all-mode):
9120 * scroll-bar.el (scroll-bar-mode):
9121 * server.el (server-mode):
9122 * shell.el (shell-dirtrack-mode):
9123 * simple.el (auto-fill-mode, transient-mark-mode)
9124 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9125 (line-number-mode, column-number-mode, size-indication-mode)
9126 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9127 * strokes.el (strokes-mode):
9128 * time.el (display-time-mode):
9129 * t-mouse.el (gpm-mouse-mode):
9130 * tool-bar.el (tool-bar-mode):
9131 * tooltip.el (tooltip-mode):
9132 * type-break.el (type-break-mode-line-message-mode)
9133 (type-break-query-mode):
9134 * view.el (view-mode):
9135 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9136 (global-whitespace-mode, global-whitespace-newline-mode):
9137 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9138
a3839de2
SM
9139 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9140 Fix autogenerated docstring.
06e21633 9141
5214e501
JL
91422011-10-19 Juri Linkov <juri@jurta.org>
9143
9144 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9145 by checking environment variables "DESKTOP_SESSION" and
9146 "XDG_CURRENT_DESKTOP". (Bug#9779)
9147
195f8db9
JL
91482011-10-19 Juri Linkov <juri@jurta.org>
9149
9150 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9151 (browse-url-chromium-program, browse-url-chromium-arguments):
9152 New defcustoms.
9153 (browse-url-default-browser): Check for `browse-url-chromium' and
9154 call `browse-url-chromium-program'.
9155 (browse-url-chromium): New command. (Bug#9779)
9156
343a34ff
JB
91572011-10-18 Juanma Barranquero <lekktu@gmail.com>
9158
9159 * facemenu.el (list-colors-duplicates): On Windows, detect more
9160 duplicates by assuming that only colors matching "^System" are
9161 special "system colors". (Bug#9722)
9162
6978a151
SM
91632011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9166 to distinguish the author from the committer.
9167
6a80b297
MA
91682011-10-18 Michael Albinus <michael.albinus@gmx.de>
9169
9170 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9171
b31a5677
JK
91722011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9173
9174 * international/mule.el (sgml-html-meta-auto-coding-function):
9175 Add support for detecting encoding in HTML5 specified only as
9176 <meta charset="UTF-8">. Implementation just makes http-equiv and
9177 content-type parts from HTML4 encoding string optional. (Bug#9716)
9178
80c6d77f
GM
91792011-10-18 Glenn Morris <rgm@gnu.org>
9180
9181 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9182
08b0fee8
CY
91832011-10-18 Chong Yidong <cyd@gnu.org>
9184
9185 * faces.el (cursor): Doc fix.
9186
67e729a5
CY
91872011-10-17 Chong Yidong <cyd@gnu.org>
9188
9189 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9190
343a34ff 91912011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9192
9193 * dirtrack.el (dirtrack): Support shell buffers with path
9194 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9195
0bc06380
TZ
91962011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9197
9198 * json.el: Bump version to 1.3 and note change in History.
9199 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9200
8b79f3e0
SM
92012011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9202
5a7c536b
SM
9203 * comint.el (comint-insert-input, comint-send-input)
9204 (comint-get-old-input-default, comint-backward-matching-input)
9205 (comint-next-prompt): Use nil instead of `input' for field property of
9206 past user input (bug#114).
9207
96a8a0df
SM
9208 * minibuffer.el (completion--replace): Inherit surrounding properties
9209 (bug#114).
9210 (minibuffer-complete-and-exit): Use it.
9211
8b79f3e0
SM
9212 * comint.el (comint--table-subvert): Quote the all-completions output
9213 (bug#9160).
9214
b8f7ff0d
MR
92152011-10-17 Martin Rudalics <rudalics@gmx.at>
9216
8b79f3e0 9217 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9218
b8f7ff0d 9219 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9220 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9221 entries and separate them from frame entries.
9222
c235b555
GM
92232011-10-15 Glenn Morris <rgm@gnu.org>
9224
9225 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9226 Doc fixes.
9227
6bbfa6e1
CY
92282011-10-15 Chong Yidong <cyd@stupidchicken.com>
9229
8b79f3e0
SM
9230 * net/network-stream.el (network-stream-open-starttls):
9231 Improve detection of failure due to lack of TLS support.
ec5c990d 9232
6bbfa6e1
CY
9233 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9234 putting the input text in front and in bold.
9235
98488977
SM
92362011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9237
3d1337be
SM
9238 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9239
ee0b45e4
SM
9240 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9241 empty buffer.
9242
98488977
SM
9243 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9244 unread-command-events rather than pushing yet-another event.
9245
186f4720
EZ
92462011-10-14 Eli Zaretskii <eliz@gnu.org>
9247
9248 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9249 the explanation of the possible choices. Make the options passed
9250 to completing-read shorter.
9251
8b7a997c
AM
92522011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9253
9254 * textmodes/flyspell.el (flyspell-large-region): Make sure
9255 extended character mode is used if defined (Bug#1339).
9256
12587bbb
EZ
92572011-10-13 Eli Zaretskii <eliz@gnu.org>
9258
9259 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9260 character info for LRE, LRO, RLE, and RLO characters by appending
9261 an invisible PDF.
12587bbb 9262
bad41229
SM
92632011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9266 even in case of error; add debug spec; simplify data flow.
9267 (with-timeout-handler): Remove.
9268
28dbc92f
MA
92692011-10-12 Michael Albinus <michael.albinus@gmx.de>
9270
9271 Fix Bug#6019, Bug#9315.
9272
9273 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9274 complete `buffer-file-name', the local file name part could look
9275 remotely (for example on VMS).
9276
9277 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9278 `tramp-run-real-handler'.
9279 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9280 already quoted by '"'.
9281
9282 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9283 Let `file-name-handler-alist' be nil, the local file name part
9284 could look remotely (for example on VMS).
9285
e1b0b23a
SM
92862011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9289 from here...
9290 (flyspell-post-command-hook): ...to here.
9291
a120bde9
SM
92922011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9295 if not needed.
9296 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9297 using completion. Protect against "slow" callers.
9298 Remove the "message hack".
9299
7ce7717b
JL
93002011-10-11 Juri Linkov <juri@jurta.org>
9301
9302 * isearch.el (isearch-lazy-highlight-word): New variable.
9303 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9304 Use it. (Bug#9727)
9305
c02ee9d6
GM
93062011-10-11 Glenn Morris <rgm@gnu.org>
9307
9308 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9309 like f90-previous-statement does.
9310
93e616fd 93112011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9312
1f190e73 9313 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9314 only in interactive use, to avoid error.
9315
af7b6078
SM
93162011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * minibuffer.el (completion-file-name-table): Fix last change,
9319 i.e. ignore normal errors but not the other ones.
9320
0563dae9
MR
93212011-10-10 Martin Rudalics <rudalics@gmx.at>
9322
9323 * window.el (special-display-buffer-names)
9324 (special-display-regexps): Remove some remnants of earlier
9325 changes from doc-strings.
366ca7f3
MR
9326 (quit-windows-on): New function.
9327
9328 * vc/vc.el (vc-revert, vc-rollback):
9329 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9330 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9331 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9332
49677495
MR
93332011-10-09 Martin Rudalics <rudalics@gmx.at>
9334
9335 * window.el (frame-auto-hide-function): Add version tag.
9336 (Bug#9699)
9337
56f2d1e1
MA
93382011-10-09 Michael Albinus <michael.albinus@gmx.de>
9339
9340 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9341 condition.
9342
112a6592
LL
93432011-10-09 Leo Liu <sdl.web@gmail.com>
9344
9345 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9346 (Bug#9701)
9347
0812589b
GM
93482011-10-08 Glenn Morris <rgm@gnu.org>
9349
9350 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9351 before the first code statement zero indent. (Bug#9690)
9352
b2b0776e
CY
93532011-10-08 Chong Yidong <cyd@stupidchicken.com>
9354
9355 * simple.el (count-words-region): Always count in the region.
9356 Report the number of lines and characters too.
9357 (count-words): New command, which counts in the buffer if the
9358 region is inactive, as count-words-region used to.
9359 (count-words--message): New function. Handle plurals.
9360 (count-lines-region): Make it an alias for count-words-region.
9361
9362 * bindings.el (esc-map): Replace count-lines-region with
9363 count-words-region.
9364
c557cd6b
MR
93652011-10-08 Martin Rudalics <rudalics@gmx.at>
9366
9367 * window.el (window--delete): Delete dedicated frame
9368 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9369 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9370
61a57ef4 93712011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9372
3a7d293b 9373 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9374
c3833279
CY
93752011-10-07 Chong Yidong <cyd@stupidchicken.com>
9376
9377 * bindings.el ([M-left],[M-right]): Bind to left-word and
9378 right-word respectively.
9379
21ce8245
GM
93802011-10-07 Glenn Morris <rgm@gnu.org>
9381
9382 * cus-start.el (debug-on-quit): Fix custom type.
9383
6d823bb2
LMI
93842011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9385
0181e193
LMI
9386 * subr.el (define-key-after): Clarify that the function is not
9387 useful for non-menu keymaps.
9388
6d823bb2
LMI
9389 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9390
8e3459ce 93912011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9392
21ce8245 9393 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9394 in current minibuffer (Fix bug with recursive minibuffers).
9395
a1c2d21e
CY
93962011-10-06 Chong Yidong <cyd@stupidchicken.com>
9397
9398 * progmodes/gdb-mi.el (gdb): Doc fix.
9399
5a4cf282
MR
94002011-10-05 Martin Rudalics <rudalics@gmx.at>
9401
9402 * window.el (frame-auto-hide-function): New option replacing
9403 frame-auto-delete. Suggested by Stefan Monnier.
9404 (window--delete): Call frame-auto-hide-function instead of
9405 investigating frame-auto-delete.
c96111ea
MR
9406 (window-point-1, set-window-point-1): New functions.
9407 (window-in-direction, record-window-buffer, window-state-get-1)
9408 (display-buffer-record-window): Use window-point-1 instead of
9409 window-point.
9410 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9411
9854542e
SM
94122011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9415
8943cfb0
GM
94162011-10-05 Glenn Morris <rgm@gnu.org>
9417
9418 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9419 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9420
647ab967
LL
94212011-10-05 Leo Liu <sdl.web@gmail.com>
9422
9423 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9424 works with buffer object.
9425
3ddfbced
SM
94262011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9427
9428 * mpc.el (mpc-tool-bar-map): Add labels.
9429
bdfa5dd2
GM
94302011-10-04 Glenn Morris <rgm@gnu.org>
9431
9432 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9433
0e2070b5
MR
94342011-10-04 Martin Rudalics <rudalics@gmx.at>
9435
9436 * window.el (window--delete): New function.
9437 (frame-auto-delete): Resuscitate option.
9438 (bury-buffer, replace-buffer-in-windows)
9439 (quit-window): Rewrite using window--delete.
9440 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9441 Pass display-buffer-mark-dedicated to window--display-buffer-2
9442 (Bug#9639).
9443
3dc61a09
SM
94442011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9445
915a9b64
SM
9446 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9447 returns a list (bug#9554). Add remote file name completion.
9448 * comint.el (comint--table-subvert): Curry and get quote&unquote
9449 functions as arguments.
9450 (comint--complete-file-name-data): Adjust call accordingly.
9451 * pcomplete.el (pcomplete--table-subvert): Remove.
9452 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9453
3dc61a09
SM
9454 * minibuffer.el (completion-table-case-fold): Use currying.
9455 (completion--styles-type, completion--cycling-threshold-type):
9456 New constants.
9457 (completion-styles, completion-category-overrides)
9458 (completion-cycle-threshold): Use them.
9459 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9460 completion-table-case-fold.
9461
8ea0a993
SB
94622011-10-03 Stephen Berman <stephen.berman@gmx.net>
9463
9464 * minibuffer.el (completion-category-overrides): Fix type of styles
9465 and add more user friendly tags (bug#9660).
9466
8c24b7f6
SM
94672011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9470 (mule-input-method-string): New widget.
9471 (default-input-method, language-info-custom-alist): Use it.
9472
428fe61a
SM
94732011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9474
32c1fffd
SM
9475 * pcomplete.el: Require comint.
9476 (pcomplete--common-suffix): Remove.
9477 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9478 (pcomplete--table-subvert): Sync with comint--table-subvert.
9479 (pcomplete--entries): Use comint-completion-file-name-table.
9480 * comint.el (comint-unquote-filename): Simplify.
9481 (comint-completion-file-name-table): New function (bug#9616).
9482 (comint--complete-file-name-data): Use it.
9483
428fe61a
SM
9484 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9485 (pcmpl-gnu-tar-buffer): Remove.
9486 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9487 around. Make sure pcomplete-suffix-list is only changed temporarily.
9488 Don't look inside the tar's file if it's too large.
428fe61a 9489
04c52e2f
CY
94902011-10-01 Chong Yidong <cyd@stupidchicken.com>
9491
ce3cefcc
CY
9492 * cus-edit.el (custom-mode-map):
9493 * epa.el (epa-key-list-mode-map):
9494 * man.el (Man-mode-map):
9495 * startup.el (splash-screen-keymap):
9496 * simple.el (special-mode-map): Use scroll-up-command and
9497 scroll-down-command.
9498
9499 * progmodes/idlw-help.el (idlwave-help-mode-map):
9500 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9501 * net/newst-plainview.el (newsticker-mode-map):
9502 * emulation/ws-mode.el (wordstar-mode-map):
9503 * emulation/vi.el (vi-com-map):
9504 * calc/calc-graph.el (calc-graph-show-dumb):
9505 * term/sun.el (terminal-init-sun):
9506 * term/ns-win.el (global-map):
9507 * progmodes/grep.el (grep-mode-map):
9508 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9509 * mail/rmail.el (rmail-mode-map):
9510 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9511
04c52e2f
CY
9512 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9513 custom-safe-themes as special.
9514
79adf8c8
JD
95152011-10-01 Julien Danjou <julien@danjou.info>
9516
9517 * notifications.el (notifications-notify): Fix docstring.
9518
63bd50d3
PS
95192011-10-01 Per Starbäck <per@starback.se>
9520
9521 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9522
199e4c7e
MR
95232011-09-30 Martin Rudalics <rudalics@gmx.at>
9524
9525 * startup.el (command-line-1): Fix last fix by inserting
9526 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9527 (Bug#9605) and (Bug#9636)
199e4c7e 9528
fe5f08dd
EZ
95292011-09-29 Eli Zaretskii <eliz@gnu.org>
9530
9531 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9532 window is hscrolled, move by logical lines. (Bug#9607)
9533 (line-move-visual): Update the doc string to the above effect.
9534
b5516bbd
MR
95352011-09-29 Martin Rudalics <rudalics@gmx.at>
9536
ccee00c0
MR
9537 * window.el (display-buffer-record-window): When WINDOW is the
9538 selected window use `point' instead of `window-point'. (Bug#9626)
9539
b5516bbd
MR
9540 * startup.el (command-line-1): Use insert-before-markers when
9541 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9542
b5516bbd
MR
9543 * help.el (help-window): Remove variable.
9544
52aa0014
GM
95452011-09-29 Glenn Morris <rgm@gnu.org>
9546
9547 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9548
df9a7357
JB
95492011-09-29 Juanma Barranquero <lekktu@gmail.com>
9550
9551 * descr-text.el (describe-char-categories): Accept category
9552 descriptions more than one line long.
9553
a8406c20
SM
95542011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9555
88d9610c
SM
9556 * simple.el (delete-trailing-whitespace): Fix last change.
9557
a5daf810
SM
9558 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9559 Don't confuse "y => 3" as the beginning of a `y' operation.
9560
a8406c20
SM
9561 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9562 object has more than 4 slots (bug#9613).
9563
a239d4e9
JB
95642011-09-28 Juanma Barranquero <lekktu@gmail.com>
9565
9566 * subr.el (with-output-to-temp-buffer):
9567 * net/quickurl.el (quickurl, quickurl-browse-url):
9568 Fix typos in docstrings.
9569
693fbdb6
EZ
95702011-09-27 Eli Zaretskii <eliz@gnu.org>
9571
9572 * minibuffer.el (completion-styles)
9573 (completion-category-overrides): Cross reference each other in doc
9574 strings.
9575
8b457e28
GM
95762011-09-27 Glenn Morris <rgm@gnu.org>
9577
9578 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9579 to split-string. (Bug#9606)
9580
85a16208
LMI
95812011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9582
9583 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9584 (bug#9615).
9585
502f9ebd
CY
95862011-09-27 Chong Yidong <cyd@stupidchicken.com>
9587
9588 * emacs-lisp/package.el (list-packages): Fix echo area message.
9589
7690bdea
LL
95902011-09-27 Leo Liu <sdl.web@gmail.com>
9591
9592 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9593
e2ee6f30
MA
95942011-09-25 Michael Albinus <michael.albinus@gmx.de>
9595
9596 * net/dbus.el (dbus-unregister-object): Don't release services for
9597 registered signals. (Bug#9581)
9598
f3f98342
TZ
95992011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9600
9601 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9602 function that picks between cfengine 2 and 3 support
9603 automatically. Update docs accordingly.
9604
dd7aa8dd
KH
96052011-09-22 Kenichi Handa <handa@m17n.org>
9606
9607 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9608 ZERO.
9609 (indian-itrans-v5-table-for-tamil): New variable.
9610 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9611
3f2b07f8
KM
96122011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9613
9614 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9615 that's true if the current command involved collapsing of text.
9616 It's reset to false at the beginning of the next command.
9617 (allout-post-command-business): Move the cursor to the beginning
9618 of entry if the cursor is hidden and collapsing activity just
9619 happened.
9620
371d6a61
CY
96212011-09-24 Chong Yidong <cyd@stupidchicken.com>
9622
9623 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9624 tracking (Bug#9541).
9625
2ac2721a
UJ
96262011-09-24 Ulf Jasper <ulf.jasper@web.de>
9627
9628 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9629 (newsticker-show-news): Automatically load html rendering package
9630 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9631 because w3m-fill-column is let-bound" and the error "Symbol's value
9632 as variable is void: w3m-fill-column".
2ac2721a 9633
fac7ae53
MA
96342011-09-24 Michael Albinus <michael.albinus@gmx.de>
9635
9636 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9637 Release services only if they are defined. (Bug#9581)
9638
e08b633b
RS
96392011-09-23 Richard Stallman <rms@gnu.org>
9640
e488d29c
RS
9641 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9642 distinguish start of paragraph from start of its text.
9643
19c38752
RS
9644 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9645
e08b633b
RS
9646 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9647 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9648 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9649
0a39f27e
AS
96502011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9651
9652 * international/mule-diag.el (mule-diag): Insert a newline after
9653 each fontset description.
9654
db4e950d
SM
96552011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * simple.el (delete-trailing-whitespace):
9658 Document last change; simplify.
9659
eca3f3ea
PW
96602011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9661
d68e189a
PW
9662 * simple.el (delete-trailing-whitespace): Also delete
9663 extra newlines at the end of the buffer.
9664
eca3f3ea
PW
9665 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9666 (picture-newline): Use forward-line so as to ignore fields.
9667
01c157cc
SM
96682011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * subr.el (with-wrapper-hook): Fix edebug spec.
9671
022de23e
LMI
96722011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9673
9674 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9675 (bug#4538).
9676
91683089
MA
96772011-09-23 Michael Albinus <michael.albinus@gmx.de>
9678
eca3f3ea
PW
9679 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9680 Fix nasty bug using wrong cached values.
91683089 9681
5bdd6fa4
AM
96822011-09-23 Alan Mackenzie <acm@muc.de>
9683
9684 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9685
97adfb97
CY
96862011-09-23 Chong Yidong <cyd@stupidchicken.com>
9687
9688 * window.el (pop-to-buffer): Ensure right window is selected if we
9689 chose another frame.
9690
d4ef2b50
EZ
96912011-09-22 Eli Zaretskii <eliz@gnu.org>
9692
9693 * simple.el (what-cursor-position): Use get-char-property-change
9694 and next-single-char-property-change, to be able to show display
9695 properties that come from overlays as well as text properties.
9696
72258fe5
CY
96972011-09-22 Chong Yidong <cyd@stupidchicken.com>
9698
9699 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9700
9701 * cmuscheme.el (run-scheme, switch-to-scheme):
9702 * cus-edit.el (customize-group, custom-buffer-create)
9703 (customize-browse):
9704 * info.el (info):
9705 * shell.el (shell):
9706 * mail/sendmail.el (mail):
9707 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9708
8f098516
RS
97092011-09-22 Richard Stallman <rms@gnu.org>
9710
9711 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9712 move back only to line beg, don't move back over blank lines.
9713
e74f1bb6
MA
97142011-09-22 Michael Albinus <michael.albinus@gmx.de>
9715
9716 * files.el (copy-directory): Set directory attributes only in case
9717 they could be retrieved from the source directory. (Bug#9565)
9718
bfeef8b6
DK
97192011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9720
9721 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9722 (hs-find-block-beginning, hs-hide-level-recursive):
9723 Ignore strings as well as comments. (Bug#9502)
9724
7e423bb8
AS
97252011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9726
9727 * progmodes/sql.el (sql-comint-postgres):
9728 Convert port number to a string. (Bug#9566)
9729
b4d72fcf
MR
97302011-09-22 Martin Rudalics <rudalics@gmx.at>
9731
9732 * window.el (quit-window): Undedicate window when switching to
9733 previous buffer. Reported by Thierry Volpiatto
9734 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9735 (special-display-popup-frame): When popping up a new frame reset
9736 its previous buffers to nil. Simplify code.
b4d72fcf 9737
a7b88dc6
MA
97382011-09-21 Michael Albinus <michael.albinus@gmx.de>
9739
9740 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9741 and process filter, as done also in `shell-command'.
9742
cf4eacfd
MR
97432011-09-21 Martin Rudalics <rudalics@gmx.at>
9744
eca3f3ea 9745 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9746 Call set-window-start with NOFORCE argument t.
9747 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9748 (quit-window): Reword doc-string. Handle new format of
9749 quit-restore parameter. Don't delete window if it has a
9750 previous buffer we can show instead of the present one.
9751 (display-buffer-record-window): Rewrite using a new format for
9752 the quit-restore window parameter
9753 (special-display-popup-frame, display-buffer-same-window)
9754 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9755 (display-buffer-pop-up-window, display-buffer-use-some-window):
9756 Adapt symbol passed to display-buffer-record-window.
9757 * help.el (help-window-setup): Handle new format of quit-restore
9758 parameter.
9759
8d28cb95
SM
97602011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9761
94ab793f
SM
9762 * faces.el (face-list): Fix docstring (bug#9564).
9763
8d28cb95
SM
9764 * window.el (display-buffer--action-function-custom-type):
9765 Don't include internal functions in the Custom interface.
9766
3820edeb
JL
97672011-09-20 Juri Linkov <juri@jurta.org>
9768
9769 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9770 (Info-forward-node, Info-backward-node, Info-next-preorder)
9771 (Info-last-preorder): Use it. (Bug#9528)
9772
5147931d
JL
97732011-09-20 Juri Linkov <juri@jurta.org>
9774
9775 * info.el (Info-last-preorder): Visit last menu item only when
9776 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9777
cf499a1a
JD
97782011-09-20 Julien Danjou <julien@danjou.info>
9779
9780 * password-cache.el (password-cache-remove): Remove entries even if the
9781 value is nil, so that password with a nil value (negative caching) is
9782 possible to invalidate.
9783
f84e2fe2
LM
97842011-09-20 Lawrence Mitchell <wence@gmx.li>
9785
9786 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9787 all whitespace around breakpoint. (Bug#9553)
9788 (f90-find-breakpoint): Only break at whitespace inside a comment.
9789
78054a46
SM
97902011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * minibuffer.el (completion-file-name-table): Keep track of errors.
9793 (completion-table-with-predicate): Handle the case where pred1 is nil.
9794 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9795
345083b2
SM
97962011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9797
e24e27be
SM
9798 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9799 (debugger-return-value): Signal an error if the debugging context does
9800 not await any return value.
9801
345083b2
SM
9802 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9803 * image-mode.el (image-toggle-display-text)
9804 (image-toggle-display-image): Stay away from evil `intangible'.
9805
08d355e3
LL
98062011-09-19 Leo Liu <sdl.web@gmail.com>
9807
9808 * replace.el (occur-revert-arguments): Make it permanent-local.
9809 (occur-mode): Don't call font-lock-defontify.
9810
f01da43f
CY
98112011-09-19 Chong Yidong <cyd@stupidchicken.com>
9812
9813 * net/ldap.el (ldap-search-internal): Don't push empty search
9814 result (Bug#9508).
9815
b6072fa6
SM
98162011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9819
443d6696
MA
98202011-09-19 Michael Albinus <michael.albinus@gmx.de>
9821
9822 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9823 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9824
7cc6e154
JL
98252011-09-18 Juri Linkov <juri@jurta.org>
9826
9827 * buff-menu.el (Buffer-menu-mode-map):
9828 * dired.el (dired-mode-map):
9829 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9830 (lisp-interaction-mode-map):
9831 * emacs-lisp/package.el (package-menu-mode-map):
9832 * epa.el (epa-key-list-mode-map):
9833 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9834 (menu-bar-options-menu):
9835 * outline.el (outline-mode-menu-bar-map):
9836 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9837 * vc/vc-dir.el (vc-dir-menu-map):
9838 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9839 Capitalize non-function content words in menu item strings.
9840
9841 * dired.el (dired-mode-map): Add menu item for
9842 `image-dired-dired-toggle-marked-thumbs'.
9843
80302a81
JL
98442011-09-18 Juri Linkov <juri@jurta.org>
9845
9846 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9847 to `isearch-case-fold-search' and restore its original value
9848 after the `isearch-mode' call.
9849
46c5cf66
JL
98502011-09-18 Juri Linkov <juri@jurta.org>
9851
9852 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9853 because `zgrep' returns 1 for successful matches (bug#9226).
9854
d18b513b
JL
98552011-09-18 Juri Linkov <juri@jurta.org>
9856
9857 * info.el (Info-extract-menu-node-name): Check the second match
9858 for empty string (second test-case of bug#9528).
9859 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9860 intermediate nodes to the history (first test-case of bug#9528).
9861
72753f87
JL
98622011-09-18 Juri Linkov <juri@jurta.org>
9863
9864 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9865 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9866
c9384295
JL
98672011-09-18 Juri Linkov <juri@jurta.org>
9868
1154d12e
JB
9869 * info.el (Info-file-supports-index-cookies):
9870 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9871 outputs one more line for long file names (bug#4142).
c9384295 9872
d473dce8
CY
98732011-09-18 Chong Yidong <cyd@stupidchicken.com>
9874
9875 * newcomment.el (comment-normalize-vars): If prompting for
9876 comment-start, set comment-start-skip too (Bug#8424).
9877
2176854d
JB
98782011-09-18 Johan Bockgård <bojohan@gnu.org>
9879
9880 * icomplete.el: Fix previous fix of Bug#5849.
9881 (icomplete-mode): Don't set completion-show-inline-help.
9882 (icomplete-minibuffer-setup): Set completion-show-inline-help
9883 locally during icompletion.
9884
3aace4e4
CY
98852011-09-18 Chong Yidong <cyd@stupidchicken.com>
9886
c940224f
CY
9887 * woman.el (woman2-process-escapes): Don't delete unrecognized
9888 escapes (Bug#7843).
9889
3aace4e4
CY
9890 * files.el (inhibit-first-line-modes-regexps): Add image files.
9891 (hack-local-variables-prop-line): Return nil for malformed
9892 prop-lines (Bug#9044).
9893
710dec63
MA
98942011-09-18 Michael Albinus <michael.albinus@gmx.de>
9895
9896 * net/tramp.el (top): Don't require 'shell.
9897 (tramp-methods): Fix docstring.
9898 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9899 Return complete remote file name. Handle "smb" case.
9900 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9901 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9902
9903 * net/tramp-compat.el (top): Require 'shell.
9904
9905 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9906 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9907 `tramp-current-host'.
9908 (tramp-get-remote-tmpdir): Remove.
9909
9910 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9911 `tramp-tmpdir' entries.
9912 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9913 (tramp-smb-handle-file-attributes): Ignore errors.
9914 (tramp-smb-wait-for-output): Check also for process end.
9915
5d5ac8ec
LMI
99162011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9917
9918 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9919 when sending QUIT (bug#9312).
9920
8c0f49f0
CY
99212011-09-17 Chong Yidong <cyd@stupidchicken.com>
9922
9923 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9924 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9925 occur-mode-display-occurrence.
9926 (occur-edit-mode): Add usage message.
9927 (occur-cease-edit): New command.
9928 (occur-after-change-function): Use text properties to find the
9929 position of the prefix text.
9930 (occur-engine): Set stickiness of prefix text properties.
9931
8f1383f7
GM
99322011-09-17 Glenn Morris <rgm@gnu.org>
9933
9934 * progmodes/etags.el (complete-tag):
9935 Fix call to completion-in-region. (Bug#9526)
9936
744ba0e3
JL
99372011-09-17 Juri Linkov <juri@jurta.org>
9938
9939 * textmodes/ispell.el (ispell-word): Add to the error message
9940 the word, ispell program name and current dictionary (bug#9121).
9941 (ispell-tex-arg-end): Capitalize "error" in the error message.
9942
d9bbf400
AS
99432011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9944
9945 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9946 check. (Bug#4251)
9947
8da11505
JL
99482011-09-17 Juri Linkov <juri@jurta.org>
9949
9950 * window.el (window-safe-min-height, window-safe-min-width):
9951 Fix typos (followup to bug#9522).
9952
a91adc7e
SJ
99532011-09-17 Sven Joachim <svenjoac@gmx.de>
9954
9955 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9956
064f328a
EZ
99572011-09-16 Eli Zaretskii <eliz@gnu.org>
9958
9959 * simple.el (line-move): If goal-column is set, move by logical
9960 lines, not by display lines. (Bug#971)
9961 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9962 to reflect the above change.
9963
e69df516
SM
99642011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * image.el (imagemagick-register-types): Use regexp-opt.
9967
cbb0f9ab
CY
99682011-09-15 Chong Yidong <cyd@stupidchicken.com>
9969
9970 * window.el (display-buffer-base-action): Rename from
9971 display-buffer-default-action. Make default value empty.
9972 (display-buffer-overriding-action): Convert to defvar.
9973 (display-buffer-fallback-action): New var.
9974
25322144
CY
99752011-09-15 Chong Yidong <cyd@stupidchicken.com>
9976
9977 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
9978 declaration.
9979 (package--add-to-archive-contents): If there is a duplicate entry
9980 with an older version, remove it.
9981 (package-menu-mark-delete, package-menu-mark-install)
9982 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
9983 (package-menu-mark-obsolete-for-deletion):
9984 Use package-menu-get-status instead of a regexp search.
25322144
CY
9985 (package-menu-get-status): Use tabulated-list-entry.
9986 (package-menu-mark-upgrades): New command.
d770725a 9987 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
9988 (package-menu-execute): Do installation before deletion.
9989 (package-menu-refresh, package-menu-execute): Use derived-mode-p
9990 instead of checking major-mode.
9991 (package-menu--find-upgrades): New function.
9992
7520339c
LMI
99932011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9994
9995 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
9996 passwords in the log buffer.
65a046c4
LMI
9997 (smtpmail-process-filter): Update the process marker so that the
9998 "broken by peer" status message is inserted in the right place.
7520339c 9999
d3c30954
SM
100002011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10001
3fe48822
SM
10002 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10003 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10004 bibtex-completion-at-point-function.
10005 (bibtex-completion-at-point-function): Use them.
10006
1b8b3954
SM
10007 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10008
d3c30954
SM
10009 * mpc.el (mpc-constraints-tag-lookup): New function.
10010 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10011 also to browser "album|playlist".
10012
72779976
JL
100132011-09-14 Juri Linkov <juri@jurta.org>
10014
10015 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10016 (isearch-edit-string): Use length of `isearch-string' when
10017 `isearch-fail-pos' returns nil.
10018 (isearch-message): Remove duplicate code and call
10019 `isearch-fail-pos' with arg `t'.
10020
a0bf2bcd
CY
100212011-09-14 Chong Yidong <cyd@stupidchicken.com>
10022
17bb0a2d
CY
10023 * replace.el (occur-mode-goto-occurrence): Don't force using other
10024 window (Bug#9499).
10025
a0bf2bcd
CY
10026 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10027
f678e0b6
MR
100282011-09-14 Martin Rudalics <rudalics@gmx.at>
10029
10030 * window.el (display-buffer-window): Remove.
10031 (display-buffer-record-window): Use help-setup window parameter
10032 instead of variable display-buffer-window.
10033 (display-buffer-function, special-display-buffer-names)
10034 (special-display-function): Mention help-setup parameter instead
10035 of display-buffer-window in doc-string.
d3c30954
SM
10036 * help.el (help-window-setup): New argument help-window.
10037 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10038 Reword some messages.
10039 (with-help-window): Pass window used for displaying the buffer
10040 to help-window-setup. Don't set display-buffer-window.
10041
8e39b2e8
GM
100422011-09-13 Glenn Morris <rgm@gnu.org>
10043
10044 * emacs-lisp/debug.el (debugger-make-xrefs):
10045 Preserve point. (Bug#9462)
10046
85e9c04b
CY
100472011-09-13 Chong Yidong <cyd@stupidchicken.com>
10048
10049 * window.el (window-deletable-p): Use next-frame.
10050
1b36ed6a
MR
100512011-09-13 Martin Rudalics <rudalics@gmx.at>
10052
10053 * window.el (window-auto-delete): Remove.
10054 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10055 dedication and previous buffers.
1b36ed6a
MR
10056 (switch-to-prev-buffer): Don't delete window.
10057 (delete-windows-on): Delete a window's frame if and only if the
10058 window is dedicated.
10059 (replace-buffer-in-windows): Delete buffer's window or frame if
10060 and only if window is dedicated.
10061 (quit-window): Handle quit-restore as before last change.
4d61f28d 10062 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10063
ef8ef9fb
CY
100642011-09-13 Chong Yidong <cyd@stupidchicken.com>
10065
10066 * window.el (window-deletable-p): Never delete the last frame on a
10067 given terminal.
10068
b2cba41e
GM
100692011-09-13 Glenn Morris <rgm@gnu.org>
10070
10071 * help.el (describe-key-briefly): Copy previous standard-output change.
10072
51553db6 100732011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10074
10075 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10076
b7556719
GM
100772011-09-13 Glenn Morris <rgm@gnu.org>
10078
10079 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10080 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10081
64b51947
CY
100822011-09-12 Chong Yidong <cyd@stupidchicken.com>
10083
10084 * dired-aux.el (dired-mark-read-string): Don't return default
10085 value on empty input (Bug#9361).
10086 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10087 Omit initial minibuffer contents.
10088 (dired-do-chmod): Signal an error on empty input.
10089 (dired-mark-read-string): Don't return default on empty input.
10090
10091 * files.el (file-modes-symbolic-to-number): Doc fix.
10092
393a301e
SM
100932011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10094
10095 * international/mule-cmds.el (ucs-completions): Remove.
10096 (read-char-by-name): Use complete-with-action instead; add metadata.
10097
fa5660f9
CY
100982011-09-11 Chong Yidong <cyd@stupidchicken.com>
10099
10100 * window.el (display-buffer--action-function-custom-type)
10101 (display-buffer--action-custom-type): New vars.
10102 (display-buffer-alist, display-buffer-default-action)
10103 (display-buffer-overriding-action): Add defcustom types.
10104
4a592f66
CY
10105 * frame.el (delete-other-frames): Doc fix (Bug#276).
10106
73d56dbd
LMI
101072011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10108
10109 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10110
37ac18a3
CY
101112011-09-11 Chong Yidong <cyd@stupidchicken.com>
10112
10113 Change modes that used same-window-* vars to use switch-to-buffer.
10114
10115 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10116 Use switch-to-buffer.
10117
10118 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10119 (customize-browse, custom-buffer-create-other-window):
10120 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10121
10122 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10123 (Info-prev, Info-up, Info-speedbar-goto-node)
10124 (info-display-manual): Use switch-to-buffer.
10125 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10126
10127 * mail/sendmail.el (mail): Use switch-to-buffer.
10128 (mail-recover): Use switch-to-buffer-other-window.
10129
10130 * cmuscheme.el (run-scheme, switch-to-scheme):
10131 * ielm.el (ielm):
10132 * shell.el (shell):
10133 * net/rlogin.el (rlogin):
10134 * net/telnet.el (telnet, rsh):
10135 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10136
10195bd6
AS
101372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10138
10139 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10140
b322f63a
LMI
101412011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10142
39d7fed6
LMI
10143 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10144 so don't mention it (bug#9301).
ba5a81f1 10145 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10146
ee0e9f11
LMI
10147 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10148 match `x', `w32' and `ns', like the manual says (bug#9029).
10149
0b1c89c1 10150 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10151 (process-kill-buffer-query-function): Mention the buffer name in
10152 the query.
0b1c89c1 10153
77549ea8
LMI
10154 * image-mode.el (image-next-line): The line parameter is mandatory
10155 (bug#9258).
10156
803ef892
LMI
10157 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10158 which can be useful (bug#9301).
10159
12980837
LMI
10160 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10161
91054f8f
LMI
10162 * subr.el (match-string): Mention that the current buffer should
10163 be the same as the search was done in (bug#9282).
10164
b322f63a
LMI
10165 * facemenu.el: Disable the remove-* commands if the mark isn't
10166 active (bug#9162).
10167
3199b96f
CY
101682011-09-10 Chong Yidong <cyd@stupidchicken.com>
10169
10170 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10171 of display-buffer.
10172 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10173
10174 * replace.el (occur-mode-goto-occurrence)
10175 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10176 and display-buffer.
10177
10178 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10179 display-buffer.
10180
10181 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10182 special-display and same-window variables.
10183 (mail-other-window): Use switch-to-buffer-other-window.
10184 (mail-other-frame): USe switch-to-buffer-other-frame.
10185
393a301e
SM
10186 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10187 Use display-buffer-other-frame.
3199b96f
CY
10188 (gdb-display-gdb-buffer): Use pop-to-buffer.
10189
10190 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10191
10192 * progmodes/python.el: Don't set same-window-buffer-names.
10193
10194 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10195
10196 * window.el (display-buffer-alist): Add *Python*.
10197
8319e0bf
CY
101982011-09-10 Chong Yidong <cyd@stupidchicken.com>
10199
10200 * window.el (display-buffer-alist): Add entry for buffers
10201 previously handled same-window-*.
10202 (display-buffer-alist, display-buffer-default-action)
10203 (display-buffer-overriding-action): Mark as risky.
10204 (display-buffer-alist): Document action function changes.
10205 (display-buffer--same-window-action)
10206 (display-buffer--other-frame-action): New variables.
10207 (switch-to-buffer, display-buffer-other-frame): Use them.
10208 (display-buffer): Rename reuse-frame entry to reusable-frames.
10209 (display-buffer-reuse-selected-window): Function deleted.
10210 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10211 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10212 (display-buffer-special): New function.
10213 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10214 display-buffer-reuse-or-pop-window. Split off special-display
10215 part into display-buffer-special.
10216 (display-buffer-use-some-window): Don't perform any special
10217 pop-up-frames handling.
10218 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10219 (display-buffer--maybe-same-window): Rename from
0d3ff375 10220 display-buffer-maybe-same-window.
8319e0bf 10221
919a69aa
CY
10222 * info.el: Don't set same-window-regexps.
10223 (info-setup): New function.
10224 (info-other-window, info): Call it.
10225
10226 * cus-edit.el: Don't set same-window-regexps.
10227 (customize-group): New argument.
10228 (customize-group-other-window): Use it.
10229 (customize-face, customize-face-other-window): Likewise.
10230 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10231
8319e0bf
CY
10232 * net/rlogin.el:
10233 * net/telnet.el:
10234 * progmodes/gud.el: Don't set same-window-regexps.
10235
10236 * cmuscheme.el:
10237 * ielm.el:
10238 * shell.el:
10239 * mail/sendmail.el:
10240 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10241
25173000
JL
102422011-09-10 Juri Linkov <juri@jurta.org>
10243
10244 * isearch.el (isearch-edit-string): Remove obsolete mention of
10245 `C-w' (`isearch-yank-word-or-char') from docstring.
10246 (isearch-query-replace): Fix typo in docstring (bug#9466).
10247
056e44ef
JL
102482011-09-10 Juri Linkov <juri@jurta.org>
10249
10250 * paren.el (show-paren-function): Don't show escaped parens.
10251 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10252
c3760c17
EZ
102532011-09-10 Eli Zaretskii <eliz@gnu.org>
10254
10255 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10256 (mm-default-file-encoding): Remove autoload forms, they are
10257 replaced with autoload cookies in mml.el and mm-encode.el.
10258 (mail-add-attachment): New command.
10259 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10260 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10261 the doc string.
10262 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10263
fece895e
RT
102642011-09-10 Reuben Thomas <rrt@sc3d.org>
10265
e69df516
SM
10266 * simple.el (count-words-region): Use buffer if there's no region
10267 (bug#9429).
fece895e 10268
5e68ce4a
JL
102692011-09-09 Juri Linkov <juri@jurta.org>
10270
10271 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10272 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10273 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10274
0a6b9622
AM
102752011-09-09 Alan Mackenzie <acm@muc.de>
10276
10277 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10278 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10279
14a29deb
EZ
102802011-09-09 Eli Zaretskii <eliz@gnu.org>
10281
10282 Fix for Savannah bug#9392.
10283 * simple.el (mail-encode-mml): New defvar.
10284
10285 * mail/rmail.el (mail-encode-mml): Add a defvar.
10286 (rmail-enable-mime-composing): Default to t.
10287 (rmail-forward): Use MIME method of forwarding only if both
10288 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10289 Set mail-encode-mml non-nil if the MIME method was used.
10290
10291 * mail/sendmail.el (mml-to-mime): Add autoload form.
10292 (mail-encode-mml): Add a defvar.
10293 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10294 to nil.
10295 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10296 message through mml-to-mime, and reset mail-encode-mml to nil.
10297
28c45130
GM
102982011-09-09 Glenn Morris <rgm@gnu.org>
10299
10300 * woman.el (woman-if-body): When processing an .el block,
10301 do not delete the next .el block as well. (Bug#9447)
69f4b618 10302 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10303
9b1c252e
MR
103042011-09-08 Martin Rudalics <rudalics@gmx.at>
10305
10306 * window.el (window-deletable-p): Make sure window is live before
10307 invoking window-prev-buffers.
10308
567457e3
LL
103092011-09-08 Leo Liu <sdl.web@gmail.com>
10310
10311 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10312
97f05794
JL
103132011-09-08 Juri Linkov <juri@jurta.org>
10314
10315 * progmodes/compile.el (compilation-environment): Make it
10316 a defcustom (bug#8340).
10317
8b0874b5
MR
103182011-09-08 Martin Rudalics <rudalics@gmx.at>
10319
10320 * window.el (frame-auto-delete): Rename to window-auto-delete.
10321 Make it control auto-deletion of windows and/or frames.
10322 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10323 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10324 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10325 Rewrite handling of case when window/frame can be deleted.
10326 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10327 argument t. (Bug#9456)
8b0874b5 10328
4feb6e73
CY
103292011-09-07 Chong Yidong <cyd@stupidchicken.com>
10330
10331 * help-mode.el (help-mode): Restore autoload.
10332
91ab9c13
JL
103332011-09-07 Juri Linkov <juri@jurta.org>
10334
10335 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10336 `compilation-environment'. Set buffer-local
10337 `compilation-environment' to `thisenv' later after (funcall mode).
10338 (Bug#8340)
10339
10340 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10341 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10342 instead of replacing its value. (Bug#8340)
10343
0527e251
JL
103442011-09-07 Juri Linkov <juri@jurta.org>
10345
10346 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10347 based on text properties put by `grep-filter' instead of matching
10348 escape sequences.
10349 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10350 to the value of `grep-error-screen-columns' (bug#9438).
10351
249f792c
JL
103522011-09-07 Juri Linkov <juri@jurta.org>
10353
10354 * simple.el (next-error-highlight, next-error-highlight-no-select):
10355 Doc fix (bug#9432).
10356
ff7271b9
OT
103572011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10358
10359 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10360 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10361
183fc730
LL
103622011-09-07 Leo Liu <sdl.web@gmail.com>
10363
10364 * net/rcirc.el (rcirc-mode): Conditionally initialize
10365 rcirc-input-ring.
10366
77694924
SM
103672011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * emacs-lisp/find-func.el (find-function-C-source): Only set
10370 find-function-C-source-directory after checking that we found a source
10371 file there (bug#9440).
10372
d809b8eb
AM
103732011-09-06 Alan Mackenzie <acm@muc.de>
10374
10375 * isearch.el (isearch-other-meta-char): Wherever a key list is
10376 unread, "unread" the prefix arg, too. This fixes bug #8901.
10377
453de99f
OG
103782011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10379
10380 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10381
90439906
JL
103822011-09-05 Juri Linkov <juri@jurta.org>
10383
10384 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10385
f62bd846
JL
103862011-09-05 Juri Linkov <juri@jurta.org>
10387
10388 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10389 keeping point where processing of grep matches begins, and
10390 continue to delete remaining escape sequences from the same point.
10391 (grep-filter): Make leading zero optional in "0?1;31m" because
10392 git-grep emits "\033[1;31m" escape sequences unlike expected
10393 "\033[01;31m" as GNU Grep does (bug#9408).
10394 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10395
045820ec
JL
103962011-09-05 Juri Linkov <juri@jurta.org>
10397
10398 * subr.el (y-or-n-p): Capitalize "yes".
10399
f5e29b9b
MA
104002011-09-04 Michael Albinus <michael.albinus@gmx.de>
10401
10402 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10403 `tramp-cache-unload-hook' where appropriate.
10404 (tramp-methods): Rename `tramp-remote-sh' to
10405 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10406 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10407
10408 * net/tramp-sh.el (top): Don't require 'shell.
10409 (tramp-methods): Add `tramp-remote-shell' and
10410 `tramp-remote-shell-args' entries.
10411 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10412 (tramp-sh-handle-shell-command): Remove.
10413 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10414 Use `tramp-remote-shell'.
10415
2784c434
CY
104162011-09-03 Chong Yidong <cyd@stupidchicken.com>
10417
393a301e 10418 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10419 (sendmail-query-once): Save directly to send-mail-function.
10420 Update message-send-mail-function too.
10421
10422 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10423
464cdf56
CS
104242011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10425
10426 * progmodes/python.el (python-mode-map): Use correct function to
10427 start python interpreter from menu-bar (as reported by Geert
10428 Kloosterman).
10429 (inferior-python-mode-map): Fix typo.
393a301e 10430 (python-shell-map): Remove.
464cdf56 10431
d37e5c87
DD
104322011-09-03 Deniz Dogan <deniz@dogan.se>
10433
10434 * net/rcirc.el (rcirc-print): Simplify code for
10435 rcirc-scroll-show-maximum-output. There is no need to walk
10436 through all windows to find the right one.
10437
f3ada0ee
CS
104382011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10439
10440 * help.el (help-return-method): Doc fix.
10441
1f3c99ca
MR
104422011-09-03 Martin Rudalics <rudalics@gmx.at>
10443
10444 * window.el (window-deletable-p): Don't return a non-nil value
10445 when there's a buffer that was shown in the window before.
10446 (Bug#9419)
393a301e
SM
10447 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10448 Set window's previous buffers to nil.
1f3c99ca 10449
a3cf097f
EZ
104502011-09-03 Eli Zaretskii <eliz@gnu.org>
10451
10452 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10453 newline before and after the tag line, so it doesn't interfere
10454 with determining the paragraph direction of bidirectional text.
10455
3d03de90
LL
104562011-09-03 Leo Liu <sdl.web@gmail.com>
10457
10458 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10459
c3313451
CY
104602011-09-02 Chong Yidong <cyd@stupidchicken.com>
10461
393a301e 10462 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10463 (pop-to-buffer): Change interactive spec. Pass second argument
10464 directly to display-buffer.
10465 (display-buffer): Fix interactive spec. Use functionp to
10466 distinguish between a function and a list of functions.
10467
10468 * abbrev.el (edit-abbrevs):
10469 * arc-mode.el (archive-extract):
10470 * autoinsert.el (auto-insert):
10471 * bookmark.el (bookmark-bmenu-list):
10472 * files.el (find-file):
10473 * view.el (view-buffer):
10474 * progmodes/compile.el (compilation-goto-locus):
10475 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10476
89894cd8
CY
104772011-09-02 Chong Yidong <cyd@stupidchicken.com>
10478
10479 * window.el (display-buffer-alist): Doc fix.
10480 (display-buffer): Add docstring. Don't treat
10481 display-buffer-default specially.
10482 (display-buffer-reuse-selected-window)
10483 (display-buffer-same-window, display-buffer-maybe-same-window)
10484 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10485 (display-buffer-pop-up-window)
10486 (display-buffer-reuse-or-pop-window)
10487 (display-buffer-use-some-window): New functions.
10488 (display-buffer-default-action): Use them.
393a301e 10489 (display-buffer-default): Delete.
89894cd8
CY
10490 (pop-to-buffer-1): Fix choice of actions.
10491
ae0bc9fb
SM
104922011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10493
10494 * minibuffer.el (completion--insert-strings): Don't get confused by
10495 completion entries that end with an LF char.
10496
e9d90883
EZ
104972011-09-01 Eli Zaretskii <eliz@gnu.org>
10498
10499 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10500
437014c8
CY
105012011-09-01 Chong Yidong <cyd@stupidchicken.com>
10502
10503 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10504 (display-buffer-same-window, display-buffer-other-window):
10505 New functions.
437014c8
CY
10506 (pop-to-buffer-1): New function. Use the above.
10507 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10508 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10509
10510 * view.el (view-buffer-other-window, view-buffer-other-frame):
10511 Just use pop-to-buffer.
10512
a5e063d5
TV
105132011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10514
10515 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10516
793d32bb
WH
105172011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10518
10519 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10520
d65e4c15
RS
105212011-08-31 Richard Stallman <rms@gnu.org>
10522
10523 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10524 of the separation of rmail-view-buffer from rmail-buffer.
10525 If you say no to "replace original", the decrypt is in the
10526 view buffer. If you say yes, the decrypt goes into the
10527 rmail buffer also.
10528
f818cd2a
MR
105292011-08-31 Martin Rudalics <rudalics@gmx.at>
10530
10531 * window.el (display-buffer-window): Rewrite doc-string.
10532 (display-buffer-record-window): New function.
10533 (display-buffer-macro-specifiers)
10534 (display-buffer-even-window-sizes, display-buffer-set-height)
10535 (display-buffer-set-width, display-buffer-in-window)
10536 (display-buffer-reuse-window, display-buffer-split-specifiers)
10537 (display-buffer-side-specifiers, display-buffer-split-window-1)
10538 (display-buffer-split-window, display-buffer-split-atom-window)
10539 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10540 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10541 (display-buffer-other-window-means-other-frame)
10542 (display-buffer-normalize-special)
10543 (display-buffer-normalize-default)
10544 (display-buffer-normalize-argument)
10545 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10546 (display-buffer-normalize-specifiers, display-buffer-frame)
10547 (display-buffer-same-window, display-buffer-same-frame)
10548 (display-buffer-other-window)
10549 (display-buffer-same-frame-other-window)
10550 (display-buffer-other-frame, pop-to-buffer-same-window)
10551 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10552 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10553 (switch-to-buffer-same-frame)
10554 (switch-to-buffer-other-window-same-frame)
10555 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10556 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10557 (display-buffer-alist-set): Remove.
10558 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10559 (special-display-regexps, special-display-function):
10560 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10561 parameter.
10562 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10563 (special-display-frame-alist, special-display-popup-frame)
10564 (same-window-buffer-names, same-window-regexps, same-window-p)
10565 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10566 (split-window-preferred-function, split-height-threshold)
10567 (split-width-threshold, window-splittable-p)
10568 (split-window-sensibly, window--try-to-split-window)
10569 (window--frame-usable-p, even-window-heights)
10570 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10571 (window--display-buffer-2, display-buffer-other-frame):
10572 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10573 (display-buffer-default, display-buffer-assq-regexp): New functions.
10574 (display-buffer-alist): Rewrite doc-string.
10575 (display-buffer-default-action)
10576 (display-buffer-overriding-action): New variables.
10577 (display-buffer, switch-to-buffer): Rewrite.
10578 (pop-to-buffer): Restore Emacs 23 behavior but use
10579 window-normalize-buffer-to-display.
10580 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10581 Restore Emacs 23 behavior but use
10582 window-normalize-buffer-to-switch-to.
10583 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10584 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10585 Rewrite using Emacs 23 options.
f818cd2a 10586
5bc3b51d
MA
105872011-08-31 Michael Albinus <michael.albinus@gmx.de>
10588
10589 * net/tramp.el (tramp-root-regexp): Remove.
10590 (tramp-completion-file-name-regexp-unified)
10591 (tramp-completion-file-name-regexp-separate)
10592 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10593 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10594 (tramp-drop-volume-letter): Simplify definition.
10595 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10596
b1a4f8e1
SM
105972011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10600 (bug#9356).
10601
5664fa7b
RT
106022011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10603
b1a4f8e1 10604 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10605
9a45d6c3
JL
106062011-08-29 Juri Linkov <juri@jurta.org>
10607
10608 * isearch.el (isearch-done): Don't display message "Mark saved"
10609 when arg `edit' is non-nil to prevent its flicker in the echo area.
10610
fb87e0fb
CY
106112011-08-28 Chong Yidong <cyd@stupidchicken.com>
10612
10613 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10614 obsolete packages for deletion.
10615
09ac1c2a
CS
106162011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10617
10618 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10619 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10620 view-mode from help-mode.
10621 (help-xref-override-view-map): Remove.
10622 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10623 view-mode is not used anymore.
10624
7a1ff57f
CY
106252011-08-28 Chong Yidong <cyd@stupidchicken.com>
10626
10627 * server.el (server-port): Doc fix.
10628
b9696605
CY
10629 * cus-theme.el (custom-theme-choose-mode): Inherit from
10630 special-mode (Bug#9124).
10631 (custom-theme-choose-mode-map): Add special-mode to parent.
10632
ef8cdf8c
AM
106332011-08-28 Alan Mackenzie <acm@muc.de>
10634
10635 * progmodes/cc-fonts.el
10636 (c-make-font-lock-BO-decl-search-function): New function.
10637 (c-basic-matchers-after - "Fontify the clauses after various
10638 keywords"): Extract the three keyword lists for the 3 erroneous
10639 constructs from the list of four, and use the new function above
10640 in place of an old one.
10641
27de4e20
DD
106422011-08-28 Deniz Dogan <deniz@dogan.se>
10643
10644 * net/rcirc.el (rcirc-insert-prev-input)
10645 (rcirc-insert-next-input): Remove unused argument.
10646
356a3681
SM
106472011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10648
10649 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10650
3fc9b218
AM
106512011-08-27 Alan Mackenzie <acm@muc.de>
10652
10653 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10654 handle function pointer parameters properly.
10655
538a061c
MR
106562011-08-27 Martin Rudalics <rudalics@gmx.at>
10657
10658 * window.el (display-buffer-reuse-window): Fix case where
10659 selected window was reused with non-nil OTHER-WINDOW argument.
10660 (Bug#9381)
10661
35b1c40c
DD
106622011-08-27 Deniz Dogan <deniz@dogan.se>
10663
10664 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10665 oftc's NickServ messages.
10666
2f6a3e79
GM
106672011-08-27 Glenn Morris <rgm@gnu.org>
10668
10669 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10670
7254299e
CY
106712011-08-26 Chong Yidong <cyd@stupidchicken.com>
10672
10673 * emacs-lisp/package.el (package-install): Call package-initialize
10674 if called interactively.
10675
f8ccf167
LL
106762011-08-26 Leo Liu <sdl.web@gmail.com>
10677
10678 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10679
3e8cd5ce
JL
106802011-08-25 Juri Linkov <juri@jurta.org>
10681
10682 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10683 `search-whitespace-regexp' (bug#9364).
10684
93eb7113
JL
106852011-08-25 Juri Linkov <juri@jurta.org>
10686
10687 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10688 `regexp-search-ring' to their global values to protect from
10689 updating by `read-from-minibuffer' (bug#9185).
10690
f65d1611
JL
106912011-08-25 Juri Linkov <juri@jurta.org>
10692
10693 * textmodes/ispell.el (ispell-command-loop): Add newline
10694 at the end of the "Use option `i'..." line.
10695
f1cf7a31
JL
106962011-08-25 Juri Linkov <juri@jurta.org>
10697
10698 * battery.el (display-battery-mode): If `battery-status-function'
10699 or `battery-mode-line-format' is nil, display the message and set
10700 `display-battery-mode' to nil (bug#9363).
10701
0c95fcf7
EZ
107022011-08-25 Eli Zaretskii <eliz@gnu.org>
10703
10704 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10705 bidi-string-mark-left-to-right; they are unnecessary now.
10706
a2ebe600
DD
107072011-08-25 Deniz Dogan <deniz@dogan.se>
10708
10709 * net/quickurl.el: Documentation typo fixes.
10710
e4ed06f1
CY
107112011-08-25 Chong Yidong <cyd@stupidchicken.com>
10712
10713 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10714
e5f1c99e
GM
107152011-08-25 Glenn Morris <rgm@gnu.org>
10716
b2948976
GM
10717 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10718
e5f1c99e
GM
10719 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10720 (smtpmail-via-smtp): Handle nil response from smtp.
10721
f22f4808
JL
107222011-08-24 Juri Linkov <juri@jurta.org>
10723
10724 * proced.el (proced-marked): Inherit from `error' instead of
10725 `font-lock-warning-face'.
10726
10727 * ibuffer.el (ibuffer-marked-face): Change default face from
10728 `font-lock-warning-face' to `warning'.
10729 (ibuffer-deletion-face): Change default face from
10730 `font-lock-type-face' to `error'.
10731
10732 * battery.el (battery-update): Use the face `error' instead of
10733 `font-lock-warning-face' (bug#6117).
10734
6a93965e
JL
107352011-08-24 Juri Linkov <juri@jurta.org>
10736
10737 * faces.el (success): Change face color from "Green3" to
10738 "ForestGreen" on light background (bug#9353).
10739
1ed43b09
CY
107402011-08-24 Chong Yidong <cyd@stupidchicken.com>
10741
5664fa7b
RT
10742 * window.el (quit-window): Rename from quit-restore-window.
10743 Use same arglist as old quit-window.
1ed43b09
CY
10744 (frame-auto-delete): Doc fix.
10745
10746 * view.el (view-mode-exit): Use quit-window.
10747
11dcdbb2
JL
107482011-08-24 Juri Linkov <juri@jurta.org>
10749
10750 * isearch.el (isearch-ring-adjust1): Start visiting previous
10751 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10752 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10753 for empty search string (when the last search string is reused
10754 automatically) to adjust the isearch ring to the last element and
10755 prepare the correct index for further M-p commands (bug#9185).
10756
de62b4df
KH
107572011-08-24 Kenichi Handa <handa@m17n.org>
10758
10759 * international/ucs-normalize.el: If decomposition property of
10760 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10761 nil.
10762 (nfd, nfkd): Likewise.
10763
963b492b
SM
107642011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10767 from process filters aren't reliably transmitted to the surrounding
10768 accept-process-output.
10769 (mpc-proc-check): New function.
10770 (mpc-proc-sync): Use it (bug#8293)
10771
93b6b5e1
SM
107722011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10775 Add compatibility functions (bug#9313).
10776
bca633fb
EZ
107772011-08-23 Eli Zaretskii <eliz@gnu.org>
10778
b177498a
EZ
10779 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10780
6df6ae42 10781 * international/uni-bidi.el: Regenerate.
bca633fb 10782
0902a04e
KH
107832011-08-23 Kenichi Handa <handa@m17n.org>
10784
10785 * international/charprop.el:
10786 * international/uni-bidi.el:
10787 * international/uni-category.el:
10788 * international/uni-combining.el:
10789 * international/uni-comment.el:
10790 * international/uni-decimal.el:
10791 * international/uni-decomposition.el:
10792 * international/uni-digit.el:
10793 * international/uni-lowercase.el:
10794 * international/uni-mirrored.el:
10795 * international/uni-name.el:
10796 * international/uni-numeric.el:
10797 * international/uni-old-name.el:
10798 * international/uni-titlecase.el:
10799 * international/uni-uppercase.el: Regenerate.
10800
3bbf23bc
MR
108012011-08-23 Martin Rudalics <rudalics@gmx.at>
10802
10803 * help.el (help-window-setup): Fix message displayed when other
10804 window is reused. (Bug#9341)
10805
b3fd59bd
SM
108062011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10807
1802e444
SM
10808 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10809 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10810
b3fd59bd
SM
10811 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10812 Mark obsolete.
10813 * shell.el (shell-parse-pcomplete-arguments): New function.
10814 (shell-completion-vars): Use it instead (bug#9160).
10815
4eb61348
SM
108162011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10817
867cab74
SM
10818 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10819 strings and comments (bug#9333).
10820
4eb61348
SM
10821 * emacs-lisp/debug.el (debug-arglist): New function.
10822 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10823 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10824
262a1439
JL
108252011-08-22 Juri Linkov <juri@jurta.org>
10826
56ee679c
JL
10827 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10828 Revert regexp that highlights output switches to its old
10829 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10830
262a1439
JL
10831 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10832 to check for empty output (bug#9226).
10833
f13f86fb
CY
108342011-08-22 Chong Yidong <cyd@stupidchicken.com>
10835
10836 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10837 symbol-constituent as the default, as that stops font-lock from
10838 working properly (Bug#8843).
10839
c65c9622
LMI
108402011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10841
10842 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10843 `coding-system-for-*' around the process open call to avoid
10844 auth-source side effects.
e7f2c178 10845 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10846 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10847 probe hangs.
c65c9622 10848
23a8a5ab
CY
108492011-08-21 Chong Yidong <cyd@stupidchicken.com>
10850
ff98b2dd
CY
10851 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10852
23a8a5ab
CY
10853 * emacs-lisp/find-func.el (find-function-noselect): New arg
10854 lisp-only.
10855
10856 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10857 signal an error for built-in functions (Bug#6664).
10858
f5e3c598
LMI
108592011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10860
10861 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10862 (smtpmail-try-auth-methods): Use it.
10863
a3f2468a
CY
108642011-08-21 Chong Yidong <cyd@stupidchicken.com>
10865
2c34e8da
CY
10866 * font-lock.el (font-lock-fontify-region)
10867 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10868 (font-lock-default-unfontify-buffer)
10869 (font-lock-default-fontify-region)
10870 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10871
b3fd59bd
SM
10872 * progmodes/compile.el (compilation-error-properties):
10873 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10874 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10875 `ant' regexp.
ee31aabc 10876
a3f2468a
CY
10877 * net/browse-url.el (browse-url-firefox): Don't call
10878 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10879
8e999f70
GM
108802011-08-20 Glenn Morris <rgm@gnu.org>
10881
c21a496a
GM
10882 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10883
59ee0542
GM
10884 * tutorial.el (tutorial--default-keys): Update some default bindings.
10885
8e999f70
GM
10886 * files.el (hack-local-variables): Fully ignore case for "mode:".
10887
e3715033
AM
108882011-08-20 Alan Mackenzie <acm@muc.de>
10889
10890 Resolve invalid use of a regexp in regexp-opt.
10891
4d61f28d
JB
10892 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10893 detection for a java annotation.
e3715033 10894
4d61f28d 10895 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10896 detection for a java annotation.
10897
4d61f28d
JB
10898 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10899 handling for java.
e3715033
AM
10900 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10901
04ed2e9c
CY
109022011-08-20 Chong Yidong <cyd@stupidchicken.com>
10903
10904 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10905 (Bug#9274).
10906
826cee64
AM
109072011-08-20 Alan Mackenzie <acm@muc.de>
10908
58179cce 10909 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10910 such a construct. Mainly for when jit-lock etc. starts a chunk
10911 here.
10912
58179cce 10913 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10914 variable.
58179cce 10915 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10916 c-make-font-lock-search-function.
10917 (c-make-font-lock-search-function): Use the above function.
10918 (c-make-font-lock-context-search-function): New function.
10919 (c-cpp-matchers): Enhance the preprocessor expression case with
10920 the above function
10921 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10922 which takes an expression.
10923
10924 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10925
13009bd8
MR
109262011-08-20 Martin Rudalics <rudalics@gmx.at>
10927
10928 * window.el (display-buffer-reuse-window)
10929 (display-buffer-pop-up-window): Don't reuse or split a side
10930 window.
10931
9234ff7f
GM
109322011-08-19 Glenn Morris <rgm@gnu.org>
10933
10934 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10935 Downcase "Mode:". (Bug#9331)
9234ff7f 10936
f635daa1
CY
109372011-08-18 Chong Yidong <cyd@stupidchicken.com>
10938
10939 * international/characters.el: Add L and R categories.
10940
10941 * subr.el (bidi-string-mark-left-to-right): Rename from
10942 string-mark-left-to-right. Use category search.
10943
10944 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10945
bc987f8b
JL
109462011-08-18 Juri Linkov <juri@jurta.org>
10947
10948 * faces.el (error, warning, success): New faces with definitions
10949 copied from old default values of `font-lock-warning-face',
10950 `compilation-warning', `compilation-info' (bug#6117).
10951
10952 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10953
10954 * progmodes/compile.el (compilation-error): Inherit from `error'.
10955 (compilation-warning): Inherit from `warning'.
10956 (compilation-info): Inherit from `success'.
10957
10958 * dired.el (dired-marked): Inherit from `warning'.
10959 (dired-flagged): Inherit from `error'.
10960
57173b96
LMI
109612011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10962
3e79eb87
LMI
10963 * mail/smtpmail.el (auth-source): Require to avoid problems with
10964 binding variables (bug#9298). Also clean up some unused
10965 autoloads.
10966
b3fd59bd
SM
10967 * net/network-stream.el (network-stream-open-starttls):
10968 Support using starttls.el without using gnutls-cli.
57173b96 10969
02b404de
JL
109702011-08-17 Juri Linkov <juri@jurta.org>
10971
10972 * progmodes/grep.el (rgrep): Handle the case when
10973 `grep-find-command' is a cons cell (bug#9278).
10974
8c9177f2
MR
109752011-08-17 Martin Rudalics <rudalics@gmx.at>
10976
10977 * window.el (display-buffer-pop-up-frame): Run frame creation
10978 function with BUFFER current (as special-display-popup-frame
10979 does). Reported by Drew Adams.
10980
3644a0ab
DU
109812011-08-17 Daiki Ueno <ueno@unixuser.org>
10982
10983 * epa-mail.el: Simplify GnuPG group expansion using
10984 epg-expand-group.
10985 (epa-mail-group-alist, epa-mail-group-modtime)
10986 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
10987 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
10988 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
10989 Remove.
10990
5e617bc2 109912011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
10992
10993 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
10994
9c4aeabf
AM
109952011-08-16 Alan Mackenzie <acm@muc.de>
10996
10997 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
10998 Correct, to avoid the inside of macros.
10999
3a99bf64
RS
110002011-08-16 Richard Stallman <rms@gnu.org>
11001
04963aa8
RS
11002 * epa-mail.el: Handle GnuPG group definitions.
11003 (epa-mail-group-alist, epa-mail-group-modtime)
11004 (epa-mail-gnupg-conf-file): New variables.
11005 (epa-mail-parse-groups, epa-mail-sync-groups)
11006 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11007 (epa-mail-expand-recipients): New functions.
11008 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11009
177549d0
RS
11010 * mail/rmail.el (rmail-epa-decrypt): New command.
11011
fe38beef
RS
11012 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11013 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11014 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11015 (epa-decrypt-armor-in-region): Make error message clearer.
11016
934eacb9
SM
110172011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11020 and "a2b" to "ab" for `prefix'.
11021
d024fb4e
CY
110222011-08-14 Chong Yidong <cyd@stupidchicken.com>
11023
11024 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11025 filter groups.
de148fee
CY
11026 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11027 Fourquet (Bug#8804).
d024fb4e 11028
62f1ca49
JB
110292011-08-12 Juanma Barranquero <lekktu@gmail.com>
11030
11031 * startup.el (argi): Declare as global variable (bug#9275).
11032
9ccaaa4b
CY
110332011-08-12 Chong Yidong <cyd@stupidchicken.com>
11034
11035 * subr.el (string-mark-left-to-right): Search the entire string
11036 for RTL script, not just the terminating character. Doc fix.
11037
a3dae87a
SM
110382011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11039
6cd18349
SM
11040 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11041 New function.
11042 (js--regexp-literal, js-syntax-propertize-function): Remove.
11043 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11044 (js-mode-map): Don't rebind electric keys.
11045 (js-insert-and-indent): Remove.
11046 (js-mode): Setup electric-layout and electric-indent instead.
11047
a3dae87a
SM
11048 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11049
9d5cb631
DU
110502011-08-12 Daiki Ueno <ueno@unixuser.org>
11051
11052 * epa.el (epa-progress-callback-function): Fix the logic of
11053 displaying progress.
11054 * epa-file.el (epa-file-insert-file-contents): Make progress
11055 display more user-friendly.
11056 (epa-file-write-region): Ditto.
11057
3e26a4a2
CY
110582011-08-10 Chong Yidong <cyd@stupidchicken.com>
11059
11060 * subr.el (string-mark-left-to-right): New function.
11061
11062 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11063 Use string-mark-left-to-right.
11064 (list-buffers-noselect): Caller changed.
11065
a3dae87a
SM
11066 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11067 Use string-mark-left-to-right.
3e26a4a2
CY
11068 (tabulated-list-print): Recenter after moving point.
11069
ac8cf6e6
JL
110702011-08-10 Juri Linkov <juri@jurta.org>
11071
11072 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11073 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11074 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11075
8d96c9a4
CY
110762011-08-09 Chong Yidong <cyd@stupidchicken.com>
11077
11078 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11079 (Bug#7554).
11080
7be1c708 110812011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11082
11083 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11084 character. (Bug#6594)
11085
37e11a63
CY
110862011-08-08 Chong Yidong <cyd@stupidchicken.com>
11087
839dde57
CY
11088 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11089 (image-dired--with-db-file): New macro.
11090 (image-dired-write-tags, image-dired-remove-tag)
11091 (image-dired-create-gallery-lists, image-dired-write-comments)
11092 (image-dired-get-comment, image-dired-mark-tagged-files)
11093 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11094 (image-dired-gallery-generate): Use insert-file-contents.
11095
37e11a63
CY
11096 * time.el (display-time-world-list, display-time-world-display):
11097 * time-stamp.el (time-stamp-string):
11098 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11099 set-time-zone-rule (Bug#7337).
11100
0b4946c4
DU
111012011-08-08 Daiki Ueno <ueno@unixuser.org>
11102
11103 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11104 (epg-error-to-string, epg-errors-to-string): New function.
11105 (epg-wait-for-completion): Reverse errors list.
11106 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11107 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11108 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11109 (epg-sign-keys, epg-generate-key-from-file)
11110 (epg-generate-key-from-string): Format errors by using
11111 epg-errors-to-string (bug#9255).
11112 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11113
75bfc667
JL
111142011-08-07 Juri Linkov <juri@jurta.org>
11115
11116 * faces.el (list-faces-display): Remove extra angle bracket
11117 from `help-mode-map'.
11118
11119 * info.el (Info-history-toc-nodes): Doc fix.
11120
11121 * longlines.el (longlines-mode): Doc fix.
11122
673e08bb
SM
111232011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11124
4640dd88
SM
11125 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11126 of statements and in a few more cases (bug#9183).
11127
673e08bb
SM
11128 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11129 New functions.
11130 (cl-transform-lambda): Use them (bug#9239).
11131
89b3f019
MR
111322011-08-05 Martin Rudalics <rudalics@gmx.at>
11133
11134 * window.el (display-buffer-same-window)
11135 (display-buffer-same-frame, display-buffer-other-window)
11136 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11137 (pop-to-buffer-other-window)
11138 (pop-to-buffer-same-frame-other-window)
11139 (pop-to-buffer-other-frame): Make them defuns.
11140 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11141
640c8776
SM
111422011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * subr.el (make-composed-keymap): Move from C. Change calling
11145 convention, and improve docstring to bring attention to a subtle point.
11146 * minibuffer.el (completing-read-default): Adjust accordingly.
11147
63648a95
MA
111482011-08-03 Michael Albinus <michael.albinus@gmx.de>
11149
11150 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11151 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11152
11153 * net/trampver.el: Update release number.
11154
b796c9b7
SM
111552011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11158 "in" (bug#9190).
11159
2239d7d5
LMI
111602011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11161
e07dd7c3
LMI
11162 * mail/sendmail.el (sendmail-query-once): Restore the current
11163 buffer after querying (bug#9074).
11164
0e6a2bd7
LMI
11165 * dired.el (dired-flagged): Use different faces for marked and
11166 flagged files (bug#6117).
11167
ce887515
LMI
11168 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11169 (bug#4433).
11170
92f2affc
LMI
11171 * ido.el (ido-mode): Switch off the message if called
11172 non-interactively.
11173
57d5aff0
LMI
11174 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11175 before 587, since it appears that that's more likely to work for
11176 more people.
11177
98cd6c18 11178 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11179 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11180 exist.
11181
b96dec83
LMI
11182 * info.el: Remove the `Info-beginning-of-buffer' function
11183 (bug#8325).
11184
b796c9b7
SM
11185 * net/network-stream.el (network-stream-open-starttls):
11186 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11187
d90e2ea0
MR
111882011-08-01 Martin Rudalics <rudalics@gmx.at>
11189
11190 * window.el (display-buffer-in-window): Don't set dedicated status
11191 of window here (Bug#9215).
11192 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11193 (display-buffer-pop-up-side-window)
b796c9b7 11194 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11195
cca09170
SM
111962011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11197
11198 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11199 before binding generated-autoload-file.
11200
027b979c
DD
112012011-08-01 Deniz Dogan <deniz@dogan.se>
11202
11203 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11204
3c7ee4f3
MA
112052011-07-30 Michael Albinus <michael.albinus@gmx.de>
11206
11207 Sync with Tramp 2.2.2.
11208
11209 * net/trampver.el: Update release number.
11210
2cc8e51a
JL
112112011-07-30 Juri Linkov <juri@jurta.org>
11212
11213 * dired-aux.el (dired-touch-initial): Remove function.
11214 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11215 current time, and `default' to the last modification time of the
11216 current marked file (bug#6887).
11217
a514d856
JM
112182011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11219
11220 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11221 numeric argument to read-number (bug#9163).
a514d856 11222
8a7eddd7
MA
112232011-07-27 Michael Albinus <michael.albinus@gmx.de>
11224
11225 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11226 connection process, it could be nil.
11227
1ddd96f5
LL
112282011-07-27 Leo Liu <sdl.web@gmail.com>
11229
11230 Simplify url handling in rcirc-mode.
11231
11232 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11233 (rcirc-browse-url-at-mouse): Remove.
11234 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11235
b248a85d
AM
112362011-07-26 Alan Mackenzie <acm@muc.de>
11237
11238 Fontify bitfield declarations properly.
11239
11240 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11241 (c-symbol-chars): Now exported as a lang variable.
11242 (c-not-primitive-type-keywords): New lang variable.
11243
11244 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11245 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11246 parsed as a bitfield declaration.
b248a85d 11247
b796c9b7
SM
11248 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11249 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11250 (c-punctuation-in): New function.
11251 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11252 declarations properly.
11253
68575ab0
UJ
112542011-07-26 Ulf Jasper <ulf.jasper@web.de>
11255
11256 * calendar/icalendar.el (icalendar--all-events): Take care of
11257 multiple vcalendars in a single file.
b796c9b7 11258 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11259
0f0a88b9
DD
112602011-07-25 Deniz Dogan <deniz@dogan.se>
11261
11262 * image.el (insert-image): Clarifying docstring.
11263
0b3f36df
MA
112642011-07-24 Michael Albinus <michael.albinus@gmx.de>
11265
11266 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11267 `tramp-send-command-and-check' if there is no error.
11268 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11269
a9901f61
AM
112702011-07-22 Alan Mackenzie <acm@muc.de>
11271
11272 Prevent cc-langs.elc being loaded at run time.
11273
11274 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11275 cc-langs.
11276
4d61f28d 11277 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11278 "(require 'cc-langs)". Quote a form so it will evaluate at
11279 (cc-mode's) compilation time.
11280
11d074b2
MA
112812011-07-22 Michael Albinus <michael.albinus@gmx.de>
11282
11283 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11284 loading. (Bug#9114)
11285
938b94c8
MR
112862011-07-21 Martin Rudalics <rudalics@gmx.at>
11287
11288 * window.el (display-buffer-pop-up-window)
11289 (display-buffer-pop-up-side-window)
11290 (display-buffer-in-side-window): Call display-buffer-set-height
11291 and display-buffer-set-width after setting the new window's
b796c9b7 11292 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11293
bfa4f190
SS
112942011-07-20 Sam Steingold <sds@gnu.org>
11295
11296 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11297 (etags-tags-included-tables): Call `convert-standard-filename' on
11298 the file names contained in TAGS so that windows Emacs can handle
11299 TAGS files created by cygwin ctags.
11300
8ca42262
LMI
113012011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11302
11303 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11304 which apparently didn't work.
11305
5db2afd2 113062011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11307
5db2afd2
RW
11308 * proced.el (proced-send-signal): For *Marked Processes* buffer
11309 put point at beginning of buffer.
11310
92e15d10
SB
113112011-07-19 Stephen Berman <stephen.berman@gmx.net>
11312
11313 * proced.el (proced-format): Make header lines align with the text
11314 (bug#1779).
11315
1bfd59e5
LMI
113162011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11317
11318 * view.el (view-buffer): Allow running in `special' modes if we're
11319 visiting a file (bug#8615).
11320
f5aae37c
MR
113212011-07-19 Martin Rudalics <rudalics@gmx.at>
11322
11323 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11324 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11325 New functions.
f5aae37c
MR
11326 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11327 more accurately.
11328
bf2c1571
AM
113292011-07-18 Alan Mackenzie <acm@muc.de>
11330
11331 Fontify declarators properly when, e.g., a jit-lock chunk begins
11332 inside a declaration.
11333
11334 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11335
b796c9b7
SM
11336 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11337 New function.
bf2c1571
AM
11338 (c-complex-decl-matchers): Insert reference to
11339 c-font-lock-enclosing-decls.
11340
11341 * progmodes/cc-engine.el (c-backward-single-comment):
11342 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11343 to nil around calls to (forward-comment -1).
11344
4e190b80
LMI
113452011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11346
12dc863d
LMI
11347 * image.el (put-image): Doc typo fix.
11348
a762e966
LMI
11349 * progmodes/etags.el (tags-search): Doc typo fix.
11350
4e190b80
LMI
11351 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11352 password if we get errors 550 to 554.
11353
f019fb21
LMI
113542011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11355
b796c9b7 11356 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11357
81746738
LMI
11358 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11359 indentation character (bug#6380).
11360
3ee3a1b5
LMI
11361 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11362
c82f64de
LMI
11363 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11364 to clarify what the problem is (bug#4291).
11365
f019fb21
LMI
11366 * simple.el (current-kill): Clarify what
11367 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11368 (auto-fill-mode): Document `auto-fill-function' in relation to
11369 `auto-fill-mode' (bug#2470).
f019fb21 11370
0794775d
LM
113712011-07-16 Lawrence Mitchell <wence@gmx.li>
11372
11373 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11374 method if slot is read-only (bug#9035).
11375
be39b8cc
MR
113762011-07-16 Martin Rudalics <rudalics@gmx.at>
11377
b796c9b7 11378 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11379 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11380 selected before, see discussion of (Bug#8615), (Bug#6954).
11381 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11382
6ccf7859
GM
113832011-07-15 Glenn Morris <rgm@gnu.org>
11384
11385 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11386 Respect help-form.
6ccf7859 11387
87e86684
LM
113882011-07-09 Lawrence Mitchell <wence@gmx.li>
11389
11390 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11391 (gnutls-negotiate): Use it.
11392
d6066239
LMI
113932011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11394
b796c9b7
SM
11395 * net/gnutls.el (gnutls-negotiate):
11396 Upcase `gnutls-algorithm-priority'.
d6066239 11397
bd23ebc0
GM
113982011-07-15 Glenn Morris <rgm@gnu.org>
11399
c65bca65
GM
11400 * jka-compr.el (jka-compr-verbose): Move from here...
11401 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11402 Add missing :version tag.
11403 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11404
478615cc
LMI
114052011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11406
7b41decb
LMI
11407 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11408 (gnutls-negotiate): Use it.
11409
dbc44fcd
LMI
11410 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11411
06789f97
LMI
11412 * info.el (Info-beginning-of-buffer): New command.
11413 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11414 announcing `b' as the key (bug#8325).
ab896c37 11415 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11416
c39da690
LMI
11417 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11418
3aa5f34b
LMI
11419 * international/mule-cmds.el
11420 (describe-specified-language-support): Make the error message
11421 clearer (bug#8905).
11422
4bf0979f
LMI
11423 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11424
478615cc
LMI
11425 * isearch.el (isearch-barrier): Add a doc string, since it's
11426 mentioned in a function doc string (bug#8678).
11427
75c68aa1
MR
114282011-07-15 Martin Rudalics <rudalics@gmx.at>
11429
11430 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11431 buffer argument (Bug#9083) and self-identifying label argument.
11432
a7c33da2
GM
114332011-07-15 Glenn Morris <rgm@gnu.org>
11434
11435 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11436
2f5c6024
LMI
114372011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11438
11439 * man.el (Man-fontify-manpage): Fix message when formatting the
11440 man page (bug#7929).
11441
0bb23927 114422011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11443
11444 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11445 argument LRM; if non-nil, append an invisible LRM character to the
11446 buffer name.
11447 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11448 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11449 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11450 paragraph direction.
cce4b0a7 11451
621ef9ab
LMI
114522011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11453
d1583c48
LMI
11454 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11455 the man page name (bug#7929).
11456
6a57fb5f
LMI
11457 * image.el (put-image): Mention the `put-image' overlay property
11458 (bug#7834).
11459
d7956b14
LMI
11460 * scroll-bar.el (set-scroll-bar-mode): Mention that
11461 `scroll-bar-mode' lists the values (bug#7772).
11462
5b2d4a66
LMI
11463 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11464 command (bug#7729).
11465
7509a874
LMI
11466 * rect.el (apply-on-rectangle): Return the point after the last
11467 operation.
11468 (string-rectangle): Go to the point after the last operation
11469 (bug#7522).
11470
4fe74b19
LMI
11471 * printing.el (pr-toggle-region): Clarify the documentation
11472 slightly (bug#7493).
11473
b796c9b7
SM
11474 * time.el (display-time-update):
11475 Allow `display-time-mail-function' to return nil (bug#7158).
11476 Fix suggested by Detlev Zundel.
ab283561 11477
fc233c9d
LMI
11478 * vc/diff.el (diff): Clarify the order the file names are read
11479 (bug#7111).
11480
43f5740b
LMI
11481 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11482 the doc string (bug#7015).
11483
f2182a76
LMI
11484 * font-lock.el (font-lock-maximum-decoration): Mention what
11485 numeric levels mean (bug#6935).
11486
621ef9ab
LMI
11487 * startup.el (initial-buffer-choice): Don't mention the `none'
11488 selection, which is against policy.
11489
adc47434
MR
114902011-07-14 Martin Rudalics <rudalics@gmx.at>
11491
b796c9b7
SM
11492 * window.el (display-buffer-normalize-special):
11493 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11494
7e5bfb8f
EZ
114952011-07-14 Eli Zaretskii <eliz@gnu.org>
11496
11497 * subr.el (version<, version<=, version=): Mention "-CVS" and
11498 "-12345" alpha version numbers.
11499
27fa387a
CY
115002011-07-14 Chong Yidong <cyd@stupidchicken.com>
11501
11502 * bindings.el: Add advertised binding for set-mark-command
11503 (Bug#5772).
11504
8bdfa064
CY
115052011-07-14 Chong Yidong <cyd@stupidchicken.com>
11506
11507 * bindings.el (mode-line-other-buffer):
11508 * bookmark.el (bookmark-bmenu-2-window):
11509 * bs.el (bs-cycle-next, bs-cycle-previous):
11510 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11511 switch-to-buffer.
11512
11513 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11514 Delete.
8bdfa064 11515
5eba16a3
JB
115162011-07-14 Juanma Barranquero <lekktu@gmail.com>
11517
11518 * follow.el (follow-debug-message, follow-redisplay):
11519 * jka-cmpr-hook.el (with-auto-compression-mode):
11520 Fix typos in docstrings.
11521
15853710
LMI
115222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11523
a28e4607
LMI
11524 * subr.el (with-silent-modifications): Clarify somewhat what the
11525 macro inhibits (bug#6525).
11526
15853710
LMI
11527 * simple.el (eval-expression): Note what it does if called
11528 interactively (bug#6495).
11529
bee0fcef
CY
115302011-07-13 Chong Yidong <cyd@stupidchicken.com>
11531
b796c9b7
SM
11532 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11533 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11534
11535 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11536 Remove switch-to-buffer.
11537
58274504
LMI
115382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11539
bd2fcc8d
LMI
11540 * files.el (make-directory): Clarify that an error will be raised
11541 if there's an error (bug#6397).
11542
0f04b32c
LMI
11543 * startup.el (initial-buffer-choice): Add `none' as a choice
11544 (bug#6234).
11545
465c5fc8
LMI
11546 * subr.el (add-hook): Clarify section about buffer-local hooks
11547 (bug#6218).
11548
58274504
LMI
11549 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11550
bead9a43
JB
115512011-07-13 Juanma Barranquero <lekktu@gmail.com>
11552
11553 * tabify.el (untabify): Preserve the current column so that point
11554 doesn't move (bug#6032).
11555
3af98a7b
LMI
115562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11557
b796c9b7
SM
11558 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11559 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11560
6240145a
GM
115612011-07-13 Glenn Morris <rgm@gnu.org>
11562
11563 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11564 (dired-insert-directory): Give a message the first time
11565 if ls is found not to support --dired.
11566
1d8c2ccc
LMI
115672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11568
11569 * simple.el (toggle-truncate-lines): Clarify what is toggled
11570 (bug#5580). Text by Drew Adams.
11571
5fc4038e
CY
115722011-07-13 Chong Yidong <cyd@stupidchicken.com>
11573
11574 * simple.el (blink-matching-open): Make the error message from the
11575 last change less verbose.
11576
bf6012e5
DN
115772011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11578
11579 * font-lock.el (font-lock-comment-face): Use the high contrast
11580 "yellow" color for font-lock-comment-face on low color terminals
11581 using a dark background color (bug#4221).
11582
343c3b5a
LMI
115832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11584
7e9505c5
LMI
11585 * dired.el (dired-insert-set-properties): Make the doc string
11586 reflect what it does now (bug#5325).
11587
c26fdcf5
LMI
11588 * simple.el (blink-matching-open): Say that we were unable to find
11589 the match within the limit, if we're limited (bug#5122).
11590
bb388cc5
LMI
11591 * international/mule-cmds.el (prefer-coding-system): Add an
11592 example (bug#4869).
11593
343c3b5a
LMI
11594 * progmodes/etags.el (tags-search): Document `file-list-form'
11595 (bug#4731).
11596
2a517d45
LM
115972011-07-13 Lawrence Mitchell <wence@gmx.li>
11598
11599 * net/browse-url.el (browse-url-default-browser)
11600 (browse-url-browser-function): Make the default browser choice a
11601 bit more logical (bug#4300). Also clean up the doc string.
11602
b6c78ef2
JB
116032011-07-13 Juanma Barranquero <lekktu@gmail.com>
11604
11605 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11606 binary endings (bug#4440).
11607
1c4dd947
LMI
116082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11609
a2014063
LMI
11610 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11611 which can be pretty annoying (bug#8971).
11612
9c9c2d88
LMI
11613 * jka-compr.el (jka-compr-verbose): New variable, and use
11614 throughout (bug#8971).
11615
1c4dd947
LMI
11616 * info.el (Info-find-file): Fall back on the installation
11617 directory if we can't find the info node anywhere else.
11618
a1c9f41b
SO
116192011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11620
11621 * vc/vc.el (vc-revert-file):
11622 Don't set file time-stamp in the past. (Bug#5181)
11623
536f3d36
LMI
116242011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11625
7152b011
LMI
11626 * files.el (after-find-file): Give a better error message when
11627 trying to find a symlink that points to a file that doesn't exist
11628 (bug#4398).
11629
536f3d36
LMI
11630 * progmodes/cc-vars.el: Remove (probably) misleading comment
11631 (bug#4396).
11632
460c0fba
JB
116332011-07-12 Johan Bockgård <bojohan@gnu.org>
11634
11635 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11636
7a6bda45
CY
116372011-07-12 Chong Yidong <cyd@stupidchicken.com>
11638
11639 * mouse-sel.el: Hack restoring functionality, while keeping
11640 compatibility with 2010-07-03 changes to mouse selection.
11641 (mouse-sel-primary-overlay): New var.
11642 (mouse-sel-selection-alist): Use it.
11643 (mouse-sel-mode): Doc fix; remove points that are default features
11644 of mouse.el.
11645
c79598ef
JB
116462011-07-12 Johan Bockgård <bojohan@gnu.org>
11647
11648 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11649 Fix previous fix (bug#2490).
11650
ff8be6ef
RW
116512011-07-12 Roland Winkler <winkler@gnu.org>
11652
b796c9b7
SM
11653 * textmodes/bibtex.el (bibtex-initialize):
11654 Use pop-to-buffer-same-window.
ff8be6ef
RW
11655 (bibtex-search-entries): Fix interactive call.
11656
296ba3ee
LMI
116572011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11658
f5242a02 11659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11660 Fontise bytecomp Error lines more correctly (bug#2490).
11661 Fix suggested by Johan Bockgård.
f5242a02 11662
296ba3ee
LMI
11663 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11664
11665 * dired-x.el (dired-guess-default): Use `delete-dups'.
11666
f69fd0d2
CY
116672011-07-12 Chong Yidong <cyd@stupidchicken.com>
11668
11669 * dired.el (dired-mark-prompt):
11670 * dired-aux.el (dired-read-shell-command): Doc fix.
11671
eab5dc07
LMI
116722011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11673
b796c9b7
SM
11674 * mail/sendmail.el (sendmail-query-once):
11675 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11676 emacs -Q.
11677
11678 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11679
eab5dc07
LMI
11680 * cus-edit.el (custom-file): Take an optional no-error variable.
11681 (customize-save-variable): Set the variable, and give a warning if
11682 running under "emacs -q".
11683
a1e65d42
JB
116842011-07-11 Juanma Barranquero <lekktu@gmail.com>
11685
11686 * loadhist.el (unload-feature-special-hooks):
11687 Add `auto-coding-functions', `fill-nobreak-predicate' and
11688 `find-directory-functions' (bug#5327).
11689
1d52da10
LMI
116902011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11691
be958f1d
LMI
11692 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11693
5bedb26c
LMI
11694 * cus-edit.el (custom-guess-name-alist): -alist variables should
11695 use the `alist' type (bug#3120). Suggested by Drew Adams.
11696
1d52da10
LMI
11697 * printing.el: Add documentation to all the `pr-toggle-' commands.
11698
cd394be1 116992011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11700
11701 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11702 backends where it makes sense (bug#2623).
11703
dcc88d8a
LMI
117042011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11705
c3de9feb
LMI
11706 * dired-x.el (dired-guess-default): Remove duplicate shell command
11707 entries (bug#2028).
8a93078b 11708 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11709 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11710
dcc88d8a
LMI
11711 * subr.el (remove-duplicates): New conveniency function.
11712
505e3645
LMI
117132011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11714
11715 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11716 (bug#1526).
11717
117182011-07-10 Martin Rudalics <rudalics@gmx.at>
11719
11720 * window.el (display-buffer-normalize-default): Don't invert
11721 meaning of even-window-heights. Reported by Eli Zaretskii
11722 <eliz@gnu.org>.
11723
455e4fa1
BR
117242011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11725
11726 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11727
8e0bc3e9
CY
117282011-07-10 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * window.el (display-buffer): Fix arguments to
11731 display-buffer-reuse-window in last change.
11732
fa7c3228
CY
11733 * faces.el (link): Use a less saturated blue on light backgrounds.
11734
11735 * startup.el (fancy-startup-text, fancy-about-text)
11736 (fancy-startup-tail): Use font-lock faces, for background safety.
11737
c0a7f300
BN
117382011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11739
b796c9b7
SM
11740 * emulation/viper-cmd.el (viper-change-state-to-vi):
11741 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11742
4dc2a129
MR
117432011-07-09 Martin Rudalics <rudalics@gmx.at>
11744
11745 * window.el (display-buffer-default-specifiers): Remove.
11746 (display-buffer-macro-specifiers): Remove default specifiers.
11747 (display-buffer-alist): Default to nil.
b796c9b7 11748 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11749 (display-buffer-pop-up-window): Allow splitting internal
11750 windows. Check whether a live window was created.
11751 (display-buffer-other-window-means-other-frame)
11752 (display-buffer-normalize-arguments): Rename to
11753 display-buffer-normalize-argument and rewrite. Set the
11754 other-window specifier.
11755 (display-buffer-normalize-special): New function.
11756 (display-buffer-normalize-options): Rename to
11757 display-buffer-normalize-default and rewrite.
11758 (display-buffer-normalize-options-inhibit): Remove.
11759 (display-buffer-normalize-specifiers): Rewrite.
11760 (display-buffer): Process other-window specifier and call
11761 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11762 more faithfully.
b796c9b7 11763 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11764 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11765 (display-buffer-in-window, display-buffer-alist-set):
11766 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11767 <tassilo@member.fsf.org>.
11768
2d43b8c9
LL
117692011-07-09 Leo Liu <sdl.web@gmail.com>
11770
11771 * register.el (insert-register): Restore accidental change on
11772 2011-06-26. (Bug#9028)
11773
7f9b7c53
GM
117742011-07-09 Glenn Morris <rgm@gnu.org>
11775
11776 * subr.el (remq): Handle the empty list. (Bug#9024)
11777
f042cfd8
AS
117782011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11779
11780 * mail/sendmail.el (send-mail-function): No longer delay custom
11781 initialization.
11782 * custom.el (custom-initialize-delay): Doc fix.
11783
856b2f11
SM
117842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11787
afae1d68
MA
117882011-07-08 Michael Albinus <michael.albinus@gmx.de>
11789
11790 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11791 human-friendly prompt.
11792
0757af94
SM
117932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11796 provided by a particular plugin.
11797
d760b731
LMI
117982011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11799
11800 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11801 save customizations (with "emacs -Q"), just set the variable
11802 instead of erroring out.
11803
11804 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11805
cd79ce90
JL
118062011-07-08 Juri Linkov <juri@jurta.org>
11807
11808 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11809 (archive-zip-update-case): Use 7z if found by `executable-find'.
11810 The order of searching the available programs is the same as in
11811 `archive-zip-extract' (bug#8968).
11812
14cc04aa
CY
118132011-07-07 Chong Yidong <cyd@stupidchicken.com>
11814
11815 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11816 (menu-bar-options-menu): Tweak descriptions.
11817
0a1848ec
LMI
118182011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11819
11820 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11821 menu items into verb phrases (bug#1421). Also refill to fit under
11822 80 columns.
11823
f5bd0689
CY
118242011-07-07 Chong Yidong <cyd@stupidchicken.com>
11825
538e85c6
CY
11826 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11827 (Info-read-node-name): Doc fix (Bug#1084).
11828
f5bd0689
CY
11829 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11830 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11831 (end-of-sexp, beginning-of-sexp)
11832 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11833 (forward-symbol, forward-same-syntax, word-at-point)
11834 (sentence-at-point): Doc fix (Bug#1144).
11835
56ec5115
LMI
118362011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11837
f3f8e37f
LMI
11838 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11839 should cover it (bug#1281).
11840
0757af94 11841 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11842
e9fce1ac 11843 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11844 negotiation fails, then possibly try again with a non-encrypted
11845 connection (bug#9017).
11846
56ec5115
LMI
11847 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11848 be used.
11849
c2f9aec8
RS
118502011-07-07 Richard Stallman <rms@gnu.org>
11851
11852 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11853 property, and handle its changed format.
11854 Look for the correct line number.
11855 Use file's line contents (but not past first =) to find
11856 correct line in message.
11857
ef7b981d 118582011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11859
11860 * international/characters.el (build-unicode-category-table):
11861 Delete it.
0757af94 11862 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11863
0757af94 11864 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11865 to src/chartab.c.
11866 (get-char-code-property): Call unicode-property-table-internal to
11867 load a file. Call get-unicode-property-internal where necessary.
11868 (put-char-code-property): Call unicode-property-table-internal to
11869 load a file. Call put-unicode-property-internal where necessary.
11870 put-unicode-property-internal where necessary.
0757af94
SM
11871 (char-code-property-description):
11872 Call unicode-property-table-internal to load a file.
c805dec0
KH
11873
11874 * international/charprop.el:
11875 * international/uni-bidi.el:
11876 * international/uni-category.el:
11877 * international/uni-combining.el:
11878 * international/uni-comment.el:
11879 * international/uni-decimal.el:
11880 * international/uni-decomposition.el:
11881 * international/uni-digit.el:
11882 * international/uni-lowercase.el:
11883 * international/uni-mirrored.el:
11884 * international/uni-name.el:
11885 * international/uni-numeric.el:
11886 * international/uni-old-name.el:
11887 * international/uni-titlecase.el:
11888 * international/uni-uppercase.el: Regenerate.
11889
11890 * loadup.el: Load international/charprop.el before
11891 international/characters.
11892
e14b388a
CY
118932011-07-07 Chong Yidong <cyd@stupidchicken.com>
11894
11895 * window.el (next-buffer, previous-buffer): Signal an error if
11896 called from a minibuffer window.
11897
11898 * bindings.el: Revert 2011-07-04 change.
11899
354cf0ba
RS
119002011-07-06 Richard Stallman <rms@gnu.org>
11901
11902 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11903 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11904 Treat markers like ints.
11905 (rmail-mime-entity): Doc fix.
11906
a48868a7
LMI
119072011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11908
4906cd3d
LMI
11909 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11910 defcustom again for backwards compatibility.
11911
e0457abe
LMI
11912 * simple.el (shell-command-on-region): Fill.
11913
d67f7e1f
LMI
11914 * dired-aux.el (dired-kill-line): Add a doc string.
11915
fe204702
LMI
11916 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11917 to "\\sw\\|\\s_" (bug#358).
11918
a48868a7
LMI
11919 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11920 (dired-unmark-backward): Ditto.
11921 (dired-flag-backup-files): Ditto.
11922
11923 * dired-x.el (dired-mark-sexp): Ditto.
11924
aa8a705c
RS
119252011-07-06 Richard Stallman <rms@gnu.org>
11926
11927 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11928 (rmail-mime-entity): New arg TRUNCATED.
11929 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11930 New functions.
11931 (rmail-mime-save): Warn if entity is truncated.
11932 (rmail-mime-toggle-hidden): Likewise, for showing.
11933 (rmail-mime-process-multipart): Record when an entity is truncated.
11934
a9a936b9
RS
11935 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11936 if ENTITY is a string.
11937
1f2b92cb
LMI
119382011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11939
f4f73198 11940 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11941 of faces when `M-C-x'-ing their definitions (bug#8378).
11942 Also clean up the code slightly.
f4f73198 11943
12b16734 11944 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11945 because that makes the colors go away.
12b16734 11946
f0691d22
LMI
11947 * mail/sendmail.el (send-mail-function): Change the default to
11948 `sendmail-query-once'.
9e87df06 11949 (sendmail-query-once): Add an autoload cookie.
f0691d22 11950
1f2b92cb
LMI
11951 * net/network-stream.el (network-stream-open-starttls): Try using
11952 a plain connection even if the server offered STARTTLS, and we
11953 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11954 capability. This should make smtpmail.el work in slightly more
11955 configurations.
11956
1cdd2a1b
MA
119572011-07-06 Michael Albinus <michael.albinus@gmx.de>
11958
11959 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11960 New defun.
11961 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11962
fbcc67e2
MM
119632011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11964
11965 * progmodes/sql.el: Version 3.0
0757af94 11966 (sql-product-alist): Add product :completion-object,
fbcc67e2 11967 :completion-column, and :statement attributes.
0757af94 11968 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 11969 (sql-mode-syntax-table): Mark all punctuation.
0757af94 11970 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
11971 ansi keywords.
11972 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 11973 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
11974 (sql-oracle-show-reserved-words): New function for development.
11975 (sql-product-font-lock): Simplify for source code buffers.
11976 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
11977 New functions.
11978 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
11979 (sql-mode-map): Add statement movement functions.
11980 (sql-ansi-statement-starters, sql-oracle-statement-starters):
11981 New variable.
fbcc67e2
MM
11982 (sql-statement-regexp, sql-beginning-of-statement)
11983 (sql-end-of-statement, sql-signum): New functions.
0757af94 11984 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
11985 (sql-show-sqli-buffer): Bug fix.
11986 (sql-interactive-mode): Store connection data as buffer local.
0757af94 11987 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
11988 with sql-interactive-mode.
11989 (sql-save-connection): Save buffer local settings.
0757af94 11990 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
11991 (sql-product-interactive): Bug fix.
11992 (sql-preoutput-hold): New variable.
11993 (sql-interactive-remove-continuation-prompt): Bug fixes.
11994 (sql-debug-redirect): New variable.
11995 (sql-str-literal): New function.
11996 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 11997 Redesign.
fbcc67e2
MM
11998 (sql-oracle-save-settings, sql-oracle-restore-settings)
11999 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12000 (sql-completion-object, sql-completion-column)
12001 (sql-completion-sqlbuf): New variables.
12002 (sql-build-completions-1, sql-build-completions)
12003 (sql-try-completion): New functions.
12004 (sql-read-table-name): Use them.
12005 (sql-contains-names): New buffer local variable.
12006 (sql-list-all, sql-list-table): Use it.
12007 (sql-oracle-completion-types): New variable.
12008 (sql-oracle-completion-object, sql-sqlite-completion-object)
12009 (sql-postgres-completion-object): New functions.
12010
d4eaeab1
GM
120112011-07-06 Glenn Morris <rgm@gnu.org>
12012
12013 * window.el (pop-to-buffer): Doc fix.
12014
322b7dab 120152011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12016
12017 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12018
322b7dab 120192011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12020
322b7dab 12021 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12022
322b7dab 12023 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12024
605dd5bf
CY
120252011-07-05 Chong Yidong <cyd@stupidchicken.com>
12026
12027 * button.el (button): Inherit from link face. Suggested by Dan
12028 Nicolaescu.
12029
7dbfa719
SM
120302011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12031
3db614b0
SM
12032 * progmodes/gdb-mi.el: Fit in 80 columns.
12033 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12034 switch-to-buffer.
12035
7dbfa719
SM
12036 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12037 if imenu is simply not configured (bug#8941).
12038
919d884a
KM
120392011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12040
12041 * allout.el (allout-post-undo-hook): New allout outline-change
12042 event hook to signal undo activity.
12043 (allout-post-command-business): Run allout-post-undo-hook if an
12044 undo just occurred.
7dbfa719
SM
12045 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12046 * allout-widgets.el (allout-widgets-after-undo-function):
12047 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12048 in the vicinity of an undo.
12049 (allout-widgets-mode): Include allout-widgets-after-undo-function
12050 on the new allout-post-undo-hook.
12051
450a0f09
SM
120522011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12055 Let define-derived-mode define it.
12056 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12057 cycles of abbrev-table inheritance (bug#8998).
12058
2de69e00
RW
120592011-07-05 Roland Winkler <winkler@gnu.org>
12060
12061 * textmodes/bibtex.el: Add support for biblatex.
12062 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12063 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12064 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12065 (bibtex-entry-alist, bibtex-field-alist): New variables.
12066 (bibtex-entry-field-alist): Obsolete alias for
12067 bibtex-BibTeX-entry-alist.
12068 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12069 (bibtex-set-dialect): New command.
12070 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12071 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12072 Bind via bibtex-set-dialect.
2de69e00
RW
12073 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12074 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12075 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12076 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12077 Define via bibtex-set-dialect.
450a0f09
SM
12078 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12079 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12080 (bibtex-vec-push, bibtex-vec-incr): New functions.
12081 (bibtex-format-entry, bibtex-field-list)
12082 (bibtex-print-help-message, bibtex-validate)
12083 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12084
2dcdbdd9
SM
120852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12086
12087 * progmodes/compile.el (compilation-goto-locus):
12088 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12089 * bs.el (bs-cycle-next, bs-cycle-previous):
12090 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12091 * bindings.el (mode-line-other-buffer):
12092 * autoinsert.el (auto-insert):
12093 * arc-mode.el (archive-extract):
12094 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12095
b27640fe
JB
120962011-07-05 Juanma Barranquero <lekktu@gmail.com>
12097
12098 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12099 Fix check of `emacs-lock-unlockable-modes'.
12100 Coerce true values of `emacs-lock--try-unlocking' to t.
12101
53bbe3ad
JB
121022011-07-05 Juanma Barranquero <lekktu@gmail.com>
12103
12104 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12105 * emacs-lock.el: New file.
12106
1d3cdbc7
JD
121072011-07-05 Julien Danjou <julien@danjou.info>
12108
12109 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12110 than `boundp' to check if face is set.
12111
9173deec
JB
121122011-07-05 Juanma Barranquero <lekktu@gmail.com>
12113
12114 * register.el (registerv-make):
12115 * window.el (window-min-height): Fix typos in docstrings.
12116
869795d6
JD
121172011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12118
9173deec 12119 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12120 Update doc string.
12121
b768cdcd
JB
121222011-07-04 Juanma Barranquero <lekktu@gmail.com>
12123
12124 * server.el (server-execute): Catch quit and call
12125 `server-return-error' to pass the error back to emacsclient and
12126 close the connection (bug#8942).
12127
13aa217b
KM
121282011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12129
12130 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12131 insecure exception for current topic. Also note that auto-saves
12132 are handled differently.
12133
5d3385a0 12134 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12135 State variables for tracking auto-save inhibition situation.
12136
12137 (allout-write-contents-hook-handler): Rename from
12138 'allout-write-file-hook-handler', and describe how it depends on
12139 write-contents-functions sensitivity to non-nil value to prevent
12140 file write.
12141
12142 (allout-auto-save-hook-handler): Remove. auto-save does not check
12143 this in individual buffers, only in the starting buffer, so this
12144 is not the right way for us to inhibit auto-save in a buffer
12145 according to its condition.
12146
12147 (allout-mode): Use new allout-write-contents-hook-handler, and
12148 only with write-contents-functions. Remove auto-save provisions -
12149 they're implemented elsewhere.
12150
12151 (allout-before-change-handler): If undo is in progress, note that
12152 for attention of allout-post-command-business.
12153
12154 (allout-post-command-business): If the command we're following was
12155 an undo, check for change in the status of encrypted items and
12156 adjust auto-save inhibitions accordingly.
12157
12158 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12159 according to whether there are or aren't any plain-text topics
12160 pending encryption.
12161
2dcdbdd9 12162 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12163 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12164 if there are plain-text topics pending encryption.
13aa217b
KM
12165
12166 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12167 buffer-saved-size and some allout state to not inhibit auto-saves
12168 if there are no longer any plain-text topics pending encryption.
12169
0757af94
SM
12170 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12171 No longer provide for exemption of the current topic.
13aa217b 12172
ac89b32c
JL
121732011-07-04 Juri Linkov <juri@jurta.org>
12174
12175 Add 7z operations to delete and save changed members (bug#8968).
12176 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12177 New defcustoms.
12178 (archive-7z-write-file-member): New function.
12179 (archive-7z-summarize): Fix the number of dashes in the
12180 listing output.
12181
8fa39615
SM
121822011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12185 (bug#8958).
12186
2f11b3f1
CY
121872011-07-04 Chong Yidong <cyd@stupidchicken.com>
12188
d66fef2b
CY
12189 * bindings.el: Ignore next-buffer and previous-buffer in
12190 minibuffer-local-map.
12191
2f11b3f1
CY
12192 * font-lock.el (font-lock-builtin-face): Change light background
12193 color to dark slate blue (Bug#6693).
12194
f932a347
WD
121952011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12196
12197 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12198
c8af70e1
SM
121992011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12202 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12203 Add switch-to-buffer.
12204
f158badc
LMI
122052011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12206
12207 * isearch.el (isearch-search-fun-function): Clarify further the
12208 meaning of the function returned.
12209
6d95bd46
MA
122102011-07-04 Michael Albinus <michael.albinus@gmx.de>
12211
12212 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12213
12214 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12215 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12216 Use it.
12217 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12218 `tramp-default-remote-path' does not exist.
12219 (tramp-send-command-and-read): New optional argument NOERROR.
12220 (tramp-open-connection-setup-interactive-shell)
12221 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12222 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12223 (tramp-process-sentinel): Flush also process' connection property.
12224 (tramp-sh-handle-start-file-process): Do not set process
12225 sentinel. It is done now ...
12226 (tramp-maybe-open-connection): ... here. (Bug#8929)
12227
909e6b67
MK
122282011-07-04 MON KEY <monkey@sandpframing.com>
12229
12230 * play/animate.el (animate-string): Doc fixes and allow changing
12231 the buffer name (bug#5417).
12232
122332011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
c8af70e1 12235 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12236
f34755dc
PE
122372011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12238
396cec72
PE
12239 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12240 This is simpler and helps future-proof the code.
12241 (timer-until): Use time-subtract and float-time.
08235028 12242 (timer--time-less-p): Use time-less-p.
f34755dc 12243
56e6cc31
JB
122442011-07-04 Juanma Barranquero <lekktu@gmail.com>
12245
3abb79e5
JB
12246 * type-break.el (timep): Use the value of `float-time' to avoid a
12247 byte-compiler warning.
12248
56e6cc31
JB
12249 * server.el (server-eval-and-print): Return any result, even nil.
12250
7b9430b4
PE
122512011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12252
12253 * type-break.el: Accept time formats that the builtins accept.
12254 (timep, type-break-time-difference): Accept any format that
12255 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12256 This is simpler and helps future-proof the code.
12257 (type-break-time-difference): Round rather than ignoring
12258 subseconds components.
12259
3034e9e7
LMI
122602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12261
12262 * info.el (Info-apropos-matches): Make non-interactive, since it
12263 doesn't seem to do anything useful as a command (bug#8829).
12264
1485f4c0
CY
122652011-07-03 Chong Yidong <cyd@stupidchicken.com>
12266
12267 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12268 Move from faces.el.
1485f4c0
CY
12269 (frame-default-terminal-background): New function.
12270
12271 * custom.el (custom-push-theme): Don't record faces in `changed'
12272 theme; this doesn't work correctly for per-frame face settings.
12273 (disable-theme): Use face-set-after-frame-default to reset faces.
12274 (custom--frame-color-default): New function.
12275
9fa3dd45
LMI
122762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12277
c8af70e1 12278 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12279 (bug#8769).
12280
6cbbc20c
KR
122812011-03-29 Kevin Ryde <user42@zip.com.au>
12282
12283 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12284 `perl-Test2' extend to match possible "fail #N" rep count
12285 (bug#8377).
12286
c7f98048
LMI
122872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12288
65676592
LMI
12289 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12290 `smtpmail-via-smtp' now returns the error instead of nil.
12291
c7f98048
LMI
12292 * isearch.el (isearch-search-fun-function): Clarify the doc string
12293 (bug#8101).
12294
56e6cc31 122952011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12296
12297 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12298 unnecessary spaces (bug#8987).
12299
2b216704
LMI
123002011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12301
12302 * net/network-stream.el (open-network-stream): Use the
12303 :end-of-capability command thoughout.
12304
123052011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12306
12307 * net/network-stream.el (open-network-stream): Add the
12308 :end-of-capability command parameter, used by pop3.el.
12309
36adf6ce
LMI
123102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12311
1ca0da0e
LMI
12312 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12313
fc00f69c
LMI
12314 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12315 for list)" (bug#6475).
12316
28fd8759 12317 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12318 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12319 an error (bug#6297).
12320
0dd8b6da
LMI
12321 * man.el (Man-reference-regexp): Allow matching possible
12322 word-wrapped references (bug#6289).
12323
ce1438d6
LMI
12324 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12325 for consistency with the other vc buffers (bug#6197).
12326 (vc-checkin): Ditto.
12327
12328 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12329
36adf6ce
LMI
12330 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12331
e83cc1f7
LMI
123322011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12333
8a20ca4c
LMI
12334 * custom.el (defcustom): Clarify that :set is only used in the
12335 Customize user interface (bug#6089).
12336
83319045
LMI
12337 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12338 associated with a file, refuse to run instead of erroring out
12339 (bug#6084).
12340
a8392169
LMI
12341 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12342 the doc string, since it appears that using `fill-column' always
12343 controls the width (bug#7845).
12344
e83cc1f7
LMI
12345 * simple.el (shell-command-on-region): Say where the error output
12346 went if `shell-command-default-error-buffer' is set (bug#6857).
12347
e47ca23b
KM
123482011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12349
12350 * allout.el (allout-yank-processing): Adjust cursor position for
12351 backwards-deleted space.
12352
12353 (allout-rebullet-heading): Register changes with
12354 allout-exposure-changed-hook, so the modified topic is properly
12355 decorated.
12356
5cf56143
LMI
123572011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12358
08549772
LMI
12359 * minibuffer.el (completion-in-region): Document PREDICATE
12360 (bug#7136).
12361
48e96771
LMI
12362 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12363 of keyword/argument pairs (bug#6904).
12364
c8af70e1
SM
12365 * replace.el (multi-occur):
12366 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12367
e17d05e2
LMI
123682011-07-02 Drew Adams <drew.adams@oracle.com>
12369
12370 * dired.el (dired-mark-if): Make the message about whether it's
12371 marking or unmarking clearer (bug#8523).
12372
063b0e45
LMI
123732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12374
12375 * disp-table.el (display-table-print-array): New function.
12376 (describe-display-table): Use it to print the vectors more pretty
12377 (Bug#8859).
12378
28545e04
MR
123792011-07-02 Martin Rudalics <rudalics@gmx.at>
12380
12381 * window.el (window-state-get-1): Don't assign clone numbers.
12382 Add clone-of item to list of window parameters.
12383 (window-state-put-2): Don't process clone numbers.
12384 (display-buffer-alist): Fix doc-string.
12385
3349e122
SM
123862011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * subr.el (remq): Don't allocate if it's not needed.
12389 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12390 (keymap--merge-bindings): New functions.
12391 (keymap-canonicalize): Use them to refine the canonicalization.
12392 * minibuffer.el (minibuffer-local-completion-map)
12393 (minibuffer-local-must-match-map): Move initialization from C.
12394 (minibuffer-local-filename-completion-map): Move initialization from C;
12395 don't inherit from anything here.
12396 (minibuffer-local-filename-must-match-map): Make obsolete.
12397 (completing-read-default): Use make-composed-keymap to combine
12398 minibuffer-local-filename-completion-map with either
12399 minibuffer-local-must-match-map or
12400 minibuffer-local-filename-completion-map.
12401
d224ac83
GM
124022011-07-01 Glenn Morris <rgm@gnu.org>
12403
3de63bf8
GM
12404 * type-break.el (type-break-time-sum): Use dolist.
12405
d224ac83
GM
12406 * textmodes/flyspell.el (flyspell-word-search-backward):
12407 Replace CL function.
12408
1a1e3f32
SM
124092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12410
fe3f64d5
SM
12411 * mouse.el (mouse--strip-first-event): New function.
12412 (function-key-map): Use it to map fringe clicks to normal clicks
12413 by default.
12414
eb604e34
SM
12415 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12416 (vc-bzr-revision-completion-table): Add support for annotate and date.
12417
1a1e3f32
SM
12418 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12419 inherit from parent.
12420
5bd35902
LMI
124212011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12422
ace6c69c 12423 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12424 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12425
191e2bed
LMI
12426 * dired.el (dired-mode): Fix up the doc string as suggested by
12427 Drew Adams (bug#8817).
12428
5bd35902
LMI
12429 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12430 cookie, since the manual says that it should be possible to add
12431 this function to `find-file-hook' (bug#8709).
12432
eee8207a
TZ
124332011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12434
12435 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12436 here. Noted Ted Zlatanov as the maintainer.
12437 (cfengine-common-settings, cfengine-common-syntax): New functions
12438 to set up common things between `cfengine-mode' and
12439 `cfengine3-mode'.
12440 (cfengine3-mode): New mode.
12441 (cfengine3-defuns cfengine3-defuns-regex
12442 (cfengine3-class-selector-regex cfengine3-category-regex)
12443 (cfengine3-vartypes cfengine3-font-lock-keywords)
12444 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12445 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12446
36b148cf
MA
124472011-07-01 Michael Albinus <michael.albinus@gmx.de>
12448
12449 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12450
12451 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12452
0bf4ba9a
MR
124532011-07-01 Martin Rudalics <rudalics@gmx.at>
12454
12455 * window.el (same-window-buffer-names, same-window-regexps)
12456 (same-window-p, special-display-frame-alist)
12457 (special-display-popup-frame, special-display-function)
12458 (special-display-buffer-names, special-display-regexps)
12459 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12460 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12461 (split-window-preferred-function, split-height-threshold)
12462 (split-width-threshold, even-window-heights)
12463 (display-buffer-mark-dedicated, window-splittable-p)
12464 (split-window-sensibly, window-safely-shrinkable-p):
12465 Un-obsolete.
12466 (display-buffer): Don't spread args with function specifier
12467 because special-display-popup-frame won't like it.
12468
35837f51
PE
124692011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12470
d0672f86
PE
12471 Time-stamp simplifications and fixes.
12472 These improve accuracy slightly, and future-proof the code
12473 against some potential changes to current-time format.
12474
b9444d97
PE
12475 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12476 by using time-since and float-time.
12477
0ef923dc
PE
12478 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12479 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12480 + NNN microseconds".
12481
2f81380d
PE
12482 * type-break.el (type-break-time-sum): Rewrite using time-add.
12483
845b5c3e
PE
12484 * play/hanoi.el (hanoi-current-time-float): Remove.
12485 All uses replaced by float-time.
12486
ee6f1be0
PE
12487 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12488 This yields a more-accurate answer.
12489 (rng-time-to-float): Remove; no longer needed.
12490
fe955043
PE
12491 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12492
5777162a
PE
12493 * calendar/timeclock.el (timeclock-seconds-to-time):
12494 Defalias to seconds-to-time, since they're the same thing.
12495
3103f8b6 12496 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12497 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12498 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12499
0e61a35f
SM
125002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * window.el (bury-buffer): Don't iconify the only frame.
12503 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12504 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12505
ddd63a1e
CY
125062011-07-01 Chong Yidong <cyd@stupidchicken.com>
12507
0e61a35f
SM
12508 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12509 Add mouse-yank-primary.
ddd63a1e 12510
055f4923
TZ
125112011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12512
12513 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12514
6a2fb145
SM
125152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12518 (find-library-name): Use it to find relative load names when provided
12519 absolute file name (bug#8803).
12520
fd4983f2
LMI
125212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12522
887d14ad
LMI
12523 * textmodes/flyspell.el (flyspell-word): Consider words that
12524 differ only in case as potential doublons (bug#5687).
12525
c53dc7fc
LMI
12526 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12527 Remove two rather uninteresting debugging-like messages to make
12528 debbugs.el more silent.
12529
fd4983f2
LMI
12530 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12531 a password-like phrase.
12532
7a71b18d 125332011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12534
12535 * progmodes/cc-guess.el: New file.
12536
6a2fb145 12537 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12538
12539 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12540 derived from `c-basic-common-init'.
12541
12542 * progmodes/cc-mode.el (top-level): Require cc-guess.
12543 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12544
1fa280a3
LM
125452011-06-30 Lawrence Mitchell <wence@gmx.li>
12546
12547 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12548
e6597158
AM
125492011-06-30 Alan Mackenzie <acm@muc.de>
12550
1fa280a3
LM
12551 * progmodes/cc-engine.el (c-guess-continued-construct):
12552 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12553 lock is disabled. Name this case as "CASE G".
12554
68ba37fb
KM
125552011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12556
12557 * allout.el (allout-yank-processing): Fix injection of extra space
12558 between bullet and non-whitespace character in first topic when
12559 pasting, ensuring that the actual spacing in the pasted topic
12560 following the bullet char is preserved. This extra space was
12561 causing pasted encrypted topics to get a decrypted status even
12562 when the content was actually still encrypted. Now the decryption
12563 status from before the paste is preserved.
12564
12565 (allout-flag-region): Set all allout overlays so they evaporate
12566 when reduced to zero length (evanescent), to prevent overlay
12567 leakage.
12568
887a0b34
GM
125692011-06-30 Glenn Morris <rgm@gnu.org>
12570
94b9acce
GM
12571 * w32-fns.el (w32-charset-info-alist): Declare.
12572
1d9b46d4
GM
12573 * find-dired.el (find-grep-options): Simplify.
12574
cc232200
GM
12575 * term/ns-win.el (ns-set-resource): Declare.
12576
28e77c46
GM
12577 * ses.el (row, col): Declare dynamic variables honestly.
12578
887a0b34
GM
12579 * textmodes/reftex-parse.el (index-tags): Declare.
12580
658d8eb8
CY
125812011-06-30 Chong Yidong <cyd@stupidchicken.com>
12582
12583 * cus-edit.el (customize-push-and-save): New function.
12584
12585 * files.el (hack-local-variables-confirm): Use it.
12586
1fa280a3
LM
12587 * custom.el (load-theme): New arg NO-CONFIRM.
12588 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12589 (custom-enabled-themes): Doc fix.
12590
12591 * cus-theme.el (customize-create-theme)
12592 (custom-theme-merge-theme): Callers to load-theme changed.
12593
bb617717
LMI
125942011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12595
d61bdd5d
LMI
12596 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12597 short URLs have at least one dot in them (bug #7614).
12598
bb617717
LMI
12599 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12600 nil, because using a pty is apparently too slow (bug #895).
12601
2f31f37a
LMI
126022011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12603
12604 * mail/sendmail.el (sendmail-query-once): New function.
12605 (sendmail-query-once-function): New variable.
12606
3076b24e
GM
126072011-06-29 Glenn Morris <rgm@gnu.org>
12608
faf2a174
GM
12609 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12610
3076b24e
GM
12611 * ses.el (top-level): Require cl when compiling.
12612 (ses-set-localvars): Fix error statement.
12613 Call it at compile time to silence a storm of warnings.
12614
5386012d
MR
126152011-06-29 Martin Rudalics <rudalics@gmx.at>
12616
12617 * window.el (normalize-live-buffer): Rename to
12618 window-normalize-buffer.
12619 (normalize-live-frame): Rename to window-normalize-frame.
12620 (normalize-any-window): Rename to window-normalize-any-window.
12621 (normalize-live-window): Rename to window-normalize-live-window.
12622 (make-window-atom): Rename to window-make-atom.
12623 (window-resize-reset): Rename to window--resize-reset.
12624 (window-resize-reset-1): Rename to window--resize-reset-1.
12625 (resize-mini-window): Rename to window--resize-mini-window.
12626 (resize-subwindows-skip-p): Rename to
12627 window--resize-subwindows-skip-p.
12628 (resize-subwindows-normal): Rename to
12629 window--resize-subwindows-normal.
12630 (resize-subwindows): Rename to window--resize-subwindows.
12631 (resize-other-windows): Rename to window--resize-siblings.
12632 (resize-this-window): Rename to window--resize-this-window.
12633 (resize-root-window): Rename to window--resize-root-window.
12634 (resize-root-window-vertically): Rename to
12635 window--resize-root-window-vertically.
12636 (normalize-buffer-to-display): Rename to
12637 window-normalize-buffer-to-display.
12638 (normalize-buffer-to-switch-to): Rename to
12639 window-normalize-buffer-to-switch-to.
12640 Correspondingly update all callers of the functions listed
12641 above.
12642 (display-buffer-alist, display-buffer-normalize-arguments)
12643 (display-buffer-normalize-options, display-buffer)
12644 (display-buffer-alist-set): Use "function" instead of
12645 "fun-with-args".
12646
1176868d
CY
126472011-06-28 Chong Yidong <cyd@stupidchicken.com>
12648
12649 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12650 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12651 debbugs.gnu.org. Mention acknowledgment email.
12652
20a7a65f
LMI
126532011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12654
12655 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12656 buffer multibyteness, since it shouldn't matter.
12657
5f45cca5
MR
126582011-06-28 Martin Rudalics <rudalics@gmx.at>
12659
12660 * window.el (display-buffer-in-side-window): Handle dedicated
12661 windows as in display-buffer-reuse-window.
12662 (display-buffer-normalize-alist): Use value of override
12663 specifier.
12664 (display-buffer-normalize-specifiers): Use value of
12665 other-window-means-other-frame specifier.
12666 (display-buffer-alist): Rewrite some texts in widgets.
12667 (display-buffer): Spread arguments when calling function
12668 specified by fun-with-args.
12669
ad85fe1f
DD
126702011-06-28 Deniz Dogan <deniz@dogan.se>
12671
1fa280a3
LM
12672 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12673 Unnest `let'.
da68c4c8 12674
ad85fe1f
DD
12675 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12676 selectors (Bug#5732).
ec49bd31 12677 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12678
a08cc025
JA
126792011-06-27 Jari Aalto <jari.aalto@cante.net>
12680
12681 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12682 (eshell-ls-date-format): New defcustom.
12683 (eshell-ls-file): Use it.
12684
e2b551c5
SM
126852011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12688
8982b231
KY
126892011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12690
12691 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12692 (ange-ftp-make-tmp-name): New arg.
12693 (ange-ftp-file-local-copy): Use it.
12694
36c9fa27
J
126952011-06-27 Jambunathan K <kjambunathan@gmail.com>
12696
12697 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12698 no-conversion (Bug#8870).
12699
d68443dc
MR
127002011-06-27 Martin Rudalics <rudalics@gmx.at>
12701
12702 * window.el (window-right, window-left, window-child)
12703 (window-child-count, window-last-child)
12704 (window-iso-combination-p, walk-window-tree-1)
12705 (window-atom-check-1, window-tree-1, delete-window)
12706 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12707 new naming conventions - window-vchild, window-hchild,
12708 window-next and window-prev are now called window-top-child,
12709 window-left-child, window-next-sibling and window-prev-sibling
12710 respectively.
d615d6d2
MR
12711 (resize-window-reset): Rename to window-resize-reset.
12712 (resize-window-reset-1): Rename to window-resize-reset-1.
12713 (resize-window): Rename to window-resize.
12714 (window-min-height, window-min-width)
12715 (resize-mini-window, resize-this-window, resize-root-window)
12716 (resize-root-window-vertically, adjust-window-trailing-edge)
12717 (enlarge-window, shrink-window, maximize-window)
12718 (minimize-window, delete-window, quit-restore-window)
12719 (split-window, balance-windows, balance-windows-area-adjust)
12720 (balance-windows-area, window-state-put-2)
12721 (display-buffer-even-window-sizes, display-buffer-set-height)
12722 (display-buffer-set-width, set-window-text-height)
12723 (fit-window-to-buffer): Rename all "resize-window" prefixed
12724 calls to use the "window-resize" prefix convention.
12725 (display-buffer-alist): Fix symbol for label specifier.
12726 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12727 corresponding specifier.
12728 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12729
b6458526
VB
127302011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12731
12732 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12733 convention.
12734 (ses-call-printer): Does not pass an empty string to formatter when the
12735 cell is empty to keep from barking printer Calc math-format-value.
12736
d31fd9ac
RS
127372011-06-27 Richard Stallman <rms@gnu.org>
12738
43d5bf84
RS
12739 * battery.el (battery-mode-line-limit): New variable.
12740 (battery-update): Handle it.
12741
d31fd9ac
RS
12742 * mail/rmailmm.el (rmail-mime-process-multipart):
12743 Handle truncated messages.
12744
819a6054
GM
127452011-06-27 Glenn Morris <rgm@gnu.org>
12746
12747 * progmodes/flymake.el (flymake-err-line-patterns):
12748 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12749
cedc73f2
VB
127502011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12751
819a6054 12752 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12753 (ses--clean-!, ses--clean-_): New functions.
12754 (ses-range): Add configurability of readout order, and conversion
12755 to Calc vector.
12756
5e5d49b6
VB
12757 * ses.el (ses-repair-cell-reference-all): New function.
12758 (ses-cell-symbol): Set macro as safe, so that it can be used in
12759 formulas.
12760
56e6cc31 12761 * ses.el: Update cycle detection algorithm.
90ca8b49 12762 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12763 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12764 (ses-set-localvars): New function.
12765 (ses-make-cell): Add property-list as a cell element.
12766 (ses-cell-property-get-fun, ses-cell-property-get)
12767 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12768 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12769 New functions.
90ca8b49
VB
12770 (ses-cell-property-set, ses-cell-property-pop)
12771 (ses-cell-property-get-handle): New macro.
12772 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12773 New aliases, used for code readability.
12774 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12775 cycle detection.
12776 (ses-self-reference-early-detection): New defcustom.
fac916bf 12777 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12778 (ses-mode): Use ses-set-localvars.
12779 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12780 before lauching the update processing.
12781 (ses-initialize-Dijkstra-attempt): New function.
12782 (ses-recalculate-cell): Update for cycle detection based on
12783 Dijkstra algorithm.
12784
2bb63e81
VB
12785 * ses.el: Fix commenting and indenting convention.
12786
c9d29fb8
SM
127872011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12788
12789 * bs.el (bs-cycle-next): Complete last change.
12790
d8e4b68b
JB
127912011-06-27 Drew Adams <drew.adams@oracle.com>
12792
12793 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12794
40098786
LMI
127952011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12796
c9d29fb8
SM
12797 * net/network-stream.el (network-stream-open-starttls):
12798 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12799 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12800
40098786
LMI
12801 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12802 to binary to possibly avoid line encoding issues on Windows (among
12803 other things).
12804
468d09d4
LMI
128052011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12806
12807 * net/network-stream.el (open-network-stream): Return an :error
12808 saying what the problem was, if possible.
12809
12810 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12811 server.
12812
12813 * net/network-stream.el (network-stream-open-starttls): If we
12814 wanted to use STARTTLS, and the server offered it, but we weren't
12815 able to because we had no STARTTLS support, then close the connection.
12816 (open-network-stream): Return an :error element, if present.
12817
16f07dd7
CY
128182011-06-26 Chong Yidong <cyd@stupidchicken.com>
12819
88821ca0
CY
12820 * hl-line.el (hl-line-sticky-flag): Doc fix.
12821 (global-hl-line-sticky-flag): New option (Bug#8323).
12822 (global-hl-line-highlight): Obey it.
12823
16f07dd7
CY
12824 * vc/vc.el (vc-revert-show-diff): Default to t.
12825
6b5ccddf
KM
128262011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12827
c9d29fb8
SM
12828 * allout-widgets.el (allout-widgets-post-command-business):
12829 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12830 undecorated when an isearch is continued past, and isearch
12831 automatically collapses them. This leads to "widget leaks", where
12832 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12833 hidden widgets can slow down cursor travel, substantially.
12834 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12835 so we're doing without this nicety.
12836
12837 (allout-widgets-tally-string): Don't try to do a hash-table-count
12838 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12839 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12840 *Messages* when allout-widgets-maintain-tally is t.
12841
355f2e07
MR
128422011-06-26 Martin Rudalics <rudalics@gmx.at>
12843
12844 * window.el (display-buffer-normalize-argument): Rename to
12845 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12846 LABEL argument. Respect special-display-function when popping up
12847 a new frame. Fix code searching for a window showing the buffer
12848 on another frame.
c9d29fb8
SM
12849 (display-buffer-normalize-specifiers):
12850 Call display-buffer-normalize-arguments.
355f2e07
MR
12851 (display-buffer-in-window): Don't undedicate the window if its
12852 buffer remains the same.
12853 Reported by Drew Adams <drew.adams@oracle.com>.
12854 (display-buffer-alist): Add choice for same-window macro
12855 specfier.
12856 (display-buffer): Mention special meaning of LABEL argument in
12857 doc-string. Fix quoting. Don't pop up a new frame even as
12858 fallback.
12859
7ca8fc42
JB
128602011-06-26 Juanma Barranquero <lekktu@gmail.com>
12861
12862 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12863 avoid deleting the current window in some cases (bug#8911).
12864
bc312254
AS
128652011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12866
12867 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12868 (Bug#8934)
12869
2db18f3f
LMI
128702011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12871
c9d29fb8
SM
12872 * net/network-stream.el (network-stream-open-starttls):
12873 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12874 (network-stream-open-tls): Ditto.
12875
6302e0d3
LL
128762011-06-26 Leo Liu <sdl.web@gmail.com>
12877
12878 * register.el (registerv): New struct.
12879 (registerv-make): New function.
c9d29fb8
SM
12880 (jump-to-register, describe-register-1, insert-register):
12881 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12882 struct. (Bug#8415)
12883
5fdd4046
CY
128842011-06-26 Chong Yidong <cyd@stupidchicken.com>
12885
2afef60a
CY
12886 * vc/vc.el (vc-revert-show-diff): New defcustom.
12887 (vc-diff-internal): New arg specifying diff buffer.
12888 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12889 reuse an existing *vc-diff* buffer (Bug#8927).
12890
5fdd4046
CY
12891 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12892
e93db24a
GM
128932011-06-26 Glenn Morris <rgm@gnu.org>
12894
12895 * progmodes/f90.el (f90-critical-indent): New option.
12896 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12897 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12898 (f90-mode): Doc fix.
12899 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12900 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12901 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12902 (f90-match-end): Handle block, critical.
12903
eefff499
GM
129042011-06-25 Glenn Morris <rgm@gnu.org>
12905
f6ba4cc9
GM
12906 * calendar/diary-lib.el (diary-included-files): Doc fix.
12907 (diary-include-files): New function, extracted from
12908 diary-include-other-diary-files and diary-mark-included-diary-files.
12909 (diary-include-other-diary-files, diary-mark-included-diary-files):
12910 Just call diary-include-files.
12911 (diary-mark-entries): Reset diary-included-files on first call.
12912
16712304
GM
12913 * calendar/diary-lib.el (diary-mark-entries)
12914 (diary-mark-included-diary-files):
12915 Visit included diary-files in temp buffers.
12916
5d8e0d43
GM
12917 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12918 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12919 (f90-start-block-re, f90-imenu-generic-expression)
12920 (f90-looking-at-program-block-start, f90-no-block-limit):
12921 Add support for submodules.
12922
ccf7a5d5
GM
12923 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12924 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12925
11fdef7d 129262011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12927
12928 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12929 buffer-file-type before setting its value, to avoid disastrous
eefff499 12930 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12931
74f53697
JB
129322011-06-25 Juanma Barranquero <lekktu@gmail.com>
12933
12934 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12935
12936 * ses.el (ses-unload-function):
12937 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12938
12939 * proced.el (proced-unload-function):
12940 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12941
18a4ce5e
AR
129422011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12943
12944 * server.el (server-create-window-system-frame): Add parameters arg.
12945 (server-process-filter): Doc fix. Handle frame-parameters.
12946
519d22cc
JB
129472011-06-25 Juanma Barranquero <lekktu@gmail.com>
12948
12949 Fix bug#8730, bug#8781.
12950
12951 * loadhist.el (unload--set-major-mode): New function.
12952 (unload-feature): Use it.
12953
12954 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12955 (python-unload-function): New function.
12956
c206f5b0
SM
129572011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12960
f9ad64f3
GS
129612011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12962
12963 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12964 the candidates list.
12965
7d0da90e
JB
129662011-06-24 Juanma Barranquero <lekktu@gmail.com>
12967
12968 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
12969
14b4e83d
RS
129702011-06-23 Richard Stallman <rms@gnu.org>
12971
12972 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
12973 (rmail-variables): Set next-error-move-function.
12974 (rmail-what-message): Take argument POS.
12975 (rmail-next-error-move): New function.
12976
273d2baf
SM
129772011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
12980 messages for adjacent non-terminals.
12981
56c2cc9a
RS
129822011-06-23 Richard Stallman <rms@gnu.org>
12983
12984 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 12985 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
12986 (rmail-start-mail): Don't specify use of rmail-mail-return;
12987 that's done by mail-bury now.
12988 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 12989
d59eb518
MA
129902011-06-23 Michael Albinus <michael.albinus@gmx.de>
12991
12992 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
12993 SIZE is a number.
12994
02cfc6d6
MR
129952011-06-23 Martin Rudalics <rudalics@gmx.at>
12996
12997 * window.el (get-lru-window, get-mru-window)
12998 (get-largest-window): Never return a minibuffer window.
12999 (display-buffer-pop-up-window): Fix a bug that could lead to
13000 reusing the minibuffer window.
13001 (display-buffer): Pass original specifier argument to
13002 display-buffer-function instead of the normalized one.
13003 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13004
4e323265
LL
130052011-06-22 Leo Liu <sdl.web@gmail.com>
13006
13007 * minibuffer.el (completing-read-function)
13008 (completing-read-default): Move from minibuf.c
13009
7a70468f
RS
130102011-06-22 Richard Stallman <rms@gnu.org>
13011
50718fc2
RS
13012 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13013 to Rmail even if not started by a special Rmail command.
13014
7a70468f
RS
13015 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13016 Copy the buffer currently showing just one message.
13017
297dde5a
RW
130182011-06-22 Roland Winkler <winkler@gnu.org>
13019
13020 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13021 (bibtex-clean-entry): First delete the old key so that a
13022 customized algorithm for generating the new key does not get
13023 confused by the old key.
13024 (bibtex-url): Obey regexp of first step.
13025 (bibtex-search-entries): Do not use add-to-list with local
13026 list-var.
13027
97bb1093
LMI
130282011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13029
13030 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13031 stored a user name, then query for the password first, instead of
13032 waiting for SMTP to give an error message and the trying again.
13033
1c0f1a19
JD
130342011-06-22 Lawrence Mitchell <wence@gmx.li>
13035
13036 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13037 BUFFER in call-process.
13038
396f7c9d
LMI
130392011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13040
13041 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13042 QUIT twice.
ddb7ffee
LMI
13043 (smtpmail-try-auth-methods): Require user name and password from
13044 auth-source.
396f7c9d 13045
8998d1b3
MR
130462011-06-22 Martin Rudalics <rudalics@gmx.at>
13047
13048 * window.el (display-buffer-default-specifiers)
13049 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13050 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13051 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13052
13053 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13054 (special-display-frame-alist, special-display-popup-frame):
13055 Remove duplicate declarations. These are now in window.el.
13056
4ea31e07
LMI
130572011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13058
c9d29fb8
SM
13059 * mail/smtpmail.el (smtpmail-via-smtp):
13060 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13061 server supports it. SMTP servers that support STARTTLS commonly
13062 require it.
13063
13064 * net/network-stream.el (network-stream-open-starttls): Support
13065 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13066 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13067
95f41d9a
LMI
13068 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13069 upgrades with `open-network-stream', and rely solely on
13070 auth-source for all credentials. Big changes throughout the file,
13071 but in particular:
c9d29fb8
SM
13072 (smtpmail-auth-credentials): Remove.
13073 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13074 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13075 MAIL FROM, too.
95f41d9a 13076
c9d29fb8
SM
13077 * net/network-stream.el (network-stream-open-starttls):
13078 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13079 STARTTLS.
13080 (auth-source): Require.
13081 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13082 (network-stream-certificate): Change cert-cert to cert and
13083 cert-key to key.
4ea31e07 13084
065ec2c7
MA
130852011-06-21 Michael Albinus <michael.albinus@gmx.de>
13086
13087 * net/tramp-cache.el (top): Don't load the persistency file when
13088 "emacs -Q" has been called.
13089
cd93b359
DR
130902011-06-21 Tim Harper <timcharper@gmail.com>
13091
d8e4b68b
JB
13092 * term/ns-win.el (ns-initialize-window-system):
13093 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13094 resource to NO as it is not yet supported by the NS port.
13095
ae9c0411
JB
130962011-06-21 Juanma Barranquero <lekktu@gmail.com>
13097
13098 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13099 (list-dynamic-libraries): ...not here.
13100
7f3f739f
LL
131012011-06-21 Leo Liu <sdl.web@gmail.com>
13102
13103 * subr.el (sha1): Implement sha1 using secure-hash.
13104
327c8fb1
MR
131052011-06-21 Martin Rudalics <rudalics@gmx.at>
13106
13107 * window.el (display-buffer-alist): In default value do not
13108 enforce searching a window on any but the selected frame.
13109 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13110 (display-buffer-select-window): Remove function.
13111 (display-buffer-in-window): When a window on another frame gets
13112 reused, do not select it any more but just raise its frame if
13113 necessary (Bug#8851) and (Bug#8856).
13114 (display-buffer-normalize-options): Handle pop-up-frames related
13115 options more faithfully.
13116 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13117 window if it is on another frame.
c9d29fb8
SM
13118 (display-buffer-alist, display-buffer-default-specifiers):
13119 Don't make new frame unsplittable by default.
9e9de014
MR
13120 (display-buffer-normalize-argument): Fix doc-string typo and use
13121 'same-frame-other-window instead of 'other-window when associating
13122 with display-buffer-macro-specifiers.
327c8fb1 13123
7cf3f556
VB
131242011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13125
13126 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13127 New functions.
13128 (5x5-mode-map, 5x5-mode-menu): Bind them.
13129 (5x5-draw-grid): Tweak the solver's rendering.
13130
60a406cf
SM
131312011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13134 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13135
d8e4b68b 131362011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13137
13138 * menu-bar.el: Use function variable instead of switch-to-buffer.
13139 (menu-bar-select-buffer-function): New variable.
60a406cf 13140 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13141
478d6f95
SM
131422011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13145 variable's status.
13146
ca530739
JD
131472011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13148
13149 * x-dnd.el (x-dnd-version-from-flags)
13150 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13151 and long as number (Bug#8899).
13152 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13153
bcd70d97
SM
131542011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13155
60a406cf 13156 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13157 (completion-try-completion, completion-all-completions): Compute the
13158 metadata argument if it's missing; make it optional (bug#8795).
13159
60a406cf 13160 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13161 (widget-complete): Use new :completion-function property.
13162 (widget-completions-at-point): New function.
13163 (default): Use :completion-function instead of :complete.
60a406cf
SM
13164 (widget-default-completions): Rename from widget-default-complete;
13165 Rewrite.
bcd70d97
SM
13166 (widget-string-complete, widget-file-complete, widget-color-complete):
13167 Remove functions.
13168 (file, symbol, function, variable, coding-system, color):
13169 * international/mule-cmds.el (default-input-method, charset)
13170 (language-info-custom-alist):
13171 * cus-edit.el (face): Use new property :completions.
13172
13173 * progmodes/pascal.el (pascal-completions-at-point): New function.
13174 (pascal-mode): Use it.
13175 (pascal-mode-map): Use completion-at-point.
13176 (pascal-toggle-completions): Make obsolete.
13177 (pascal-complete-word, pascal-show-completions):
13178 * progmodes/octave-mod.el (octave-complete-symbol):
13179 Redefine as obsolete alias.
13180 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13181 Signal absence of completion info for old Octave,
13182 (inferior-octave-complete): Redefine as obsolete alias.
13183 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13184 (meta-completions-at-point): Rename from meta-complete-symbol and
13185 adapt it for use on completion-at-point-functions.
13186 (meta-common-mode): Use it.
13187 (meta-looking-at-backward, meta-match-buffer): Remove.
13188 (meta-complete-symbol): Redefine as obsolete alias.
13189 (meta-common-mode-map): Use completion-at-point.
13190 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13191 (makefile-mode-map): Use completion-at-point.
13192 (makefile-completions-at-point): Rename from makefile-complete and
13193 adapt it for use on completion-at-point-functions.
13194 (makefile-mode): Use it.
13195 (makefile-complete): Redefine as obsolete alias.
13196
aebf69c8
DD
131972011-06-20 Deniz Dogan <deniz@dogan.se>
13198
13199 * net/rcirc.el: Delete trailing whitespaces once and for all.
13200
bfbbb27d
DC
132012011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13202
13203 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13204
d264a46b
CY
132052011-06-19 Chong Yidong <cyd@stupidchicken.com>
13206
4ca009e5
CY
13207 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13208
d264a46b
CY
13209 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13210
fbf5b3ce
MR
132112011-06-19 Martin Rudalics <rudalics@gmx.at>
13212
13213 * window.el (display-buffer-other-window-means-other-frame):
13214 Call display-buffer-normalize-alist.
13215 (display-buffer-normalize-specifiers-1): Rename to
13216 display-buffer-normalize-argument. New argument other-frame.
13217 Rewrite.
13218 (display-buffer-normalize-specifiers-2): Rename to
13219 display-buffer-normalize-options.
13220 (display-buffer-normalize-alist-1): New function.
13221 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13222 display-buffer-normalize-alist.
13223 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13224 (display-buffer-normalize-options-inhibit): New variable.
13225 (display-buffer-normalize-specifiers): Rewrite calling
13226 display-buffer-normalize-alist,
13227 display-buffer-normalize-argument, and
13228 display-buffer-normalize-options. Don't call the latter if
13229 display-buffer-normalize-options-inhibit is non-nil.
13230 (frame-auto-delete): New option.
13231 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13232 (window-list-no-nils, window-state-ignored-parameters)
13233 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13234 (window-state-put-1, window-state-put-2, window-state-put):
13235 New functions.
9a028c23
MR
13236 (display-buffer-normalize-options): Move special-display-p group
13237 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13238
6d10d800
CY
132392011-06-18 Chong Yidong <cyd@stupidchicken.com>
13240
6420d28b
CY
13241 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13242 groups (Bug#8776).
13243 (rx-submatch-n): New function.
13244 (rx): Document it.
13245
ddb8b596
CY
13246 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13247 (Bug#8768).
13248
13249 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13250
77080289
CY
13251 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13252
61dfb316
CY
13253 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13254 anytime existing face settings are present (Bug#8889).
13255
6d10d800
CY
13256 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13257 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13258 Remove unused argument.
13259
be3fb2b8
MR
132602011-06-18 Martin Rudalics <rudalics@gmx.at>
13261
bcd70d97
SM
13262 * window.el (display-buffer-default-specifiers):
13263 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13264 pop-up-window-min-width, and another reuse-window specifier
13265 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13266 (display-buffer-normalize-specifiers-2):
13267 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13268 pop-up-windows is unset. Add a reuse-window specifier for the
13269 case popping up a new window fails.
13270 (special-display-popup-frame): Remove double quoting.
28dec25a 13271 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13272
1c6d8c76
SM
132732011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13276 according to comint-completion-addsuffix.
13277
13278 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13279 (pcomplete-suffix-list): Mark as obsolete.
13280 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13281 pcomplete-seen in the closure.
13282 (pcomplete-comint-setup): Setup completion-at-point as well.
13283 (pcomplete--entries): New function.
13284 (pcomplete--env-regexp): New var.
13285 (pcomplete-entries): Rewrite to work with partial-completion and
13286 without relying on pcomplete-suffix-list.
13287 (pcomplete-pare-list): Remove, unused.
13288
25aef8b8
MR
132892011-06-17 Martin Rudalics <rudalics@gmx.at>
13290
13291 * window.el (display-buffer-alist): Set pop-up-window-min-height
13292 and pop-up-window-min-width in default value. Reported by
13293 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13294 other-window-means-other-frame.
13295 (display-buffer-macro-specifiers): Comment out entry for
13296 other-window specifier.
13297 (display-buffer-other-window-means-other-frame): New function.
13298 (display-buffer-normalize-specifiers-1): New arguments
13299 buffer-name and label. Treat other-window case specially.
13300 (display-buffer-normalize-specifiers-2): Treat other-window case
13301 specially.
13302 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13303 (display-buffer-normalize-specifiers):
13304 Call display-buffer-normalize-specifiers-3.
25aef8b8 13305
dbad4f69
MR
133062011-06-17 Martin Rudalics <rudalics@gmx.at>
13307
13308 * window.el (same-window-p): Fix two typos introduced when
13309 adding with-no-warnings.
d1067961
MR
13310 (display-buffer-normalize-specifiers-1): Don't check
13311 pop-up-frames for 'unset initialization.
13312 (display-buffer-normalize-specifiers-2): Major rewrite using
13313 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13314 (pop-up-frames, display-buffer-reuse-frames)
13315 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13316 Suggested by David Engster <deng@randomsample.de>.
13317 (even-window-heights): Initialize to 'unset.
13318 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13319 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13320 other window case.
dbad4f69 13321
9b9c9e3a
MR
133222011-06-16 Martin Rudalics <rudalics@gmx.at>
13323
bcd70d97
SM
13324 * window.el (display-buffer-normalize-specifiers-1):
13325 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13326 second argument of display-buffer (Bug#8865).
981d5c09
MR
13327 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13328 (switch-to-buffer-other-window-same-frame)
13329 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13330 Adams (Bug#8875).
9c2755e9
MR
13331 (display-buffer): Don't check noninteractive when calling
13332 display-buffer-pop-up-frame.
13333 (display-buffer-pop-up-frame): Never pop up a frame in
13334 noninteractive mode (Bug#8857).
67222e1d
MR
13335 (enlarge-window, shrink-window): Don't report an error when the
13336 window can't be resized as requested (Bug#8862).
9b9c9e3a 13337
2b75be67
SM
133382011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13339
9ffdd3ba
SM
13340 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13341
cb581a67
SM
13342 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13343
2b75be67
SM
13344 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13345
8c0e3589
AM
133462011-06-15 Alan Mackenzie <acm@muc.de>
13347
cb581a67
SM
13348 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13349 for declarators, disable knr checking to speed up for normal files.
13350 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13351
b96e6cde
LMI
133522011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13353
4bba86e6
LMI
13354 * net/network-stream.el (open-network-stream): Add the keyword
13355 :always-query-capabilities for the case where you want to force a
13356 `plain' network connection, but the protocol still requires the
13357 capabilitiy command (i.e., SMTP and EHLO).
13358
2b75be67 13359 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13360 consistency with other `-live-p' functions.
13361
efdcdbf8
SM
133622011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13363
13364 * window.el (same-window-buffer-names, same-window-regexps)
13365 (special-display-frame-alist, special-display-popup-frame)
13366 (special-display-function, special-display-buffer-names)
13367 (special-display-regexps, pop-up-frame-alist)
13368 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13369 (pop-up-windows, split-window-preferred-function)
13370 (split-height-threshold, split-width-threshold, even-window-heights)
13371 (display-buffer-mark-dedicated): Don't encourage the use of
13372 display-buffer-alist from Elisp code.
13373
c5cde042
DN
133742011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13375
13376 * progmodes/python.el (python-mode): Derive from prog-mode.
13377 * progmodes/ps-mode.el (ps-mode):
13378 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13379 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13380 * progmodes/ld-script.el (ld-script-mode): Likewise.
13381
baa1c9ab
MR
133822011-06-15 Martin Rudalics <rudalics@gmx.at>
13383
13384 * window.el (display-buffer-alist): Trim default value to avoid
13385 popping up a new frame (Bug#8857) or reusing an arbitrary window
13386 on another frame.
13387 (display-buffer): Do not fall back on popping up a new frame in
13388 batch mode (Bug#8857).
13389
c5dd5a51
CY
133902011-06-14 Chong Yidong <cyd@stupidchicken.com>
13391
13392 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13393 (custom-theme-summary): New function.
13394 (customize-themes): Use it.
13395
d647b7c4
GM
133962011-06-13 Glenn Morris <rgm@gnu.org>
13397
13398 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13399
9481c002
MR
134002011-06-13 Martin Rudalics <rudalics@gmx.at>
13401
357f93d2
MR
13402 * help.el (help-window): Remove variable.
13403 (help-window-point-marker, temp-buffer-max-height)
13404 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13405 (help-print-return-message): Don't set help-window.
13406 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13407 (help-window-setup-finish): Remove.
13408 (help-window-display-message, help-window-setup)
13409 (with-help-window): Major rewrite based on new
13410 display-buffer-window variable.
13411
13412 * help-mode.el (help-mode-finish): Remove help-window related
13413 code.
13414
13415 * view.el (view-exits-all-viewing-windows): Remove reference to
13416 view-return-to-alist in doc-string.
13417 (view-return-to-alist): Make obsolete.
13418 (view-buffer): Call pop-to-buffer-same-window and remove
13419 undo-window code.
13420 (view-buffer-other-window): Call pop-to-buffer-other-window and
13421 simplify code. Ignore second argument.
13422 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13423 simplify code. Ignore second argument.
13424 (view-return-to-alist-update): Make obsolete.
13425 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13426 Rewrite using quit-restore window parameters.
2b75be67
SM
13427 (view-mode-exit): Rename second argument to EXIT-ONLY.
13428 Rewrite using quit-restore-window.
357f93d2
MR
13429 (View-exit, View-exit-and-edit, View-leave, View-quit)
13430 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13431 appropriate arguments.
13432 (view-end-message): Use quit-restore window parameter.
13433
9481c002
MR
13434 * window.el (display-buffer-function): Rewrite doc-string.
13435 (display-buffer-window, display-buffer-alist): New variables.
13436 (display-buffer-split-specifiers)
13437 (display-buffer-side-specifiers)
13438 (display-buffer-macro-specifiers): New constants.
13439 (display-buffer-even-window-sizes, display-buffer-set-height)
13440 (display-buffer-set-width, display-buffer-select-window)
13441 (display-buffer-in-window, display-buffer-reuse-window)
13442 (display-buffer-split-window-1, display-buffer-split-window)
13443 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13444 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13445 (display-buffer-in-side-window, normalize-buffer-to-display)
13446 (display-buffer-normalize-specifiers-1)
13447 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13448 (display-buffer-normalize-specifiers, display-buffer-frame):
13449 New functions.
9481c002
MR
13450 (display-buffer): Major rewrite.
13451 (display-buffer-other-window, display-buffer-other-frame)
13452 (pop-to-buffer, switch-to-buffer-other-window)
13453 (switch-to-buffer-other-frame): Rewrite.
13454 (display-buffer-same-window, display-buffer-same-frame)
13455 (display-buffer-same-frame-other-window)
13456 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13457 (pop-to-buffer-other-window)
13458 (pop-to-buffer-same-frame-other-window)
13459 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13460 (switch-to-buffer-other-window-same-frame): New functions.
13461 (same-window-p, special-display-p): Rewrite disabling warnings.
13462 Make obsolete.
13463 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13464 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13465 Make obsolete
13466 (same-window-buffer-names, same-window-regexps)
13467 (special-display-frame-alist, special-display-popup-frame)
13468 (special-display-function, special-display-buffer-names)
13469 (special-display-regexps, pop-up-frame-alist)
13470 (pop-up-frame-function, split-window-preferred-function)
13471 (split-height-threshold, split-width-threshold)
13472 (even-window-heights): Make obsolete.
13473
9db51aca
GM
134742011-06-12 Glenn Morris <rgm@gnu.org>
13475
13476 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13477 Misc simplifications.
9db51aca 13478
39cffb44
MR
134792011-06-12 Martin Rudalics <rudalics@gmx.at>
13480
13481 * window.el (window-safely-shrinkable-p): Restore function which
13482 was inadvertently removed in change from 2011-06-11. Declare as
13483 obsolete.
13484
2b75be67
SM
13485 * calendar/calendar.el (calendar-generate-window):
13486 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13487 window-safely-shrinkable-p.
13488
a8955be7
GM
134892011-06-12 Glenn Morris <rgm@gnu.org>
13490
13491 * progmodes/fortran.el (fortran-mode-syntax-table):
13492 * progmodes/f90.el (f90-mode-syntax-table):
13493 Set % to punctuation. (Bug#8820)
13494 (f90-find-tag-default): Remove, no longer needed.
13495
f0d4059d
DC
134962011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13497
13498 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13499
1100a63c
CY
135002011-06-11 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * image.el (image-animated-p): Return animation delay in seconds.
13503 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13504 (image-animate-timeout): Remove DELAY argument. Don't assume
13505 every subimage has the same delay; get it from image-animated-p.
13506 (image-animate): Caller changed.
13507
def722bf
MA
135082011-06-11 Michael Albinus <michael.albinus@gmx.de>
13509
13510 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13511 to ignored backtrace functions.
13512
0a2bb1a9
GM
135132011-06-11 Glenn Morris <rgm@gnu.org>
13514
13515 * calendar/appt.el (appt-disp-window-function): Doc fix.
13516 (appt-check): Handle overlapping appointments. (Bug#8337)
13517
6198ccd0
MR
135182011-06-11 Martin Rudalics <rudalics@gmx.at>
13519
13520 * window.el (window-tree-1, window-tree): New functions, moving
13521 the latter to window.el.
13522 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13523 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13524 (bw-refresh-edges): Remove.
13525 (balance-windows-1, balance-windows-2): New functions.
13526 (balance-windows): Rewrite in terms of window tree functions,
13527 balance-windows-1 and balance-windows-2.
13528 (bw-adjust-window): Remove.
13529 (balance-windows-area-adjust): New function with functionality of
13530 bw-adjust-window but using resize-window.
2b75be67
SM
13531 (set-window-text-height): Rewrite doc-string.
13532 Use normalize-live-window and resize-window.
13533 (enlarge-window-horizontally, shrink-window-horizontally):
13534 Rename argument to DELTA.
6198ccd0
MR
13535 (window-buffer-height): New function.
13536 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13537 Rewrite using new window resize routines.
2b75be67
SM
13538 (kill-buffer-and-window, mouse-autoselect-window-select):
13539 Use ignore-errors instead of condition-case.
6198ccd0
MR
13540 (quit-window): Call delete-frame instead of delete-windows-on
13541 for the only buffer on frame.
13542
9397e56f
MR
135432011-06-10 Martin Rudalics <rudalics@gmx.at>
13544
13545 * loadup.el (top-level): Load window before files for the sake
13546 of replace-buffer-in-windows.
13547
13548 * files.el (read-buffer-to-switch)
13549 (switch-to-buffer-other-window)
2b75be67
SM
13550 (switch-to-buffer-other-frame, display-buffer-other-frame):
13551 Move to window.el.
9397e56f
MR
13552
13553 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13554 (previous-buffer): Move to window.el.
13555
13556 * bindings.el (unbury-buffer): Move to window.el.
13557
13558 * window.el (delete-other-windows-vertically): Move after
13559 definition of delete-other-windows.
13560 (other-window, delete-windows-on, replace-buffer-in-windows):
13561 Move here from window.c.
13562 (record-window-buffer, unrecord-window-buffer)
13563 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13564 (switch-to-next-buffer): New functions.
13565 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13566 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13567 (previous-buffer): Move here from simple.el.
13568 Call switch-to-prev-buffer.
9397e56f
MR
13569 (bury-buffer): Move here from buffer.c. Switch to previous
13570 buffer when window cannot be deleted.
13571 (unbury-buffer): Move here from bindings.el.
13572 (ctl-x-map): Move binding for other-window from window.c to
13573 here.
13574 (read-buffer-to-switch, switch-to-buffer-other-window)
13575 (switch-to-buffer-other-frame): Move here from files.el.
13576 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13577 (switch-to-buffer): Move here from buffer.c.
13578 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13579
562dd5e9
MR
135802011-06-10 Martin Rudalics <rudalics@gmx.at>
13581
13582 * window.el (window-min-height, window-min-width): Move here
13583 from window.c. Add defcustoms and rewrite doc-strings.
13584 (resize-mini-window, resize-window): New functions.
13585 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13586 Move here from window.c.
13587 (maximize-window, minimize-window): New functions.
13588 (delete-window, delete-other-windows, split-window): Move here
13589 from window.c.
13590 (window-split-min-size): New function.
13591 (split-window-keep-point): Mention split-window-above-each-other
13592 instead of split-window-vertically.
2b75be67 13593 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13594 Rename split-window-vertically to split-window-above-each-other
13595 and provide defalias for old definition.
13596 (split-window-side-by-side, split-window-horizontally):
13597 Rename split-window-horizontally to split-window-side-by-side
13598 and provide defalias for the old definition.
562dd5e9
MR
13599 (ctl-x-map): Move bindings for delete-window,
13600 delete-other-windows and enlarge-window here from window.c.
13601 Replace bindings for split-window-vertically and
13602 split-window-horizontally by bindings for
13603 split-window-above-each-other and split-window-side-by-side.
13604
13605 * cus-start.el (all): Remove entries for window-min-height and
13606 window-min-width. Add entries for window-splits and
13607 window-nest.
13608
f0da764a
GM
136092011-06-09 Glenn Morris <rgm@gnu.org>
13610
80675c21
GM
13611 * calendar/appt.el (appt-mode-line): New function.
13612 (appt-check, appt-disp-window): Use it.
13613
f0da764a
GM
13614 * files.el (hack-one-local-variable-eval-safep):
13615 Allow minor-modes with explicit +/-1 arguments.
13616
59f623b7
TZ
136172011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13618
13619 * term/xterm.el (xterm): Add defgroup.
13620 (xterm-extra-capabilities): Add defcustom to supply known xterm
13621 capabilities, skip querying them, or query them (default).
13622 (terminal-init-xterm): Use it.
13623 (terminal-init-xterm-modify-other-keys): New function to set up
13624 modifyOtherKeys support to simplify `terminal-init-xterm'.
13625
9aab8e0d
MR
136262011-06-09 Martin Rudalics <rudalics@gmx.at>
13627
13628 * window.el (resize-window-reset, resize-window-reset-1)
13629 (resize-subwindows-skip-p, resize-subwindows-normal)
13630 (resize-subwindows, resize-other-windows, resize-this-window)
13631 (resize-root-window, resize-root-window-vertically)
13632 (window-deletable-p, window-or-subwindow-p)
13633 (frame-root-window-p): New functions.
13634
e8b08aee
GM
136352011-06-09 Glenn Morris <rgm@gnu.org>
13636
13637 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13638 (ange-ftp-get-files): Use it.
13639
254c37a5
AK
136402011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13641
13642 * mail/sendmail.el (mail-recover-1, mail-recover):
13643 * files.el (recover-file, recover-session):
13644 Handle dired-listing-switches not being just a single short option.
13645
35d7dbd3
GM
136462011-06-09 Glenn Morris <rgm@gnu.org>
13647
13648 * calendar/appt.el (appt-display-message, appt-disp-window):
13649 Handle lists of appointments.
13650
387522b2
MR
136512011-06-08 Martin Rudalics <rudalics@gmx.at>
13652
2b75be67
SM
13653 * window.el (one-window-p): Move down in code.
13654 Rewrite doc-string.
13655 (window-current-scroll-bars): Rewrite doc-string.
13656 Normalize live window argument.
387522b2
MR
13657 (walk-windows, get-window-with-predicate, count-windows):
13658 Rewrite doc-string. Use window-list-1.
13659 (window-in-direction-2, window-in-direction, get-mru-window):
13660 New functions.
13661
d8e4b68b 136622011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13663
13664 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13665 Doc fix (Bug#8713).
13666
136672011-06-08 Chong Yidong <cyd@stupidchicken.com>
13668
13669 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13670
136712011-06-08 Juanma Barranquero <lekktu@gmail.com>
13672
13673 * loadhist.el (unload-feature-special-hooks):
13674 Add `comint-output-filter-functions'.
13675
0de12c52
IK
136762011-06-08 Ivan Kanis <gnu@kanis.fr>
13677
13678 * calendar/appt.el (appt-check): Move some initializations into the let.
13679
f3d1777e
MR
136802011-06-08 Martin Rudalics <rudalics@gmx.at>
13681
13682 * window.el (window-height): Defalias to window-total-height.
13683 (window-width): Defalias to window-body-width.
13684
18af70d0
CY
136852011-06-07 Chong Yidong <cyd@stupidchicken.com>
13686
13687 * image-mode.el (image-toggle-animation): New command.
13688 (image-mode-map): Bind it to RET.
13689 (image-mode): Update message.
13690 (image-toggle-display-image): Avoid a spurious cache flush.
13691 (image-transform-rotation): Doc fix.
13692 (image-transform-properties): Return quickly in the normal case.
13693 (image-animate-loop): Rename from image-animate-max-time.
13694
2b75be67 13695 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13696 (create-animated-image): Remove unnecessary function.
13697 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13698 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13699 (image-animate-timer): Use car-safe.
13700 (image-animate-timeout): Rename argument.
13701
190b47e6
MR
137022011-06-07 Martin Rudalics <rudalics@gmx.at>
13703
13704 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13705 window.c. Rename first argument to ALL-FRAMES.
13706 Rephrase doc-strings.
13707 (get-buffer-window-list): Rewrite using window-list-1.
13708 Rephrase doc-string.
a1511caf
MR
13709 (window-safe-min-height, window-safe-min-width): New constants.
13710 (window-size-ignore, window-min-size, window-min-size-1)
13711 (window-sizable, window-sizable-p, window-size-fixed-1)
13712 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13713 (window-max-delta-1, window-max-delta, window-resizable)
13714 (window-resizable-p, window-total-height, window-total-width)
13715 (window-body-width): New functions.
13716 (window-full-height-p, window-full-width-p): Rewrite using
13717 window-total-size.
13718 (window-body-height): Rewrite using window-body-size.
190b47e6 13719
85cc1f11
MR
137202011-06-06 Martin Rudalics <rudalics@gmx.at>
13721
13722 * window.el (window-right, window-left, window-child)
13723 (window-child-count, window-last-child, window-any-p)
13724 (normalize-live-buffer, normalize-live-frame)
13725 (normalize-any-window, normalize-live-window)
13726 (window-iso-combination-p, window-iso-combined-p)
13727 (window-iso-combinations)
13728 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13729 (windows-with-parameter, window-with-parameter)
13730 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13731 (window-atom-check, window-side-check, window-check):
13732 New functions.
85cc1f11
MR
13733 (ignore-window-parameters, window-sides, window-sides-vertical)
13734 (window-sides-slots): New variables.
13735 (window-size-fixed): Move down in code. Minor doc-string fix.
13736
e7156492
AS
137372011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13738
13739 * comint.el (comint-dynamic-complete-as-filename)
13740 (comint-dynamic-complete-filename): Correctly call
13741 completion-in-region.
13742
7e821d0d
DD
137432011-06-05 Deniz Dogan <deniz@dogan.se>
13744
13745 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13746 in last change.
13747
ac09b8a1
DD
137482011-06-05 Deniz Dogan <deniz@dogan.se>
13749
13750 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13751 (rcirc): Use it to prompt for encryption.
13752
34699b85
RW
137532011-06-05 Roland Winkler <winkler@gnu.org>
13754
13755 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13756 (bibtex-search-entries): New command bound to C-c C-a.
13757 (bibtex-display-entries): New function.
13758
004dedd3
RW
137592011-06-05 Roland Winkler <winkler@gnu.org>
13760
13761 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13762 (bibtex-insert-kill): After yanking insert newline if necessary.
13763 (bibtex-initialize): Call bibtex-string-files-init only once.
13764 (bibtex-mode): Do not call easy-menu-add.
13765 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13766 (bibtex-yank): Set arg properly if nil.
13767
022fe7ce
RW
137682011-06-05 Roland Winkler <winkler@gnu.org>
13769
2b75be67
SM
13770 * textmodes/bibtex.el (bibtex-search-entry-globally):
13771 New variable.
022fe7ce
RW
13772 (bibtex-search-entry): Use it.
13773
b7c3692a
RW
137742011-06-05 Roland Winkler <winkler@gnu.org>
13775
13776 * textmodes/bibtex.el (bibtex-entry-format): New option
13777 sort-fields.
13778 (bibtex-format-entry, bibtex-reformat): Honor this option.
13779 (bibtex-parse-entry): Return fields in proper order.
13780
8eda563d
JB
137812011-06-05 Juanma Barranquero <lekktu@gmail.com>
13782
13783 * doc-view.el (doc-view-remove-if): Move computation of result out
13784 of `dolist' to silence misleading lexical-binding warning.
13785
7dbe3dbc
CY
137862011-06-04 Chong Yidong <cyd@stupidchicken.com>
13787
13788 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13789 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13790
0c33dd17
MA
137912011-06-04 Michael Albinus <michael.albinus@gmx.de>
13792
13793 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13794 "SunOS 5.10".
13795
f8f91c2b
MA
137962011-06-04 Michael Albinus <michael.albinus@gmx.de>
13797
13798 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13799 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13800 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13801 (tramp-parse-putty):
13802 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13803 (tramp-completion-function-alist-ssh)
13804 (tramp-completion-function-alist-telnet)
13805 (tramp-completion-function-alist-su)
13806 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13807 cookie.
13808
13809 * net/tramp-ftp.el:
13810 * net/tramp-sh.el:
13811 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13812 load "tramp.el" `tramp-set-completion-function'.
13813
e17d9003
SM
138142011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13815
13816 * shell.el: Require and use pcomplete.
13817 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13818 (shell-completion-vars): Set pcomplete-default-completion-function.
13819
6c4cab03
DD
138202011-06-04 Deniz Dogan <deniz@dogan.se>
13821
13822 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13823 `memq' (Bug#8799).
13824
ea9fafe0
SM
138252011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13828
b3e945d3
JB
138292011-06-02 Juanma Barranquero <lekktu@gmail.com>
13830
13831 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13832 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13833 * vc/log-view.el (log-view-beginning-of-defun):
13834 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13835 (smerge-refine-forward, smerge-refine-chopup-region):
13836 Silence warning for unused `dotimes' counter variables.
13837
7d520089
SM
138382011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13839
13840 * net/tramp.el (tramp-with-progress-reporter): Rename from
13841 with-progress-reporter. Use `declare'.
13842 * net/tramp-smb.el:
13843 * net/tramp-sh.el:
13844 * net/tramp-gvfs.el: Update all uses.
13845
a1c2400f
JB
138462011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13847
13848 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13849 buffer isn't killed before making it current.
13850
2403c841
SM
138512011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 Silence various byte-compiler warnings.
13854 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13855 `access-type' and new obsolescence format.
13856 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13857 new format.
13858 (byte-compile-check-variable): New `access-type' argument.
13859 Only warn if the access-type is obsolete.
13860 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13861 (byte-compile-variable-set): Adjust callers.
13862 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13863 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13864 setting it as obsolete.
13865 * simple.el (minibuffer-completing-symbol):
13866 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13867 access as obsolete.
13868 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13869 obsolete yet.
13870 * international/quail.el (quail-mouse-choose-completion): Remove unused
13871 code referring to obsolete var.
13872 (quail-choose-completion-string): Remove.
13873 * server.el (server-clients-with, server-kill-buffer-query-function)
13874 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13875 * proced.el (proced-send-signal):
13876 * emacs-lisp/lisp.el (lisp-complete-symbol):
13877 Replace completion-annotate-function with completion-extra-properties.
13878
2462470b
SM
138792011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13880
fb5b2591
SM
13881 * simple.el (goto-line): Use read-number.
13882 (overriding-map-is-bound): Remove.
13883 (saved-overriding-map): Change default.
13884 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13885 Take the map as argument.
13886 (universal-argument, negative-argument, digit-argument): Use it.
13887 (restore-overriding-map): Adjust.
13888 (do-auto-fill): Use fill-forward-paragraph.
13889 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13890
fd6fa53f
SM
13891 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13892 (minibuffer-inactive-mode): New major mode.
13893 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13894 the *Messages* buffer" hack.
13895 (mouse-popup-menubar): Don't burp if the event is a normal key.
13896
2462470b
SM
13897 Miscellaneous tweaks.
13898 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13899 lexical scoping as in subr.el's dolist and dotimes.
13900 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13901 Silence compiler warning.
13902 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13903 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13904 * international/ccl.el (ccl-compile): Trivial simplification.
13905 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13906 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13907 `printflag' argument.
13908 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13909 Purecopy the whole obsolescence data.
13910
108bf785
LL
139112011-06-01 Leo Liu <sdl.web@gmail.com>
13912
13913 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13914 improve doc-string as suggested by Marco Pessotto
13915 <melmothx@gmail.com>.
13916 (rcirc-print): Fix last change.
13917
30a23501
SM
139182011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13919
13920 * minibuffer.el (complete-with-action): Return nil for the metadata and
13921 boundaries of non-functional tables.
13922 (completion-table-dynamic): Return nil for the metadata.
13923 (completion-table-with-terminator): Add default case, using
13924 complete-with-action.
13925 (completion--metadata): New function.
13926 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13927 to try and avoid pathological performance problems.
13928 (completion--embedded-envvar-table): Return `category' metadata.
13929
bcd54f83
LMI
139302011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13931
13932 * subr.el (process-alive-p): New tiny convenience function.
13933
e227544d
SM
139342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13935
13936 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13937 content but also its previous major mode.
13938
e8296fdc
HE
139392011-05-31 Helmut Eller <eller.helmut@gmail.com>
13940
4d61f28d 13941 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13942 *Backtrace* buffer when we exit with C-M-c.
13943
620c53a6
SM
139442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * minibuffer.el: Add metadata method to completion tables.
13947 (completion-category-overrides): New defcustom.
13948 (completion-metadata, completion--field-metadata)
13949 (completion-metadata-get, completion--styles)
13950 (completion--cycle-threshold): New functions.
13951 (completion-try-completion, completion-all-completions):
13952 Add `metadata' argument to choose completion-styles.
13953 (completion--do-completion): Use metadata to choose cycling.
13954 (completion-all-sorted-completions): Use metadata for sorting.
13955 Remove :completion-cycle-penalty which is not needed any more.
13956 (completion--try-word-completion): Add `metadata' argument.
13957 (minibuffer-completion-help): Check metadata for annotation function
13958 and sorting.
13959 (completion-file-name-table): Return `category' metadata.
13960 (minibuffer-completing-file-name): Make obsolete.
13961 * simple.el (minibuffer-completing-symbol): Make obsolete.
13962 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13963 completion-try-completion.
13964
1257e755
SM
139652011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13966
13967 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
13968
3767e706
LL
139692011-05-30 Leo Liu <sdl.web@gmail.com>
13970
13971 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
13972 (rcirc-print): Decode all incoming messages (bug#8744).
13973 (rcirc-decode-coding-system): Allow value nil for automatic coding
13974 system detection.
3767e706 13975
d1a5d56a
GM
139762011-06-01 Glenn Morris <rgm@gnu.org>
13977
13978 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
13979
e8cbec34
CY
139802011-05-29 Chong Yidong <cyd@stupidchicken.com>
13981
13982 * image.el (image-animate-max-time): Allow nil and t values.
13983 Default to nil.
13984 (create-animated-image): Doc fix.
13985 (image-animate-start): Remove second arg; just use
13986 image-animate-max-time.
13987 (image-animate-timeout): Doc fix. Args changed.
13988
13989 * image-mode.el (image-toggle-display-image): Ensure that the
13990 image spec passed to the animate timer is the same object as in
58179cce 13991 the buffer's display property (Bug#6981).
e8cbec34
CY
13992 (image-transform-properties): Doc fix.
13993
13994 * image.el (image-animate-max-time): Default to nil.
13995
159daf87
MR
139962011-05-29 Martin Rudalics <rudalics@gmx.at>
13997
13998 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
13999 entire buffer list (Bug#8184).
14000
d66c4c7c
CY
140012011-05-29 Chong Yidong <cyd@stupidchicken.com>
14002
14003 * image.el (imagemagick-types-inhibit)
14004 (imagemagick-register-types): Doc fix.
14005
80aec780
DD
140062011-05-29 Deniz Dogan <deniz@dogan.se>
14007
14008 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14009 default.
14010
1dd3c2d9
CY
140112011-05-29 Chong Yidong <cyd@stupidchicken.com>
14012
14013 * select.el: Don't perform clipboard-manager saving in hooks;
14014 leave the hooks empty.
14015
60e56523
LL
140162011-05-28 Leo Liu <sdl.web@gmail.com>
14017
14018 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14019 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14020 (occur-edit-mode): New major mode (Bug#8463).
14021 (occur-after-change-function): New function.
14022 (occur-engine): Give Occur tags a read-only property.
14023
2b1e1a22
KR
140242011-05-28 Kevin Ryde <user42@zip.com.au>
14025
14026 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14027
5d344e88
CY
140282011-05-28 Chong Yidong <cyd@stupidchicken.com>
14029
8e6ca83d
CY
14030 * bindings.el (help-echo): Make the initial non-indicator dash
14031 empty on graphical terminals (Bug#7295).
14032
5d344e88
CY
14033 * files.el (auto-mode-alist): Move config rule after the
14034 in-stripping one (Bug#8547).
14035
bfbbace7
CY
14036 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14037
fbeba6e2
CY
14038 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14039 setting (Bug#8740).
14040
60ed8c72
AA
140412011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14042
4ac619f0
AA
14043 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14044 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14045 (Bug#8539).
60ed8c72 14046
23db196e
CY
140472011-05-28 Chong Yidong <cyd@stupidchicken.com>
14048
14049 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14050
5012f24c
DK
140512011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14052
14053 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14054 (hs-hide-block-at-point, hs-find-block-beginning)
14055 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14056 (Bug#8279).
14057
6a639b16
GM
140582011-05-28 Glenn Morris <rgm@gnu.org>
14059
14060 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14061
d43eaf2c
CY
140622011-05-28 Chong Yidong <cyd@stupidchicken.com>
14063
5199bde1
CY
14064 * help-fns.el (describe-function-1): If the function is a derived
14065 major mode, print the parent mode.
14066
d43eaf2c
CY
14067 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14068 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14069
423428a8
SM
140702011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14071
0ff8e1ba 14072 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14073 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14074 * progmodes/etags.el (tags-completion-at-point-function):
14075 * info-look.el (info-lookup-completions-at-point): Mark as
14076 non-exclusive.
14077 (info-complete): Adjust accordingly.
14078
423428a8
SM
14079 * info-look.el: Convert to lexical-binding and completion-at-point.
14080 (info-lookup-completions-at-point): New function.
14081 (info-complete): Use it and completion-in-region.
14082
b74aa22b
DA
140832011-05-28 Drew Adams <drew.adams@oracle.com>
14084
14085 * isearch.el: Let M-e start with point at the first mismatched char.
14086 (isearch-fail-pos): New function.
14087 (isearch-edit-string): Use it.
14088
66e2e71d
DK
140892011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14090
14091 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14092
b1890b0f 140932011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14094
14095 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14096 traversal functions for avl-trees.
14097 (avl-tree--stack): New struct.
14098 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14099 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14100 (avl-tree--do-enter): Add optional `updatefun' arg.
14101 Change return value.
eb95d01d 14102 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14103 (avl-tree--do-delete): Add `test' and `nilflag' args.
14104 Change return value.
eb95d01d
TC
14105 (avl-tree-member): Add optional `nilflag'
14106 (avl-tree-member-p): New function.
14107 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14108 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14109 (avl-tree-stack-empty-p): New functions.
14110
3769ddcf
TC
14111 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14112 avl-tree--del-balance1 and make it work both ways.
14113 (avl-tree--del-balance2): Remove.
14114 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14115 make it work both ways.
14116 (avl-tree--enter-balance2): Remove.
14117 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14118 New macros.
14119 (avl-tree--mapc, avl-tree-map): Add direction argument.
14120
eb95d01d 141212011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14122
14123 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14124
a9f737ee
CY
141252011-05-27 Chong Yidong <cyd@stupidchicken.com>
14126
14127 * select.el: Support clipboard managers with built-in function
14128 x-clipboard-manager-save, via delete-frame-functions and
14129 kill-emacs-hook.
14130 (xselect-convert-to-targets): Add MULTIPLE target to list.
14131 (xselect-convert-to-save-targets): New function.
14132
c92a1e54
KH
141332011-05-27 Kenichi Handa <handa@m17n.org>
14134
14135 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14136 let-binding rfc2047-encode-encoded-words to nil.
14137
e145f188
GM
141382011-05-27 Glenn Morris <rgm@gnu.org>
14139
5ec8a862
GM
14140 * mail/emacsbug.el: Don't require url-util.
14141
4b29d9fb
GM
14142 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14143
e145f188
GM
14144 * files.el (set-auto-mode):
14145 Also respect mode: entries at the end of the file. (Bug#8586)
14146
7d15102b
GM
141472011-05-26 Glenn Morris <rgm@gnu.org>
14148
98f593b8
GM
14149 * files.el (hack-local-variables-prop-line, hack-local-variables):
14150 Downcase mode names, as seems to be traditional.
27b48e63 14151 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14152
7d15102b
GM
14153 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14154 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14155
51d5b4ec
JD
141562011-05-25 Julien Danjou <julien@danjou.info>
14157
14158 * textmodes/rst.el (rst-define-level-faces): Do not define face
14159 symbol if it is already defined.
14160
91513f63
VB
141612011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14162
14163 * play/5x5.el (5x5-new-game, 5x5-randomize):
14164 Reset 5x5-solver-output to nil when a new grid is cast.
14165 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14166 these debugging traces, as defmacro breaks the compiled code.
14167
4d90d6d0
DK
141682011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14169
14170 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14171
e1b90ef6
LL
141722011-05-24 Leo Liu <sdl.web@gmail.com>
14173
14174 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14175 (vc-bzr-sha1): Adapt.
14176
d8e4b68b 14177 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14178
14179 * bindings.el: Provide sha1 feature.
14180
db0406bb 141812011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14182
14183 * mail/sendmail.el: Require `rfc2047'.
14184 (mail-insert-from-field): Do not perform RFC2047 encoding.
14185 (mail-encode-header): New function.
14186 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14187 buffer to the return value of select-message-coding-system.
14188 Call mail-encode-header.
b8d747b9
KH
14189
14190 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14191
db0406bb 141922011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14193
4d90d6d0
DK
14194 * mail/supercite.el (sc-default-cite-frame):
14195 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14196
eb8a5e9b
GM
141972011-05-24 Glenn Morris <rgm@gnu.org>
14198
f8630703
GM
14199 * progmodes/python.el (brm-menu): Declare.
14200
8831bbed
GM
14201 * emulation/viper.el (viper-set-hooks): Declare.
14202
eb8a5e9b
GM
14203 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14204 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14205 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14206 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14207 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14208 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14209
a2a25d24
SM
142102011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14211
14212 Add an :exit-function for completion-at-point.
14213
14214 * minibuffer.el (completion--done): New fun.
14215 (completion--do-completion): Use it. New arg `expect-exact'.
14216 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14217 since completion--do-completion does it for us now.
14218 (minibuffer-force-complete): Use completion--done and
14219 completion--replace. Handle sole-completion case with more care.
14220 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14221 (completion-extra-properties): New var.
14222 (completion-annotate-function): Make obsolete.
14223 (minibuffer-completion-help): Adjust accordingly.
14224 Use completion-list-insert-choice-function.
14225 (completion-at-point, completion-help-at-point):
14226 Bind completion-extra-properties.
14227 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14228 * simple.el (completion-list-insert-choice-function): New var.
14229 (completion-setup-function): Preserve it.
14230 (choose-completion): Pay attention to it, shuffle the code a bit.
14231 (choose-completion-string): New arg `insert-function'.
14232
14233 * textmodes/bibtex.el: Convert to lexical binding.
14234 (bibtex-mode-map): Use completion-at-point.
14235 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14236 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14237 (bibtex-complete): Define as obsolete alias.
14238 (bibtex-complete-internal): Remove.
14239 (bibtex-format-entry): Remove unused sub-group in regexp.
14240 * shell.el (shell--command-completion-data)
14241 (shell-environment-variable-completion):
14242 * pcomplete.el (pcomplete-completions-at-point):
14243 * comint.el (comint--complete-file-name-data): Use :exit-function
14244 instead of completion-table-with-terminator so it also works for
14245 choose-completion.
14246
e44e373d
SM
142472011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14248
4f91a816
SM
14249 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14250
782fc819
SM
14251 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14252 (bug#8710).
14253
e44e373d
SM
14254 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14255
381987c3
KM
142562011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14257
14258 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14259 customization variable and implement: If non-nil, auto-fill will
14260 be inhibited while on topic's header line.
14261
b776bc70
VB
142622011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14263
14264 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14265 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14266 always have a solution in grid size = 5 cases.
14267 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14268 (5x5-solver-output, 5x5-log-buffer): New vars.
14269 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14270 Make these variables buffer local to achieve 5x5 multi-session-ness.
14271 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14272 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14273 (5x5-solve-suggest): New funs.
14274 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14275 randomize a grid so that we ensure that there is always a solution.
14276 (5x5-make-random-grid): Allow other movement than flipping.
14277
7de88b6e
KR
142782011-05-23 Kevin Ryde <user42@zip.com.au>
14279
14280 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14281 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14282 advice and passes PREDICATE.
14283
b1ef1257
SM
142842011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14285
bbca48fe
SM
14286 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14287 byte-compile-lambda if it's actually a lambda.
14288
b1ef1257
SM
14289 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14290 Fix function quoting. Use backquote better.
14291
92a9cc65
YS
142922011-05-22 Yuanle Song <sylecn@gmail.com>
14293
14294 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14295 matching (Bug#8516).
14296
f0fb8059
JA
142972011-01-22 Jari Aalto <jari.aalto@cante.net>
14298
14299 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14300 different face (Bug#8178).
14301
d5b44c93
CY
143022011-05-22 Chong Yidong <cyd@stupidchicken.com>
14303
14304 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14305 defface (Bug#8144).
14306
79106a44
SM
143072011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14308
9c848d8a
SM
14309 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14310 funcall as well (bug#8712). Warn when performing those conversions.
14311 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14312
79106a44
SM
14313 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14314
88dfa756
GM
143152011-05-22 Glenn Morris <rgm@gnu.org>
14316
14317 * files.el (hack-local-variables-prop-line): Small simplifications.
14318 (hack-local-variables, hack-local-variables-prop-line):
14319 If MODE-ONLY, return the mode, rather than just `t'.
14320
b7cf2c79
SM
143212011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14324
3f1a8558
GM
143252011-05-21 Glenn Morris <rgm@gnu.org>
14326
7e4ccca3
GM
14327 * files.el (hack-local-variables-prop-line, hack-local-variables):
14328 If only interested in the mode, don't bother doing the other stuff.
14329
637d46ca
GM
14330 * image-mode.el (image-after-revert-hook):
14331 Redraw all frames on which the image is visible. (Bug#8567)
14332
973d955b
GM
14333 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14334
3f1a8558
GM
14335 * wid-edit.el (widget-checklist-match-inline):
14336 Fix 2011-04-19 change. (Bug#8649)
14337
96479927
SM
143382011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14339
1dcf791f
SM
14340 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14341 Also allow singlespace after single-letter capitals followed by a dot.
14342
96479927
SM
14343 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14344 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14345
35fd0881
N
143462011-05-20 Nix <nix@esperi.org.uk>
14347
14348 * files.el (basic-save-buffer-2):
14349 Fix handling of break-hardlink-on-save with non-existent files.
14350
82745640
DD
143512011-05-19 Deniz Dogan <deniz@dogan.se>
14352
14353 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14354 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14355
4a720484
GM
143562011-05-19 Glenn Morris <rgm@gnu.org>
14357
d1f21341
GM
14358 * progmodes/f90.el (f90-type-def-re):
14359 Handle "type, bind(c)". (Bug#8691)
14360
4a720484
GM
14361 * emacs-lisp/autoload.el (batch-update-autoloads):
14362 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14363
2fb0a219
MA
143642011-05-18 Michael Albinus <michael.albinus@gmx.de>
14365
14366 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14367 property for the correct connection in case of multihops.
14368
e565dd37
GM
143692011-05-18 Glenn Morris <rgm@gnu.org>
14370
c2571358 14371 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14372 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14373
e565dd37
GM
14374 Rationalize calendar handling of day and month abbrev-arrays.
14375 * calendar/calendar.el (calendar-customized-p): New function.
14376 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14377 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14378 Add :set function.
14379 (calendar-abbrev-length, calendar-day-abbrev-array)
14380 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14381 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14382 Elements may no longer be nil.
14383 (calendar-day-name, calendar-month-name):
14384 Update for changed nature of abbrev arrays.
14385 * calendar/diary-lib.el (diary-name-pattern):
14386 Update for changed nature of abbrev arrays.
14387 (diary-mark-entries-1): Update calendar-make-alist calls.
14388 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14389 * calendar/cal-html.el (cal-html-day-abbrev-array):
14390 Simply inherit from calendar-day-abbrev-array.
14391
1d99a745
SM
143922011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14393
14394 * progmodes/grep.el (grep-mode): Disable default
14395 compilation-directory-matcher setting (bug#8684).
14396
7c1d9aa0
MA
143972011-05-17 Michael Albinus <michael.albinus@gmx.de>
14398
14399 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14400 instead of "head" and "tail". There were problems with SunOS 5.9,
14401 and it performs better.
14402
3952e9d8
GM
144032011-05-17 Glenn Morris <rgm@gnu.org>
14404
2dd12e7f
GM
14405 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14406
e4157b9c
GM
14407 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14408 Replace obsolete function.
14409
8e249bbd
GM
14410 * shell.el (pcomplete-parse-arguments-function): Declare.
14411
3952e9d8
GM
14412 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14413 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14414 (appt-check): Doc fixes.
14415 (appt-disp-window-function, appt-delete-window-function):
14416 Remove needless special case in custom :type.
14417 (appt-display-count): Default to 0, not nil.
14418 (appt-check): Reset appt-display-count to 0, not nil.
14419
c71a0d48 144202011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14421
c71a0d48
GM
14422 * progmodes/python.el (python-font-lock-keywords):
14423 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14424
31d55be9
SM
144252011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14426
14427 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14428
3bfacb2f
KR
144292011-05-16 Kevin Ryde <user42@zip.com.au>
14430
14431 * info-look.el (makefile-automake-mode): New setups, looking in
14432 automake manual, then makefile-mode.
14433 (makefile-mode): Remove automake manual, have it just in
14434 makefile-automake-mode since there's various things different or
14435 not relevant to plain make.
14436 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14437 believe a hypothetical automake-mode would go to makefile-mode,
14438 not the other way around.
14439
c8e83751
CY
144402011-05-15 Chong Yidong <cyd@stupidchicken.com>
14441
5e9e35cd
CY
14442 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14443 hunk-end tags (Bug#8672).
14444
c8e83751
CY
14445 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14446 vc-annotate-show-diff-revision-at-line (Bug#8671).
14447
50b23e5a
GM
144482011-05-14 Glenn Morris <rgm@gnu.org>
14449
7210a739
GM
14450 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14451 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14452 (change-log-font-lock-keywords): Also handle multiple author lines
14453 with leading tabs. (Bug#8644)
7210a739 14454
4691905a
GM
14455 * calendar/appt.el (appt-check): Rename some local variables.
14456 Some simplification/reordering.
14457
50b23e5a
GM
14458 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14459 (feedmail-sendmail-f-doesnt-sell-me-out)
14460 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14461 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14462 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14463 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14464 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14465 (feedmail-binmail-gnulinuxish-template):
14466 Rename from feedmail-binmail-linuxish-template.
14467 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14468 Use insert-buffer-substring.
14469
215cda7c
BC
144702011-05-14 Bill Carpenter <bill@carpenter.org>
14471
14472 * mail/feedmail.el (feedmail-patch-level): Increase.
14473 (feedmail-debug): New custom group.
14474 (feedmail-confirm-outgoing-timeout)
14475 (feedmail-sendmail-f-doesnt-sell-me-out)
14476 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14477 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14478 (feedmail-sender-line, feedmail-from-line)
14479 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14480 (feedmail-spray-this-address)
215cda7c
BC
14481 (feedmail-spray-address-fiddle-plex-list)
14482 (feedmail-queue-use-send-time-for-date)
14483 (feedmail-queue-use-send-time-for-message-id)
14484 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14485 (feedmail-buffer-eating-function):
14486 Doc fixes.
14487 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14488 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14489 (feedmail-message-action-scroll-down): New functions.
14490 (feedmail-queue-directory, feedmail-queue-draft-directory):
14491 Use expand-file-name.
14492 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14493 Remove C-v help entry.
14494 (feedmail-queue-buffer-file-name): New variable.
14495 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14496 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14497 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14498 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14499 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14500 (feedmail-message-action-toggle-spray)
14501 (feedmail-run-the-queue-no-prompts)
14502 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14503 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14504 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14505 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14506 (feedmail-envelope-deducer, feedmail-fiddle-from)
14507 (feedmail-fiddle-sender, feedmail-default-date-generator)
14508 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14509 (feedmail-fiddle-spray-address)
14510 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14511 (feedmail-fiddle-list-of-fiddle-plexes)
14512 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14513 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14514 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14515 Change default. Doc fix.
14516 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14517 (feedmail-binmail-linuxish-template): New constant.
14518 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14519 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14520 (feedmail-send-it): Add debug call.
14521 Use feedmail-queue-buffer-file-name, and
14522 feedmail-send-it-immediately-wrapper.
14523 (feedmail-message-action-send): Add debug call.
14524 Use feedmail-send-it-immediately-wrapper.
14525 (feedmail-queue-express-to-queue): Add debug call.
14526 Run feedmail-queue-express-hook.
14527 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14528 (feedmail-message-action-help-blat):
14529 Rename from feedmail-queue-send-edit-prompt-help-first.
14530 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14531 Check line-endings. Handle errors better.
14532 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14533 Doc fix. Add debug call.
14534 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14535 Use feedmail-queue-send-edit-prompt-inner.
14536 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14537 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14538 from feedmail-queue-send-edit-prompt.
14539 (feedmail-queue-send-edit-prompt-help)
14540 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14541 (feedmail-tidy-up-slug): Add debug call.
14542 Respect feedmail-queue-slug-suspect-regexp.
14543 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14544 (feedmail-dump-message-to-queue): Add debug call.
14545 Expand queue-directory.
14546 (feedmail-dump-message-to-queue): Change message slightly.
14547 Use feedmail-say-chatter.
14548 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14549 (feedmail-send-it-immediately-wrapper): New function.
14550 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14551 Insert empty string rather than newline. Handle full-frame case.
14552 Use catch/throw. Use feedmail-say-chatter.
14553 (feedmail-fiddle-from): Try mail-host-address.
14554 (feedmail-default-message-id-generator): Doc fix.
14555 Bind system-time-locale. Handle missing end.
14556 (feedmail-fiddle-x-mailer): Add debug call.
14557 Handle feedmail-x-mailer-line being nil.
14558 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14559 Add debug call. Use buffer-substring-no-properties.
14560 (feedmail-say-debug, feedmail-say-chatter): New functions.
14561 (feedmail-find-eoh): Give an explicit error.
14562
42c7e61e
UJ
145632011-05-13 Ulf Jasper <ulf.jasper@web.de>
14564
c2571358 14565 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14566 family from helvetica to sans.
c2571358 14567 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14568 etc/images/newsticker.
14569
c2571358 14570 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14571 family from helvetica to sans.
14572
14573 * net/newst-plainview.el (newsticker-new-item-face)
14574 (newsticker-old-item-face, newsticker-immortal-item-face)
14575 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14576 (newsticker-statistics-face): Change default family from
42c7e61e 14577 helvetica to sans.
c2571358 14578 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14579 etc/images/newsticker.
14580
5d3385a0
JB
14581 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14582 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14583 auto-marking.
14584
8497a297
DV
145852011-05-13 Didier Verna <didier@xemacs.org>
14586
14587 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14588 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14589 TODO entries.
8497a297
DV
14590 (lisp-lambda-list-keyword-parameter-indentation)
14591 (lisp-lambda-list-keyword-parameter-alignment)
14592 (lisp-lambda-list-keyword-alignment): New customizable user options.
14593 (lisp-indent-defun-method): Improve docstring.
14594 (extended-loop-p): Fix comment.
14595 (lisp-indent-lambda-list-keywords-regexp): New variable.
14596 (lisp-indent-lambda-list): New function.
14597 (lisp-indent-259): Use it.
14598 (lisp-indent-defmethod): Support for more than one
14599 method qualifier and properly indent methods lambda-lists.
14600 (defgeneric): Provide a missing common-lisp-indent-function property.
14601
f278f87f
SM
146022011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14603
14604 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14605 bounds for the empty string (bug#8667).
14606
5233edd7
GM
146072011-05-13 Glenn Morris <rgm@gnu.org>
14608
5237a44f
GM
14609 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14610
8340026c 14611 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14612 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14613
5233edd7 14614 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14615 (appt-time-msg-list): Doc fix.
a5464014 14616 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14617
92d10796
AS
146182011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14619
14620 * progmodes/ld-script.el (ld-script-keywords)
14621 (ld-script-builtins): Update keywords list.
14622
914a0ae1
SM
146232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14624
c89be45f
SM
14625 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14626
914a0ae1
SM
14627 * shell.el (shell-completion-vars): New function.
14628 (shell-mode):
14629 * simple.el (read-shell-command): Use it.
14630 (blink-matching-open): No need for " [...]" in minibuffer-message.
14631
98dc3df3
GM
146322011-05-12 Glenn Morris <rgm@gnu.org>
14633
14634 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14635 (appt-check): Simplify.
14636
d2fc7e3d 146372011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14638
4d61f28d 14639 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14640 literal "/dev/null".
14641
d2fc7e3d 146422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14643
14644 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14645 Fix typo.
14646
d2fc7e3d 146472011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14648
3f254caa
SM
14649 * progmodes/which-func.el (which-function):
14650 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14651 which might not be defined (Bug#8260).
14652
d45885f7
GM
146532011-05-12 Glenn Morris <rgm@gnu.org>
14654
14655 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14656 Let byte-compile-initial-macro-environment always take precedence.
14657
488086f4
SM
146582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14659
14660 * net/rcirc.el: Add support for SSL/TLS connections.
14661 (rcirc-server-alist): New field `encryption'.
14662 (rcirc): Check `encryption' settings.
14663 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14664 Merge make-local-variable into `set'.
14665 (rcirc--connection-open-p): New function.
14666 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14667 the process is not a network process (e.g. running gnutls-cli).
14668 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14669 Make rcirc-(en|de)code-coding-system local here.
14670 (rcirc-mode): Merge make-local-variable into `set'.
14671 (rcirc-parent-buffer): Make permanent buffer-local.
14672 (rcirc-multiline-minor-mode): Don't do it here.
14673 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14674 there's no server buffer.
14675
7d3b9d44
GM
146762011-05-11 Glenn Morris <rgm@gnu.org>
14677
f64049c6
GM
14678 * newcomment.el (comment-kill): Prefix "unused" local.
14679
93c9df73
GM
14680 * term/w32console.el (get-screen-color): Declare.
14681
7d3b9d44
GM
14682 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14683 Handle symbol elements of byte-compile-initial-macro-environment.
14684
9e2dd53f
LL
146852011-05-10 Leo Liu <sdl.web@gmail.com>
14686
488086f4
SM
14687 * bookmark.el (bookmark-bmenu-mode-map):
14688 Bind bookmark-bmenu-search to `/'.
8b340240 14689
9e2dd53f 14690 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14691 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14692 (Footnote-unicode): New function.
14693 (footnote-style-alist): Add unicode style to the list.
14694 (footnote-style): Doc fix.
9e2dd53f 14695
79b70037
GM
146962011-05-10 Jim Meyering <meyering@redhat.com>
14697
14698 Fix doubled-word typos.
14699 * international/quail.el (quail-insert-kbd-layout): and and -> and
14700 * kermit.el: and and -> and
14701 * net/ldap.el (ldap-search-internal): to to -> to
14702 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14703 * progmodes/js.el (js-mode): and and -> and
14704 * textmodes/artist.el (artist-move-to-xy): at at -> at
14705 (artist-draw-region-trim-line-endings): if if -> if
14706 And Safetyc -> Safety.
14707 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14708
b8f82dc1 147092011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14710 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14711
14712 * files.el (hack-one-local-variable-eval-safep):
14713 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14714
4f99f44b
GM
147152011-05-10 Glenn Morris <rgm@gnu.org>
14716
14717 * calendar/diary-lib.el (diary-list-entries-hook)
14718 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14719 (diary-nongregorian-marking-hook, diary-list-entries)
14720 (diary-include-other-diary-files, diary-mark-entries)
14721 (diary-mark-included-diary-files): Doc fixes.
14722
84f29e6b
JB
147232011-05-09 Juanma Barranquero <lekktu@gmail.com>
14724
14725 * misc.el: Require tabulated-list.el during compilation.
14726
9bedd73a
CY
147272011-05-09 Chong Yidong <cyd@stupidchicken.com>
14728
488086f4
SM
14729 * progmodes/compile.el (compilation-start):
14730 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14731 (compilation-filter-hook): Doc fix.
14732
797c735c
DD
147332011-05-09 Deniz Dogan <deniz@dogan.se>
14734
14735 * wdired.el: Remove outdated installation comment. Fix usage
14736 comment.
14737
5f4b1dfe
JB
147382011-05-09 Juanma Barranquero <lekktu@gmail.com>
14739
14740 * misc.el: Implement new command `list-dynamic-libraries'.
14741 (list-dynamic-libraries--loaded-only-p): New variable.
14742 (list-dynamic-libraries--refresh): New function.
14743 (list-dynamic-libraries): New command.
14744
4c44026c
CY
147452011-05-09 Chong Yidong <cyd@stupidchicken.com>
14746
488086f4
SM
14747 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14748 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14749 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14750 higher priority to avoid clobbering by gnu.
14751
027f966d
CY
147522011-05-08 Chong Yidong <cyd@stupidchicken.com>
14753
14754 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14755 if the face has existing theme settings (Bug#8454).
14756
085f5d7d
CY
147572011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14758
488086f4
SM
14759 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14760 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14761
2a86a00c
RS
14762 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14763 special file names `.' and `..' (Bug#8259).
14764
d9c54a06
CY
147652011-05-08 Chong Yidong <cyd@stupidchicken.com>
14766
488086f4
SM
14767 * progmodes/grep.el (grep-mode-font-lock-keywords):
14768 Remove buffer-changing entries.
d9c54a06
CY
14769 (grep-filter): New function.
14770 (grep-mode): Add it to compilation-filter-hook.
14771
14772 * progmodes/compile.el (compilation-filter-hook)
14773 (compilation-filter-start): New defvars.
14774 (compilation-filter): Call compilation-filter-hook prior to
14775 updating the process mark.
14776
c4662635
SM
147772011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14778
14779 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14780
b0512a1d
EZ
147812011-05-07 Eli Zaretskii <eliz@gnu.org>
14782
605c9376
EZ
14783 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14784 mailclient-send-it even if window-system is nil. (Bug#8595)
14785
c4662635
SM
14786 * term/w32console.el (terminal-init-w32console):
14787 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14788 background-mode. (Bug#8597)
14789
d1dc2cc2
SM
147902011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14791
14792 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14793 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14794 New functions.
14795 (defgeneric, eieio--defmethod): Use them.
14796 (eieio-defgeneric): Remove.
14797 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14798
915d1300
GM
147992011-05-07 Glenn Morris <rgm@gnu.org>
14800
a3961c3e
GM
14801 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14802 Use let rather than let*.
14803 (timeclock-find-discrep): Remove unused local.
14804
314347b9
GM
14805 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14806
915d1300
GM
14807 * calendar/appt.el (appt-time-msg-list): Doc fix.
14808
275b59b0
NF
148092011-05-06 Noah Friedman <friedman@splode.com>
14810
14811 * apropos.el (apropos-print-doc): Only use
14812 emacs-lisp-docstring-fill-column when it is bound to an integer,
14813 per that variable's documentation.
14814
6c19f744
SM
148152011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14818 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14819
60f884b2
GM
148202011-05-06 Glenn Morris <rgm@gnu.org>
14821
5006e634
GM
14822 * calendar/appt.el (appt-message-warning-time): Doc fix.
14823 (appt-warning-time-regexp): New option.
14824 (appt-make-list): Respect appt-message-warning-time.
14825
548d0a63
GM
14826 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14827 New options.
14828 (diary-add-to-list): Strip comments from the displayed string.
14829 (diary-mode): Set comment-start and comment-end.
14830
60f884b2
GM
14831 * vc/diff-mode.el (smerge-refine-subst): Declare.
14832 (diff-refine-hunk): Don't require smerge-mode when compiling.
14833
989681bb
JB
148342011-05-06 Juanma Barranquero <lekktu@gmail.com>
14835
14836 * simple.el (list-processes): Return nil as the docstring says.
14837
a6bc05e1
MA
148382011-05-05 Michael Albinus <michael.albinus@gmx.de>
14839
14840 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14841 to "".
14842 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14843 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14844 determining of binary transfer. (Bug#7383)
14845
23c22e9a
MA
148462011-05-05 Michael Albinus <michael.albinus@gmx.de>
14847
c4662635
SM
14848 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14849 Fix port computation bug. (Bug#8618)
23c22e9a 14850
0bff894f
GM
148512011-05-05 Glenn Morris <rgm@gnu.org>
14852
b8296902
GM
14853 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14854
1f522ce8
GM
14855 * simple.el (shell-dynamic-complete-functions)
14856 (comint-dynamic-complete-functions): Declare.
14857
cf5bee67
GM
14858 * net/network-stream.el (gnutls-negotiate):
14859 * simple.el (tabulated-list-print): Fix declarations.
14860
14861 * progmodes/gud.el (syntax-symbol, syntax-point):
14862 Remove unnecessary and incorrect declarations.
14863
0bff894f
GM
14864 * emacs-lisp/check-declare.el (check-declare-scan):
14865 Handle byte-compile-initial-macro-environment in bytecomp.el
14866
9869b3ae
SM
148672011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14868
14869 Fix earlier half-done eieio-defmethod change (bug#8338).
14870 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14871 Streamline and change calling convention.
14872 (defmethod): Adjust accordingly and simplify.
14873 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14874 new eieio--defmethod.
14875 (slot-boundp): Minor CSE simplification.
14876
9c1d5ac5
MZ
148772011-05-05 Milan Zamazal <pdm@zamazal.org>
14878
14879 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14880 (glasses-make-readable): Use glasses-separate-capital-groups.
14881
455c834e
JB
148822011-05-05 Juanma Barranquero <lekktu@gmail.com>
14883
14884 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14885 (warning-series): Doc fix.
14886 (display-warning): Don't try to create the buffer if we just found it.
14887
9ed7c8cb
CY
148882011-05-04 Chong Yidong <cyd@stupidchicken.com>
14889
14890 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14891 (autoload-find-generated-file): New function.
14892 (generate-file-autoloads): Bind generated-autoload-file to
14893 buffer-file-name.
9869b3ae
SM
14894 (update-file-autoloads, update-directory-autoloads):
14895 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14896 output file (Bug#7989).
14897 (batch-update-autoloads): Doc fix.
14898
0898ca10
JB
148992011-05-04 Juanma Barranquero <lekktu@gmail.com>
14900
14901 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14902
31dfb76c
GM
149032011-05-04 Glenn Morris <rgm@gnu.org>
14904
f330b642
GM
14905 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14906 function, so it follows changes in calendar-date-style.
14907 (diary-fancy-date-matcher): New function.
14908 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14909 (diary-fancy-font-lock-fontify-region-function):
14910 Use diary-fancy-date-pattern as a function.
14911
31dfb76c
GM
14912 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14913 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14914
48e79d6a
TZ
149152011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14916
14917 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14918 instead of positional arguments. Allow :keylist and :crlfiles
14919 arguments.
14920 (open-gnutls-stream): Call it.
14921
14922 * net/network-stream.el (network-stream-open-starttls): Adjust to
14923 call `gnutls-negotiate' with :process and :hostname arguments.
14924
dd5a5ee0
SM
149252011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14926
ef80fc09
SM
14927 * minibuffer.el (completion--message): New function.
14928 (completion--do-completion, minibuffer-complete)
14929 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14930 (completion--do-completion): Don't ignore completion-auto-help when in
14931 icomplete-mode.
14932
dd5a5ee0
SM
14933 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14934 internal encoding (e.g. tibetan zero is not whitespace).
14935 (global-whitespace-mode): Prefer save-current-buffer.
14936 (whitespace-trailing-regexp): Remove useless save-match-data.
14937 (whitespace-empty-at-bob-regexp): Minor simplification.
14938
b7d22a83
CY
149392011-05-03 Chong Yidong <cyd@stupidchicken.com>
14940
14941 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14942
5192af46
AM
149432011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14944
14945 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14946 Use `concat' to create string for insertion.
5192af46 14947
5767d190
SM
149482011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14949
14950 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14951 Avoid open-line which runs post-self-insert-hook.
14952 (bibtex-fill-entry): Remove unused `end' var.
14953
bf242939
AM
149542011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14955
5767d190
SM
14956 * textmodes/ispell.el (ispell-add-per-file-word-list):
14957 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14958
25666126
LL
149592011-05-03 Leo Liu <sdl.web@gmail.com>
14960
14961 * isearch.el (isearch-yank-pop): New command.
5767d190 14962 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14963 (isearch-forward): Mention it.
14964
52d3c2d0
SM
149652011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14966
1bcace58
SM
14967 * simple.el (minibuffer-complete-shell-command): Remove.
14968 (minibuffer-local-shell-command-map): Use completion-at-point.
14969 (read-shell-command): Setup completion vars here instead.
14970 (read-expression-map): Bind TAB to symbol completion.
14971
52d3c2d0
SM
14972 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
14973 error directly rather via storing it into `results'.
14974
35813471
LL
149752011-05-02 Leo Liu <sdl.web@gmail.com>
14976
14977 * vc/diff.el: Fix description.
14978
e793a940
LMI
149792011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14980
14981 * server.el (server-eval-at): New function.
14982
8de66e05
LMI
149832011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14984
14985 * net/network-stream.el (open-network-stream): Take a :nowait
14986 parameter and pass it on to `make-network-process'.
14987 (network-stream-open-plain): Ditto.
14988
dcb79f20
AS
149892011-04-30 Andreas Schwab <schwab@linux-m68k.org>
14990
14991 * faces.el (face-spec-set-match-display): Don't match toolkit
14992 options on terminal frames.
14993
14a7fbd8
SM
149942011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
14995
7eabc1be
SM
14996 * progmodes/pascal.el: Use lexical binding.
14997 (pascal-mode-map): Remove author preferences.
14998
14a7fbd8
SM
14999 * pcomplete.el (pcomplete-std-complete): Don't abuse
15000 completion-at-point.
15001
50f84510
JB
150022011-04-28 Juanma Barranquero <lekktu@gmail.com>
15003
6e087a44
JB
15004 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15005 removing code that has been dead since 1991 or so.
15006
50f84510
JB
15007 * startup.el (command-line): When warning about "_emacs", use a
15008 delayed warning to allow the user to filter it out.
15009
0ba690bd
DD
150102011-04-28 Deniz Dogan <deniz@dogan.se>
15011
15012 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15013 user has not joined.
15014
08abfaad
SM
150152011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15018 aren't any completions at point.
15019
638f053a
JB
150202011-04-28 Juanma Barranquero <lekktu@gmail.com>
15021
15022 * subr.el (display-delayed-warnings): New function.
15023 (delayed-warnings-hook): New variable.
15024
8fff8daa
SM
150252011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15026
08abfaad
SM
15027 * minibuffer.el (completion-at-point, completion-help-at-point):
15028 Don't presume that a given completion-at-point-function will always
15029 use the same calling convention.
15030
8fff8daa
SM
15031 * pcomplete.el (pcomplete-completions-at-point):
15032 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15033 pcomplete-seen is non-nil.
15034 (pcomplete-comint-setup): Also recognize the new comint/shell
15035 completion functions.
15036 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15037 pcomplete-seen is non-nil.
15038
841a1577 150392011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15040
841a1577 15041 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15042 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15043 the first character in the entry. This allows for code to add its
211ec907
UJ
15044 own uid to the entry.
15045 (icalendar--convert-float-to-ical): Add export of
15046 `diary-float'-entries save for those with the optional DAY
15047 argument.
15048
2a782793
DC
150492011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15050
15051 * subr.el (shell-quote-argument): Use alternate escaping strategy
15052 when we spot a variable reference in a string.
15053
0438ce91
DC
150542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15055
15056 * cus-start.el (all): Define customization for debug-on-event.
15057
841a1577 150582011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15059
15060 * subr.el (shell-quote-argument): Escape correctly under Windows.
15061
d090ed6c
SM
150622011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15063
15064 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15065
bfd31217
MA
150662011-04-25 Michael Albinus <michael.albinus@gmx.de>
15067
d090ed6c
SM
15068 * net/tramp.el (tramp-process-actions): Add POS argument.
15069 Delete region between POS and (pos).
bfd31217 15070
d090ed6c
SM
15071 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15072 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15073 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15074
15075 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15076 position in `tramp-process-actions' call.
15077
15078 * net/trampver.el: Update release number.
15079
e92f3bd3
SM
150802011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15081
850256b5
SM
15082 * custom.el (defcustom): Obey lexical-binding.
15083
e92f3bd3
SM
15084 Fix octave-inf completion problems reported by Alexander Klimov.
15085 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15086 Inherit from octave-mode-syntax-table.
15087 (inferior-octave-mode): Set info-lookup-mode.
15088 (inferior-octave-completion-at-point): New function.
15089 (inferior-octave-complete): Use it and completion-in-region.
15090 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15091 comint-filename-completion.
15092 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15093 symbol elements which shouldn't be word elements.
15094 (octave-font-lock-keywords, octave-beginning-of-defun)
15095 (octave-function-header-regexp): Adjust regexps accordingly.
15096 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15097
cd22b309
JB
150982011-04-25 Juanma Barranquero <lekktu@gmail.com>
15099
15100 * net/gnutls.el (gnutls-errorp): Declare before first use.
15101
8b492194
TZ
151022011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15103
15104 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15105 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15106 default trustfile exists before going to use it. Add missing
5a5fa834 15107 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15108 Reported by Claudio Bley <claudio.bley@gmail.com>.
15109 (open-gnutls-stream): Add usage example.
15110
15111 * net/network-stream.el (network-stream-open-starttls): Give host
15112 parameter to `gnutls-negotiate'.
15113 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15114 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15115
841a1577 151162011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15117
cd22b309
JB
15118 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15119 Use correct match group (bug#8438).
05842630 15120
3ba7869c
CY
151212011-04-24 Chong Yidong <cyd@stupidchicken.com>
15122
512e3ae1
CY
15123 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15124 (package-menu--generate): New arg specifying packages to show.
15125 (package-menu-refresh, package-menu-execute, list-packages):
15126 Callers changed.
15127 (package-show-package-list): New function, replacing deleted
15128 package--list-packages (renamed because it is non-internal).
15129
15130 * finder.el (finder-list-matches): Use package-show-package-list
15131 instead of deleted package--list-packages.
15132
e92f3bd3
SM
15133 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15134 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15135 (vc-annotate-mode-map): Bind it to RET.
15136
7031be6d
UR
151372011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15138
15139 * progmodes/etags.el (next-file): Don't use set-buffer to change
15140 buffers (Bug#8478).
15141
4ef177aa
CY
151422011-04-24 Chong Yidong <cyd@stupidchicken.com>
15143
c8d173eb
CY
15144 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15145
4ef177aa
CY
15146 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15147 (apropos-accumulator): Doc fix.
15148 (apropos-function, apropos-macro, apropos-command)
15149 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15150 (apropos-plist): Add face property.
15151 (apropos-symbols-internal): Fix indentation.
15152 (apropos-print): Simplify help, and recognize apropos-multi-type.
15153 (apropos-print-doc): Use button-type-get to extract the button's
15154 face property. Fill docstring (Bug#8352).
15155
4ffd0d6b 151562011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15157
15158 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15159
c6c32125 15160 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15161 (mpuz-mode-map): Use mapc.
c6c32125
JB
15162 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15163 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15164 Fix typos in docstrings.
15165
58d468b4
JB
15166 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15167 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15168
6470c3c6
JB
15169 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15170
4ffd0d6b 151712011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15172
15173 * minibuffer.el (completion--do-completion): Avoid the "Next char
15174 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15175
3ad8bad0
CY
15176 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15177 mouse-2 into unread-command-events, it is interpreted correctly.
15178
71d73c9c 15179 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15180 (image-toggle-display): Doc fix.
71d73c9c 15181
841a1577 151822011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15183
4ffd0d6b
GM
15184 * textmodes/page.el (what-page): Use line-number-at-pos to
15185 calculate line number (Bug#6825).
6e1dbaa9 15186
c2fb1b60
JB
151872011-04-22 Juanma Barranquero <lekktu@gmail.com>
15188
15189 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15190 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15191 Pass argument NO-DEFAULT to `find-tag-interactive'.
15192
e02f48d7
JB
151932011-04-22 Juanma Barranquero <lekktu@gmail.com>
15194
15195 Lexical-binding cleanup.
15196
15197 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15198 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15199 * progmodes/ada-prj.el (ada-prj-initialize-values)
15200 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15201 (ada-prj-show-value):
15202 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15203 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15204 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15205 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15206 * progmodes/bug-reference.el (bug-reference-push-button):
15207 * progmodes/fortran.el (fortran-line-length):
15208 * progmodes/glasses.el (glasses-change):
15209 * progmodes/octave-mod.el (octave-fill-paragraph):
15210 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15211 (python-pdbtrack-grub-for-buffer, python-sentinel):
15212 * progmodes/sql.el (sql-save-connection):
15213 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15214 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15215 Mark unused parameters.
15216
15217 * progmodes/compile.el (compilation--flush-directory-cache)
15218 (compilation--flush-parse, compile-internal): Mark unused parameters.
15219 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15220 (compilation-next-error-function): Remove unused variable `timestamp'.
15221
15222 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15223 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15224
15225 * progmodes/dcl-mode.el (dcl-end-of-command):
15226 Remove unused variable `start'.
15227 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15228 (dcl-option-value-basic, dcl-option-value-offset)
15229 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15230 Mark unused parameters.
15231 (dcl-save-local-variable): Remove unused variable `val'.
15232 (mode): Declare.
15233
15234 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15235 Mark unused parameters.
15236 (delphi-ignore-changes): Move before first use.
15237 (delphi-charset-token-at): Remove unused variable `start'.
15238 (delphi-else-start): Remove unused variable `if-count'.
15239 (delphi-comment-block-start, delphi-comment-block-end):
15240 Remove unused variable `kind'.
15241 (delphi-indent-line): Remove unused variable `new-point'.
15242
15243 * progmodes/ebrowse.el (ebrowse-files-list)
15244 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15245 Mark unused parameters. Don't quote `lambda'.
15246 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15247 Don't quote `lambda'.
15248 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15249 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15250 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15251 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15252 Use `ignore-errors'.
15253 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15254 (ebrowse-view/find-file-and-search-pattern)
15255 (ebrowse-view/find-member-declaration/definition):
15256 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15257 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15258 Rename parameter PREFIX-ARG to PREFIX.
15259 (ebrowse-tags-read-name): Remove unused variables `start' and
15260 `member-info'.
15261 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15262 to `tags-file'.
15263
15264 * progmodes/etags.el (local-find-tag-hook): Declare.
15265 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15266 Mark unused parameters.
15267
15268 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15269 (executable-interpret): Mark unused parameter.
15270
15271 * progmodes/flymake.el (flymake-process-sentinel)
15272 (flymake-after-change-function)
15273 (flymake-create-temp-with-folder-structure)
15274 (flymake-get-include-dirs-dot): Mark unused parameters.
15275 (flymake-safe-delete-directory): Remove unused variable `err'.
15276
15277 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15278 (speedbar-timer-fn, speedbar-line-text)
15279 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15280 (speedbar-center-buffer-smartly): Declare functions.
15281 (gdb-find-watch-expression): Remove unused variable `array'.
15282 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15283 (gdb-starting): Mark unused parameters.
15284 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15285 (gdb-table-string): Remove unused variable `res'.
15286 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15287 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15288 (gdb-display-buffer): Remove unused variable `cur-size'.
15289
15290 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15291 allow lexical-binding compilation.
15292 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15293 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15294 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15295 Mark unused parameters.
15296 (gud-gdb-marker-filter): Remove unused variable `match'.
15297 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15298 lambda expressions and funcall them, instead of using `fset'.
15299
15300 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15301 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15302
15303 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15304 variable `header-beg'; use `let'.
15305
15306 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15307 `restart', `last-sexp' and `at-do'.
15308
15309 * progmodes/js.el (js--debug): Mark unused parameter.
15310 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15311 (js--splice-into-items): Remove unused variable `item'.
15312 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15313
15314 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15315 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15316 (makefile-complete): Remove unused variable `try'.
15317 (makefile-fill-paragraph, makefile-match-function-end):
15318 Mark unused parameters.
15319
15320 * progmodes/octave-inf.el (inferior-octave-complete):
15321 Remove unused variable `proc'.
15322 (inferior-octave-output-digest): Mark unused parameter.
15323
15324 * progmodes/perl-mode.el (perl-calculate-indent):
15325 Remove unused variable `err'.
15326
15327 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15328 (prolog-indent-line): Mark unused parameters.
15329 (prolog-indent-line): Remove unused variable `beg'.
15330
15331 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15332 (reporter-dont-compact-list): Declare.
15333
15334 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15335 Remove unused variable `char'.
15336 (sh-debug): Mark unused parameter.
15337 (sh-get-indent-info): Remove unused variable `start'.
15338 (sh-calculate-indent): Remove unused variable `var'.
15339
15340 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15341 (simula-electric-keyword): Remove unused variable `null'.
15342 (simula-search-backward, simula-search-forward): Remove unused
15343 variables `begin' and `end'.
15344
15345 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15346 Remove unused variable `pos'.
15347 (vera-electric-tab, vera-comment-uncomment-region):
15348 Mark unused parameters.
15349 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15350
7ede3b65
CY
153512011-04-22 Chong Yidong <cyd@stupidchicken.com>
15352
15353 * emacs-lisp/package.el (package--builtins, package-alist)
15354 (package-load-descriptor, package-built-in-p, package-activate)
15355 (define-package, package-installed-p)
15356 (package-compute-transaction, package-buffer-info)
15357 (package--push): Doc fix. Distinguish more clearly between
15358 version strings and version lists.
15359
121656e9
JB
153602011-04-21 Juanma Barranquero <lekktu@gmail.com>
15361
15362 Lexical-binding cleanup.
15363
15364 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15365 (5x5-make-mutate-best):
15366 * play/fortune.el (fortune-in-buffer):
15367 * play/gomoku.el (gomoku-init-display):
15368 * play/solitaire.el (solitaire, solitaire-do-check):
15369 * play/tetris.el (tetris-default-update-speed-function):
15370 Mark unused parameters.
15371
15372 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15373 (bubbles--shift): Remove unused variable `char-org'.
15374 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15375 (bubbles--show-images): Remove unused variable `char'.
15376
15377 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15378 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15379 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15380 (decipher-analyze-buffer): Use ?\s.
15381 (decipher-make-checkpoint): Remove unused variable `mapping'.
15382
15383 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15384
15385 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15386 Remove unused variable `result'; use `let'.
15387
15388 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15389 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15390 (gametree-children-shown-p, gametree-compute-reduced-score):
15391 Use `ignore-errors'.
15392
15393 * play/handwrite.el (ps-lpr-switches): Declare.
15394 (handwrite): Remove unused variables `pmin' and `lastp'.
15395
15396 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15397
15398 * play/landmark.el (landmark-init-display)
15399 (landmark-update-naught-weights): Mark unused parameters.
15400 (landmark-y): Remove unused variable `noise'. Simplify.
15401 (landmark-human-plays): Remove unused variable `score'.
15402
15403 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15404 (mpuz-try-proposal): Remove unused variable `game'.
15405
15406 * play/zone.el (life-patterns): Declare.
15407
80f499c7
JB
154082011-04-20 Juanma Barranquero <lekktu@gmail.com>
15409
15410 * vc/vc.el (ediff-vc-internal): Declare function.
15411
024ff170
SM
154122011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15413
c0a193ea
SM
15414 * shell.el: Use lexical-binding and std completion UI.
15415 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15416 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15417 comint-preoutput-filter-functions rather than on
15418 comint-output-filter-functions.
15419 (shell-command-completion, shell--command-completion-data)
15420 (shell-filename-completion, shell-environment-variable-completion)
15421 (shell-c-a-p-replace-by-expanded-directory): New functions.
15422 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15423 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15424 (shell-dynamic-complete-environment-variable): Use them.
15425 (shell-dynamic-complete-as-environment-variable)
15426 (shell-dynamic-complete-as-command): Remove.
15427 (shell-match-partial-variable): Match past point.
15428 * comint.el: Clean up use of completion-at-point-functions.
15429 (comint-completion-at-point): New function.
15430 (comint-mode): Use it completion-at-point-functions.
15431 (comint-dynamic-complete): Make it obsolete.
15432 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15433 (comint-c-a-p-replace-by-expanded-history): New function.
15434 (comint-dynamic-complete-functions)
15435 (comint-replace-by-expanded-history): Use it.
15436 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15437 termination strings. Try harder to avoid second try-completion.
15438 (completion-in-region-mode-map): Disable bindings that don't work yet.
15439
2dbaa080
SM
15440 * comint.el: Use lexical-binding. Require CL.
15441 (comint-dynamic-complete-functions): Use comint-filename-completion.
15442 (comint-completion-addsuffix): Tweak custom type.
15443 (comint-filename-completion, comint--common-suffix)
15444 (comint--common-quoted-suffix, comint--table-subvert)
15445 (comint--complete-file-name-data): New functions.
15446 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15447 (comint-dynamic-list-filename-completions): Use them.
15448 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15449
2dbaa080
SM
15450 * minibuffer.el (completion-in-region-mode):
15451 Keep completion-in-region-mode--predicate global.
15452 (completion-in-region--postch):
15453 Assume completion-in-region-mode--predicate is not null.
15454
c79a6f38
SM
15455 * progmodes/flymake.el (flymake-start-syntax-check-process):
15456 Obey `dir'. Simplify.
15457
024ff170
SM
15458 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15459 we're in VC after all.
15460
1c6c854e
CS
154612011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15462
15463 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15464 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15465 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15466
bed7f140
SM
154672011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15468
332e62ab
SM
15469 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15470 add sanity check.
15471
bed7f140
SM
15472 * obsolete/erc-hecomplete.el: Make obsolete.
15473 * obsolete/: Standardize obsolescence info in the header.
15474
f195c582
GM
154752011-04-20 Glenn Morris <rgm@gnu.org>
15476
15477 * calendar/solar.el (solar-horizontal-coordinates):
15478 Use the longitude argument rather than `calendar-longitude'.
15479 (solar-date-next-longitude): Remove unused locals.
15480
cb79b8c0
VJL
154812011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15482
15483 * whitespace.el: New version 13.2.1.
15484
154852011-04-20 felix <EmacsWiki> (tiny change)
15486
d8e4b68b 15487 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15488 switching between major modes on a file.
15489
602ea69d
SM
154902011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15491
15492 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15493 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15494 multi-line comments as well.
15495
06b60517
JB
154962011-04-19 Juanma Barranquero <lekktu@gmail.com>
15497
15498 Lexical-binding cleanup.
15499
15500 * arc-mode.el (archive-mode-revert):
15501 * cmuscheme.el (scheme-interactively-start-process):
15502 * custom.el (custom-initialize-delay):
15503 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15504 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15505 * emacs-lock.el (emacs-lock-clear-sentinel):
15506 * ezimage.el (defezimage):
15507 * follow.el (follow-avoid-tail-recenter):
15508 * fringe.el (set-fringe-mode-1):
15509 * generic-x.el (bat-generic-mode-compile):
15510 * help-mode.el (help-info-variable, help-do-xref)
15511 (help-mode-revert-buffer):
15512 * help.el (view-emacs-todo):
15513 * iswitchb.el (iswitchb-completion-help):
15514 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15515 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15516 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15517 * locate.el (locate-update):
15518 * longlines.el (longlines-encode-region)
15519 (longlines-after-change-function):
15520 * outline.el (outline-isearch-open-invisible):
15521 * ps-def.el (declare-function, charset-dimension, char-width)
15522 (encode-char):
15523 * ps-mule.el (ps-mule-plot-string):
15524 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15525 (recentf-edit-list-select, recentf-edit-list-validate)
15526 (recentf-open-files-action):
15527 * rect.el (delete-whitespace-rectangle-line)
15528 (rectangle-number-line-callback):
15529 * register.el (window-configuration-to-register)
15530 (frame-configuration-to-register):
15531 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15532 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15533 (xselect-convert-to-targets, xselect-convert-to-delete)
15534 (xselect-convert-to-filename, xselect-convert-to-charpos)
15535 (xselect-convert-to-lineno, xselect-convert-to-colno)
15536 (xselect-convert-to-os, xselect-convert-to-host)
15537 (xselect-convert-to-user, xselect-convert-to-class)
15538 (xselect-convert-to-name, xselect-convert-to-integer)
15539 (xselect-convert-to-atom, xselect-convert-to-identity):
15540 * subr.el (declare, ignore, process-kill-without-query)
15541 (text-clone-maintain):
15542 * terminal.el (te-get-char, te-tic-sentinel):
15543 * tool-bar.el (tool-bar-make-keymap):
15544 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15545 * type-break.el (type-break-mode, type-break-noninteractive-query):
15546 * view.el (View-back-to-mark):
15547 * wid-browse.el (widget-browse-action, widget-browse-widget)
15548 (widget-browse-widgets, widget-browse-sexp):
15549 * widget.el (define-widget-keywords):
15550 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15551 Mark unused parameters.
15552
15553 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15554 (align-areas): Remove unused variable `look'.
15555 (align-region): Remove unused variables `real-end' and `pos-list'.
15556
15557 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15558
15559 * bindings.el (mode-line-modified, mode-line-remote):
15560 Mark unused parameters.
15561 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15562
15563 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15564 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15565
15566 * comint.el (comint-history-isearch-pop-state)
15567 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15568 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15569 (comint-substitute-in-file-name): Doc fix.
15570
15571 * completion.el (cmpl-statistics-block): Mark unused parameter.
15572 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15573 (save-completions-to-file, load-completions-from-file):
15574 Remove unused local variable `e'.
15575
15576 * composite.el (compose-chars): Remove unused variable `len'.
15577 (lgstring-insert-glyph): Remove unused variable `g'.
15578 (compose-glyph-string): Remove unused variables `ascent',
15579 `descent', `lbearing' and `rbearing'.
15580 (compose-glyph-string-relative): Remove unused variables
15581 `lbearing', `rbearing' and `wadjust'.
15582 (compose-gstring-for-graphic): Remove unused variables `header',
15583 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15584 (compose-gstring-for-terminal): Remove unused variables `header'
15585 and `nchars'. Use `let', not `let*'.
15586
15587 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15588 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15589 (Custom-buffer-done, custom-buffer-create-internal)
15590 (custom-browse-visibility-action, custom-browse-group-tag-action)
15591 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15592 (widget-magic-mouse-down-action, custom-toggle-parent)
15593 (custom-add-parent-links, custom-toggle-hide-variable)
15594 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15595 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15596 (custom-face-menu-create, custom-variable-menu-create, get)
15597 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15598 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15599 (customize-apropos): Remove unused variable `tests'.
15600 (custom-group-value-create): Remove unused variable `hidden-p'.
15601 (sort-fold-case): Declare.
15602
15603 * cus-theme.el (custom-reset-standard-faces-list)
15604 (custom-reset-standard-variables-list): Declare.
15605 (customize-create-theme, custom-theme-revert, custom-theme-write)
15606 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15607 Mark unused parameters.
15608
15609 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15610
15611 * delim-col.el (delimit-columns-max): Move defvar before first use.
15612
15613 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15614 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15615
15616 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15617 (auto-insert): Declare.
15618 (desktop-restore-file-buffer): Rename desktop-* parameters;
15619 mark unused ones.
15620 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15621 (desktop-buffer): Rename desktop-* parameters.
15622
15623 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15624 (dframe-reposition-frame-xemacs, dframe-help-echo)
15625 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15626 Mark unused parameters.
15627
15628 * dired-aux.el (backup-extract-version-start, overwrite-query)
15629 (overwrite-backup-query, rename-regexp-query)
15630 (rename-non-directory-query): Declare.
15631 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15632 (dired-add-entry): Remove unused variable `orig-file-name'.
15633 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15634 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15635 `dired-copy-preserve-time' directly.
15636 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15637 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15638
15639 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15640 (dired-virtual-revert, dired-make-relative-symlink):
15641 Mark unused parameters.
15642 (manual-program): Declare.
15643 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15644 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15645 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15646
15647 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15648
15649 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15650
15651 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15652 Declare.
15653
15654 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15655
15656 * electric.el (Electric-command-loop): Rename parameter
15657 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15658
15659 * expand.el (expand-in-literal): Remove unused variable `here'.
15660
15661 * facemenu.el (facemenu-add-new-color):
15662 Remove unused variable `docstring'.
15663
15664 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15665 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15666 (face-attr-construct): Mark unused parameter. Doc fix.
15667 (read-color): Remove unused variable `hex-string'.
15668
15669 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15670 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15671 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15672 (display-buffer-other-frame): Remove unused variable `old-window'.
15673 (kill-buffer-hook): Declare.
15674 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15675 Mark unused parameters.
15676 (after-find-file): Pass 1 to `auto-save-mode', not t.
15677
15678 * files-x.el (auto-insert): Declare.
15679 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15680
15681 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15682 variable `buf'. Mark unused parameter.
06b60517
JB
15683 (find-lisp-insert-directory): Mark unused parameter.
15684
15685 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15686 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15687 (format-common-tail): Remove, unused.
15688 (format-deannotate-region): Remove unused variable `loc'.
15689 (format-annotate-region): Remove unused variable `p'.
15690 (format-annotate-single-property-change): Remove unused variables
15691 `default' and `tail'.
15692
15693 * forms.el (read-file-filter): Declare.
15694 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15695
15696 * frame.el (frame-creation-function-alist): Mark unused parameter.
15697 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15698
15699 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15700 Remove unused parameters.
15701 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15702 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15703
15704 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15705 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15706 (hfy-prepare-tag-map): Mark unused parameters.
15707 (htmlfontify-buffer): Use `called-interactively-p'.
15708
15709 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15710 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15711 (ibuffer-do-occur): Mark unused parameters.
15712 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15713 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15714
15715 * ibuffer.el: Don't quote `lambda'.
15716 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15717 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15718 Mark unused parameters.
15719
15720 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15721 (ido-completing-read): Mark unused parameters.
15722 (ido-copy-current-word): Mark unused parameters;
15723 remove unused variable `name'.
15724 (ido-sort-merged-list): Remove unused parameter `dirs'.
15725
15726 * ielm.el (ielm-input-sender): Mark unused parameter.
15727 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15728 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15729 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15730 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15731 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15732
15733 * image-dired.el (image-dired-display-thumbs): Remove unused
15734 variables `curr-file' and `count'.
15735 (image-dired-remove-tag): Remove unused variable `start'.
15736 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15737 variable `curr-file'
15738 (image-dired-rotate-original): Remove unused variable `temp-file'.
15739 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15740 Remove unused variable `file'.
15741 (image-dired-gallery-generate): Remove unused variable `curr'.
15742 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15743
15744 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15745
15746 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15747
15748 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15749
15750 * isearch.el (minibuffer-history-symbol): Declare.
15751 (isearch-edit-string): Remove unused variable `err'.
15752 (isearch-message-prefix, isearch-message-suffix):
15753 Mark unused parameters.
15754
15755 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15756
15757 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15758
15759 * makesum.el (double-column): Remove unused variable `cnt'.
15760
15761 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15762 (ido-ignore-item-temp-list): Declare.
15763
15764 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15765 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15766 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15767 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15768 `mouse-col-delta'.
15769
15770 * mouse-sel.el (mouse-extend-internal):
15771 Remove unused variable `orig-window-frame'.
15772
15773 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15774 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15775 Move declarations before first use.
15776 (pcomplete-opt): Mark unused parameters; doc fix.
15777
15778 * proced.el (proced-revert): Mark unused parameter.
15779 (proced-send-signal): Remove unused variable `err'.
15780
15781 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15782 Rename parameter PREFIX-ARG to ARG.
15783 (ps-basic-plot-string, ps-basic-plot-whitespace):
15784 Mark unused parameters.
15785
15786 * replace.el (replace-count): Define.
15787 (occur-revert-function): Mark unused parameters.
15788 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15789 (isearch-case-fold-search, isearch-string): Declare.
15790 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15791 bind `case-fold-search'. Remove unused variables `beg' and `end',
15792 and simplify.
15793 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15794 COUNT and bind `replace-count'.
15795 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15796 to COUNT.
15797
15798 * savehist.el (print-readably, print-string-length): Declare.
15799
15800 * shadowfile.el (shadow-expand-cluster-in-file-name):
15801 Remove unused variable `cluster'.
15802 (shadow-copy-file): Remove unused variable `i'.
15803 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15804 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15805 (shadow-define-literal-group, shadow-define-regexp-group)
15806 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15807
15808 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15809 (shell): Use `called-interactively-p'.
15810 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15811
15812 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15813 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15814 (delete-backward-char): Remove unused variable `ocol'.
15815 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15816 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15817 (event-apply-hyper-modifier, event-apply-shift-modifier)
15818 (event-apply-control-modifier, event-apply-meta-modifier):
15819 Mark unused parameters.
15820 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15821 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15822
15823 * speedbar.el (speedbar-ignored-directory-expressions)
15824 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15825 (speedbar-find-file, speedbar-dir-follow)
15826 (speedbar-directory-buttons-follow, speedbar-tag-find)
15827 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15828 (speedbar-buffers-line-directory, speedbar-buffer-click):
15829 Mark unused parameters.
15830 (speedbar-tag-file): Remove unused variable `mode'.
15831 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15832
15833 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15834
15835 * talk.el (talk): Remove unused variable `display'.
15836
15837 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15838 (tar-write-region-annotate): Mark unused parameter.
15839
15840 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15841 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15842 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15843 warning by another.
15844
15845 * time-stamp.el (time-stamp-string-preprocess):
15846 Remove unused variable `require-padding'.
15847
15848 * tree-widget.el (widget-glyph-enable): Declare.
15849 (tree-widget-action): Mark unused parameter.
15850
15851 * w32-fns.el (x-get-selection): Mark unused parameter.
15852 (autoload-make-program, generated-autoload-file): Declare.
15853
15854 * wdired.el (wdired-revert): Mark unused parameters.
15855 (wdired-xcase-word): Remove unused variable `err'.
15856
15857 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15858 (whitespace-help-scroll): Remove unused variable `data-help'.
15859
15860 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15861 (widget-image-insert, widget-after-change, default)
15862 (widget-default-format-handler, widget-default-notify)
15863 (widget-default-prompt-value, widget-info-link-action)
15864 (widget-url-link-action, widget-function-link-action)
15865 (widget-variable-link-action, widget-file-link-action)
15866 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15867 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15868 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15869 (widget-insert-button-action, widget-delete-button-action, visibility)
15870 (widget-documentation-link-action, widget-documentation-string-action)
15871 (widget-const-prompt-value, widget-regexp-match, symbol)
15872 (widget-coding-system-prompt-value)
15873 (widget-key-sequence-value-to-external, sexp)
15874 (widget-sexp-value-to-internal, character, vector, cons)
15875 (widget-choice-prompt-value, widget-boolean-prompt-value)
15876 (widget-color--choose-action): Mark unused parameters.
15877 (widget-item-match-inline, widget-choice-match-inline)
15878 (widget-checklist-match, widget-checklist-match-inline)
15879 (widget-group-match): Rename parameter VALUES to VALS.
15880 (widget-field-value-set): Remove unused variable `size'.
15881 (widget-color-action): Remove unused variables `value' and `start'.
15882
15883 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15884 variable `dir'. Doc fix.
06b60517
JB
15885 (windmove-find-other-window): Don't pass it.
15886
15887 * window.el (count-windows): Mark unused parameter.
15888 (bw-adjust-window): Remove unused variable `err'.
15889
15890 * woman.el (woman-file-name): Remove unused variable `default'.
15891 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15892 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15893 (global-font-lock-mode): Declare.
15894 (woman-decode-region): Mark unused parameter.
15895 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15896
15897 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15898 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15899 (x-dnd-handle-moz-url): Remove unused variable `title'.
15900 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15901
15902 * xml.el (xml-parse-tag, xml-parse-attlist):
15903 Remove unused variable `pos'.
15904
bc4f7f3d
GM
159052011-04-19 Glenn Morris <rgm@gnu.org>
15906
15907 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15908 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15909 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15910 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15911 * calendar/cal-html.el (cal-html-insert-minical):
15912 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15913 (calendar-mark-date-pattern):
15914 Prefix "unused" locals.
15915
15916 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15917 optional argument `style'.
15918
15919 * calendar/appt.el (appt-make-list):
15920 * calendar/cal-china.el (calendar-chinese-date-string):
15921 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15922 (diary-hebrew-yahrzeit):
15923 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15924 * calendar/calendar.el (calendar-generate-window):
15925 * calendar/time-date.el (time-to-days):
15926 Remove unused local variables.
15927
16a43933
CY
159282011-04-18 Chong Yidong <cyd@stupidchicken.com>
15929
15930 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15931 glyphless-char-display table.
15932 (tabulated-list-glyphless-char-display): New var.
15933
7eed1860
SS
159342011-04-18 Sam Steingold <sds@gnu.org>
15935
15936 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15937 to acknowledgments.
15938
4d2d1ccd
GM
159392011-04-17 Glenn Morris <rgm@gnu.org>
15940
15941 * calendar/diary-lib.el (diary-sexp-entry):
15942 * calendar/holidays.el (holiday-sexp):
15943 Set debug-on-error rather than the removed stack-trace-on-error.
15944
239da61d
GM
159452011-04-16 Glenn Morris <rgm@gnu.org>
15946
15947 * progmodes/f90.el: Use lexical-binding.
15948 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15949
8b05752a
SM
159502011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15951
daca8ba5
SM
15952 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15953 (mail-mode): Setup mailalias completion here instead.
15954 * mail/mailalias.el: Use lexical-binding.
15955 (pattern, mailalias-done): Declare dynamic.
15956 (mail-completion-at-point-function): New function, from mail-complete.
15957 (mail-complete): Use it.
15958 (mail-completion-expand): New function.
15959 (mail-get-names): Use it.
15960 (mail-directory, mail-directory-process, mail-directory-stream):
15961 Don't use `pattern' for lexically bound arg.
15962
6f542485
SM
15963 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15964
037e7c3f
SM
15965 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
15966 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
15967 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
15968
8b05752a
SM
15969 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
15970 (byte-save-window-excursion, byte-temp-output-buffer-setup)
15971 (byte-interactive-p): Define them again, for use when inlining
15972 old code.
15973
49093f60
JB
159742011-04-15 Juanma Barranquero <lekktu@gmail.com>
15975
15976 * loadup.el: Use `string-to-number', not `string-to-int'.
15977
b5b8e7de
SM
159782011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15979
15980 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
15981 gud-gdb-complete-command.
15982 (gud-gdb-completions): New function, from gud-gdb-complete-command.
15983 (gud-gdb-completion-at-point): New function.
15984 (gud-gdb-completions): Remove.
15985
f42efeb5
MA
159862011-04-14 Michael Albinus <michael.albinus@gmx.de>
15987
49093f60
JB
15988 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
15989 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
15990 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
15991 whether `executable-find' is bound.
f42efeb5
MA
15992
15993 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
15994
e240cc21
SM
159952011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15996
15997 * minibuffer.el (completion-in-region-mode-predicate)
15998 (completion-in-region-mode--predicate): New vars.
15999 (completion-in-region, completion-in-region--postch)
16000 (completion-in-region-mode): Use them.
16001 (completion--capf-wrapper): Also return the hook function.
16002 (completion-at-point, completion-help-at-point):
16003 Adjust and provide a predicate.
c2bd2ab0
SM
16004
16005 Preserve arg names for advice of subr and lexical functions (bug#8457).
16006 * help-fns.el (help-function-arglist): Consolidate the subr and
16007 new-byte-code cases. Add argument `preserve-names' to extract names
16008 from the docstring when needed.
16009 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16010 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16011 (ad-arglist): Use help-function-arglist's new arg.
16012 (ad-definition-type): Use cond.
16013
c183f693
JB
160142011-04-13 Juanma Barranquero <lekktu@gmail.com>
16015
06641a47
JB
16016 * autorevert.el (auto-revert-handler):
16017 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16018 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16019 Don't quote lambda.
16020
c183f693
JB
16021 * image-mode.el (image-transform-set-scale):
16022 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16023
1e3b6001
G
160242011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16025
16026 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16027 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16028 Upgrades via gnutls-cli are too slow to be done opportunistically.
16029
2d6af8dd
JB
160302011-04-12 Juanma Barranquero <lekktu@gmail.com>
16031
16032 * dframe.el (dframe-current-frame): Remove spurious quote.
16033
c0749a51
GM
160342011-04-12 Glenn Morris <rgm@gnu.org>
16035
088d0d61
GM
16036 * calendar/cal-tex.el (cal-tex-end-document):
16037 Try to automatically use latin1 input if needed.
16038
c0749a51
GM
16039 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16040 Don't try to cons a mark onto an empty element.
16041
5c90fde0
LL
160422011-04-11 Leo Liu <sdl.web@gmail.com>
16043
16044 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16045 buffers.
16046 (ido-kill-buffer-at-head): Support killing virtual buffers.
16047
369e974d
CY
160482011-04-10 Chong Yidong <cyd@stupidchicken.com>
16049
16050 * minibuffer.el (completion-show-inline-help): New var.
16051 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16052 (minibuffer-force-complete, minibuffer-complete-word):
16053 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16054
16055 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16056 to avoid interference from inline help (Bug#5849).
16057
37f1c930
LL
160582011-04-10 Leo Liu <sdl.web@gmail.com>
16059
099c39a4
JB
16060 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16061 Fix typo.
37f1c930 16062
a32d4040
CY
160632011-04-09 Chong Yidong <cyd@stupidchicken.com>
16064
16065 * image-mode.el (image-toggle-display-image): Signal an error if
16066 not in Image mode.
16067 (image-transform-mode, image-transform-resize)
16068 (image-transform-set-rotation): Doc fix.
daca8ba5 16069 (image-transform-set-resize): Delete.
a32d4040
CY
16070 (image-transform-set-scale, image-transform-fit-to-height)
16071 (image-transform-fit-to-width): Handle image-toggle-display-image
16072 and image-transform-resize directly.
16073
099c39a4 160742011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16075
16076 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16077 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16078 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16079 (doc-view-mode-map): Add bindings for the new functions.
16080
099c39a4 160812011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16082
4d61f28d 16083 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16084 Fix typo in docstring.
16085
3726838a
EZ
160862011-04-08 Eli Zaretskii <eliz@gnu.org>
16087
04f33f1e
EZ
16088 * files.el (file-size-human-readable): Produce one digit after
16089 decimal, like "ls -lh" does.
16090
16091 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16092 the file size representation.
16093
3726838a
EZ
16094 * simple.el (list-processes): If async subprocesses are not
16095 available, error out with a clear error message.
16096
cbb59342
CY
160972011-04-08 Chong Yidong <cyd@stupidchicken.com>
16098
16099 * help.el (help-form-show): New function, to be called from C.
16100 Put help-form output in a buffer named differently than *Help*.
16101
e3971c44
EZ
161022011-04-08 Eli Zaretskii <eliz@gnu.org>
16103
16104 * files.el (file-size-human-readable): New function.
16105
16106 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16107 computing the representation inline. Don't require `cl'.
16108
12544bbe
GM
161092011-04-08 Glenn Morris <rgm@gnu.org>
16110
a1de6c6a
GM
16111 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16112
3c4671f4
GM
16113 * net/browse-url.el (browse-url-firefox):
16114 Test system-type, not system-configuration.
16115
b605679c
GM
16116 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16117 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16118 Use log-edit-empty-buffer-p. (Bug#7598)
16119
56442f0c
GM
16120 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16121 (rlogin-mode-map): Initialize in the defvar.
16122 (rlogin): Use ignore-errors.
16123
12544bbe
GM
16124 * replace.el (occur-mode-map): Some fixes for menu items.
16125
eb237b0f
AH
161262011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16127
16128 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16129
7d668f2c
CY
161302011-04-06 Chong Yidong <cyd@stupidchicken.com>
16131
e67a13ab
CY
16132 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16133 issuing unused warnings.
16134
16135 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16136 macro directly.
16137
7d668f2c
CY
16138 * simple.el: Lisp reimplement of list-processes. Based on an
16139 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16140 (process-menu-mode): New major mode.
16141 (list-processes--refresh, list-processes):
16142 (process-menu-visit-buffer): New functions.
16143
16144 * files.el (save-buffers-kill-emacs): Don't assume any return
16145 value of list-processes, which is undocumented anyway.
16146
a83ec3c9
CY
161472011-04-06 Chong Yidong <cyd@stupidchicken.com>
16148
16149 * emacs-lisp/tabulated-list.el: New file.
16150
e91a96fe
CY
16151 * emacs-lisp/package.el: Use Tabulated List mode.
16152 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16153 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16154 table format using Tabulated List mode variables.
16155 (package--push): New macro, replacing package-list-maybe-add.
16156 (package-menu--generate): Use package--push. Renamed from
16157 package--generate-package-list.
16158 (package-menu-refresh, list-packages): Use it.
daca8ba5 16159 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16160 Return insertion data instead of inserting it directly.
099c39a4
JB
16161 (package-menu-describe-package, package-menu-execute):
16162 Use tabulated-list-get-id.
e91a96fe
CY
16163 (package-menu-mark-delete, package-menu-mark-install)
16164 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16165 (package-menu-mark-obsolete-for-deletion):
16166 Use tabulated-list-put-tag.
e91a96fe
CY
16167 (package--list-packages, package-menu-revert)
16168 (package-menu-get-package, package-menu-get-version)
16169 (package-menu-sort-by-column): Functions deleted.
16170 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16171 (package-menu--status-predicate, package-menu--version-predicate)
16172 (package-menu--name-predicate)
16173 (package-menu--description-predicate): Handle arguments in the
16174 Tabulated List format.
16175 (package-list-packages-no-fetch): Call list-packages.
16176
3e214b50
JB
161772011-04-06 Juanma Barranquero <lekktu@gmail.com>
16178
16179 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16180 (after-find-file): Don't bind it.
3e214b50
JB
16181 (revert-buffer-in-progress-p): New variable.
16182 (revert-buffer): Bind it.
16183 Pass nil for `after-find-file-from-revert-buffer'.
16184
16185 * saveplace.el (save-place-find-file-hook): Use new variable
16186 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16187
3f0f1700
GM
161882011-04-06 Glenn Morris <rgm@gnu.org>
16189
c0274801
GM
16190 * Makefile.in (AUTOGEN_VCS): New variable.
16191 (autoloads): Use $AUTOGEN_VCS.
16192
3f0f1700
GM
16193 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16194 * calendar/calendar.el (calendar-mode-map):
16195 Check for toolkit scroll bars. (Bug#8305)
16196
41ea9e48
CY
161972011-04-05 Chong Yidong <cyd@stupidchicken.com>
16198
16199 * minibuffer.el (completion-in-region--postch)
16200 (completion-in-region-mode): Remove unnecessary messages.
16201
6194c800
JB
162022011-04-05 Juanma Barranquero <lekktu@gmail.com>
16203
33256f14
JB
16204 * font-lock.el (font-lock-refresh-defaults):
16205 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16206 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16207
6194c800
JB
16208 * info.el (Info-directory-list, Info-read-node-name-2)
16209 (Info-split-parameter-string): Doc fixes.
16210 (Info-virtual-nodes): Reflow docstring.
16211 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16212 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16213 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16214 Fix typos in docstrings.
16215 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16216 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16217 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16218 (Info-restore-desktop-buffer): Mark unused parameters.
16219 (Info-directory-find-file, Info-directory-find-node)
16220 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16221 (Info-virtual-index-find-node, Info-apropos-find-file)
16222 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16223 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16224 (Info-virtual-index): Remove unused local variable `nodename'.
16225
b87a8200 162262011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16227
b87a8200
DD
16228 * net/rcirc.el: Update my e-mail address.
16229 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16230
3b2ff876
CY
162312011-04-05 Chong Yidong <cyd@stupidchicken.com>
16232
16233 * startup.el (command-line): Save the cursor's theme-face
16234 directly, instead of using face-override-spec.
16235
16236 * custom.el (load-theme): Minor optimization in assigning faces.
16237
8d17e7ca
JB
162382011-04-04 Juanma Barranquero <lekktu@gmail.com>
16239
16240 * help-fns.el (describe-variable): Complete all variables having
16241 documentation, including keywords.
16242 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16243
2fbc1934
JB
162442011-04-04 Juanma Barranquero <lekktu@gmail.com>
16245
16246 Convert to lexical-binding.
16247
16248 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16249 (bs--get-marked-string, bs--get-modified-string)
16250 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16251 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16252 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16253
16254 * ehelp.el (electric-help-execute-extended)
16255 (electric-help-ctrl-x-prefix):
16256 * hexl.el (hexl-revert-buffer-function):
16257 * linum.el (linum-after-change, linum-after-scroll):
16258 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16259
16260 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16261
74f50695
DU
162622011-04-04 Daiki Ueno <ueno@unixuser.org>
16263
16264 * epa-dired.el:
16265 * epa-mail.el:
16266 * epa-hook.el:
16267 * epa-file.el:
16268 * epa.el:
16269 * epg.el: Use lexical binding.
16270
c11325f7
CY
162712011-04-03 Chong Yidong <cyd@stupidchicken.com>
16272
0d9e9a12
CY
16273 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16274
c11325f7 16275 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16276 dictionary case for flyspell-mark-duplications-exceptions.
16277 Use regexp matching for languages.
c11325f7
CY
16278 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16279 default dictionary (Bug#7926).
16280
da91b5f2
CY
162812011-04-02 Chong Yidong <cyd@stupidchicken.com>
16282
099c39a4
JB
16283 * emacs-lisp/package.el (package--with-work-buffer):
16284 Recognize https URLs.
da91b5f2 16285
099c39a4
JB
16286 * net/network-stream.el: Move from gnus/proto-stream.el.
16287 Change prefix to network-stream throughout.
da91b5f2
CY
16288 (open-protocol-stream): Merge into open-network-stream, leaving
16289 open-protocol-stream as an alias. Handle nil BUFFER args.
16290
16291 * subr.el (open-network-stream): Move to net/network-stream.el.
16292
afa8e9f6
GM
162932011-04-02 Glenn Morris <rgm@gnu.org>
16294
1d2e369d
GM
16295 * find-dired.el (find-exec-terminator): New option.
16296 (find-ls-option): Test for -ls support.
16297 (find-ls-subdir-switches): Test for -b in find-ls-option.
16298 (find-dired, find-grep-dired): Doc fixes.
16299 (find-dired): Use find-exec-terminator.
16300
8abb7da8 16301 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16302 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16303 (find-name-arg): Remove purecopy.
8abb7da8 16304
f3ca7378
GM
16305 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16306 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16307 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16308 accordingly. Don't add the null-device if not needed.
16309
afa8e9f6
GM
16310 * files.el (save-some-buffers): Doc fix.
16311
35eae264
EZ
163122011-04-02 Eli Zaretskii <eliz@gnu.org>
16313
16314 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16315
26b51db5
JB
163162011-04-01 Juanma Barranquero <lekktu@gmail.com>
16317
16318 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16319 Use `dolist' rather than `mapcar'.
16320
7200d79c
SM
163212011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16322
03408648 16323 Add lexical binding.
7200d79c 16324
03408648
SM
16325 * subr.el (apply-partially): Use new closures rather than CL.
16326 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16327 (dolist, dotimes): Use slightly different expansion for lexical code.
16328 (functionp): Move to C.
16329 (letrec): New macro.
16330 (with-wrapper-hook): Use it and apply-partially instead of CL.
16331 (eval-after-load): Preserve lexical-binding.
16332 (save-window-excursion, with-output-to-temp-buffer): Turn them
16333 into macros.
7200d79c 16334
03408648
SM
16335 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16336
16337 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16338 than the arglist.
16339 (help-add-fundoc-usage): Don't add `Not documented'.
16340 (help-function-arglist): Handle closures, subroutines, and new
16341 byte-code-functions.
16342 (help-make-usage): Remove leading underscores.
16343 (describe-function-1): Handle closures.
16344 (describe-variable): Use special-variable-p for completion.
16345
16346 * files.el (lexical-binding): Declare safe.
f488fb65 16347
03408648
SM
16348 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16349 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16350 (pcase): Add `let' pattern.
16351 Change memoization so it actually works.
16352 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16353 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16354 <let>: New case.
f488fb65 16355
03408648
SM
16356 * emacs-lisp/macroexp.el: Use lexical binding.
16357 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16358 Don't convert ' to #' without checking that it's indeed quoting
16359 a lambda.
16360
16361 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16362 Use eval-sexp-add-defvars.
03408648
SM
16363 (eval-sexp-add-defvars): New fun.
16364
16365 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16366
16367 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16368 Don't autoload.
16369 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16370 than the internal `byte-compile-lambda'.
16371 (defmethod): Don't hide code under quotes.
16372 (eieio-defmethod): New `code' argument.
16373
16374 * emacs-lisp/eieio-comp.el: Remove.
16375
16376 * emacs-lisp/edebug.el (edebug-eval-defun)
16377 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16378 (edebug-toggle): Avoid `eval'.
16379
16380 * emacs-lisp/disass.el (disassemble-internal): Handle new
16381 `closure' objects.
16382 (disassemble-1): Handle new byte codes.
16383
16384 * emacs-lisp/cl.el (pushnew): Silence warning.
16385
16386 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16387 (cl-byte-compile-throw): Remove.
16388 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16389
16390 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16391 closures.
16392
16393 * emacs-lisp/cconv.el: New file.
16394
16395 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16396 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16397 (byte-compile-initial-macro-environment):
16398 Handle declare-function here.
16399 (byte-compile--lexical-environment): New var.
16400 (byte-stack-ref, byte-stack-set, byte-discardN)
16401 (byte-discardN-preserve-tos): New lap codes.
16402 (byte-interactive-p): Don't use any more.
16403 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16404 New macros.
16405 (byte-compile-lapcode): Use them and handle new lap codes.
16406 (byte-compile-obsolete): Remove.
16407 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16408 (byte-compile-arglist-warn): Check late def of inlinable funs.
16409 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16410 since they should have been expanded by now.
16411 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16412 (byte-compile-from-buffer): Remove unused second arg.
16413 (byte-compile-preprocess): New function.
16414 (byte-compile-toplevel-file-form): New function to distinguish
16415 file-form calls from outside from file-form calls from hunk-handlers.
16416 (byte-compile-file-form): Simplify.
16417 (byte-compile-file-form-defsubst): Remove.
16418 (byte-compile-file-form-defmumble): Simplify now that
16419 byte-compile-lambda always returns a byte-code-function.
16420 (byte-compile): Preprocess.
16421 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16422 Remove, not used any more.
16423 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16424 (byte-compile-make-args-desc): New funs.
16425 (byte-compile-lambda): Handle lexical functions. Always return
16426 a byte-code-function.
16427 (byte-compile-reserved-constants): New var, to make up room for
16428 closed-over variables.
16429 (byte-compile-constants-vector): Obey it.
16430 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16431 (byte-compile-macroexpand-declare-function): New function.
16432 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16433 byte-code-functions.
16434 (byte-compile-form): Check obsolescence here.
16435 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16436 (byte-compile-variable-ref): Remove.
16437 (byte-compile-dynamic-variable-op): New fun.
16438 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16439 (byte-compile-variable-set): New funs.
16440 (byte-compile-discard): Add 2 args.
16441 (byte-compile-stack-ref, byte-compile-stack-set)
16442 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16443 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16444 macroexpand-all instead.
16445 (byte-compile-quote-form): Remove.
16446 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16447 (byte-compile-bind, byte-compile-unbind): New funs.
16448 (byte-compile-let): Handle let* and lexical binding.
16449 (byte-compile-let*): Remove.
16450 (byte-compile-catch, byte-compile-unwind-protect)
16451 (byte-compile-track-mouse, byte-compile-condition-case):
16452 Handle a new :fun-body form, used for lexical scoping.
16453 (byte-compile-save-window-excursion)
16454 (byte-compile-with-output-to-temp-buffer): Remove.
16455 (byte-compile-defun): Simplify.
16456 (byte-compile-stack-adjustment): New fun.
16457 (byte-compile-out): Use it.
16458 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16459
16460 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16461 handler any more.
16462
16463 * emacs-lisp/byte-opt.el: Use lexical binding.
16464 (byte-inline-lapcode): Remove (to bytecomp).
16465 (byte-compile-inline-expand): Pay attention to inlining to/from
16466 lexically bound code.
16467 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16468 any more.
16469 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16470 any more and don't call compiler-macros.
16471 (byte-compile-splice-in-already-compiled-code): Remove.
16472 (byte-code): Don't inline any more.
16473 (disassemble-offset): Receive `bytes' as argument rather than via
16474 dynamic scoping.
16475 (byte-compile-tag-number): Declare before first use.
16476 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16477 `return' even if make-spliceable.
16478 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16479 obsolete interactive-p.
16480 (byte-optimize-lapcode): Optimize new lap-codes.
16481 Don't trip up on new form of `byte-constant' lap code.
16482
16483 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16484
16485 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16486
16487 * custom.el (custom-initialize-default, custom-declare-variable):
16488 Use `defvar'.
16489
16490 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16491 New variables.
16492 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16493 (COMPILE_FIRST): Add macroexp and cconv.
16494 * makefile.w32-in: Mirror changes in Makefile.in.
16495
16496 * vc/cvs-status.el:
16497 * vc/diff-mode.el:
16498 * vc/log-edit.el:
16499 * vc/log-view.el:
16500 * vc/smerge-mode.el:
16501 * textmodes/bibtex-style.el:
090bd7cb 16502 * textmodes/css-mode.el:
03408648
SM
16503 * startup.el:
16504 * uniquify.el:
da91b5f2
CY
16505 * minibuffer.el:
16506 * newcomment.el:
16507 * reveal.el:
16508 * server.el:
16509 * mpc.el:
16510 * emacs-lisp/smie.el:
16511 * doc-view.el:
16512 * dired.el:
03408648
SM
16513 * abbrev.el: Use lexical binding.
16514
0f0c1f27
EZ
165152011-04-01 Eli Zaretskii <eliz@gnu.org>
16516
16517 * info.el (info-display-manual): New function.
16518
c82b2579
SM
165192011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16520
16521 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16522
221ddf68
TH
165232011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16524
16525 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16526 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16527
cba6e77e
GM
165282011-03-31 Glenn Morris <rgm@gnu.org>
16529
e040639f
GM
16530 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16531
cba6e77e
GM
16532 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16533
6d0f1c9e
CS
165342011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16535
16536 * progmodes/python.el (python-default-interpreter)
16537 (python-python-command-args, python-jython-command-args)
16538 (python-which-shell, python-which-args, python-which-bufname)
16539 (python-file-queue, python-comint-output-filter-function)
16540 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16541 variables and functions.
16542
3e2d70fd
SM
165432011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16544
16545 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16546 (completion-in-region-mode): New minor mode.
16547 (completion-in-region): Use it.
16548 (completion-in-region--data, completion-in-region-mode-map): New vars.
16549 (completion-in-region--postch): New function.
16550 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16551 New vars.
16552 (completion--capf-wrapper): New function.
16553 (completion-at-point): Use it to track well-behavedness of
16554 hook functions.
16555 (completion-help-at-point): New command.
16556
f3e4086c
JM
165572011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16558
16559 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16560 syntax class to search for whitespace on a single line
16561 (Message-ID: <4D938140.4030905@redhat.com>).
16562
eb7ffc14
LL
165632011-03-30 Leo Liu <sdl.web@gmail.com>
16564
16565 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16566 New commands.
16567 (edit-abbrevs-map): Bind them here.
16568 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16569
d806ab68
KM
165702011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16571
16572 * allout.el (allout-hide-by-annotation, allout-flag-region):
16573 Reduce possibility of overlay leakage by making them volatile.
16574
16575 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16576 hash is not shared between buffers. Mode initialization is
16577 responsible for giving it a useful starting value.
16578 (allout-item-span): Reduce possibility of overlay leakage by
16579 making them volatile.
16580 (allout-widgets-count-buttons-in-region): Add diagnostic function
16581 for tracking down button overlay leaks.
16582
ea622834
LL
165832011-03-29 Leo Liu <sdl.web@gmail.com>
16584
16585 * ido.el (ido-read-internal): Use the default history var
16586 minibuffer-history if no HISTORY is specified.
16587
b62f8267
G
165882011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16589
03408648
SM
16590 * net/imap.el (imap-shell-open, imap-process-connection-type):
16591 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16592 Kerberos, SSL, other subprocesses.
16593
947b6566
LL
165942011-03-28 Leo Liu <sdl.web@gmail.com>
16595
16596 * abbrev.el (abbrev-table-empty-p): New function.
16597 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16598 nonempty ones. (Bug#5937)
16599
5ffb62aa
JD
166002011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16601
16602 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16603
7a097943
LL
166042011-03-27 Leo Liu <sdl.web@gmail.com>
16605
16606 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16607 for foreground and background colors.
16608 (ansi-color-make-color-map): Adapt.
16609
c5b40130
LL
166102011-03-25 Leo Liu <sdl.web@gmail.com>
16611
1f48f7d2
LL
16612 * midnight.el (midnight-time-float): Remove. Note it calculates
16613 the microsecond component incorrectly and seconds-to-time does the
16614 same job.
625897ec 16615 Remove redundant (require 'timer).
1f48f7d2 16616
c5b40130
LL
16617 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16618 (ido-completions): Remove unused arguments. (Bug#8329)
16619
d86d2721
SM
166202011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16621
16622 * minibuffer.el (completion--flush-all-sorted-completions):
16623 Remove itself from hook.
16624 (completion-at-point): Let the functions perform the completion
16625 immediately and return nil or t.
16626 * comint.el (comint-dynamic-complete-functions): Now identical to
16627 completion-at-point-functions.
16628 (comint-dynamic-list-input-ring): Remove unused var `index'.
16629 (comint--match-partial-filename, comint--unquote&expand-filename):
16630 New funs, split from comint-match-partial-filename.
16631 (comint-dynamic-complete): Use completion-at-point.
16632 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16633
e8974c48
DA
166342011-03-24 Drew Adams <drew.adams@oracle.com>
16635
16636 * thingatpt.el: Support `defun'.
16637
def71b5e
LL
166382011-03-23 Leo Liu <sdl.web@gmail.com>
16639
cb5af48e
LL
16640 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16641
def71b5e
LL
16642 * help-mode.el (help-mode-finish): Tweak regexp.
16643
927c53e7
GM
166442011-03-23 Glenn Morris <rgm@gnu.org>
16645
18d05bed
GM
16646 * eshell/esh-opt.el (eshell-eval-using-options):
16647 Do not bind unused local variable `eshell-option-stub'.
16648
927c53e7
GM
16649 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16650
9d0da923
JB
166512011-03-22 Juanma Barranquero <lekktu@gmail.com>
16652
16653 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16654 keymap variable in `with-no-warnings' to avoid a warning when the
16655 keymap has been already `defconst'ed.
16656
4b978a67
LL
166572011-03-22 Leo Liu <sdl.web@gmail.com>
16658
16659 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16660 encode all chars in abbrevs; otherwise use emacs-mule or
16661 utf-8-emacs. (Bug#8308)
16662
5fd62452
JB
166632011-03-22 Juanma Barranquero <lekktu@gmail.com>
16664
0b1596c6
JB
16665 * simple.el (backward-delete-char-untabify):
16666 Avoid warning about using `delete-backward-char'.
16667
5fd62452
JB
16668 * image.el (image-type-file-name-regexps): Make it variable.
16669 `imagemagick-register-types' modifies it, and the user may want
16670 to add new extensions for known image types.
16671 (imagemagick-register-types): Throw error if not using ImageMagick.
16672
0b4e93f1
LL
166732011-03-22 Leo Liu <sdl.web@gmail.com>
16674
16675 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16676 located before rcirc-prompt-end-marker.
16677 (rcirc-complete): Error if point is not after rcirc prompt.
16678 Handle the case when table is nil.
9882e214 16679 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16680
fccee4ab
CY
166812011-03-22 Chong Yidong <cyd@stupidchicken.com>
16682
16683 * custom.el (custom--inhibit-theme-enable): Make it affect only
16684 custom-theme-set-variables and custom-theme-set-faces.
16685 (provide-theme): Ignore custom--inhibit-theme-enable.
16686 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16687 (custom-enabling-themes): Delete variable.
d86d2721
SM
16688 (enable-theme): Accept only loaded themes as arguments.
16689 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16690 (custom-enabled-themes): Forbid themes from setting this.
16691 Eliminate use of custom-enabling-themes.
16692 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16693
af896da6
LL
166942011-03-21 Leo Liu <sdl.web@gmail.com>
16695
16696 * ido.el (ido-read-internal): Add ido-selected to history instead
16697 of user input.
16698
78f64af0
SM
166992011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16700
16701 * subr.el (deferred-action-list, deferred-action-function):
16702 Mark obsolete.
16703
b16ac1ec
LL
167042011-03-21 Leo Liu <sdl.web@gmail.com>
16705
810f7698
LL
16706 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16707 change on 2011-02-13 (bug#8309).
16708
b16ac1ec
LL
16709 * minibuffer.el (read-file-name-function): Change default value.
16710 (read-file-name--defaults): Rename from read-file-name-defaults.
16711 (read-file-name-default): Rename from read-file-name.
16712 (read-file-name): Call read-file-name-function.
16713
4e05e67e
GM
167142011-03-21 Glenn Morris <rgm@gnu.org>
16715
16716 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16717 Doc fixes.
16718
4359915b
CY
167192011-03-21 Chong Yidong <cyd@stupidchicken.com>
16720
16721 * cus-theme.el: Add missing provide statement.
16722 (customize-create-theme): Extract theme value correctly.
16723 (custom-theme-visit-theme): Autoload.
16724 (customize-create-theme): Prompt before inserting default faces.
16725
1fe275ee
JB
167262011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16727
16728 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16729 units and musical notes.
16730
cd394be1 167312011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16732
16733 * ido.el (ido-read-internal): Use completing-read-default.
16734 (ido-completing-read): Fix compatibility with completing-read.
16735
7d476bde
CO
167362011-03-20 Christian Ohler <ohler@gnu.org>
16737
16738 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16739 (ert-delete-all-tests): Use `called-interactively-p' rather than
16740 `interactive-p'.
16741 (ert--make-xrefs-region): Respect END.
16742
fe0fb33e
CY
167432011-03-19 Chong Yidong <cyd@stupidchicken.com>
16744
ff854b0b
CY
16745 * dired-aux.el (dired-create-directory): Signal an error if the
16746 directory already exists (Bug#8246).
16747
fe0fb33e
CY
16748 * facemenu.el (list-colors-display): Call list-faces-display
16749 inside with-help-window.
16750 (list-colors-print): Use display property to align the final
16751 column, instead of checking window-width.
16752
576bce32
EZ
167532011-03-19 Eli Zaretskii <eliz@gnu.org>
16754
4d61f28d 16755 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16756 windows-nt systems.
16757 (emerge-protect-metachars): Quote correctly for ms-dos and
16758 windows-nt systems.
16759
89c41d68 167602011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16761
16762 * info.el (info-initialize): Replace all uses of `:' with
16763 path-separator for compatibility with non-Unix systems.
16764 Cache quoting of path-separator. (Bug#8258)
16765
b14e3e21 167662011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16767
16768 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16769 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16770 (mouse-avoidance-mode): Fix typos in docstrings.
16771
4525ce3e
CY
167722011-03-19 Chong Yidong <cyd@stupidchicken.com>
16773
16774 * startup.el (package-subdirectory-regexp): Move from package.el.
16775 Omit \\` and \\', and let callers add them.
16776
16777 * emacs-lisp/package.el (package-strip-version)
16778 (package-load-all-descriptors): Add \\` and \\' to
16779 package-subdirectory-regexp before using it.
16780 (package-untar-buffer): New arg DIR; ensure that file untars only
16781 into this expected directory. Remove superfluous delete-region.
16782 (package-unpack): Caller changed.
16783 (package-tar-file-info): Use package-subdirectory-regexp.
16784
a904a09a 167852011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16786
a904a09a
SM
16787 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16788 diff-mode-shared-map (bug#8284).
16789 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16790
167912011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16792
16793 * calendar/time-date.el (format-seconds): Use assoc instead of
16794 assoc-string, since assoc-string doesn't exist in XEmacs.
16795
171fc304
JB
167962011-03-17 Juanma Barranquero <lekktu@gmail.com>
16797
16798 * custom.el (custom-known-themes): Reflow docstring.
16799 (custom-theme-load-path): Fix typo in docstring.
16800 (load-theme): Fix typo in error message.
16801 (custom-available-themes, custom-variable-theme-value):
16802 Use `let', not `let*'.
16803
d71990a1
JB
168042011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16805
16806 * calc/README: Mention inclusion of musical notes.
16807
16808 * calc/calc-units.el (calc-lu-quant): Rename from
16809 `calc-logunits-quantity'.
16810 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16811 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16812 (calc-db): Rename from `calc-dblevel'.
16813 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16814 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16815 (calc-np): Rename from `calc-nplevel'.
16816 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16817 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16818 (calc-lu-plus): Rename from `calc-logunits-add'.
16819 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16820 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16821 (calc-lu-minus): Rename from `calc-logunits-sub'.
16822 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16823 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16824 (calc-lu-times): Rename from `calc-logunits-mul'.
16825 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16826 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16827 (calc-lu-divide): Rename from `calc-logunits-div'.
16828 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16829 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16830
16831 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16832 functions being autoloaded.
16833
16834 * calc/calc.el (calc-lu-power-reference): Rename from
16835 `calc-logunits-power-reference'.
16836 (calc-lu-field-reference): Rename from
16837 `calc-logunits-field-reference'.
16838
7a71b18d
GM
16839 * calc/calc-help.el (calc-l-prefix-help):
16840 Mention musical note functions.
d71990a1 16841
40c2934b
SM
168422011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16843
16844 * minibuffer.el (completion-all-sorted-completions):
16845 Use :completion-cycle-penalty text property if present.
16846
b0911414
KM
168472011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16848
16849 * allout.el (allout-yank-processing): Adjust for new rebulleting
16850 regime so bullet being yanked is used without prompting the user
16851 for a choice.
16852
8a05b668
JB
168532011-03-16 Juanma Barranquero <lekktu@gmail.com>
16854
16855 * startup.el (command-line): Warn the user that _emacs is deprecated.
16856
5ba5fb81
JB
168572011-03-16 Juanma Barranquero <lekktu@gmail.com>
16858
16859 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16860 (delphi-verbose, delphi-comment-face, delphi-string-face)
16861 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16862 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16863 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16864 (delphi-new-comment-line, delphi-font-lock-defaults)
16865 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16866 Fix typos in docstrings.
16867
2dab465b
KM
168682011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16869
5ba5fb81 16870 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16871 Invert the roles of character and string values for INSTEAD, so a
16872 string is used for the more common case of a defaulting prompt.
16873
0adf5618
SM
168742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16875
16876 * progmodes/ruby-mode.el (ruby-backward-sexp):
16877 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16878 * play/gamegrid.el (gamegrid-make-face):
16879 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16880 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16881 * notifications.el (notifications-notify):
16882 * net/xesam.el (xesam-search-engines):
16883 * net/quickurl.el (quickurl-list-insert):
16884 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16885
d72700e5
CY
168862011-03-15 Chong Yidong <cyd@stupidchicken.com>
16887
16888 * startup.el (command-line): Update package subdirectory regexp.
16889
49c5410a
SM
168902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16891
c6eee9aa
SM
16892 * allout.el (allout-abbreviate-flattened-numbering)
16893 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16894
49c5410a
SM
16895 * subr.el (read-char-choice): Only show the cursor after the prompt,
16896 not after the answer.
16897
047b2bb9
KR
168982011-03-15 Kevin Ryde <user42@zip.com.au>
16899
16900 * help-fns.el (variable-at-point): Skip leading quotes, if any
16901 (bug#8253).
16902
0a57d256
SM
169032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16904
16905 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16906 warning message.
16907
77c992bc
MA
169082011-03-14 Michael Albinus <michael.albinus@gmx.de>
16909
16910 * shell.el (shell): When called interactively, offer to change the
16911 shell file name on remote hosts.
16912
eebc475d
TZ
169132011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16914
16915 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16916 integration for LDAP parameters. The host, base, user or binddn,
16917 and secret tokens can be specified in a netrc file, for instance.
16918 This is optional because an `auth-source' parameter must be
16919 specified in the search attributes.
16920
9d05d1ba
JB
169212011-03-13 Juanma Barranquero <lekktu@gmail.com>
16922
16923 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16924
09d9db2c
GM
169252011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16926
16927 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16928 into declaration. Remove redundant and harmful binding.
16929
169302011-03-12 Eli Zaretskii <eliz@gnu.org>
16931
16932 * files.el (file-ownership-preserved-p): Pass `integer' as an
16933 explicit 2nd argument to `file-attributes'. If the file's owner
16934 is the Administrators group on Windows, and the current user is
16935 Administrator, consider that a match.
16936
16937 * server.el (server-ensure-safe-dir): Consider server directory
16938 safe on MS-Windows if its owner is the Administrators group while
16939 the current Emacs user is Administrator. Use `=' to compare
16940 numerical UIDs, since they could be integers or floats.
16941
219bd536
JB
169422011-03-12 Juanma Barranquero <lekktu@gmail.com>
16943
16944 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16945
f3afd36b
MA
169462011-03-12 Michael Albinus <michael.albinus@gmx.de>
16947
16948 Sync with Tramp 2.2.1.
16949
16950 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16951
16952 * net/trampver.el: Update release number.
16953
3aaaa6f1
SM
169542011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16955
94642599
SM
16956 * progmodes/compile.el (compilation--previous-directory): Fix up
16957 various nil/dead-marker mismatches (bug#8014).
16958 (compilation-directory-properties, compilation-error-properties):
16959 Don't call it at a position past the one we're about to change.
16960
3aaaa6f1
SM
16961 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16962 Disable obsolescence warnings in the file that declares it.
16963
14239447
KM
169642011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16965
099c39a4
JB
16966 * allout-widgets.el (allout-widgets-tally):
16967 Initialize allout-widgets-tally as a hash table rather than nil to
16968 prevent mode-line redisplay warnings. Also, clarify the module
16969 description and fix a comment typo.
14239447 16970
135e287c
JB
169712011-03-11 Juanma Barranquero <lekktu@gmail.com>
16972
16973 * help-fns.el (describe-variable): Don't complete keywords.
16974 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
16975
ffbf300e
CY
169762011-03-10 Chong Yidong <cyd@stupidchicken.com>
16977
ba08b241
CY
16978 * emacs-lisp/package.el (package-version-join): Impose a standard
16979 string representation for pre/alpha/beta version lists.
16980 (package-unpack-single): Standardize the directory name by passing
16981 it through package-version-join.
16982 (package-strip-rcs-id): Accept any version string that does not
16983 signal an error in version-to-list.
ffbf300e 16984
f346fd6b
MA
169852011-03-10 Michael Albinus <michael.albinus@gmx.de>
16986
16987 * simple.el (delete-trailing-whitespace): Return nil for the
16988 benefit of `write-file-functions'.
16989
ccb55d27
GM
169902011-03-10 Glenn Morris <rgm@gnu.org>
16991
5ceaac0c
GM
16992 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
16993
02da65ff
GM
16994 * vc/vc-git.el (vc-git-program): New option.
16995 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
16996 (vc-git--call): Use it.
16997
b2f603cc
GM
16998 * eshell/esh-util.el (eshell-condition-case): Doc fix.
16999
5772caab
GM
17000 * cus-edit.el (Custom-newline): If no button at point, look
17001 for a subgroup button at start-of-line. (Bug#2298)
17002
ccb55d27
GM
17003 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17004
ec6ecaed
JD
170052011-03-10 Julien Danjou <julien@danjou.info>
17006
17007 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17008 `cursor-type' is nil.
17009
9d5aa01d
JB
170102011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17011
17012 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17013
b6a5875b
KM
170142011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17015
7a71b18d 17016 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17017 preserves the existing header prefix, rebulleting it if necessary,
17018 rather than replacing it. This is necessary for proper operation
17019 of cooperative addons like allout-widgets.
1154d12e
JB
17020 (allout-make-topic-prefix, allout-rebullet-heading):
17021 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17022 value as alternate bullet to be used, instead of prompting the user
17023 for a bullet character.
b6a5875b 17024
ee545c35
MA
170252011-03-09 Michael Albinus <michael.albinus@gmx.de>
17026
d86d2721
SM
17027 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17028 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17029 `tramp-default-port'.
17030
c47971d7
DD
170312011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17032
17033 * net/rcirc.el (rcirc-handler-001): Remove useless
17034 with-rcirc-process-buffer.
17035 (rcirc-check-auth-status): Swap arguments to string-match.
17036
13522cb4
GM
170372011-03-09 Glenn Morris <rgm@gnu.org>
17038
0be6f4f1
GM
17039 * shell.el (shell-mode):
17040 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17041
13522cb4
GM
17042 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17043 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17044
515de2e3
CY
170452011-03-08 Chong Yidong <cyd@stupidchicken.com>
17046
17047 * emacs-lisp/package.el (package-refresh-contents)
17048 (package-menu-execute): Use condition-case-no-debug.
17049
b511b994
MA
170502011-03-08 Michael Albinus <michael.albinus@gmx.de>
17051
17052 * simple.el (shell-command-to-string): Use `process-file'.
17053
17054 * emacs-lisp/package.el (package-tar-file-info): Handle also
17055 remote files.
17056
d86d2721
SM
17057 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17058 Use `equal' for upload base check.
b511b994 17059
25bbfb31
AM
170602011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17061
17062 * textmodes/texinfo.el (texinfo-environments):
17063 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17064
be996521
GM
170652011-03-08 Glenn Morris <rgm@gnu.org>
17066
e9c8529f
GM
17067 * cus-start.el (cursor-in-non-selected-windows):
17068 Fix :set quoting oddness. (Bug#8192)
17069
be996521
GM
17070 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17071 in some setf expressions. (Bug#2159)
17072
2bb5649e
CY
170732011-03-08 Chong Yidong <cyd@stupidchicken.com>
17074
17075 * custom.el (custom-available-themes): Return themes in
17076 alphabetical order.
17077
33383987 17078See ChangeLog.15 for earlier changes.
e3d51b27
MR
17079
17080;; Local Variables:
17081;; coding: utf-8
e3d51b27
MR
17082;; End:
17083
acaf905b 17084 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17085
17086 This file is part of GNU Emacs.
17087
17088 GNU Emacs is free software: you can redistribute it and/or modify
17089 it under the terms of the GNU General Public License as published by
17090 the Free Software Foundation, either version 3 of the License, or
17091 (at your option) any later version.
17092
17093 GNU Emacs is distributed in the hope that it will be useful,
17094 but WITHOUT ANY WARRANTY; without even the implied warranty of
17095 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17096 GNU General Public License for more details.
17097
17098 You should have received a copy of the GNU General Public License
17099 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.