Export DEFAULT_REHASH_* to GDB.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6dad7178
EZ
12012-08-03 Eli Zaretskii <eliz@gnu.org>
2
18949c2f
EZ
3 * whitespace.el (whitespace-display-mappings): Use Unicode
4 codepoints, instead of emacs-mule codepoints. See
5 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6 for the details.
7
6dad7178
EZ
8 * files.el (file-truename): Don't skip symlink-chasing part on
9 windows-nt. Incorporate the resolution of 8+3 short aliases on
10 Windows into the loop that recursively chases symlinks. Compare
11 directory and its parent case-insensitively on MS-Windows and
12 MS-DOS.
13
385b0198
CY
142012-08-03 Chong Yidong <cyd@gnu.org>
15
6200f3c4
CY
16 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
17
385b0198
CY
18 * sort.el (sort-regexp-fields): Doc fix.
19
b9e74744
TH
202012-08-03 Tassilo Horn <tsdh@gnu.org>
21
22 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
23 labels regex position point at the expected place.
24
41013cb4
MK
252012-08-03 MON KEY <monkey@sandpframing.com>
26
27 * net/imap.el (imap-interactive-login, imap-authenticate)
28 (imap-mailbox-lsub, imap-mailbox-list)
29 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
30 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
31 (imap-parse-response): Doc fix.
32
0ffee616
JT
332012-08-03 João Távora <joaotavora@gmail.com>
34
35 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
36 if sexp scanning does not move point (Bug#5734).
37
cfcc9cc8
TH
382012-08-02 Tassilo Horn <tsdh@gnu.org>
39
40 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
41 Add listings, minted, and ctable packages.
42 (reftex-label-alist-builtin): Move listings, minted, and ctable
43 entries before LaTeX.
a01bbb84 44 (reftex-label-alist): Docfix.
cfcc9cc8 45
66ec2442
BG
462012-08-02 Bastien Guerry <bzg@gnu.org>
47
48 * replace.el (occur): Fix docstring (bug#12122).
49
837b365b
GM
502012-08-02 Glenn Morris <rgm@gnu.org>
51
52 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
53
e098de97
PE
542012-08-02 Paul Eggert <eggert@cs.ucla.edu>
55
56 Obsolete alias inactivate-current-input-method-function (Bug#10150).
57 * international/mule-cmds.el: Create
58 inactivate-current-input-method-function as an obsolete alias for
59 deactivate-current-input-method-function. See Katsumi Yamaoka in
60 <http://bugs.gnu.org/10150#46>.
61
a0f95636
JB
622012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
63
64 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
65 of nested `if's.
66
0d26d7c4
GM
672012-08-01 Glenn Morris <rgm@gnu.org>
68
69 * progmodes/autoconf.el (autoconf-definition-regexp):
70 Add AH_TEMPLATE, adjust submatch numbering.
71 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
72 (autoconf-current-defun-function): Update for above change.
73 (autoconf-current-defun-function): First skip to end of current word.
74
b686ba06
RS
752012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
76
77 * calendar/cal-html.el (cal-html-insert-agenda-days):
78 Fix typo. (Bug#12018)
79
0d49da68
FEG
802012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
81
82 Shell processes: enhancements to startup and CEDET compatibility.
83 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
84 (python-shell-make-comint): accept-process-output at startup.
85 (run-python-internal): Set inferior-python-mode-hook to nil.
86 (python-shell-internal-get-or-create-process): call sit-for.
87 (python-preoutput-result): Add obsolete alias.
88 (python-shell-internal-send-string): Use it.
89 (python-shell-send-setup-code): Remove call to
90 accept-process-output.
91
f1a71c6e
AS
922012-07-31 Andreas Schwab <schwab@linux-m68k.org>
93
94 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
95 (Bug#12108)
96
d2605269
JB
972012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
98
99 * calc-mode.el (calc-basic-simplification-mode): Rename from
100 `calc-limited-simplification-mode'.
101 (calc-alg-simplification-mode): New function.
d66060f8 102 (calc-set-simplify-mode): Adjust message.
f1a71c6e 103
d2605269
JB
104 * calc.el (calc-set-mode-line): Adjust mode line display for
105 basic simplification mode.
106
107 * calc-help.el (calc-m-prefix-help): Update help message.
108
109 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
110 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
111
a3827a43
BG
1122012-07-31 Bastien Guerry <bzg@gnu.org>
113
114 * man.el (man): Fix comment. (bug#12101)
115
502e3f89
MR
1162012-07-31 Martin Rudalics <rudalics@gmx.at>
117
118 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
119 Don't return a non-nil value when no suitable buffer was found.
120
d7714961
FEG
1212012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
122
123 * progmodes/python.el (run-python-internal): Disable font lock for
124 internal shells.
125
1f45e27e
SM
1262012-07-30 Stefan Merten <smerten@oekonux.de>
127
128 * rst.el: Silence `checkdoc-ispell'.
129 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
130 (rst-official-version, rst-official-cvs-rev)
131 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
132 (rst-mode-map): New key binding.
133
0aee6912
PE
1342012-07-30 Paul Eggert <eggert@cs.ucla.edu>
135
136 Update .PHONY listings in makefiles.
137 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
138 autoloads, update-subdirs, updates, bzr-update, update-authors,
139 compile-onefile, compile-calc, backup-compiled-files,
140 compile-after-backup, compile-one-process, mh-autoloads,
141 bootstrap-clean, distclean, maintainer-clean.
142
9052f9f0
JB
1432012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
144
1823ac5a
JB
145 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
146 (calc-set-mode-line): Don't display "AlgSimp ".
147
148 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
149 (calc-lim-simplify-mode): New function.
150 (calc-set-simplify-mode): Default to 'alg.
151 (calc-default-simplify-mode): Make algebraic simplifications
152 the default.
153
154 * calc/calc-ext.el (calc-init-extensions): Remove binding for
155 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
156
8d7c7eed 157 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
158 indicate new simplification modes.
159
1823ac5a
JB
160 * calc/README: Mention new default simplification mode.
161
9052f9f0
JB
162 * calc/calc.el (math-normalize-error): New variable.
163 (math-normalize): Set `math-normalize-error' to t
164 when there's an error.
165
166 * calc/calc-alg.el (math-simplify): Don't simplify when
167 `math-normalize' returns an error.
168
20ba0cb4
EZ
1692012-07-29 Eli Zaretskii <eliz@gnu.org>
170
171 * international/mule-cmds.el (set-locale-environment): Revert last
172 change, since display-graphic-p returns nil when this function is
173 called during startup. Instead...
174
175 * term/w32console.el (terminal-init-w32console): ...setup the
176 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
177
a5dcc929
JL
1782012-07-29 Juri Linkov <juri@jurta.org>
179
180 * simple.el (goto-line): Don't display default line number in the
181 prompt because it should be displayed by `read-number' (bug#9952).
182 Add the current line number to the defaults of `goto-line' to
183 allow its easier modification by users with `M-n' (bug#9201).
184
185 * subr.el (read-number): Support multiple default values like in
186 other minibuffer reading functions. Replace `read' with
187 `string-to-number' for consistency with `number-to-string'.
188
72b255c7
PE
1892012-07-29 Paul Eggert <eggert@cs.ucla.edu>
190
191 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
192 * emulation/viper-init.el (viper-deactivate-input-method-action):
193 Rename from viper-inactivate-input-method-action.
194 (viper-deactivate-input-method):
195 Rename from viper-inactivate-input-method.
196 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
197 * international/mule-cmds.el (deactivate-input-method):
198 Rename from inactivate-input-method.
199 Also run input-method-deactivate-hook.
200 (deactivate-current-input-method-function):
201 Rename from inactivate-current-input-method-function.
202 (input-method-deactivate-hook): New hook.
203 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
204 (inactivate-input-method): Mark obsolete.
205
72b255c7
PE
206 * international/quail.el (quail-activate):
207 Also run quail-deactivate-hook.
208 (quail-deactivate): Rename from quail-inactivate.
209 * international/robin.el (robin-activate):
210 Also run robin-deactivate-hook.
211 (robin-deactivate): Rename from robin-inactivate.
212
2549c068
CY
2132012-07-29 Chong Yidong <cyd@gnu.org>
214
215 * simple.el (indicate-copied-region): New function.
216 (kill-ring-save): Split off from here.
217
218 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
219 (kill-rectangle): Set deactivate-mark to t on read-only error.
220
221 * register.el (copy-to-register, copy-rectangle-to-register):
222 Deactivate the mark, and use indicate-copied-region (Bug#10056).
223 (append-to-register, prepend-to-register): Call
224
17711ed9
JL
2252012-07-29 Juri Linkov <juri@jurta.org>
226
227 * simple.el (async-shell-command-buffer): New defcustom.
228 (shell-command): Use it. (Bug#4719)
229
01bd1b0d
EZ
2302012-07-28 Eli Zaretskii <eliz@gnu.org>
231
232 * international/mule-cmds.el (set-locale-environment): In a
233 console session on MS-Windows, set up keyboard and terminal
234 encoding from the OEM codepage, not the ANSI codepage.
235 (Bug#12055)
236
a55739d3
CY
2372012-07-28 Chong Yidong <cyd@gnu.org>
238
239 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
240 gdb-get-location.
241
9a0f8f2e
LL
2422012-07-25 Leo Liu <sdl.web@gmail.com>
243
244 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
245 the alist (bug#12029).
246
20329d73
EZ
2472012-07-28 Eli Zaretskii <eliz@gnu.org>
248
249 * makefile.w32-in (custom-deps, finder-data, updates, compile)
250 (compile-always, compile-first)
251 ($(lisp)/calendar/cal-loaddefs.el)
252 ($(lisp)/calendar/diary-loaddefs.el)
253 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
254 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
255 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
256 instead of on update-subdirs.
257 (bootstrap-clean): Delete $(lisp)/subdirs.el.
258
345a2258
CY
2592012-07-28 Chong Yidong <cyd@gnu.org>
260
1eee6341
CY
261 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
262 directory if vc-deduce-backend returns nil (Bug#7350).
263
345a2258
CY
264 * simple.el (delete-trailing-lines): New option.
265 (delete-trailing-whitespace): Obey it (Bug#11879).
266
049a0936
DE
2672012-07-28 David Engster <deng@randomsample.de>
268
269 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
270 Explanation of new 'symbol-qnames feature in doc-strings.
271 (xml-maybe-do-ns): Return expanded names as plain symbols if
272 'symbol-qnames was provided in XML-NS argument (Bug#11916).
273 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
274
aa81af71
FEG
2752012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
276
277 Consistent completion in inferior python with emacs -nw.
278 * progmodes/python.el (inferior-python-mode): replace "<tab>"
279 binding in inferior-python-mode-map with "\t".
280 (python-shell-completion-complete-at-point)
281 (python-completion-complete-at-point): Remove interactive spec.
282
e827b1eb
JB
2832012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
284
285 * calc/calccomp.el (math-compose-expr): Undo previous change.
286
a90dfb95
FEG
2872012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
288
289 * progmodes/python.el (python-mode-map): Added keybinding for
290 run-python.
291 (python-shell-make-comint): Fix pop-to-buffer call.
292 (run-python): Autoload. New arg SHOW.
293 (python-shell-get-or-create-process): Do not pop python process
294 buffer.
295
32770973 2962012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
297
298 * notifications.el (notifications-on-action-signal)
299 (notifications-on-closed-signal): Use also the bus address for the map.
300 (notifications-notify, notifications-close-notification)
301 (notifications-get-capabilities): Add optional argument BUS.
302
86332df2
TH
3032012-07-27 Tassilo Horn <tsdh@gnu.org>
304
305 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
306 support for the lstlisting and minted environments, and for the
307 ctable macro.
308 * textmodes/reftex.el (reftex-compile-variables): Also recognize
309 labels written in keyvals syntax.
310
ca1302a4
JB
3112012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
312
313 * calc/calccomp.el (math-compose-expr): Use parentheses when
314 there is a product in the denominator of a fraction.
315
f8b91036
EZ
3162012-07-26 Eli Zaretskii <eliz@gnu.org>
317
318 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
319 ($(lisp)/calendar/diary-loaddefs.el)
320 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
321 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
322 failures in parallel bootstrap because subdirs.el is being
323 rewritten while the autoload files are built at the same time,
324 which needs to load subdirs.el.
325
c8e5a42c
MR
3262012-07-26 Martin Rudalics <rudalics@gmx.at>
327
328 * mouse.el (popup-menu): Fix doc-string and re-indent code.
329 (mouse-drag-line): Don't exit tracking when a switch-frame or
330 switch-window event occurs (Bug#12006).
331
670d85ea
SM
3322012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * mouse.el (popup-menu): Fix last change.
335
7abaf5cc
SM
3362012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 Autoload from Lisp with more care. Follow aliases when looking for
339 function properties.
340 * subr.el (autoloadp): New function.
341 (symbol-file): Use it.
342 (function-get): New function.
343 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
344 autoload-do-load.
345 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
346 (lisp-indent-function):
347 * emacs-lisp/gv.el (gv-get):
348 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
349 * emacs-lisp/byte-opt.el (byte-optimize-form):
350 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
351 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
352 Use function-get.
353 * emacs-lisp/cl.el: Don't propagate function properties any more.
354
355 * speedbar.el (speedbar-add-localized-speedbar-support):
356 * emacs-lisp/disass.el (disassemble-internal):
357 * desktop.el (desktop-load-file):
358 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
359 (describe-function-1):
360 * emacs-lisp/find-func.el (find-function-noselect):
361 * emacs-lisp/elp.el (elp-instrument-function):
362 * emacs-lisp/advice.el (ad-has-proper-definition):
363 * apropos.el (apropos-safe-documentation, apropos-macrop):
364 * emacs-lisp/debug.el (debug-on-entry):
365 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
366 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
367 * calc/calc.el (name): Use autoloadp & autoload-do-load.
368
b1364986
AA
3692012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
370
371 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
372 function, not an obsolete variable (Bug#12046).
373
67ada220
AS
3742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
375
376 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
377
f08088e3
CS
3782012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
379
380 * emacs-lisp/pp.el (pp-display-expression): Select old selected
381 window only if it is still live (Bug#12034).
382
8137e7b3
MR
3832012-07-25 Martin Rudalics <rudalics@gmx.at>
384
385 * subr.el (redirect-frame-focus): Add advertised calling
386 convention (Bug#12030).
387
09ae5da1
PE
3882012-07-25 Paul Eggert <eggert@cs.ucla.edu>
389
390 Prefer typical American spelling for "acknowledgment".
391 * vc/add-log.el (change-log-acknowledgment): Rename from
392 change-log-acknowledgement, with an alias for the old name.
393
3cc5a3a8
JB
3942012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
395
396 * calc-alg.el (math-simplify-divide): Don't cross multiply
397 in an equation when the lhs is a variable.
398
b7af7f62
JD
3992012-07-24 Julien Danjou <julien@danjou.info>
400
401 * net/netrc.el (netrc-find-service-number, netrc-store-data):
402 Remove, unused.
403
ec1b09b1
EZ
4042012-07-23 Eli Zaretskii <eliz@gnu.org>
405
406 * startup.el (command-line): Don't display an empty user name in
407 the error message about non-existent home directory, when
408 init-file-user was set to an empty string. See
409 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
410 for the details and context.
411
b525fd8a
VB
4122012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
413
414 * ses.el (ses-cell-formula-aset): New macro.
415 (ses-cell-references-aset): New macro.
416 (ses-cell-p): New function.
417 (ses-rename-cell): Do no longer rely on complex operations like
418 ses-cell-set-formula or ses-set-cell to change the cell and handle
419 the undo at the same time, but rather use lower level new macros
420 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
421 the undo directly. Refresh the mode line.
422
2c73e345
LL
4232012-07-21 Leo Liu <sdl.web@gmail.com>
424
670d85ea
SM
425 * progmodes/cc-cmds.el (c-defun-name):
426 Use match-string-no-properties instead for consistency.
2c73e345 427
542dfbde
LL
4282012-07-20 Leo Liu <sdl.web@gmail.com>
429
3646bcd6
LL
430 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
431 (Bug#7879)
432
542dfbde
LL
433 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
434
25721031
CY
4352012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
438 * progmodes/bug-reference.el, misearch.el: Provide themselves
439 (bug#11915).
440
441 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
442 of narrowed buffer (bug#11966).
443
316e68a7
VB
4442012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
445
446 * ses.el (ses-rename-cell): Set new name also in reference list of
447 cells of which the renamed cell depends.
448
bbf0e7d9
MY
4492012-07-20 Masatake YAMATO <yamato@redhat.com>
450
451 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
452 to check whether menu-bar is shown or not. If not shown,
453 show the menu-bar as a popup menu instead of using tmm.
454 * mouse.el (popup-menu): Accept `point' as `position' argument.
455
c28662a8
DG
4562012-07-20 Dmitry Gutov <dgutov@yandex.ru>
457
458 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
459 up inside string symbol literal (bug#11923).
460
87ab808f
EZ
4612012-07-20 Eli Zaretskii <eliz@gnu.org>
462
463 * startup.el (fancy-startup-text): Read the whole tutorial, not
464 just its first 256 bytes. Prevents gibberish in display of the
465 tutorial title.
466
89dea803
DA
4672012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
468
469 Drop idle buffer compaction due to an absence of the
470 proved efficiency.
471 * compact.el: Remove.
472
8a4e6db8
SS
4732012-07-19 Sam Steingold <sds@gnu.org>
474
475 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
476 vc-bzr-pull & vc-bzr-merge-branch.
477 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
478 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
479 for consistency with compilation-error-regexp-alist.
480 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
481 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
482 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
483 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
484
5db81e33
SM
4852012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * emacs-lisp/chart.el: Use lexical-binding.
488 (chart-emacs-storage): Don't hardcode the list of entries.
489
5b835e1d
DA
4902012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
491
492 Next round of tweaks caused by Fgarbage_collect changes.
493 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
494
9cd47b72
DA
4952012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
496
497 Compact buffers when idle.
498 * compact.el: New file.
499
1d6fc0df
SM
5002012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * subr.el (eventp): Presume that if it looks vaguely like an event,
503 it's an event (bug#10190).
504
1d29cc7d
FEG
5052012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
506
507 Enhancements to ppss related code (thanks Stefan).
508 * progmodes/python.el (python-indent-context)
509 (python-indent-calculate-indentation, python-indent-dedent-line)
510 (python-indent-electric-colon, python-nav-forward-block)
511 (python-mode-abbrev-table)
1d6fc0df 512 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
513 for ppss context.
514 (python-info-continuation-line-p): Cleanup.
515 (python-info-ppss-context): Do not catch 'quote.
516 (python-info-ppss-context-type)
517 (python-info-ppss-comment-or-string-p): Simplify.
518
d583cbe6
FEG
5192012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
520
521 * progmodes/python.el: Enhancements to eldoc support.
522 (python-info-current-symbol): New function.
523 (python-eldoc-at-point): Use python-info-current-symbol.
524 (python-info-current-defun): Fix cornercase on first defun scan.
525 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
526 and signal error when no inferior python process is available.
527
eceb6feb
DG
5282012-07-18 Dmitry Gutov <dgutov@yandex.ru>
529
530 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
531 assume it's always t.
532 (vc-git-registered): Remove caching, the function is only called
533 once.
534 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
535
4c8ff0fe
CY
5362012-07-18 Chong Yidong <cyd@gnu.org>
537
19fb7186
CY
538 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
539
9587c688
CY
540 * simple.el (count-words): Report on narrowing (Bug#9959).
541
0fe776a1
CY
542 * bindings.el: Bind M-= to count-words.
543
4c8ff0fe
CY
544 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
545
7f5331cc
MY
5462012-07-18 Masatake YAMATO <yamato@redhat.com>
547
548 * progmodes/sh-script.el (sh-imenu-generic-expression):
549 Capture a function with `function' keyword and without parentheses
550 like "function FOO" (bug#11856).
551
2dc2a609
TH
5522012-07-18 Tassilo Horn <tassilo@member.fsf.org>
553
554 * window.el (split-window-sensibly): Make WINDOW argument
555 optional.
556
439f7677
CY
5572012-07-18 Chong Yidong <cyd@gnu.org>
558
9aeb25a6
CY
559 * subr.el (keyboard-translate): Doc fix (Bug#7261).
560
439f7677
CY
561 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
562 and make C-x 8 RET exit isearch (Bug#11439).
563
564 * international/iso-transl.el: Move isearch-mode-map key
565 definitions to isearch.el.
566
12999ea8
SM
5672012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
570 (eieio-defclass): Use gv-define-setter when possible.
571
3ab6e069
DA
5722012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
573
574 Reflect recent changes in Fgarbage_collect.
575 * emacs-lisp/chart.el (chart-emacs-storage): Change to
576 reflect new format of data returned by Fgarbage_collect.
577
0a60bc10
FEG
5782012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
579
580 New utility functions + python-info-ppss-context fix (Bug#11910).
581 * progmodes/python.el (python-info-beginning-of-block-statement-p)
582 (python-info-ppss-comment-or-string-p): New functions.
583 (python-info-ppss-context): Small fix for string check.
584
6dafa0d5
JL
5852012-07-17 Juri Linkov <juri@jurta.org>
586
587 * dired-aux.el (dired-do-async-shell-command): Doc fix.
588 (dired-do-async-shell-command): Don't add `*' at the end of the
589 command (Bug#11815).
590 (dired-do-shell-command): Doc fix.
591 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
592 Join the individual commands using either "&" or ";" as the
593 separator depending on the values of these trailing characters.
594 At the end re-add the trailing "&". (Bug#10598)
595
596 * simple.el (async-shell-command): Sync the interactive spec with
597 `shell-command'. Doc fix.
598 (shell-command): Doc fix.
599
b19dd9d1
JL
6002012-07-17 Juri Linkov <juri@jurta.org>
601
602 * descr-text.el (describe-char): Fix format args. (Bug#10129)
603
bcdc27d7 6042012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 605
bcdc27d7 606 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
607 * progmodes/python.el (python-nav-beginning-of-statement):
608 Rename from python-nav-statement-start.
bcdc27d7
FEG
609 (python-nav-end-of-statement): Rename from
610 python-nav-statement-end.
611 (python-nav-beginning-of-block): Rename from
612 python-nav-block-start.
613 (python-nav-end-of-block): Rename from python-nav-block-end.
614
191da00e
FEG
6152012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
616
7f5331cc
MY
617 * progmodes/python.el (python-shell-send-string-no-output):
618 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
619 future interactions (Bug#11868).
620
4dc7c8d5 6212012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 622
88ecaf8f
SM
623 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
624
ef501ef0
SM
625 * emacs-lisp/elint.el (elint-find-args-in-code):
626 Use help-function-arglist, so as to handle lexical byte-code.
627
aa7aaf8f
SM
628 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
629 change (bug#11826).
630
45fd731c
SM
6312012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
632
2143fa32
SM
633 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
634 Avoid spuriously marking the buffer as modified because of c-is-sws.
635
efc26dbe
SM
636 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
637 as not-a-comment (bug#11946).
638
f5695c9a
SM
639 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
640 for uninterned vars.
641
642 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
643 Use read-event since we don't really want to read chars but bytes.
644
45fd731c
SM
645 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
646 $$..$$ but also $..$ using regexps (bug#11953).
647 Use tex-verbatim for \url and \path.
648 (tex-font-lock-keywords): Define as defconst like the others.
649 (tex-common-initialization): Don't use font-lock-syntax-table any more.
650
ddfc8813
RK
6512012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
652
653 * international/mule-cmds.el (ucs-insert): Make it an obsolete
654 alias for insert-char.
655
758e556a
FEG
6562012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
657
658 * progmodes/python.el: Simplified imenu implementation.
659 (python-nav-jump-to-defun): Remove command.
660 (python-mode-map): Use `imenu' instead.
661 (python-nav-list-defun-positions-cache)
662 (python-imenu-include-defun-type, python-imenu-make-tree)
663 (python-imenu-subtree-root-label, python-imenu-index-alist):
664 Remove vars.
665 (python-nav-list-defun-positions, python-nav-read-defun)
666 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
667 (python-imenu-make-tree, python-imenu-create-index):
668 Remove functions.
758e556a
FEG
669 (python-mode): Update to interact with imenu by setting
670 `imenu-extract-index-name-function' only.
671
032d23ab
FEG
6722012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
673
674 * progmodes/python.el: Enhancements to navigation commands.
675 (python-nav-backward-sentence)
676 (python-nav-forward-sentence): Remove.
677 (python-nav-backward-statement, python-nav-forward-statement)
678 (python-nav-statement-start, python-nav-statement-end)
679 (python-nav-backward-block, python-nav-forward-block)
680 (python-nav-block-start, python-nav-block-end)
681 (python-nav-forward-sexp-function)
682 (python-info-current-line-comment-p)
683 (python-info-current-line-empty-p): New functions.
684 (python-indent-context): Use `python-nav-statement-start'.
685
01795a1b
MA
6862012-07-16 Michael Albinus <michael.albinus@gmx.de>
687
9328d9aa
MA
688 * eshell/em-ls.el (eshell/ls): Use `apply'.
689
690 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
691 multi-hops, instead of Tramp internals.
692
01795a1b
MA
693 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
694
695 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
696 when F1 and F2 are located on different hosts.
697
63408057
CY
6982012-07-14 Chong Yidong <cyd@gnu.org>
699
700 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
701 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
702 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
703 (xterm-mouse--read-event-sequence-1000)
704 (xterm-mouse--read-event-sequence-1006): New functions. For old
705 mouse protocol, handle M-mouse-X events correctly.
706 (xterm-mouse-event): New arg specifying mouse protocol.
707 (turn-on-xterm-mouse-tracking-on-terminal)
708 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
709 sequence to toggle extended coordinates on newer XTerms.
710 This appears to be harmless on terminals which do not support this.
63408057 711
cd276f6e
LL
7122012-07-14 Leo Liu <sdl.web@gmail.com>
713
28ca98ac
LL
714 Add fringe bitmap indicators for flymake. (Bug#11253)
715 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
716 (flymake-make-overlay): New arg BITMAP.
717 (flymake-error-bitmap, flymake-warning-bitmap)
718 (flymake-fringe-indicator-position): New user variables.
719
cd276f6e
LL
720 * fringe.el: New bitmap exclamation-mark.
721
04408072
JD
7222012-07-14 Jan Djärv <jan.h.d@swipnet.se>
723
724 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
725 also (Bug#7879).
726
b5cf7fc4
CY
7272012-07-14 Chong Yidong <cyd@gnu.org>
728
729 * electric.el (electric-pair-post-self-insert-function): Fix pair
730 insertion in empty-region case (Bug#11520).
731
be755c79
RT
7322012-07-14 Chong Yidong <cyd@gnu.org>
733
45fd731c
SM
734 * bindings.el: Consolidate ctl-x-r-map bindings.
735 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
736
737 * rect.el, register.el: Move bindings to bindings.el.
738
7392012-07-14 Reuben Thomas <rrt@sc3d.org>
740
741 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
742
7f5b3198
AS
7432012-07-13 Andreas Schwab <schwab@linux-m68k.org>
744
745 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
746
97662200
JB
7472012-07-13 Juanma Barranquero <lekktu@gmail.com>
748
80185fed
JB
749 * bindings.el (top): Use `mapc' instead of `mapcar'.
750
97662200
JB
751 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
752
2bb1ae55
MA
7532012-07-13 Michael Albinus <michael.albinus@gmx.de>
754
755 * progmodes/sql.el (sql-comint): Suppress the check for program on
756 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
757 (Bug#11908)
758
dea31bd3
CY
7592012-07-13 Chong Yidong <cyd@gnu.org>
760
761 * bindings.el: Assign a non-nil permanent-local property to
762 per-buffer variables which lack a default value (Bug#11930).
763
764 * help-fns.el (describe-variable): In the "automatically becomes
765 local" notice, take note of permanent-local variables.
766
b68b3337
CY
7672012-07-13 Chong Yidong <cyd@gnu.org>
768
769 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
770 to allow printing the message when called from Lisp.
771
772 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
773 Remove toggle-read-only.
774
775 * bs.el (bs-toggle-readonly):
45fd731c
SM
776 * buff-menu.el (Buffer-menu-toggle-read-only):
777 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
778
779 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
780 Remove with-no-warnings around toggle-read-only.
781 (ffap-read-only, ffap-read-only-other-window)
782 (ffap-read-only-other-frame): Callers changed.
783
784 * help-mode.el: Don't require view package.
785 (help-mode-finish): Set buffer-read-only instead of calling
786 toggle-read-only.
787
788 * bindings.el (mode-line-toggle-read-only):
789 * dired.el (dired-toggle-read-only):
790 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
791 with non-nil second arg.
792
793 * emacs-lisp/eieio-custom.el (eieio-customize-object):
794 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
795 directly.
796
56bc1586
EZ
7972012-07-12 Eli Zaretskii <eliz@gnu.org>
798
799 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
800 not incf.
801
a464a6c7
SM
8022012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 More CL cleanups and reduction of use of cl.el.
805 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
806 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
807 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
808 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
809 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
810 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
811 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
812 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
813 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
814 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
815 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
816 * eshell/em-cmpl.el, eshell/em-banner.el:
817 * calendar/parse-time.el: Use cl-lib.
818 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
819 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
820 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
821 * term/ns-win.el, term.el, shell.el, ps-samp.el:
822 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
823 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
824 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
825 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
826 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
827 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
828 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
829 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
830 `lambda' rather than with `quote'.
831 (eshell-do-opt): Adjust accordingly.
832 (eshell-process-option): Simplify.
833 * eshell/esh-var.el:
834 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
835 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
836 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
837 to `pcase--dontcare'.
838 * emacs-lisp/cl.el (labels): Mark obsolete.
839 (cl--letf, letf): Move to cl-lib.
840 (cl--letf*, letf*): Remove.
841 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
842 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
843 (cl-progv): Rewrite.
844 (cl--letf, cl-letf): Move from cl.el.
845 (cl-letf*): New macro.
846 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
847
7ad4afe1
MA
8482012-07-11 Michael Albinus <michael.albinus@gmx.de>
849
850 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
851
9af57756
CY
8522012-07-11 Chong Yidong <cyd@gnu.org>
853
854 * vc/log-edit.el (log-edit-vc-backend): New variable.
855 (log-edit): Doc fix.
856
857 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
858 argument of log-edit to set up all local variables.
859 (vc-start-logentry): New optional arg specifying VC backend.
860
861 * vc/vc.el (vc-checkin): Use it.
862 (vc-deduce-fileset): Handle Log Edit buffers.
863 (vc-diff): Make first argument optional too.
864
865 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
866
8477cc7a
MA
8672012-07-10 Michael Albinus <michael.albinus@gmx.de>
868
869 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
870 command, just in case. The function is not needed anymore.
871 (eshell-external-command): Do not call `eshell-remote-command'.
872
19faa8e8
SM
8732012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
874
f58e0fd5
SM
875 Reduce use of (require 'cl).
876 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
877 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
878 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
879 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
880 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
881 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
882 * battery.el, avoid.el, abbrev.el: Use cl-lib.
883 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
884 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
885 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
886 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
887 * calculator.el, autorevert.el, apropos.el: Don't require CL.
888 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
889 (byte-compile-unfold-bcf, byte-compile-check-variable):
890 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
891 (byte-compile-nilconstp):
892 * emacs-lisp/autoload.el (make-autoload): Use pcase.
893 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
894
2519d43a
SM
895 * emacs-lisp/gv.el (cond): Make it a valid place.
896 (if): Simplify slightly.
897
19faa8e8
SM
898 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
899 (pcase--self-quoting-p): New function.
900 (pcase--u1): Use it.
901
c4907a5e
GM
9022012-07-10 Glenn Morris <rgm@gnu.org>
903
904 * emacs-lisp/authors.el (authors-fixed-entries):
905 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
906
c4444d16
PE
9072012-07-09 Paul Eggert <eggert@cs.ucla.edu>
908
909 Rename configure.in to configure.ac (Bug#11603).
910 * emacs-lisp/authors.el (authors-canonical-file-name):
911 * progmodes/autoconf.el (autoconf-mode):
912 Prefer configure.ac to configure.in.
913
d75be97d
CY
9142012-07-08 Chong Yidong <cyd@gnu.org>
915
01ac65bd
CY
916 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
917 Implement the mouse-1-click-follows-link handling properly.
918
919 * info.el (Info-link-keymap): Use follow-link mechanism for
920 header-line links (Bug#374).
921
d75be97d
CY
922 * simple.el (deactivate-mark): Do not set the primary selection
923 if another program has acquired it (Bug#11772).
924
87a92845 9252012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
926
927 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
928 (woman-decode-region): Replace escaped-escapes without destroying
929 bold or underline (Bug#11552).
87a92845 930 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 931
621b9d6c
CY
9322012-07-07 Chong Yidong <cyd@gnu.org>
933
934 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
935 (interprogram-cut-function, interprogram-paste-function):
936 Mention that we typically mean the clipboard.
621b9d6c 937
133a11fc
GM
9382012-07-06 Glenn Morris <rgm@gnu.org>
939
0d27a45e
GM
940 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
941
133a11fc
GM
942 * files.el (toggle-read-only): Restrict message to interactive use.
943
07b151f1
MA
9442012-07-06 Michael Albinus <michael.albinus@gmx.de>
945
946 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
947
948 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
949
211b896b
GM
9502012-07-06 Glenn Morris <rgm@gnu.org>
951
50394322
GM
952 * Makefile.in (compile-one-process): Rename from "recompile".
953
211b896b
GM
954 * Makefile.in (bzr-update): "compile" is the same as "recompile
955 autoloads", but parallelizable, so use that instead.
956
4737eec9
DG
9572012-07-06 Dmitry Gutov <dgutov@yandex.ru>
958
959 * window.el (quit-window): Always restore window height when
8137e7b3 960 it's saved in quit-restore parameter (Bug#11810).
4737eec9 961
226c3633 9622012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
963
964 * simple.el (kill-whole-line): Doc tweak.
965
226c3633 9662012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
967
968 * files.el (file-relative-name): Compare file names
969 case-insensitively if on MS-Windows or MS-DOS, or if
970 read-file-name-completion-ignore-case is non-nil. Don't use
971 case-fold-search for this purpose. (Bug#11827)
972
4dc7c8d5
SM
9732012-07-17 Andreas Schwab <schwab@linux-m68k.org>
974
975 * calendar/cal-dst.el (calendar-current-time-zone):
976 Return calendar-current-time-zone-cache if non-nil.
977
9782012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 9792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 980
19faa8e8
SM
981 * calendar/cal-dst.el (calendar-current-time-zone):
982 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 983
60198fc9
GM
9842012-07-06 Glenn Morris <rgm@gnu.org>
985
986 * Makefile.in (cvs-update): Remove old alias.
987
957b3189
MA
9882012-07-05 Michael Albinus <michael.albinus@gmx.de>
989
990 Sync with Tramp 2.2.6-pre.
991
992 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
993 compatible declaration.
994
19faa8e8
SM
995 * net/tramp-cmds.el (tramp-append-tramp-buffers):
996 Protect `list-load-path-shadows' call.
957b3189
MA
997
998 * net/tramp-compat.el (top): Require packages, which aren't
999 autoloaded anymore for XEmacs. Protect call of
1000 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1001 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1002 it hurts at least for SXEmacs.
1003 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1004 standard-value for `temporary-file-directory'.
1005
1006 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1007 Redirect stderr to /dev/null.
1008 (tramp-sh-handle-write-region): uid and gid can be floats.
1009 Reported by Russell Sim <russell.sim@gmail.com>.
1010 (tramp-sh-handle-vc-registered): Hide errors.
1011 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1012 and `start-file-process'.
1013 (tramp-maybe-open-connection): Check also whether `non-essential'
1014 is bound.
1015
566df3fc
CY
10162012-07-04 Chong Yidong <cyd@gnu.org>
1017
1018 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1019 (xml-parse-tag): Likewise, and avoid changing entity tables.
1020 (xml-syntax-table): Define from scratch, making sure not to give
1021 x2000 and other Unicode spaces whitespace syntax, since those are
1022 not spaces in XML.
1023 (xml-parse-fragment): Delete unused function.
1024 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1025 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1026 (xml-entity-ref, xml-pe-reference-re)
1027 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1028 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1029 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1030 (xml-entity-value-re): Use syntax references in regexps where
1031 possible; no need to define inside a let-binding.
1032 (xml-parse-dtd): Use xml-pe-reference-re.
1033 (xml-entity-or-char-ref-re): New defconst.
1034 (xml-parse-string, xml-substitute-special): Use it.
1035
30eabd7a
SM
10362012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1037
0781098a
SM
1038 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1039 (find-file--read-only): New function.
1040 (find-file-read-only, find-file-read-only-other-window)
1041 (find-file-read-only-other-frame): Use it.
1042 (insert-file-contents-literally): Don't `fset'.
1043 (get-free-disk-space): Use locate-dominating-file.
1044
b5771c0d
SM
1045 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1046 function is already compiled.
1047
30eabd7a
SM
1048 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1049
b4886f6e
MA
10502012-07-03 Michael Albinus <michael.albinus@gmx.de>
1051
1052 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1053 files on the same host.
1054
b9d82339
AS
10552012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1056
1057 * help-fns.el (describe-function-1): Only call
1058 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1059
a76e6535
CY
10602012-07-03 Chong Yidong <cyd@gnu.org>
1061
1062 * xml.el: Protect parser against XML bombs.
1063 (xml-entity-expansion-limit): New variable.
1064 (xml-parse-string, xml-substitute-special): Use it.
1065 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1066
b544fef2
GM
10672012-07-03 Glenn Morris <rgm@gnu.org>
1068
1069 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1070 Allow linking to specific messages in debbugs reports (eg 123#5).
1071
a7aef6f5
CY
10722012-07-02 Chong Yidong <cyd@gnu.org>
1073
1074 * xml.el: Fix entity and character reference expansion, allowing
1075 them to expand into markup as per XML spec.
1076 (xml-default-ns): New variable.
1077 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1078 (xml-parse-region): Make first two arguments optional.
1079 Discard text properties.
1080 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1081 All callers changed.
a7aef6f5
CY
1082 (xml-parse-tag): Call xml-parse-tag-1. For backward
1083 compatibility, this function should not modify buffer contents.
1084 (xml-parse-tag-1): Fix opening-tag regexp.
1085 (xml-parse-string): Rewrite, handling entity and character
1086 references properly.
1087 (xml--entity-replacement-text): Signal an error if a parameter
1088 entity is undefined.
1089
3df31c9f
SM
10902012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1091
2b5208f1
SM
1092 * comint.el (comint-output-filter): Filter out repeated prompts.
1093
3df31c9f
SM
1094 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1095 and file-name-absolute-p.
1096 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1097 internal calls.
1098
e3ac1281
PE
10992012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1100
1101 Spelling fixes.
1102 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1103 Rename from byte-compile--refiy-function. All uses changed.
1104
fbf2e7ad
CY
11052012-07-01 Chong Yidong <cyd@gnu.org>
1106
1107 * xml.el (xml--parse-buffer): New function. Move most of
1108 xml-parse-region here.
1109 (xml-parse-region): Copy region into a temporary buffer, since
1110 parameter entity substitution requires changing buffer contents.
1111 Use xml--parse-buffer.
1112 (xml-parse-file): Use xml--parse-buffer.
1113 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1114 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1115
9bf0aa15
GM
11162012-06-30 Glenn Morris <rgm@gnu.org>
1117
bbce2853
GM
1118 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1119
9bf0aa15
GM
1120 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1121 Remove outdated and unnecessary dbus declarations.
1122
0d23c240
EZ
11232012-06-30 Eli Zaretskii <eliz@gnu.org>
1124
1125 * emacs-lisp/timer.el (timer-until): Subtract results of
1126 float-time, instead of taking float-time of the result of
1127 time-subtract, since float-time signals an error for negative time
1128 arguments.
1129
b3218de1
CY
11302012-06-30 Chong Yidong <cyd@gnu.org>
1131
1132 * xml.el (xml-*-re): Convert defvars into defconsts, and
1133 eval-and-compile them so eval-and-compile works on derivatives.
1134 (xml--entity-replacement-text): Use eval-and-comple.
1135
a40c87a0
MA
11362012-06-30 Michael Albinus <michael.albinus@gmx.de>
1137
1138 * vc/vc-git.el (vc-git-registered): Use cache property
1139 `git-registered'.
1140 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1141 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1142 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1143
ac87de97
DG
11442012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1145
1146 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1147 removed (likely outside Emacs). (Bug#11757)
ac87de97 1148
ac10fe06
SM
11492012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1150
3df31c9f 1151 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1152
7f3fbd5d
CY
11532012-06-30 Chong Yidong <cyd@gnu.org>
1154
1155 * xml.el: Implement XML parameter entities.
1156 (xml-parameter-entity-alist): New variable.
1157 (xml-parse-region, xml-parse-fragment): Preserve previous values
1158 of xml-entity-alist and xml-parameter-entity-alist, so that
1159 repeated calls on different documents do not change them.
1160 (xml-parse-tag): Fix doctype regexp.
1161 (xml--entity-replacement-text): New function.
1162 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1163 properly requires url retrieval which is unimplemented.
1164 (xml-escape-string): Doc fix.
1165
3cfbebba
SM
11662012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1169
2af3565e
DA
11702012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1171
1172 * fringe.el (fringe-mode): Doc fix.
1173
929df0e7
MA
11742012-06-29 Michael Albinus <michael.albinus@gmx.de>
1175
1176 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1177 is non-nil.
1178 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1179 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1180
c8d3a25c 11812012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1182
c8d3a25c
GM
1183 * calendar/cal-dst.el (calendar-current-time-zone):
1184 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1185
c8d3a25c 11862012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1187
1188 * progmodes/which-func.el (which-func-format):
1189 Add mouse-face. (Bug#11698)
1190
c8d3a25c
GM
11912012-06-29 Leo Liu <sdl.web@gmail.com>
1192
1193 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1194
11952012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * minibuffer.el (minibuffer-confirm-exit-commands):
1198 Add completion-at-point (bug#11725).
1199
12002012-06-29 Glenn Morris <rgm@gnu.org>
1201
1202 * progmodes/f90.el (f90-font-lock-keywords-2):
1203 Add some preprocessor elements. (Bug#10499)
1204
12052012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1206
1207 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1208 Use syntax-propertize (bug#11739).
1209
2badeec4
JB
12102012-06-28 Juanma Barranquero <lekktu@gmail.com>
1211
1212 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1213
ae4969c2
JD
12142012-06-28 Julien Danjou <julien@danjou.info>
1215
1216 * term.el (term-handle-colors-array): Use a set of new faces to
1217 color the terminal. Also uses :inverse-video property.
1218 (term-default-fg-color): Set to nil by default, deprecate in favor
1219 of `term-face'.
1220 (term-default-bg-color): Set to nil by default, deprecate in favor
1221 of `term-face'.
1222 (term-current-face): Use `term-face' by default.
1223 (term-bold-attribute): Variable deleted.
1224
1c9bd870
GM
12252012-06-28 Glenn Morris <rgm@gnu.org>
1226
1227 * simple.el (completion-list-mode-finish):
1228 Don't use toggle-read-only. (Since completion-list-mode has
1229 a special mode-class, it wasn't doing anything extra anyway.)
1230
c207708c
SM
12312012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 Make inlining of other-mode interpreted functions work (bug#11799).
1234 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1235 (byte-compile): Use it to fix compilation of lexical-binding closures.
1236 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1237 function, if needed.
1238
3fd56834
SM
12392012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1240
04901786
SM
1241 * help-mode.el (help-make-xrefs): Don't just withstand
1242 cyclic-variable-indirection but any error in documentation-property.
1243
1ec4b7b2
SM
1244 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1245 memory use.
1246 * bindings.el (bindings--define-key): New function.
1247 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1248 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1249 * bindings.el: Use it to purecopy define-key bindings.
1250
e309e2a5
SM
1251 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1252
d5c6faf9
SM
1253 * emacs-lisp/cl.el (flet): Mark obsolete.
1254 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1255 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1256 * progmodes/js.el (js-c-fill-paragraph):
1257 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1258 (ebrowse-switch-member-buffer-to-derived-class):
1259 * play/5x5.el (5x5-solver): Use cl-flet.
1260
6e9590e2
SM
1261 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1262 (cl--symbol-function): New macro.
1263 (cl--letf, cl--letf*): Use it.
1264
3fd56834
SM
1265 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1266 Strip "toggle-" if any.
1267
35ff222c
GM
12682012-06-27 Glenn Morris <rgm@gnu.org>
1269
1ba6038a
GM
1270 * info.el (Info-default-directory-list): Move here from paths.el.
1271 * paths.el: Remove file, which is now empty.
1272 * loadup.el: No longer load "paths".
1273
0ea0e51b
GM
1274 * custom.el (custom-initialize-delay): Doc fix.
1275
35ff222c
GM
1276 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1277 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1278 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1279 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1280 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1281 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1282 * eshell/eshell.el (eshell-defgroup): Remove alias.
1283
c89926a5
CY
12842012-06-27 Chong Yidong <cyd@gnu.org>
1285
1286 * help.el (help-enable-auto-load): New variable.
1287
1288 * help-fns.el (help-fns--autoloaded-p): New function.
1289 (describe-function-1): Refer to a function as "autoloaded" if it
1290 was autoloaded at any time in the past. Perform autoloading if
1291 help-enable-auto-load is non-nil.
1292
cc06e7e7
EZ
12932012-06-26 Eli Zaretskii <eliz@gnu.org>
1294
1295 * makefile.w32-in (compile, compile-always): Depend on
1296 update-subdirs, not on subdirs.el. Otherwise, several different
1297 sub-targets of 'bootstrap' running in parallel could
1298 simultaneously write to subdirs.el, producing a garbled file.
1299
d2c32364
SS
13002012-06-26 Sam Steingold <sds@gnu.org>
1301
1302 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1303 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1304 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1305 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1306 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1307 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1308 * textmodes/tex-mode.el: Use it.
1309 Did not touch cedet and org because they are maintained elsewhere.
1310
5cf983b2
MR
13112012-06-26 Martin Rudalics <rudalics@gmx.at>
1312
1313 * calendar/calendar.el (calendar-exit): Don't try to delete or
1314 iconify last frame. See:
1315 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1316
8c4f2952
JD
13172012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1318
1319 * server.el (server-process-filter): Remember dir in the
1320 process's `server-client-directory' properties.
1321
772b2e2c
CY
13222012-06-24 Chong Yidong <cyd@gnu.org>
1323
1324 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1325 non-tag text.
1326
711b11e1
JB
13272012-06-23 Juanma Barranquero <lekktu@gmail.com>
1328
1329 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1330
dc5d230c
SM
13312012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * help-fns.el (describe-variable): Don't croak when doc is not found.
1334 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1335 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1336 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1337 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1338 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1339 ((lambda ..) ..).
1340 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1341
136e1c1d
CY
13422012-06-23 Chong Yidong <cyd@gnu.org>
1343
e8c1cabf
CY
1344 * info.el (Info-mouse-follow-link): Accept symbol values of
1345 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1346 (Info-fontify-node): Use Info-link-keymap for all navigation
1347 buttons, with link-args property to perform the desired action.
1348 (Info-link-keymap): Doc fix.
1349 (Info-next-link-keymap, Info-prev-link-keymap)
1350 (Info-up-link-keymap): Delete now-unused keymaps.
1351
0e9e6c6a
CY
13522012-06-23 Chong Yidong <cyd@gnu.org>
1353
05e89fea
CY
1354 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1355
0e9e6c6a
CY
1356 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1357 system abbrevs.
1358
1359 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1360
e33c6771
SM
13612012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1362
b68581e2
SM
1363 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1364 (bug#11719).
1365
e33c6771
SM
1366 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1367 the requote function doesn't work properly (bug#11714).
1368
7117e105
GM
13692012-06-23 Glenn Morris <rgm@gnu.org>
1370
1371 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1372
36cec983
SM
13732012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 Further GV/CL cleanups.
1376 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1377 gv-expander.
1378 (gv--defun-declaration): New function.
1379 (defun-declarations-alist): Use it.
1380 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1381 (gv-place): Autoload.
1382 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1383 original definition of dotimes and dolist.
1384 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1385 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1386 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1387 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1388 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1389 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1390 to the function's definition.
1391 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1392 * window.el:
1393 * files.el:
1394 * faces.el:
1395 * env.el: Don't use CL.
1396
d35af63c
PE
13972012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1398
1399 Support higher-resolution time stamps (Bug#9000).
1400
1401 * calendar/time-date.el (with-decoded-time-value): New arg
1402 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1403 (encode-time-value): New optional arg PICO. New type 3.
1404 (time-to-seconds) [!float-time]: Support the new picoseconds
1405 component if it's used.
1406 (seconds-to-time, time-subtract, time-add):
1407 Support ps-resolution time stamps as well.
1408
1409 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1410 (timerp): Timer vectors now have length 9, not 8.
1411 (timer--time): Support new-style (4-part) time stamps.
1412 (timer-next-integral-multiple-of-time): Time stamps now have
1413 picosecond resolution, so take a bit more care about rounding.
1414 (timer-relative-time, timer-inc-time): New optional arg psecs.
1415 (timer-set-time-with-usecs): Set psecs to 0.
1416 (timer--activate): Check psecs component, too.
1417
1418 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1419
ac77b21a
SM
14202012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1421
f143bfe3
SM
1422 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1423 Move the non-essential binding to the post/pre-command-hook where it is
1424 more obviously correct.
1425
ac77b21a
SM
1426 * subr.el (read-passwd): Don't use a history at all.
1427 * savehist.el (savehist-save): Remove password saved accidentally
1428 because of the above bug.
1429
76386c5a
BG
14302012-06-22 Bastien Guerry <bzg@gnu.org>
1431
1432 * files.el (toggle-read-only): Display a message telling whether
1433 the buffer is read-only or not (bug#11726).
1434
2ee3d7f0
SM
14352012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * emacs-lisp/gv.el: New file.
1438 * subr.el (push, pop): Extend to generalized variables.
1439 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1440 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1441 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1442 gv-define-simple-setter, and gv-define-expander.
1443 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1444 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1445 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1446 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1447 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1448 gv-letplace.
1449 (cl-defstruct): Don't define setf-method any more.
1450 * emacs-lisp/cl.el (flet): Don't autoload.
1451 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1452 (define-setf-expander, defsetf, define-modify-macro)
1453 (cl-struct-setf-expander): Move from cl-lib.el.
1454 * emacs-lisp/syntax.el:
1455 * emacs-lisp/ewoc.el:
1456 * emacs-lisp/smie.el:
1457 * emacs-lisp/cconv.el:
1458 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1459 (timer--time): Use gv-define-simple-setter.
1460 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1461 to avoid coding-system problems in subr.el. Adjust all users.
1462 (macroexp--maxsize, macroexp-small-p): New functions.
1463 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1464 * scroll-bar.el (scroll-bar-mode):
1465 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1466 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1467 * winner.el (winner-configuration, winner-make-point-alist)
1468 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1469 * files.el (locate-file-completion-table): Avoid list*.
1470
c5695d1d
CY
14712012-06-22 Chong Yidong <cyd@gnu.org>
1472
1473 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1474 (dired-create-files): Doc fix (Bug#11329).
1475 (dired-do-copy): Doc fix (Bug#11334).
1476 (dired-mark-read-string): Doc fix (Bug#11553).
1477
2ee3d7f0
SM
1478 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1479 Doc fix (Bug#11326).
c5695d1d
CY
1480 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1481 (dired-dwim-target): Doc fix.
1482
1483 * wdired.el (wdired-mode): Doc fix.
1484
89b5595a
GM
14852012-06-22 Glenn Morris <rgm@gnu.org>
1486
575db3f1
GM
1487 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1488 (pcmpl-rpm-cache-stamp-file): New constant.
1489 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1490 (pcmpl-rpm-packages): Optionally cache list of packages.
1491
a4c8dd51
GM
1492 * pcmpl-rpm.el (pcmpl-rpm): New group.
1493 (pcmpl-rpm-query-options): New option.
1494 (pcmpl-rpm-packages): No need to inline it.
1495 Use pcmpl-rpm-query-options.
1496
89b5595a
GM
1497 * calendar/calendar.el (calendar-in-read-only-buffer):
1498 Avoid some needless mode changes.
1499
e76f0800
CY
15002012-06-21 Chong Yidong <cyd@gnu.org>
1501
1502 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1503 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1504 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1505
297a8f1d
CY
15062012-06-20 Chong Yidong <cyd@gnu.org>
1507
1508 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1509
d34c18b1
DR
15102012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1511
1512 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1513 (bug#11201).
1514
32f7f28e
CY
15152012-06-20 Chong Yidong <cyd@gnu.org>
1516
1517 * term.el (term-window-width): Handle the case of a missing right
1518 fringe (Bug#8837).
1519 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1520 (term-mode): Use define-derived-mode. Minor cleanups.
1521 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1522 (term-move-columns, term-insert-char, term-emulate-terminal)
1523 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1524
493c6688
MA
15252012-06-20 Michael Albinus <michael.albinus@gmx.de>
1526
d34c18b1
DR
1527 * net/ange-ftp.el (ange-ftp-get-passwd):
1528 Bind `enable-recursive-minibuffers'.
493c6688
MA
1529 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1530
3f06ecf4
DR
15312012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1532
1533 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1534
68f12411
GM
15352012-06-19 Glenn Morris <rgm@gnu.org>
1536
1537 * progmodes/python.el (python-mode): Derive from prog-mode.
1538
b3820318
KG
15392012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1540
1541 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1542 (edt-user-menu-bar-update-buffers): New functions.
1543 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1544
c6bf3022
CY
15452012-06-19 Chong Yidong <cyd@gnu.org>
1546
1547 * subr.el (with-selected-window): Preserve the selected window's
1548 terminal's top-frame (Bug#4702).
1549
1550 * window.el (save-selected-window): Likewise.
1551
25f09295
SM
15522012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * progmodes/python.el (python-rx-constituents): Move backquote.
1555 (python-skeleton-define, python-define-auxiliary-skeleton):
1556 Use `declare'.
1557
6b11952a
MA
15582012-06-18 Michael Albinus <michael.albinus@gmx.de>
1559
1560 * minibuffer.el (read-file-name-default): Revert the patch from
1561 2012-06-17.
1562
ee4b1330
SM
15632012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1566 (pcase--u1, pcase--q1): Don't use apply-partially.
1567
35647f79
GM
15682012-06-18 Glenn Morris <rgm@gnu.org>
1569
1570 * progmodes/python.el (python-proc, python-buffer)
1571 (python-send-receive, python-send-string): Fix obsolete versions.
1572
24b0cff0
MR
15732012-06-18 Martin Rudalics <rudalics@gmx.at>
1574
1575 * window.el (special-display-p): Completely remove stringp
1576 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1577
29855149
MA
15782012-06-17 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1581
1582 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1583
1584 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1585 * net/tramp-sh.el (tramp-maybe-open-connection):
1586 Throw if `non-essential' is non-nil.
1587
07463363
MR
15882012-06-17 Martin Rudalics <rudalics@gmx.at>
1589
1590 * window.el (special-display-p): Signal an error if BUFFER-NAME
1591 is not a string (Bug#11713).
1592
48d1354e
PE
15932012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1594
1595 * progmodes/python.el (python-info-beginning-of-backslash):
1596 Rename from python-info-beginning-of-backlash, as a spelling fix.
1597
eb4a8a9a
CY
15982012-06-17 Chong Yidong <cyd@gnu.org>
1599
1600 * term.el (term-emulate-terminal): If term-check-size is called,
1601 move point to the process mark without resetting point (Bug#4635).
1602
ddfbf826 16032012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1604
1605 * international/mule-cmds.el (mule-menu-keymap)
1606 (set-language-environment, set-locale-environment): Doc tweaks.
1607
9b0e3eba
AA
16082012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1609
1610 * cus-face.el (custom-face-attributes): Add wave-style underline
1611 attribute.
1612 * faces.el (set-face-attribute): Update docstring to describe
1613 wave-style underline attribute.
1614
771e3eae
CY
16152012-06-16 Chong Yidong <cyd@gnu.org>
1616
1617 * term/xterm.el (terminal-init-xterm): Discard input before
1618 querying background mode (Bug#10959).
1619
7ae2ea10
SM
16202012-06-16 Stefan Merten <smerten@oekonux.de>
1621
1622 * textmodes/rst.el: Added and corrected some comments.
1623 (rst-re-alist-def): Improve symbol syntax.
1624 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1625 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1626 (rst-official-version, rst-official-cvs-rev): Update version
1627 information.
7ae2ea10 1628
b6974efa
JB
16292012-06-15 Juanma Barranquero <lekktu@gmail.com>
1630
1631 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1632 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1633
8826d473
GM
16342012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1635
1636 * progmodes/python.el: New python.el merge.
1637 (python-guess-indent): Obsolete var.
1638 (python-indent-guess-indent-offset): New defcustom.
1639 (python-indent): Obsolete var.
1640 (python-indent-offset): New defcustom.
1641 (python-python-command, python-jython-command): Delete var.
1642 (python-shell-interpreter): New defcustom.
1643 (python-pdbtrack-do-tracking-p): Delete var.
1644 (python-pdbtrack-activate): New defcustom.
1645 (python-use-skeletons): Obsolete var.
1646 (python-skeleton-autoinsert): New defcustom.
1647 (inferior-python-filter-regexp, python-continuation-offset)
1648 (python-honour-comment-indentation, python-indent-string-contents)
1649 (python-jython-packages, python-mode-hook)
1650 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1651 (python-shell-prompt-alist)
1652 (python-source-modes): Delete defcustoms.
1653 (python-check-buffer-name, python-eldoc-setup-code)
1654 (python-eldoc-string-code, python-ffap-setup-code)
1655 (python-ffap-string-code, python-fill-comment-function)
1656 (python-fill-decorator-function, python-fill-paren-function)
1657 (python-fill-string-function, python-imenu-include-defun-type)
1658 (python-imenu-make-tree, python-imenu-subtree-root-label)
1659 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1660 (python-shell-compilation-regexp-alist)
1661 (python-shell-completion-module-string-code)
1662 (python-shell-completion-pdb-string-code)
1663 (python-shell-completion-setup-code)
1664 (python-shell-completion-string-code)
1665 (python-shell-enable-font-lock, python-shell-exec-path)
1666 (python-shell-extra-pythonpaths)
1667 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1668 (python-shell-process-environment)
1669 (python-shell-prompt-block-regexp)
1670 (python-shell-prompt-output-regexp)
1671 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1672 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1673 (python-shell-virtualenv-path): New defcustoms.
1674 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1675 (inferior-python-mode-syntax-table, python--prompt-regexp)
1676 (python-buffer, python-command python-python-command)
1677 (python-default-template, python-imports, python-indent-index)
1678 (python-indent-list, python-indent-list-length)
1679 (python-mode-running, python-pdbtrack-is-tracking-p)
1680 (python-preoutput-continuation, python-preoutput-leftover)
1681 (python-preoutput-result, python-preoutput-skip-next-prompt)
1682 (python-prev-dir/file, python-recursing)
1683 (python-saved-check-command, python-version-checked)
1684 (python-which-func-length-limit)
1685 (view-return-to-alist): Delete vars.
1686 (python-check-custom-command, python-dotty-syntax-table)
1687 (python-imenu-index-alist, python-indent-current-level)
1688 (python-indent-dedenters, python-indent-levels)
1689 (python-nav-beginning-of-defun-regexp)
1690 (python-nav-list-defun-positions-cache)
1691 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1692 (python-shell-internal-buffer)
1693 (python-skeleton-available): New vars.
1694 (def-python-skeleton): Delete macro.
1695 (python-skeleton-define): New macro.
1696 (python-define-auxiliary-skeleton, python-rx): New macros.
1697 (python-insert-class): Delete command.
1698 (python-skeleton-class): New command.
1699 (python-insert-def): Delete command.
1700 (python-skeleton-def): New command.
1701 (python-insert-for): Delete command.
1702 (python-skeleton-for): New command.
1703 (python-insert-if): Delete command.
1704 (python-skeleton-if): New command.
1705 (python-insert-try/except, python-insert-try/finally): Delete commands.
1706 (python-skeleton-try): New command.
1707 (python-insert-while): Delete command.
1708 (python-skeleton-while): New command.
1709 (python-backspace): Delete command.
1710 (python-indent-dedent-line-backspace): New command.
1711 (python-electric-colon): Delete command.
1712 (python-indent-electric-colon): New command.
1713 (python-guess-indent): Delete command.
1714 (python-indent-guess-indent-offset): New command.
1715 (python-shift-left): Delete command.
1716 (python-indent-shift-left): New command.
1717 (python-shift-right): Delete command.
1718 (python-indent-shift-right): New command.
1719 (python-find-function): Delete command.
1720 (python-nav-jump-to-defun): New command.
1721 (python-next-statement): Delete command.
1722 (python-nav-forward-sentence): New command.
1723 (python-previous-statement): Delete command.
1724 (python-nav-backward-sentence): New command.
1725 (python-fill-paragraph): Delete command.
1726 (python-fill-paragraph-function): New command.
1727 (python-send-buffer): Delete command.
1728 (python-shell-send-buffer): New command.
1729 (python-send-defun): Delete command.
1730 (python-shell-send-defun): New command.
1731 (python-send-region, python-send-region-and-go): Delete commands.
1732 (python-shell-send-region)
1733 (python-shell-switch-to-shell): New commands.
1734 (python-send-string): Delete command.
1735 (python-shell-send-string): New command.
1736 (python-switch-to-python): Delete command.
1737 (python-shell-switch-to-shell): New command.
1738 (python-describe-symbol): Delete command.
1739 (python-eldoc-at-point): New command.
1740 (python--set-prompt-regexp, python-args-to-list)
1741 (python-after-info-look, python-check-version)
1742 (python-check-comint-prompt, python-find-imports)
1743 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1744 (python-unload-function, python-expand-template)
1745 (python-maybe-jython, python-preoutput-filter)
1746 (python-pdbtrack-get-source-buffer)
1747 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1748 (python-pdbtrack-toggle-stack-tracking)
1749 (python-pdbtrack-track-stack-file, python-initial-text)
1750 (python-first-word, python-comment-line-p, python-send-command)
1751 (python-setup-brm, python-sentinel, python-set-proc)
1752 (python-skip-out, python-input-filter, python-outdent-p)
1753 (python-outline-level, python-backslash-continuation-line-p)
1754 (python-end-of-block, python-end-of-statement, python-mark-block)
1755 (python-beginning-of-block, python-beginning-of-statement)
1756 (python-blank-line-p, python-beginning-of-string)
1757 (python-open-block-statement-p): Delete functions.
1758 (python-indent-line, python-indent-line-1): Delete functions.
1759 (python-indent-line): New function.
1760 (python-indentation-levels): Delete function.
1761 (python-indent-calculate-levels): New function.
1762 (python-proc): Delete function.
1763 (python-shell-get-process): New function.
1764 (python-send-receive): Delete function.
1765 (python-shell-send-string-no-output): New function.
1766 (python-module-path): Delete function.
1767 (python-ffap-module-path): New function.
1768 (python-completion-at-point)
1769 (python-symbol-completions): Delete functions.
1770 (python-completion-complete-at-point): New function.
1771 (python-load-file): Delete function.
1772 (python-shell-send-file): New function.
1773 (python-calculate-indentation): Delete function.
1774 (python-indent-calculate-indentation): New function.
1775 (python-skip-comments/blanks): Delete function.
1776 (python-util-forward-comment): New function.
1777 (python-continuation-line-p): Delete function.
1778 (python-info-continuation-line-p): New function.
1779 (python-which-func, python-current-defun): Delete function.
1780 (python-info-current-defun): New function.
1781 (python-beginning-of-defun): Delete function.
1782 (python-nav-beginning-of-defun): New function.
1783 (python-close-block-statement-p)
1784 (python-block-end-p): Delete function.
1785 (python-info-closing-block): New function.
1786 (python-comint-output-filter-function)
1787 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1788 (python-fill-comment, python-fill-decorator, python-fill-paren)
1789 (python-fill-string, python-imenu-make-element-tree)
1790 (python-imenu-make-tree, python-imenu-tree-assoc)
1791 (python-indent-context, python-indent-dedent-line)
1792 (python-indent-line-function)
1793 (python-indent-post-self-insert-function)
1794 (python-indent-toggle-levels)
1795 (python-info-assignment-continuation-line-p)
1796 (python-info-beginning-of-backlash)
1797 (python-info-block-continuation-line-p)
1798 (python-info-closing-block-message)
1799 (python-info-line-ends-backslash-p)
1800 (python-info-looking-at-beginning-of-defun)
1801 (python-info-ppss-context, python-info-ppss-context-type)
1802 (python-nav-list-defun-positions, python-nav-read-defun)
1803 (python-nav-sentence-end, python-nav-sentence-start)
1804 (python-pdbtrack-comint-output-filter-function)
1805 (python-pdbtrack-set-tracked-buffer)
1806 (python-shell-calculate-exec-path)
1807 (python-shell-calculate-process-environment)
1808 (python-shell-completion--do-completion-at-point)
1809 (python-shell-completion--get-completions)
1810 (python-shell-completion-complete-at-point)
1811 (python-shell-completion-complete-or-indent)
1812 (python-shell-get-or-create-process)
1813 (python-shell-get-process-name)
1814 (python-shell-internal-get-or-create-process)
1815 (python-shell-internal-get-process-name)
1816 (python-shell-internal-send-string, python-shell-make-comint)
1817 (python-shell-parse-command, python-shell-send-setup-code)
1818 (python-skeleton-add-menu-items)
1819 (python-util-clone-local-variables, python-util-position)
1820 (run-python-internal, python-indentation-levels)
1821 (python-nav-beginning-of-defun)
1822 (python-completion-complete-at-point): New functions.
1823 (run-python): Change arguments. New API requirements.
1824
4302f5ba
SM
18252012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1826
f38ea36d
SM
1827 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1828 (bug#11649).
1829
1830 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1831 (macroexp--expand-all): Use it.
1832
4302f5ba
SM
1833 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1834 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1835 Use `cl-function' instead.
1836
33377562
JB
18372012-06-14 Juanma Barranquero <lekktu@gmail.com>
1838
1839 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1840 Suggested by Stefan Monnier while discussing bug#11657.
1841
54c5ba1a
SS
18422012-06-14 Sam Steingold <sds@gnu.org>
1843
1844 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1845
f9f1b1fe
AS
18462012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1847
1848 * play/doctor.el (doctor-doc): Remove parameter and use
1849 doctor-sent instead of sent.
1850 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1851
a81068ba
SM
18522012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1853
5a315f9c
SM
1854 * files.el: Require cl-lib.
1855 (file-name-non-special): Replace case -> cl-case.
1856
1857 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1858
a81068ba
SM
1859 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1860 mapping from #' to function*.
1861
8cca9703
CY
18622012-06-13 Chong Yidong <cyd@gnu.org>
1863
1864 * mouse.el (mouse-drag-track): Do not set the mark if the user
1865 releases the mouse without selecting anything (Bug#11588).
1866
a12ac9d7
SM
18672012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1868
ccf1dc18
SM
1869 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1870 as well (bug#11646).
1871
ef62b23d
SM
1872 * loadup.el: Count byte-code functions as well.
1873
c4c8444a
SM
1874 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1875 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1876
a12ac9d7
SM
1877 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1878 (bug#11649). Add cl-defun and cl-defmacro.
1879
87e6e64f
DA
18802012-06-13 Drew Adams <drew.adams@oracle.com>
1881
1882 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1883 Fix last change.
1884
682cefaf
MA
18852012-06-13 Michael Albinus <michael.albinus@gmx.de>
1886
1887 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1888 Otherwise, it blocks in batch mode.
1889
773e1f08
JB
18902012-06-13 Juanma Barranquero <lekktu@gmail.com>
1891
1892 * help-mode.el (bookmark-make-record-default): Declare.
1893
60057926
CY
18942012-06-13 Chong Yidong <cyd@gnu.org>
1895
1896 * emacs-lisp/package.el (list-packages): Compute a list of
1897 packages that are newly-available since the last list-packages
1898 invocation.
1899 (package-menu--new-package-list): New var.
1900 (package-menu--generate, package-menu--print-info)
1901 (package-menu--status-predicate, package-menu-mark-install):
1902 Handle new status label "new".
1903
ad4d226c
SM
19042012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1907 conversion to backquotes.
1908
f1a4e679
CY
19092012-06-12 Chong Yidong <cyd@gnu.org>
1910
1911 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1912 Rename from gud-inhibit-global-bindings.
1913
1914 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1915
1916 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1917 hook from nxml-glyph-set-hook.
1918
1919 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1920 declaration.
1921
1922 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1923
1924 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1925 Convert to defcustom.
1926
0c9e42b5
DA
19272012-06-12 Drew Adams <drew.adams@oracle.com>
1928
1929 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1930 New functions.
1931 (help-mode): Use them.
1932
09e06855
GM
19332012-06-11 Glenn Morris <rgm@gnu.org>
1934
1935 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1936 Use preprocessor face for directives.
1937 (fortran-directive-re): Doc fix.
1938
71adb94b
SM
19392012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1940
2eb87922
SM
1941 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1942 conversion to backquotes (bug#11652).
1943
71adb94b
SM
1944 Fix compiler-expansion of CL's cXXr functions (bug#11673).
1945 * emacs-lisp/cl-lib.el (cl--defalias): New function.
1946 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
1947 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
1948 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1949 (cl-ninth, cl-tenth): Mark them as inlinable.
1950 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
1951 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
1952 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
1953 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
1954 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
1955 (cl-list*, cl-adjoin): Don't put an autoload manually.
1956 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
1957 (cl--compiler-macro-list*): Add autoload cookie.
1958 (cl--compiler-macro-cXXr): New function.
2eb87922 1959
71adb94b
SM
1960 * help-fns.el (help-fns--compiler-macro): New function extracted from
1961 describe-function-1; follow aliases and use `compiler-macro' property.
1962 (describe-function-1): Use it.
1963
a6674402
CY
19642012-06-11 Chong Yidong <cyd@gnu.org>
1965
1966 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
1967 is uninstalled, if imagemagick is installed.
1968
bb3faf5b
SM
19692012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * emacs-lisp/cl-lib.el: Use lexical-binding.
1972 (cl-map-extents, cl-maclisp-member): Remove.
1973 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
1974 (cl--set-substring, cl--block-wrapper, cl--block-throw)
1975 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
1976 * emacs-lisp/cl-extra.el: Use lexical-binding.
1977 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
1978 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
1979 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
1980 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
1981 * emacs-lisp/cl-seq.el: Use lexical-binding.
1982 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
1983 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
1984 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
1985 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
1986 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
1987 CL's internals.
1988
2fe4b125
MA
19892012-06-11 Michael Albinus <michael.albinus@gmx.de>
1990
1991 Sync with Tramp 2.2.6-pre.
1992
1993 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
1994 `print-length' and `print-level' to nil, in order to avoid
1995 truncation. Reported by Christopher Schmidt
1996 <christopher@ristopher.com>.
1997
1998 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
1999
2000 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2001 New defmacro.
2002 (tramp-compat-copy-directory): Add optional argument
2003 COPY-CONTENTS. It is not handled yet.
2004
2005 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2006 (tramp-ftp-file-name-p): Simplify.
2007
2008 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2009 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2010 connection vector.
2011
2012 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2013 (tramp-methods): Do not use `tramp-password-end-of-line'.
2014 (tramp-completion-function-alist-putty): Handle UNIX case.
2015 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2016 (tramp-do-file-attributes-with-stat)
2017 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2018 gid as real numbers. They could run out of integer range on cygwin.
2019 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2020 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2021 (tramp-open-connection-setup-interactive-shell):
2022 Use `tramp-cleanup'. Move check for busyboxes ...
2023 (tramp-find-shell): ... here. Simplify implementation.
2024 Set "remote-shell" property also for alternative shells.
2025 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2026 If failing, a regular file would be written otherwise.
2027 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2028 (tramp-find-inline-encoding): Cache the coding commands in the
2029 process cache. Apply test command on the remote side, if defined.
2030 (tramp-find-inline-compress): Cache the compress commands in the
2031 process cache.
2032 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2033 when requested. Handle hops.
2034 (tramp-current-connection): New defvar.
87e6e64f
DA
2035 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2036 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2037 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2038 (tramp-get-inline-compress, tramp-get-inline-coding):
2039 Read connection properties from the process cache.
2fe4b125
MA
2040
2041 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2042 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2043 New defconsts.
2fe4b125
MA
2044 (tramp-smb-prompt): Extend for powershell prompt.
2045 (tramp-smb-file-name-handler-alist): Add handlers for
2046 `process-file', `shell-command' and `start-file-process'.
2047 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2048 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2049 (tramp-smb-file-name-p): Simplify.
2050 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2051 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2052 (tramp-smb-shell-quote-argument): New defuns.
2053 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2054 Implement using "tar". By this, time-stamps are preserved.
2055 (tramp-smb-handle-copy-file): Handle also the case of directories.
2056 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2057 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2058 Use `tramp-get-connection-buffer').
2fe4b125
MA
2059 (tramp-smb-handle-rename-file): Use "rename", when source and
2060 target are on the same share.
87e6e64f
DA
2061 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2062 Use `tramp-smb-server-version'.
2fe4b125
MA
2063 (tramp-smb-wait-for-output): Remove prompt.
2064
2065 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2066 (tramp-methods, tramp-rsh-end-of-line):
2067 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2068 (tramp-save-ad-hoc-proxies): New defcustom.
2069 (tramp-completion-function-alist): Adapt docstring.
2070 (tramp-default-password-end-of-line): Remove defcustom.
2071 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2072 (tramp-user-regexp, tramp-file-name-regexp-unified)
2073 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2074 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2075 (tramp-remote-file-name-spec-regexp): New defconst.
2076 (tramp-file-name-structure): Extend structure for hops.
2077 (tramp-get-method-parameter): Move up.
2078 (tramp-file-name-p, tramp-dissect-file-name)
2079 (with-parsed-tramp-file-name): Handle hops.
2080 (tramp-file-name-hop): New defun.
2081 (tramp-make-tramp-file-name): New optional arg HOP.
2082 (tramp-message-show-progress-reporter-message): New defvar.
2083 (tramp-with-progress-reporter): Use it. We cannot use
2084 `tramp-message-show-message' here, because this suppresses also
2085 error buffers.
2086 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2087 `tramp-message-show-message' is nil.
2088 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2089 (tramp-cleanup): New defun.
2090 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2091 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2092 an error unchanged.
2093 (tramp-completion-handle-file-name-all-completions): Handle hops.
2094 Fix an error when called from ido.
2095 (tramp-completion-dissect-file-name): Use better local variable
2096 name. Add hop to the vector.
2097 (tramp-handle-insert-file-contents): Use progress-reporter for the
2098 whole scenario.
2099 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2100 to `t'.
2101 (tramp-check-for-regexp): Simplify search.
2102 (tramp-enter-password): Remove it. Move implementation ...
2103 (tramp-action-password): ... here.
2104 (tramp-mode-string-to-int, tramp-local-host-p)
2105 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2106 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2107 Set tramp-autoload cookie.
2fe4b125
MA
2108
2109 * net/trampver.el: Update release number.
2110
21112012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2112 Michael Albinus <michael.albinus@gmx.de>
2113
2114 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2115 (tramp-parse-group, tramp-parse-file)
2116 (tramp-parse-shostkeys-sknownhosts): New defuns.
2117 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2118 (tramp-parse-shosts-group, tramp-parse-sconfig)
2119 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2120 (tramp-parse-sknownhosts, tramp-parse-hosts)
2121 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2122 Use them.
2123 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2124 (tramp-parse-putty-group): Don't narrow.
2125 (tramp-parse-putty): Make a loop.
2126 (tramp-file-name-handler): Catch the `suppress' signal.
2127
72834e10
CY
21282012-06-11 Chong Yidong <cyd@gnu.org>
2129
2130 * image.el (imagemagick-register-types): Put the ImageMagick entry
2131 at the end of image-type-file-name-regexps.
2132
a4712e11
JB
21332012-06-11 Johan Bockgård <bojohan@gnu.org>
2134
2135 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2136 (pcase, pcase-let*, pcase-dolist): Use them.
2137
82ad98e3
SM
21382012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * emacs-lisp/pcase.el (pcase--let*): New function.
2141 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2142 (pcase--expand): Use macroexp-let².
2143
f80efb86
SM
21442012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2147 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2148 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2149 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2150 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2151 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2152
31ca4639 21532012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2154
31ca4639
CY
2155 * mail/rmail.el (rmail-yank-current-message): Leave point at
2156 correct position. (Bug#11660)
94f0aa34 2157
31ca4639 21582012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2159
31ca4639 2160 * allout-widgets.el: Fix code header.
9e1b8ec4 2161
31ca4639 21622012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2163
f80efb86
SM
2164 * cus-edit.el (customize-changed-options-previous-release):
2165 Bump to 24.1.
31ca4639 2166
642b6d30
AS
21672012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2168
2169 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2170
4f5d2ba1
CY
21712012-06-09 Chong Yidong <cyd@gnu.org>
2172
2173 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2174
e75852fd
MR
21752012-06-09 Martin Rudalics <rudalics@gmx.at>
2176
2177 * window.el (special-display-popup-frame): Don't use
2178 window--display-buffer (Bug#11651).
2179
1e48e282
EZ
21802012-06-09 Eli Zaretskii <eliz@gnu.org>
2181
8a26b487
EZ
2182 Fix parallel builds: make sure loaddefs.el is not being written
2183 while Lisp files are compiled.
2184 (compile): Don't depend on 'mh-autoloads'.
2185 (compile-CMD, compile-SH): Depend on 'autoloads'.
2186 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2187
1e48e282
EZ
2188 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2189
6175e34b
CY
21902012-06-09 Chong Yidong <cyd@gnu.org>
2191
2192 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2193 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2194 Doc fixes (Bug#11225).
2195
d9857e53
SM
21962012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2199 a function if there's a clear indication that it has a compiler-macro.
2200 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2201 (macro-declarations-alist): Add arglist to declaration functions.
2202 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2203 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2204 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2205 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2206 Also add autoload to find the compiler macro.
2207 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2208 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2209 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2210 (cl--compiler-macro-get): New functions, replacing calls to
2211 cl-define-compiler-macro.
2212 (cl-typep) [compiler-macro]: Use macroexp-let².
2213
f81298f8 22142012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2215
2216 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2217 string properly, fixes Bug#11473.
2218
4b56d0fe
CY
22192012-06-08 Chong Yidong <cyd@gnu.org>
2220
2221 * faces.el (set-face-attribute): Doc fix.
2222 (modify-face): Don't use :bold and :italic.
2223 (error, warning, success): Tweak definitions.
2224
2225 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2226 (custom-modified, custom-set, custom-changed, custom-themed)
2227 (custom-saved, custom-button, custom-button-mouse)
2228 (custom-button-pressed, custom-state, custom-comment-tag)
2229 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2230 (custom-group-subtitle): Use new-style face specs.
2231 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2232 (custom-set-face, custom-changed-face, custom-saved-face)
2233 (custom-button-face, custom-button-pressed-face)
2234 (custom-documentation-face, custom-state-face)
2235 (custom-comment-face, custom-comment-tag-face)
2236 (custom-variable-tag-face, custom-variable-button-face)
2237 (custom-face-tag-face, custom-group-tag-face-1)
2238 (custom-group-tag-face): Remove obsolete face alias.
2239
2240 * epa.el (epa-validity-high, epa-validity-medium)
2241 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2242 (epa-field-name, epa-field-body):
2243 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2244 (font-lock-keyword-face, font-lock-builtin-face)
2245 (font-lock-function-name-face, font-lock-variable-name-face)
2246 (font-lock-type-face, font-lock-constant-face):
2247 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2248 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2249 * speedbar.el (speedbar-button-face, speedbar-file-face)
2250 (speedbar-directory-face, speedbar-tag-face)
2251 (speedbar-selected-face, speedbar-highlight-face)
2252 (speedbar-separator-face):
2253 * whitespace.el (whitespace-newline, whitespace-space)
2254 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2255 (whitespace-line, whitespace-space-before-tab)
2256 (whitespace-space-after-tab, whitespace-indentation)
2257 (whitespace-empty):
2258 * emulation/cua-base.el (cua-global-mark):
2259 * eshell/em-prompt.el (eshell-prompt):
2260 * net/newst-plainview.el (newsticker-new-item-face)
2261 (newsticker-old-item-face, newsticker-immortal-item-face)
2262 (newsticker-obsolete-item-face, newsticker-date-face)
2263 (newsticker-statistics-face, newsticker-default-face):
2264 * net/newst-reader.el (newsticker-feed-face)
2265 (newsticker-extra-face, newsticker-enclosure-face):
2266 * net/newst-treeview.el (newsticker-treeview-face)
2267 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2268 (newsticker-treeview-immortal-face)
2269 (newsticker-treeview-obsolete-face)
2270 (newsticker-treeview-selection-face):
2271 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2272 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2273 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2274 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2275 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2276 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2277 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2278 (mpuz-text):
2279 * progmodes/vera-mode.el (vera-font-lock-number)
2280 (vera-font-lock-function, vera-font-lock-interface):
2281 * textmodes/table.el (table-cell): Use new-style face specs, and
2282 don't use the old :bold and :italic attributes.
2283
2284 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2285 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2286 (ebrowse-member-class, ebrowse-progress): Likewise.
2287 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2288 (ebrowse-file-name-face, ebrowse-default-face)
2289 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2290 (ebrowse-progress-face): Remove obsolete faces.
2291
2292 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2293 Inherit from error and warning faces respectively.
2294
2295 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2296 Likewise.
f80efb86
SM
2297 (flyspell-incorrect-face, flyspell-duplicate-face):
2298 Remove obsolete aliases.
4b56d0fe 2299
03310646
MA
23002012-06-08 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2303 Avoid infloop.
2304
513749ee
SM
23052012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * startup.el (argv, argi): Make lexically scoped.
2308 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2309 * emacs-lisp/cl-macs.el: Use lexical-binding.
2310 Rename cl-bind-* to cl--bind-*.
2311 * files.el: Don't require `cl' since it doesn't use it.
2312 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2313
595ef4ad
JB
23142012-06-08 Juanma Barranquero <lekktu@gmail.com>
2315
2316 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2317 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2318 instead of calling external sort utility.
2319 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2320
e9f66fcb
EZ
23212012-06-08 Eli Zaretskii <eliz@gnu.org>
2322
2323 * descr-text.el (describe-char): Mention how to insert the
2324 character, if the current input method doesn't support it.
2325 See the discussion in this thread for the details:
2326 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2327
3d10db47
SS
23282012-06-08 Sam Steingold <sds@gnu.org>
2329
2330 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2331 XF86Back to previous-buffer.
2332 (minibuffer-local-map): Bind them to next-history-element and
2333 previous-history-element respectively.
2334 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2335 help-go-back respectively.
2336 * info.el (Info-mode-map): Bind them to Info-history-forward and
2337 Info-history-back respectively.
2338 These are the keys next to Up on the ThinkPad keyboard.
2339
de7e2b36
SM
23402012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2343 * emacs-lisp/cl-macs.el: Provide itself.
2344 (cl--labels-convert-cache): New var.
2345 (cl--labels-convert): New function.
2346 (cl-flet, cl-labels): New implementation with new semantics, relying on
2347 lexical-binding.
2348 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2349 (cl-closure-vars, cl--function-convert-cache)
2350 (cl--function-convert): Move from cl-macs.el.
2351 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2352 rename by removing the "cl-" prefix.
2353 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2354
6fa6c4ae
SM
23552012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2358 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2359 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2360 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2361 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2362 (cl-hash-table-count): Add old compatibility aliases.
2363
2364 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2365 Use macroexpand-all-environment instead.
2366 (cl--old-macroexpand): New var.
2367 (cl--sm-macroexpand): New function.
2368 (cl-symbol-macrolet): Use it during macro expansion.
2369 (cl--function-convert-cache): New var.
2370 (cl--function-convert): New function, extracted from
2371 cl-macroexpand-all.
2372 (cl-lexical-let): Use it.
2373
2374 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2375 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2376 (cl-member): Remove old alias.
2377
2378 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2379 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2380 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2381 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2382 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2383 (cl-macroexpand-cmacs): Remove var.
2384 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2385 Use macroexpand-all instead.
2386
4dd1c416
SM
23872012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2390 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2391 (macroexp-copyable-p): New functions and macros.
2392 * emacs-lisp/edebug.el (edebug-unwrap):
2393 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2394 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2395 (pcase--let*): Remove.
2396 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2397 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2398 macroexp-const-p instead.
2399 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2400
2401 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2402 instead of "cl-" for internal definitions. Use macroexp-const-p.
2403 (cl-old-bc-file-form): Remove var.
2404 (cl-const-exprs-p): Remove fun.
2405 (cl-labels, cl-macrolet): Use backquote.
2406 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2407 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2408 (cl-define-setf-expander): Rename from cl-define-setf-method.
2409 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2410
2411 * international/mule-cmds.el: Don't require CL.
2412 (view-hello-file): Don't use `letf'.
2413
ed8bd4d7
SM
24142012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2415
7287f2f3
SM
2416 * tmm.el (tmm-prompt): Use string-prefix-p.
2417 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2418 (tmm-add-prompt): Use minibuffer-completion-help.
2419 (tmm-delete-map): Remove.
2420
ed8bd4d7
SM
2421 * subr.el (kbd): Make it its own function.
2422
7b4cdbf4
SM
24232012-06-07 Stefan Merten <smerten@oekonux.de>
2424
2425 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2426 Silence compiler warnings. Fix versions.
ed8bd4d7 2427 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2428 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2429 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2430 (rst-package-emacs-version-alist): Correct Emacs version to
2431 represent major merge with upstream.
ed8bd4d7 2432 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2433
2b48d721
GM
24342012-06-06 Glenn Morris <rgm@gnu.org>
2435
2436 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2437 Only print environment variables if set.
2438
fa779ab0
SM
24392012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2442 (macroexp--cons): Rename from maybe-cons.
2443 (macroexp--accumulate): Rename from macroexp-accumulate.
2444 (macroexp--all-forms): Rename from macroexpand-all-forms.
2445 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2446 (macroexp--expand-all): Rename from macroexpand-all-1.
2447
628299e0
SS
24482012-06-06 Sam Steingold <sds@gnu.org>
2449
2450 * calendar/calendar.el (calendar-in-read-only-buffer):
2451 Call `special-mode' to enable the standard read-only keybindings.
2452
b7bb5838
SM
24532012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2456 with "loading" messages (bug#11635).
2457
dfb308ba
MA
24582012-06-06 Michael Albinus <michael.albinus@gmx.de>
2459
2460 * files.el (enable-remote-dir-locals): New option.
2461 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2462
0372ee92
MA
2463 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2464 Ensure, that the temp directory is local.
2465
2466 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2467 `temporary-file-directory'.
2468
eed0bb91
MA
2469 * progmodes/python.el (python-send-region): Ensure, that the
2470 temporary file is created also in the remote case.
2471
7a58f64d
GM
24722012-06-06 Glenn Morris <rgm@gnu.org>
2473
f7dd4e98
GM
2474 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2475 (vc-rcs-update-changelog): Use it.
2476
090bd7cb 2477 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2478
7a58f64d
GM
2479 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2480 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2481 (vc-sccs-diff): Replace use of the external vcdiff script.
2482
daed4003
GM
24832012-06-05 Glenn Morris <rgm@gnu.org>
2484
2485 * ledit.el: Move to obsolete/.
2486
48c455c7
SS
24872012-06-05 Sam Steingold <sds@gnu.org>
2488
ed9265fc 2489 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2490 patch (Bug#11140).
2491
57a7d507
SM
24922012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2493
090bd7cb 2494 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2495
53aacf21
SM
2496 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2497 compiler-macro expansion.
2498
57a7d507
SM
2499 Add native compiler-macro support.
2500 * emacs-lisp/macroexp.el (macroexpand-all-1):
2501 Support compiler-macros directly. Properly follow aliases and apply
2502 the compiler macros more thoroughly.
2503 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2504 macroexpand now properly follows aliases.
2505 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2506 (cl-compiler-macroexpand): Use new prop.
2507 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2508
2509 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2510
51a5f9d8
MR
25112012-06-05 Martin Rudalics <rudalics@gmx.at>
2512
2513 * window.el (get-lru-window, get-mru-window, get-largest-window):
2514 New argument NOT-SELECTED to avoid picking the selected window.
2515 (window--display-buffer-1, window--display-buffer-2): Replace by
2516 new function window--display-buffer
2517 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2518 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2519 Use window--display-buffer.
51a5f9d8
MR
2520 (display-buffer-use-some-window): Remove temporary dedication
2521 hack by calling get-lru-window and get-largest-window with
2522 NOT-SELECTED argument non-nil. Call window--display-buffer.
2523
08f9f738
GM
25242012-06-05 Glenn Morris <rgm@gnu.org>
2525
2526 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2527 Replace external vcdiff script.
2528
e364a2b7
SM
25292012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2532
041df390
CY
25332012-06-04 Chong Yidong <cyd@gnu.org>
2534
e364a2b7
SM
2535 * image.el (imagemagick-types-inhibit): Revert last change.
2536 Add INFO and M.
47b36b94 2537 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2538
7c1898a7
SM
25392012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * emacs-lisp/cl-lib.el: Rename from cl.el.
2542 * emacs-lisp/cl.el: New compatibility file.
2543 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2544 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2545 to obey the "cl-" prefix.
2546 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2547
0c3461de
GM
25482012-06-03 Glenn Morris <rgm@gnu.org>
2549
1e266c88
GM
2550 * emacs-lisp/authors.el (authors-aliases): Addition.
2551
0c3461de
GM
2552 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2553 Fix :version.
2554
d8a52e15
SM
25552012-06-03 Stefan Merten <smerten@oekonux.de>
2556
2557 * textmodes/rst.el: Add comments.
2558 (rst-transition, rst-adornment): New faces.
2559 (rst-adornment-faces-alist): Make default safe to reevaluate.
2560 Fixes
2561 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2562 Improve customization tags.
2563 (rst-define-level-faces): Clarify meaning.
2564
5205d6f6
CY
25652012-06-03 Chong Yidong <cyd@gnu.org>
2566
2567 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2568 (compilation-mode-line-run, compilation-mode-line-exit):
2569 New faces.
5205d6f6
CY
2570 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2571
757ee657
JD
25722012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2573
7c1898a7
SM
2574 * progmodes/which-func.el (which-func-update-ediff-windows):
2575 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2576
5f2c76c6
CY
25772012-06-03 Chong Yidong <cyd@gnu.org>
2578
2579 * bindings.el: Remove explicit help text from format-mode-line.
2580 It is now supplied by mode-line-default-help-echo.
2581 (mode-line-front-space, mode-line-end-spaces)
2582 (mode-line-misc-info): New variables.
2583 (mode-line-modes, mode-line-position): Move the default value to
2584 the variable definition.
2585 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2586 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2587 (mode-line-modified-help-echo): New functions.
2588 (mode-line-mule-info, mode-line-modified): Use them.
2589 (mode-line-eol-desc, propertized-buffer-identification):
2590 Consistency fixes for help text.
cbe46e5f
CY
2591 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2592 set-buffer-file-coding-system (Bug#289).
2593 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2594
f2d6a3df
SM
25952012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2596
2597 * simple.el (execute-extended-command): Set real-this-command
2598 (bug#11506).
2599
37269466
CY
26002012-06-02 Chong Yidong <cyd@gnu.org>
2601
2602 Remove incorrect uses of "modeline" in comments, docstrings, and
2603 function/variable names (Bug#10329).
2604
2605 * cus-edit.el (mode-line):
2606 * dframe.el (dframe-mouse-hscroll):
2607 * emacs-lisp/re-builder.el:
2608 * emacs-lisp/easy-mmode.el (define-minor-mode):
2609 * frame.el (set-frame-name):
2610 * help.el (lookup-minor-mode-from-indicator):
2611 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2612 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2613 (c-toggle-hungry-state):
2614 * progmodes/antlr-mode.el (antlr-language-alist):
2615 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2616 * progmodes/vhdl-mode.el (vhdl-mode):
2617 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2618 * term/ns-win.el (ns-face-at-pos):
2619 * term/sup-mouse.el (sup-mouse-report):
2620 * textmodes/flyspell.el (flyspell-mode-line-string):
2621 * textmodes/ispell.el (ispell-highlight-face):
2622 * textmodes/reftex-global.el:
2623 * vc/vc-arch.el (vc-arch-mode-line-string):
2624 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2625 * vc/vc-git.el (vc-git-mode-line-string):
2626 * vc/vc-hooks.el (vc-display-status)
2627 (vc-default-mode-line-string):
2628 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2629
2630 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2631
2632 * dired.el (dired-sort-set-mode-line): Rename from
2633 dired-sort-set-modeline. All callers changed.
2634
2635 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2636 eshell-status-in-modeline.
2637
2638 * foldout.el (foldout-mode-line-string): Rename from
2639 foldout-modeline-string. All callers changed.
2640 (foldout-update-mode-line): Rename from foldout-update-modeline.
2641
2642 * subr.el (redraw-modeline): Make into obsolete alias.
2643
2644 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2645 timeclock-modeline-display. Make old name an alias.
2646 (timeclock-update-mode-line): Likewise. All callers changed.
2647 (timeclock-mode-line-display): No need to check before using
2648 add-hook.
2649 (timeclock-relative, timeclock-day-over-hook)
2650 (timeclock-use-elapsed, timeclock-mode-string)
2651 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2652
2653 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2654 crisp-mode-modeline-string.
2655
2656 * play/solitaire.el (solitaire-build-mode-line): Rename from
2657 solitaire-build-modeline. All callers changed.
2658
2659 * play/zone.el (zone-hiding-mode-line): Rename from
2660 zone-hiding-modeline. All callers changed.
2661 (zone): Remove unusued `modeline-hidden-level' property.
2662
2663 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2664 xscheme-modeline-initialize. All callers changed.
2665
2666 * strokes.el (strokes-lighter): Rename from
2667 strokes-modeline-string.
2668
2669 * textmodes/sgml-mode.el (html-face-tag-alist)
2670 (html-tag-face-alist): Use mode-line face instead of obsolete
2671 alias modeline.
2672
42152ee4
SM
26732012-06-02 Stefan Merten <smerten@oekonux.de>
2674
2675 * textmodes/rst.el: Always require `cl'.
4cf9b38d 2676 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 2677
95f520b5
CY
26782012-06-02 Chong Yidong <cyd@gnu.org>
2679
2680 * image.el (imagemagick-enabled-types): Rename from
2681 imagemagick-types-enable. Add many more types.
2682 (imagemagick-types-inhibit): Change default to nil.
2683 (imagemagick-filter-types): Caller changed.
2684
4a5f187a
SM
26852012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2686
03fef3e6
SM
2687 * emacs-lisp/cl-macs.el: Use backquotes.
2688 (cl-transform-function-property): Use eval-and-compile rather than
2689 abusing `require'.
2690 (defstruct): Use declare-function instead of with-no-warnings.
2691
4a5f187a
SM
2692 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2693 (byte-compile-output-docform): Re-add the print-circle bindings.
2694 (byte-compile-fix-header): Use #$ just because it's shorter.
2695 (byte-compile-output-file-form): Remove defun/defmacro.
2696
bd56924f
MR
26972012-06-01 Martin Rudalics <rudalics@gmx.at>
2698
2699 * simple.el (choose-completion): Remove now obsolete binding for
2700 owindow.
2701
046e38ce
MA
27022012-06-01 Michael Albinus <michael.albinus@gmx.de>
2703
2704 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2705 in order to avoid "Stack overflow in regexp matcher".
2706
32d72c2f
GM
27072012-05-31 Glenn Morris <rgm@gnu.org>
2708
2709 * image.el: For clarity, call imagemagick-register-types at
2710 top-level, rather than relying on a custom :initialize.
2711 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
2712 (imagemagick-filter-types): New function. (Bug#7406)
2713 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
2714 If disabling support, remove elements altogether rather
2715 than using an impossible regexp.
2716 (imagemagick-types-inhibit): Give it the default init function.
2717
dd41169b
SM
27182012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2719
4a5f187a
SM
2720 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2721 Handle arbitrary file name lengths (Bug#11585).
dd41169b 2722
efc00ab1 27232012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
2724
2725 * desktop.el (desktop-read): Clear previous and next buffers for
2726 all windows and bury *Messages* buffer (bug#11556).
2727
500fcedc
SM
27282012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 Add `declare' for `defun'. Align `defmacro's with it.
2731 * emacs-lisp/easy-mmode.el (define-minor-mode)
2732 (define-globalized-minor-mode): Don't autoload the var definitions.
2733 * emacs-lisp/byte-run.el: Use lexical-binding.
2734 (defun-declarations-alist, macro-declarations-alist): New vars.
2735 (defmacro, defun): Use them.
2736 (make-obsolete, define-obsolete-function-alias)
2737 (make-obsolete-variable, define-obsolete-variable-alias):
2738 Use `declare'.
2739 (macro-declaration-function): Mark obsolete.
2740 * emacs-lisp/autoload.el: Use lexical-binding.
2741 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2742
6e8a1786
AM
27432012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2744
2745 * textmodes/ispell.el (ispell-with-no-warnings):
2746 Define as a macro.
500fcedc
SM
2747 (ispell-kill-ispell, ispell-change-dictionary):
2748 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
2749 `interactive-p'.
2750
61b108cc
SM
27512012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2754 (macro-declaration-function): Move var from C code.
2755 (macro-declaration-function): Define function with defalias.
2756 * emacs-lisp/macroexp.el (macroexpand-all-1):
2757 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2758 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2759 defun/defmacro any more.
2760 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2761 Provide fallback for unknown arglist.
2762 (byte-compile-arglist-warn): Change calling convention.
2763 (byte-compile-output-file-form): Move print-vars binding.
2764 (byte-compile-output-docform): Simplify accordingly.
2765 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2766 (byte-compile-defmacro-declaration): Remove.
2767 (byte-compile-file-form-defmumble): Generalize to defalias.
2768 (byte-compile-output-as-comment): Return byte-positions.
2769 Simplify callers accordingly.
2770 (byte-compile-lambda): Use `assert'.
2771 (byte-compile-defun, byte-compile-defmacro): Remove.
2772 (byte-compile-file-form-defalias):
2773 Use byte-compile-file-form-defmumble.
2774 (byte-compile-defalias-warn): Remove.
2775
6d3f7c2f
SM
27762012-05-29 Stefan Merten <smerten@oekonux.de>
2777
2778 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 2779 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
2780
2781 (rst-mode-abbrev-table): Merge definition.
2782 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2783 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2784
6dbaa1c7
UJ
27852012-05-29 Ulf Jasper <ulf.jasper@web.de>
2786
2787 * calendar/icalendar.el
2788 (icalendar-export-region): Export UID properly.
2789
d209e2fb 27902012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
2791 * calendar/icalendar.el (icalendar-import-format):
2792 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
2793 (icalendar-import-format-uid): New.
2794 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2795 Export UID.
2796
6876a58d
SM
27972012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2800 different alternative patterns.
2801 (pcase-codegen): Be more careful to preserve identity.
2802 (pcase--u1): Don't forget to mark vars as used.
2803
2804 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2805 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2806 (byte-compile-from-buffer): ...rather than here.
2807
2808 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2809 functions from byte-compile-function-environment.
2810
46b7967e
TN
28112012-05-29 Troels Nielsen <bn.troels@gmail.com>
2812
2813 * window.el (window-deletable-p): Avoid deleting the root window
2814 of a frame with an active minibuffer.
2815
69d565e2
MR
28162012-05-29 Martin Rudalics <rudalics@gmx.at>
2817
2818 * simple.el (choose-completion): Use quit-window (Bug#11567).
2819
a149fa51
CY
28202012-05-29 Chong Yidong <cyd@gnu.org>
2821
2822 * whitespace.el (whitespace-cleanup): Fix usage of
2823 whitespace-empty-at-bob-regexp (Bug#11492).
2824
2b311310
AH
28252012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2826
2827 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2828 revert (Bug#11488).
2829
b9cb2387
JL
28302012-05-29 Juri Linkov <juri@jurta.org>
2831
2832 * isearch.el (isearch-mode-map): Bind `M-s _' to
2833 `isearch-toggle-symbol'. Bind `M-s c' to
2834 `isearch-toggle-case-fold'.
2835 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2836 (isearch-forward): Add `M-s _' to the docstring.
2837 (isearch-forward-symbol, isearch-toggle-case-fold)
2838 (isearch-symbol-regexp): New functions. (Bug#11381)
2839
d5e61c1c
JL
28402012-05-29 Juri Linkov <juri@jurta.org>
2841
2842 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2843 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2844 a function, call it to get the regexp.
2845 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2846 property `isearch-message-prefix' instead of the string "word ".
2847 (isearch-search-fun-default): For the case of `isearch-word',
2848 return a lambda that calls re-search-forward/re-search-backward
2849 with a regexp returned by `word-search-regexp' or by the function
2850 in `isearch-word'.
2851
8cbd80f7
JL
28522012-05-29 Juri Linkov <juri@jurta.org>
2853
2854 * isearch.el (isearch-search-fun-default): New function.
2855 (isearch-search-fun): Move default part to the new function
2856 `isearch-search-fun-default'.
2857 (isearch-search-fun-function): Set the default value to
2858 `isearch-search-fun-default'. (Bug#11381)
2859
2860 * comint.el (comint-history-isearch-end):
2861 Use `isearch-search-fun-default'.
2862 (comint-history-isearch-search): Use `isearch-search-fun-default'
2863 and remove spacial case for `isearch-word'.
2864 (comint-history-isearch-wrap): Remove spacial case for
2865 `isearch-word'.
2866
2867 * hexl.el (hexl-isearch-search-function):
2868 Use `isearch-search-fun-default'.
2869
2870 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2871 Use `word-search-regexp' for `isearch-word'.
2872
2873 * misearch.el (multi-isearch-search-fun):
2874 Use `isearch-search-fun-default'.
2875
2876 * simple.el (minibuffer-history-isearch-search):
2877 Use `isearch-search-fun-default' and remove spacial case for
2878 `isearch-word'.
2879 (minibuffer-history-isearch-wrap): Remove spacial case for
2880 `isearch-word'.
2881
2882 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2883 Remove spacial case for `isearch-word'.
2884 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2885
85c8c5b6
AM
28862012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2887
2888 Decrease XEmacs incompatibilities.
2889 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2890 Use `string-match'.
2891 (flyspell-delete-region-overlays): Use alternative definition for
2892 XEmacs.
2893 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2894 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2895 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2896 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2897 `define-obsolete-face-alias' under XEmacs, but old method.
2898
2899 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2900 `with-no-warnings' definition or Emacs alias.
2901 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2902 (ispell-word): Do not use `region-p' if XEmacs.
2903
8cab9efc
AM
29042012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2905
2906 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2907 Check for `ispell-dictionary-base-alist' instead of full
2908 `ispell-dictionary-alist'.
2909 (ispell-init-process): Show spellchecker when starting new Ispell
2910 process.
2911
fda91268
RZ
29122012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2915 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2916
694ea8e3
JB
29172012-05-27 Juanma Barranquero <lekktu@gmail.com>
2918
2919 * version.el (motif-version-string, gtk-version-string)
2920 (ns-version-string): Declare.
2921
e4d4f539
JL
29222012-05-27 Juri Linkov <juri@jurta.org>
2923
2924 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2925 after the `eval-defun-1' specialcaseing
2926 like in `edebug-eval-defun' (bug#10181).
2927
2928 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2929 like in `eval-defun-1'.
2930
33017faf 29312012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 2932
fda91268
RZ
2933 * mail/sendmail.el (mail-yank-region):
2934 Recognize rmail-yank-current-message in addition to insert-buffer.
2935 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
2936 a *mail* buffer created through rmail-start-mail with sendmail as
2937 mail-user-agent.
2938
33017faf
GM
29392012-05-27 Chong Yidong <cyd@gnu.org>
2940
2941 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2942 Default to 256 (Bug#11267).
2943
2944 * help.el (describe-mode): Doc fix.
2945
04188bb9
GM
29462012-05-26 Glenn Morris <rgm@gnu.org>
2947
38264cc9
GM
2948 * w32-fns.el (w32-init-info): Remove.
2949 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
2950
eb7afdad
GM
2951 * info.el (info-initialize): For self-contained NS builds, put the
2952 included info/ directory at the front. (Bug#2791)
2953
04188bb9
GM
2954 * paths.el (Info-default-directory-list): Make it a defcustom,
2955 mainly so that we can use custom-initialize-delay.
2956
a179e3f7
SM
29572012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
2958
43416392
SM
2959 * subr.el (buffer-has-markers-at): Mark obsolete.
2960
a179e3f7 2961 * subr.el (lambda): Use declare.
43416392 2962
a179e3f7
SM
2963 * emacs-lisp/lisp-mode.el (lambda):
2964 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
2965
34a008d9
AH
29662012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2967
2968 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
2969
0a3b289f
GM
29702012-05-26 Glenn Morris <rgm@gnu.org>
2971
2972 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
2973
758c81e8
GM
29742012-05-25 Glenn Morris <rgm@gnu.org>
2975
f9f334f0
GM
2976 * paths.el: Remove no-byte-compile.
2977 * loadup.el: No need to load paths.el uncompiled.
2978
87eb79c2
GM
2979 * image.el (imagemagick-types-inhibit): Doc fix.
2980
758c81e8
GM
2981 * version.el: Remove no-byte-compile and associated formatting.
2982 * loadup.el: No need to load version.el uncompiled. AFAICS, this
2983 is ancient code from when there was an "inc-vers.el".
2984
e7e85dc0
SM
29852012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * progmodes/gdb-mi.el: Minor style changes.
2988 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
2989 Turn into minor modes.
2990 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
2991 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
2992 (gdb-shell): Remove unneeded let-binding.
2993 (gdb-get-many-fields): Eliminate O(n²) behavior.
2994
f31237a4
EZ
29952012-05-25 Eli Zaretskii <eliz@gnu.org>
2996
2997 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
2998 platforms that don't link in fontset.c.
2999
bc1b21bb
JL
30002012-05-25 Juri Linkov <juri@jurta.org>
3001
3002 Use the same diff color scheme as in modern VCSes (bug#10181).
3003
3004 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3005 to avoid confusion with `diff-added' that now uses green colors.
3006 (diff-removed): Use shades of red.
3007 (diff-added): Use shades of green.
3008 (diff-changed): Leave just the yellow color.
3009 (diff-use-changed-face): New variable.
3010 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3011 how to highlight context diff changes.
3012 (diff-refine-change): Use shades of yellow.
3013 (diff-refine-removed): New face that uses shades of red.
3014 (diff-refine-added): New face that uses shades of green.
3015 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3016 `diff-refine-removed' in the call to `smerge-refine-subst'
3017 depending on the value of `diff-use-changed-face'.
3018
3019 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3020 (smerge-other): Use shades of green.
3021 (smerge-base): Use shades of yellow.
3022 (smerge-refined-change): Empty face.
3023 (smerge-refined-removed): New face that uses shades of red.
3024 (smerge-refined-added): New face that uses shades of green.
3025 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3026 args `props-r' and `props-a', and use them. Doc fix.
3027 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3028 on its value use different faces `smerge-refined-change',
3029 `smerge-refined-removed', `smerge-refined-added' in the call to
3030 `smerge-refine-subst'.
3031
3032 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3033 Add face condition `min-colors 88' with shades of red.
3034 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3035 `min-colors 88' with shades of green.
3036 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3037 `min-colors 88' with shades of yellow.
3038
6df9112c
GM
30392012-05-24 Glenn Morris <rgm@gnu.org>
3040
ead5edc0
GM
3041 * paths.el (prune-directory-list, remote-shell-program): Move to...
3042 * files.el (prune-directory-list, remote-shell-program): ...here.
3043 For the latter, delay initialization, prefer ssh, just search PATH.
3044
f18b81e6
GM
3045 * paths.el (term-file-prefix): Move to faces.el (the only user).
3046 * faces.el (term-file-prefix): Move here, make it a defcustom.
3047
ee2f89a6
GM
3048 * paths.el (news-directory, news-path, news-inews-program):
3049 Move to gnus/nnspool.el.
61a583ca 3050
f8815e4c
GM
3051 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3052
c8f3b42c
GM
3053 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3054 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3055 Make the latter a defcustom, with a delayed initialization.
3056
6df9112c
GM
3057 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3058 These were deleted from Gnus itself late 2010.
3059
5dadff36
JB
30602012-05-22 Juanma Barranquero <lekktu@gmail.com>
3061
9e1701c6
JB
3062 * progmodes/which-func.el (which-func-ff-hook):
3063 Check against user-error, not error.
3064
bd7239f5 3065 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3066 cl-specs.el, which no longer exists.
3067
3290526d
GM
30682012-05-22 Glenn Morris <rgm@gnu.org>
3069
3070 * info.el (info-emacs-bug): New command.
3071 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3072 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3073
ff0c3cfb
GM
30742012-05-21 Glenn Morris <rgm@gnu.org>
3075
3076 * makefile.w32-in (update-subdirs-SH):
3077 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3078
5814f126
SM
30792012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3080
a52c0aa0
SM
3081 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3082
5814f126
SM
3083 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3084 Simplify Maven regexp, and make sure the file can't start with a space
3085 (bug#11517).
3086
b847032c
GM
30872012-05-21 Glenn Morris <rgm@gnu.org>
3088
3089 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3090 Scrap superfluous subshells.
3091
3858bfe7
SM
30922012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3093
3094 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3095 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3096
d14b0029
JB
30972012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3098
3099 * calc/calc.el (calc-ensure-consistent-units): New variable.
3100
a52c0aa0
SM
3101 * calc/calc-units.el (math-consistent-units-p)
3102 (math-check-unit-consistency): New functions.
3103 (calc-quick-units, calc-convert-units):
3104 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3105 is non-nil.
d14b0029
JB
3106 (calc-extract-units): Fix typo.
3107
60c4db3a
SM
31082012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3109
77f3b62e
SM
3110 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3111
60c4db3a
SM
3112 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3113 (flyspell-default-deplacement-commands): Don't spell check after
3114 repeated window/frame switches (e.g. triggered by mouse-movement).
3115 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3116 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3117 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3118 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3119 Remove unused vars.
3120 (flyspell-get-casechars, flyspell-get-not-casechars):
3121 Simplify; Don't bother removing a ] just to add it back.
3122 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3123
d209e2fb 31242012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3125
3126 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3127 New functions.
bd7239f5 3128 (math-function-table): Add support for more C functions.
b1a10716 3129
3f1b25b5
AM
31302012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3131
090bd7cb
JB
3132 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3133 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3134 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3135
b581bb5c
SM
31362012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3139 their respective macro declarations.
3140 * skeleton.el (define-skeleton):
3141 * progmodes/compile.el (define-compilation-mode):
3142 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3143 (define-ibuffer-filter):
3144 * emacs-lisp/generic.el (define-generic-mode):
3145 * emacs-lisp/easy-mmode.el (define-minor-mode)
3146 (define-globalized-minor-mode):
3147 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3148 * emacs-lisp/byte-run.el (defsubst):
3149 * custom.el (deftheme): Add doc-string metadata.
3150
70b8ef8f
SM
31512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3154
b1198e17
SM
31552012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3156
9abdc45d
SM
3157 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3158
b1198e17
SM
3159 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3160 * emacs-lisp/cl-macs.el: Idem.
3161 * emacs-lisp/cl-specs.el: Remove.
3162
4735906a
SM
31632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 Minor renaming of internal CL functions and variables.
3166 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3167 (cl--position): Rename from cl-position.
3168 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3169 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3170 (cl--random-state): Rename from *random-state*.
3171
ac348012
SM
31722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3175 parens around the arg list (bug#11499).
3176
a0a79cde
JL
31772012-05-17 Juri Linkov <juri@jurta.org>
3178
3179 * isearch.el (word-search-regexp, word-search-backward)
3180 (word-search-forward, word-search-backward-lax)
3181 (word-search-forward-lax): Move functions from search.c
3182 (bug#10145, bug#11381).
3183
65034a51
AM
31842012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3185
090bd7cb
JB
3186 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3187 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3188 Delay for otherchars as for normal word components.
65034a51 3189
1a72a195
SM
31902012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * minibuffer.el (completion--sifn-requote): Fix last change.
3193 (minibuffer-local-must-match-filename-map):
3194 Move define-obsolete-variable-alias before its var.
3195
fdb058c2
SM
31962012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3197
c41045e6
SM
3198 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3199
036dfb8b
SM
3200 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3201 behavior.
3202 (completion--string-equal-p): New function.
3203 (completion--twq-all): Use it to get better assertion failure data.
3204
2473256d
SM
3205 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3206 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3207 (shell--requote-argument): New functions.
3208 (shell-completion-vars): Use them.
3209 (shell--parse-pcomplete-arguments): Rename from
3210 shell-parse-pcomplete-arguments.
3211 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3212 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3213 Obey comint-file-name-quote-list.
3214
fdb058c2
SM
3215 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3216 (smie-indent-keyword): Use it.
3217
51fa99f1
SM
32182012-05-14 Stefan Merten <smerten@oekonux.de>
3219
3220 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3221
e18afed7 32222012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3223
3224 * net/rlogin.el (rlogin-mode-map): Fix last change.
3225
e18afed7 32262012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3227
3228 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3229 the following \r\n using a single `process-send-string', since the
3230 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3231 with two `process-send-string's (Bug#11444).
8633b1f4 3232
e18afed7 32332012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3234
fdb058c2
SM
3235 * shell.el (shell-parse-pcomplete-arguments):
3236 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3237
2d21d7f6
WJ
32382012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3239
e18afed7 3240 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3241 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3242 (image-transform-width, image-transform-fit-width): New functions.
3243 (image-transform-properties): Use them.
3244 (image-transform-check-size): New function.
3245 (image-toggle-display-image): Use it (for testing).
3246 (image-transform-set-rotation): Reduce angle mod 360.
3247 Delete obsolete comment.
3248
7102e6d0
WJ
32492012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3250
3251 * image-mode.el: Fix scaling (bug#11399).
3252 (image-transform-resize): Doc fix.
3253 (image-transform-properties): Default scale is 1 and height should
3254 be an integer.
3255
06bc5e6e
SM
32562012-05-13 Johan Bockgård <bojohan@gnu.org>
3257
3258 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3259 than hard-coding `car', to fix misbehavior when moving forward.
3260
0ae03b6a
CY
32612012-05-13 Chong Yidong <cyd@gnu.org>
3262
3263 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3264 (tabulated-list-entries, tabulated-list-padding)
3265 (tabulated-list-sort-key): Make permanent-local.
3266
3267 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3268 (electric-buffer-list): Put electric buffer menu
3269 command descriptions in this docstring, instead of the docstring
3270 of electric-buffer-menu-mode. Code cleanups.
3271 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3272 Electric-buffer-menu-mode.
3273 (electric-buffer-update-highlight): Minor code cleanup.
3274
205a7391
MA
32752012-05-13 Michael Albinus <michael.albinus@gmx.de>
3276
3277 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3278 (Bug#11447)
3279
e5bd0a28
SM
32802012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 Move define-obsolete-variable-alias before the var's definition.
3283 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3284 * tooltip.el (tooltip-hook):
3285 * textmodes/reftex-toc.el (reftex-toc-map):
3286 * textmodes/reftex-sel.el (reftex-select-label-map)
3287 (reftex-select-bib-map):
3288 * textmodes/reftex-index.el (reftex-index-map)
3289 (reftex-index-phrases-map):
3290 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3291 * progmodes/meta-mode.el (meta-mode-map):
3292 * novice.el (disabled-command-hook):
3293 * loadhist.el (unload-hook-features-list):
3294 * frame.el (blink-cursor):
3295 * files.el (find-file-not-found-hooks, write-file-hooks)
3296 (write-contents-hooks):
3297 * emulation/tpu-edt.el (GOLD-map):
3298 * emacs-lock.el (emacs-lock-from-exiting):
3299 * emacs-lisp/generic.el (generic-font-lock-defaults):
3300 * emacs-lisp/chart.el (chart-map):
3301 * dos-fns.el (register-name-alist):
3302 * dired-x.el (dired-omit-files-p):
3303 * desktop.el (desktop-enable):
3304 * cus-edit.el (custom-mode-hook):
3305 * buff-menu.el (buffer-menu-mode-hook):
3306 * bookmark.el (bookmark-read-annotation-text-func)
3307 (bookmark-exit-hooks):
3308 * allout.el (allout-mode-deactivate-hook)
3309 (allout-exposure-change-hook, allout-structure-added-hook)
3310 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3311 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3312 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3313 comes before the corresponding variable's definition.
3314
ac59c2f6
CY
33152012-05-12 Chong Yidong <cyd@gnu.org>
3316
3317 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3318 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3319 (Buffer-menu-mode-map): Bind it.
3320 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3321
dee6c9a3
SM
33222012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3323
2171cea5
SM
3324 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3325 (prolog-upper-case-string, prolog-lower-case-string)
3326 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3327 (prolog-use-smie, prolog-smie-grammar): New vars.
3328 (prolog-smie-forward-token, prolog-smie-backward-token)
3329 (prolog-smie-rules): New funs.
3330 (prolog-comment-indent): Remove.
3331 (prolog-mode-variables): Use default comment indentation instead.
3332 Setup SMIE.
3333 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3334 (prolog-mode): Don't call them any more.
3335 (prolog-electric-colon, prolog-electric-dash)
3336 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3337
aa0382bd
SM
3338 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3339
dbacb4bd
SM
3340 * minibuffer.el (completion--twq-all): Again, allow case differences.
3341
13bdd94c
SM
3342 * term.el: Move keymap initialization code to be more idiomatic.
3343 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3344 (term-terminal-menu): Move initialization into declaration.
3345 (term-escape-char): Let the user set it in her .emacs.
3346
ff46c759
SM
3347 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3348 Provide SMIE-based indentation (not enabled by default yet).
3349 (sh-mode-map): Don't bind electric keys.
3350 Use electric-pair-mode instead of skeleton-pair.
3351 (sh-assignment-regexp): Fit within 80 columns.
3352 (sh-indent-supported): Specify actual shell name instead of boolean.
3353 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3354 (sh-maybe-here-document): Use it. Make obsolete.
3355 (sh-electric-here-document-mode) New minor mode.
3356 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3357 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3358 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3359 (sh-smie-rc-grammar, sh-use-smie): New vars.
3360 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3361 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3362 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3363 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3364 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3365 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3366 (sh-set-shell): Use smie-setup if requested.
3367
dee6c9a3
SM
3368 * term.el (term-set-escape-char): Properly set term-escape-char.
3369 See http://stackoverflow.com/questions/10524656.
3370
9f9aa044
CY
33712012-05-10 Chong Yidong <cyd@gnu.org>
3372
3373 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3374 Use url-generic-parse-url, and handle host names and Windows
3375 filenames properly.
3376 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3377 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3378 URL schemes to work on.
3379 (ffap--toggle-read-only): New function.
3380 (ffap-read-only, ffap-read-only-other-window)
3381 (ffap-read-only-other-frame): Use it.
3382 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3383 necessary for ffap-url-unwrap-remote.
3384
836d29b3
DA
33852012-05-10 Dave Abrahams <dave@boostpro.com>
3386
3387 * cus-start.el (create-lockfiles): Add it.
3388
00fd78ed
CY
33892012-05-09 Chong Yidong <cyd@gnu.org>
3390
3391 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3392 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3393
666b903b 33942012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3395
3396 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3397
666b903b 33982012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3399
3400 * ansi-color.el (ansi-color-process-output): Check for validity of
3401 comint-last-output-start before using it. This avoids a bad
3402 interaction with gdb-mi's input/output buffer.
3403
666b903b 34042012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3405
3406 * files.el (dir-locals-read-from-file):
3407 Mention dir-locals in any error message.
3408
666b903b 34092012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3410
3411 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3412 package (Bug#11410).
3413
f677562b
CY
3414 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3415 variables into description.
3416
666b903b 34172012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3418
3419 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3420 shell-delimiter-argument-list (bug#11348).
3421 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3422
b499d8d0
JB
34232012-05-09 Juanma Barranquero <lekktu@gmail.com>
3424
8f6b6da8
JB
3425 * textmodes/rst.el: Silence byte-compiler warnings.
3426 (rst-re-alist, rst-reset-section-caches): Move around.
3427 (rst-re): Use `characterp', not `char-valid-p'.
3428 (font-lock-beg, font-lock-end): Declare.
3429
4824146a
JB
3430 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3431 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3432
b499d8d0
JB
3433 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3434
ad89bb83
GM
34352012-05-08 Glenn Morris <rgm@gnu.org>
3436
3437 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3438
8bba5a75
SM
34392012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3440
49ed9c8e
SM
3441 * vc/log-edit.el: Add GNU coding standards highlighting.
3442 (log-edit-font-lock-gnu-style)
3443 (log-edit-font-lock-gnu-keywords): New vars.
3444 (log-edit-font-lock-keywords): New fun.
3445 (log-edit-mode): Don't fold case in font-lock.
3446 (log-edit-font-lock-keywords): Do not assume case-folding.
3447
07d00b56
SM
3448 * imenu.el: Misc cleanup. Make docstrings out of comments.
3449 Use lexical-binding.
3450 (imenu--index-alist, imenu--last-menubar-index-alist)
3451 (imenu-menubar-modified-tick): Use defvar-local.
3452 (imenu--split-menu): Remove unused var.
3453 (imenu--cleanup-seen): Declare as global.
3454 (imenu--cleanup): Use dolist.
3455
8bba5a75
SM
3456 * subr.el (defvar-local): Add debug spec and doc-string position.
3457
5075bdb5
GM
34582012-05-08 Glenn Morris <rgm@gnu.org>
3459
090bd7cb 3460 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3461 * language/english.el, language/georgian.el, language/greek.el:
3462 * language/japanese.el, language/khmer.el, language/korean.el:
3463 * language/lao.el, language/misc-lang.el, language/romanian.el:
3464 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3465 * language/thai.el, language/utf-8-lang.el:
3466 Remove no-byte-compile setting.
3467
5075bdb5
GM
3468 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3469
06f679a7
AH
34702012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3471
3472 * progmodes/make-mode.el (makefile-browse):
3473 Remove unnecessary interactive. (Bug#11324)
3474
03794570
GM
34752012-05-07 Glenn Morris <rgm@gnu.org>
3476
af8630f4
GM
3477 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3478
03794570
GM
3479 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3480
f0809a9d
SM
34812012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3482
28be5ce7
SM
3483 * loadup.el: Preload newcomment.el.
3484 * newcomment.el: Move autoload-only code to toplevel.
3485
f0809a9d
SM
3486 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3487 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3488 Handle new :right-align column property.
3489 (tabulated-list-print-col): Idem, plus use `display' text-property to
3490 try and preserve alignment for variable pitch fonts.
3491
1241b724
CY
34922012-05-07 Chong Yidong <cyd@gnu.org>
3493
3494 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3495 (tabulated-list-use-header-line): New var.
3496 (tabulated-list-init-header): Use it.
3497 (tabulated-list-print-fake-header): New function.
3498 (tabulated-list-print): Use it.
3499 (tabulated-list-sort-button-map): Add non-header-line commands.
3500 (tabulated-list-init-header): Add column name property to basic
3501 labels as well.
3502 (tabulated-list-col-sort): Handle non-header-line button case.
3503 (tabulated-list--sort-by-column-name): Fix a corner case.
3504
f0809a9d
SM
3505 * buff-menu.el (list-buffers--refresh):
3506 Handle Buffer-menu-use-header-line.
1241b724 3507
e5f9458f
CY
35082012-05-06 Chong Yidong <cyd@gnu.org>
3509
3510 * buff-menu.el: Convert to Tabulated List mode.
3511 (Buffer-menu-buffer+size-width): Make obsolete.
3512 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3513 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3514 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3515 documentation into docstring of buffer-menu.
3516 (Buffer-menu-toggle-files-only): Add an informative message.
3517 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3518 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3519 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3520 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3521 (Buffer-menu-execute, Buffer-menu-select)
3522 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3523 (Buffer-menu-bury): Use Tabulated List machinery.
3524 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3525 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3526 Delete.
e5f9458f
CY
3527 (list-buffers--refresh): New function.
3528 (list-buffers-noselect): Use it.
3529 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3530 (Buffer-menu--pretty-file-name): New helper functions.
3531
3532 * loadup.el: Preload tabulated-list.
3533
3534 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3535 tabulated-list-sort-column.
3536 (tabulated-list-init-header): Add the initial aligning space even
3537 if tabulated-list-padding is zero.
3538
e129292c
CS
35392012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3540
3541 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3542 whose cdr is not a cons cell correctly (bug#11038).
3543
6632d361
CY
35442012-05-06 Chong Yidong <cyd@gnu.org>
3545
e129292c
CS
3546 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3547 Accept additional plist in column descriptors.
6632d361
CY
3548 (tabulated-list-init-header): Obey it.
3549 (tabulated-list-get-entry): New function.
3550 (tabulated-list-put-tag): Use it. Use string-width instead of
3551 length.
3552 (tabulated-list--column-number): New function.
3553 (tabulated-list-print): Use it.
e129292c
CS
3554 (tabulated-list-print-col): New function.
3555 Set `tabulated-list-column-name' property on each column's text.
6632d361 3556 (tabulated-list-print-entry): Use it.
e129292c
CS
3557 (tabulated-list-delete-entry, tabulated-list-set-col):
3558 New functions.
6632d361
CY
3559 (tabulated-list-sort-column): New command (Bug#11337).
3560
3cc99f68
CY
3561 * buff-menu.el (list-buffers): Move C-x C-b binding from
3562 buff-menu.el to bindings.el.
3563
3564 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3565 :advertised-binding feature.
3566
52b61776
TN
35672012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3568
3569 * progmodes/compile.el (compilation-internal-error-properties):
3570 Calculate start position correctly when end-col is set but
3571 end-line is not (Bug#11382).
3572
ebfe2597
WJ
35732012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3574
3575 * man.el (Man-unindent): Use text-property-default-nonsticky to
3576 prevent untabify from inheriting face properties (Bug#11408).
3577
6d3f7c2f
SM
35782012-05-05 Stefan Merten <smerten@oekonux.de>
3579
3580 * textmodes/rst.el: Major merge with upstream development up to
3581 Docutils SVN r7399 / rst.el V1.2.1.
3582
3583 Clarify maintainership and authors.
3584
3585 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3586 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3587 (rst-official-version, rst-official-cvs-rev, rst-version)
3588 (rst-package-emacs-version-alist): New functions and variables
3589 for version information.
3590
3591 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3592 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3593 (rst-mode-syntax-table, rst-mode): New and corrected functions
3594 and variables representing reStructuredText features.
3595
3596 (rst-re): New function for reStructuredText regexes. Use in
3597 many places.
3598
3599 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3600 (rst-mode-map): Rebind keys.
3601
3602 (rst-mode-lazy, rst-font-lock-keywords)
3603 (rst-font-lock-extend-region)
3604 (rst-font-lock-extend-region-internal)
3605 (rst-font-lock-extend-region-extend)
3606 (rst-font-lock-find-unindented-line-limit)
3607 (rst-font-lock-find-unindented-line-match)
3608 (rst-adornment-level, rst-font-lock-adornment-level)
3609 (rst-font-lock-adornment-match)
3610 (rst-font-lock-handle-adornment-pre-match-form)
3611 (rst-font-lock-handle-adornment-matcher): Major revision of
3612 font-locking. Integrate with other code. Use `jit-lock-mode'.
3613
3614 (rst-preferred-adornments, rst-adjust-hook)
3615 (rst-new-adornment-down, rst-preferred-bullets)
3616 (rst-preferred-bullets, rst-indent, rst-indent-width)
3617 (rst-indent-field, rst-indent-literal-normal)
3618 (rst-indent-literal-minimized, rst-indent-comment): Change,
3619 extend and improve customization.
3620
3621 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3622 (rst-normalize-cursor-position, rst-get-decoration)
3623 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3624 (rst-rstrip, rst-toc-insert-find-delete-contents)
3625 (rst-shift-fill-region, rst-compute-bullet-tabs)
3626 (rst-debug-print-tabs, rst-debug-mark-found)
3627 (rst-shift-region-guts, rst-shift-region-right)
3628 (rst-shift-region-left, rst-use-char-classes)
3629 (rst-font-lock-keywords-function)
3630 (rst-font-lock-indentation-point)
3631 (rst-font-lock-find-unindented-line-begin)
3632 (rst-font-lock-find-unindented-line-end)
3633 (rst-font-lock-find-unindented-line)
3634 (rst-font-lock-adornment-point, rst-font-lock-level)
3635 (rst-adornment-level-alist): Remove functions and variables.
3636
3637 (rst-compare-adornments, rst-get-adornment-match)
3638 (rst-suggest-new-adornment, rst-get-adornments-around)
3639 (rst-adornment-complete-p, rst-get-next-adornment)
3640 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3641 (rst-straighten-adornments): Standardize function names to
3642 use "adornment" instead of "decoration". Correct callers.
3643 Similar standardizing in many places.
3644
3645 (rst-update-section, rst-adjust, rst-promote-region)
3646 (rst-enumerate-region, rst-bullet-list-region)
3647 (rst-repeat-last-character): Correct use of `interactive'.
3648
3649 (rst-classify-adornment, rst-find-all-adornments)
3650 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3651 (rst-find-leftmost-column, rst-repeat-last-character):
3652 Refactor functions.
3653
3654 (rst-find-title-line, rst-reset-section-caches)
3655 (rst-get-adornments-around, rst-adjust-adornment-work)
3656 (rst-arabic-to-roman, rst-roman-to-arabic)
3657 (rst-insert-list-pos, rst-insert-list-new-item)
3658 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3659 New functions.
3660
3661 (rst-all-sections, rst-section-hierarchy)
3662 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3663 New variables.
3664
3665 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3666 configuration instead of only buffer. Change where necessary.
3667
3668 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3669 (rst-shift-region, rst-adaptive-fill): New functions for
3670 indentation and filling.
3671
3672 (rst-comment-line-break, rst-comment-indent)
3673 (rst-comment-insert-comment, rst-comment-region)
3674 (rst-uncomment-region): New functions for handling comments.
3675
3676 (rst-compile): Quote shell arguments.
3677
3678 (rst-compile-pdf-preview, rst-compile-slides-preview):
3679 Delete temporary files after use.
3680
a43f98b3
GM
36812012-05-05 Glenn Morris <rgm@gnu.org>
3682
48176e8b
GM
3683 * calendar/cal-html.el: Optionally include holidays in the output.
3684 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3685 (cal-html-holidays): New option.
3686 (cal-html-css-default): Add holiday entry.
3687 (holiday-in-range): Autoload it.
3688 (cal-html-htmlify-entry): Add optional class argument.
3689 (cal-html-htmlify-list): Add optional holidays argument.
3690 (cal-html-insert-agenda-days): Include holidays in the output.
3691 (cal-html-one-month): Maybe include holidays.
3692
a43f98b3
GM
3693 * calendar/holidays.el (holiday-in-range):
3694 Move here from cal-tex-list-holidays.
3695 * calendar/cal-tex.el (cal-tex-list-holidays):
3696 Make it an obsolete alias for holiday-in-range. Update all callers.
3697
fef9d149 36982012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
3699
3700 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3701 Nextstep.
3702
248da2f4
RW
37032012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3704
3705 * files.el (file-auto-mode-skip): New var.
3706 (set-auto-mode-1): Use it.
3707
f95e9344
SM
37082012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3709
df96ab1e
SM
3710 * repeat.el: Use lexical-binding.
3711 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3712 (repeat-undo-count): Remove.
3713 (repeat):
3714 * progmodes/octave-mod.el (octave-abbrev-start):
3715 * progmodes/f90.el (f90-abbrev-start):
3716 * face-remap.el (text-scale-adjust):
3717 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3718
5342bb06
SM
3719 * emacs-lisp/pcase.el (pcase--let*): New function.
3720 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3721 a bit more.
3722 (pcase--split-pred): Be more clever about ruling out overlap between
3723 a predicate and some constant pattern.
3724 (pcase--q1): Use `null' instead of (eq foo nil).
3725
f95e9344
SM
3726 * subr.el (setq-local, defvar-local): New macros.
3727 (kbd): Redefine as an alias.
3728 (with-selected-window): Leave unrelated frames alone.
3729 (set-temporary-overlay-map): New function.
3730
71873e2b
SM
37312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * subr.el (user-error): New function.
3734 * window.el (switch-to-buffer):
3735 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3736 (smerge-match-conflict):
3737 * simple.el (previous-matching-history-element)
3738 (next-matching-history-element, goto-history-element, undo-more)
3739 (undo-start):
3740 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3741 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3742 (next-file, tags-loop-scan, list-tags, complete-tag):
3743 * progmodes/compile.el (compilation-loop):
3744 * mouse.el (mouse-minibuffer-check):
3745 * man.el (Man-bgproc-sentinel, Man-goto-page):
3746 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3747 (Info-history-forward, Info-follow-reference, Info-menu)
3748 (Info-extract-menu-item, Info-extract-menu-counting)
3749 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3750 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3751 (Info-next-reference, Info-prev-reference, Info-index)
3752 (Info-index-next, Info-follow-nearest-node)
3753 (Info-copy-current-node-name):
3754 * imenu.el (imenu--make-index-alist)
3755 (imenu-default-create-index-function, imenu-add-to-menubar):
3756 * files.el (basic-save-buffer, recover-file):
3757 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3758 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3759 (checkdoc-message-text, checkdoc-defun):
3760 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3761 * cus-edit.el (customize-changed-options, customize-rogue)
3762 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3763 (custom-variable-mark-to-reset-standard)
3764 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3765 (custom-file):
3766 * completion.el (check-completion-length):
3767 * comint.el (comint-search-arg)
3768 (comint-previous-matching-input-string-position)
3769 (comint-previous-matching-input)
3770 (comint-replace-by-expanded-history-before-point, comint-send-input)
3771 (comint-copy-old-input, comint-backward-matching-input)
3772 (comint-goto-process-mark, comint-set-process-mark):
3773 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3774 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3775
8a61ee22
SM
37762012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3777
66408d1e
SM
3778 * dabbrev.el (dabbrev--ignore-case-p): New function.
3779 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3780 Use it.
3781
8a61ee22
SM
3782 * files.el (automount-dir-prefix): Mark as obsolete.
3783
3c74813a
GM
37842012-05-04 Glenn Morris <rgm@gnu.org>
3785
3786 * patcomp.el, play/bruce.el: Move to obsolete/.
3787
0bfcf5c5
PE
37882012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3789
3790 Fix minor Y10k bugs.
3791 * arc-mode.el (archive-unixdate):
3792 * autoinsert.el (auto-insert-alist):
3793 * calc/calc-forms.el (math-this-year):
3794 * emacs-lisp/copyright.el (copyright-current-year)
3795 (copyright-update-year, copyright):
3796 * tar-mode.el (tar-clip-time-string):
3797 * time.el (display-time-update):
3798 Don't assume years have 4 digits.
3799
78f3273a
CY
38002012-05-04 Chong Yidong <cyd@gnu.org>
3801
3802 * dos-w32.el (file-name-buffer-file-type-alist)
3803 (direct-print-region-use-command-dot-com):
3804 * ffap.el (ffap-menu-regexp):
3805 * find-file.el (ff-special-constructs):
3806 * follow.el (follow-debug):
3807 * forms.el (forms--debug):
3808 * iswitchb.el (iswitchb-all-frames):
3809 * ido.el (ido-all-frames):
3810 * emacs-lisp/timer.el (timer-max-repeats):
3811 * mail/feedmail.el (feedmail-mail-send-hook)
3812 (feedmail-mail-send-hook-queued):
3813 * mail/footnote.el (footnote-signature-separator):
3814 * mail/mailabbrev.el (mail-alias-separator-string)
3815 (mail-abbrev-mode-regexp):
3816 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3817 * progmodes/idlwave.el (idlwave-libinfo-file)
3818 (idlwave-default-completion-case-is-down)
3819 (idlwave-library-routines): Convert defvars to defcustoms.
3820
3821 * mail/rmail.el (rmail-decode-mime-charset):
3822 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3823 (idlwave-shell-fix-inserted-breaks)
3824 (idlwave-shell-activate-alt-keybindings)
3825 (idlwave-shell-use-breakpoint-glyph):
3826 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3827
f7ae6719
SM
38282012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3831
47086495
WS
38322012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3833
3834 * progmodes/verilog-mode.el (font-lock-keywords):
3835 Fix mis-highligting auto. Reported by Craig Barner.
3836 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3837 defines from global name space. Reported by Dan Dever.
3838 (verilog-auto-reset, verilog-auto-reset-widths)
3839 (verilog-auto-tieoff): Support using unbased numbers for
3840 AUTORESET and AUTOTIEOFF.
3841 (verilog-submit-bug-report): Update variable list.
3842 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3843 parenthesis from not matching. Reported by Michael Rytting.
3844 (verilog-auto-template-lint): Fix hash error when linting modules
3845 with no used templates.
3846 (verilog-warn, verilog-warn-error)
3847 (verilog-warn-fatal): When non-interactive report multiple
3848 warnings before exiting. Suggested by Brad Dobbie.
3849 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3850 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3851 to report unused template errors. Reported by Brad Dobbie.
3852 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3853 nets, bug438. Reported by Vns Blore.
3854 (verilog-auto-inout-module, verilog-auto-reg)
3855 (verilog-read-decls, verilog-read-sub-decls-sig)
3856 (verilog-signals-edit-wire-reg, verilog-signals-with):
3857 Fix passing of Verilog data types in ANSI input/output ports
3858 such as "output logic" into the AUTOs. Special case "wire" and
3859 "reg" for backwards compatibility presuming Verilog 2001.
3860 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3861 (verilog-preprocess): Fix replication of preprocess output.
3862 Reported by Brad Dobbie.
3863 (verilog-auto-inst-interfaced-ports):
3864 Create verilog-auto-inst-interfaced-ports, bug429.
3865 Reported by Julian Gorfajn.
3866 (verilog-after-save-font-hook)
3867 (verilog-before-save-font-hook): New variable.
3868 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3869 (verilog-save-font-mods): Wrap disabling fontification, reported
3870 by David Rogoff.
3871 (verilog-do-indent, verilog-pretty-declarations-auto)
3872 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3873 Reported by Pierre-David Pfister.
3874 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3875 of class declarations, bug292. Reported by Kevin Heilman.
3876 (verilog-read-decls): Fix 'parameter type' not appearing in
3877 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3878 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3879 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3880 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3881 Reported by David Kravitz.
3882
38832012-05-03 Michael McNamara <mac@mail.brushroad.com>
3884
3885 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3886 assignment with tests in ifs and for loops.
3887 (verilog-extended-complete-re, verilog-complete-reg): Change so
3888 that DPI inport functions don't look like fuction declarations.
3889 (verilog-pretty-expr): Don't line up assignment
3890 operations to the test and increment in if and for loops
3891 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 3892 that DPI inport functions don't look like fuction declarations.
47086495 3893
2e51d4b5
KH
38942012-05-03 Kenichi Handa <handa@m17n.org>
3895
3896 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 3897 decoding, and show a warning message without signaling an error
2e51d4b5
KH
3898 (Bug#11282).
3899
2bd785a2
SM
39002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * emacs-lisp/bytecomp.el
3903 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3904 since cconv.el might have introduced :fun-body, internal-make-closure,
3905 and friends for bytecomp to handle (bug#11391).
3906 * custom.el (defcustom): Avoid ((λ ..) ..).
3907
99d27583
SM
39082012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3911
55a71479
JB
39122012-05-02 Juanma Barranquero <lekktu@gmail.com>
3913
3914 * notifications.el (dbus-debug):
3915 * term/linux.el (gpm-mouse-enable):
3916 * term/screen.el (xterm-register-default-colors): Declare.
3917
7b97c764
CY
39182012-05-02 Chong Yidong <cyd@gnu.org>
3919
2bc356d7
CY
3920 * cus-start.el (gc-cons-percentage, exec-suffixes)
3921 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3922 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3923 (make-cursor-line-fully-visible, void-text-area-pointer)
3924 (font-list-limit): Add customization data.
3925
7b97c764
CY
3926 * allout.el (allout-exposure-change-functions)
3927 (allout-structure-added-functions)
3928 (allout-structure-deleted-functions)
3929 (allout-structure-shifted-functions): Rename abnormal hooks from
3930 *-hook, and convert to defcustoms.
5d3385a0
JB
3931 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3932 Convert to defcustoms.
7b97c764
CY
3933 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3934
3935 * allout-widgets.el: Hook callers changed.
3936
90207a15 39372012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
3938
3939 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3940 the yanked message in preference to the default value of
3941 buffer-file-coding-system.
3942
90207a15 39432012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 3944
5d3385a0
JB
3945 * window.el (display-buffer--action-function-custom-type):
3946 Fix entry.
d9558cad 3947
90207a15 39482012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
3949
3950 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
3951
d80ac57b
GM
39522012-05-01 Glenn Morris <rgm@gnu.org>
3953
976f7668
GM
3954 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
3955
beb83b5a
GM
3956 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
3957
d80ac57b
GM
3958 * cus-edit.el (custom-variable-documentation): Simplify with format.
3959
b593d6a9 39602012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 3961 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
3962
3963 * simple.el (suggest-key-bindings, execute-extended-command):
3964 Move from keyboard.c.
3965
782fbf2a
CY
39662012-05-01 Chong Yidong <cyd@gnu.org>
3967
3968 * follow.el: Eliminate advice.
3969 (set-process-filter, process-filter, sit-for): Advice deleted.
3970 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
3971 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
3972 Vars deleted.
782fbf2a
CY
3973 (follow-auto): Use a :set function.
3974 (follow-mode): Rewritten. Don't advise process filters.
3975 (follow-switch-to-current-buffer-all, follow-scroll-up)
3976 (follow-scroll-down): Assume follow-mode is bound.
3977 (follow-comint-scroll-to-bottom)
3978 (follow-align-compilation-windows): New functions.
3979 (follow--window-sorter): New function.
3980 (follow-all-followers): Use it to explicitly sort windows by their
3981 positions; don't make assumptions about next-window order.
3982 (follow-windows-start-end, follow-delete-other-windows-and-split)
3983 (follow-calc-win-start): Doc fix.
3984 (follow-windows-aligned-p, follow-select-if-visible): Don't call
3985 vertical-motion unnecessarily.
3986 (follow-adjust-window): New function.
3987 (follow-post-command-hook): Use it.
3988 (follow-call-set-process-filter, follow-call-process-filter)
3989 (follow-intercept-process-output, follow-tidy-process-filter-alist)
3990 (follow-stop-intercept-process-output, follow-generic-filter):
3991 Functions deleted.
3992 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
3993 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
3994 New functions, replacing advice on scroll-bar-* commands.
87233a14 3995 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
3996
3997 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
3998 (comint-postoutput-scroll-to-bottom): Use it.
3999 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4000
290af740
GM
40012012-05-01 Glenn Morris <rgm@gnu.org>
4002
4003 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4004 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4005 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4006 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4007 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4008 Remove no-byte-compile setting.
4009
6eac8dc9
SM
40102012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4013 all-completions code to not return a number in the last cdr.
4014
9cc7819c
LL
40152012-04-30 Leo Liu <sdl.web@gmail.com>
4016
4017 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4018 read-only error.
4019
c93b886f
CY
40202012-04-29 Chong Yidong <cyd@gnu.org>
4021
4022 * follow.el (follow-calc-win-end): Rewrite to handle partial
4023 screen lines correctly (Bug#8390).
4024 (follow-avoid-tail-recenter): Minor cleanup.
4025
8b6c19f4
SM
40262012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 Avoid the obsolete `assoc' package.
4029 * speedbar.el (speedbar-refresh): Avoid adelete.
4030 (speedbar-file-lists): Simplify and avoid aput.
4031 * man.el (Man--sections, Man--refpages): New vars, replacing
4032 Man-sections-alist and Man-refpages-alist.
4033 (Man-build-section-alist, Man-build-references-alist):
4034 Use them; avoid aput.
4035 (Man--last-section, Man--last-refpage): New vars.
4036 (Man-follow-manual-reference): Use them.
4037 Use the `default' arg of completing-read.
4038 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4039
c5bb7569
CY
40402012-04-27 Chong Yidong <cyd@gnu.org>
4041
d1d2e2e8
CY
4042 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4043
15cd8efd
CY
4044 * startup.el (x-apply-session-resources): New function.
4045
4046 * term/ns-win.el (ns-initialize-window-system):
4047 * term/w32-win.el (w32-initialize-window-system):
4048 * term/x-win.el (x-initialize-window-system): Use it to properly
4049 set menu-bar-mode and other vars from X resources, even if the
4050 initial frame is not a window-system frame (Bug#2299).
4051
c5bb7569
CY
4052 * subr.el (read-key): Avoid running filter function when setting
4053 up temporary tool bar entries (Bug#9922).
4054
a8e7d6d7 40552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4056
4057 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4058 (Bug#11344)
4059
a8e7d6d7 40602012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4061
4062 * select.el (xselect--encode-string): New function, split from
4063 xselect-convert-to-string.
4064 (xselect-convert-to-string): Use it.
4065 (xselect-convert-to-filename, xselect-convert-to-os)
4066 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4067 returned strings are properly encoded (Bug#11315).
4068
a8e7d6d7 40692012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4070
4071 * simple.el (delete-active-region): Move to killing custom group.
4072
a8e7d6d7 40732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4074
4075 * progmodes/which-func.el (which-func-current): Quote %
4076 characters for mode-line processing.
4077
578c1d4b 40782012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4079
4080 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4081 reaching eob (Bug#11286).
4082
a8e7d6d7 40832012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4084
4085 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4086 (gdb): Make it buffer-local and init to zero.
4087 (gdb-control-commands-regexp): New variable.
4088 (gdb-send): Don't wrap in "-interpreter-exec console" if
4089 gdb-control-level is positive. Increment gdb-control-level
4090 whenever the command matches gdb-control-commands-regexp, and
4091 decrement it each time the command is "end". (Bug#11279)
4092
a8e7d6d7 40932012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4094
4095 * window.el (adjust-window-trailing-edge, enlarge-window)
4096 (shrink-window, window-resize):
4097 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4098 windows (Bug#11276).
4099
b3608390
CY
41002012-04-27 Chong Yidong <cyd@gnu.org>
4101
4102 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4103 fix "missing prefix" warning. All callers changed.
b3608390 4104
797e6e88
SM
41052012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * emacs-lisp/assoc.el: Move to obsolete/.
4108
e95a67dc
SM
41092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4110
657c21e4 4111 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4112
4113 * term/ns-win.el (ns-define-service):
4114 * progmodes/pascal.el (pascal-goto-defun):
4115 * progmodes/js.el (js--read-tab):
4116 * progmodes/etags.el (tags-lazy-completion-table):
4117 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4118 * emacs-lisp/ewoc.el (ewoc--wrap):
4119 * emacs-lisp/assoc.el (aput, adelete, amake):
4120 * doc-view.el (doc-view-convert-current-doc):
4121 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4122
cb3e7ae0
CY
41232012-04-26 Chong Yidong <cyd@gnu.org>
4124
dce04f7f
CY
4125 * image.el (image-type-from-buffer): Only return supported image
4126 type (Bug#9045).
4127
cb3e7ae0
CY
4128 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4129 value, for symmetry with diff-end-of-hunk.
4130 (diff-split-hunk, diff-find-source-location)
4131 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4132 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4133 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4134 compute the relevant hunk or file properly (Bug#6005).
4135 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4136
0d42eb3e
SM
41372012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * vc/vc-mtn.el:
4140 * vc/vc-hg.el:
4141 * vc/vc-git.el:
4142 * vc/vc-dir.el:
4143 * vc/vc-cvs.el:
4144 * vc/vc-bzr.el:
4145 * vc/vc-arch.el:
4146 * vc/vc.el: Replace lexical-let by lexical-binding.
4147 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4148 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4149 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4150
f08ae1c9
CY
41512012-04-26 Chong Yidong <cyd@gnu.org>
4152
8b71081d
CY
4153 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4154 (diff-mode-shared-map): Bind it to / and [remap undo].
4155
f08ae1c9
CY
4156 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4157 (ediff-window-setup-function): Use it as the default, to set up
4158 windows based on whether the current frame is graphical (Bug#2138).
4159 (ediff-choose-window-setup-function-automatically): Make obsolete.
4160
4161 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4162
ef24141c
SM
41632012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4164
cc356a5d
SM
4165 * ffap.el: Remove old code for obsolete package.
4166 (ffap-complete-as-file-p): Remove.
4167
b4ff4f1f
SM
4168 Use completion-table-with-quoting for comint and pcomplete.
4169 * comint.el (comint--unquote&requote-argument)
4170 (comint--unquote-argument, comint--requote-argument): New functions.
4171 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4172 (comint-quote-filename): Use regexp-opt-charset.
4173 (comint--common-suffix, comint--common-quoted-suffix)
4174 (comint--table-subvert): Remove.
4175 (comint-unquote-function, comint-requote-function): New vars.
4176 (comint--complete-file-name-data): Use them with
4177 completion-table-with-quoting.
4178 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4179 * pcomplete.el (pcomplete-arg-quote-list)
4180 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4181 (pcomplete-unquote-argument-function): Default to non-nil.
4182 (pcomplete-unquote-argument): Simplify.
4183 (pcomplete--common-quoted-suffix): Remove.
4184 (pcomplete-requote-argument-function): New var.
4185 (pcomplete--common-suffix): New function.
4186 (pcomplete-completions-at-point): Use completion-table-with-quoting
4187 and completion-table-subvert.
4188
79c4eeb4
SM
4189 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4190 (minibuffer--double-dollars): Preserve properties.
4191 (completion--sifn-requote): New function.
4192 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4193
ef24141c
SM
4194 * minibuffer.el: Add support for completion of quoted/escaped data.
4195 (completion-table-with-quoting, completion-table-subvert): New funs.
4196 (completion--twq-try, completion--twq-all): New functions.
4197 (completion--nth-completion): New function.
4198 (completion-try-completion, completion-all-completions): Use it.
4199
784e7d6e
LL
42002012-04-25 Leo Liu <sdl.web@gmail.com>
4201
dd2ac746
SM
4202 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4203 Use compilation-message if available to find real filename.
784e7d6e 4204
07875ee7
CY
42052012-04-25 Chong Yidong <cyd@gnu.org>
4206
4207 * vc/diff-mode.el (diff-setup-whitespace): New function.
4208 (diff-mode): Use it.
4209
4210 * vc/diff.el (diff-sentinel):
4211 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4212 Whitespace mode variables based on diff style (Bug#8612).
4213
5055880d
LL
42142012-04-25 Leo Liu <sdl.web@gmail.com>
4215
daf75653
LL
4216 * progmodes/python.el (python-send-region): Add suffix .py to the
4217 temp file.
4218
5055880d
LL
4219 * files.el (auto-mode-alist): Use javascript-mode instead.
4220
db9b177b
AH
42212012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4222
ef24141c 4223 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4224
090bd7cb 4225 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4226 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4227 references, see Bug#9.
ef24141c 4228 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4229 when receiving a fault reply.
ef24141c 4230 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4231
090bd7cb 4232 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4233 (soap-inspect-simple-type): New function.
db9b177b 4234
090bd7cb 4235 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4236 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4237 (soap-decode-basic-type, soap-encode-basic-type):
4238 support unsignedInt and double basic types.
db9b177b 4239 (soap-resolve-references-for-simple-type)
ef24141c
SM
4240 (soap-parse-simple-type, soap-encode-simple-type): New function.
4241 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4242
090bd7cb 4243 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4244 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4245 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4246 the local name of "soapenc:Array".
4247 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4248 decoding integer, byte and anyURI xsd types.
4249
1fc6097b
CY
42502012-04-25 Chong Yidong <cyd@gnu.org>
4251
4252 * cus-edit.el (custom-buffer-create-internal): Update header text.
4253
afc6df87
EZ
42542012-04-25 Eli Zaretskii <eliz@gnu.org>
4255
4256 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4257 settings on 'system-type', not on 'window-system'. On MS-Windows,
4258 set interactive-mode on in GDB.
4259
dfbd787f
SM
42602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4263 (ruby-syntax-propertize-regexp): Remove.
4264 (ruby-syntax-propertize-function): Split regexp into chunks.
4265 Match following code directly.
4266
85222d44
DG
42672012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4268
51a8ea2a
DG
4269 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4270 (ruby-syntax-propertize-regexp): New function.
4271 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4272 by a special keyword.
4273
85222d44
DG
4274 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4275 (ruby-syntax-general-delimiters-goto-beg)
4276 (ruby-syntax-propertize-general-delimiters): New functions.
4277 (ruby-syntax-propertize-function): Use them to handle GDL.
4278 (ruby-font-lock-keywords): Move old handling of GDL...
4279 (ruby-font-lock-syntactic-keywords): .. to here.
4280 (ruby-calculate-indent): Adjust indentation for GDL.
4281
b613912b
MA
42822012-04-24 Michael Albinus <michael.albinus@gmx.de>
4283
b5380639
MA
4284 * notifications.el (top): Remove unneeded declarations.
4285 (notifications-specification-version): Change to "1.2".
e43042fe 4286 (notifications-interface, notifications-notify-method)
b613912b
MA
4287 (notifications-close-notification-method): Fix docstring.
4288 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4289 (notifications-notify): Add :action-items, :resident and
4290 :transient hints. Change "image_data" to "image-data" and
4291 "image_path" to "image-path".
b613912b
MA
4292 (notifications-get-capabilities): New defun.
4293
257440aa
LL
42942012-04-24 Leo Liu <sdl.web@gmail.com>
4295
4296 * progmodes/python.el: Move hideshow setup to the end.
4297
b1bac16e
MR
42982012-04-24 Martin Rudalics <rudalics@gmx.at>
4299
4300 * window.el (handle-select-window): Clear echo area since this is
4301 no more done by read_char (Bug#11304).
4302
d81bd059
SM
43032012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4306 and `/ M' to filter-derived-mode.
4307 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4308 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4309 (ibuffer-mark-by-mode): Use default rather than initial-input.
4310 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4311
c4cf6d91
IA
43122012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4313
4314 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4315 (ibuffer-filter-by-derived-mode): New filter.
4316 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4317
7511ded8
CY
43182012-04-23 Andreas Politz <politza@fh-trier.de>
4319
4320 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4321
775c916b
CY
43222012-04-23 Chong Yidong <cyd@gnu.org>
4323
4324 * cus-edit.el (customize-apropos, customize-apropos-options):
4325 Disable matching of non-option variables (Bug#11176).
4326 (customize-option, customize-option-other-window)
4327 (customize-changed-options): Doc fix.
4328 (customize-apropos-options, customize-apropos-faces)
4329 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4330
4331 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4332 Fix word list splitting (Bug#11132).
46c71e23
CY
4333 (apropos-symbol, apropos-keybinding, apropos-label)
4334 (apropos-property, apropos-function-button)
4335 (apropos-variable-button, apropos-misc-button): New faces.
4336 (apropos-symbol-face, apropos-keybinding-face)
4337 (apropos-label-face, apropos-property-face, apropos-match-face):
4338 Variables removed (Bug#8396).
4339 (apropos-library-button, apropos-format-plist, apropos-print)
4340 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4341
2df41f9c
MA
43422012-04-23 Michael Albinus <michael.albinus@gmx.de>
4343
4344 * net/xesam.el (xesam-mode-map): Use let-bound map in
4345 initialization. (Bug#11292)
4346
da00640a
AM
43472012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4348
4349 Preserve ispell session localwords when switching back to
4350 original buffer.
4351
090bd7cb
JB
4352 * textmodes/ispell.el (ispell-buffer-session-localwords):
4353 New buffer-local variable to hold buffer session localwords.
ed9265fc 4354 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4355 localwords.
4356 (ispell-command-loop, ispell-change-dictionary)
4357 (ispell-buffer-local-words): Preserve session localwords when
4358 needed.
4359
090bd7cb
JB
4360 * textmodes/flyspell.el (flyspell-process-localwords)
4361 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4362
f621ccf5
AM
43632012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4364
090bd7cb
JB
4365 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4366 using obsolete `translation-table-for-input'.
ef24141c
SM
4367 (ispell-word, ispell-process-line, ispell-complete-word):
4368 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4369
c2d1019e
CY
43702012-04-22 Chong Yidong <cyd@gnu.org>
4371
4372 * cus-edit.el (custom-variable-menu)
4373 (custom-variable-reset-saved, custom-face-menu)
4374 (custom-face-reset-saved): If there is no saved value, make the
4375 "reset-saved" operation bring back the default (Bug#9509).
4376 (custom-face-state): Properly detect themed faces.
4377
eeddc531
CY
4378 * faces.el (face-spec-set): Stop supporting deprecated form of
4379 third arg.
4380
dcbf5805
MA
43812012-04-22 Michael Albinus <michael.albinus@gmx.de>
4382
4383 Move functions from C to Lisp. Make non-blocking method calls
4384 the default. Implement further D-Bus standard interfaces.
4385
ef24141c
SM
4386 * net/dbus.el (dbus-message-internal): Declare function.
4387 Remove unneeded function declarations.
dcbf5805
MA
4388 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4389 (dbus-message-type-method-return, dbus-message-type-error)
4390 (dbus-message-type-signal): Declare variables. Remove local
4391 definitions.
4392 (dbus-interface-dbus, dbus-interface-peer)
4393 (dbus-interface-introspectable, dbus-interface-properties)
4394 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4395 Adapt docstring.
4396 (dbus-interface-objectmanager): New defconst.
4397 (dbus-call-method, dbus-call-method-asynchronously)
4398 (dbus-send-signal, dbus-method-return-internal)
4399 (dbus-method-error-internal, dbus-register-service)
4400 (dbus-register-signal, dbus-register-method): New defuns, moved
4401 from dbusbind.c
4402 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4403 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4404 New defuns.
dcbf5805
MA
4405 (dbus-call-method-non-blocking): Make it an obsolete function.
4406 (dbus-unregister-object, dbus-unregister-service)
4407 (dbus-handle-event, dbus-register-property)
4408 (dbus-property-handler): Obey the new structure of
4409 `bus-registered-objects'.
4410 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4411 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4412 Use `dbus-call-method'.
4413
cf20dee0
CY
44142012-04-22 Chong Yidong <cyd@gnu.org>
4415
4416 * cus-edit.el (custom-commands, custom-reset-menu)
4417 (Custom-reset-standard): Tweak labels.
4418 (custom-reset-button-menu): Change default to t.
4419 (custom-buffer-create-internal): For the custom-reset-button-menu
4420 case, put the revert button first.
4421 (custom-group-subtitle): New face.
4422 (custom-group-value-create): Align docstring to a specific column.
4423
4424 * wid-edit.el (widget-documentation-link-add): Don't handle
4425 indentation in this function.
4426 (widget-documentation-string-indent-to): New function.
4427 (widget-documentation-string-value-create): Use it.
4428
4429 * autorevert.el (auto-revert):
4430 * epg-config.el (epg):
4431 * ibuffer.el (ibuffer):
4432 * mpc.el (mpc):
4433 * ses.el (ses):
4434 * eshell/eshell.el (eshell):
4435 * net/ange-ftp.el (ange-ftp):
4436 * progmodes/ebnf2ps.el (postscript):
4437 * progmodes/flymake.el (flymake):
4438 * progmodes/prolog.el (prolog):
4439 * progmodes/verilog-mode.el (verilog-mode):
4440 * progmodes/which-func.el (which-func):
4441 * term/xterm.el (xterm):
4442 * textmodes/picture.el (picture):
4443 * textmodes/tildify.el (tildify):
4444 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4445 customization buffers.
4446
583e23bd
AM
44472012-04-22 Alan Mackenzie <acm@muc.de>
4448
4449 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4450 Adding a ) can hide the resulting (..) from searches. Fix it.
4451 Bound the backward search to the position of the existing (.
4452
7dd51bf1
JB
44532012-04-21 Juanma Barranquero <lekktu@gmail.com>
4454
4455 * progmodes/verilog-mode.el (verilog-mode): Check whether
4456 which-func-modes is t before adding verilog-mode.
4457 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4458
d64a438f
LL
44592012-04-21 Leo Liu <sdl.web@gmail.com>
4460
7dd51bf1 4461 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4462
081e8d65
MV
44632012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4464
4465 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4466 filling of the last column of a table (Bug#5635).
4467 (woman-find-next-control-line): New arg, specifying an additional
4468 regexp component for the control line.
4469 (woman2-roff-buffer): Use it.
4470 (woman-break-table): New function.
4471 (woman2-TS): Use it.
4472
44732012-04-21 Chong Yidong <cyd@gnu.org>
4474
4475 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4476 (woman-horizontal-escapes, woman-negative-vertical-space)
4477 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4478 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4479
ed571ccb
SM
44802012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * minibuffer.el (completion-file-name-table): Complete user names.
4483
39773899
LL
44842012-04-20 Leo Liu <sdl.web@gmail.com>
4485
4486 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4487 and pcase-let*.
4488
de6ff46d
CY
44892012-04-20 Chong Yidong <cyd@gnu.org>
4490
4491 * server.el (server-execute): Respect initial-buffer-choice if it
4492 is a string and there are no files to open (Bug#2825).
4493 (server-create-window-system-frame, server-create-tty-frame):
4494 Don't switch buffers here.
2d0e8e61
CY
4495 (server-process-filter): Only try to open a window system frame if
4496 compiled with graphical support (Bug#8314).
de6ff46d 4497
54071013
DN
44982012-04-20 Dan Nicolaescu <dann@gnu.org>
4499
4500 * battery.el (battery-echo-area-format): Display remaining time
4501 for sysfs backend too (Bug#11269).
4502 (battery-linux-sysfs): Fix conditional for the charge.
4503
f30d612a
CY
45042012-04-20 Chong Yidong <cyd@gnu.org>
4505
c07a4c0b 4506 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4507 (gdb-inferior-io--init-proc): New function.
4508 (gdb-init-1): Use it.
4509 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4510 responsible for allocating a new pty and hooking it to gdb when
4511 the old pty gets an EIO due to process exit.
4512 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4513 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4514 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4515
2116e93c
EZ
45162012-04-20 Eli Zaretskii <eliz@gnu.org>
4517
4518 * window.el (window-min-size, window-sizable, window-min-delta)
4519 (window-max-delta, window--resizable, window-resizable)
4520 (window-total-size, window-full-height-p, window-full-width-p)
4521 (window-in-direction, window--resize-mini-window, window-resize)
4522 (window--resize-child-windows-normal)
4523 (window--resize-child-windows, window--resize-siblings)
4524 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4525 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4526
c07a4c0b 45272012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4528
ef24141c
SM
4529 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4530 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4531 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4532 pty process (Bug#11273).
4533 (gdb-update): New arg to suppress talking to the gdb process.
4534 (gdb-done-or-error): Use it.
4535 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4536 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4537 sentinel not being called.
4538
4539 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4540
d02766ab
CY
4541 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4542
c07a4c0b 45432012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4544
4545 * net/network-stream.el (open-network-stream): Doc fix.
4546
c07a4c0b 45472012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4548
4549 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4550
c07a4c0b 45512012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4552
4553 Ensure searching for keywords is case sensitive.
4554
4555 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4556 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4557 (c-defun-name, c-mark-function, c-cpp-define-name)
4558 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4559 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4560
ef24141c
SM
4561 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4562 Bind case-fold-search to nil.
f0f6bc35 4563
c07a4c0b 45642012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4565
4566 * mail/sendmail.el (mail-bury): Call return action with the right
4567 Rmail buffer (Bug#11242).
4568
9a864fa2
CY
4569 * server.el (server-process-filter): Handle corner case where both
4570 tty and nowait options are present (Bug#11102).
4571
539aa513
EZ
45722012-04-20 Eli Zaretskii <eliz@gnu.org>
4573
4574 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4575 (top level): Put into the executable the ident-style '$Id:' tag on
4576 windows-nt as well.
539aa513 4577
cfc7d5da
SM
45782012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * electric.el (electric-indent-post-self-insert-function): Check that
4581 electric-indent-mode is enabled in current buffer.
4582
5b01685c
JB
45832012-04-19 Juanma Barranquero <lekktu@gmail.com>
4584
4585 * imenu.el (imenu-progress-message): Restore; it is "used" in
4586 erc/erc-imenu.el and net/snmp-mode.el.
4587
4d6769e1
JB
45882012-04-19 Juanma Barranquero <lekktu@gmail.com>
4589
4590 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4591 (mouse-avoidance-nudge-mouse): Remove unused binding.
4592
4593 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4594
4595 * descr-text.el (describe-char):
4596 * progmodes/python.el (python-describe-symbol):
4597 Don't call `toggle-read-only', set `buffer-read-only'.
4598
4599 * imenu.el (imenu-default-goto-function): Mark unused args.
4600 (imenu-progress-message): Remove obsolete macro; all callers changed.
4601
4602 * subr.el (keymap-canonicalize): Remove unused binding.
4603 (read-passwd): Mark unused arg.
4604
4605 * tutorial.el (tutorial--display-changes): Remove unused binding.
4606 (tutorial--save-tutorial-to): Remove unused variable.
4607
4608 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4609 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4610 (package-generate-autoloads, package-menu--generate)
4611 (package-menu--find-upgrades): Remove unused bindings.
4612
4613 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4614 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4615 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4616 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4617 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4618 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4619 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4620 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4621 (cua-delete-char-rectangle): Mark unused args.
4622 (cua-align-rectangle): Remove unused binding.
4623
4624 * mail/rmail.el (compilation--message->loc)
4625 (epa--find-coding-system-for-mime-charset): Declare.
4626
4627 * net/dbus.el (dbus-register-service): Declare.
4628 (dbus-name-owner-changed-handler): Remove unused binding.
4629
4630 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4631 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4632 (nxml-scan-backward-within): Mark unused arg.
4633 (nxml-dynamic-markup-word): Remove unused binding.
4634
4635 * mouse.el (mouse-menu-major-mode-map):
4636 * emacs-lisp/authors.el (authors-scan-change-log)
4637 (authors-add-to-author-list):
4638 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4639 * emacs-lisp/smie.el (smie-auto-fill):
4640 * mail/sendmail.el (mail-bury):
4641 * mail/unrmail.el (unrmail):
4642 * net/tls.el (open-tls-stream):
4643 * textmodes/picture.el (picture-mouse-set-point):
4644 Remove unused bindings.
4645
8c8fc5df
MA
46462012-04-19 Michael Albinus <michael.albinus@gmx.de>
4647
4648 * net/tramp.el (tramp-action-password): Let-bind
4649 `enable-recursive-minibuffers' to t.
4650
a77b0ac9
SS
46512012-04-18 Sam Steingold <sds@gnu.org>
4652
4653 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4654 instead of 'string to accommodate values like [f11].
4655 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4656 * progmodes/gdb-mi.el: Likewise.
4657
12a106a9
LL
46582012-04-18 Leo Liu <sdl.web@gmail.com>
4659
4660 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4661 current buffer.
4662 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4663 LOCAL is nil.
4664
bc6494ef
CY
46652012-04-18 Chong Yidong <cyd@gnu.org>
4666
4667 * simple.el (line-move): Use forward-line if in batch mode
4668 (Bug#11053).
4669
c09c46b2
CS
46702012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4671
4672 * files.el (after-find-file): Do not try to add a final newline if
4673 the buffer is read-only (Bug#11156).
4674
5f6530ea
RS
46752012-04-17 Richard Stallman <rms@gnu.org>
4676
4677 * mail/rmail.el (rmail-start-mail):
4678 Pass (rmail-mail-return...) for the return-action.
4679 Pass (rmail-yank-current-message...) for the yank-action.
4680 (rmail-yank-current-message): New function.
4681 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4682 (rmail-reply): Likewise.
4683 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4684
4685 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 4686 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
4687 buffer, not newbuf.
4688
197b6f3c
JB
46892012-04-17 Juanma Barranquero <lekktu@gmail.com>
4690
4691 * server.el (server-ensure-safe-dir): Simplify.
4692
2311d8e5 46932012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 4694
2311d8e5
GM
4695 * emacs-lisp/smie.el: Provide smarter auto-filling.
4696 (smie-auto-fill): New function.
4697 (smie-setup): Use it.
98fb480e 4698
2311d8e5
GM
4699 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4700
47012012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
4702
4703 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4704 (comment-indent): Use it.
4705
2311d8e5 47062012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
4707
4708 * ses.el: The overall change is to add cell renaming, that is
4709 setting fancy names for cell symbols other than name matching
4710 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 4711 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 4712 (ses-create-cell-variable): New defun.
2311d8e5 4713 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
4714 (ses-relocate-formula): Relocate formulas only for cells the
4715 symbols of which are not renamed, i.e. symbols whose names do not
4716 match regexp "\\`[A-Z]+[0-9]+\\'".
4717 (ses-relocate-all): Relocate values only for cells the symbols of
4718 which are not renamed.
4719 (ses-load): Create cells variables as the (ses-cell ...) are read,
4720 in order to check row col consistency with cell symbol name only
4721 for cells that are not renamed.
4722 (ses-replace-name-in-formula): New defun.
4723 (ses-rename-cell): New defun.
4bdf2ad2 4724
fc72b15c
PO
47252012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4726
4727 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4728 New option (bug#11118).
4729 (perl-calculate-indent): Respect it.
4730
12e10e61
GM
47312012-04-17 Glenn Morris <rgm@gnu.org>
4732
4733 * dired-aux.el (dired-mark-read-string): Doc fix.
4734
30009afd
DA
47352012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4736
4737 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4738 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4739
41f03f4d
GM
47402012-04-17 Glenn Morris <rgm@gnu.org>
4741
4742 * mouse.el (mouse-drag-track):
4743 * speedbar.el (speedbar-frame-mode):
4744 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4745
f45f90f3
LL
47462012-04-16 Leo Liu <sdl.web@gmail.com>
4747
4748 * progmodes/python.el: Trivial cleanup.
4749
94ee8db5
GM
47502012-04-16 Glenn Morris <rgm@gnu.org>
4751
121b8917
GM
4752 * vc/vc.el (vc-string-prefix-p):
4753 * vc/pcvs-util.el (cvs-string-prefix-p):
4754 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4755 * mpc.el (mpc-string-prefix-p):
4756 Make all of these into obsolete aliases for string-prefix-p.
4757 Update callers.
4758 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4759
1197ecfa
GM
4760 * textmodes/two-column.el: Move custom options to the start.
4761 (frame-width): Remove compat definition.
4762 (2C-associate-buffer, 2C-dissociate):
4763 Use with-current-buffer rather than save-excursion.
4764 (2C-dissociate): Force a mode-line update.
4765 (2C-autoscroll): Use ignore-errors.
4766
099e7202
GM
4767 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4768 Autoload trivia.
4769
bf350d6a
GM
4770 * emacs-lisp/cl-extra.el (*random-state*):
4771 Remove unnecessary declaration.
4772
0e829eab
GM
4773 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4774
e3ad7552
GM
4775 * play/cookie1.el (cookie-snarf):
4776 Give an explicit error if input file cannot be read.
4777
68892d27
GM
4778 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4779
20f0c46d
GM
4780 * progmodes/perl-mode.el (c-macro-expand):
4781 Remove unnecessary autoload (it is in loaddefs.el).
4782
5a0978ce
GM
4783 * textmodes/picture.el (picture-desired-column)
4784 (picture-update-desired-column): Convert comments to doc-strings.
4785 (picture-substitute): Remove function.
4786 (picture-mode-map): Initialize in the defvar.
4787
6b955486
GM
4788 * woman.el: Remove eval-after-load for tar-mode.
4789 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4790 (woman-tar-extract-file): Autoload it.
4791
94ee8db5
GM
4792 * frame.el (automatic-hscrolling): Make this alias obsolete.
4793
177eca34
AM
47942012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4795
090bd7cb 4796 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 4797 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
4798 (ispell-dictionary-base-alist): Revert to original XEmacs
4799 friendly version for default. [:alpha:] will be added in
090bd7cb 4800 `ispell-set-spellchecker-params' if needed.
177eca34 4801
c505aaeb
CY
48022012-04-16 Chong Yidong <cyd@gnu.org>
4803
b19dd9d1 4804 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
4805 (imagemagick-register-types): Use it.
4806 (imagemagick-types-inhibit): Add :set function. Allow new value
4807 of t to inhibit all types.
4808
4809 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4810 so we can preload it.
4811
4812 * loadup.el (fboundp): Preload regexp-opt, needed by
4813 imagemagick-register-types.
4814
60efac0f
CY
48152012-04-15 Chong Yidong <cyd@gnu.org>
4816
4817 * frame.el (scrolling): Remove nearly unused customization group.
4818
4819 * scroll-all.el (scroll-all-mode): Move to windows group.
4820
5dd1713e
CY
48212012-04-15 Chong Yidong <cyd@gnu.org>
4822
4823 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4824
e6fd457e
CY
48252012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 4828 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 4829
e153c136
GM
48302012-04-15 Glenn Morris <rgm@gnu.org>
4831
4832 * simple.el (process-file-side-effects): Doc fix.
4833
e6fd457e 48342012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
4835
4836 * international/mule-cmds.el (set-language-environment): Doc fix.
4837
3603c3b1
JB
48382012-04-14 Juanma Barranquero <lekktu@gmail.com>
4839
4840 * server.el (server-auth-key, server-generate-key): Doc fixes.
4841 (server-get-auth-key): Doc fix. Use `string-match-p'.
4842 (server-start): Reflow docstring.
4843
e6de100c
LI
48442012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4845
4846 * server.el (server-generate-key): `called-interactively-p'
4847 requires a parameter.
4848
29734c21
MN
48492012-04-14 Michal Nazarewicz <mina86@mina86.com>
4850
4851 * server.el (server-auth-key): New variable.
75f1671a 4852 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
4853 (server-start): Use the new variable and functions to allow
4854 setting a permanent server key (bug#9423).
4855
d65c9521
LL
48562012-04-14 Leo Liu <sdl.web@gmail.com>
4857
4858 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4859
5ae255c7
PE
48602012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4861
4862 Spelling fixes.
4863 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4864 Emacs uses American spelling.
4865
d5e6342e
JB
48662012-04-14 Juanma Barranquero <lekktu@gmail.com>
4867
4868 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4869 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4870 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4871 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4872
ab036cd7
SM
48732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * progmodes/which-func.el (which-func-modes): Change default.
4876
35dc09a1 48772012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
4878
4879 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4880 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4881
35dc09a1 48822012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
4883
4884 * custom.el (custom-theme-set-variables): Doc fix.
4885
35dc09a1 48862012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
4887
4888 * international/mule.el (set-auto-coding-for-load): Doc fix.
4889
35dc09a1 48902012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 4891
35dc09a1
GM
4892 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4893 imenu work again for Objective C Mode. Correct the *-index values,
4894 these having been disturbed by a previous change in 2011-08.
57f845ee 4895
0de3da9f
AM
4896 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4897 Correct two search limits.
4898
35dc09a1 48992012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
4900
4901 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4902
35dc09a1 49032012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
4904
4905 * international/characters.el: Fix sorting.
4906
35dc09a1 49072012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
4908
4909 * international/characters.el: Add more missing Latin case pairs.
4910
35dc09a1 49112012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
4912
4913 * files.el (dir-locals-set-class-variables): Doc fix.
4914
35dc09a1 49152012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 4916
3f1b5bf8
EZ
4917 * international/characters.el: Add set-case-syntax-pair call for
4918 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4919 counterpart. (Bug#11209)
4920
9f847f41
EZ
4921 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4922
35dc09a1 49232012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
4924
4925 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4926
35dc09a1 49272012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 4928
35dc09a1
GM
4929 * textmodes/ispell.el (ispell-dictionary-base-alist):
4930 Add data for Hebrew.
e2627d21 4931
35dc09a1 49322012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 4933
35dc09a1
GM
4934 * net/rcirc.el (rcirc-cmd-quit):
4935 Revert 2012-03-18 change (Bug#11192).
5c14e333 4936
35dc09a1 49372012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
4938
4939 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4940
35dc09a1 49412012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 4942
4517fe3a
SM
4943 * minibuffer.el (completion-in-region-mode-map):
4944 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 4945
b472a594
VD
49462012-04-13 Vivek Dasmohapatra <vivek@etla.org>
4947
4948 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
4949
09b95ce3
MY
49502012-04-13 Masatake YAMATO <yamato@redhat.com>
4951
4952 * minibuffer.el (minibuffer-local-filename-syntax): New variable
4953 to allow `C-M-f' and `C-M-b' to move to the nearest path
4954 separator (bug#9511).
4955
4b63a9ca
LI
49562012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
4957
4958 * avoid.el: Require cl when compiling. And also move the
4959 `provide' to the end.
4960
7b55b8bf
TV
49612012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4962
4963 * avoid.el (mouse-avoidance-banish-position): New variable.
4964 (mouse-avoidance-banish-destination): Use it (bug#10165).
4965
adedaa1f
LL
49662012-04-13 Leo Liu <sdl.web@gmail.com>
4967
4968 * progmodes/which-func.el (which-func-modes): Add objc-mode.
4969
70e74021
KB
49702012-04-13 Ken Brown <kbrown@cornell.edu>
4971
4972 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 4973 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
4974 (browse-url-filename-alist): For the same reason, don't modify
4975 file:// URLs on Cygwin.
4976
e75e89ba
SM
49772012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
4980 the region on shift if the binding is already shifted (bug#11221).
4981
82f289a4
GM
49822012-04-12 Glenn Morris <rgm@gnu.org>
4983
4984 * mail/mailpost.el: Move to obsolete/.
4985
d333dc4c
DA
49862012-04-12 Drew Adams <drew.adams@oracle.com>
4987
4988 * imenu.el (imenu--generic-function): Ignore invisible definitions
4989 (bug#10123).
4990
0d15b5ba
VD
49912012-04-12 Vivek Dasmohapatra <vivek@etla.org>
4992
4993 * hexl.el (hexl-bits): New variable.
4994 (hexl-options): Mention the variable in the doc string.
75f1671a 4995 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 4996 (hexl-mode): Mention the new variable.
75f1671a
JB
4997 (hexl-mode, hexl-current-address, hexl-current-address):
4998 Use the displen.
0d15b5ba
VD
4999 (hexl-ascii-start-column): New function.
5000 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5001 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5002
64a440db
AM
50032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5004
5005 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5006 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5007 the encoding, as expected by hunspell.
5008
6decb6c2
SM
50092012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * battery.el (battery--linux-sysfs-regexp): New const.
5012 (battery-status-function): Use it. Remove yeeloong special case.
5013 (battery-yeeloong-sysfs): Remove.
5014 (battery-echo-area-format): Remove yeeloong special case.
5015
088be6fb
SM
50162012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5017
6622e416
SM
5018 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5019 Reported by Noah Friedman.
5020
088be6fb
SM
5021 * subr.el (read-passwd): Use read-string.
5022
b49f886e
LMI
50232012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5024
5025 * vcursor.el (vcursor-move): Increase the priority of the overlay
5026 (bug#9663).
5027
a63067fc
DD
50282012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5029
5030 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5031 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5032
ac3cf14a
WS
50332012-04-11 William Stevenson <yhvh2000@gmail.com>
5034
5035 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5036 define-minor-mode (bug#10760).
5037
c4fc691b 50382012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5039
4d6769e1 5040 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5041 that directories matching `grep-find-ignored-files' won't be
5042 pruned (bug#10351).
5043
af23e2e5
CY
50442012-04-11 Chong Yidong <cyd@gnu.org>
5045
5046 * startup.el (command-line): Remove support for long-obsolete
5047 variable font-lock-face-attributes.
5048
ab7ce8c1
GM
50492012-04-11 Glenn Morris <rgm@gnu.org>
5050
5051 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5052
de8c03dc
SM
50532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * window.el (window--state-get-1): Obey window-point-insertion-type.
5056
050cc68b
LB
50572012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5058
5059 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5060 to previous function when point is on the first character of a
75f1671a 5061 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5062
a38c310c
GM
50632012-04-11 Glenn Morris <rgm@gnu.org>
5064
effed0c2
GM
5065 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5066 not just file-errors.
5067
a38c310c
GM
5068 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5069 (vc-bzr-sha1): Use internal sha1.
5070
0221e323
SM
50712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5074
43956923
SG
50752012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5076
5077 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5078 that start in the middle of the line (bug#10496).
5079
6a8c9eaf
DN
50802012-04-10 Dan Nicolaescu <dann@gnu.org>
5081
5082 * battery.el (battery-linux-proc-acpi): Only one battery is
5083 discharged at a time, but that seems to confuse battery.el when
5084 computing `rate-type' for the battery not being discharged
5085 (bug#10332).
5086
1930bf5d
SM
50872012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5088
2a718f6f
SM
5089 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5090
599430d0
SM
5091 * international/quail.el: Use dolist and simplify.
5092 (quail-define-package, quail-update-keyboard-layout)
5093 (quail-define-rules): Use dolist.
5094 (quail-insert-kbd-layout, quail-get-translation): CSE.
5095
a2754b6c
SM
5096 * tmm.el: Use dolist, remove left over hook.
5097 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5098 Use dolist.
5099 (calendar-load-hook): Don't mess with it.
5100
1930bf5d
SM
5101 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5102 Use derived-mode-p. Run the diff asynchronously.
5103
9f67961c
LMI
51042012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5105
5106 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5107
2a8ce227
JB
51082012-04-10 Juanma Barranquero <lekktu@gmail.com>
5109
5110 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5111 (list-dynamic-libraries--loaded): New function.
5112 (list-dynamic-libraries--refresh): Use it.
5113
8f33b5f8
NW
51142012-04-10 Nathan Weizenbaum <nweiz@google.com>
5115
1930bf5d
SM
5116 * progmodes/python.el (python-fill-paragraph):
5117 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5118 disabled (bug#7018).
5119
b12f0439
L
51202012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5121
1930bf5d 5122 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5123 DOS/MS Windows for the Baltic languages. There are still plenty
5124 of texts written in this encoding/codepage (bug#6519).
b12f0439 5125
57c3bd01
GM
51262012-04-10 Glenn Morris <rgm@gnu.org>
5127
5128 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5129 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5130
6c3eab30
FA
51312012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5132
1930bf5d 5133 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5134 next-line "n" and previous-line "p" in order to make recentf more
5135 consistent with ibuffer, dired or org-mode (bug#9387).
5136
24d78a88
LMI
51372012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5138
bc72b5d9
LMI
5139 * image.el (put-image): Return the overlay created instead of the
5140 optional input string (bug#7834). Note that this may break code
5141 that is (for some reason or other) depending on `put-image'
5142 returning the string.
5143
bd2dba5a
LMI
5144 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5145
74beb59f
LMI
5146 * simple.el (zap-to-char): Allow zapping using input methods
5147 (bug#1580).
5148
24d78a88
LMI
5149 * textmodes/fill.el (fill-region): Leave point and mark where they
5150 were before filling (bug#5399).
5151
263f20cd
GM
51522012-04-09 Glenn Morris <rgm@gnu.org>
5153
5154 * version.el (emacs-bzr-get-version):
5155 Handle lightweight checkouts of local branches.
5156
58d1f797
AS
51572012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5158
263f20cd 5159 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5160
b4d3bc10
CY
51612012-04-09 Chong Yidong <cyd@gnu.org>
5162
5163 * custom.el (custom-variable-p): Return nil for non-symbol
5164 arguments instead of signaling an error.
5165 (user-variable-p): Obsolete alias for custom-variable-p.
5166
5167 * apropos.el (apropos-variable):
5168 * files-x.el (read-file-local-variable):
5169 * simple.el (set-variable):
5170 * woman.el (woman-mini-help):
5171 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5172
fd06db5d
GM
51732012-04-09 Glenn Morris <rgm@gnu.org>
5174
e5fcdb5e
GM
5175 * startup.el (normal-top-level): Don't look for leim-list.el
5176 in places where it will not be found. (Bug#910)
5177
fd06db5d
GM
5178 * international/mule-cmds.el (set-default-coding-systems):
5179 * files.el (normal-mode):
5180 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5181 This function was removed with ucs-tables.el in 2008.
5182
b39bb7e1
EZ
51832012-04-08 Eli Zaretskii <eliz@gnu.org>
5184
5185 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5186 ispell-encoding8-command to "-i", without a trailing space.
5187 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5188 separate command-line arguments, to specify the encoding, since
5189 that's how hunspell expects it.
5190
5c5b8e23
GM
51912012-04-08 Glenn Morris <rgm@gnu.org>
5192
5193 * loadup.el: Load bindings before cus-start.
5194 This reduces somewhat the number of "rogue" settings in emacs -Q.
5195
a1ed8b05
GM
51962012-04-07 Glenn Morris <rgm@gnu.org>
5197
5198 * version.el (emacs-bzr-get-version): New function.
dfae128a 5199 (emacs-bzr-version): New variable.
a1ed8b05
GM
5200 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5201 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5202
b142f158
EZ
52032012-04-07 Eli Zaretskii <eliz@gnu.org>
5204
dfae128a
GM
5205 * international/uni-bidi.el, international/uni-category.el:
5206 * international/uni-combining.el, international/uni-decimal.el:
5207 * international/uni-decomposition.el, international/uni-digit.el:
5208 * international/uni-lowercase.el, international/uni-mirrored.el:
5209 * international/uni-name.el, international/uni-numeric.el:
5210 * international/uni-titlecase.el, international/uni-uppercase.el:
5211 Update for Unicode 6.1.
b142f158 5212
9078ead6
EZ
52132012-04-07 Eli Zaretskii <eliz@gnu.org>
5214
5215 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5216
f23d2c7d
LMI
52172012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5218
5219 * window.el (shrink-window): Mention the `window-min-height'
5220 variable in the doc string.
5221
0a0a3573
BG
52222012-04-05 Bastien Guerry <bzg@altern.org>
5223
5224 * color.el (color-lighten-name): Fix typo.
5225
e5248ac9
SM
52262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * server.el (server--on-display-p): New function.
5229 (server--on-display-p): Use it.
5230
b4243e22
GV
52312012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5232
5233 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5234 (bug#11145).
5235
305d9f44
SM
52362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5237
5238 * comint.el (comint--common-quoted-suffix): Check string boundary
5239 before comparing (bug#11158).
5240 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5241
3d439cd1
CY
52422012-04-04 Chong Yidong <cyd@gnu.org>
5243
321cc491
CY
5244 * minibuffer.el (completion-extra-properties): Doc fix.
5245
3d439cd1
CY
5246 * subr.el (delayed-warnings-hook): Doc fix.
5247
2d562c0f
DU
52482012-04-04 Daiki Ueno <ueno@unixuser.org>
5249
5250 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5251 selection (Bug#11159).
5252 (epa-insert-keys): Inform that the default public key will be
5253 exported if no key is selected.
5254
4443f204
RS
52552012-04-04 Richard Stallman <rms@gnu.org>
5256
5257 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5258
529c06b6
CY
52592012-04-03 Chong Yidong <cyd@gnu.org>
5260
5261 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5262 mail-insert-file, not its obsolete alias mail-attach-file.
5263
66b907dc
MA
52642012-04-03 Michael Albinus <michael.albinus@gmx.de>
5265
5266 * notifications.el (notifications-notify): Fix docstring.
5267
c0ea195d
GM
52682012-04-02 Glenn Morris <rgm@gnu.org>
5269
5270 * emacs-lisp/authors.el (authors-aliases): Another addition.
5271
5ca64e00
MA
52722012-04-02 Michael Albinus <michael.albinus@gmx.de>
5273
5274 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5275 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5276 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5277
42ee526b
CY
52782012-04-01 Chong Yidong <cyd@gnu.org>
5279
5280 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5281 Handle root directory properly.
5282 (copy-directory): Caller changed.
5283
5284 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5285 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5286
0b021094
GM
52872012-03-31 Glenn Morris <rgm@gnu.org>
5288
40f86458
GM
5289 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5290
7019c177
GM
5291 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5292
a1daddd6
GM
5293 * calendar/calendar.el (calendar-window-list)
5294 (calendar-hide-window): Restore. (Bug#11140)
5295 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5296
0b021094
GM
5297 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5298
40311efc
TV
52992012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5300
5301 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5302 Check if file is a symlink (Bug#10489).
5303
5304 * files.el (copy-directory): Likewise.
5305
5319014e
CY
53062012-03-30 Chong Yidong <cyd@gnu.org>
5307
5308 * image.el (imagemagick-types-inhibit)
5309 (imagemagick-register-types): Doc fix.
5310
935d1290
AM
53112012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5312
090bd7cb 5313 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5314 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5315 and treats ~word as ordinary words in pipe mode.
935d1290 5316
61c6e8fd
GM
53172012-03-30 Glenn Morris <rgm@gnu.org>
5318
5319 * tutorial.el (help-with-tutorial): Ensure local variables don't
5320 happen to make the buffer read-only. (Bug#11127)
5321
81fdff00
SM
53222012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5325 (perl-calculate-indent): Return `noindent' in strings.
5326
6e7a6ec0
SS
53272012-03-28 Sam Steingold <sds@gnu.org>
5328
5329 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5330 instead of the broken adhockery which does not prevent calendar
5331 buffers from being displayed at random after exit.
5332 (calendar-window-list, calendar-hide-window): Remove the broken
5333 adhockery.
5334
fee88ca0
GM
53352012-03-28 Glenn Morris <rgm@gnu.org>
5336
5337 * replace.el (query-replace-map): Doc fix.
5338
38de3354
AS
53392012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5340
5341 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5342 contents. (Bug#11109)
5343
b973155e
SM
53442012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5347 (bug#11077).
5348 (avl-tree--check, avl-tree--check-node): New funs.
5349
dcb6e7b3
MR
53502012-03-27 Martin Rudalics <rudalics@gmx.at>
5351
5352 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5353 (switch-to-prev-buffer, switch-to-next-buffer):
5354 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5355 showing a buffer already is done on the same frame.
5356
b4fa35fa
GM
53572012-03-27 Glenn Morris <rgm@gnu.org>
5358
5359 * startup.el (mail-host-address): Doc fix.
5360
f9210e18
SM
53612012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5364 than 197 variables.
5365
c0bf7753
AF
53662012-03-26 Ami Fischman <ami@fischman.org>
5367
5368 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5369
33da7b16
GM
53702012-03-26 Glenn Morris <rgm@gnu.org>
5371
02243d9d
GM
5372 * files.el (save-buffers-kill-emacs): Doc fix.
5373
33da7b16
GM
5374 * startup.el (normal-top-level, command-line, command-line-1):
5375 Give them doc strings.
5376
e5a69fd0
EZ
53772012-03-25 Eli Zaretskii <eliz@gnu.org>
5378
5379 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5380 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5381
9a69676a
CY
53822012-03-25 Chong Yidong <cyd@gnu.org>
5383
4125cb8b
CY
5384 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5385 theme if it was previously enabled before (Bug#11031).
5386
dd470960
CY
5387 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5388 spec with custom-face-get-current-spec if its :shown-value is not
5389 determined yet (Bug#9337).
4125cb8b 5390 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5391
9a69676a
CY
5392 * button.el (button-at): Minor addition to docstring.
5393
6e7e90fa
SL
53942012-03-24 Simon Leinen <simon.leinen@gmail.com>
5395
5396 * vc/vc.el (vc-merge): Fix a prompt.
5397
f06e2758
CY
53982012-03-24 Chong Yidong <cyd@gnu.org>
5399
5400 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5401 point (Bug#9623).
5402
6e7e90fa
SL
5403 * button.el (button-at): Minor addition to docstring.
5404
b9d0879b
SM
54052012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * newcomment.el (comment-choose-indent): No space after BOL.
5408
e71cebb3
SS
54092012-03-22 Sam Steingold <sds@gnu.org>
5410
5411 * window.el (switch-to-prev-buffer): Revert last patch because the
5412 bug turned out to be an advertised feature (Elisp manual 28.14).
5413
335aff35
GM
54142012-03-22 Glenn Morris <rgm@gnu.org>
5415
5416 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5417 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5418
c676576a
LMI
54192012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5420
5421 * net/network-stream.el (network-stream-open-starttls): Make error
5422 message under Windows be less misleading.
5423
126f3d39
LW
54242012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5425
5426 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5427 understands (bug#9942).
5428
64fee311
CY
54292012-03-22 Chong Yidong <cyd@gnu.org>
5430
5431 * simple.el (end-of-visible-line): Handle return value of
5432 next-single-property-change properly (Bug#9371).
5433
a640d29a
KH
54342012-03-22 Kenichi Handa <handa@m17n.org>
5435
5436 * international/quail.el (quail-insert-kbd-layout): Fix previous
5437 change. To avoid unwanted bidi reordering, use
5438 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5439
39675016
DG
54402012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5441
5442 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5443 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5444 (ruby-beginning-of-indent): Be more careful with the difference
5445 between word-boundary and symbol boundary.
5446 (ruby-mode-syntax-table): Make : a symbol constituent.
5447
0a6934fc 54482012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5449
3d008e4f
SM
5450 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5451
0a6934fc
SM
54522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5453
af67c9d7
SM
5454 * progmodes/etags.el (tags-completion-at-point-function):
5455 Improve last fix.
5456
1acad97c
SM
5457 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5458
e298b5da
SS
54592012-03-21 Sam Steingold <sds@gnu.org>
5460
5461 * progmodes/etags.el (tags-completion-at-point-function):
5462 Avoid the error when point is inside the pattern.
5463
91d82a70
JY
54642012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5465
5466 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5467 line (Bug#10855).
5468
69188b79
CY
54692012-03-21 Drew Adams <drew.adams@oracle.com>
5470
5471 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5472
99fc91fe
AK
54732012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5474
5475 * ido.el (ido-set-current-directory, ido-read-internal)
5476 (ido-choose-completion-string, ido-completion-help): Handle nil
5477 value of ido-completion-buffer (Bug#11008).
5478
087bbb4c
SS
54792012-03-21 Sam Steingold <sds@gnu.org>
5480
5481 * window.el (switch-to-prev-buffer): Do not switch to a visible
5482 window previous buffer, just like with the frame previous buffers.
5483
fb5b8aca
CY
54842012-03-21 Chong Yidong <cyd@gnu.org>
5485
5486 * faces.el (make-face, make-empty-face, copy-face):
5487 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5488 Doc fixes.
5489
dc9924b8
SM
54902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5493 (widget-complete): Remove broken use of it.
5494
f0bcceb9
CY
54952012-03-20 Chong Yidong <cyd@gnu.org>
5496
dc9924b8
SM
5497 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5498 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5499 characters.
5500
ee52ebf3
TH
55012012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5502
5503 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5504 to draw rectangles, not squares. (Regression introduced by revno
5505 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5506
4c5779ab
CY
55072012-03-18 Chong Yidong <cyd@gnu.org>
5508
5509 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5510 it is not yet defined (for temacs).
5511
15360934
LL
55122012-03-18 Leo Liu <sdl.web@gmail.com>
5513
dc9924b8 5514 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5515
d9a8eb66
EZ
55162012-03-17 Eli Zaretskii <eliz@gnu.org>
5517
5518 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5519 (ispell-choices-win-default-height, ispell-silently-savep)
5520 (ispell-dictionary-alist, ispell-encoding8-command)
5521 (ispell-check-version, ispell-aspell-find-dictionary)
5522 (ispell-valid-dictionary-list, ispell-words-keyword)
5523 (ispell-get-word, ispell-internal-change-dictionary)
5524 (ispell-region, ispell-skip-region-list)
5525 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5526 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5527 (ispell-message-text-end, ispell-message)
5528 (ispell-buffer-local-parsing): Doc fix.
5529
f02ff80d
J
55302012-03-13 Jambunathan K <kjambunathan@gmail.com>
5531
5532 * htmlfontify.el: Add support for code block fontification for ODT
5533 export (Bug #9914).
5534 (hfy-optimisations): Define new option
5535 `body-text-only'
5536 (hfy-fontify-buffer): Honor above setting.
5537 (hfy-begin-span, hfy-end-span): New routines factored out form
5538 `hfy-fontify-buffer'.
5539 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5540 that permit insertion of custom tags.
5541 (hfy-fontify-buffer): Use above handlers.
5542 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5543 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5544 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5545 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5546 bind a special variable `hfy-user-sheet-assoc'.
5547 (htmlfontify-string): New defun.
5548 (hfy-compile-face-map): Make sure that the last char in the
5549 buffer is correctly fontified.
5550 (hfy-face-resolve-face): Whitespace only change.
5551
9ac7a13f
EZ
55522012-03-17 Eli Zaretskii <eliz@gnu.org>
5553
5554 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5555 message more clear.
5556
e2b5bdd7
LL
55572012-03-16 Leo Liu <sdl.web@gmail.com>
5558
5559 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5560
2e492df3
AM
55612012-03-16 Alan Mackenzie <acm@muc.de>
5562
5563 Further optimise the handling of large macros.
5564
5565 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5566 limit to a call of `c-literal-limits'.
5567 (c-determine-+ve-limit): New function.
dc9924b8
SM
5568 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5569 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5570 In CASE 5B, restrict a search limit to 500.
5571 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5572
5573 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5574 Restrict macro bounds to +-500 from after-change's BEG END.
5575
50e94f0c
LL
55762012-03-16 Leo Liu <sdl.web@gmail.com>
5577
5578 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5579
6f09f6ed
AH
55802012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5581
5582 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5583 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5584
c7e73d51
GM
55852012-03-16 Glenn Morris <rgm@gnu.org>
5586
da986230
GM
5587 * view.el (view-buffer, view-buffer-other-window)
5588 (view-buffer-other-frame): Doc fixes re special mode-class.
5589
0835f01e
GM
5590 * subr.el (eval-after-load): If named feature is provided not from
5591 a file, run after-load forms. (Bug#10946)
5592
c7e73d51
GM
5593 * calendar/calendar.el (calendar-insert-at-column):
5594 Handle non-unit-width characters a bit better. (Bug#10978)
5595
3f2eafd1
CY
55962012-03-15 Chong Yidong <cyd@gnu.org>
5597
5598 * emacs-lisp/ring.el (ring-extend): New function.
5599 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5600
5601 * comint.el (comint-read-input-ring)
5602 (comint-add-to-input-history): Grow comint-input-ring lazily.
5603
103af3fe
SM
56042012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5605
663b1677
SM
5606 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5607 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5608
103af3fe
SM
5609 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5610 (imenu-add-to-menubar): Don't add a redundant index.
5611 (imenu-update-menubar): Handle a dynamically composed keymap.
5612
899cb7cb
KY
56132012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5614
5615 * mail/sendmail.el (mail-encode-header):
5616 Bind rfc2047-encode-encoded-words to nil.
5617
3809f91d
GM
56182012-03-13 Glenn Morris <rgm@gnu.org>
5619
5620 * calendar/calendar.el (calendar-string-spread):
5621 Handle non-unit-width characters a bit better. (Bug#10978)
5622
9e345a01
LL
56232012-03-13 Leo Liu <sdl.web@gmail.com>
5624
5625 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5626 directory and file as argument (Bug#10822).
5627
4a07df36
KS
56282012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5629
5630 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5631 For dynamically generated code, follow $PC.
5632 (gdb-disassembly-handler-custom): Handle no function name case.
5633
4aaa9356
TL
56342012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5635
5636 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5637 * emulation/ws-mode.el (ws-query-replace):
5638 * sort.el (sort-regexp-fields):
5639 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5640
225979da
SM
56412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5642
5643 * dabbrev.el: Fix cycle completion order (bug#10963).
5644 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5645 (dabbrev-completion): Don't use an obarray; provide
5646 a cycle-sort-function.
5647
e2f1fdab
LL
56482012-03-12 Leo Liu <sdl.web@gmail.com>
5649
dc9924b8 5650 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
5651 (kill-do-not-save-duplicates): Doc fix.
5652
b19490ed
SM
56532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5654
5655 * dabbrev.el: Fix cycle completion (bug#10963).
5656 Use lexical binding and wrap to 80 columns.
5657 (dabbrev-completion): Delay computing the list of completions.
5658
4b05d722
KH
56592012-03-12 Kenichi Handa <handa@m17n.org>
5660
5661 * international/quail.el (quail-insert-kbd-layout): Surround each
5662 row by LRO and PDF instead of inserting many LRMs. Pad the left
5663 and right of each non-spacing marks. Insert invisible space
5664 between lower and upper characters to prevent composition.
5665
dbbc2e69
SM
56662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * minibuffer.el (minibuffer-complete): Don't get confused when the
5669 function is run twice via different commands (bug#10958).
5670 (complete-with-action): Fix docstring.
5671
292112ed
CY
56722012-03-12 Chong Yidong <cyd@gnu.org>
5673
5d1ac394
CY
5674 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5675 (nxml-completion-at-point-function): New function.
5676 (nxml-mode): Use it.
5677 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5678
292112ed
CY
5679 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5680 Load generated autoloads file before byte compiling (Bug#10970).
5681 (package--make-autoloads-and-compile): New helper fun.
5682
4098f8f7
CS
56832012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5684
5685 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5686
8f754691
MA
56872012-03-11 Michael Albinus <michael.albinus@gmx.de>
5688
5689 * autorevert.el (auto-revert-handler): Ensure, that
5690 file-readable-p is applied only for local files or in
5691 auto-revert-tail-mode.
5692
e29ab36b
AS
56932012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5694
dbbc2e69
SM
5695 * server.el (server-eval-at): Handle non-tcp connections.
5696 Decode result string.
ad0bf5b6 5697
e29ab36b
AS
5698 * server.el (server-msg-size): New constant.
5699 (server-reply-print): New function.
5700 (server-eval-and-print): Use it.
5701 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5702 Handle -print-nonl.
5703
de5939ba
CS
57042012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5705
5706 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5707 (Bug#10987).
5708
0c93eabf
CY
57092012-03-11 Chong Yidong <cyd@gnu.org>
5710
397a688f
CY
5711 * simple.el (goto-line): Doc fix (Bug#9938).
5712
2cc775f9
CY
5713 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5714
0c93eabf
CY
5715 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5716 when finished (Bug#10963).
5717
c491fa41
MR
57182012-03-11 Martin Rudalics <rudalics@gmx.at>
5719
5720 * window.el (split-window-below): Fix bug in case where
5721 split-window-keep-point is nil (Bug#10971).
5722
300e8fa5
JL
57232012-03-11 Juri Linkov <juri@jurta.org>
5724
5725 * replace.el (replace-highlight): Set isearch-word to nil
5726 unconditionally. (Bug#10887)
5727
dbf6c5a1
EZ
57282012-03-10 Eli Zaretskii <eliz@gnu.org>
5729
5730 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5731 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 5732 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
5733 (mairix-widget-create-query): Add usage information about mairix
5734 search forms: negating words, searching for substrings, etc.
5735
b9e501de
JP
57362012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5737
5738 * international/fontset.el (font-encoding-alist): Add an entry for
5739 ksx1001 (Bug#5667).
5740
92795c91
RS
57412012-03-10 Richard Stallman <rms@gnu.org>
5742
1694e6c1
RS
5743 * mail/sendmail.el (mail-encode-header):
5744 Set rfc2047-encode-encoded-words.
5745
607e8555
RS
5746 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5747
de3bc99a
RS
5748 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5749 view buffer means not swapped.
5750 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5751 (rmail-write-region-annotate): Error if real text has disappeared.
5752
92795c91
RS
5753 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5754
699bd04e
CY
57552012-03-10 Chong Yidong <cyd@gnu.org>
5756
5757 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
5758 * emulation/cua-base.el (cua--init-keymaps):
5759 Add delete-forward-char to remappings (Bug#9666).
699bd04e 5760
570a1714
MR
57612012-03-10 Martin Rudalics <rudalics@gmx.at>
5762
dbbc2e69
SM
5763 * speedbar.el (speedbar-unhighlight-one-tag-line):
5764 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 5765
82dcf4e4
CY
57662012-03-10 Chong Yidong <cyd@gnu.org>
5767
7a2c7ca7
CY
5768 * minibuffer.el (completion-in-region, completion-help-at-point):
5769 Give the completion field overlay a high priority (Bug#6830).
5770
82dcf4e4
CY
5771 * dired.el (dired-goto-file): Recognize absolute file name
5772 listings (Bug#7126).
5773 (dired-goto-file-1): New helper function.
5774 (dired-toggle-read-only): Inhibit warnings.
5775
052e28ac
MA
57762012-03-09 Michael Albinus <michael.albinus@gmx.de>
5777
75f1671a 5778 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
5779 there are no properties.
5780
95d5e396
LL
57812012-03-09 Leo Liu <sdl.web@gmail.com>
5782
5783 * savehist.el (savehist-printable): Stricter check for string
5784 value (Bug#10937).
5785
3f018d6d
EZ
57862012-03-09 Eli Zaretskii <eliz@gnu.org>
5787
dbbc2e69
SM
5788 * mail/smtpmail.el (smtpmail-send-it):
5789 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
5790 valid mbox format.
5791
f7fd3d79
GM
57922012-03-09 Glenn Morris <rgm@gnu.org>
5793
5794 * files.el (dir-locals-find-file):
5795 Don't check result is regular, readable.
5796 (dir-locals-read-from-file): Demote errors.
5797
6ff6e72f
EZ
57982012-03-08 Eli Zaretskii <eliz@gnu.org>
5799
dbbc2e69
SM
5800 * international/quail.el (quail-insert-kbd-layout):
5801 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
5802 layout cell, to prevent their reordering by bidi display engine.
5803 For details, see the discussion in
5804 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5805
9cec7834
AM
58062012-03-08 Alan Mackenzie <acm@muc.de>
5807
5808 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5809 the starting position; make it extend the marked region when
5810 invoked repeatedly - all under appropriate circumstances.
5811 Fixes bugs #5525, #10906.
5812
9a40b8d4
GM
58132012-03-08 Glenn Morris <rgm@gnu.org>
5814
5815 * files.el (locate-dominating-file, dir-locals-find-file):
5816 Undo 2012-03-06 change.
5817
7a08ed35
EZ
58182012-03-07 Eli Zaretskii <eliz@gnu.org>
5819
dbbc2e69
SM
5820 * international/quail.el (quail-help):
5821 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
5822 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5823 for the reason.
5824
5aca4f71 58252012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
5826
5827 Avoid superfluous registering of signals. (Bug#10807)
5828
5829 * notifications.el (notifications-on-action-object)
5830 (notifications-on-close-object): New defvars.
5831 (notifications-on-action-signal, notifications-on-closed-signal):
5832 Unregister the signal if not needed any longer.
5833 (notifications-notify): Register `notifications-action-signal' or
5834 `notifications-closed-signal', if :on-action or :on-close has been
5835 passed as argument.
5836
78e8b10a
CY
58372012-03-07 Chong Yidong <cyd@gnu.org>
5838
5839 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5840 non-X platforms.
5841
69481eb8
GM
58422012-03-06 Glenn Morris <rgm@gnu.org>
5843
5844 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5845 (x-disown-selection-internal, x-get-selection-internal):
5846 Doc fix (add arglist signatures). (Bug#10783)
5847
133b8e11
KS
58482012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5849
5850 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5851 Handle breakpoints with no "type".
5852
99a83064
GM
58532012-03-06 Glenn Morris <rgm@gnu.org>
5854
5855 * files.el (locate-dominating-file): Add optional predicate argument.
5856 (dir-locals-find-file): Make use of above change.
5857
17798e78
TTN
58582012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5859
5860 * info.el (Info-insert-dir): Also try "dir.gz".
5861
eb182446
GM
58622012-03-06 Glenn Morris <rgm@gnu.org>
5863
8f2114ee
GM
5864 * files.el (dir-locals-find-file):
5865 Ignore non-readable or non-regular files. (Bug#10928)
5866
eb182446
GM
5867 * files.el (locate-dominating-file): Doc fix.
5868
24679323
AS
58692012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5870
5871 * calendar/calendar.el (calendar-set-mode-line):
5872 `getenv' returns a string. (Bug#10951)
5873
01d972a9
LL
58742012-03-05 Leo Liu <sdl.web@gmail.com>
5875
109aa8a9
LL
5876 * simple.el (backward-delete-char-untabify): Constrain point to
5877 field (Bug#10939).
5878
01d972a9
LL
5879 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5880
10607bea
CY
58812012-03-05 Chong Yidong <cyd@gnu.org>
5882
5883 * simple.el (count-words): If called from Lisp, return the word
5884 count, for symmetry with `count-lines'. Arglist changed.
5885 (count-words--message): Args changed. Consolidate counting code
5886 from count-words and count-words-region.
5887 (count-words-region): Caller changed.
5888 (count-lines-region): Make it an obsolete alias.
5889
5dd11cfe
TH
58902012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5891
5892 * saveplace.el (save-place-to-alist)
5893 (save-place-ignore-files-regexp): Allow value nil to disable this
5894 feature.
5895
c349f4e6
CY
58962012-03-04 Chong Yidong <cyd@gnu.org>
5897
5898 * faces.el (face-spec-reset-face): For the default face, reset the
5899 attributes to default values (Bug#10748).
5900
e627be4c
LMI
59012012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5902
5903 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5904 previous patch: Check `message-send-mail-function', and not the
5905 default function (bug#10897).
5906
ebeabff4
MA
59072012-03-04 Michael Albinus <michael.albinus@gmx.de>
5908
a41a6cf4
MA
5909 * notifications.el (notifications-on-action-signal)
5910 (notifications-on-closed-signal): Check for unique service name of
5911 incoming event. Fix error in removing entry.
ebeabff4 5912 (top): Register for signals with wildcard service name.
a41a6cf4 5913 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 5914
c1ca42b4
CY
59152012-03-04 Chong Yidong <cyd@gnu.org>
5916
dc9924b8 5917 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 5918
ea16568d
GM
59192012-03-04 Glenn Morris <rgm@gnu.org>
5920
5921 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5922 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5923 (expand-abbrev, define-abbrev-table): Doc fixes.
5924
fbae4637
LMI
59252012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5926
5927 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5928 `message-default-send-mail-function' and not `send-mail-function'
5929 when doing the prompting for `sendmail-query-once' before sending
5930 in Message buffers (bug#10897).
5931
a1e7225c
LMI
5932 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5933 This is inconsistent with all the other stream functions, which leave
5934 the setting up to the higher levels (if so wanted) (bug#10931).
5935
56d093a9
AM
59362012-03-02 Alan Mackenzie <acm@muc.de>
5937
5938 Depessimize the handling of very large macros.
5939
5940 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5941 (c-macro-cache-syntactic): New variables to implement a one
5942 element macro cache.
5943 (c-invalidate-macro-cache): New function.
5944 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
5945 Adapt to use the new cache.
5946 (c-state-safe-place): Use better the cache of safe positions.
5947 (c-state-semi-nonlit-pos-cache)
5948 (c-state-semi-nonlit-pos-cache-limit):
5949 New variables for...
5950 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
5951 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
5952 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
5953 Use c-state-semi-safe-place.
56d093a9 5954
dbbc2e69
SM
5955 * progmodes/cc-langs.el (c-get-state-before-change-functions):
5956 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 5957
817e5c3d
MA
59582012-03-02 Michael Albinus <michael.albinus@gmx.de>
5959
dbbc2e69
SM
5960 * jka-compr.el (jka-compr-call-process):
5961 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
5962 not remote.
5963
a032a702
MA
59642012-03-01 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
5967 access of FILE2, if FILE1 does not exist.
5968
99a54f21
MA
5969 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
5970 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
5971
5972 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
5973 Add "PAGER=" to `process-environment'.
5974
f6561e1f
MM
59752012-03-01 Michael R. Mauger <mmaug@yahoo.com>
5976
5977 * progmodes/sql.el: Bug fix
5978 (sql-get-login-ext): Save login values in globals.
5979 (sql-get-login): Use new version of `sql-get-login-ext'.
5980 (sql-interactive-mode): Set global `sql-connection' to nil.
5981 (sql-connect): Set global values for connection.
5982 (sql-product-interactive): Save global values as buffer local.
5983
2d44d9cc
LL
59842012-02-29 Leo Liu <sdl.web@gmail.com>
5985
5986 * abbrev.el (define-abbrevs): Reset sys to nil.
5987
96b49301 59882012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5989
bf7f9bc5
JB
5990 * files.el (file-equal-p): Rename from `files-equal-p'.
5991 Return nil when one or both files don't exist.
96b49301 5992 (file-subdir-of-p): Now only top directory must exists,
5993 return nil if it doesn't.
bf7f9bc5
JB
5994 (copy-directory): No need to test with `file-subdir-of-p' after
5995 creating dir.
5996 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
5997 to `file-equal-p'.
96b49301 5998
44e97401
GM
59992012-02-28 Glenn Morris <rgm@gnu.org>
6000
6001 * shell.el (shell-mode):
6002 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6003 * play/landmark.el (landmark-font-lock-face-O):
6004 * play/handwrite.el (handwrite):
6005 * play/gomoku.el (gomoku-O):
6006 * net/browse-url.el (browse-url-browser-display):
6007 * international/mule.el (define-charset):
6008 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6009 * filesets.el (filesets-find-file-delay):
6010 * eshell/em-xtra.el (eshell-xtra):
6011 * eshell/em-unix.el (eshell-grep):
6012 * emulation/viper.el (viper-mode):
6013 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6014 * emacs-lisp/easymenu.el (easy-menu-define):
6015 * calendar/timeclock.el (timeclock-use-display-time):
6016 * bs.el (bs-mode):
6017 * bookmark.el (bookmark-save-flag):
6018 Doc fix (standardize possessive apostrophe usage).
6019
c98c6276
CY
60202012-02-27 Chong Yidong <cyd@gnu.org>
6021
bf7f9bc5
JB
6022 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6023 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6024
c98c6276
CY
6025 * font-lock.el (font-lock-specified-p): Rename from
6026 font-lock-spec-present. Callers changed.
6027
9c62cd04 60282012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6029
bf7f9bc5
JB
6030 * emacs-lisp/package.el (package-compute-transaction):
6031 Handle holding a package version to t in package-load-list.
8ac9e529 6032
530739c9
MA
60332012-02-26 Michael Albinus <michael.albinus@gmx.de>
6034
6035 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6036 (tramp-get-inode, tramp-get-device): Use cached values.
6037
487915d7
AM
60382012-02-26 Alan Mackenzie <acm@muc.de>
6039
6040 Check there is a font-lock specification before doing initial
6041 fontification.
6042
6043 * font-core.el (font-lock-mode): Move the conditional from
6044 :after-hook to font-lock-initial-fontify.
6045 (font-lock-default-function): Move the check for a specification
6046 to font-lock-spec-present.
6047
dc9924b8 6048 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6049 (font-lock-spec-present): New function.
6050
4fd96557
JB
60512012-02-26 Jim Blandy <jimb@red-bean.com>
6052
6053 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6054 (gdb-send): Apply it to the operand of the '-interpreter-exec
6055 console' command, so that we can pass arguments with (say) quotes
6056 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6057
9a4888c0
CY
60582012-02-26 Chong Yidong <cyd@gnu.org>
6059
07498861
CY
6060 * help-fns.el (describe-function-1): Clarify description of
6061 remapping (Bug#10844).
6062
9a4888c0
CY
6063 * files.el (files-equal-p): Doc fix.
6064 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6065 and quit the loop once a mismatch is found.
6066
ea8fb88d
JB
60672012-02-25 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * bs.el (bs--show-with-configuration): Don't throw an error
6070 if the window cannot be split; otherwise, subsequent calls to
6071 bs-show fail, restoring a stale window config. (Bug#10882)
6072
525795c1
JD
60732012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6074
6075 * term/ns-win.el (global-map): Bind ns-drag-file to
6076 ns-find-file (Bug#5855, Bug#10050).
6077
f008086f
AS
60782012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6079
6080 * calendar/parse-time.el (parse-time-string): Allow extractor to
6081 return nil.
6082
a3fcfa99
MA
60832012-02-25 Michael Albinus <michael.albinus@gmx.de>
6084
91027d08
JB
6085 * net/tramp.el (tramp-file-name-for-operation):
6086 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6087
6088 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6089 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6090 Add COPY-CONTENTS argument.
a3fcfa99 6091
67b0de11
CY
60922012-02-25 Chong Yidong <cyd@gnu.org>
6093
6094 Add custom groups for VC backends, for consistency with vc-bzr.
6095
6096 * vc/vc-arch.el (vc-arch):
6097 * vc/vc-cvs.el (vc-cvs):
6098 * vc/vc-git.el (vc-git):
6099 * vc/vc-hg.el (vc-hg):
6100 * vc/vc-mtn.el (vc-mtn):
6101 * vc/vc-rcs.el (vc-rcs):
6102 * vc/vc-sccs.el (vc-sccs):
6103 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6104 All relevant defcustoms reassigned.
6105
3c9dfce6
CY
61062012-02-25 Chong Yidong <cyd@gnu.org>
6107
1339bf43
CY
6108 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6109
3c9dfce6
CY
6110 * term/x-win.el (x-initialize-window-system): Reduce default for
6111 x-selection-timeout to 5 seconds (Bug#8869).
6112
25b2e303 61132012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6114
ec70a47d
GM
6115 * files.el (files-equal-p, file-subdir-of-p): New functions.
6116 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6117 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6118 * dired-aux.el (dired-copy-file-recursive): Same.
6119 (dired-create-files): Modify destination when source is equal to
6120 dest when copying files.
53a46cd0 6121 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6122
914260cd
MA
61232012-02-24 Michael Albinus <michael.albinus@gmx.de>
6124
6125 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6126 (Bug#10874)
6127
2cb228f7
AM
61282012-02-23 Alan Mackenzie <acm@muc.de>
6129
6130 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6131 parameter "after-hook:" to allow the expansion to run code after
6132 the execution of the mode hooks.
6133
6134 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6135 from font-lock-mode-internal.
2cb228f7 6136
91027d08 6137 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6138 :after-hook.
6139
8f0fde21
SM
61402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6141
3e88618b
SM
6142 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6143 (completion--cache-all-sorted-completions): New function.
6144 (completion-all-sorted-completions): Use it.
6145 (completion--do-completion, minibuffer-force-complete):
6146 Use it to re-instate the flush hook.
6147
8f0fde21
SM
6148 * icomplete.el (icomplete-completions): Replace last fix with a better
6149 one (bug#10850).
6150
8e911f6f
DG
61512012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6152
6153 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6154 when it might call us back infinitely (bug#10797).
6155
49fe4321
GM
61562012-02-23 Glenn Morris <rgm@gnu.org>
6157
6158 * minibuffer.el (completion-category-overrides): Doc fix.
6159
b291b572
SM
61602012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6163 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6164
31a9ef2e
GM
61652012-02-23 Glenn Morris <rgm@gnu.org>
6166
5e6e6794 6167 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6168 (authors-obsolete-files-regexps, authors-ignored-files)
6169 (authors-ambiguous-files, authors-renamed-files-alist):
6170 Add more entries.
6171
0bd1e074
JL
61722012-02-23 Juri Linkov <juri@jurta.org>
6173
6174 * isearch.el (isearch-occur): Sync interactive spec with occur's
6175 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6176
b617673c
JL
6177 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6178
19e9789e
JL
61792012-02-22 Juri Linkov <juri@jurta.org>
6180
6181 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6182 (ucs-insert): Doc fix. Check for hex digits in the string.
6183 Don't display `nil' in the error message. (Bug#10857)
6184
f41ce09d
AM
61852012-02-22 Alan Mackenzie <acm@muc.de>
6186
7a71b18d 6187 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6188
ac2eceee
GM
61892012-02-22 Glenn Morris <rgm@gnu.org>
6190
6191 * ffap.el (ffap-c-path):
6192 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6193
abd1f678
CY
61942012-02-22 Chong Yidong <cyd@gnu.org>
6195
6196 * custom.el (load-theme): Doc fix.
6197
f25aef2e
GM
61982012-02-22 Glenn Morris <rgm@gnu.org>
6199
6200 * dired-x.el (dired-guess-shell-alist-default):
6201 Remove escape sequences from nroff output. (Bug#172)
6202
5f8dc2ca
GM
62032012-02-21 Glenn Morris <rgm@gnu.org>
6204
6ff86ec4
GM
6205 * vc/emerge.el (emerge-defvar-local):
6206 Set `permanent-local' property rather than unused `preserved'.
6207
be3223a3 6208 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6209 (picture-mode-map): Use it. (Bug#10860)
6210 (picture-mode): Doc fix.
6211
3fe58f4f
JB
62122012-02-21 Juanma Barranquero <lekktu@gmail.com>
6213
6214 * newcomment.el (uncomment-region-default): Remove unused binding.
6215
f9a998c3
GM
62162012-02-21 Glenn Morris <rgm@gnu.org>
6217
6218 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6219 (picture-self-insert, picture-tab-chars): Doc fix.
6220 (picture-mode-map): Fix C-a, C-e.
6221
c6029348
GM
62222012-02-20 Glenn Morris <rgm@gnu.org>
6223
6224 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6225
ab1ce9d7
LL
62262012-02-20 Leo Liu <sdl.web@gmail.com>
6227
6228 * icomplete.el (icomplete-completions): Check FROM arg before
6229 passing to substring (Bug#10850).
6230
0fd40f89
CY
62312012-02-19 Chong Yidong <cyd@gnu.org>
6232
6233 * comint.el: Require ansi-color.
6234 (comint-output-filter-functions): Add ansi-color-process-output.
6235
6236 * ansi-color.el: Don't set comint-output-filter-functions; it is
6237 now in the initial value defined in comint.el.
6238 (ansi-color-apply-face-function): New variable.
6239 (ansi-color-apply-on-region): Use it.
6240 (ansi-color-apply-overlay-face): New function.
6241
6242 * shell.el (shell): No need to require ansi-color.
6243 (shell-mode): Use ansi-color-apply-face-function to highlight
6244 color escapes using font-lock-face property (Bug#10835).
6245
20af2394
CY
62462012-02-19 Chong Yidong <cyd@gnu.org>
6247
6248 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6249 mode-line formats (Bug#10839).
6250
e23a3fbe
GM
62512012-02-18 Glenn Morris <rgm@gnu.org>
6252
b474519e
GM
6253 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6254
6255 * mail/undigest.el (unforward-rmail-message): Doc fix.
6256
e23a3fbe
GM
6257 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6258
57939ff4
EZ
62592012-02-18 Eli Zaretskii <eliz@gnu.org>
6260
6261 * international/characters.el (script-list): Sync with the latest
6262 Unicode Character Database.
6263
0c23686e
AS
62642012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6265
6266 * international/titdic-cnv.el: Remove duplicate coding tag.
6267 * language/cham.el: Likewise.
6268 * language/tai-viet.el: Likewise.
6269
6818b449
GM
62702012-02-18 Glenn Morris <rgm@gnu.org>
6271
6272 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6273 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6274 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6275 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6276 * calendar/holidays.el (holiday-bahai-holidays)
6277 (calendar-holidays, list-holidays):
6278 Use utf-8 Bahá'í in doc-strings, menus, etc.
6279
0311a3fc
TH
62802012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6281
6282 * saveplace.el (save-place-ignore-files-regexp): New variable
6283 allowing for excluding files from saving their location of point.
6284 The default value matches the temporary commit message editing
6285 files from Git, SVN, Bazaar, and Mercurial.
6286 (save-place-to-alist): Use it.
6287
d209e2fb 62882012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6289 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6290
6291 * newcomment.el (uncomment-region-default): Don't leave extra space
6292 when an arg is provided (bug#8150).
6293
ee0ce425
TZ
62942012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6295
eb864a71 6296 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6297
95ddf442
GM
62982012-02-17 Glenn Morris <rgm@gnu.org>
6299
6300 * net/socks.el: Require network-stream. (Bug#10599)
6301
48dd1e39 63022012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6303
6304 * international/charprop.el:
6305 * international/uni-name.el:
6306 * international/uni-old-name.el:
6307 * international/uni-comment.el: Regenerate.
6308
d68cd087
GM
63092012-02-16 Glenn Morris <rgm@gnu.org>
6310
6311 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6312 Interactively in calendar buffer, give an error if not on a date.
6313
13932042
GM
63142012-02-15 Glenn Morris <rgm@gnu.org>
6315
6316 * shell.el (shell-delimiter-argument-list):
6317 Revert 2011-02-17 change. (Bug#8027)
6318
c3a70e2b
CY
63192012-02-15 Chong Yidong <cyd@gnu.org>
6320
60236b0d
CY
6321 * minibuffer.el (completion-at-point-functions): Doc fix.
6322
c3a70e2b
CY
6323 * custom.el (defcustom): Doc fix; note use of defvar.
6324
9f26dc24
GM
63252012-02-15 Glenn Morris <rgm@gnu.org>
6326
6327 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6328 Doc fixes.
6329
6546b134
GM
63302012-02-14 Glenn Morris <rgm@gnu.org>
6331
6332 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6333
d29b2b4c
LI
63342012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6335
6336 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6337 way the ports list is computed.
835bdcba
LI
6338 (smtpmail-query-smtp-server): Prompt the user for a port number if
6339 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6340
08dcdbc9
TZ
63412012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6342
6343 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6344
2605051a
GM
63452012-02-13 Glenn Morris <rgm@gnu.org>
6346
6347 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6348
7ee99f32
TZ
63492012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6350
6351 * net/gnutls.el (gnutls-trustfiles): New variable.
6352 (gnutls-negotiate): Use it.
6353
5f0af64f
LI
63542012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6355
6356 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6357 does its stuff if Gnus is running.
6358
c14fcc95
AM
63592012-02-13 Alan Mackenzie <acm@muc.de>
6360
6361 Fix a loop in c-set-fl-decl-start.
6362
7a71b18d 6363 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6364 c-backward-syntactic-ws actually moves backwards.
6365
142b4d90
LL
63662012-02-13 Leo Liu <sdl.web@gmail.com>
6367
6368 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6369 beginning so that all \C-o chars are removed.
6370
fa9958a6
TZ
63712012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6372
dc9924b8 6373 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6374
0bc5886a
AM
63752012-02-12 Alan Mackenzie <acm@muc.de>
6376
6377 Fix infinite loop with long macros.
4d6769e1 6378 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6379
d4bd55e7
CY
63802012-02-12 Chong Yidong <cyd@gnu.org>
6381
6382 * window.el (display-buffer): Doc fix (Bug#10785).
6383
66f3fe22
GM
63842012-02-12 Glenn Morris <rgm@gnu.org>
6385
bd7da63e
GM
6386 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6387 (x-disown-selection-internal, x-get-selection-internal):
6388 Sync docs with the xselect.c versions.
6389
66f3fe22
GM
6390 * allout-widgets.el: Add missing license notice.
6391
3e0d2fa7
GM
63922012-02-11 Glenn Morris <rgm@gnu.org>
6393
cfecdf09
GM
6394 * select.el (x-get-selection-internal, x-own-selection-internal)
6395 (x-disown-selection-internal):
6396 * x-dnd.el (x-get-selection-internal): Update declarations.
6397
6d216d7f
GM
6398 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6399
2bed3f04
GM
6400 * window.el (window-sides-slots):
6401 * tool-bar.el (tool-bar-position):
6402 * term/xterm.el (xterm-extra-capabilities):
6403 * ses.el (ses-self-reference-early-detection):
6404 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6405 (verilog-auto-wire-type)
6406 (verilog-auto-delete-trailing-whitespace)
6407 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6408 (verilog-auto-tieoff-declaration):
6409 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6410 (sql-oracle-statement-starters, sql-oracle-scan-on):
6411 * progmodes/prolog.el (prolog-align-comments-flag)
6412 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6413 (prolog-left-indent-regexp, prolog-paren-indent-p)
6414 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6415 (prolog-types, prolog-mode-specificators)
6416 (prolog-determinism-specificators, prolog-directives)
6417 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6418 (prolog-electric-dot-flag)
6419 (prolog-electric-dot-full-predicate-template)
6420 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6421 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6422 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6423 (prolog-program-switches, prolog-prompt-regexp)
6424 (prolog-debug-on-string, prolog-debug-off-string)
6425 (prolog-trace-on-string, prolog-trace-off-string)
6426 (prolog-zip-on-string, prolog-zip-off-string)
6427 (prolog-use-standard-consult-compile-method-flag)
6428 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6429 (prolog-imenu-max-lines, prolog-info-predicate-index)
6430 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6431 (prolog-char-quote-workaround):
6432 * progmodes/cc-vars.el (c-defun-tactic):
6433 * net/tramp.el (tramp-encoding-command-interactive)
6434 (tramp-local-end-of-line):
6435 * net/soap-client.el (soap-client):
6436 * net/netrc.el (netrc-file):
6437 * net/gnutls.el (gnutls):
6438 * minibuffer.el (completion-category-overrides)
6439 (completion-cycle-threshold)
6440 (completion-pcm-complete-word-inserts-delimiters):
6441 * man.el (Man-name-local-regexp):
6442 * mail/feedmail.el (feedmail-display-full-frame):
6443 * international/characters.el (glyphless-char-display-control):
6444 * eshell/em-ls.el (eshell-ls-date-format):
6445 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6446 (lisp-lambda-list-keyword-parameter-indentation)
6447 (lisp-lambda-list-keyword-parameter-alignment):
6448 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6449 * dired-x.el (dired-omit-verbose):
6450 * cus-theme.el (custom-theme-allow-multiple-selections):
6451 * calc/calc.el (calc-highlight-selections-with-faces)
6452 (calc-lu-field-reference, calc-lu-power-reference)
6453 (calc-note-threshold):
6454 * battery.el (battery-mode-line-limit):
6455 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6456 (archive-7z-update):
6457 * allout.el (allout-prefixed-keybindings)
6458 (allout-unprefixed-keybindings)
6459 (allout-inhibit-auto-fill-on-headline)
6460 (allout-flattened-numbering-abbreviation):
6461 * allout-widgets.el (allout-widgets-auto-activation)
6462 (allout-widgets-icons-dark-subdir)
6463 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6464 (allout-widgets-theme-dark-background)
6465 (allout-widgets-theme-light-background)
6466 (allout-widgets-item-image-properties-emacs)
6467 (allout-widgets-item-image-properties-xemacs)
6468 (allout-widgets-run-unit-tests-on-load)
6469 (allout-widgets-time-decoration-activity)
6470 (allout-widgets-hook-error-post-time)
6471 (allout-widgets-track-decoration):
6472 Add missing :version tags to new defcustoms and defgroups.
6473
5fec1b8e
GM
6474 * progmodes/sql.el (sql-ansi-statement-starters)
6475 (sql-oracle-statement-starters): Add custom type.
6476
3e0d2fa7
GM
6477 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6478 (prolog-system-version): Give it a type.
6479
90b671e2
EZ
64802012-02-11 Eli Zaretskii <eliz@gnu.org>
6481
6482 * term/pc-win.el (x-select-text, x-selection-owner-p)
6483 (x-own-selection-internal, x-disown-selection-internal)
6484 (x-get-selection-internal): Sync doc strings and argument lists
6485 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6486
5eac0c02
LL
64872012-02-11 Leo Liu <sdl.web@gmail.com>
6488
6489 * progmodes/python.el (python-end-of-statement): Fix infinite
6490 loop. (Bug#10788)
6491
f82cb659
GM
64922012-02-10 Glenn Morris <rgm@gnu.org>
6493
6494 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6495 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6496
cc26d239
LI
64972012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6498
6499 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6500 about SMTP before checking the From header.
6501
91027d08 6502 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6503 into own function for reuse by emacsbug.el.
6504
1be3ca5a
LL
65052012-02-10 Leo Liu <sdl.web@gmail.com>
6506
6507 * subr.el (condition-case-unless-debug): Rename from
6508 condition-case-no-debug. All callers changed.
6509 (with-demoted-errors): Fix caller.
6510
6511 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6512 * nxml/rng-valid.el (rng-do-some-validation):
6513 * emacs-lisp/package.el (package-refresh-contents)
6514 (package-menu-execute):
6515 * desktop.el (desktop-create-buffer):
91027d08 6516 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6517
b011fbfe
GM
65182012-02-10 Glenn Morris <rgm@gnu.org>
6519
b2096d72
GM
6520 * textmodes/bibtex.el:
6521 Add missing :version tags for new/changed defcustoms.
6522
b011fbfe
GM
6523 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6524
4c7e65bf
LI
65252012-02-09 Lars Ingebrigtsen <larsi@rusty>
6526
6527 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6528 (smtpmail-via-smtp): Use it, or fall back on the From address.
6529 (smtpmail-send-it): Ditto.
6530
f3934f6f
SM
65312012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6534 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6535 (byte-compile-tmp-var): New const.
6536 (byte-compile-defvar): Use it to minimize .elc size.
6537 Just use `defvar' rather than simulate it (bug#10761).
6538
a075a2c5
GM
65392012-02-09 Glenn Morris <rgm@gnu.org>
6540
cf3aa21b
GM
6541 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6542
354998cd
GM
6543 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6544 Add :version tags.
6545
dc9924b8
SM
6546 * progmodes/compile.el (compilation-error-screen-columns)
6547 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6548
dab3703d
GM
6549 * vc/log-view.el (log-view-toggle-entry-display):
6550 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6551
3f88cd72
GM
6552 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6553 (report-emacs-bug-can-use-xdg-email):
6554 (report-emacs-bug-insert-to-mailer): Doc fixes.
6555 (report-emacs-bug): Message fix.
6556
d95b247d
GM
6557 * net/browse-url.el (browse-url-can-use-xdg-open)
6558 (browse-url-xdg-open): Doc fixes.
6559
a075a2c5
GM
6560 * electric.el (electric-indent-mode, electric-pair-mode)
6561 (electric-layout-rules, electric-layout-mode): Doc fixes.
6562 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6563
ffb6157e
MR
65642012-02-08 Martin Rudalics <rudalics@gmx.at>
6565
6566 * server.el (server-unselect-display): Don't inadvertently kill
6567 the current buffer. (Bug#10729)
6568
e1ac4066
GM
65692012-02-08 Glenn Morris <rgm@gnu.org>
6570
34e8a2da
GM
6571 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6572 (sql-list-table): Doc fixes.
6573
b4ac6e8c
GM
6574 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6575 Comment out (does nothing).
6576
e1ac4066
GM
6577 * completion.el (dynamic-completion-mode):
6578 * dirtrack.el (dirtrack-debug-mode):
6579 * electric.el (electric-layout-mode):
6580 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6581 * face-remap.el (text-scale-mode, buffer-face-mode):
6582 * iimage.el (iimage-mode):
6583 * image-mode.el (image-transform-mode):
6584 * minibuffer.el (completion-in-region-mode):
6585 * scroll-lock.el (scroll-lock-mode):
6586 * simple.el (next-error-follow-minor-mode):
6587 * tar-mode.el (tar-subfile-mode):
6588 * tooltip.el (tooltip-mode):
6589 * vcursor.el (vcursor-use-vcursor-map):
6590 * wid-browse.el (widget-minor-mode):
6591 * emulation/tpu-edt.el (tpu-edt-mode):
6592 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6593 * international/iso-ascii.el (iso-ascii-mode):
6594 * language/thai-util.el (thai-word-mode):
6595 * mail/supercite.el (sc-minor-mode):
6596 * net/goto-addr.el (goto-address-mode):
6597 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6598 * progmodes/cwarn.el (cwarn-mode):
6599 * progmodes/flymake.el (flymake-mode):
6600 * progmodes/glasses.el (glasses-mode):
6601 * progmodes/hideshow.el (hs-minor-mode):
6602 * progmodes/pascal.el (pascal-outline-mode):
6603 * textmodes/enriched.el (enriched-mode):
6604 * vc/smerge-mode.el (smerge-mode):
6605 Doc fixes (minor mode argument).
6606
5e0d957f
EZ
66072012-02-07 Eli Zaretskii <eliz@gnu.org>
6608
6609 * ls-lisp.el (ls-lisp-sanitize): New function.
6610 (ls-lisp-insert-directory): Use it to fix or remove any elements
6611 in file-alist with missing attributes. (Bug#4673)
6612
98d7371e
AM
66132012-02-07 Alan Mackenzie <acm@muc.de>
6614
6615 Fix spurious recognition of c-in-knr-argdecl.
6616
6617 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6618 putative K&R region.
6619
667ced3a
AM
66202012-02-07 Alan Mackenzie <acm@muc.de>
6621
eb864a71
LM
6622 * progmodes/cc-engine.el (c-forward-objc-directive):
6623 Prevent looping in "#pragma mark @implementation".
667ced3a 6624
5b77774d
MA
66252012-02-07 Michael Albinus <michael.albinus@gmx.de>
6626
6627 * notifications.el (notifications-on-closed-signal): Make `reason'
6628 optional. (Bug#10744)
6629
af008560
GM
66302012-02-07 Glenn Morris <rgm@gnu.org>
6631
60d47423
GM
6632 * emacs-lisp/easy-mmode.el (define-minor-mode):
6633 Doc fixes for the macro and the mode it defines.
6634
dd605cc4
GM
6635 * image.el (imagemagick-types-inhibit): Doc fix.
6636
af008560
GM
6637 * cus-start.el (imagemagick-render-type): Add it.
6638
5cc59a37
LI
66392012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6640
4d6769e1
JB
6641 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6642 Set the default at load time, too, so that `font-lock-fontify-buffer'
6643 can be called without setting up the entire mode first. This fixes
6644 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6645
9a6dd747
CY
66462012-02-06 Chong Yidong <cyd@gnu.org>
6647
2d16b285
CY
6648 * simple.el (list-processes--refresh): Delete exited processes
6649 (Bug#8094).
6650
171e9b6e
CY
6651 * comint.el (comint-next-prompt): next-single-char-property-change
6652 and prev-single-char-property-change never return nil (Bug#8657).
6653
9a6dd747
CY
6654 * custom.el (defcustom): Doc fix (Bug#9711).
6655
aa4589a7
CY
66562012-02-05 Chong Yidong <cyd@gnu.org>
6657
5c2a252f
CY
6658 * cus-edit.el (custom-variable-reset-backup): Quote the value
6659 before storing it in the customized-value property (Bug#6712).
4aab9006 6660 (custom-display): Add a customization type tag.
983b9602 6661 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 6662
aa4589a7
CY
6663 * wid-edit.el (widget-field-value-get): New optional arg to
6664 suppress trailing whitespace truncation.
6665 (character): Use it (Bug#2689).
6666
1ff980ae
AS
66672012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6668
6669 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6670 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6671
03988c98
CY
66722012-02-05 Chong Yidong <cyd@gnu.org>
6673
eeb6cc88
CY
6674 * cus-edit.el (custom-variable-value-create): For mismatched
6675 types, show the current value (Bug#7600).
6676
03988c98
CY
6677 * custom.el (defcustom): Doc fix.
6678
f8cdeef0
GM
66792012-02-05 Glenn Morris <rgm@gnu.org>
6680
6681 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6682
0696d255
JB
66832012-02-05 Juanma Barranquero <lekktu@gmail.com>
6684
6685 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6686 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6687 (pp-last-sexp): Use `looking-at-p'.
6688
34c99998
GM
66892012-02-04 Glenn Morris <rgm@gnu.org>
6690
8f05da42
GM
6691 * files.el (revert-buffer):
6692 Doc fix (mention revert-buffer-in-progress-p).
6693
f160676e
GM
6694 * emacs-lisp/ert-x.el (ert-simulate-command):
6695 Check deferred-action-list (which is obsolete) is bound.
6696
c7291ad9
GM
6697 * subr.el (with-wrapper-hook): Doc fixes.
6698
34c99998
GM
6699 * simple.el (filter-buffer-substring-functions)
6700 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6701
6283a7d3
LL
67022012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6703
6704 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6705 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6706
e96e3013
LL
67072012-02-04 Leo Liu <sdl.web@gmail.com>
6708
6709 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6710
8ded50f2
GM
67112012-02-04 Glenn Morris <rgm@gnu.org>
6712
82ff1d13
GM
6713 * image.el (image-extension-data): Add obsolete alias.
6714
987a0a16
GM
6715 * isearch.el (isearch-update): Doc fix.
6716
ea32ef46
GM
6717 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6718
8ded50f2
GM
6719 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6720
eea14f31
GM
67212012-02-03 Glenn Morris <rgm@gnu.org>
6722
6723 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6724 (image-animate-timeout): Doc fix.
6725
6726 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6727
12f381b7
GM
67282012-02-02 Glenn Morris <rgm@gnu.org>
6729
953cebf5
GM
6730 * server.el (server-auth-dir): Doc fix.
6731 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6732
12f381b7
GM
6733 * subr.el (run-mode-hooks): Doc fix.
6734
953a8c3b
JL
67352012-02-02 Juri Linkov <juri@jurta.org>
6736
6737 * image-mode.el (image-toggle-display-image): Remove tautological
6738 `major-mode' from the `derived-mode-p' test.
6739
c5d3843c
KH
67402012-02-02 Kenichi Handa <handa@m17n.org>
6741
9f6e692e 6742 * composite.el (compose-region): Cancel previous change.
c5d3843c 6743
159462d4 67442012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
6745
6746 * composite.el (compose-region, compose-string): Signal error for
6747 a null string component (Bug#6988).
6748
9f562668
CY
67492012-02-01 Chong Yidong <cyd@gnu.org>
6750
e2cef717
CY
6751 * view.el (view-buffer-other-window, view-buffer-other-frame):
6752 Handle special modes like view-buffer (Bug#10650).
6753 (view-buffer): Simplify.
6754
9f562668
CY
6755 * frame.el (set-frame-font): Tweak meaning of third argument.
6756
9f6e692e
JB
6757 * dynamic-setting.el (font-setting-change-default-font):
6758 Use set-frame-font (Bug#9982).
9f562668 6759
781acb9f
GM
67602012-02-01 Glenn Morris <rgm@gnu.org>
6761
6035be52
GM
6762 * progmodes/compile.el (compilation-internal-error-properties):
6763 Respect compilation-first-column in the "*compilation*" buffer.
6764
781acb9f
GM
6765 * emacs-lisp/easy-mmode.el (define-minor-mode):
6766 Relax :variable's test for a named function.
6767
abbceb00
AM
67682012-01-31 Alan Mackenzie <acm@muc.de>
6769
6770 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6771 off by one error.
6772
fce3fdeb
CY
67732012-01-31 Chong Yidong <cyd@gnu.org>
6774
6775 * frame.el (set-frame-font): New arg ALL-FRAMES.
6776
6777 * menu-bar.el (menu-set-font): Use set-frame-font.
6778
6779 * faces.el (face-spec-reset-face): Don't apply unspecified
6780 attribute values to the default face.
6781
47893581
JB
67822012-01-31 Juanma Barranquero <lekktu@gmail.com>
6783
6784 * progmodes/cwarn.el (cwarn): Remove dead link.
6785 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6786 Remove * from defcustom docstrings.
6787 (turn-on-cwarn-mode): Make obsolete.
6788 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6789 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6790
e58e988a
GM
67912012-01-31 Glenn Morris <rgm@gnu.org>
6792
60dc2671 6793 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 6794 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 6795 Allow named functions to be used as the cdr of :variable.
e58e988a 6796
7a3f511d
GM
67972012-01-30 Glenn Morris <rgm@gnu.org>
6798
6799 * emacs-lisp/authors.el (authors-fixed-entries):
6800 Remove reference to deleted file rnewspost.el.
6801
cb882333
JB
68022012-01-29 Juanma Barranquero <lekktu@gmail.com>
6803
6804 * window.el (window-with-parameter): Remove unused variable `windows'.
6805 (window--side-check): Remove unused variable `code'.
6806 (window--resize-siblings): Remove unused variable `first'.
6807 (adjust-window-trailing-edge): Remove unused variable `failed'.
6808 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6809 Use `let', not `let*'.
6810 (balance-windows-2): Remove unused variable `found'.
6811 (window--state-put-2): Remove unused variable `splits'.
6812 (window-state-put): Remove unused variable `selected'.
6813 (same-window-p): Use `string-match-p'.
6814 (display-buffer-assq-regexp): Remove unused variable `value'.
6815 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6816 Mark argument ALIST as ignored.
6817 (pop-to-buffer): Remove unused variable `old-window'.
6818
907201af
EZ
68192012-01-29 Eli Zaretskii <eliz@gnu.org>
6820
6821 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6822 and .lzma compressed files.
6823
ea162670
CY
68242012-01-29 Chong Yidong <cyd@gnu.org>
6825
5b95ee8a
CY
6826 * frame.el (window-system-default-frame-alist): Doc fix.
6827
ea162670
CY
6828 * dynamic-setting.el (font-setting-change-default-font): Don't
6829 change the default face if SET-FONT argument is non-nil (Bug#9982).
6830
d6e6f4b1
SB
68312012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6832
6833 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6834
0f29fa41 68352012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
6836
6837 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6838 breakpoints in files outside current directory (Bug#6098).
6839
db174434
CY
68402012-01-29 Chong Yidong <cyd@gnu.org>
6841
6b25e4e2
SE
6842 * progmodes/python.el: Require ansi-color at top-level.
6843
6df6ae42
JB
6844 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6845 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
6846 (lisp-mode-abbrev-table): Add doc.
6847 (lisp-mode-variables): Don't set local-abbrev-table.
6848 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6849
e70ee681
RW
68502012-01-28 Roland Winkler <winkler@gnu.org>
6851
6852 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6853
ace88aa2
RW
68542012-01-28 Roland Winkler <winkler@gnu.org>
6855
6856 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6857 (bibtex-set-dialect): Use it. Either set global values of
6858 dialect-dependent variables or bind these variables buffer-locally
6859 (Bug#10254).
6860 (bibtex-mode): Call bibtex-set-dialect via
6861 hack-local-variables-hook.
eb864a71
LM
6862 (bibtex-dialect): Update docstring.
6863 Add safe-local-variable predicate.
ace88aa2
RW
6864 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6865 bibtex-set-dialect.
6866 (bibtex-mode-map): Define menu for each dialect.
6867 (bibtex-entry): Fix docstring.
6868
93376c5b
CY
68692012-01-28 Chong Yidong <cyd@gnu.org>
6870
6871 * eshell/esh-arg.el (eshell-quote-argument): New function.
6872
6873 * eshell/esh-ext.el (eshell-invoke-batch-file):
6874 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6875 first arg to eshell-parse-command (Bug#10523).
6876
4372494f
DA
68772012-01-28 Drew Adams <drew.adams@oracle.com>
6878
6879 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6880 `default-directory' is non-nil.
6881
4d4ec1f8
EZ
68822012-01-28 Eli Zaretskii <eliz@gnu.org>
6883
6884 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6885 line that displays system-configuration-options. (Bug#9924)
6886
7c188927
DA
68872012-01-28 Drew Adams <drew.adams@oracle.com>
6888
6889 * descr-text.el (describe-char): Show information about POS, in
6890 addition to information about the character at POS. Improve and
6891 update the doc string. Change "code point" to "code point in
6892 charset", to avoid confusion with the character's Unicode code
6893 point shown above that. (Bug#10129)
6894
e0da685a
EZ
68952012-01-28 Eli Zaretskii <eliz@gnu.org>
6896
6897 * descr-text.el (describe-char): Show the raw character, not only
6898 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6899 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6900 for the reasons.
6901
70550acf
PH
69022012-01-28 Phil Hagelberg <phil@hagelb.org>
6903
eb864a71
LM
6904 * emacs-lisp/package.el (package-install):
6905 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 6906
0ce8e868
CY
69072012-01-28 Chong Yidong <cyd@gnu.org>
6908
cb882333
JB
6909 * emacs-lisp/package.el (package-maybe-load-descriptor):
6910 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
6911 (package-maybe-load-descriptor): Use it.
6912 (package-download-transaction): Fully load required packages
6913 inside the loop, so that `require' calls work (Bug#10593).
6914 (package-install): No need to call package-initialize now.
6915
2e7f3bea
CY
69162012-01-28 Chong Yidong <cyd@gnu.org>
6917
6e9bad14
CY
6918 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6919
f823b8ca
CY
6920 * tooltip.el (tooltip-mode): Doc fix.
6921 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6922
2680c309
CY
6923 * frame.el (set-cursor-color): Doc fix (Bug#352).
6924
d7a9e63b
CY
6925 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6926 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6927
2e7f3bea
CY
6928 * cus-edit.el (custom-buffer-create-internal): Fix search button
6929 action (Bug#10542).
2ae01800 6930 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 6931
fc4f7a23
EW
69322012-01-27 Eduard Wiebe <usenet@pusto.de>
6933
6934 * dired.el (dired-mark-files-regexp):
6935 Include any subdirectory components. (Bug#10445)
6936
7dd37071
ML
69372012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6938
6939 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6940 Handle [host]:port syntax. (Bug#10533)
6941
a268160b
AH
69422012-01-27 Alex Harsanyi <harsanyi@mac.com>
6943
6944 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
6945
e43273ef
GM
69462012-01-26 Glenn Morris <rgm@gnu.org>
6947
6948 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
6949 * term.el (term-raw-escape-map): Use Control-X-prefix.
6950 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
6951
1edf595d
MR
69522012-01-25 Martin Rudalics <rudalics@gmx.at>
6953
6954 * window.el (window-state-get, window--state-get-1): Don't deal
6955 with fixed-sizeness of windows. Simplify code.
6956
fa8eafef
JC
69572012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
6958
6df6ae42
JB
6959 * window.el (window--state-get-1, window--state-put-2):
6960 Don't save and restore the mark.
fa8eafef 6961
0b21c100
CY
69622012-01-25 Chong Yidong <cyd@gnu.org>
6963
6964 * custom.el (custom-variable-p): Doc fix.
6965
5ae1a6c8
GM
69662012-01-25 Glenn Morris <rgm@gnu.org>
6967
40047858
GM
6968 * dired.el (dired-goto-file): Handle some of the more common
6969 characters that `ls -b' escapes. (Bug#10596)
6970
5ddce96c
GM
6971 * progmodes/compile.el (compilation-next-error-function):
6972 Respect compilation-first-column in the "*compilation*" buffer.
6973 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
6974
5ae1a6c8
GM
6975 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
6976
b559f1a9
GM
69772012-01-24 Glenn Morris <rgm@gnu.org>
6978
6979 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
6980
6725d21a
JD
69812012-01-24 Julien Danjou <julien@danjou.info>
6982
6983 * color.el (color-rgb-to-hsl): Fix value computing.
6984 (color-hue-to-rgb): New function.
6985 (color-hsl-to-rgb): New function.
6986 (color-clamp, color-saturate-hsl, color-saturate-name)
6987 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6988 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
6989
70df4bbe
GM
69902012-01-24 Glenn Morris <rgm@gnu.org>
6991
6992 * vc/vc-rcs.el (vc-rcs-create-tag):
6993 * vc/vc-sccs.el (vc-sccs-create-tag):
6994 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
6995
802a2ae2
ML
69962012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
6997
6998 * eshell/esh-util.el (eshell-read-hosts-file):
6999 Skip comment lines. (Bug#10549)
7000
d7128bb1
ML
7001 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7002
d1a5c3b4
JB
70032012-01-23 Juanma Barranquero <lekktu@gmail.com>
7004
2724d9c7
JB
7005 * subr.el (display-delayed-warnings): Doc fix.
7006 (collapse-delayed-warnings): New function to collapse identical
7007 adjacent warnings.
7008 (delayed-warnings-hook): Add it.
d1a5c3b4 7009
a5509865
MA
70102012-01-22 Michael Albinus <michael.albinus@gmx.de>
7011
7012 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7013
a5509865
MA
7014 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7015 (tramp-default-user-alist): Don't add "pscp".
7016 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7017 property "login-as", if set. (Bug#10530)
7018
cc6d5805
MA
70192012-01-21 Michael Albinus <michael.albinus@gmx.de>
7020
7021 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7022 "plink1" and "psftp". (Bug#10530)
7023
70242012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7025
7026 * international/mule-cmds.el (prefer-coding-system): Show a
7027 warning message if the default value of file-name-coding-system
7028 was not changed.
7029
f0960428
JC
70302012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7031
cb882333
JB
7032 * windmove.el (windmove-reference-loc):
7033 Fix windmove-reference-loc miscalculation.
f0960428 7034
dd6f2a63
JB
70352012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7036
7037 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7038 default unit.
7039
7b447e9b
GM
70402012-01-21 Glenn Morris <rgm@gnu.org>
7041
117a9ea1
GM
7042 * international/mule.el (auto-coding-alist): Add .tbz.
7043
7b447e9b
GM
7044 * files.el (local-enable-local-variables): Doc fix.
7045 (inhibit-local-variables-regexps): Rename from
7046 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7047 Doc fix. Add some extensions from auto-coding-alist.
7048 (inhibit-local-variables-suffixes):
7049 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7050 (inhibit-local-variables-p):
7051 New function, extracted from set-auto-mode-1.
7052 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7053 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7054 (hack-local-variables): Doc fix. Make the mode-only case
7055 respect enable-local-variables and friends.
7056 Respect inhibit-local-variables-regexps for file-locals, but
7057 not for directory-locals.
7058 (set-visited-file-name):
7059 Take account of inhibit-local-variables-regexps.
7060 Whether it applies may change as the file name is changed.
7061 * jka-cmpr-hook.el (jka-compr-install):
7062 * jka-compr.el (jka-compr-uninstall):
7063 Update for inhibit-first-line-modes-suffixes name change.
7064
dd6e3cdd
MR
70652012-01-20 Martin Rudalics <rudalics@gmx.at>
7066
7067 * help-macro.el (make-help-screen): Temporarily restore original
7068 binding for minor-mode-map-alist (Bug#10454).
7069
0d0deb38
JD
70702012-01-19 Julien Danjou <julien@danjou.info>
7071
7072 * color.el (color-name-to-rgb): Use the white color to find the max
7073 color component value and return correctly computed values.
7074 (color-name-to-rgb): Add missing float conversion for max value.
7075
34a02f46
MR
70762012-01-19 Martin Rudalics <rudalics@gmx.at>
7077
7078 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7079 special state value for window-persistent-parameters.
7080 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7081 (window--state-put-2): Reset all window parameters to nil before
7082 assigning values of persistent parameters.
7083
606c44c4
AM
70842012-01-18 Alan Mackenzie <acm@muc.de>
7085
7086 Eliminate sluggishness and hangs in fontification of "semicolon
7087 deserts".
7088
cb882333
JB
7089 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7090 Change value 10000 -> 3000.
606c44c4
AM
7091 (c-state-safe-place): Reformulate so it doesn't stack up an
7092 infinite number of wrong entries in c-state-nonlit-pos-cache.
7093 (c-determine-limit-get-base, c-determine-limit): New functions to
7094 determine backward search limits disregarding literals.
7095 (c-find-decl-spots): Amend commenting.
7096 (c-cheap-inside-bracelist-p): New function which detects "={".
7097
7098 * progmodes/cc-fonts.el
7099 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7100 backward search.
7101 (c-font-lock-declarations): Fix an occurrence of point being
7102 undefined. Check additionally for point being in a bracelist or
7103 near a macro invocation without a semicolon so as to avoid a
7104 fruitless time consuming search for a declarator. Give a more
7105 precise search limit for declarators using the new
7106 c-determine-limit.
7107
f3860cea
GM
71082012-01-18 Glenn Morris <rgm@gnu.org>
7109
7110 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7111 (set-auto-mode): Doc fixes.
7112
1db03b16
GM
71132012-01-17 Glenn Morris <rgm@gnu.org>
7114
0e6038be
GM
7115 * isearch.el (search-nonincremental-instead): Fix doc typo.
7116
1db03b16
GM
7117 * dired.el (dired-insert-directory): Handle newlines in directory name.
7118 (dired-build-subdir-alist): Unescape newlines in directory name.
7119
4cb0aa75
MA
71202012-01-17 Michael Albinus <michael.albinus@gmx.de>
7121
7122 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7123 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7124 (tramp-action-terminal): Use it. (Bug#10530)
7125
1d00653d
SM
71262012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7129
6a6ee00d
MR
71302012-01-16 Martin Rudalics <rudalics@gmx.at>
7131
7132 * window.el (window-state-ignored-parameters): Remove variable.
7133 (window--state-get-1): Rename argument MARKERS to IGNORE.
7134 Handle persistent window parameters. Make copy of clone-of
7135 parameter only if requested. (Bug#10348)
7136 (window--state-put-2): Install a window parameter only if it has
7137 a non-nil value or an existing parameter shall be overwritten.
7138
97912def
MA
71392012-01-15 Michael Albinus <michael.albinus@gmx.de>
7140
7141 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7142
688070a5
EZ
71432012-01-14 Eli Zaretskii <eliz@gnu.org>
7144
7145 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7146 don't pass the (nil) value of `upnode' to string-match.
7147
301afadc
CY
71482012-01-14 Chong Yidong <cyd@gnu.org>
7149
7150 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7151 Fix values recognized by the cursorBlink resource.
301afadc 7152
9e5788aa
PE
71532012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7154
7155 * epg.el (epg--make-temp-file): Avoid permission race condition
7156 when running on old Emacs versions (bug#10403).
7157
3cdb7f5a
GM
71582012-01-14 Glenn Morris <rgm@gnu.org>
7159
7160 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7161
8c82b1b4
AM
71622012-01-13 Alan Mackenzie <acm@muc.de>
7163
7164 Fix filling for when filladapt mode is enabled.
7165
7166 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7167 c-mask-paragraph, pass in `fill-paragraph' rather than
7168 `fill-region-as-paragraph'. (This is a reversion of a previous
7169 change.)
eb864a71
LM
7170 * progmodes/cc-mode.el (c-basic-common-init):
7171 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7172
e517eda4
GM
71732012-01-13 Glenn Morris <rgm@gnu.org>
7174
1498536e
GM
7175 * dired.el (dired-switches-escape-p): New function.
7176 (dired-insert-directory): Use dired-switches-escape-p.
7177 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7178
e517eda4
GM
7179 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7180
328f984d
GM
71812012-01-12 Glenn Morris <rgm@gnu.org>
7182
7183 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7184 changes in adaptive-fill-regexp. (Bug#10276)
7185
2cc769a8
AM
71862012-01-11 Alan Mackenzie <acm@muc.de>
7187
7188 Fix Emacs bug #10463 - put `widen's around the critical spots.
7189
1d00653d 7190 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7191 widen around each invocation of c-state-pp-to-literal. Remove an
7192 unused let variable.
7193
e52c37fa
GM
71942012-01-11 Glenn Morris <rgm@gnu.org>
7195
7196 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7197 Doc fix.
e52c37fa 7198
96f8741e
CY
71992012-01-10 Chong Yidong <cyd@gnu.org>
7200
1d00653d
SM
7201 * net/network-stream.el (network-stream-open-starttls):
7202 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7203 response to the capability command.
7204
b09a806e
GM
72052012-01-10 Glenn Morris <rgm@gnu.org>
7206
7207 * mail/unrmail.el (unrmail): Tweak previous change.
7208
7655cb66
CY
72092012-01-09 Chong Yidong <cyd@gnu.org>
7210
7211 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7212
9d5a8f0b
AM
72132012-01-08 Alan Mackenzie <acm@muc.de>
7214
7215 Optimise font locking in long enum definitions.
7216
7217 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7218 arm to a cond form to handle enums.
7219 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7220 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7221
9a0115ab 72222012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7223
7224 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7225 (Bug#10401)
6bb72cbd 7226
f186bb95
LMI
72272012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228
29232a68
LMI
7229 * faces.el (set-face-attribute): Clarify the meaning of the nil
7230 frame (bug#10294).
7231
4e5d086d
LMI
7232 * subr.el (with-selected-frame): Mention that the selected frame
7233 is restored (bug#9980).
7234
8e66aebe
LMI
7235 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7236 (bug#9759).
7237
cd394be1 7238 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7239 (password-read): Don't autoload unused function.
7240
adf4e762
JB
72412012-01-07 Juanma Barranquero <lekktu@gmail.com>
7242
7243 * progmodes/which-func.el (which-func-mode): Turn into a
7244 non-interactive function and mark as obsolete (bug#10428).
7245
89bd9ccd
CY
72462012-01-06 Chong Yidong <cyd@gnu.org>
7247
7248 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7249 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7250 functions, along with 1 and -1.
7251
4afee9d5
EZ
72522012-01-06 Eli Zaretskii <eliz@gnu.org>
7253
7254 * time.el (display-time-load-average)
7255 (display-time-default-load-average): Doc fixes. See the thread
7256 starting at
7257 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7258 for the details.
7259
536aea70
GM
72602012-01-06 Glenn Morris <rgm@gnu.org>
7261
665ae865
GM
7262 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7263 has no messages. (Bug#10377)
7264
c869783d
GM
7265 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7266 than Info-edit. (Bug#10385)
7267
2bb4227e
GM
7268 * time.el (display-time-load-average, display-time-next-load-average):
7269 Doc fixes.
7270
7d5944b9
GM
7271 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7272 local setting of buffer-read-only to the input buffer. (Bug#10419)
7273
536aea70
GM
7274 * calendar/calendar.el (calendar-mode):
7275 Locally set scroll-margin to 0. (Bug#10379)
7276
7dccca16
UM
72772012-01-06 Ulrich Mueller <ulm@gentoo.org>
7278
7279 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7280
afbb7930
GM
72812012-01-05 Glenn Morris <rgm@gnu.org>
7282
7283 * eshell/em-unix.el (diff-no-select): Autoload it.
7284 (eshell/diff): Use diff-no-select. (Bug#10420)
7285
04482335
CY
72862012-01-05 Chong Yidong <cyd@gnu.org>
7287
7baca3bc
CY
7288 * shell.el (shell-dynamic-complete-functions): Revert last change.
7289 (shell-command-completion-function): New function.
7290 (shell-completion-vars): Use it to implement
7291 shell-completion-execonly (Bug#10417).
7292
04482335
CY
7293 * custom.el (enable-theme): Don't set custom-safe-themes.
7294
1d00653d
SM
7295 * cus-theme.el (custom-theme-merge-theme):
7296 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7297
bb5aa5d6
MM
72982012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7299
7300 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7301 first prompt in `sql-interacive-mode'.
7302 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7303 keywords.
6df6ae42 7304 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7305 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7306 context of original buffer. Invoke `sql-login-hook'.
7307
a7183d7c
EZ
73082012-01-04 Eli Zaretskii <eliz@gnu.org>
7309
7310 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7311 letters in cite-prefix.
7312
a1eacd1e
LMI
73132012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7314
7315 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7316
787cdb34
CY
73172012-01-03 Chong Yidong <cyd@gnu.org>
7318
1d00653d
SM
7319 * shell.el (shell-dynamic-complete-functions):
7320 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7321 comint-filename-completion first (Bug#10417).
7322
30710442
RS
73232012-01-02 Richard Stallman <rms@gnu.org>
7324
7325 * battery.el (battery-status-function):
7326 Detect when to use battery-yeeloong-sysfs.
7327 (battery-echo-area-format): Add string for Yeeloong.
7328 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7329 (battery-yeeloong-sysfs): New function.
7330
f75bfc33
CY
73312012-01-02 Chong Yidong <cyd@gnu.org>
7332
7333 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7334 (dirtrack): Merge code for handling relative filenames in prompt
7335 from shell-dir-cookie-watcher.
7336 (dirtrack-debug-message): New arg to avoid excess format calls.
7337
7338 * shell.el (shell-dir-cookie-re): Variable deleted.
7339 (shell-dir-cookie-watcher): Function deleted.
7340 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7341 with dirtrack-mode.
7342
651e947e
EZ
73432012-01-01 Eli Zaretskii <eliz@gnu.org>
7344
1d00653d
SM
7345 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7346 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7347 libgnutls-26.dll.
7348
94d4c7dc
AS
73492011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7350
7351 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7352
8d43f3cd
EZ
73532011-12-31 Eli Zaretskii <eliz@gnu.org>
7354
7355 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7356 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7357
98c8795a
MA
73582011-12-29 Michael Albinus <michael.albinus@gmx.de>
7359
7360 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7361 also for alternative shells.
7362 (tramp-open-connection-setup-interactive-shell): Check, whether
7363 the shell is a busybox.
7364 (tramp-send-command): Don't suppress multiple prompts for
7365 busyboxes, it hurts.
7366
51281b32
CY
73672011-12-28 Chong Yidong <cyd@gnu.org>
7368
7369 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7370 (gdb-get-source-file): Move mode line update to
7371 gdb-get-source-file (Bug#10087).
7372
2170cb53
CY
73732011-12-25 Chong Yidong <cyd@gnu.org>
7374
7375 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7376 gud-gdb-marker-filter without taking it as an argument.
7377 (gud-gdb-run-command-fetch-lines): Caller changed.
7378 (gud-gdb-completion-function): New variable.
7379 (gud-gdb-completion-at-point): Use it.
7380 (gud-gdb-completions-1): Split from gud-gdb-completions.
7381
7382 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7383 function as separate arguments.
7384 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7385 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7386 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7387 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7388 (gdb-stopped, def-gdb-auto-update-trigger)
7389 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7390 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7391 Callers changed.
2170cb53
CY
7392 (gud-gdbmi-completions): New function.
7393 (gdb): Use it for generating the completion table.
7394
be8b11bb
AM
73952011-12-24 Alan Mackenzie <acm@muc.de>
7396
7397 Introduce a mechanism to widen the region used in context font
1d00653d 7398 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7399
1d00653d
SM
7400 * progmodes/cc-langs.el (c-before-font-lock-functions):
7401 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7402 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7403 functions to be run just before context (etc.) font locking.
7404
7405 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7406 New, functionality extracted from
be8b11bb 7407 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7408 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7409 (c-after-change): Set c-in-after-change-fontification.
7410 (c-set-fl-decl-start): Rejig its interface, so it can be called
7411 from both after-change and context fontifying.
b81d40f0
JB
7412 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7413 New functions.
7414 (c-standard-font-lock-fontify-region-function): New variable.
7415 (c-font-lock-fontify-region): New function.
be8b11bb 7416
341cf6ac
JL
74172011-12-24 Juri Linkov <juri@jurta.org>
7418
7419 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7420 (Bug#10348)
7421
bffcee0a
MA
74222011-12-23 Michael Albinus <michael.albinus@gmx.de>
7423
7424 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7425 existence of source file. (Bug#10325)
7426
cb5e207c
AM
74272011-12-23 Alan Mackenzie <acm@muc.de>
7428
7429 Fix unstable fontification inside templates.
7430
b81d40f0
JB
7431 * progmodes/cc-langs.el (c-before-font-lock-functions):
7432 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7433 additionally has c-set-fl-decl-start. The other languages (apart
7434 from AWK) have that as a single entry.
7435
b81d40f0
JB
7436 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7437 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7438 c-set-fl-decl-start.
7439
b81d40f0
JB
7440 * progmodes/cc-mode.el (c-common-init, c-after-change):
7441 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7442 (c-set-fl-decl-start): New function, extracted from
7443 c-font-lock-enclosing-decls and enhanced.
7444
60ff536c
JB
74452011-12-23 Juanma Barranquero <lekktu@gmail.com>
7446
7447 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7448
1c4757d6
JL
74492011-12-22 Juri Linkov <juri@jurta.org>
7450
7451 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7452
d031f2c7
CY
74532011-12-22 Chong Yidong <cyd@gnu.org>
7454
7455 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7456
bace743a
DA
74572011-12-21 Drew Adams <drew.adams@oracle.com>
7458
7459 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7460
728a1f2b
JC
74612011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7462
7463 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7464
0d373f73
TZ
74652011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7466
fec0aaa4
TZ
7467 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7468 highlighting and support. Fix up comments for capitalization.
7469 (cfengine-mode-debug): New var.
7470 (cfengine3-mode): Change the modeline indicator to "CFE3".
7471 (cfengine3-font-lock-keywords): Improve defun highlighting.
7472 (cfengine2-actions): Rename from `cfengine-actions'.
7473 (cfengine2-font-lock-keywords): Rename from
7474 `cfengine-font-lock-keywords'.
7475 (cfengine2-imenu-expression): Rename from
7476 `cfengine-imenu-expression'.
7477 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7478 (cfengine2-beginning-of-defun): Rename from
7479 `cfengine-beginning-of-defun'.
7480 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7481 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7482 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7483 modeline indicator to "CFE2".
7484 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7485 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7486
bc86f573
CY
74872011-12-21 Chong Yidong <cyd@gnu.org>
7488
7489 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7490 filename argument.
7491
d45ba96b
MR
74922011-12-20 Martin Rudalics <rudalics@gmx.at>
7493
7494 * window.el (window-normalize-buffer-to-display): Remove.
7495 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7496
a6198c90
CY
74972011-12-19 Chong Yidong <cyd@gnu.org>
7498
7499 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7500 Don't signal an error in a predicate function; return non-nil.
7501 (vc-dir-mark-file): Move the error here.
7502 (vc-dir-mark-unmark): If acting on the region, keep going if one
7503 of the entries cannot be marked/unmarked.
7504 (vc-dir-mark-all-files): If current entry is a directory, mark
7505 only child files, as documented.
7506
34c5fb55
VB
75072011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7508
7509 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7510 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7511 addition.
7512
c803b2b7
JD
75132011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7514
7515 * term/ns-win.el (ns-get-selection-internal)
7516 (ns-store-selection-internal): Declare.
1154d12e
JB
7517 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7518 Declare as obsolete.
7519 (ns-get-pasteboard, ns-paste-secondary):
7520 Use ns-get-selection-internal.
7521 (ns-set-pasteboard, ns-copy-including-secondary):
7522 Use ns-store-selection-internal.
c803b2b7 7523
9cff91f8 75242011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7525
7526 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7527 (vc-deduce-fileset): Doc fix.
99a289d9 7528
f16c898a
AS
75292011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7530
7531 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7532
763237c4
SS
75332011-12-13 Sam Steingold <sds@gnu.org>
7534
7535 * man.el (Man-getpage-in-background): When running under a
7536 window-system, ignore $MANWIDTH and $COLUMNS.
7537
5fc1c122
KH
75382011-12-15 Kenichi Handa <handa@m17n.org>
7539
7540 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7541 (setup-ethiopic-environment-internal): Comment out key-binding for
7542 ethio-toggle-punctuation.
7543
13d49cbb
AM
75442011-12-13 Alan Mackenzie <acm@muc.de>
7545
898169a2
AM
7546 Add the switch statement to AWK Mode.
7547
7a71b18d 7548 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7549 "default" to the keywords regexp.
7550
7a71b18d 7551 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7552 expression as the rest.
1d00653d
SM
7553 (c-nonlabel-token-key): Allow string literals for AWK.
7554 Refactor for the other modes.
898169a2 7555
13d49cbb 7556 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7557 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7558 routines. Limit backward searching in c-font-lock-enclosing.decl.
7559
7560 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7561 pp-state and literal type in addition to the limits.
1d00653d 7562 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7563 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7564 (c-slow-in-literal, c-fast-in-literal): Remove.
7565 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7566
7567 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7568 being in a literal. Add a limit for backward searching.
7569
7570 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7571 c-slow-in-literal.
7572
15e0efc7
SM
75732011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7574
7575 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7576
454592a6
MR
75772011-12-13 Martin Rudalics <rudalics@gmx.at>
7578
7579 * window.el (delete-other-windows): Use correct frame in call to
7580 window-with-parameter.
7581
87393f26
DP
75822011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7583
7584 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7585 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7586 (makefile-gmake-statements, makefile-makepp-statements):
7587 Use it and add new makepp keywords.
7588 (makefile-makepp-font-lock-keywords): Add new patterns.
7589 (makefile-match-function-end): Match new [...] and [[...]].
7590
11636b22
JB
75912011-12-11 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * ses.el (ses-call-printer-return, ses-cell-property-get)
7594 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7595 (ses-create-cell-variable, ses-reset-header-string)
7596 (ses-cell-set-formula, ses-repair-cell-reference-all)
7597 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7598 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7599 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7600 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7601 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7602 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7603 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7604 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7605 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7606 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7607 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7608 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7609
cf018193
VB
76102011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7611
7612 * ses.el: The overall change is to add cell renaming, that is
7613 setting fancy names for cell symbols other than name matching
7614 "\\`[A-Z]+[0-9]+\\'" regexp .
7615 (ses-create-cell-variable): New defun.
7616 (ses-relocate-formula): Relocate formulas only for cells the
7617 symbols of which are not renamed, i.e. symbols whose names do not
7618 match regexp "\\`[A-Z]+[0-9]+\\'".
7619 (ses-relocate-all): Relocate values only for cells the symbols of
7620 which are not renamed.
7621 (ses-load): Create cells variables as the (ses-cell ...) are read,
7622 in order to check row col consistency with cell symbol name only
7623 for cells that are not renamed.
7624 (ses-replace-name-in-formula): New defun.
7625 (ses-rename-cell): New defun.
7626
ee957461
CY
76272011-12-11 Chong Yidong <cyd@gnu.org>
7628
7629 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7630 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7631
9a9e9ef0
MR
76322011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7633
7634 * window.el (other-window): Fix docstring.
7635
92a8eba5
EZ
76362011-12-10 Eli Zaretskii <eliz@gnu.org>
7637
7638 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7639 `from' or `to' address before taking its substring.
7640 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7641 encoded name is chopped in the middle of the encoded string, and
7642 thus displayed encoded.
7643
e152e577
JB
76442011-12-10 Juanma Barranquero <lekktu@gmail.com>
7645
7646 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7647
e5d84bfe
EZ
76482011-12-10 Eli Zaretskii <eliz@gnu.org>
7649
7650 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7651 to use texinfo-update-node and commands that call it if the
7652 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 7653 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
7654 (texinfo-all-menus-update, texinfo-master-menu)
7655 (texinfo-update-node, texinfo-every-node-update)
7656 (texinfo-multiple-files-update): Doc fix. Warn against updating
7657 all the @node lines.
7658 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
7659 argument is numeric. Explain better in the doc string what the
7660 function really does.
7661 (texinfo-insert-master-menu-list): Improve the error message
7662 displayed if there's no menu in the Top node.
7663 (Bug#2975) See also this thread:
e5d84bfe
EZ
7664 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7665
1d84e9bb
MG
76662011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7667
7668 * speedbar.el (speedbar-supported-extension-expressions):
7669 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7670
382c953b
JB
76712011-12-09 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * printing.el (pr-mode-alist):
7674 * simple.el (filter-buffer-substring-functions)
7675 (completion-list-insert-choice-function):
7676 * window.el (window-with-parameter, window-atom-root)
7677 (window-sides-slots, window-size-fixed, window-min-delta)
7678 (window-max-delta, window--resize-mini-window)
7679 (window--resize-child-windows-normal, window-tree)
7680 (delete-other-windows, quit-window, split-window)
7681 (display-buffer-record-window, special-display-buffer-names)
7682 (special-display-regexps, special-display-popup-frame)
7683 (same-window-p, split-window-sensibly)
7684 (display-buffer-overriding-action, display-buffer-alist)
7685 (display-buffer-base-action, display-buffer, switch-to-buffer)
7686 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7687 (fit-window-to-buffer, recenter-positions)
7688 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7689 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7690 and remove unneeded backslashes in docstrings.
7691
39c9faef
SM
76922011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7693
98449af8
SM
7694 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7695
39c9faef
SM
7696 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7697 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7698 end in ".mk".
7699 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7700 when reading the makefile (bug#10116).
7701
86ed9fdc
SM
77022011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7705 (bug#10116).
7706
5580f89d
GM
77072011-12-06 Glenn Morris <rgm@gnu.org>
7708
7709 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7710
28d3917c
CY
77112011-12-06 Chong Yidong <cyd@gnu.org>
7712
7713 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7714
a98edce9
JB
77152011-12-06 Juanma Barranquero <lekktu@gmail.com>
7716
7717 * textmodes/table.el (table-shorten-cell): Fix typo.
7718
e65adfac
CG
77192011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7720
7721 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7722
71cc0b74
EZ
77232011-12-05 Eli Zaretskii <eliz@gnu.org>
7724
7725 * descr-text.el (describe-char): Fix display of strong
7726 right-to-left characters and directional embeddings and overrides.
7727
7728 * simple.el (what-cursor-position): Fix display of codepoints of
7729 strong right-to-left characters.
7730
315bc30d
CY
77312011-12-05 Chong Yidong <cyd@gnu.org>
7732
7733 * faces.el (read-color): Doc fix.
7734
58a70b94
GM
77352011-12-05 Glenn Morris <rgm@gnu.org>
7736
7737 * align.el (align--set-marker): Add doc-string.
7738 Don't try to move something that is not a marker. (Bug#10216)
7739
5158face
GM
77402011-12-04 Glenn Morris <rgm@gnu.org>
7741
7742 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7743 overly zealous deletion of trailing whitespace.
7744
520fca41
JB
77452011-12-04 Juanma Barranquero <lekktu@gmail.com>
7746
7747 * server.el (server-delete-client): On Windows, do not try to delete
7748 the only terminal.
7749 (server-process-filter): On Windows, treat requests for a tty frame as
7750 if they were for a GUI frame if the running server is in GUI mode.
7751
5e605a2e
GM
77522011-12-03 Glenn Morris <rgm@gnu.org>
7753
7754 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7755
5c3fe83f
SM
77562011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7757
6f5e57e7
SM
7758 * electric.el: Streamline electric-indent's hook.
7759 (electric-indent-chars): Revert to simple list.
7760 (electric-indent-functions): New var.
7761 (electric-indent-post-self-insert-function): Use it.
7762
5c3fe83f
SM
7763 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7764 there's no inferior buffer (bug#10196).
7765 (prolog-consult-compile): Don't use toggle-read-only.
7766
6bdac736
MA
77672011-12-02 Michael Albinus <michael.albinus@gmx.de>
7768
7769 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7770 interrupt. (Bug#10187)
7771
6131ba7f
SM
77722011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7773
99c79fee
SM
7774 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7775 (bug#9160).
7776
6131ba7f
SM
7777 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7778 (bug#10191).
7779
cb0a02ea
JL
77802011-12-02 Juri Linkov <juri@jurta.org>
7781
7782 * info.el (Info-search): Display "end of manual" when Isearch
7783 reaches the end of single-file Info manual. (Bug#9918)
7784
66e0570c
EZ
77852011-12-02 Eli Zaretskii <eliz@gnu.org>
7786
7787 * isearch.el (isearch-message-prefix): Run the input method part
7788 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7789
02b16839
JL
77902011-12-02 Juri Linkov <juri@jurta.org>
7791
7792 * isearch.el (isearch-occur): Use `word-search-regexp' for
7793 `isearch-word'.
7794 (isearch-search-and-update): Add condition for `isearch-word' and
7795 call `word-search-regexp'. (Bug#10145)
7796
0b950688
GM
77972011-12-01 Glenn Morris <rgm@gnu.org>
7798
7799 * eshell/em-hist.el (eshell-hist-initialize):
7800 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 7801 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 7802
9505c3c7
SM
78032011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7806
1bbe96b2 78072011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 7808
a1beca85
SM
7809 * progmodes/verilog-mode.el (verilog-pretty-expr):
7810 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
7811 verilog, such as += *= and the like.
7812 (verilog-assignment-operator-re): Regular expression to find the
7813 assigment operator in a verilog assignment.
7814 (verilog-assignment-operation-re): Regular expression to find an
7815 assignment statement for pretty-expr.
7816 (verilog-in-attribute-p): Query returns true if point is in an
7817 attribute context; used to skip these for expression line up from
7818 pretty-expr.
7819 (verilog-in-parameter-p): Query returns true if point is in an
7820 parameter definition context; used to skip these for expression
7821 line up from pretty-expr.
7822 (verilog-in-parenthesis-p): Query returns true if point is in a
7823 parenthetical expression, specifically ( ) but not [ ] or { };
7824 used by pretty-expr.
7825 (verilog-just-one-space): If there is no space, don't add one.
7826 (verilog-get-lineup-indent-2): Specifically skip just attribute
7827 contexts for expression lineup, rather than skipping all
7828 parenthetical expressions.
7829 (verilog-calculate-indent): Fix comment, and fix indent.
7830 (verilog-do-indent): Indent declarations in lists (suggested by
7831 Joachim Lechner).
7832 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7833 skeleton items.
7834 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7835 by Alain Mellan).
7836
1bbe96b2 78372011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
7838
7839 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7840 parameters with embedded comments. Reported by Ray Stevens.
7841 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7842 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7843 Reported by Tim Holt.
7844 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7845 instantiated by upper module causing wrong expansion until AUTOed a
7846 second time. Reported by K C Buckenmaier.
7847 (verilog-diff-auto): Fix showing .* as a difference when
7848 `verilog-auto-star-save' off. Reported by Dan Dever.
7849 (verilog-auto-reset, verilog-read-always-signals)
7850 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7851 temporary signals in reset list if
7852 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
7853 style to each signal's assignment type, bug381.
7854 Reported by Thomas Esposito.
6288f0ca
WS
7855 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7856 (verilog-uvm-statement-re): Support UVM indentation and
7857 highlighting, with old OVM keywords only.
a1beca85 7858 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
7859 Support AUTOTIEOFF creating non-wire data types.
7860 Suggested by Jonathan Greenlaw.
6288f0ca
WS
7861 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7862 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7863 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
7864 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7865 Fix mismatching parenthesis inside commented out code when deleting
382c953b 7866 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
7867 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7868 non-numeric vector width. Reported by Alex Reed.
7869 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 7870 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
7871 (verilog-auto-delete-trailing-whitespace):
7872 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
7873 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7874 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7875 Fix verilog-scan-cache corruption when running user AUTO expansion
7876 hooks that call indentation routines.
7877 (verilog-simplify-range-expression): Fix typo ignoring lower case
7878 identifiers.
7879 (verilog-delete-auto): Fix delete-autos to also remove user created
7880 automatics, as long as they start with AUTO.
7881 (verilog-batch-diff-auto, verilog-diff-auto)
7882 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7883 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7884 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7885 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
7886 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7887 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
7888 is disabled and its cache will get corrupt, causing AUTOS not to
7889 expand. Instead use only -quick functions.
7890 (verilog-scan-region): Fix scanning over escaped quotes.
7891 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7892 (verilog-re-search-backward-quick)
7893 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7894 related functions now ignore strings, to fix misparsing of strings
7895 with magic comments embedded in them.
a1beca85
SM
7896 (verilog-read-auto-template):
7897 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7898 Reported by Brad Dobbie.
7899 (verilog-read-auto-template):
7900 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 7901 Reported by Brad Dobbie.
6288f0ca
WS
7902 (verilog-auto-inst, verilog-auto-inst-param)
7903 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7904 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7905 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
7906 debugging templates without merge conflicts, bug357.
7907 Reported by Brad Dobbie.
7908 (verilog-read-auto-template):
7909 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
7910 Reported by Brad Dobbie.
7911 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7912 abbrevs so user won't be asked to save.
7913 (verilog-read-auto-lisp-present): Fix to start at beginning of
7914 buffer in case called outside of verilog-auto.
7915 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7916 to "X-2". Reported by Matthew Myers.
7917 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7918 all inputs from module templates. Reported by Leith Johnson.
7919 (verilog-module-inside-filename-p): Fix locating programs as with
7920 modules.
7921 (verilog-auto-inst-port): Fix vl-width expressions when using
7922 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7923 (verilog-decls-get-regs, verilog-decls-get-signals,
7924 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7925 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7926 verilog-read-decls): Combine reg and wire structures into one var
7927 structure to represent SystemVerilog concepts.
7928 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7929 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
7930 (verilog-auto-wire-type, verilog-insert-definition):
7931 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
7932 SystemVerilog "logic" keyword instead of "wire"/"reg".
7933 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7934 to declares outputs that also have assignments (presumably in an
a1beca85
SM
7935 ifdef or generate if so there's not a driver conflict).
7936 Reported by Matthew Myers.
7937 (verilog-auto-declare-nettype, verilog-insert-definition):
7938 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
7939 `default_nettype none. Reported by Julian Gorfajn.
7940 (verilog-read-always-signals-recurse, verilog-read-decls)
7941 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7942 malformed end statement, bug325. Reported by Joshua Wise and
7943 Andrew Drake.
7944 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
7945 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
7946 when expanding .* in interfaces, bug320.
7947 Reported by Pierre-David Pfister.
6288f0ca 7948 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
7949 name and open parenthesis, bug317.
7950 Reported by Pierre-David Pfister.
6288f0ca
WS
7951 (verilog-simplify-range-expression): Fix simplification of
7952 multiplications inside AUTOWIRE connections, bug303.
7953 (verilog-auto-inst-port): Support parameter expansion in
7954 multidimensional arrays.
7955 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
7956 after "assert property". Reported by Julian Gorfajn.
7957 (verilog-simplify-range-expression): Fix "couldn't merge" errors
7958 with multiplication, bug303.
7959 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
7960 Reported by Jan Frode Lonnum.
7961
1bbe96b2
GM
79622011-11-30 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
7965 (hfy-shell-file-name, hfy-shell):
7966 * international/fontset.el (x-decompose-font-name): Fix typos.
7967
79682011-11-29 Ken Brown <kbrown@cornell.edu>
7969
7970 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
7971 (gdb-version): Remove defvar.
7972 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
7973 (gdb-gud-context-command, gdb-non-stop-handler)
7974 (gdb-current-context-command, gdb-stopped): Use it.
7975 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
7976 (gdb-non-stop-handler): Don't enable pretty-printing here.
7977 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
7978 non-stop mode. Use the following.
7979 (gdb-check-target-async): New defun.
7980 (gud-watch, gdb-stopped): Fix whitespace.
7981 (gdb-get-source-file): Don't try to display the source file if
7982 `gdb-main-file' is nil.
7983
79842011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * align.el: Try to generate fewer markers (bug#10047).
7987 (align--set-marker): New macro.
7988 (align-region): Use it.
7989
c935221f
SM
79902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
7993
e70b5064
CY
79942011-11-29 Chong Yidong <cyd@gnu.org>
7995
7996 * indent.el (indent-for-tab-command, indent-according-to-mode):
7997 Doc fix.
7998 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
7999
f3af92b7
MA
80002011-11-29 Michael Albinus <michael.albinus@gmx.de>
8001
8002 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8003 aware of remote file names. (Bug#10124)
8004
ed472be9
CY
80052011-11-29 Chong Yidong <cyd@gnu.org>
8006
8007 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8008
24510c22
SM
80092011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * files.el (find-file): Don't use force-same-window (bug#10144).
8012 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8013 use pop-to-buffer if the selected window can't be used.
8014 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8015
c60c3703
EZ
80162011-11-28 Eli Zaretskii <eliz@gnu.org>
8017
8018 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8019 special-mode-map.
8020
e95def75
CY
80212011-11-28 Chong Yidong <cyd@gnu.org>
8022
8023 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8024
c3f1c606
NR
80252011-11-27 Nick Roberts <nickrob@snap.net.nz>
8026
8027 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8028 gdb-get-source-file-list on gdb-create-source-file-list.
8029
00db469c
EZ
80302011-11-26 Eli Zaretskii <eliz@gnu.org>
8031
8032 * whitespace.el (whitespace-newline): Use a different foreground
8033 color for 16-color light-background displays.
8034
4ad3bc2a
CY
80352011-11-24 Chong Yidong <cyd@gnu.org>
8036
8037 * window.el (display-buffer--special-action): Doc fix.
8038
e9fce1ac
JB
80392011-11-25 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8042 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8043 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8044 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8045 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8046 (avl-tree-stack-first):
8047 * emacs-lisp/cconv.el (cconv--analyse-use):
8048 * net/gnutls.el (gnutls-negotiate): Fix typos.
8049
cb825e5d
GM
80502011-11-24 Glenn Morris <rgm@gnu.org>
8051
3adbe224
GM
8052 * lpr.el (lpr-windows-system, lpr-lp-system):
8053 * mail/binhex.el (binhex-begin-line):
8054 * progmodes/grep.el (grep-history, grep-find-history):
8055 * textmodes/flyspell.el:
8056 * vc/pcvs-defs.el (cvs-global-menu):
8057 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8058 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8059 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8060
321decc8
GM
8061 * net/tls.el: Fix case of "GnuTLS".
8062
420b63ad
GM
8063 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8064
cb825e5d
GM
8065 * version.el (emacs-build-system): Give it a doc-string.
8066
a0649f08
JL
80672011-11-24 Juri Linkov <juri@jurta.org>
8068
8069 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8070
c0bc0fd4
GM
80712011-11-24 Glenn Morris <rgm@gnu.org>
8072
8073 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8074 if called on a non-mime message just toggle the headers. (Bug#8006)
8075
20db1522
JB
80762011-11-24 Juanma Barranquero <lekktu@gmail.com>
8077
8078 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8079 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8080 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8081 (allout-rebullet-heading, allout-open-sibtopic)
8082 (allout-toggle-current-subtree-encryption)
8083 (allout-toggle-subtree-encryption, allout-encrypt-string)
8084 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8085 (allout-distinctive-bullets-string, allout-auto-activation):
8086 * window.el (window-normalize-buffer-to-display):
8087 * progmodes/verilog-mode.el (verilog-batch-indent):
8088 * textmodes/bibtex.el (bibtex-field-braces-opt)
8089 (bibtex-field-strings-opt):
8090 * vc/cvs-status.el (cvs-tree-merge):
8091 Fix typos.
8092
7262a87c
MA
80932011-11-23 Michael Albinus <michael.albinus@gmx.de>
8094
8095 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8096 `non-essential' to t, in order to avoid remote connections.
8097
283430a1
EZ
80982011-11-23 Eli Zaretskii <eliz@gnu.org>
8099
a1beca85
SM
8100 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8101 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8102 case-insensitively.
8103
d2992a38
ML
81042011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8105
8106 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8107
50419064
GM
81082011-11-23 Glenn Morris <rgm@gnu.org>
8109
da94eca1
GM
8110 * paths.el (rmail-file-name): Reformat the doc-string so that it
8111 is picked up.
8112
9aac4de2
GM
8113 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8114 (rmail-auto-file): Ignore case in the "special" field names,
8115 as mail-fetch-field does for all others.
8116
8038d2d2
GM
8117 * mail/rmail.el (rmail-forward):
8118 * mail/rmailkwd.el (rmail-set-label):
8119 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8120 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8121
f3fe222a
GM
8122 * mail/rmail.el (rmail-current-message): Doc fix.
8123
50419064
GM
8124 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8125
28109f49
SM
81262011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8127
8128 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8129
394c65f1
GM
81302011-11-22 Glenn Morris <rgm@gnu.org>
8131
8132 * mail/rmailmm.el (test-rmail-mime-handler)
8133 (test-rmail-mime-bulk-handler)
8134 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8135
f2a0aa3a
JL
81362011-11-21 Juri Linkov <juri@jurta.org>
8137
1154d12e
JB
8138 * calc/calc.el (calc-read-key-sequence):
8139 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8140
9c34a344
LMI
81412011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8142
8143 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8144 Tell the caller that the next line needs recomputation, even
8145 though it doesn't start a sexp (bug#10094).
8146
f04a3be9
SM
81472011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8150
7978747f
SM
81512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8152
f04a3be9
SM
8153 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8154 Use force-same-window.
7978747f 8155
fe7a3057
JB
81562011-11-20 Juanma Barranquero <lekktu@gmail.com>
8157
8158 * descr-text.el (describe-char-unicode-data):
8159 * json.el (json-string-escape):
8160 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8161 (Footnote-unicode, Footnote-style-p):
8162 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8163
24901d61
CY
81642011-11-20 Chong Yidong <cyd@gnu.org>
8165
8166 * window.el (replace-buffer-in-windows): Restore interactive spec.
8167
bac7ff22
SM
81682011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8169
24f3d7b9
SM
8170 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8171
bac7ff22
SM
8172 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8173 (byte-compile-global-not-obsolete-vars): New var.
8174 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8175 Use it.
8176 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8177
cd1181db
JB
81782011-11-20 Juanma Barranquero <lekktu@gmail.com>
8179
8180 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8181 * progmodes/pascal.el (electric-pascal-equal):
8182 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8183 * xml.el (xml-substitute-special): Fix typos.
8184
7fb18e9e
GM
81852011-11-20 Glenn Morris <rgm@gnu.org>
8186
8187 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8188 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8189 Doc fixes.
8190 (rmail-decode-mime-charset): Mark as obsolete.
8191
8192 * mail/rmailsum.el (rmail-message-regexp-p-1):
8193 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8194 Before using mime functions, check they are set. (Bug#10077)
8195
d5a6b3ba
JL
81962011-11-19 Juri Linkov <juri@jurta.org>
8197
8198 * info.el (Info-finder-find-node): Use `package--builtins' instead
8199 of `package-alist'. Use node names formed by the pattern "Keyword "
8200 and the keyword name.
8201
e981b61f
AS
82022011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8203
1d00653d 8204 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8205
3ffbc301
JL
82062011-11-19 Juri Linkov <juri@jurta.org>
8207
8208 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8209 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8210 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8211 `old-history', `old-history-forward'. Add let-binding
8212 `window-selected'. Remove calls to `kill-buffer',
8213 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8214 before calling `Info-find-node', so `Info-find-node-2' will reread
8215 the Info file. Restore window positions only when `window-selected'
8216 is non-nil.
8217
30c62133
JL
82182011-11-19 Juri Linkov <juri@jurta.org>
8219
8220 * isearch.el (isearch-lazy-highlight-new-loop):
8221 Remove condition `(not isearch-error)'. (Bug#9918)
8222
8223 * misearch.el (multi-isearch-search-fun): Add condition
8224 `(not bound)' to ignore lazy-highlighting search.
8225 Add the search-failed message "end of multi" when the end of
8226 multi-sequence is reached. Uncapitalize the search-failed
8227 message "Repeat for next buffer".
8228
8229 * info.el (Info-search): Add the search-failed message
8230 "end of the manual" when the end of the manual is reached
8231 in Isearch mode.
8232
645ca9cf
JL
82332011-11-19 Juri Linkov <juri@jurta.org>
8234
8235 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8236 Use non-destructive `remove' instead of `delete' because
8237 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8238 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8239
df754f66
JL
82402011-11-19 Juri Linkov <juri@jurta.org>
8241
8242 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8243 to nil instead of binding `search-ring' and `regexp-search-ring'.
8244 (Bug#9185)
8245
0e23d96a
EZ
82462011-11-19 Eli Zaretskii <eliz@gnu.org>
8247
8248 * simple.el (line-move): Force movement by logical lines for any
8249 hscrolled window, not only when auto-hscroll-mode is on.
8250 (line-move-visual): Update doc string to that effect. (Bug#10076)
8251
8a6ccb66
AS
82522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8253
8254 * language/european.el (macintosh): Define as alias for mac-roman.
8255
49ae5b39
EZ
82562011-11-19 Eli Zaretskii <eliz@gnu.org>
8257
8258 * mail/rmailmm.el (rmail-mime-display-header)
8259 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8260 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8261 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8262 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8263 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8264 of a raw aref.
8265 (rmail-mime-entity-segment): To get past the tagline, move forward
8266 2 more lines, to account for the 2 empty lines that precede and
8267 follow the line with the buttons.
8268 (rmail-mime-update-tagline): Move one more line, to get past the
8269 empty line that follows the buttons in the tagline. (Bug#9520)
8270
c56cad4a
MR
82712011-11-19 Martin Rudalics <rudalics@gmx.at>
8272
8273 * window.el (window-max-delta-1, window-min-delta-1)
8274 (window-min-size-1, window-state-get-1, window-state-put-1)
8275 (window-state-put-2): Use "window--" prefix.
8276
cbe71af3
SM
82772011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8278
2ad52c60
SM
8279 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8280 (smie-warning-count): New var.
8281 (smie-set-prec2tab): Use it.
8282 (smie-bnf->prec2): Improve warnings. Add docstring.
8283 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8284 (smie-bnf--set-class): New function.
8285 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8286 corner case.
8287
6944dbc1
SM
8288 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8289 (compilation-error-properties, compilation-move-to-column):
8290 Handle compilation-first-column while in the target buffer.
8291
c400c4d7
SM
8292 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8293 Don't hardcode point-min==1.
8294
6dbe3e96
SM
8295 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8296 (eshell-rewrite-for-command): Remove workaround.
8297 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8298 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8299 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8300
cbe71af3
SM
8301 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8302
a8e1496d
GM
83032011-11-17 Glenn Morris <rgm@gnu.org>
8304
8305 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8306 Ignore buffer-local generated-autoload-file if it is the same
8307 as the global value. (Bug#10049)
8308
df85d315
JB
83092011-11-17 Juanma Barranquero <lekktu@gmail.com>
8310
8311 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8312 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8313 (reftex-toc-previous-heading, reftex-toc-max-level)
8314 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8315 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8316 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8317 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8318 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8319 (reftex-toc-rename-label, reftex-toc-visit-location)
8320 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8321 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8322 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8323 leaving "*toc*" only for references to the buffer.
8324
a0c2d0ae
MR
83252011-11-17 Martin Rudalics <rudalics@gmx.at>
8326
8327 * window.el (window-resize, delete-window, split-window):
8328 Replace window-splits by window-combination-resize.
1d00653d 8329 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8330
35c0bac8
GM
83312011-11-17 Glenn Morris <rgm@gnu.org>
8332
8333 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8334 Make bash entry derive from sh entry, not shell entry.
8335
d0c8fc8a
MA
83362011-11-16 Michael Albinus <michael.albinus@gmx.de>
8337
7262a87c
MA
8338 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8339 local file name.
8340
7877f373
JB
83412011-11-16 Juanma Barranquero <lekktu@gmail.com>
8342
8343 * menu-bar.el (menu-bar-file-menu):
8344 * printing.el (pr-ps-utility):
8345 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8346 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8347 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8348 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8349 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8350 (icalendar--convert-cyclic-to-ical)
8351 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8352 (icalendar--convert-ical-to-diary)
8353 (icalendar--convert-recurring-to-diary)
8354 (icalendar--convert-non-recurring-all-day-to-diary)
8355 (icalendar-import-format-sample):
8356 * progmodes/idlw-shell.el (idlwave-shell-mode):
8357 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8358 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8359 (vhdl-ps-print-init): Fix typos.
8360
10649b82
KM
83612011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8362
9d0cfcd6
GM
8363 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8364 FSF and collapse date sequence, obscure author/maintainer email address
8365 better, remove extra version line, track relocation of author's webpage.
10649b82 8366
9d0cfcd6
GM
8367 * progmodes/python.el (python-pdbtrack-input-prompt)
8368 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8369 regular python pdb prompts. Adjustments shamelessly taken exactly as
8370 suggested in EmacsWiki page (tiny change):
8371 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8372
58179cce
JB
83732011-11-16 Juanma Barranquero <lekktu@gmail.com>
8374
8375 * expand.el (expand-pos, expand-index, expand-point):
8376 Remove redundant info from docstring.
8377 (expand-add-abbrevs): Doc fix.
8378 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8379 (expand-sample-perl-mode-expand-list): Fix typos.
8380
8381 * net/dbus.el (dbus-event-member-name):
8382 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8383 * term/pc-win.el (msdos-create-frame-with-faces):
8384 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8385
b6f67890
MR
83862011-11-16 Martin Rudalics <rudalics@gmx.at>
8387
8388 * window.el (split-window, window-state-get-1)
8389 (window-state-put-1, window-state-put-2): Rename occurrences of
8390 window-nest to window-combination-limit.
1d00653d 8391 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8392
ce7ddba0
CY
83932011-11-16 Chong Yidong <cyd@gnu.org>
8394
8395 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8396 regexp (Bug#10033).
8397
3ae704f4
SM
83982011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8401 `completing-read' will remove *Completions* and will preserve
8402 current-buffer for us.
8403 (tmm-add-prompt): Users of *Completions* will always (re)set its
8404 major mode.
8405 (tmm-old-comp-map): Remove.
8406
6ad1cdde
GM
84072011-11-16 Glenn Morris <rgm@gnu.org>
8408
8409 * mail/rmailedit.el: Require rmailmm when compiling.
8410 (rmail-old-mime-state): New declaration.
8411 (rmail-edit-current-message): If editing a mime message,
8412 edit the "raw" message from the mbox buffer.
8413 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8414
d20faa20
GM
84152011-11-15 Glenn Morris <rgm@gnu.org>
8416
8417 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8418 which wasn't being used. Add optional arg to force given state.
8419 (rmail-mime): Add optional arg to force given state.
8420
c7015153
JB
84212011-11-15 Juanma Barranquero <lekktu@gmail.com>
8422
8423 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8424 * frame.el (display-mm-dimensions-alist):
8425 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8426 (outline-move-subtree-down):
8427 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8428 (newsticker--treeview-do-get-node):
8429 * net/quickurl.el (quickurl-list-buffer-name):
8430 * progmodes/dcl-mode.el (dcl-mode):
8431 * progmodes/gdb-mi.el (gdb-mapcar*):
8432 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8433
45261b50
GM
84342011-11-15 Glenn Morris <rgm@gnu.org>
8435
8436 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8437 in a boolean sense, so just make it a boolean, and fix the doc.
8438 (rmail-show-mime-function, rmail-mime-feature)
8439 (rmail-require-mime-maybe): Doc fixes.
8440 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8441
8442 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8443
0d26e0b6
JB
84442011-11-15 Juanma Barranquero <lekktu@gmail.com>
8445
8446 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8447 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8448 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8449 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8450
447f30f6
GM
84512011-11-15 Glenn Morris <rgm@gnu.org>
8452
672b871d
GM
8453 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8454 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8455 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8456 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8457 (rmail-mime, rmail-show-mime): Doc fixes.
8458
f6aa5bb1
GM
8459 * term/ns-win.el (mode-line-frame-identification):
8460 Leave it alone. (Bug#10051)
8461
947cd66b
GM
8462 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8463
447f30f6
GM
8464 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8465 Handle empty buffers. (Bug#9978)
8466
0b381c7e
JB
84672011-11-14 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * international/mule.el (define-charset):
8470 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8471 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8472 * progmodes/verilog-mode.el (verilog-backward-token):
8473 * textmodes/ispell.el (lookup-words):
8474 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8475
71e027ac
GM
84762011-11-14 Glenn Morris <rgm@gnu.org>
8477
56632ce4
GM
8478 * progmodes/executable.el
8479 (executable-make-buffer-file-executable-if-script-p):
8480 Handle file-modes returning nil.
8481
40500957
GM
8482 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8483 message - not necessary, and causes problems. (Bug#9831)
8484
071c2340
GM
8485 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8486
d3cfca60
GM
8487 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8488
71e027ac
GM
8489 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8490 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8491 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8492
89d61221
MR
84932011-11-12 Martin Rudalics <rudalics@gmx.at>
8494
8495 * window.el (window-resize, delete-window): Use window-splits
8496 variable instead of function.
8497 (window-state-get-1, window-state-put-2, window-state-put):
8498 Don't deal with windows' splits status.
8499
98282f6f
GM
85002011-11-12 Glenn Morris <rgm@gnu.org>
8501
8502 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8503 (apropos-documentation): Doc fixes.
8504
40a8bdf6
JB
85052011-11-11 Juanma Barranquero <lekktu@gmail.com>
8506
8507 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8508 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8509
65bd19ff
SM
85102011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * electric.el (electric-indent-post-self-insert-function): Make it
8513 possible for a char to only indent in some circumstances.
8514 (electric-indent-mode): Simplify.
8515
54f9154c
MR
85162011-11-11 Martin Rudalics <rudalics@gmx.at>
8517
8518 * window.el (windows-with-parameter): Remove unused function.
8519 (windows-at-side): Rename to window-at-side-list.
8520 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8521 (window-side-check, window-size-ignore, window-size-fixed-1)
8522 (window-in-direction-2): Prefix with "window--".
8523 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8524
68cbc58b
GM
85252011-11-11 Glenn Morris <rgm@gnu.org>
8526
8527 * subr.el (eval-after-load): If FILE is already loaded,
8528 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8529
b2621720
GM
85302011-11-10 Glenn Morris <rgm@gnu.org>
8531
9a4de110
GM
8532 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8533 Call svn via vc-svn-command rather than vc-do-command.
8534 (vc-svn-command): Add --non-interactive. (Bug#9993)
8535 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8536
b2621720
GM
8537 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8538 Add toggle-read-only. (Bug#7292)
8539 * files.el (toggle-read-only): Mention that it should only
8540 be used interactively. (Bug#10006)
8541
1dce7193
SM
85422011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8543
d9ac1a1e
SM
8544 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8545 Adjust regexp for OCaml warnings.
8546
0c325082
SM
8547 * electric.el (electric-pair-post-self-insert-function): Let user
8548 turn it off buffer-locally (bug#9932).
8549
90132c14
SM
8550 * progmodes/python.el (python-beginning-of-statement):
8551 Rewrite (bug#2703).
8552
1dce7193
SM
8553 * progmodes/compile.el: Better handle TABs (bug#9749).
8554 (compilation-internal-error-properties)
8555 (compilation-next-error-function): Obey the target buffer's
8556 compilation-error-screen-columns.
8557
c4e7c63a
JB
85582011-11-09 Juanma Barranquero <lekktu@gmail.com>
8559
8560 * progmodes/meta-mode.el: Remove obsolete comments.
8561 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8562 Fix typos in docstrings.
8563
2cffd681
MR
85642011-11-09 Martin Rudalics <rudalics@gmx.at>
8565
8566 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8567 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8568 (window--resizable): New function. Make all callers of
8569 window-resizable call window--resizable instead.
8570 (window-resizable): Rewrite in terms of window--resizable.
8571
0edcba87
GM
85722011-11-08 Glenn Morris <rgm@gnu.org>
8573
8574 * progmodes/delphi.el (delphi-mode-syntax-table):
8575 Let define-derived-mode define a proper syntax table. (Bug#9994)
8576
4b0d61e3
SM
85772011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8578
8579 * window.el: Stay away from defsubst.
8580 (window-list-no-nils): Remove.
8581 (window-state-get-1, window-state-get): Use backquote instead.
8582
cd394be1 85832011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8584
4b0d61e3 8585 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8586 Fix incorrect use of default argument in `completing-read'.
8587
e1c2c6f2
MR
85882011-11-08 Martin Rudalics <rudalics@gmx.at>
8589
8590 * window.el (display-buffer-function, special-display-function):
8591 Mention display-buffer-record-window but do not mention
8592 help-setup parameter in doc-strings.
b3f4a882 8593 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8594
105216ed
CY
85952011-11-08 Chong Yidong <cyd@gnu.org>
8596
8597 * window.el (window-total-height, window-total-width): Doc fix.
8598 (window-body-size): Move from C.
8599 (window-body-height, window-body-width): Move to C.
8600
0a9f9ab5
SM
86012011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * window.el: Make special-display like display-buffer-alist (bug#9532).
8604 (display-buffer--special-action): New function, morphed
8605 from display-buffer--special.
8606 (display-buffer): Use it to handle special-display-buffers at higher
8607 priority (just after display-buffer-alist).
8608 (display-buffer-fallback-action, display-buffer--other-frame-action)
8609 (pop-to-buffer-same-window): Remove display-buffer--special.
8610
a769dd15
GM
86112011-11-07 Glenn Morris <rgm@gnu.org>
8612
8613 * calendar/cal-menu.el (cal-menu-set-date-title):
8614 Do nothing if not in a calendar. (Bug#9976)
8615
05a61ee3
SM
86162011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * files.el (find-file): Always use selected-window.
8619
be7f5545
MR
86202011-11-07 Martin Rudalics <rudalics@gmx.at>
8621
8622 * window.el (window-combinations): Make WINDOW argument
8623 mandatory. Rewrite doc-string.
8624 (walk-window-subtree, window-atom-check, window-min-delta)
8625 (window-max-delta, window--resize-this-window)
8626 (window--resize-root-window-vertically, window-tree)
8627 (balance-windows, window-state-put): Rewrite doc-strings as to
8628 not mention the term "subwindow".
8629 (window--resize-subwindows-skip-p): Rename to
8630 window--resize-child-windows-skip-p.
8631 (window--resize-subwindows-normal): Rename to
8632 window--resize-child-windows-normal.
8633 (window--resize-subwindows): Rename to
8634 window--resize-child-windows.
8635 (window-or-subwindow-p): Rename to window--in-subtree-p.
8636
3c6702ef
ML
86372011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8638
8639 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8640 Ensure that mbox format messages end in two newlines (Bug#9974).
8641
49745b39
CY
86422011-11-06 Chong Yidong <cyd@gnu.org>
8643
8644 * window.el (window-combination-p): Function deleted; its
8645 side-effect is not used in any existing code.
8646 (window-combinations, window-combined-p): Call window-*-child
8647 directly.
8648
24300f5f
CY
86492011-11-05 Chong Yidong <cyd@gnu.org>
8650
8651 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
8652 (window-size-ignore, window-state-get): Callers changed.
8653 (window-normalize-window): Rename from window-normalize-any-window.
8654 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 8655 (window-normalize-live-window): Delete.
447f16b8
CY
8656 (window-combination-p, window-combined-p, window-combinations)
8657 (walk-window-subtree, window-atom-root, window-min-size)
8658 (window-sizable, window-sizable-p, window-size-fixed-p)
8659 (window-min-delta, window-max-delta, window-resizable)
8660 (window-resizable-p, window-full-height-p, window-full-width-p)
8661 (window-current-scroll-bars, window-point-1, set-window-point-1)
8662 (window-at-side-p, window-in-direction, window-resize)
8663 (adjust-window-trailing-edge, maximize-window, minimize-window)
8664 (window-deletable-p, delete-window, delete-other-windows)
8665 (record-window-buffer, unrecord-window-buffer)
8666 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8667 (quit-window, split-window, window-state-put)
8668 (set-window-text-height, fit-window-to-buffer)
8669 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 8670
89bd5ee1
EZ
86712011-11-04 Eli Zaretskii <eliz@gnu.org>
8672
53479029
EZ
8673 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8674 rfc2047-decode-string.
8675 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8676 warnings.
8677
89bd5ee1
EZ
8678 * window.el (window-body-height, window-body-width): Mention in
8679 the doc string that the return values are in frame's canonical
8680 units. (Bug#9949)
8681
bd17fdee
AM
86822011-11-03 Alan Mackenzie <acm@muc.de>
8683
8684 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8685 change in cc-engine.el.
8686
acc825c5
SM
86872011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8688
8689 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8690
1885e5b8
MR
86912011-11-02 Martin Rudalics <rudalics@gmx.at>
8692
8693 * window.el (quit-window): Call unrecord-window-buffer after
8694 showing another buffer in the window. (Bug#9937)
acc825c5 8695 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 8696
ebe06da9
JB
86972011-11-02 Juanma Barranquero <lekktu@gmail.com>
8698
8699 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8700 Accept status with more than 9 shelves. (Bug#9935)
8701 Reported by Colin D Bennett <colin@gibibit.com>.
8702
4ee88440
MR
87032011-11-01 Martin Rudalics <rudalics@gmx.at>
8704
8705 * help.el (with-help-window): Don't reference
8706 temp-buffer-show-specifiers in doc-string.
8707
08e1d82c
AS
87082011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8709
8710 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8711 menu-item.
8712
84bd6e9e
VJL
87132011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8714
8715 * whitespace.el: New version 13.2.2.
8716 (whitespace-newline-mode): Disable properly. Reported by Sarah
8717 <EmacsWiki>.
8718
dba0634a
UJ
87192011-10-30 Ulf Jasper <ulf.jasper@web.de>
8720
8721 * net/newst-treeview.el: Remove "Time-stamp".
8722 (newsticker--group-manage-orphan-feeds): Do not call
8723 newsticker--treeview-tree-update.
db22a3c2
JB
8724 (newsticker-treeview-update, newsticker-treeview):
8725 Call newsticker--treeview-tree-update if necessary.
dba0634a 8726
3d8daefe
MR
87272011-10-30 Martin Rudalics <rudalics@gmx.at>
8728
8729 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
8730 (window-iso-combinations): Remove "iso-" infix.
8731 Suggested by Chong Yidong.
3d8daefe
MR
8732 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8733 (window-max-delta-1, window-resize, window--resize-siblings)
8734 (window--resize-this-window, adjust-window-trailing-edge)
8735 (split-window, balance-windows-1)
8736 (shrink-window-if-larger-than-buffer):
8737 * calendar/calendar.el (calendar-generate-window):
db22a3c2 8738 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 8739
1bc4c3ae
SM
87402011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8743 in place (bug#9907).
8744 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8745 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8746 (eshell-structure-basic-command, eshell-rewrite-while-command)
8747 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8748 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8749 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8750 (eshell-do-pipelines-synchronously, eshell-eval-command):
8751 Use backquotes and prefer setq to set.
8752 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8753 (eshell-macrop): Use functionp.
c1e2f5fa 8754 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 8755
30b65d9c
CY
87562011-10-30 Chong Yidong <cyd@gnu.org>
8757
8758 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8759 instead of set-mark (Bug#9810).
8760
2d197ffb
CY
87612011-10-30 Chong Yidong <cyd@gnu.org>
8762
8763 * window.el (split-window-below, split-window-right): Rename from
8764 split-window-above-each-other and split-window-side-by-side
8765 respectively. All callers changed.
8766 (split-window-sensibly, split-window-sensibly): Use them.
8767 (split-window-keep-point): Doc fix.
8768
8769 * isearch.el: Add isearch-scroll property to split-window-below
8770 and split-window-right.
8771
8772 * follow.el (follow-mode):
8773 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8774 * progmodes/ada-xref.el (ada-gdb-application):
8775 * emulation/vip.el (vip-buffer-in-two-windows):
8776 * image-dired.el (image-dired-dired-with-window-configuration):
8777 * dired-x.el (dired-do-find-marked-files):
8778 * dired.el (dired-pop-to-buffer):
8779 * bs.el (bs--show-with-configuration):
8780 * vc/emerge.el (emerge-setup-windows):
8781 * textmodes/two-column.el (2C-two-columns):
8782 * textmodes/reftex-toc.el (reftex-toc):
8783 * progmodes/gdb-mi.el (gdb-setup-windows):
8784 * progmodes/fortran.el (fortran-window-create):
8785 * net/newst-treeview.el (newsticker--treeview-window-init):
8786 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8787 * emulation/tpu-edt.el (tpu-gold-map):
8788 * emulation/crisp.el (crisp-mode-map):
8789 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8790
38bb2ca8
CY
87912011-10-29 Chong Yidong <cyd@gnu.org>
8792
aa4de341
CY
8793 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8794
e1eb5385
CY
8795 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8796
5d2ece3c
CY
8797 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8798 forged Ispell output (Bug#7904).
8799
38bb2ca8
CY
8800 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8801
d0af9f77
SM
88022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * doc-view.el: Avoid ugly errors about not finding nil.
8805 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8806 (doc-view-dvipdf-program, doc-view-unoconv-program)
8807 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8808 Avoid nil or absolute file name as default value.
8809 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8810
52bedd34
AM
88112011-10-28 Alan Mackenzie <acm@muc.de>
8812
db22a3c2 8813 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 8814
7e43cfa5
AM
88152011-10-28 Alan Mackenzie <acm@muc.de>
8816
8817 Amend the handling of c-beginning/end-of-defun in nested declaration
8818 scopes.
8819
52bedd34
AM
8820 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8821 cc-langs.el. Change it to a defcustom.
7e43cfa5 8822
52bedd34
AM
8823 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8824 cc-vars.el.
7e43cfa5 8825
d0af9f77
SM
8826 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8827 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 8828
52bedd34 8829 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 8830 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
8831 (c-widen-to-enclosing-decl-scope): New function.
8832 (c-while-widening-to-decl-block): New macro.
8833 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8834 outward for defun boundaries, and correspondingly change symbol
8835 `respect-enclosure' to `go-outward'.
8836 (c-declaration-limits): Change algorithm to report only the "innermost"
8837 defun's boundaries.
8838
1a2ce9ee
DD
88392011-10-28 Deniz Dogan <deniz@dogan.se>
8840
8841 * net/rcirc.el (rcirc-mode): Use hard newlines.
8842
bc97a826
AM
88432011-10-28 Alan Mackenzie <acm@muc.de>
8844
8845 Amend to indent and fontify macros "which include their own semicolon"
8846 correctly, using the "virtual semicolon" mechanism.
8847
52bedd34 8848 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 8849
d0af9f77 8850 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 8851 Recode to scan one line at a time rather than having \n and \r
58179cce 8852 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 8853 (c-forward-label): Amend for virtual semicolons.
58179cce 8854 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 8855
52bedd34
AM
8856 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8857 of the new C macros.
bc97a826 8858
52bedd34 8859 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
8860 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8861 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
8862 (c-opt-cpp-macro-define): Make into a full language variable.
8863 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8864 AWK Mode (including \n, \r) removed, no longer needed.
8865
d0af9f77
SM
8866 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8867 Invoke c-make-macro-with-semi-re.
bc97a826 8868
52bedd34
AM
8869 * progmodes/cc-vars.el (c-macro-with-semi-re):
8870 (c-macro-names-with-semicolon): New variables.
58179cce 8871 (c-make-macro-with-semi-re): New function.
bc97a826 8872
7a6c0941
SM
88732011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * vc/log-edit.el: Fill empty field rather than adding new one.
8876 (log-edit-add-field): New function.
8877 (log-edit-insert-changelog): Use it.
8878
b0c4cdcf
ML
88792011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8880
8881 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8882
ee1f1da9
SM
88832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8886 (gdb--check-interpreter): New function.
8887 (gdb): Use it.
8888
51bc5f8b
GM
88892011-10-27 Glenn Morris <rgm@gnu.org>
8890
416a2c45
GM
8891 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8892 (least-positive-float, least-negative-float)
8893 (least-positive-normalized-float, least-negative-normalized-float)
8894 (float-epsilon, float-negative-epsilon):
8895 Remove unnecessary declarations.
8896
8897 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8898 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8899 (least-positive-float, least-negative-float)
8900 (least-positive-normalized-float, least-negative-normalized-float)
8901 (float-epsilon, float-negative-epsilon): Add doc-strings,
8902 based on those in cl.texi.
8903
51bc5f8b
GM
8904 * files.el (set-visited-file-name): If the major-mode changed,
8905 reload the local variables. (Bug#9796)
8906
15de15c6
CY
89072011-10-27 Chong Yidong <cyd@gnu.org>
8908
8909 * subr.el (change-major-mode-after-body-hook): New hook.
8910 (run-mode-hooks): Run it.
8911
ee1f1da9
SM
8912 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8913 Use change-major-mode-before-body-hook.
15de15c6
CY
8914
8915 * simple.el (fundamental-mode):
8916 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8917 change introducing fundamental-mode-hook.
8918
5430d399
JB
89192011-10-26 Juanma Barranquero <lekktu@gmail.com>
8920
acc825c5 8921 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 8922
ad74a69e
MA
89232011-10-26 Michael Albinus <michael.albinus@gmx.de>
8924
8925 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 8926 tramp.el explicitly. (Bug#7583)
ad74a69e 8927
71d4c2a5
SM
89282011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * progmodes/octave-mod.el:
8931 * progmodes/octave-inf.el: Update maintainer.
8932
b1f6fa26
CY
89332011-10-26 Chong Yidong <cyd@gnu.org>
8934
8935 * subr.el (with-wrapper-hook): Rewrite doc.
8936
3f04efd6
MA
89372011-10-25 Michael Albinus <michael.albinus@gmx.de>
8938
8939 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 8940 filenames "/method:foo:". (Bug#9793)
3f04efd6 8941
410488d3
SM
89422011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
8945 (bug#9865).
8946
c1ebb47e
GM
89472011-10-24 Glenn Morris <rgm@gnu.org>
8948
8949 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
8950
7f5c46c7
MA
89512011-10-24 Michael Albinus <michael.albinus@gmx.de>
8952
8953 * notifications.el: Add the requirement of a running D-Bus session
8954 bus to the Commentary.
8955
db2440b6
JL
89562011-10-24 Juri Linkov <juri@jurta.org>
8957
8958 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8959 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
8960 (Bug#9364)
8961
feecf435
JL
89622011-10-24 Juri Linkov <juri@jurta.org>
8963
8964 * info.el (Info-following-node-name-re): Add newline to the list
8965 of allowed characters for leading space. (Bug#9824)
8966
a3839de2
SM
89672011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8968
acc825c5
SM
8969 * progmodes/octave-inf.el (inferior-octave-mode-map):
8970 Fix C-c C-h binding.
a3839de2
SM
8971 * progmodes/octave-mod.el (octave-help): Remove.
8972
09388e76
MA
89732011-10-23 Michael Albinus <michael.albinus@gmx.de>
8974
8975 Sync with Tramp 2.2.3.
8976
8977 * net/tramp-cache.el (top): Pacify byte-compiler using
8978 `init-file-user' and `site-run-file'.
8979
8980 * net/trampver.el: Update release number.
8981
86c60681
CY
89822011-10-23 Chong Yidong <cyd@gnu.org>
8983
8984 * files.el (toggle-read-only): Remove obsolete comment about
8985 version control.
8986
8987 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
8988 for toggle-read-only. Note that this hasn't called vc-next-action
8989 since 2008-05-02, though it wasn't documented at the time.
8990
a3839de2
SM
8991 * vc/ediff-init.el (ediff-toggle-read-only-function):
8992 Use toggle-read-only.
86c60681 8993
cd5495ff
AM
89942011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
8995
8996 Fix bug #9560, sporadic wrong indentation; improve instrumentation
8997 of c-parse-state.
8998
00b77525 8999 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9000 correct faulty logical expression.
cd5495ff
AM
9001 (c-parse-state-state, c-record-parse-state-state):
9002 (c-replay-parse-state-state): New defvar/defuns.
9003 (c-debug-parse-state): Use new functions.
9004
42ee24ed
MR
90052011-10-22 Martin Rudalics <rudalics@gmx.at>
9006
9007 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9008 last fix. Use window-in-direction correctly.
42ee24ed 9009
a7dee7e7
CY
90102011-10-21 Chong Yidong <cyd@gnu.org>
9011
9012 * progmodes/idlwave.el (idlwave-mode):
9013 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9014 require-final-newline; that's done in prog-mode.
9015 Suggested by Stefan Monnier.
a7dee7e7 9016
e07b9a6d
MR
90172011-10-21 Martin Rudalics <rudalics@gmx.at>
9018
9019 * mouse.el (mouse-drag-window-above)
9020 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9021 (mouse-drag-mode-line-1, mouse-drag-header-line)
9022 (mouse-drag-vertical-line-rightward-window): Remove.
9023 (mouse-drag-line): New function.
9024 (mouse-drag-mode-line, mouse-drag-header-line)
9025 (mouse-drag-vertical-line): Call mouse-drag-line.
9026 * window.el (window-at-side-p, windows-at-side): New functions.
9027
7e1361d9
UM
90282011-10-21 Ulrich Mueller <ulm@gentoo.org>
9029
9030 * tar-mode.el (tar-grind-file-mode):
9031 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9032
30fcaf3a
CY
90332011-10-21 Chong Yidong <cyd@gnu.org>
9034
9035 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9036 * progmodes/vera-mode.el (vera-mode):
9037 Use mode-require-final-newline.
30fcaf3a 9038
516eddb0
GM
90392011-10-20 Glenn Morris <rgm@gnu.org>
9040
db22a3c2 9041 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9042
10d5f513
CS
90432011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9044
9045 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9046
ac6c8639
CY
90472011-10-20 Chong Yidong <cyd@gnu.org>
9048
9049 * emulation/cua-base.el (cua-mode):
9050 * mail/footnote.el (footnote-mode):
9051 * mail/mailabbrev.el (mail-abbrevs-mode):
9052 * net/xesam.el (xesam-minor-mode):
9053 * progmodes/bug-reference.el (bug-reference-mode):
9054 * progmodes/cap-words.el (capitalized-words-mode):
9055 * progmodes/compile.el (compilation-minor-mode)
9056 (compilation-shell-minor-mode):
9057 * progmodes/gud.el (gud-tooltip-mode):
9058 * progmodes/hideif.el (hide-ifdef-mode):
9059 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9060 * progmodes/subword.el (subword-mode):
9061 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9062 * progmodes/which-func.el (which-function-mode):
9063 * term/tvi970.el (tvi970-set-keypad-mode):
9064 * term/vt100.el (vt100-wide-mode):
9065 * textmodes/flyspell.el (flyspell-mode):
9066 * textmodes/ispell.el (ispell-minor-mode):
9067 * textmodes/nroff-mode.el (nroff-electric-mode):
9068 * textmodes/paragraphs.el (use-hard-newlines):
9069 * textmodes/refill.el (refill-mode):
9070 * textmodes/reftex.el (reftex-mode):
9071 * textmodes/rst.el (rst-minor-mode):
9072 * textmodes/sgml-mode.el (html-autoview-mode)
9073 (sgml-electric-tag-pair-mode):
9074 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9075 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9076 * emulation/crisp.el (crisp-mode):
9077 * emacs-lisp/eldoc.el (eldoc-mode):
9078 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9079 minor mode behavior.
9080
aa42ab43
JL
90812011-10-19 Juri Linkov <juri@jurta.org>
9082
9083 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9084 the list of hard-coded chars with escape-glyph face.
9085
89400f1d
SM
90862011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9089
305c07f6
MA
90902011-10-19 Michael Albinus <michael.albinus@gmx.de>
9091
9092 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9093 running process.
9094
13754b54
GM
90952011-10-19 Glenn Morris <rgm@gnu.org>
9096
9097 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9098 Ignore ignored files. (Bug#9726)
9099
06e21633
CY
91002011-10-19 Chong Yidong <cyd@gnu.org>
9101
9102 Doc fix for minor modes, stating that an omitted argument enables
9103 the mode unconditionally when called from Lisp.
9104
9105 * abbrev.el (abbrev-mode):
9106 * allout.el (allout-mode):
9107 * autoinsert.el (auto-insert-mode):
9108 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9109 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9110 (global-auto-revert-mode):
9111 * battery.el (display-battery-mode):
9112 * composite.el (global-auto-composition-mode)
9113 (auto-composition-mode):
9114 * delsel.el (delete-selection-mode):
9115 * desktop.el (desktop-save-mode):
9116 * dired-x.el (dired-omit-mode):
9117 * dirtrack.el (dirtrack-mode):
9118 * doc-view.el (doc-view-minor-mode):
9119 * double.el (double-mode):
9120 * electric.el (electric-indent-mode, electric-pair-mode):
9121 * emacs-lock.el (emacs-lock-mode):
9122 * epa-hook.el (auto-encryption-mode):
9123 * follow.el (follow-mode):
9124 * font-core.el (font-lock-mode):
9125 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9126 * help.el (temp-buffer-resize-mode):
9127 * hilit-chg.el (highlight-changes-mode)
9128 (highlight-changes-visible-mode):
9129 * hi-lock.el (hi-lock-mode):
9130 * hl-line.el (hl-line-mode, global-hl-line-mode):
9131 * icomplete.el (icomplete-mode):
9132 * ido.el (ido-everywhere):
9133 * image-file.el (auto-image-file-mode):
9134 * image-mode.el (image-minor-mode):
9135 * iswitchb.el (iswitchb-mode):
9136 * jka-cmpr-hook.el (auto-compression-mode):
9137 * linum.el (linum-mode):
9138 * longlines.el (longlines-mode):
9139 * master.el (master-mode):
9140 * mb-depth.el (minibuffer-depth-indicate-mode):
9141 * menu-bar.el (menu-bar-mode):
9142 * minibuf-eldef.el (minibuffer-electric-default-mode):
9143 * mouse-sel.el (mouse-sel-mode):
9144 * msb.el (msb-mode):
9145 * mwheel.el (mouse-wheel-mode):
9146 * outline.el (outline-minor-mode):
9147 * paren.el (show-paren-mode):
9148 * recentf.el (recentf-mode):
9149 * reveal.el (reveal-mode, global-reveal-mode):
9150 * rfn-eshadow.el (file-name-shadow-mode):
9151 * ruler-mode.el (ruler-mode):
9152 * savehist.el (savehist-mode):
9153 * scroll-all.el (scroll-all-mode):
9154 * scroll-bar.el (scroll-bar-mode):
9155 * server.el (server-mode):
9156 * shell.el (shell-dirtrack-mode):
9157 * simple.el (auto-fill-mode, transient-mark-mode)
9158 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9159 (line-number-mode, column-number-mode, size-indication-mode)
9160 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9161 * strokes.el (strokes-mode):
9162 * time.el (display-time-mode):
9163 * t-mouse.el (gpm-mouse-mode):
9164 * tool-bar.el (tool-bar-mode):
9165 * tooltip.el (tooltip-mode):
9166 * type-break.el (type-break-mode-line-message-mode)
9167 (type-break-query-mode):
9168 * view.el (view-mode):
9169 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9170 (global-whitespace-mode, global-whitespace-newline-mode):
9171 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9172
a3839de2
SM
9173 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9174 Fix autogenerated docstring.
06e21633 9175
5214e501
JL
91762011-10-19 Juri Linkov <juri@jurta.org>
9177
9178 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9179 by checking environment variables "DESKTOP_SESSION" and
9180 "XDG_CURRENT_DESKTOP". (Bug#9779)
9181
195f8db9
JL
91822011-10-19 Juri Linkov <juri@jurta.org>
9183
9184 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9185 (browse-url-chromium-program, browse-url-chromium-arguments):
9186 New defcustoms.
9187 (browse-url-default-browser): Check for `browse-url-chromium' and
9188 call `browse-url-chromium-program'.
9189 (browse-url-chromium): New command. (Bug#9779)
9190
343a34ff
JB
91912011-10-18 Juanma Barranquero <lekktu@gmail.com>
9192
9193 * facemenu.el (list-colors-duplicates): On Windows, detect more
9194 duplicates by assuming that only colors matching "^System" are
9195 special "system colors". (Bug#9722)
9196
6978a151
SM
91972011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9200 to distinguish the author from the committer.
9201
6a80b297
MA
92022011-10-18 Michael Albinus <michael.albinus@gmx.de>
9203
9204 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9205
b31a5677
JK
92062011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9207
9208 * international/mule.el (sgml-html-meta-auto-coding-function):
9209 Add support for detecting encoding in HTML5 specified only as
9210 <meta charset="UTF-8">. Implementation just makes http-equiv and
9211 content-type parts from HTML4 encoding string optional. (Bug#9716)
9212
80c6d77f
GM
92132011-10-18 Glenn Morris <rgm@gnu.org>
9214
9215 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9216
08b0fee8
CY
92172011-10-18 Chong Yidong <cyd@gnu.org>
9218
9219 * faces.el (cursor): Doc fix.
9220
67e729a5
CY
92212011-10-17 Chong Yidong <cyd@gnu.org>
9222
9223 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9224
343a34ff 92252011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9226
9227 * dirtrack.el (dirtrack): Support shell buffers with path
9228 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9229
0bc06380
TZ
92302011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9231
9232 * json.el: Bump version to 1.3 and note change in History.
9233 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9234
8b79f3e0
SM
92352011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9236
5a7c536b
SM
9237 * comint.el (comint-insert-input, comint-send-input)
9238 (comint-get-old-input-default, comint-backward-matching-input)
9239 (comint-next-prompt): Use nil instead of `input' for field property of
9240 past user input (bug#114).
9241
96a8a0df
SM
9242 * minibuffer.el (completion--replace): Inherit surrounding properties
9243 (bug#114).
9244 (minibuffer-complete-and-exit): Use it.
9245
8b79f3e0
SM
9246 * comint.el (comint--table-subvert): Quote the all-completions output
9247 (bug#9160).
9248
b8f7ff0d
MR
92492011-10-17 Martin Rudalics <rudalics@gmx.at>
9250
8b79f3e0 9251 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9252
b8f7ff0d 9253 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9254 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9255 entries and separate them from frame entries.
9256
c235b555
GM
92572011-10-15 Glenn Morris <rgm@gnu.org>
9258
9259 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9260 Doc fixes.
9261
6bbfa6e1
CY
92622011-10-15 Chong Yidong <cyd@stupidchicken.com>
9263
8b79f3e0
SM
9264 * net/network-stream.el (network-stream-open-starttls):
9265 Improve detection of failure due to lack of TLS support.
ec5c990d 9266
6bbfa6e1
CY
9267 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9268 putting the input text in front and in bold.
9269
98488977
SM
92702011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9271
3d1337be
SM
9272 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9273
ee0b45e4
SM
9274 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9275 empty buffer.
9276
98488977
SM
9277 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9278 unread-command-events rather than pushing yet-another event.
9279
186f4720
EZ
92802011-10-14 Eli Zaretskii <eliz@gnu.org>
9281
9282 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9283 the explanation of the possible choices. Make the options passed
9284 to completing-read shorter.
9285
8b7a997c
AM
92862011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9287
9288 * textmodes/flyspell.el (flyspell-large-region): Make sure
9289 extended character mode is used if defined (Bug#1339).
9290
12587bbb
EZ
92912011-10-13 Eli Zaretskii <eliz@gnu.org>
9292
9293 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9294 character info for LRE, LRO, RLE, and RLO characters by appending
9295 an invisible PDF.
12587bbb 9296
bad41229
SM
92972011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9300 even in case of error; add debug spec; simplify data flow.
9301 (with-timeout-handler): Remove.
9302
28dbc92f
MA
93032011-10-12 Michael Albinus <michael.albinus@gmx.de>
9304
9305 Fix Bug#6019, Bug#9315.
9306
9307 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9308 complete `buffer-file-name', the local file name part could look
9309 remotely (for example on VMS).
9310
9311 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9312 `tramp-run-real-handler'.
9313 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9314 already quoted by '"'.
9315
9316 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9317 Let `file-name-handler-alist' be nil, the local file name part
9318 could look remotely (for example on VMS).
9319
e1b0b23a
SM
93202011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9323 from here...
9324 (flyspell-post-command-hook): ...to here.
9325
a120bde9
SM
93262011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9329 if not needed.
9330 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9331 using completion. Protect against "slow" callers.
9332 Remove the "message hack".
9333
7ce7717b
JL
93342011-10-11 Juri Linkov <juri@jurta.org>
9335
9336 * isearch.el (isearch-lazy-highlight-word): New variable.
9337 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9338 Use it. (Bug#9727)
9339
c02ee9d6
GM
93402011-10-11 Glenn Morris <rgm@gnu.org>
9341
9342 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9343 like f90-previous-statement does.
9344
93e616fd 93452011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9346
1f190e73 9347 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9348 only in interactive use, to avoid error.
9349
af7b6078
SM
93502011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9351
9352 * minibuffer.el (completion-file-name-table): Fix last change,
9353 i.e. ignore normal errors but not the other ones.
9354
0563dae9
MR
93552011-10-10 Martin Rudalics <rudalics@gmx.at>
9356
9357 * window.el (special-display-buffer-names)
9358 (special-display-regexps): Remove some remnants of earlier
9359 changes from doc-strings.
366ca7f3
MR
9360 (quit-windows-on): New function.
9361
9362 * vc/vc.el (vc-revert, vc-rollback):
9363 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9364 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9365 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9366
49677495
MR
93672011-10-09 Martin Rudalics <rudalics@gmx.at>
9368
9369 * window.el (frame-auto-hide-function): Add version tag.
9370 (Bug#9699)
9371
56f2d1e1
MA
93722011-10-09 Michael Albinus <michael.albinus@gmx.de>
9373
9374 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9375 condition.
9376
112a6592
LL
93772011-10-09 Leo Liu <sdl.web@gmail.com>
9378
9379 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9380 (Bug#9701)
9381
0812589b
GM
93822011-10-08 Glenn Morris <rgm@gnu.org>
9383
9384 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9385 before the first code statement zero indent. (Bug#9690)
9386
b2b0776e
CY
93872011-10-08 Chong Yidong <cyd@stupidchicken.com>
9388
9389 * simple.el (count-words-region): Always count in the region.
9390 Report the number of lines and characters too.
9391 (count-words): New command, which counts in the buffer if the
9392 region is inactive, as count-words-region used to.
9393 (count-words--message): New function. Handle plurals.
9394 (count-lines-region): Make it an alias for count-words-region.
9395
9396 * bindings.el (esc-map): Replace count-lines-region with
9397 count-words-region.
9398
c557cd6b
MR
93992011-10-08 Martin Rudalics <rudalics@gmx.at>
9400
9401 * window.el (window--delete): Delete dedicated frame
9402 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9403 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9404
61a57ef4 94052011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9406
3a7d293b 9407 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9408
c3833279
CY
94092011-10-07 Chong Yidong <cyd@stupidchicken.com>
9410
9411 * bindings.el ([M-left],[M-right]): Bind to left-word and
9412 right-word respectively.
9413
21ce8245
GM
94142011-10-07 Glenn Morris <rgm@gnu.org>
9415
9416 * cus-start.el (debug-on-quit): Fix custom type.
9417
6d823bb2
LMI
94182011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9419
0181e193
LMI
9420 * subr.el (define-key-after): Clarify that the function is not
9421 useful for non-menu keymaps.
9422
6d823bb2
LMI
9423 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9424
8e3459ce 94252011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9426
21ce8245 9427 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9428 in current minibuffer (Fix bug with recursive minibuffers).
9429
a1c2d21e
CY
94302011-10-06 Chong Yidong <cyd@stupidchicken.com>
9431
9432 * progmodes/gdb-mi.el (gdb): Doc fix.
9433
5a4cf282
MR
94342011-10-05 Martin Rudalics <rudalics@gmx.at>
9435
9436 * window.el (frame-auto-hide-function): New option replacing
9437 frame-auto-delete. Suggested by Stefan Monnier.
9438 (window--delete): Call frame-auto-hide-function instead of
9439 investigating frame-auto-delete.
c96111ea
MR
9440 (window-point-1, set-window-point-1): New functions.
9441 (window-in-direction, record-window-buffer, window-state-get-1)
9442 (display-buffer-record-window): Use window-point-1 instead of
9443 window-point.
9444 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9445
9854542e
SM
94462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9447
9448 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9449
8943cfb0
GM
94502011-10-05 Glenn Morris <rgm@gnu.org>
9451
9452 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9453 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9454
647ab967
LL
94552011-10-05 Leo Liu <sdl.web@gmail.com>
9456
9457 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9458 works with buffer object.
9459
3ddfbced
SM
94602011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9461
9462 * mpc.el (mpc-tool-bar-map): Add labels.
9463
bdfa5dd2
GM
94642011-10-04 Glenn Morris <rgm@gnu.org>
9465
9466 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9467
0e2070b5
MR
94682011-10-04 Martin Rudalics <rudalics@gmx.at>
9469
9470 * window.el (window--delete): New function.
9471 (frame-auto-delete): Resuscitate option.
9472 (bury-buffer, replace-buffer-in-windows)
9473 (quit-window): Rewrite using window--delete.
9474 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9475 Pass display-buffer-mark-dedicated to window--display-buffer-2
9476 (Bug#9639).
9477
3dc61a09
SM
94782011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9479
915a9b64
SM
9480 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9481 returns a list (bug#9554). Add remote file name completion.
9482 * comint.el (comint--table-subvert): Curry and get quote&unquote
9483 functions as arguments.
9484 (comint--complete-file-name-data): Adjust call accordingly.
9485 * pcomplete.el (pcomplete--table-subvert): Remove.
9486 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9487
3dc61a09
SM
9488 * minibuffer.el (completion-table-case-fold): Use currying.
9489 (completion--styles-type, completion--cycling-threshold-type):
9490 New constants.
9491 (completion-styles, completion-category-overrides)
9492 (completion-cycle-threshold): Use them.
9493 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9494 completion-table-case-fold.
9495
8ea0a993
SB
94962011-10-03 Stephen Berman <stephen.berman@gmx.net>
9497
9498 * minibuffer.el (completion-category-overrides): Fix type of styles
9499 and add more user friendly tags (bug#9660).
9500
8c24b7f6
SM
95012011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9502
9503 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9504 (mule-input-method-string): New widget.
9505 (default-input-method, language-info-custom-alist): Use it.
9506
428fe61a
SM
95072011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9508
32c1fffd
SM
9509 * pcomplete.el: Require comint.
9510 (pcomplete--common-suffix): Remove.
9511 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9512 (pcomplete--table-subvert): Sync with comint--table-subvert.
9513 (pcomplete--entries): Use comint-completion-file-name-table.
9514 * comint.el (comint-unquote-filename): Simplify.
9515 (comint-completion-file-name-table): New function (bug#9616).
9516 (comint--complete-file-name-data): Use it.
9517
428fe61a
SM
9518 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9519 (pcmpl-gnu-tar-buffer): Remove.
9520 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9521 around. Make sure pcomplete-suffix-list is only changed temporarily.
9522 Don't look inside the tar's file if it's too large.
428fe61a 9523
04c52e2f
CY
95242011-10-01 Chong Yidong <cyd@stupidchicken.com>
9525
ce3cefcc
CY
9526 * cus-edit.el (custom-mode-map):
9527 * epa.el (epa-key-list-mode-map):
9528 * man.el (Man-mode-map):
9529 * startup.el (splash-screen-keymap):
9530 * simple.el (special-mode-map): Use scroll-up-command and
9531 scroll-down-command.
9532
9533 * progmodes/idlw-help.el (idlwave-help-mode-map):
9534 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9535 * net/newst-plainview.el (newsticker-mode-map):
9536 * emulation/ws-mode.el (wordstar-mode-map):
9537 * emulation/vi.el (vi-com-map):
9538 * calc/calc-graph.el (calc-graph-show-dumb):
9539 * term/sun.el (terminal-init-sun):
9540 * term/ns-win.el (global-map):
9541 * progmodes/grep.el (grep-mode-map):
9542 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9543 * mail/rmail.el (rmail-mode-map):
9544 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9545
04c52e2f
CY
9546 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9547 custom-safe-themes as special.
9548
79adf8c8
JD
95492011-10-01 Julien Danjou <julien@danjou.info>
9550
9551 * notifications.el (notifications-notify): Fix docstring.
9552
63bd50d3
PS
95532011-10-01 Per Starbäck <per@starback.se>
9554
9555 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9556
199e4c7e
MR
95572011-09-30 Martin Rudalics <rudalics@gmx.at>
9558
9559 * startup.el (command-line-1): Fix last fix by inserting
9560 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9561 (Bug#9605) and (Bug#9636)
199e4c7e 9562
fe5f08dd
EZ
95632011-09-29 Eli Zaretskii <eliz@gnu.org>
9564
9565 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9566 window is hscrolled, move by logical lines. (Bug#9607)
9567 (line-move-visual): Update the doc string to the above effect.
9568
b5516bbd
MR
95692011-09-29 Martin Rudalics <rudalics@gmx.at>
9570
ccee00c0
MR
9571 * window.el (display-buffer-record-window): When WINDOW is the
9572 selected window use `point' instead of `window-point'. (Bug#9626)
9573
b5516bbd
MR
9574 * startup.el (command-line-1): Use insert-before-markers when
9575 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9576
b5516bbd
MR
9577 * help.el (help-window): Remove variable.
9578
52aa0014
GM
95792011-09-29 Glenn Morris <rgm@gnu.org>
9580
9581 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9582
df9a7357
JB
95832011-09-29 Juanma Barranquero <lekktu@gmail.com>
9584
9585 * descr-text.el (describe-char-categories): Accept category
9586 descriptions more than one line long.
9587
a8406c20
SM
95882011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9589
88d9610c
SM
9590 * simple.el (delete-trailing-whitespace): Fix last change.
9591
a5daf810
SM
9592 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9593 Don't confuse "y => 3" as the beginning of a `y' operation.
9594
a8406c20
SM
9595 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9596 object has more than 4 slots (bug#9613).
9597
a239d4e9
JB
95982011-09-28 Juanma Barranquero <lekktu@gmail.com>
9599
9600 * subr.el (with-output-to-temp-buffer):
9601 * net/quickurl.el (quickurl, quickurl-browse-url):
9602 Fix typos in docstrings.
9603
693fbdb6
EZ
96042011-09-27 Eli Zaretskii <eliz@gnu.org>
9605
9606 * minibuffer.el (completion-styles)
9607 (completion-category-overrides): Cross reference each other in doc
9608 strings.
9609
8b457e28
GM
96102011-09-27 Glenn Morris <rgm@gnu.org>
9611
9612 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9613 to split-string. (Bug#9606)
9614
85a16208
LMI
96152011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9616
9617 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9618 (bug#9615).
9619
502f9ebd
CY
96202011-09-27 Chong Yidong <cyd@stupidchicken.com>
9621
9622 * emacs-lisp/package.el (list-packages): Fix echo area message.
9623
7690bdea
LL
96242011-09-27 Leo Liu <sdl.web@gmail.com>
9625
9626 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9627
e2ee6f30
MA
96282011-09-25 Michael Albinus <michael.albinus@gmx.de>
9629
9630 * net/dbus.el (dbus-unregister-object): Don't release services for
9631 registered signals. (Bug#9581)
9632
f3f98342
TZ
96332011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9634
9635 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9636 function that picks between cfengine 2 and 3 support
9637 automatically. Update docs accordingly.
9638
dd7aa8dd
KH
96392011-09-22 Kenichi Handa <handa@m17n.org>
9640
9641 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9642 ZERO.
9643 (indian-itrans-v5-table-for-tamil): New variable.
9644 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9645
3f2b07f8
KM
96462011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9647
9648 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9649 that's true if the current command involved collapsing of text.
9650 It's reset to false at the beginning of the next command.
9651 (allout-post-command-business): Move the cursor to the beginning
9652 of entry if the cursor is hidden and collapsing activity just
9653 happened.
9654
371d6a61
CY
96552011-09-24 Chong Yidong <cyd@stupidchicken.com>
9656
9657 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9658 tracking (Bug#9541).
9659
2ac2721a
UJ
96602011-09-24 Ulf Jasper <ulf.jasper@web.de>
9661
9662 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
9663 (newsticker-show-news): Automatically load html rendering package
9664 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9665 because w3m-fill-column is let-bound" and the error "Symbol's value
9666 as variable is void: w3m-fill-column".
2ac2721a 9667
fac7ae53
MA
96682011-09-24 Michael Albinus <michael.albinus@gmx.de>
9669
9670 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9671 Release services only if they are defined. (Bug#9581)
9672
e08b633b
RS
96732011-09-23 Richard Stallman <rms@gnu.org>
9674
e488d29c
RS
9675 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9676 distinguish start of paragraph from start of its text.
9677
19c38752
RS
9678 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9679
e08b633b
RS
9680 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9681 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9682 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9683
0a39f27e
AS
96842011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9685
9686 * international/mule-diag.el (mule-diag): Insert a newline after
9687 each fontset description.
9688
db4e950d
SM
96892011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * simple.el (delete-trailing-whitespace):
9692 Document last change; simplify.
9693
eca3f3ea
PW
96942011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9695
d68e189a
PW
9696 * simple.el (delete-trailing-whitespace): Also delete
9697 extra newlines at the end of the buffer.
9698
eca3f3ea
PW
9699 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9700 (picture-newline): Use forward-line so as to ignore fields.
9701
01c157cc
SM
97022011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9703
9704 * subr.el (with-wrapper-hook): Fix edebug spec.
9705
022de23e
LMI
97062011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9707
9708 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9709 (bug#4538).
9710
91683089
MA
97112011-09-23 Michael Albinus <michael.albinus@gmx.de>
9712
eca3f3ea
PW
9713 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9714 Fix nasty bug using wrong cached values.
91683089 9715
5bdd6fa4
AM
97162011-09-23 Alan Mackenzie <acm@muc.de>
9717
9718 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9719
97adfb97
CY
97202011-09-23 Chong Yidong <cyd@stupidchicken.com>
9721
9722 * window.el (pop-to-buffer): Ensure right window is selected if we
9723 chose another frame.
9724
d4ef2b50
EZ
97252011-09-22 Eli Zaretskii <eliz@gnu.org>
9726
9727 * simple.el (what-cursor-position): Use get-char-property-change
9728 and next-single-char-property-change, to be able to show display
9729 properties that come from overlays as well as text properties.
9730
72258fe5
CY
97312011-09-22 Chong Yidong <cyd@stupidchicken.com>
9732
9733 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9734
9735 * cmuscheme.el (run-scheme, switch-to-scheme):
9736 * cus-edit.el (customize-group, custom-buffer-create)
9737 (customize-browse):
9738 * info.el (info):
9739 * shell.el (shell):
9740 * mail/sendmail.el (mail):
9741 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9742
8f098516
RS
97432011-09-22 Richard Stallman <rms@gnu.org>
9744
9745 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9746 move back only to line beg, don't move back over blank lines.
9747
e74f1bb6
MA
97482011-09-22 Michael Albinus <michael.albinus@gmx.de>
9749
9750 * files.el (copy-directory): Set directory attributes only in case
9751 they could be retrieved from the source directory. (Bug#9565)
9752
bfeef8b6
DK
97532011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9754
9755 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9756 (hs-find-block-beginning, hs-hide-level-recursive):
9757 Ignore strings as well as comments. (Bug#9502)
9758
7e423bb8
AS
97592011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9760
9761 * progmodes/sql.el (sql-comint-postgres):
9762 Convert port number to a string. (Bug#9566)
9763
b4d72fcf
MR
97642011-09-22 Martin Rudalics <rudalics@gmx.at>
9765
9766 * window.el (quit-window): Undedicate window when switching to
9767 previous buffer. Reported by Thierry Volpiatto
9768 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
9769 (special-display-popup-frame): When popping up a new frame reset
9770 its previous buffers to nil. Simplify code.
b4d72fcf 9771
a7b88dc6
MA
97722011-09-21 Michael Albinus <michael.albinus@gmx.de>
9773
9774 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9775 and process filter, as done also in `shell-command'.
9776
cf4eacfd
MR
97772011-09-21 Martin Rudalics <rudalics@gmx.at>
9778
eca3f3ea 9779 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
9780 Call set-window-start with NOFORCE argument t.
9781 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
9782 (quit-window): Reword doc-string. Handle new format of
9783 quit-restore parameter. Don't delete window if it has a
9784 previous buffer we can show instead of the present one.
9785 (display-buffer-record-window): Rewrite using a new format for
9786 the quit-restore window parameter
9787 (special-display-popup-frame, display-buffer-same-window)
9788 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9789 (display-buffer-pop-up-window, display-buffer-use-some-window):
9790 Adapt symbol passed to display-buffer-record-window.
9791 * help.el (help-window-setup): Handle new format of quit-restore
9792 parameter.
9793
8d28cb95
SM
97942011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9795
94ab793f
SM
9796 * faces.el (face-list): Fix docstring (bug#9564).
9797
8d28cb95
SM
9798 * window.el (display-buffer--action-function-custom-type):
9799 Don't include internal functions in the Custom interface.
9800
3820edeb
JL
98012011-09-20 Juri Linkov <juri@jurta.org>
9802
9803 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9804 (Info-forward-node, Info-backward-node, Info-next-preorder)
9805 (Info-last-preorder): Use it. (Bug#9528)
9806
5147931d
JL
98072011-09-20 Juri Linkov <juri@jurta.org>
9808
9809 * info.el (Info-last-preorder): Visit last menu item only when
9810 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9811
cf499a1a
JD
98122011-09-20 Julien Danjou <julien@danjou.info>
9813
9814 * password-cache.el (password-cache-remove): Remove entries even if the
9815 value is nil, so that password with a nil value (negative caching) is
9816 possible to invalidate.
9817
f84e2fe2
LM
98182011-09-20 Lawrence Mitchell <wence@gmx.li>
9819
9820 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9821 all whitespace around breakpoint. (Bug#9553)
9822 (f90-find-breakpoint): Only break at whitespace inside a comment.
9823
78054a46
SM
98242011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * minibuffer.el (completion-file-name-table): Keep track of errors.
9827 (completion-table-with-predicate): Handle the case where pred1 is nil.
9828 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9829
345083b2
SM
98302011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9831
e24e27be
SM
9832 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9833 (debugger-return-value): Signal an error if the debugging context does
9834 not await any return value.
9835
345083b2
SM
9836 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9837 * image-mode.el (image-toggle-display-text)
9838 (image-toggle-display-image): Stay away from evil `intangible'.
9839
08d355e3
LL
98402011-09-19 Leo Liu <sdl.web@gmail.com>
9841
9842 * replace.el (occur-revert-arguments): Make it permanent-local.
9843 (occur-mode): Don't call font-lock-defontify.
9844
f01da43f
CY
98452011-09-19 Chong Yidong <cyd@stupidchicken.com>
9846
9847 * net/ldap.el (ldap-search-internal): Don't push empty search
9848 result (Bug#9508).
9849
b6072fa6
SM
98502011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9853
443d6696
MA
98542011-09-19 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9857 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9858
7cc6e154
JL
98592011-09-18 Juri Linkov <juri@jurta.org>
9860
9861 * buff-menu.el (Buffer-menu-mode-map):
9862 * dired.el (dired-mode-map):
9863 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9864 (lisp-interaction-mode-map):
9865 * emacs-lisp/package.el (package-menu-mode-map):
9866 * epa.el (epa-key-list-mode-map):
9867 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9868 (menu-bar-options-menu):
9869 * outline.el (outline-mode-menu-bar-map):
9870 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9871 * vc/vc-dir.el (vc-dir-menu-map):
9872 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9873 Capitalize non-function content words in menu item strings.
9874
9875 * dired.el (dired-mode-map): Add menu item for
9876 `image-dired-dired-toggle-marked-thumbs'.
9877
80302a81
JL
98782011-09-18 Juri Linkov <juri@jurta.org>
9879
9880 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9881 to `isearch-case-fold-search' and restore its original value
9882 after the `isearch-mode' call.
9883
46c5cf66
JL
98842011-09-18 Juri Linkov <juri@jurta.org>
9885
9886 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9887 because `zgrep' returns 1 for successful matches (bug#9226).
9888
d18b513b
JL
98892011-09-18 Juri Linkov <juri@jurta.org>
9890
9891 * info.el (Info-extract-menu-node-name): Check the second match
9892 for empty string (second test-case of bug#9528).
9893 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9894 intermediate nodes to the history (first test-case of bug#9528).
9895
72753f87
JL
98962011-09-18 Juri Linkov <juri@jurta.org>
9897
9898 * info.el (Info-mode-syntax-table): New variable.
1154d12e 9899 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 9900
c9384295
JL
99012011-09-18 Juri Linkov <juri@jurta.org>
9902
1154d12e
JB
9903 * info.el (Info-file-supports-index-cookies):
9904 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9905 outputs one more line for long file names (bug#4142).
c9384295 9906
d473dce8
CY
99072011-09-18 Chong Yidong <cyd@stupidchicken.com>
9908
9909 * newcomment.el (comment-normalize-vars): If prompting for
9910 comment-start, set comment-start-skip too (Bug#8424).
9911
2176854d
JB
99122011-09-18 Johan Bockgård <bojohan@gnu.org>
9913
9914 * icomplete.el: Fix previous fix of Bug#5849.
9915 (icomplete-mode): Don't set completion-show-inline-help.
9916 (icomplete-minibuffer-setup): Set completion-show-inline-help
9917 locally during icompletion.
9918
3aace4e4
CY
99192011-09-18 Chong Yidong <cyd@stupidchicken.com>
9920
c940224f
CY
9921 * woman.el (woman2-process-escapes): Don't delete unrecognized
9922 escapes (Bug#7843).
9923
3aace4e4
CY
9924 * files.el (inhibit-first-line-modes-regexps): Add image files.
9925 (hack-local-variables-prop-line): Return nil for malformed
9926 prop-lines (Bug#9044).
9927
710dec63
MA
99282011-09-18 Michael Albinus <michael.albinus@gmx.de>
9929
9930 * net/tramp.el (top): Don't require 'shell.
9931 (tramp-methods): Fix docstring.
9932 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
9933 Return complete remote file name. Handle "smb" case.
9934 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
9935 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9936
9937 * net/tramp-compat.el (top): Require 'shell.
9938
9939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9940 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9941 `tramp-current-host'.
9942 (tramp-get-remote-tmpdir): Remove.
9943
9944 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
9945 `tramp-tmpdir' entries.
9946 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
9947 (tramp-smb-handle-file-attributes): Ignore errors.
9948 (tramp-smb-wait-for-output): Check also for process end.
9949
5d5ac8ec
LMI
99502011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9951
9952 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
9953 when sending QUIT (bug#9312).
9954
8c0f49f0
CY
99552011-09-17 Chong Yidong <cyd@stupidchicken.com>
9956
9957 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
9958 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
9959 occur-mode-display-occurrence.
9960 (occur-edit-mode): Add usage message.
9961 (occur-cease-edit): New command.
9962 (occur-after-change-function): Use text properties to find the
9963 position of the prefix text.
9964 (occur-engine): Set stickiness of prefix text properties.
9965
8f1383f7
GM
99662011-09-17 Glenn Morris <rgm@gnu.org>
9967
9968 * progmodes/etags.el (complete-tag):
9969 Fix call to completion-in-region. (Bug#9526)
9970
744ba0e3
JL
99712011-09-17 Juri Linkov <juri@jurta.org>
9972
9973 * textmodes/ispell.el (ispell-word): Add to the error message
9974 the word, ispell program name and current dictionary (bug#9121).
9975 (ispell-tex-arg-end): Capitalize "error" in the error message.
9976
d9bbf400
AS
99772011-09-17 Andreas Schwab <schwab@linux-m68k.org>
9978
9979 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
9980 check. (Bug#4251)
9981
8da11505
JL
99822011-09-17 Juri Linkov <juri@jurta.org>
9983
9984 * window.el (window-safe-min-height, window-safe-min-width):
9985 Fix typos (followup to bug#9522).
9986
a91adc7e
SJ
99872011-09-17 Sven Joachim <svenjoac@gmx.de>
9988
9989 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
9990
064f328a
EZ
99912011-09-16 Eli Zaretskii <eliz@gnu.org>
9992
9993 * simple.el (line-move): If goal-column is set, move by logical
9994 lines, not by display lines. (Bug#971)
9995 (next-line, previous-line, goal-column, line-move-visual): Doc fix
9996 to reflect the above change.
9997
e69df516
SM
99982011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * image.el (imagemagick-register-types): Use regexp-opt.
10001
cbb0f9ab
CY
100022011-09-15 Chong Yidong <cyd@stupidchicken.com>
10003
10004 * window.el (display-buffer-base-action): Rename from
10005 display-buffer-default-action. Make default value empty.
10006 (display-buffer-overriding-action): Convert to defvar.
10007 (display-buffer-fallback-action): New var.
10008
25322144
CY
100092011-09-15 Chong Yidong <cyd@stupidchicken.com>
10010
10011 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10012 declaration.
10013 (package--add-to-archive-contents): If there is a duplicate entry
10014 with an older version, remove it.
10015 (package-menu-mark-delete, package-menu-mark-install)
10016 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10017 (package-menu-mark-obsolete-for-deletion):
10018 Use package-menu-get-status instead of a regexp search.
25322144
CY
10019 (package-menu-get-status): Use tabulated-list-entry.
10020 (package-menu-mark-upgrades): New command.
d770725a 10021 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10022 (package-menu-execute): Do installation before deletion.
10023 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10024 instead of checking major-mode.
10025 (package-menu--find-upgrades): New function.
10026
7520339c
LMI
100272011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10028
10029 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10030 passwords in the log buffer.
65a046c4
LMI
10031 (smtpmail-process-filter): Update the process marker so that the
10032 "broken by peer" status message is inserted in the right place.
7520339c 10033
d3c30954
SM
100342011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10035
3fe48822
SM
10036 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10037 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10038 bibtex-completion-at-point-function.
10039 (bibtex-completion-at-point-function): Use them.
10040
1b8b3954
SM
10041 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10042
d3c30954
SM
10043 * mpc.el (mpc-constraints-tag-lookup): New function.
10044 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10045 also to browser "album|playlist".
10046
72779976
JL
100472011-09-14 Juri Linkov <juri@jurta.org>
10048
10049 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10050 (isearch-edit-string): Use length of `isearch-string' when
10051 `isearch-fail-pos' returns nil.
10052 (isearch-message): Remove duplicate code and call
10053 `isearch-fail-pos' with arg `t'.
10054
a0bf2bcd
CY
100552011-09-14 Chong Yidong <cyd@stupidchicken.com>
10056
17bb0a2d
CY
10057 * replace.el (occur-mode-goto-occurrence): Don't force using other
10058 window (Bug#9499).
10059
a0bf2bcd
CY
10060 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10061
f678e0b6
MR
100622011-09-14 Martin Rudalics <rudalics@gmx.at>
10063
10064 * window.el (display-buffer-window): Remove.
10065 (display-buffer-record-window): Use help-setup window parameter
10066 instead of variable display-buffer-window.
10067 (display-buffer-function, special-display-buffer-names)
10068 (special-display-function): Mention help-setup parameter instead
10069 of display-buffer-window in doc-string.
d3c30954
SM
10070 * help.el (help-window-setup): New argument help-window.
10071 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10072 Reword some messages.
10073 (with-help-window): Pass window used for displaying the buffer
10074 to help-window-setup. Don't set display-buffer-window.
10075
8e39b2e8
GM
100762011-09-13 Glenn Morris <rgm@gnu.org>
10077
10078 * emacs-lisp/debug.el (debugger-make-xrefs):
10079 Preserve point. (Bug#9462)
10080
85e9c04b
CY
100812011-09-13 Chong Yidong <cyd@stupidchicken.com>
10082
10083 * window.el (window-deletable-p): Use next-frame.
10084
1b36ed6a
MR
100852011-09-13 Martin Rudalics <rudalics@gmx.at>
10086
10087 * window.el (window-auto-delete): Remove.
10088 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10089 dedication and previous buffers.
1b36ed6a
MR
10090 (switch-to-prev-buffer): Don't delete window.
10091 (delete-windows-on): Delete a window's frame if and only if the
10092 window is dedicated.
10093 (replace-buffer-in-windows): Delete buffer's window or frame if
10094 and only if window is dedicated.
10095 (quit-window): Handle quit-restore as before last change.
4d61f28d 10096 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10097
ef8ef9fb
CY
100982011-09-13 Chong Yidong <cyd@stupidchicken.com>
10099
10100 * window.el (window-deletable-p): Never delete the last frame on a
10101 given terminal.
10102
b2cba41e
GM
101032011-09-13 Glenn Morris <rgm@gnu.org>
10104
10105 * help.el (describe-key-briefly): Copy previous standard-output change.
10106
51553db6 101072011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10108
10109 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10110
b7556719
GM
101112011-09-13 Glenn Morris <rgm@gnu.org>
10112
10113 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10114 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10115
64b51947
CY
101162011-09-12 Chong Yidong <cyd@stupidchicken.com>
10117
10118 * dired-aux.el (dired-mark-read-string): Don't return default
10119 value on empty input (Bug#9361).
10120 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10121 Omit initial minibuffer contents.
10122 (dired-do-chmod): Signal an error on empty input.
10123 (dired-mark-read-string): Don't return default on empty input.
10124
10125 * files.el (file-modes-symbolic-to-number): Doc fix.
10126
393a301e
SM
101272011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10128
10129 * international/mule-cmds.el (ucs-completions): Remove.
10130 (read-char-by-name): Use complete-with-action instead; add metadata.
10131
fa5660f9
CY
101322011-09-11 Chong Yidong <cyd@stupidchicken.com>
10133
10134 * window.el (display-buffer--action-function-custom-type)
10135 (display-buffer--action-custom-type): New vars.
10136 (display-buffer-alist, display-buffer-default-action)
10137 (display-buffer-overriding-action): Add defcustom types.
10138
4a592f66
CY
10139 * frame.el (delete-other-frames): Doc fix (Bug#276).
10140
73d56dbd
LMI
101412011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10142
10143 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10144
37ac18a3
CY
101452011-09-11 Chong Yidong <cyd@stupidchicken.com>
10146
10147 Change modes that used same-window-* vars to use switch-to-buffer.
10148
10149 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10150 Use switch-to-buffer.
10151
10152 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10153 (customize-browse, custom-buffer-create-other-window):
10154 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10155
10156 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10157 (Info-prev, Info-up, Info-speedbar-goto-node)
10158 (info-display-manual): Use switch-to-buffer.
10159 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10160
10161 * mail/sendmail.el (mail): Use switch-to-buffer.
10162 (mail-recover): Use switch-to-buffer-other-window.
10163
10164 * cmuscheme.el (run-scheme, switch-to-scheme):
10165 * ielm.el (ielm):
10166 * shell.el (shell):
10167 * net/rlogin.el (rlogin):
10168 * net/telnet.el (telnet, rsh):
10169 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10170
10195bd6
AS
101712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10172
10173 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10174
b322f63a
LMI
101752011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10176
39d7fed6
LMI
10177 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10178 so don't mention it (bug#9301).
ba5a81f1 10179 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10180
ee0e9f11
LMI
10181 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10182 match `x', `w32' and `ns', like the manual says (bug#9029).
10183
0b1c89c1 10184 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10185 (process-kill-buffer-query-function): Mention the buffer name in
10186 the query.
0b1c89c1 10187
77549ea8
LMI
10188 * image-mode.el (image-next-line): The line parameter is mandatory
10189 (bug#9258).
10190
803ef892
LMI
10191 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10192 which can be useful (bug#9301).
10193
12980837
LMI
10194 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10195
91054f8f
LMI
10196 * subr.el (match-string): Mention that the current buffer should
10197 be the same as the search was done in (bug#9282).
10198
b322f63a
LMI
10199 * facemenu.el: Disable the remove-* commands if the mark isn't
10200 active (bug#9162).
10201
3199b96f
CY
102022011-09-10 Chong Yidong <cyd@stupidchicken.com>
10203
10204 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10205 of display-buffer.
10206 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10207
10208 * replace.el (occur-mode-goto-occurrence)
10209 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10210 and display-buffer.
10211
10212 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10213 display-buffer.
10214
10215 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10216 special-display and same-window variables.
10217 (mail-other-window): Use switch-to-buffer-other-window.
10218 (mail-other-frame): USe switch-to-buffer-other-frame.
10219
393a301e
SM
10220 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10221 Use display-buffer-other-frame.
3199b96f
CY
10222 (gdb-display-gdb-buffer): Use pop-to-buffer.
10223
10224 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10225
10226 * progmodes/python.el: Don't set same-window-buffer-names.
10227
10228 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10229
10230 * window.el (display-buffer-alist): Add *Python*.
10231
8319e0bf
CY
102322011-09-10 Chong Yidong <cyd@stupidchicken.com>
10233
10234 * window.el (display-buffer-alist): Add entry for buffers
10235 previously handled same-window-*.
10236 (display-buffer-alist, display-buffer-default-action)
10237 (display-buffer-overriding-action): Mark as risky.
10238 (display-buffer-alist): Document action function changes.
10239 (display-buffer--same-window-action)
10240 (display-buffer--other-frame-action): New variables.
10241 (switch-to-buffer, display-buffer-other-frame): Use them.
10242 (display-buffer): Rename reuse-frame entry to reusable-frames.
10243 (display-buffer-reuse-selected-window): Function deleted.
10244 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10245 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10246 (display-buffer-special): New function.
10247 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10248 display-buffer-reuse-or-pop-window. Split off special-display
10249 part into display-buffer-special.
10250 (display-buffer-use-some-window): Don't perform any special
10251 pop-up-frames handling.
10252 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10253 (display-buffer--maybe-same-window): Rename from
0d3ff375 10254 display-buffer-maybe-same-window.
8319e0bf 10255
919a69aa
CY
10256 * info.el: Don't set same-window-regexps.
10257 (info-setup): New function.
10258 (info-other-window, info): Call it.
10259
10260 * cus-edit.el: Don't set same-window-regexps.
10261 (customize-group): New argument.
10262 (customize-group-other-window): Use it.
10263 (customize-face, customize-face-other-window): Likewise.
10264 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10265
8319e0bf
CY
10266 * net/rlogin.el:
10267 * net/telnet.el:
10268 * progmodes/gud.el: Don't set same-window-regexps.
10269
10270 * cmuscheme.el:
10271 * ielm.el:
10272 * shell.el:
10273 * mail/sendmail.el:
10274 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10275
25173000
JL
102762011-09-10 Juri Linkov <juri@jurta.org>
10277
10278 * isearch.el (isearch-edit-string): Remove obsolete mention of
10279 `C-w' (`isearch-yank-word-or-char') from docstring.
10280 (isearch-query-replace): Fix typo in docstring (bug#9466).
10281
056e44ef
JL
102822011-09-10 Juri Linkov <juri@jurta.org>
10283
10284 * paren.el (show-paren-function): Don't show escaped parens.
10285 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10286
c3760c17
EZ
102872011-09-10 Eli Zaretskii <eliz@gnu.org>
10288
10289 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10290 (mm-default-file-encoding): Remove autoload forms, they are
10291 replaced with autoload cookies in mml.el and mm-encode.el.
10292 (mail-add-attachment): New command.
10293 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10294 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10295 the doc string.
10296 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10297
fece895e
RT
102982011-09-10 Reuben Thomas <rrt@sc3d.org>
10299
e69df516
SM
10300 * simple.el (count-words-region): Use buffer if there's no region
10301 (bug#9429).
fece895e 10302
5e68ce4a
JL
103032011-09-09 Juri Linkov <juri@jurta.org>
10304
10305 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10306 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10307 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10308
0a6b9622
AM
103092011-09-09 Alan Mackenzie <acm@muc.de>
10310
10311 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10312 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10313
14a29deb
EZ
103142011-09-09 Eli Zaretskii <eliz@gnu.org>
10315
10316 Fix for Savannah bug#9392.
10317 * simple.el (mail-encode-mml): New defvar.
10318
10319 * mail/rmail.el (mail-encode-mml): Add a defvar.
10320 (rmail-enable-mime-composing): Default to t.
10321 (rmail-forward): Use MIME method of forwarding only if both
10322 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10323 Set mail-encode-mml non-nil if the MIME method was used.
10324
10325 * mail/sendmail.el (mml-to-mime): Add autoload form.
10326 (mail-encode-mml): Add a defvar.
10327 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10328 to nil.
10329 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10330 message through mml-to-mime, and reset mail-encode-mml to nil.
10331
28c45130
GM
103322011-09-09 Glenn Morris <rgm@gnu.org>
10333
10334 * woman.el (woman-if-body): When processing an .el block,
10335 do not delete the next .el block as well. (Bug#9447)
69f4b618 10336 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10337
9b1c252e
MR
103382011-09-08 Martin Rudalics <rudalics@gmx.at>
10339
10340 * window.el (window-deletable-p): Make sure window is live before
10341 invoking window-prev-buffers.
10342
567457e3
LL
103432011-09-08 Leo Liu <sdl.web@gmail.com>
10344
10345 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10346
97f05794
JL
103472011-09-08 Juri Linkov <juri@jurta.org>
10348
10349 * progmodes/compile.el (compilation-environment): Make it
10350 a defcustom (bug#8340).
10351
8b0874b5
MR
103522011-09-08 Martin Rudalics <rudalics@gmx.at>
10353
10354 * window.el (frame-auto-delete): Rename to window-auto-delete.
10355 Make it control auto-deletion of windows and/or frames.
10356 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10357 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10358 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10359 Rewrite handling of case when window/frame can be deleted.
10360 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10361 argument t. (Bug#9456)
8b0874b5 10362
4feb6e73
CY
103632011-09-07 Chong Yidong <cyd@stupidchicken.com>
10364
10365 * help-mode.el (help-mode): Restore autoload.
10366
91ab9c13
JL
103672011-09-07 Juri Linkov <juri@jurta.org>
10368
10369 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10370 `compilation-environment'. Set buffer-local
10371 `compilation-environment' to `thisenv' later after (funcall mode).
10372 (Bug#8340)
10373
10374 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10375 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10376 instead of replacing its value. (Bug#8340)
10377
0527e251
JL
103782011-09-07 Juri Linkov <juri@jurta.org>
10379
10380 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10381 based on text properties put by `grep-filter' instead of matching
10382 escape sequences.
10383 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10384 to the value of `grep-error-screen-columns' (bug#9438).
10385
249f792c
JL
103862011-09-07 Juri Linkov <juri@jurta.org>
10387
10388 * simple.el (next-error-highlight, next-error-highlight-no-select):
10389 Doc fix (bug#9432).
10390
ff7271b9
OT
103912011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10392
10393 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10394 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10395
183fc730
LL
103962011-09-07 Leo Liu <sdl.web@gmail.com>
10397
10398 * net/rcirc.el (rcirc-mode): Conditionally initialize
10399 rcirc-input-ring.
10400
77694924
SM
104012011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10402
10403 * emacs-lisp/find-func.el (find-function-C-source): Only set
10404 find-function-C-source-directory after checking that we found a source
10405 file there (bug#9440).
10406
d809b8eb
AM
104072011-09-06 Alan Mackenzie <acm@muc.de>
10408
10409 * isearch.el (isearch-other-meta-char): Wherever a key list is
10410 unread, "unread" the prefix arg, too. This fixes bug #8901.
10411
453de99f
OG
104122011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10413
10414 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10415
90439906
JL
104162011-09-05 Juri Linkov <juri@jurta.org>
10417
10418 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10419
f62bd846
JL
104202011-09-05 Juri Linkov <juri@jurta.org>
10421
10422 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10423 keeping point where processing of grep matches begins, and
10424 continue to delete remaining escape sequences from the same point.
10425 (grep-filter): Make leading zero optional in "0?1;31m" because
10426 git-grep emits "\033[1;31m" escape sequences unlike expected
10427 "\033[01;31m" as GNU Grep does (bug#9408).
10428 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10429
045820ec
JL
104302011-09-05 Juri Linkov <juri@jurta.org>
10431
10432 * subr.el (y-or-n-p): Capitalize "yes".
10433
f5e29b9b
MA
104342011-09-04 Michael Albinus <michael.albinus@gmx.de>
10435
10436 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10437 `tramp-cache-unload-hook' where appropriate.
10438 (tramp-methods): Rename `tramp-remote-sh' to
10439 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10440 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10441
10442 * net/tramp-sh.el (top): Don't require 'shell.
10443 (tramp-methods): Add `tramp-remote-shell' and
10444 `tramp-remote-shell-args' entries.
10445 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10446 (tramp-sh-handle-shell-command): Remove.
10447 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10448 Use `tramp-remote-shell'.
10449
2784c434
CY
104502011-09-03 Chong Yidong <cyd@stupidchicken.com>
10451
393a301e 10452 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10453 (sendmail-query-once): Save directly to send-mail-function.
10454 Update message-send-mail-function too.
10455
10456 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10457
464cdf56
CS
104582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10459
10460 * progmodes/python.el (python-mode-map): Use correct function to
10461 start python interpreter from menu-bar (as reported by Geert
10462 Kloosterman).
10463 (inferior-python-mode-map): Fix typo.
393a301e 10464 (python-shell-map): Remove.
464cdf56 10465
d37e5c87
DD
104662011-09-03 Deniz Dogan <deniz@dogan.se>
10467
10468 * net/rcirc.el (rcirc-print): Simplify code for
10469 rcirc-scroll-show-maximum-output. There is no need to walk
10470 through all windows to find the right one.
10471
f3ada0ee
CS
104722011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10473
10474 * help.el (help-return-method): Doc fix.
10475
1f3c99ca
MR
104762011-09-03 Martin Rudalics <rudalics@gmx.at>
10477
10478 * window.el (window-deletable-p): Don't return a non-nil value
10479 when there's a buffer that was shown in the window before.
10480 (Bug#9419)
393a301e
SM
10481 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10482 Set window's previous buffers to nil.
1f3c99ca 10483
a3cf097f
EZ
104842011-09-03 Eli Zaretskii <eliz@gnu.org>
10485
10486 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10487 newline before and after the tag line, so it doesn't interfere
10488 with determining the paragraph direction of bidirectional text.
10489
3d03de90
LL
104902011-09-03 Leo Liu <sdl.web@gmail.com>
10491
10492 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10493
c3313451
CY
104942011-09-02 Chong Yidong <cyd@stupidchicken.com>
10495
393a301e 10496 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10497 (pop-to-buffer): Change interactive spec. Pass second argument
10498 directly to display-buffer.
10499 (display-buffer): Fix interactive spec. Use functionp to
10500 distinguish between a function and a list of functions.
10501
10502 * abbrev.el (edit-abbrevs):
10503 * arc-mode.el (archive-extract):
10504 * autoinsert.el (auto-insert):
10505 * bookmark.el (bookmark-bmenu-list):
10506 * files.el (find-file):
10507 * view.el (view-buffer):
10508 * progmodes/compile.el (compilation-goto-locus):
10509 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10510
89894cd8
CY
105112011-09-02 Chong Yidong <cyd@stupidchicken.com>
10512
10513 * window.el (display-buffer-alist): Doc fix.
10514 (display-buffer): Add docstring. Don't treat
10515 display-buffer-default specially.
10516 (display-buffer-reuse-selected-window)
10517 (display-buffer-same-window, display-buffer-maybe-same-window)
10518 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10519 (display-buffer-pop-up-window)
10520 (display-buffer-reuse-or-pop-window)
10521 (display-buffer-use-some-window): New functions.
10522 (display-buffer-default-action): Use them.
393a301e 10523 (display-buffer-default): Delete.
89894cd8
CY
10524 (pop-to-buffer-1): Fix choice of actions.
10525
ae0bc9fb
SM
105262011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * minibuffer.el (completion--insert-strings): Don't get confused by
10529 completion entries that end with an LF char.
10530
e9d90883
EZ
105312011-09-01 Eli Zaretskii <eliz@gnu.org>
10532
10533 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10534
437014c8
CY
105352011-09-01 Chong Yidong <cyd@stupidchicken.com>
10536
10537 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10538 (display-buffer-same-window, display-buffer-other-window):
10539 New functions.
437014c8
CY
10540 (pop-to-buffer-1): New function. Use the above.
10541 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10542 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10543
10544 * view.el (view-buffer-other-window, view-buffer-other-frame):
10545 Just use pop-to-buffer.
10546
a5e063d5
TV
105472011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10548
10549 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10550
793d32bb
WH
105512011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10552
10553 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10554
d65e4c15
RS
105552011-08-31 Richard Stallman <rms@gnu.org>
10556
10557 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10558 of the separation of rmail-view-buffer from rmail-buffer.
10559 If you say no to "replace original", the decrypt is in the
10560 view buffer. If you say yes, the decrypt goes into the
10561 rmail buffer also.
10562
f818cd2a
MR
105632011-08-31 Martin Rudalics <rudalics@gmx.at>
10564
10565 * window.el (display-buffer-window): Rewrite doc-string.
10566 (display-buffer-record-window): New function.
10567 (display-buffer-macro-specifiers)
10568 (display-buffer-even-window-sizes, display-buffer-set-height)
10569 (display-buffer-set-width, display-buffer-in-window)
10570 (display-buffer-reuse-window, display-buffer-split-specifiers)
10571 (display-buffer-side-specifiers, display-buffer-split-window-1)
10572 (display-buffer-split-window, display-buffer-split-atom-window)
10573 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10574 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10575 (display-buffer-other-window-means-other-frame)
10576 (display-buffer-normalize-special)
10577 (display-buffer-normalize-default)
10578 (display-buffer-normalize-argument)
10579 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10580 (display-buffer-normalize-specifiers, display-buffer-frame)
10581 (display-buffer-same-window, display-buffer-same-frame)
10582 (display-buffer-other-window)
10583 (display-buffer-same-frame-other-window)
10584 (display-buffer-other-frame, pop-to-buffer-same-window)
10585 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10586 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10587 (switch-to-buffer-same-frame)
10588 (switch-to-buffer-other-window-same-frame)
10589 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10590 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10591 (display-buffer-alist-set): Remove.
10592 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10593 (special-display-regexps, special-display-function):
10594 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10595 parameter.
10596 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10597 (special-display-frame-alist, special-display-popup-frame)
10598 (same-window-buffer-names, same-window-regexps, same-window-p)
10599 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10600 (split-window-preferred-function, split-height-threshold)
10601 (split-width-threshold, window-splittable-p)
10602 (split-window-sensibly, window--try-to-split-window)
10603 (window--frame-usable-p, even-window-heights)
10604 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10605 (window--display-buffer-2, display-buffer-other-frame):
10606 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10607 (display-buffer-default, display-buffer-assq-regexp): New functions.
10608 (display-buffer-alist): Rewrite doc-string.
10609 (display-buffer-default-action)
10610 (display-buffer-overriding-action): New variables.
10611 (display-buffer, switch-to-buffer): Rewrite.
10612 (pop-to-buffer): Restore Emacs 23 behavior but use
10613 window-normalize-buffer-to-display.
10614 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10615 Restore Emacs 23 behavior but use
10616 window-normalize-buffer-to-switch-to.
10617 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10618 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10619 Rewrite using Emacs 23 options.
f818cd2a 10620
5bc3b51d
MA
106212011-08-31 Michael Albinus <michael.albinus@gmx.de>
10622
10623 * net/tramp.el (tramp-root-regexp): Remove.
10624 (tramp-completion-file-name-regexp-unified)
10625 (tramp-completion-file-name-regexp-separate)
10626 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10627 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10628 (tramp-drop-volume-letter): Simplify definition.
10629 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10630
b1a4f8e1
SM
106312011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10634 (bug#9356).
10635
5664fa7b
RT
106362011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10637
b1a4f8e1 10638 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10639
9a45d6c3
JL
106402011-08-29 Juri Linkov <juri@jurta.org>
10641
10642 * isearch.el (isearch-done): Don't display message "Mark saved"
10643 when arg `edit' is non-nil to prevent its flicker in the echo area.
10644
fb87e0fb
CY
106452011-08-28 Chong Yidong <cyd@stupidchicken.com>
10646
10647 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10648 obsolete packages for deletion.
10649
09ac1c2a
CS
106502011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10651
10652 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 10653 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
10654 view-mode from help-mode.
10655 (help-xref-override-view-map): Remove.
10656 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10657 view-mode is not used anymore.
10658
7a1ff57f
CY
106592011-08-28 Chong Yidong <cyd@stupidchicken.com>
10660
10661 * server.el (server-port): Doc fix.
10662
b9696605
CY
10663 * cus-theme.el (custom-theme-choose-mode): Inherit from
10664 special-mode (Bug#9124).
10665 (custom-theme-choose-mode-map): Add special-mode to parent.
10666
ef8cdf8c
AM
106672011-08-28 Alan Mackenzie <acm@muc.de>
10668
10669 * progmodes/cc-fonts.el
10670 (c-make-font-lock-BO-decl-search-function): New function.
10671 (c-basic-matchers-after - "Fontify the clauses after various
10672 keywords"): Extract the three keyword lists for the 3 erroneous
10673 constructs from the list of four, and use the new function above
10674 in place of an old one.
10675
27de4e20
DD
106762011-08-28 Deniz Dogan <deniz@dogan.se>
10677
10678 * net/rcirc.el (rcirc-insert-prev-input)
10679 (rcirc-insert-next-input): Remove unused argument.
10680
356a3681
SM
106812011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10684
3fc9b218
AM
106852011-08-27 Alan Mackenzie <acm@muc.de>
10686
10687 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10688 handle function pointer parameters properly.
10689
538a061c
MR
106902011-08-27 Martin Rudalics <rudalics@gmx.at>
10691
10692 * window.el (display-buffer-reuse-window): Fix case where
10693 selected window was reused with non-nil OTHER-WINDOW argument.
10694 (Bug#9381)
10695
35b1c40c
DD
106962011-08-27 Deniz Dogan <deniz@dogan.se>
10697
10698 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10699 oftc's NickServ messages.
10700
2f6a3e79
GM
107012011-08-27 Glenn Morris <rgm@gnu.org>
10702
10703 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10704
7254299e
CY
107052011-08-26 Chong Yidong <cyd@stupidchicken.com>
10706
10707 * emacs-lisp/package.el (package-install): Call package-initialize
10708 if called interactively.
10709
f8ccf167
LL
107102011-08-26 Leo Liu <sdl.web@gmail.com>
10711
10712 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10713
3e8cd5ce
JL
107142011-08-25 Juri Linkov <juri@jurta.org>
10715
10716 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10717 `search-whitespace-regexp' (bug#9364).
10718
93eb7113
JL
107192011-08-25 Juri Linkov <juri@jurta.org>
10720
10721 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10722 `regexp-search-ring' to their global values to protect from
10723 updating by `read-from-minibuffer' (bug#9185).
10724
f65d1611
JL
107252011-08-25 Juri Linkov <juri@jurta.org>
10726
10727 * textmodes/ispell.el (ispell-command-loop): Add newline
10728 at the end of the "Use option `i'..." line.
10729
f1cf7a31
JL
107302011-08-25 Juri Linkov <juri@jurta.org>
10731
10732 * battery.el (display-battery-mode): If `battery-status-function'
10733 or `battery-mode-line-format' is nil, display the message and set
10734 `display-battery-mode' to nil (bug#9363).
10735
0c95fcf7
EZ
107362011-08-25 Eli Zaretskii <eliz@gnu.org>
10737
10738 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10739 bidi-string-mark-left-to-right; they are unnecessary now.
10740
a2ebe600
DD
107412011-08-25 Deniz Dogan <deniz@dogan.se>
10742
10743 * net/quickurl.el: Documentation typo fixes.
10744
e4ed06f1
CY
107452011-08-25 Chong Yidong <cyd@stupidchicken.com>
10746
10747 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10748
e5f1c99e
GM
107492011-08-25 Glenn Morris <rgm@gnu.org>
10750
b2948976
GM
10751 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10752
e5f1c99e
GM
10753 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10754 (smtpmail-via-smtp): Handle nil response from smtp.
10755
f22f4808
JL
107562011-08-24 Juri Linkov <juri@jurta.org>
10757
10758 * proced.el (proced-marked): Inherit from `error' instead of
10759 `font-lock-warning-face'.
10760
10761 * ibuffer.el (ibuffer-marked-face): Change default face from
10762 `font-lock-warning-face' to `warning'.
10763 (ibuffer-deletion-face): Change default face from
10764 `font-lock-type-face' to `error'.
10765
10766 * battery.el (battery-update): Use the face `error' instead of
10767 `font-lock-warning-face' (bug#6117).
10768
6a93965e
JL
107692011-08-24 Juri Linkov <juri@jurta.org>
10770
10771 * faces.el (success): Change face color from "Green3" to
10772 "ForestGreen" on light background (bug#9353).
10773
1ed43b09
CY
107742011-08-24 Chong Yidong <cyd@stupidchicken.com>
10775
5664fa7b
RT
10776 * window.el (quit-window): Rename from quit-restore-window.
10777 Use same arglist as old quit-window.
1ed43b09
CY
10778 (frame-auto-delete): Doc fix.
10779
10780 * view.el (view-mode-exit): Use quit-window.
10781
11dcdbb2
JL
107822011-08-24 Juri Linkov <juri@jurta.org>
10783
10784 * isearch.el (isearch-ring-adjust1): Start visiting previous
10785 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10786 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10787 for empty search string (when the last search string is reused
10788 automatically) to adjust the isearch ring to the last element and
10789 prepare the correct index for further M-p commands (bug#9185).
10790
de62b4df
KH
107912011-08-24 Kenichi Handa <handa@m17n.org>
10792
10793 * international/ucs-normalize.el: If decomposition property of
10794 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10795 nil.
10796 (nfd, nfkd): Likewise.
10797
963b492b
SM
107982011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10801 from process filters aren't reliably transmitted to the surrounding
10802 accept-process-output.
10803 (mpc-proc-check): New function.
10804 (mpc-proc-sync): Use it (bug#8293)
10805
93b6b5e1
SM
108062011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10809 Add compatibility functions (bug#9313).
10810
bca633fb
EZ
108112011-08-23 Eli Zaretskii <eliz@gnu.org>
10812
b177498a
EZ
10813 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10814
6df6ae42 10815 * international/uni-bidi.el: Regenerate.
bca633fb 10816
0902a04e
KH
108172011-08-23 Kenichi Handa <handa@m17n.org>
10818
10819 * international/charprop.el:
10820 * international/uni-bidi.el:
10821 * international/uni-category.el:
10822 * international/uni-combining.el:
10823 * international/uni-comment.el:
10824 * international/uni-decimal.el:
10825 * international/uni-decomposition.el:
10826 * international/uni-digit.el:
10827 * international/uni-lowercase.el:
10828 * international/uni-mirrored.el:
10829 * international/uni-name.el:
10830 * international/uni-numeric.el:
10831 * international/uni-old-name.el:
10832 * international/uni-titlecase.el:
10833 * international/uni-uppercase.el: Regenerate.
10834
3bbf23bc
MR
108352011-08-23 Martin Rudalics <rudalics@gmx.at>
10836
10837 * help.el (help-window-setup): Fix message displayed when other
10838 window is reused. (Bug#9341)
10839
b3fd59bd
SM
108402011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10841
1802e444
SM
10842 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10843 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10844
b3fd59bd
SM
10845 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10846 Mark obsolete.
10847 * shell.el (shell-parse-pcomplete-arguments): New function.
10848 (shell-completion-vars): Use it instead (bug#9160).
10849
4eb61348
SM
108502011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10851
867cab74
SM
10852 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10853 strings and comments (bug#9333).
10854
4eb61348
SM
10855 * emacs-lisp/debug.el (debug-arglist): New function.
10856 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10857 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10858
262a1439
JL
108592011-08-22 Juri Linkov <juri@jurta.org>
10860
56ee679c
JL
10861 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10862 Revert regexp that highlights output switches to its old
10863 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10864
262a1439
JL
10865 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10866 to check for empty output (bug#9226).
10867
f13f86fb
CY
108682011-08-22 Chong Yidong <cyd@stupidchicken.com>
10869
10870 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10871 symbol-constituent as the default, as that stops font-lock from
10872 working properly (Bug#8843).
10873
c65c9622
LMI
108742011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10875
10876 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10877 `coding-system-for-*' around the process open call to avoid
10878 auth-source side effects.
e7f2c178 10879 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
10880 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10881 probe hangs.
c65c9622 10882
23a8a5ab
CY
108832011-08-21 Chong Yidong <cyd@stupidchicken.com>
10884
ff98b2dd
CY
10885 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10886
23a8a5ab
CY
10887 * emacs-lisp/find-func.el (find-function-noselect): New arg
10888 lisp-only.
10889
10890 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10891 signal an error for built-in functions (Bug#6664).
10892
f5e3c598
LMI
108932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10894
10895 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10896 (smtpmail-try-auth-methods): Use it.
10897
a3f2468a
CY
108982011-08-21 Chong Yidong <cyd@stupidchicken.com>
10899
2c34e8da
CY
10900 * font-lock.el (font-lock-fontify-region)
10901 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10902 (font-lock-default-unfontify-buffer)
10903 (font-lock-default-fontify-region)
10904 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10905
b3fd59bd
SM
10906 * progmodes/compile.el (compilation-error-properties):
10907 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
10908 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10909 `ant' regexp.
ee31aabc 10910
a3f2468a
CY
10911 * net/browse-url.el (browse-url-firefox): Don't call
10912 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10913
8e999f70
GM
109142011-08-20 Glenn Morris <rgm@gnu.org>
10915
c21a496a
GM
10916 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10917
59ee0542
GM
10918 * tutorial.el (tutorial--default-keys): Update some default bindings.
10919
8e999f70
GM
10920 * files.el (hack-local-variables): Fully ignore case for "mode:".
10921
e3715033
AM
109222011-08-20 Alan Mackenzie <acm@muc.de>
10923
10924 Resolve invalid use of a regexp in regexp-opt.
10925
4d61f28d
JB
10926 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10927 detection for a java annotation.
e3715033 10928
4d61f28d 10929 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
10930 detection for a java annotation.
10931
4d61f28d
JB
10932 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10933 handling for java.
e3715033
AM
10934 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10935
04ed2e9c
CY
109362011-08-20 Chong Yidong <cyd@stupidchicken.com>
10937
10938 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10939 (Bug#9274).
10940
826cee64
AM
109412011-08-20 Alan Mackenzie <acm@muc.de>
10942
58179cce 10943 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
10944 such a construct. Mainly for when jit-lock etc. starts a chunk
10945 here.
10946
58179cce 10947 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 10948 variable.
58179cce 10949 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
10950 c-make-font-lock-search-function.
10951 (c-make-font-lock-search-function): Use the above function.
10952 (c-make-font-lock-context-search-function): New function.
10953 (c-cpp-matchers): Enhance the preprocessor expression case with
10954 the above function
10955 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
10956 which takes an expression.
10957
10958 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
10959
13009bd8
MR
109602011-08-20 Martin Rudalics <rudalics@gmx.at>
10961
10962 * window.el (display-buffer-reuse-window)
10963 (display-buffer-pop-up-window): Don't reuse or split a side
10964 window.
10965
9234ff7f
GM
109662011-08-19 Glenn Morris <rgm@gnu.org>
10967
10968 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 10969 Downcase "Mode:". (Bug#9331)
9234ff7f 10970
f635daa1
CY
109712011-08-18 Chong Yidong <cyd@stupidchicken.com>
10972
10973 * international/characters.el: Add L and R categories.
10974
10975 * subr.el (bidi-string-mark-left-to-right): Rename from
10976 string-mark-left-to-right. Use category search.
10977
10978 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
10979
bc987f8b
JL
109802011-08-18 Juri Linkov <juri@jurta.org>
10981
10982 * faces.el (error, warning, success): New faces with definitions
10983 copied from old default values of `font-lock-warning-face',
10984 `compilation-warning', `compilation-info' (bug#6117).
10985
10986 * font-lock.el (font-lock-warning-face): Inherit from `error'.
10987
10988 * progmodes/compile.el (compilation-error): Inherit from `error'.
10989 (compilation-warning): Inherit from `warning'.
10990 (compilation-info): Inherit from `success'.
10991
10992 * dired.el (dired-marked): Inherit from `warning'.
10993 (dired-flagged): Inherit from `error'.
10994
57173b96
LMI
109952011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10996
3e79eb87
LMI
10997 * mail/smtpmail.el (auth-source): Require to avoid problems with
10998 binding variables (bug#9298). Also clean up some unused
10999 autoloads.
11000
b3fd59bd
SM
11001 * net/network-stream.el (network-stream-open-starttls):
11002 Support using starttls.el without using gnutls-cli.
57173b96 11003
02b404de
JL
110042011-08-17 Juri Linkov <juri@jurta.org>
11005
11006 * progmodes/grep.el (rgrep): Handle the case when
11007 `grep-find-command' is a cons cell (bug#9278).
11008
8c9177f2
MR
110092011-08-17 Martin Rudalics <rudalics@gmx.at>
11010
11011 * window.el (display-buffer-pop-up-frame): Run frame creation
11012 function with BUFFER current (as special-display-popup-frame
11013 does). Reported by Drew Adams.
11014
3644a0ab
DU
110152011-08-17 Daiki Ueno <ueno@unixuser.org>
11016
11017 * epa-mail.el: Simplify GnuPG group expansion using
11018 epg-expand-group.
11019 (epa-mail-group-alist, epa-mail-group-modtime)
11020 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11021 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11022 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11023 Remove.
11024
5e617bc2 110252011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11026
11027 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11028
9c4aeabf
AM
110292011-08-16 Alan Mackenzie <acm@muc.de>
11030
11031 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11032 Correct, to avoid the inside of macros.
11033
3a99bf64
RS
110342011-08-16 Richard Stallman <rms@gnu.org>
11035
04963aa8
RS
11036 * epa-mail.el: Handle GnuPG group definitions.
11037 (epa-mail-group-alist, epa-mail-group-modtime)
11038 (epa-mail-gnupg-conf-file): New variables.
11039 (epa-mail-parse-groups, epa-mail-sync-groups)
11040 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11041 (epa-mail-expand-recipients): New functions.
11042 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11043
177549d0
RS
11044 * mail/rmail.el (rmail-epa-decrypt): New command.
11045
fe38beef
RS
11046 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11047 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11048 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11049 (epa-decrypt-armor-in-region): Make error message clearer.
11050
934eacb9
SM
110512011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11052
11053 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11054 and "a2b" to "ab" for `prefix'.
11055
d024fb4e
CY
110562011-08-14 Chong Yidong <cyd@stupidchicken.com>
11057
11058 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11059 filter groups.
de148fee
CY
11060 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11061 Fourquet (Bug#8804).
d024fb4e 11062
62f1ca49
JB
110632011-08-12 Juanma Barranquero <lekktu@gmail.com>
11064
11065 * startup.el (argi): Declare as global variable (bug#9275).
11066
9ccaaa4b
CY
110672011-08-12 Chong Yidong <cyd@stupidchicken.com>
11068
11069 * subr.el (string-mark-left-to-right): Search the entire string
11070 for RTL script, not just the terminating character. Doc fix.
11071
a3dae87a
SM
110722011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11073
6cd18349
SM
11074 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11075 New function.
11076 (js--regexp-literal, js-syntax-propertize-function): Remove.
11077 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11078 (js-mode-map): Don't rebind electric keys.
11079 (js-insert-and-indent): Remove.
11080 (js-mode): Setup electric-layout and electric-indent instead.
11081
a3dae87a
SM
11082 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11083
9d5cb631
DU
110842011-08-12 Daiki Ueno <ueno@unixuser.org>
11085
11086 * epa.el (epa-progress-callback-function): Fix the logic of
11087 displaying progress.
11088 * epa-file.el (epa-file-insert-file-contents): Make progress
11089 display more user-friendly.
11090 (epa-file-write-region): Ditto.
11091
3e26a4a2
CY
110922011-08-10 Chong Yidong <cyd@stupidchicken.com>
11093
11094 * subr.el (string-mark-left-to-right): New function.
11095
11096 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11097 Use string-mark-left-to-right.
11098 (list-buffers-noselect): Caller changed.
11099
a3dae87a
SM
11100 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11101 Use string-mark-left-to-right.
3e26a4a2
CY
11102 (tabulated-list-print): Recenter after moving point.
11103
ac8cf6e6
JL
111042011-08-10 Juri Linkov <juri@jurta.org>
11105
11106 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11107 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11108 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11109
8d96c9a4
CY
111102011-08-09 Chong Yidong <cyd@stupidchicken.com>
11111
11112 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11113 (Bug#7554).
11114
7be1c708 111152011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11116
11117 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11118 character. (Bug#6594)
11119
37e11a63
CY
111202011-08-08 Chong Yidong <cyd@stupidchicken.com>
11121
839dde57
CY
11122 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11123 (image-dired--with-db-file): New macro.
11124 (image-dired-write-tags, image-dired-remove-tag)
11125 (image-dired-create-gallery-lists, image-dired-write-comments)
11126 (image-dired-get-comment, image-dired-mark-tagged-files)
11127 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11128 (image-dired-gallery-generate): Use insert-file-contents.
11129
37e11a63
CY
11130 * time.el (display-time-world-list, display-time-world-display):
11131 * time-stamp.el (time-stamp-string):
11132 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11133 set-time-zone-rule (Bug#7337).
11134
0b4946c4
DU
111352011-08-08 Daiki Ueno <ueno@unixuser.org>
11136
11137 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11138 (epg-error-to-string, epg-errors-to-string): New function.
11139 (epg-wait-for-completion): Reverse errors list.
11140 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11141 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11142 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11143 (epg-sign-keys, epg-generate-key-from-file)
11144 (epg-generate-key-from-string): Format errors by using
11145 epg-errors-to-string (bug#9255).
11146 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11147
75bfc667
JL
111482011-08-07 Juri Linkov <juri@jurta.org>
11149
11150 * faces.el (list-faces-display): Remove extra angle bracket
11151 from `help-mode-map'.
11152
11153 * info.el (Info-history-toc-nodes): Doc fix.
11154
11155 * longlines.el (longlines-mode): Doc fix.
11156
673e08bb
SM
111572011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11158
4640dd88
SM
11159 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11160 of statements and in a few more cases (bug#9183).
11161
673e08bb
SM
11162 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11163 New functions.
11164 (cl-transform-lambda): Use them (bug#9239).
11165
89b3f019
MR
111662011-08-05 Martin Rudalics <rudalics@gmx.at>
11167
11168 * window.el (display-buffer-same-window)
11169 (display-buffer-same-frame, display-buffer-other-window)
11170 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11171 (pop-to-buffer-other-window)
11172 (pop-to-buffer-same-frame-other-window)
11173 (pop-to-buffer-other-frame): Make them defuns.
11174 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11175
640c8776
SM
111762011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * subr.el (make-composed-keymap): Move from C. Change calling
11179 convention, and improve docstring to bring attention to a subtle point.
11180 * minibuffer.el (completing-read-default): Adjust accordingly.
11181
63648a95
MA
111822011-08-03 Michael Albinus <michael.albinus@gmx.de>
11183
11184 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11185 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11186
11187 * net/trampver.el: Update release number.
11188
b796c9b7
SM
111892011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11192 "in" (bug#9190).
11193
2239d7d5
LMI
111942011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11195
e07dd7c3
LMI
11196 * mail/sendmail.el (sendmail-query-once): Restore the current
11197 buffer after querying (bug#9074).
11198
0e6a2bd7
LMI
11199 * dired.el (dired-flagged): Use different faces for marked and
11200 flagged files (bug#6117).
11201
ce887515
LMI
11202 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11203 (bug#4433).
11204
92f2affc
LMI
11205 * ido.el (ido-mode): Switch off the message if called
11206 non-interactively.
11207
57d5aff0
LMI
11208 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11209 before 587, since it appears that that's more likely to work for
11210 more people.
11211
98cd6c18 11212 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11213 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11214 exist.
11215
b96dec83
LMI
11216 * info.el: Remove the `Info-beginning-of-buffer' function
11217 (bug#8325).
11218
b796c9b7
SM
11219 * net/network-stream.el (network-stream-open-starttls):
11220 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11221
d90e2ea0
MR
112222011-08-01 Martin Rudalics <rudalics@gmx.at>
11223
11224 * window.el (display-buffer-in-window): Don't set dedicated status
11225 of window here (Bug#9215).
11226 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11227 (display-buffer-pop-up-side-window)
b796c9b7 11228 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11229
cca09170
SM
112302011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11233 before binding generated-autoload-file.
11234
027b979c
DD
112352011-08-01 Deniz Dogan <deniz@dogan.se>
11236
11237 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11238
3c7ee4f3
MA
112392011-07-30 Michael Albinus <michael.albinus@gmx.de>
11240
11241 Sync with Tramp 2.2.2.
11242
11243 * net/trampver.el: Update release number.
11244
2cc8e51a
JL
112452011-07-30 Juri Linkov <juri@jurta.org>
11246
11247 * dired-aux.el (dired-touch-initial): Remove function.
11248 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11249 current time, and `default' to the last modification time of the
11250 current marked file (bug#6887).
11251
a514d856
JM
112522011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11253
11254 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11255 numeric argument to read-number (bug#9163).
a514d856 11256
8a7eddd7
MA
112572011-07-27 Michael Albinus <michael.albinus@gmx.de>
11258
11259 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11260 connection process, it could be nil.
11261
1ddd96f5
LL
112622011-07-27 Leo Liu <sdl.web@gmail.com>
11263
11264 Simplify url handling in rcirc-mode.
11265
11266 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11267 (rcirc-browse-url-at-mouse): Remove.
11268 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11269
b248a85d
AM
112702011-07-26 Alan Mackenzie <acm@muc.de>
11271
11272 Fontify bitfield declarations properly.
11273
11274 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11275 (c-symbol-chars): Now exported as a lang variable.
11276 (c-not-primitive-type-keywords): New lang variable.
11277
11278 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11279 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11280 parsed as a bitfield declaration.
b248a85d 11281
b796c9b7
SM
11282 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11283 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11284 (c-punctuation-in): New function.
11285 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11286 declarations properly.
11287
68575ab0
UJ
112882011-07-26 Ulf Jasper <ulf.jasper@web.de>
11289
11290 * calendar/icalendar.el (icalendar--all-events): Take care of
11291 multiple vcalendars in a single file.
b796c9b7 11292 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11293
0f0a88b9
DD
112942011-07-25 Deniz Dogan <deniz@dogan.se>
11295
11296 * image.el (insert-image): Clarifying docstring.
11297
0b3f36df
MA
112982011-07-24 Michael Albinus <michael.albinus@gmx.de>
11299
11300 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11301 `tramp-send-command-and-check' if there is no error.
11302 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11303
a9901f61
AM
113042011-07-22 Alan Mackenzie <acm@muc.de>
11305
11306 Prevent cc-langs.elc being loaded at run time.
11307
11308 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11309 cc-langs.
11310
4d61f28d 11311 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11312 "(require 'cc-langs)". Quote a form so it will evaluate at
11313 (cc-mode's) compilation time.
11314
11d074b2
MA
113152011-07-22 Michael Albinus <michael.albinus@gmx.de>
11316
11317 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11318 loading. (Bug#9114)
11319
938b94c8
MR
113202011-07-21 Martin Rudalics <rudalics@gmx.at>
11321
11322 * window.el (display-buffer-pop-up-window)
11323 (display-buffer-pop-up-side-window)
11324 (display-buffer-in-side-window): Call display-buffer-set-height
11325 and display-buffer-set-width after setting the new window's
b796c9b7 11326 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11327
bfa4f190
SS
113282011-07-20 Sam Steingold <sds@gnu.org>
11329
11330 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11331 (etags-tags-included-tables): Call `convert-standard-filename' on
11332 the file names contained in TAGS so that windows Emacs can handle
11333 TAGS files created by cygwin ctags.
11334
8ca42262
LMI
113352011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11336
11337 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11338 which apparently didn't work.
11339
5db2afd2 113402011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11341
5db2afd2
RW
11342 * proced.el (proced-send-signal): For *Marked Processes* buffer
11343 put point at beginning of buffer.
11344
92e15d10
SB
113452011-07-19 Stephen Berman <stephen.berman@gmx.net>
11346
11347 * proced.el (proced-format): Make header lines align with the text
11348 (bug#1779).
11349
1bfd59e5
LMI
113502011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11351
11352 * view.el (view-buffer): Allow running in `special' modes if we're
11353 visiting a file (bug#8615).
11354
f5aae37c
MR
113552011-07-19 Martin Rudalics <rudalics@gmx.at>
11356
11357 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11358 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11359 New functions.
f5aae37c
MR
11360 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11361 more accurately.
11362
bf2c1571
AM
113632011-07-18 Alan Mackenzie <acm@muc.de>
11364
11365 Fontify declarators properly when, e.g., a jit-lock chunk begins
11366 inside a declaration.
11367
11368 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11369
b796c9b7
SM
11370 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11371 New function.
bf2c1571
AM
11372 (c-complex-decl-matchers): Insert reference to
11373 c-font-lock-enclosing-decls.
11374
11375 * progmodes/cc-engine.el (c-backward-single-comment):
11376 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11377 to nil around calls to (forward-comment -1).
11378
4e190b80
LMI
113792011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11380
12dc863d
LMI
11381 * image.el (put-image): Doc typo fix.
11382
a762e966
LMI
11383 * progmodes/etags.el (tags-search): Doc typo fix.
11384
4e190b80
LMI
11385 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11386 password if we get errors 550 to 554.
11387
f019fb21
LMI
113882011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11389
b796c9b7 11390 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11391
81746738
LMI
11392 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11393 indentation character (bug#6380).
11394
3ee3a1b5
LMI
11395 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11396
c82f64de
LMI
11397 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11398 to clarify what the problem is (bug#4291).
11399
f019fb21
LMI
11400 * simple.el (current-kill): Clarify what
11401 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11402 (auto-fill-mode): Document `auto-fill-function' in relation to
11403 `auto-fill-mode' (bug#2470).
f019fb21 11404
0794775d
LM
114052011-07-16 Lawrence Mitchell <wence@gmx.li>
11406
11407 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11408 method if slot is read-only (bug#9035).
11409
be39b8cc
MR
114102011-07-16 Martin Rudalics <rudalics@gmx.at>
11411
b796c9b7 11412 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11413 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11414 selected before, see discussion of (Bug#8615), (Bug#6954).
11415 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11416
6ccf7859
GM
114172011-07-15 Glenn Morris <rgm@gnu.org>
11418
11419 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11420 Respect help-form.
6ccf7859 11421
87e86684
LM
114222011-07-09 Lawrence Mitchell <wence@gmx.li>
11423
11424 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11425 (gnutls-negotiate): Use it.
11426
d6066239
LMI
114272011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11428
b796c9b7
SM
11429 * net/gnutls.el (gnutls-negotiate):
11430 Upcase `gnutls-algorithm-priority'.
d6066239 11431
bd23ebc0
GM
114322011-07-15 Glenn Morris <rgm@gnu.org>
11433
c65bca65
GM
11434 * jka-compr.el (jka-compr-verbose): Move from here...
11435 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11436 Add missing :version tag.
11437 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11438
478615cc
LMI
114392011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11440
7b41decb
LMI
11441 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11442 (gnutls-negotiate): Use it.
11443
dbc44fcd
LMI
11444 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11445
06789f97
LMI
11446 * info.el (Info-beginning-of-buffer): New command.
11447 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11448 announcing `b' as the key (bug#8325).
ab896c37 11449 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11450
c39da690
LMI
11451 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11452
3aa5f34b
LMI
11453 * international/mule-cmds.el
11454 (describe-specified-language-support): Make the error message
11455 clearer (bug#8905).
11456
4bf0979f
LMI
11457 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11458
478615cc
LMI
11459 * isearch.el (isearch-barrier): Add a doc string, since it's
11460 mentioned in a function doc string (bug#8678).
11461
75c68aa1
MR
114622011-07-15 Martin Rudalics <rudalics@gmx.at>
11463
11464 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11465 buffer argument (Bug#9083) and self-identifying label argument.
11466
a7c33da2
GM
114672011-07-15 Glenn Morris <rgm@gnu.org>
11468
11469 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11470
2f5c6024
LMI
114712011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11472
11473 * man.el (Man-fontify-manpage): Fix message when formatting the
11474 man page (bug#7929).
11475
0bb23927 114762011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11477
11478 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11479 argument LRM; if non-nil, append an invisible LRM character to the
11480 buffer name.
11481 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11482 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11483 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11484 paragraph direction.
cce4b0a7 11485
621ef9ab
LMI
114862011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11487
d1583c48
LMI
11488 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11489 the man page name (bug#7929).
11490
6a57fb5f
LMI
11491 * image.el (put-image): Mention the `put-image' overlay property
11492 (bug#7834).
11493
d7956b14
LMI
11494 * scroll-bar.el (set-scroll-bar-mode): Mention that
11495 `scroll-bar-mode' lists the values (bug#7772).
11496
5b2d4a66
LMI
11497 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11498 command (bug#7729).
11499
7509a874
LMI
11500 * rect.el (apply-on-rectangle): Return the point after the last
11501 operation.
11502 (string-rectangle): Go to the point after the last operation
11503 (bug#7522).
11504
4fe74b19
LMI
11505 * printing.el (pr-toggle-region): Clarify the documentation
11506 slightly (bug#7493).
11507
b796c9b7
SM
11508 * time.el (display-time-update):
11509 Allow `display-time-mail-function' to return nil (bug#7158).
11510 Fix suggested by Detlev Zundel.
ab283561 11511
fc233c9d
LMI
11512 * vc/diff.el (diff): Clarify the order the file names are read
11513 (bug#7111).
11514
43f5740b
LMI
11515 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11516 the doc string (bug#7015).
11517
f2182a76
LMI
11518 * font-lock.el (font-lock-maximum-decoration): Mention what
11519 numeric levels mean (bug#6935).
11520
621ef9ab
LMI
11521 * startup.el (initial-buffer-choice): Don't mention the `none'
11522 selection, which is against policy.
11523
adc47434
MR
115242011-07-14 Martin Rudalics <rudalics@gmx.at>
11525
b796c9b7
SM
11526 * window.el (display-buffer-normalize-special):
11527 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11528
7e5bfb8f
EZ
115292011-07-14 Eli Zaretskii <eliz@gnu.org>
11530
11531 * subr.el (version<, version<=, version=): Mention "-CVS" and
11532 "-12345" alpha version numbers.
11533
27fa387a
CY
115342011-07-14 Chong Yidong <cyd@stupidchicken.com>
11535
11536 * bindings.el: Add advertised binding for set-mark-command
11537 (Bug#5772).
11538
8bdfa064
CY
115392011-07-14 Chong Yidong <cyd@stupidchicken.com>
11540
11541 * bindings.el (mode-line-other-buffer):
11542 * bookmark.el (bookmark-bmenu-2-window):
11543 * bs.el (bs-cycle-next, bs-cycle-previous):
11544 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11545 switch-to-buffer.
11546
11547 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11548 Delete.
8bdfa064 11549
5eba16a3
JB
115502011-07-14 Juanma Barranquero <lekktu@gmail.com>
11551
11552 * follow.el (follow-debug-message, follow-redisplay):
11553 * jka-cmpr-hook.el (with-auto-compression-mode):
11554 Fix typos in docstrings.
11555
15853710
LMI
115562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11557
a28e4607
LMI
11558 * subr.el (with-silent-modifications): Clarify somewhat what the
11559 macro inhibits (bug#6525).
11560
15853710
LMI
11561 * simple.el (eval-expression): Note what it does if called
11562 interactively (bug#6495).
11563
bee0fcef
CY
115642011-07-13 Chong Yidong <cyd@stupidchicken.com>
11565
b796c9b7
SM
11566 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11567 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11568
11569 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11570 Remove switch-to-buffer.
11571
58274504
LMI
115722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11573
bd2fcc8d
LMI
11574 * files.el (make-directory): Clarify that an error will be raised
11575 if there's an error (bug#6397).
11576
0f04b32c
LMI
11577 * startup.el (initial-buffer-choice): Add `none' as a choice
11578 (bug#6234).
11579
465c5fc8
LMI
11580 * subr.el (add-hook): Clarify section about buffer-local hooks
11581 (bug#6218).
11582
58274504
LMI
11583 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11584
bead9a43
JB
115852011-07-13 Juanma Barranquero <lekktu@gmail.com>
11586
11587 * tabify.el (untabify): Preserve the current column so that point
11588 doesn't move (bug#6032).
11589
3af98a7b
LMI
115902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11591
b796c9b7
SM
11592 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11593 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11594
6240145a
GM
115952011-07-13 Glenn Morris <rgm@gnu.org>
11596
11597 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11598 (dired-insert-directory): Give a message the first time
11599 if ls is found not to support --dired.
11600
1d8c2ccc
LMI
116012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11602
11603 * simple.el (toggle-truncate-lines): Clarify what is toggled
11604 (bug#5580). Text by Drew Adams.
11605
5fc4038e
CY
116062011-07-13 Chong Yidong <cyd@stupidchicken.com>
11607
11608 * simple.el (blink-matching-open): Make the error message from the
11609 last change less verbose.
11610
bf6012e5
DN
116112011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11612
11613 * font-lock.el (font-lock-comment-face): Use the high contrast
11614 "yellow" color for font-lock-comment-face on low color terminals
11615 using a dark background color (bug#4221).
11616
343c3b5a
LMI
116172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11618
7e9505c5
LMI
11619 * dired.el (dired-insert-set-properties): Make the doc string
11620 reflect what it does now (bug#5325).
11621
c26fdcf5
LMI
11622 * simple.el (blink-matching-open): Say that we were unable to find
11623 the match within the limit, if we're limited (bug#5122).
11624
bb388cc5
LMI
11625 * international/mule-cmds.el (prefer-coding-system): Add an
11626 example (bug#4869).
11627
343c3b5a
LMI
11628 * progmodes/etags.el (tags-search): Document `file-list-form'
11629 (bug#4731).
11630
2a517d45
LM
116312011-07-13 Lawrence Mitchell <wence@gmx.li>
11632
11633 * net/browse-url.el (browse-url-default-browser)
11634 (browse-url-browser-function): Make the default browser choice a
11635 bit more logical (bug#4300). Also clean up the doc string.
11636
b6c78ef2
JB
116372011-07-13 Juanma Barranquero <lekktu@gmail.com>
11638
11639 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11640 binary endings (bug#4440).
11641
1c4dd947
LMI
116422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11643
a2014063
LMI
11644 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11645 which can be pretty annoying (bug#8971).
11646
9c9c2d88
LMI
11647 * jka-compr.el (jka-compr-verbose): New variable, and use
11648 throughout (bug#8971).
11649
1c4dd947
LMI
11650 * info.el (Info-find-file): Fall back on the installation
11651 directory if we can't find the info node anywhere else.
11652
a1c9f41b
SO
116532011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11654
11655 * vc/vc.el (vc-revert-file):
11656 Don't set file time-stamp in the past. (Bug#5181)
11657
536f3d36
LMI
116582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11659
7152b011
LMI
11660 * files.el (after-find-file): Give a better error message when
11661 trying to find a symlink that points to a file that doesn't exist
11662 (bug#4398).
11663
536f3d36
LMI
11664 * progmodes/cc-vars.el: Remove (probably) misleading comment
11665 (bug#4396).
11666
460c0fba
JB
116672011-07-12 Johan Bockgård <bojohan@gnu.org>
11668
11669 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11670
7a6bda45
CY
116712011-07-12 Chong Yidong <cyd@stupidchicken.com>
11672
11673 * mouse-sel.el: Hack restoring functionality, while keeping
11674 compatibility with 2010-07-03 changes to mouse selection.
11675 (mouse-sel-primary-overlay): New var.
11676 (mouse-sel-selection-alist): Use it.
11677 (mouse-sel-mode): Doc fix; remove points that are default features
11678 of mouse.el.
11679
c79598ef
JB
116802011-07-12 Johan Bockgård <bojohan@gnu.org>
11681
11682 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11683 Fix previous fix (bug#2490).
11684
ff8be6ef
RW
116852011-07-12 Roland Winkler <winkler@gnu.org>
11686
b796c9b7
SM
11687 * textmodes/bibtex.el (bibtex-initialize):
11688 Use pop-to-buffer-same-window.
ff8be6ef
RW
11689 (bibtex-search-entries): Fix interactive call.
11690
296ba3ee
LMI
116912011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11692
f5242a02 11693 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
11694 Fontise bytecomp Error lines more correctly (bug#2490).
11695 Fix suggested by Johan Bockgård.
f5242a02 11696
296ba3ee
LMI
11697 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11698
11699 * dired-x.el (dired-guess-default): Use `delete-dups'.
11700
f69fd0d2
CY
117012011-07-12 Chong Yidong <cyd@stupidchicken.com>
11702
11703 * dired.el (dired-mark-prompt):
11704 * dired-aux.el (dired-read-shell-command): Doc fix.
11705
eab5dc07
LMI
117062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11707
b796c9b7
SM
11708 * mail/sendmail.el (sendmail-query-once):
11709 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
11710 emacs -Q.
11711
11712 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11713
eab5dc07
LMI
11714 * cus-edit.el (custom-file): Take an optional no-error variable.
11715 (customize-save-variable): Set the variable, and give a warning if
11716 running under "emacs -q".
11717
a1e65d42
JB
117182011-07-11 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * loadhist.el (unload-feature-special-hooks):
11721 Add `auto-coding-functions', `fill-nobreak-predicate' and
11722 `find-directory-functions' (bug#5327).
11723
1d52da10
LMI
117242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11725
be958f1d
LMI
11726 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11727
5bedb26c
LMI
11728 * cus-edit.el (custom-guess-name-alist): -alist variables should
11729 use the `alist' type (bug#3120). Suggested by Drew Adams.
11730
1d52da10
LMI
11731 * printing.el: Add documentation to all the `pr-toggle-' commands.
11732
cd394be1 117332011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
11734
11735 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11736 backends where it makes sense (bug#2623).
11737
dcc88d8a
LMI
117382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11739
c3de9feb
LMI
11740 * dired-x.el (dired-guess-default): Remove duplicate shell command
11741 entries (bug#2028).
8a93078b 11742 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 11743 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 11744
dcc88d8a
LMI
11745 * subr.el (remove-duplicates): New conveniency function.
11746
505e3645
LMI
117472011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11748
11749 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11750 (bug#1526).
11751
117522011-07-10 Martin Rudalics <rudalics@gmx.at>
11753
11754 * window.el (display-buffer-normalize-default): Don't invert
11755 meaning of even-window-heights. Reported by Eli Zaretskii
11756 <eliz@gnu.org>.
11757
455e4fa1
BR
117582011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11759
11760 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11761
8e0bc3e9
CY
117622011-07-10 Chong Yidong <cyd@stupidchicken.com>
11763
11764 * window.el (display-buffer): Fix arguments to
11765 display-buffer-reuse-window in last change.
11766
fa7c3228
CY
11767 * faces.el (link): Use a less saturated blue on light backgrounds.
11768
11769 * startup.el (fancy-startup-text, fancy-about-text)
11770 (fancy-startup-tail): Use font-lock faces, for background safety.
11771
c0a7f300
BN
117722011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11773
b796c9b7
SM
11774 * emulation/viper-cmd.el (viper-change-state-to-vi):
11775 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 11776
4dc2a129
MR
117772011-07-09 Martin Rudalics <rudalics@gmx.at>
11778
11779 * window.el (display-buffer-default-specifiers): Remove.
11780 (display-buffer-macro-specifiers): Remove default specifiers.
11781 (display-buffer-alist): Default to nil.
b796c9b7 11782 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
11783 (display-buffer-pop-up-window): Allow splitting internal
11784 windows. Check whether a live window was created.
11785 (display-buffer-other-window-means-other-frame)
11786 (display-buffer-normalize-arguments): Rename to
11787 display-buffer-normalize-argument and rewrite. Set the
11788 other-window specifier.
11789 (display-buffer-normalize-special): New function.
11790 (display-buffer-normalize-options): Rename to
11791 display-buffer-normalize-default and rewrite.
11792 (display-buffer-normalize-options-inhibit): Remove.
11793 (display-buffer-normalize-specifiers): Rewrite.
11794 (display-buffer): Process other-window specifier and call
11795 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11796 more faithfully.
b796c9b7 11797 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 11798 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
11799 (display-buffer-in-window, display-buffer-alist-set):
11800 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
11801 <tassilo@member.fsf.org>.
11802
2d43b8c9
LL
118032011-07-09 Leo Liu <sdl.web@gmail.com>
11804
11805 * register.el (insert-register): Restore accidental change on
11806 2011-06-26. (Bug#9028)
11807
7f9b7c53
GM
118082011-07-09 Glenn Morris <rgm@gnu.org>
11809
11810 * subr.el (remq): Handle the empty list. (Bug#9024)
11811
f042cfd8
AS
118122011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11813
11814 * mail/sendmail.el (send-mail-function): No longer delay custom
11815 initialization.
11816 * custom.el (custom-initialize-delay): Doc fix.
11817
856b2f11
SM
118182011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11821
afae1d68
MA
118222011-07-08 Michael Albinus <michael.albinus@gmx.de>
11823
11824 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11825 human-friendly prompt.
11826
0757af94
SM
118272011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11828
11829 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11830 provided by a particular plugin.
11831
d760b731
LMI
118322011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11833
11834 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11835 save customizations (with "emacs -Q"), just set the variable
11836 instead of erroring out.
11837
11838 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11839
cd79ce90
JL
118402011-07-08 Juri Linkov <juri@jurta.org>
11841
11842 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11843 (archive-zip-update-case): Use 7z if found by `executable-find'.
11844 The order of searching the available programs is the same as in
11845 `archive-zip-extract' (bug#8968).
11846
14cc04aa
CY
118472011-07-07 Chong Yidong <cyd@stupidchicken.com>
11848
11849 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11850 (menu-bar-options-menu): Tweak descriptions.
11851
0a1848ec
LMI
118522011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11853
11854 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11855 menu items into verb phrases (bug#1421). Also refill to fit under
11856 80 columns.
11857
f5bd0689
CY
118582011-07-07 Chong Yidong <cyd@stupidchicken.com>
11859
538e85c6
CY
11860 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11861 (Info-read-node-name): Doc fix (Bug#1084).
11862
f5bd0689
CY
11863 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11864 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11865 (end-of-sexp, beginning-of-sexp)
11866 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11867 (forward-symbol, forward-same-syntax, word-at-point)
11868 (sentence-at-point): Doc fix (Bug#1144).
11869
56ec5115
LMI
118702011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11871
f3f8e37f
LMI
11872 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11873 should cover it (bug#1281).
11874
0757af94 11875 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 11876
e9fce1ac 11877 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
11878 negotiation fails, then possibly try again with a non-encrypted
11879 connection (bug#9017).
11880
56ec5115
LMI
11881 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11882 be used.
11883
c2f9aec8
RS
118842011-07-07 Richard Stallman <rms@gnu.org>
11885
11886 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11887 property, and handle its changed format.
11888 Look for the correct line number.
11889 Use file's line contents (but not past first =) to find
11890 correct line in message.
11891
ef7b981d 118922011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
11893
11894 * international/characters.el (build-unicode-category-table):
11895 Delete it.
0757af94 11896 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 11897
0757af94 11898 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
11899 to src/chartab.c.
11900 (get-char-code-property): Call unicode-property-table-internal to
11901 load a file. Call get-unicode-property-internal where necessary.
11902 (put-char-code-property): Call unicode-property-table-internal to
11903 load a file. Call put-unicode-property-internal where necessary.
11904 put-unicode-property-internal where necessary.
0757af94
SM
11905 (char-code-property-description):
11906 Call unicode-property-table-internal to load a file.
c805dec0
KH
11907
11908 * international/charprop.el:
11909 * international/uni-bidi.el:
11910 * international/uni-category.el:
11911 * international/uni-combining.el:
11912 * international/uni-comment.el:
11913 * international/uni-decimal.el:
11914 * international/uni-decomposition.el:
11915 * international/uni-digit.el:
11916 * international/uni-lowercase.el:
11917 * international/uni-mirrored.el:
11918 * international/uni-name.el:
11919 * international/uni-numeric.el:
11920 * international/uni-old-name.el:
11921 * international/uni-titlecase.el:
11922 * international/uni-uppercase.el: Regenerate.
11923
11924 * loadup.el: Load international/charprop.el before
11925 international/characters.
11926
e14b388a
CY
119272011-07-07 Chong Yidong <cyd@stupidchicken.com>
11928
11929 * window.el (next-buffer, previous-buffer): Signal an error if
11930 called from a minibuffer window.
11931
11932 * bindings.el: Revert 2011-07-04 change.
11933
354cf0ba
RS
119342011-07-06 Richard Stallman <rms@gnu.org>
11935
11936 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11937 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11938 Treat markers like ints.
11939 (rmail-mime-entity): Doc fix.
11940
a48868a7
LMI
119412011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11942
4906cd3d
LMI
11943 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
11944 defcustom again for backwards compatibility.
11945
e0457abe
LMI
11946 * simple.el (shell-command-on-region): Fill.
11947
d67f7e1f
LMI
11948 * dired-aux.el (dired-kill-line): Add a doc string.
11949
fe204702
LMI
11950 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
11951 to "\\sw\\|\\s_" (bug#358).
11952
a48868a7
LMI
11953 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
11954 (dired-unmark-backward): Ditto.
11955 (dired-flag-backup-files): Ditto.
11956
11957 * dired-x.el (dired-mark-sexp): Ditto.
11958
aa8a705c
RS
119592011-07-06 Richard Stallman <rms@gnu.org>
11960
11961 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
11962 (rmail-mime-entity): New arg TRUNCATED.
11963 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
11964 New functions.
11965 (rmail-mime-save): Warn if entity is truncated.
11966 (rmail-mime-toggle-hidden): Likewise, for showing.
11967 (rmail-mime-process-multipart): Record when an entity is truncated.
11968
a9a936b9
RS
11969 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
11970 if ENTITY is a string.
11971
1f2b92cb
LMI
119722011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11973
f4f73198 11974 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
11975 of faces when `M-C-x'-ing their definitions (bug#8378).
11976 Also clean up the code slightly.
f4f73198 11977
12b16734 11978 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 11979 because that makes the colors go away.
12b16734 11980
f0691d22
LMI
11981 * mail/sendmail.el (send-mail-function): Change the default to
11982 `sendmail-query-once'.
9e87df06 11983 (sendmail-query-once): Add an autoload cookie.
f0691d22 11984
1f2b92cb
LMI
11985 * net/network-stream.el (network-stream-open-starttls): Try using
11986 a plain connection even if the server offered STARTTLS, and we
11987 kinda wanted to use it, if Emacs doesn't have any STARTTLS
11988 capability. This should make smtpmail.el work in slightly more
11989 configurations.
11990
1cdd2a1b
MA
119912011-07-06 Michael Albinus <michael.albinus@gmx.de>
11992
11993 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11994 New defun.
11995 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
11996
fbcc67e2
MM
119972011-07-06 Michael R. Mauger <mmaug@yahoo.com>
11998
11999 * progmodes/sql.el: Version 3.0
0757af94 12000 (sql-product-alist): Add product :completion-object,
fbcc67e2 12001 :completion-column, and :statement attributes.
0757af94 12002 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12003 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12004 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12005 ansi keywords.
12006 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12007 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12008 (sql-oracle-show-reserved-words): New function for development.
12009 (sql-product-font-lock): Simplify for source code buffers.
12010 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12011 New functions.
12012 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12013 (sql-mode-map): Add statement movement functions.
12014 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12015 New variable.
fbcc67e2
MM
12016 (sql-statement-regexp, sql-beginning-of-statement)
12017 (sql-end-of-statement, sql-signum): New functions.
0757af94 12018 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12019 (sql-show-sqli-buffer): Bug fix.
12020 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12021 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12022 with sql-interactive-mode.
12023 (sql-save-connection): Save buffer local settings.
0757af94 12024 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12025 (sql-product-interactive): Bug fix.
12026 (sql-preoutput-hold): New variable.
12027 (sql-interactive-remove-continuation-prompt): Bug fixes.
12028 (sql-debug-redirect): New variable.
12029 (sql-str-literal): New function.
12030 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12031 Redesign.
fbcc67e2
MM
12032 (sql-oracle-save-settings, sql-oracle-restore-settings)
12033 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12034 (sql-completion-object, sql-completion-column)
12035 (sql-completion-sqlbuf): New variables.
12036 (sql-build-completions-1, sql-build-completions)
12037 (sql-try-completion): New functions.
12038 (sql-read-table-name): Use them.
12039 (sql-contains-names): New buffer local variable.
12040 (sql-list-all, sql-list-table): Use it.
12041 (sql-oracle-completion-types): New variable.
12042 (sql-oracle-completion-object, sql-sqlite-completion-object)
12043 (sql-postgres-completion-object): New functions.
12044
d4eaeab1
GM
120452011-07-06 Glenn Morris <rgm@gnu.org>
12046
12047 * window.el (pop-to-buffer): Doc fix.
12048
322b7dab 120492011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12050
12051 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12052
322b7dab 120532011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12054
322b7dab 12055 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12056
322b7dab 12057 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12058
605dd5bf
CY
120592011-07-05 Chong Yidong <cyd@stupidchicken.com>
12060
12061 * button.el (button): Inherit from link face. Suggested by Dan
12062 Nicolaescu.
12063
7dbfa719
SM
120642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12065
3db614b0
SM
12066 * progmodes/gdb-mi.el: Fit in 80 columns.
12067 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12068 switch-to-buffer.
12069
7dbfa719
SM
12070 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12071 if imenu is simply not configured (bug#8941).
12072
919d884a
KM
120732011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12074
12075 * allout.el (allout-post-undo-hook): New allout outline-change
12076 event hook to signal undo activity.
12077 (allout-post-command-business): Run allout-post-undo-hook if an
12078 undo just occurred.
7dbfa719
SM
12079 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12080 * allout-widgets.el (allout-widgets-after-undo-function):
12081 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12082 in the vicinity of an undo.
12083 (allout-widgets-mode): Include allout-widgets-after-undo-function
12084 on the new allout-post-undo-hook.
12085
450a0f09
SM
120862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12087
12088 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12089 Let define-derived-mode define it.
12090 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12091 cycles of abbrev-table inheritance (bug#8998).
12092
2de69e00
RW
120932011-07-05 Roland Winkler <winkler@gnu.org>
12094
12095 * textmodes/bibtex.el: Add support for biblatex.
12096 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12097 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12098 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12099 (bibtex-entry-alist, bibtex-field-alist): New variables.
12100 (bibtex-entry-field-alist): Obsolete alias for
12101 bibtex-BibTeX-entry-alist.
12102 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12103 (bibtex-set-dialect): New command.
12104 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12105 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12106 Bind via bibtex-set-dialect.
2de69e00
RW
12107 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12108 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12109 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12110 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12111 Define via bibtex-set-dialect.
450a0f09
SM
12112 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12113 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12114 (bibtex-vec-push, bibtex-vec-incr): New functions.
12115 (bibtex-format-entry, bibtex-field-list)
12116 (bibtex-print-help-message, bibtex-validate)
12117 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12118
2dcdbdd9
SM
121192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * progmodes/compile.el (compilation-goto-locus):
12122 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12123 * bs.el (bs-cycle-next, bs-cycle-previous):
12124 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12125 * bindings.el (mode-line-other-buffer):
12126 * autoinsert.el (auto-insert):
12127 * arc-mode.el (archive-extract):
12128 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12129
b27640fe
JB
121302011-07-05 Juanma Barranquero <lekktu@gmail.com>
12131
12132 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12133 Fix check of `emacs-lock-unlockable-modes'.
12134 Coerce true values of `emacs-lock--try-unlocking' to t.
12135
53bbe3ad
JB
121362011-07-05 Juanma Barranquero <lekktu@gmail.com>
12137
12138 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12139 * emacs-lock.el: New file.
12140
1d3cdbc7
JD
121412011-07-05 Julien Danjou <julien@danjou.info>
12142
12143 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12144 than `boundp' to check if face is set.
12145
9173deec
JB
121462011-07-05 Juanma Barranquero <lekktu@gmail.com>
12147
12148 * register.el (registerv-make):
12149 * window.el (window-min-height): Fix typos in docstrings.
12150
869795d6
JD
121512011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12152
9173deec 12153 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12154 Update doc string.
12155
b768cdcd
JB
121562011-07-04 Juanma Barranquero <lekktu@gmail.com>
12157
12158 * server.el (server-execute): Catch quit and call
12159 `server-return-error' to pass the error back to emacsclient and
12160 close the connection (bug#8942).
12161
13aa217b
KM
121622011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12163
12164 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12165 insecure exception for current topic. Also note that auto-saves
12166 are handled differently.
12167
5d3385a0 12168 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12169 State variables for tracking auto-save inhibition situation.
12170
12171 (allout-write-contents-hook-handler): Rename from
12172 'allout-write-file-hook-handler', and describe how it depends on
12173 write-contents-functions sensitivity to non-nil value to prevent
12174 file write.
12175
12176 (allout-auto-save-hook-handler): Remove. auto-save does not check
12177 this in individual buffers, only in the starting buffer, so this
12178 is not the right way for us to inhibit auto-save in a buffer
12179 according to its condition.
12180
12181 (allout-mode): Use new allout-write-contents-hook-handler, and
12182 only with write-contents-functions. Remove auto-save provisions -
12183 they're implemented elsewhere.
12184
12185 (allout-before-change-handler): If undo is in progress, note that
12186 for attention of allout-post-command-business.
12187
12188 (allout-post-command-business): If the command we're following was
12189 an undo, check for change in the status of encrypted items and
12190 adjust auto-save inhibitions accordingly.
12191
12192 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12193 according to whether there are or aren't any plain-text topics
12194 pending encryption.
12195
2dcdbdd9 12196 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12197 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12198 if there are plain-text topics pending encryption.
13aa217b
KM
12199
12200 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12201 buffer-saved-size and some allout state to not inhibit auto-saves
12202 if there are no longer any plain-text topics pending encryption.
12203
0757af94
SM
12204 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12205 No longer provide for exemption of the current topic.
13aa217b 12206
ac89b32c
JL
122072011-07-04 Juri Linkov <juri@jurta.org>
12208
12209 Add 7z operations to delete and save changed members (bug#8968).
12210 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12211 New defcustoms.
12212 (archive-7z-write-file-member): New function.
12213 (archive-7z-summarize): Fix the number of dashes in the
12214 listing output.
12215
8fa39615
SM
122162011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12217
12218 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12219 (bug#8958).
12220
2f11b3f1
CY
122212011-07-04 Chong Yidong <cyd@stupidchicken.com>
12222
d66fef2b
CY
12223 * bindings.el: Ignore next-buffer and previous-buffer in
12224 minibuffer-local-map.
12225
2f11b3f1
CY
12226 * font-lock.el (font-lock-builtin-face): Change light background
12227 color to dark slate blue (Bug#6693).
12228
f932a347
WD
122292011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12230
12231 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12232
c8af70e1
SM
122332011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12234
12235 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12237 Add switch-to-buffer.
12238
f158badc
LMI
122392011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12240
12241 * isearch.el (isearch-search-fun-function): Clarify further the
12242 meaning of the function returned.
12243
6d95bd46
MA
122442011-07-04 Michael Albinus <michael.albinus@gmx.de>
12245
12246 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12247
12248 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12249 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12250 Use it.
12251 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12252 `tramp-default-remote-path' does not exist.
12253 (tramp-send-command-and-read): New optional argument NOERROR.
12254 (tramp-open-connection-setup-interactive-shell)
12255 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12256 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12257 (tramp-process-sentinel): Flush also process' connection property.
12258 (tramp-sh-handle-start-file-process): Do not set process
12259 sentinel. It is done now ...
12260 (tramp-maybe-open-connection): ... here. (Bug#8929)
12261
909e6b67
MK
122622011-07-04 MON KEY <monkey@sandpframing.com>
12263
12264 * play/animate.el (animate-string): Doc fixes and allow changing
12265 the buffer name (bug#5417).
12266
122672011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12268
c8af70e1 12269 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12270
f34755dc
PE
122712011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12272
396cec72
PE
12273 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12274 This is simpler and helps future-proof the code.
12275 (timer-until): Use time-subtract and float-time.
08235028 12276 (timer--time-less-p): Use time-less-p.
f34755dc 12277
56e6cc31
JB
122782011-07-04 Juanma Barranquero <lekktu@gmail.com>
12279
3abb79e5
JB
12280 * type-break.el (timep): Use the value of `float-time' to avoid a
12281 byte-compiler warning.
12282
56e6cc31
JB
12283 * server.el (server-eval-and-print): Return any result, even nil.
12284
7b9430b4
PE
122852011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12286
12287 * type-break.el: Accept time formats that the builtins accept.
12288 (timep, type-break-time-difference): Accept any format that
12289 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12290 This is simpler and helps future-proof the code.
12291 (type-break-time-difference): Round rather than ignoring
12292 subseconds components.
12293
3034e9e7
LMI
122942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12295
12296 * info.el (Info-apropos-matches): Make non-interactive, since it
12297 doesn't seem to do anything useful as a command (bug#8829).
12298
1485f4c0
CY
122992011-07-03 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12302 Move from faces.el.
1485f4c0
CY
12303 (frame-default-terminal-background): New function.
12304
12305 * custom.el (custom-push-theme): Don't record faces in `changed'
12306 theme; this doesn't work correctly for per-frame face settings.
12307 (disable-theme): Use face-set-after-frame-default to reset faces.
12308 (custom--frame-color-default): New function.
12309
9fa3dd45
LMI
123102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12311
c8af70e1 12312 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12313 (bug#8769).
12314
6cbbc20c
KR
123152011-03-29 Kevin Ryde <user42@zip.com.au>
12316
12317 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12318 `perl-Test2' extend to match possible "fail #N" rep count
12319 (bug#8377).
12320
c7f98048
LMI
123212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12322
65676592
LMI
12323 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12324 `smtpmail-via-smtp' now returns the error instead of nil.
12325
c7f98048
LMI
12326 * isearch.el (isearch-search-fun-function): Clarify the doc string
12327 (bug#8101).
12328
56e6cc31 123292011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12330
12331 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12332 unnecessary spaces (bug#8987).
12333
2b216704
LMI
123342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12335
12336 * net/network-stream.el (open-network-stream): Use the
12337 :end-of-capability command thoughout.
12338
123392011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12340
12341 * net/network-stream.el (open-network-stream): Add the
12342 :end-of-capability command parameter, used by pop3.el.
12343
36adf6ce
LMI
123442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12345
1ca0da0e
LMI
12346 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12347
fc00f69c
LMI
12348 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12349 for list)" (bug#6475).
12350
28fd8759 12351 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12352 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12353 an error (bug#6297).
12354
0dd8b6da
LMI
12355 * man.el (Man-reference-regexp): Allow matching possible
12356 word-wrapped references (bug#6289).
12357
ce1438d6
LMI
12358 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12359 for consistency with the other vc buffers (bug#6197).
12360 (vc-checkin): Ditto.
12361
12362 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12363
36adf6ce
LMI
12364 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12365
e83cc1f7
LMI
123662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12367
8a20ca4c
LMI
12368 * custom.el (defcustom): Clarify that :set is only used in the
12369 Customize user interface (bug#6089).
12370
83319045
LMI
12371 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12372 associated with a file, refuse to run instead of erroring out
12373 (bug#6084).
12374
a8392169
LMI
12375 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12376 the doc string, since it appears that using `fill-column' always
12377 controls the width (bug#7845).
12378
e83cc1f7
LMI
12379 * simple.el (shell-command-on-region): Say where the error output
12380 went if `shell-command-default-error-buffer' is set (bug#6857).
12381
e47ca23b
KM
123822011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12383
12384 * allout.el (allout-yank-processing): Adjust cursor position for
12385 backwards-deleted space.
12386
12387 (allout-rebullet-heading): Register changes with
12388 allout-exposure-changed-hook, so the modified topic is properly
12389 decorated.
12390
5cf56143
LMI
123912011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12392
08549772
LMI
12393 * minibuffer.el (completion-in-region): Document PREDICATE
12394 (bug#7136).
12395
48e96771
LMI
12396 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12397 of keyword/argument pairs (bug#6904).
12398
c8af70e1
SM
12399 * replace.el (multi-occur):
12400 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12401
e17d05e2
LMI
124022011-07-02 Drew Adams <drew.adams@oracle.com>
12403
12404 * dired.el (dired-mark-if): Make the message about whether it's
12405 marking or unmarking clearer (bug#8523).
12406
063b0e45
LMI
124072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12408
12409 * disp-table.el (display-table-print-array): New function.
12410 (describe-display-table): Use it to print the vectors more pretty
12411 (Bug#8859).
12412
28545e04
MR
124132011-07-02 Martin Rudalics <rudalics@gmx.at>
12414
12415 * window.el (window-state-get-1): Don't assign clone numbers.
12416 Add clone-of item to list of window parameters.
12417 (window-state-put-2): Don't process clone numbers.
12418 (display-buffer-alist): Fix doc-string.
12419
3349e122
SM
124202011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12421
12422 * subr.el (remq): Don't allocate if it's not needed.
12423 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12424 (keymap--merge-bindings): New functions.
12425 (keymap-canonicalize): Use them to refine the canonicalization.
12426 * minibuffer.el (minibuffer-local-completion-map)
12427 (minibuffer-local-must-match-map): Move initialization from C.
12428 (minibuffer-local-filename-completion-map): Move initialization from C;
12429 don't inherit from anything here.
12430 (minibuffer-local-filename-must-match-map): Make obsolete.
12431 (completing-read-default): Use make-composed-keymap to combine
12432 minibuffer-local-filename-completion-map with either
12433 minibuffer-local-must-match-map or
12434 minibuffer-local-filename-completion-map.
12435
d224ac83
GM
124362011-07-01 Glenn Morris <rgm@gnu.org>
12437
3de63bf8
GM
12438 * type-break.el (type-break-time-sum): Use dolist.
12439
d224ac83
GM
12440 * textmodes/flyspell.el (flyspell-word-search-backward):
12441 Replace CL function.
12442
1a1e3f32
SM
124432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12444
fe3f64d5
SM
12445 * mouse.el (mouse--strip-first-event): New function.
12446 (function-key-map): Use it to map fringe clicks to normal clicks
12447 by default.
12448
eb604e34
SM
12449 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12450 (vc-bzr-revision-completion-table): Add support for annotate and date.
12451
1a1e3f32
SM
12452 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12453 inherit from parent.
12454
5bd35902
LMI
124552011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12456
ace6c69c 12457 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12458 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12459
191e2bed
LMI
12460 * dired.el (dired-mode): Fix up the doc string as suggested by
12461 Drew Adams (bug#8817).
12462
5bd35902
LMI
12463 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12464 cookie, since the manual says that it should be possible to add
12465 this function to `find-file-hook' (bug#8709).
12466
eee8207a
TZ
124672011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12468
12469 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12470 here. Noted Ted Zlatanov as the maintainer.
12471 (cfengine-common-settings, cfengine-common-syntax): New functions
12472 to set up common things between `cfengine-mode' and
12473 `cfengine3-mode'.
12474 (cfengine3-mode): New mode.
12475 (cfengine3-defuns cfengine3-defuns-regex
12476 (cfengine3-class-selector-regex cfengine3-category-regex)
12477 (cfengine3-vartypes cfengine3-font-lock-keywords)
12478 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12479 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12480
36b148cf
MA
124812011-07-01 Michael Albinus <michael.albinus@gmx.de>
12482
12483 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12484
12485 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12486
0bf4ba9a
MR
124872011-07-01 Martin Rudalics <rudalics@gmx.at>
12488
12489 * window.el (same-window-buffer-names, same-window-regexps)
12490 (same-window-p, special-display-frame-alist)
12491 (special-display-popup-frame, special-display-function)
12492 (special-display-buffer-names, special-display-regexps)
12493 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12494 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12495 (split-window-preferred-function, split-height-threshold)
12496 (split-width-threshold, even-window-heights)
12497 (display-buffer-mark-dedicated, window-splittable-p)
12498 (split-window-sensibly, window-safely-shrinkable-p):
12499 Un-obsolete.
12500 (display-buffer): Don't spread args with function specifier
12501 because special-display-popup-frame won't like it.
12502
35837f51
PE
125032011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12504
d0672f86
PE
12505 Time-stamp simplifications and fixes.
12506 These improve accuracy slightly, and future-proof the code
12507 against some potential changes to current-time format.
12508
b9444d97
PE
12509 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12510 by using time-since and float-time.
12511
0ef923dc
PE
12512 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12513 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12514 + NNN microseconds".
12515
2f81380d
PE
12516 * type-break.el (type-break-time-sum): Rewrite using time-add.
12517
845b5c3e
PE
12518 * play/hanoi.el (hanoi-current-time-float): Remove.
12519 All uses replaced by float-time.
12520
ee6f1be0
PE
12521 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12522 This yields a more-accurate answer.
12523 (rng-time-to-float): Remove; no longer needed.
12524
fe955043
PE
12525 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12526
5777162a
PE
12527 * calendar/timeclock.el (timeclock-seconds-to-time):
12528 Defalias to seconds-to-time, since they're the same thing.
12529
3103f8b6 12530 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12531 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12532 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12533
0e61a35f
SM
125342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12535
12536 * window.el (bury-buffer): Don't iconify the only frame.
12537 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12538 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12539
ddd63a1e
CY
125402011-07-01 Chong Yidong <cyd@stupidchicken.com>
12541
0e61a35f
SM
12542 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12543 Add mouse-yank-primary.
ddd63a1e 12544
055f4923
TZ
125452011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12546
12547 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12548
6a2fb145
SM
125492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12550
12551 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12552 (find-library-name): Use it to find relative load names when provided
12553 absolute file name (bug#8803).
12554
fd4983f2
LMI
125552011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12556
887d14ad
LMI
12557 * textmodes/flyspell.el (flyspell-word): Consider words that
12558 differ only in case as potential doublons (bug#5687).
12559
c53dc7fc
LMI
12560 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12561 Remove two rather uninteresting debugging-like messages to make
12562 debbugs.el more silent.
12563
fd4983f2
LMI
12564 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12565 a password-like phrase.
12566
7a71b18d 125672011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12568
12569 * progmodes/cc-guess.el: New file.
12570
6a2fb145 12571 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12572
12573 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12574 derived from `c-basic-common-init'.
12575
12576 * progmodes/cc-mode.el (top-level): Require cc-guess.
12577 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12578
1fa280a3
LM
125792011-06-30 Lawrence Mitchell <wence@gmx.li>
12580
12581 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12582
e6597158
AM
125832011-06-30 Alan Mackenzie <acm@muc.de>
12584
1fa280a3
LM
12585 * progmodes/cc-engine.el (c-guess-continued-construct):
12586 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12587 lock is disabled. Name this case as "CASE G".
12588
68ba37fb
KM
125892011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12590
12591 * allout.el (allout-yank-processing): Fix injection of extra space
12592 between bullet and non-whitespace character in first topic when
12593 pasting, ensuring that the actual spacing in the pasted topic
12594 following the bullet char is preserved. This extra space was
12595 causing pasted encrypted topics to get a decrypted status even
12596 when the content was actually still encrypted. Now the decryption
12597 status from before the paste is preserved.
12598
12599 (allout-flag-region): Set all allout overlays so they evaporate
12600 when reduced to zero length (evanescent), to prevent overlay
12601 leakage.
12602
887a0b34
GM
126032011-06-30 Glenn Morris <rgm@gnu.org>
12604
94b9acce
GM
12605 * w32-fns.el (w32-charset-info-alist): Declare.
12606
1d9b46d4
GM
12607 * find-dired.el (find-grep-options): Simplify.
12608
cc232200
GM
12609 * term/ns-win.el (ns-set-resource): Declare.
12610
28e77c46
GM
12611 * ses.el (row, col): Declare dynamic variables honestly.
12612
887a0b34
GM
12613 * textmodes/reftex-parse.el (index-tags): Declare.
12614
658d8eb8
CY
126152011-06-30 Chong Yidong <cyd@stupidchicken.com>
12616
12617 * cus-edit.el (customize-push-and-save): New function.
12618
12619 * files.el (hack-local-variables-confirm): Use it.
12620
1fa280a3
LM
12621 * custom.el (load-theme): New arg NO-CONFIRM.
12622 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12623 (custom-enabled-themes): Doc fix.
12624
12625 * cus-theme.el (customize-create-theme)
12626 (custom-theme-merge-theme): Callers to load-theme changed.
12627
bb617717
LMI
126282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12629
d61bdd5d
LMI
12630 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12631 short URLs have at least one dot in them (bug #7614).
12632
bb617717
LMI
12633 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12634 nil, because using a pty is apparently too slow (bug #895).
12635
2f31f37a
LMI
126362011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12637
12638 * mail/sendmail.el (sendmail-query-once): New function.
12639 (sendmail-query-once-function): New variable.
12640
3076b24e
GM
126412011-06-29 Glenn Morris <rgm@gnu.org>
12642
faf2a174
GM
12643 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12644
3076b24e
GM
12645 * ses.el (top-level): Require cl when compiling.
12646 (ses-set-localvars): Fix error statement.
12647 Call it at compile time to silence a storm of warnings.
12648
5386012d
MR
126492011-06-29 Martin Rudalics <rudalics@gmx.at>
12650
12651 * window.el (normalize-live-buffer): Rename to
12652 window-normalize-buffer.
12653 (normalize-live-frame): Rename to window-normalize-frame.
12654 (normalize-any-window): Rename to window-normalize-any-window.
12655 (normalize-live-window): Rename to window-normalize-live-window.
12656 (make-window-atom): Rename to window-make-atom.
12657 (window-resize-reset): Rename to window--resize-reset.
12658 (window-resize-reset-1): Rename to window--resize-reset-1.
12659 (resize-mini-window): Rename to window--resize-mini-window.
12660 (resize-subwindows-skip-p): Rename to
12661 window--resize-subwindows-skip-p.
12662 (resize-subwindows-normal): Rename to
12663 window--resize-subwindows-normal.
12664 (resize-subwindows): Rename to window--resize-subwindows.
12665 (resize-other-windows): Rename to window--resize-siblings.
12666 (resize-this-window): Rename to window--resize-this-window.
12667 (resize-root-window): Rename to window--resize-root-window.
12668 (resize-root-window-vertically): Rename to
12669 window--resize-root-window-vertically.
12670 (normalize-buffer-to-display): Rename to
12671 window-normalize-buffer-to-display.
12672 (normalize-buffer-to-switch-to): Rename to
12673 window-normalize-buffer-to-switch-to.
12674 Correspondingly update all callers of the functions listed
12675 above.
12676 (display-buffer-alist, display-buffer-normalize-arguments)
12677 (display-buffer-normalize-options, display-buffer)
12678 (display-buffer-alist-set): Use "function" instead of
12679 "fun-with-args".
12680
1176868d
CY
126812011-06-28 Chong Yidong <cyd@stupidchicken.com>
12682
12683 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12684 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12685 debbugs.gnu.org. Mention acknowledgment email.
12686
20a7a65f
LMI
126872011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12688
12689 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12690 buffer multibyteness, since it shouldn't matter.
12691
5f45cca5
MR
126922011-06-28 Martin Rudalics <rudalics@gmx.at>
12693
12694 * window.el (display-buffer-in-side-window): Handle dedicated
12695 windows as in display-buffer-reuse-window.
12696 (display-buffer-normalize-alist): Use value of override
12697 specifier.
12698 (display-buffer-normalize-specifiers): Use value of
12699 other-window-means-other-frame specifier.
12700 (display-buffer-alist): Rewrite some texts in widgets.
12701 (display-buffer): Spread arguments when calling function
12702 specified by fun-with-args.
12703
ad85fe1f
DD
127042011-06-28 Deniz Dogan <deniz@dogan.se>
12705
1fa280a3
LM
12706 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12707 Unnest `let'.
da68c4c8 12708
ad85fe1f
DD
12709 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12710 selectors (Bug#5732).
ec49bd31 12711 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 12712
a08cc025
JA
127132011-06-27 Jari Aalto <jari.aalto@cante.net>
12714
12715 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12716 (eshell-ls-date-format): New defcustom.
12717 (eshell-ls-file): Use it.
12718
e2b551c5
SM
127192011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12722
8982b231
KY
127232011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12724
12725 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12726 (ange-ftp-make-tmp-name): New arg.
12727 (ange-ftp-file-local-copy): Use it.
12728
36c9fa27
J
127292011-06-27 Jambunathan K <kjambunathan@gmail.com>
12730
12731 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12732 no-conversion (Bug#8870).
12733
d68443dc
MR
127342011-06-27 Martin Rudalics <rudalics@gmx.at>
12735
12736 * window.el (window-right, window-left, window-child)
12737 (window-child-count, window-last-child)
12738 (window-iso-combination-p, walk-window-tree-1)
12739 (window-atom-check-1, window-tree-1, delete-window)
12740 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12741 new naming conventions - window-vchild, window-hchild,
12742 window-next and window-prev are now called window-top-child,
12743 window-left-child, window-next-sibling and window-prev-sibling
12744 respectively.
d615d6d2
MR
12745 (resize-window-reset): Rename to window-resize-reset.
12746 (resize-window-reset-1): Rename to window-resize-reset-1.
12747 (resize-window): Rename to window-resize.
12748 (window-min-height, window-min-width)
12749 (resize-mini-window, resize-this-window, resize-root-window)
12750 (resize-root-window-vertically, adjust-window-trailing-edge)
12751 (enlarge-window, shrink-window, maximize-window)
12752 (minimize-window, delete-window, quit-restore-window)
12753 (split-window, balance-windows, balance-windows-area-adjust)
12754 (balance-windows-area, window-state-put-2)
12755 (display-buffer-even-window-sizes, display-buffer-set-height)
12756 (display-buffer-set-width, set-window-text-height)
12757 (fit-window-to-buffer): Rename all "resize-window" prefixed
12758 calls to use the "window-resize" prefix convention.
12759 (display-buffer-alist): Fix symbol for label specifier.
12760 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12761 corresponding specifier.
12762 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 12763
b6458526
VB
127642011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12765
12766 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12767 convention.
12768 (ses-call-printer): Does not pass an empty string to formatter when the
12769 cell is empty to keep from barking printer Calc math-format-value.
12770
d31fd9ac
RS
127712011-06-27 Richard Stallman <rms@gnu.org>
12772
43d5bf84
RS
12773 * battery.el (battery-mode-line-limit): New variable.
12774 (battery-update): Handle it.
12775
d31fd9ac
RS
12776 * mail/rmailmm.el (rmail-mime-process-multipart):
12777 Handle truncated messages.
12778
819a6054
GM
127792011-06-27 Glenn Morris <rgm@gnu.org>
12780
12781 * progmodes/flymake.el (flymake-err-line-patterns):
12782 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12783
cedc73f2
VB
127842011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12785
819a6054 12786 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
12787 (ses--clean-!, ses--clean-_): New functions.
12788 (ses-range): Add configurability of readout order, and conversion
12789 to Calc vector.
12790
5e5d49b6
VB
12791 * ses.el (ses-repair-cell-reference-all): New function.
12792 (ses-cell-symbol): Set macro as safe, so that it can be used in
12793 formulas.
12794
56e6cc31 12795 * ses.el: Update cycle detection algorithm.
90ca8b49 12796 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 12797 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
12798 (ses-set-localvars): New function.
12799 (ses-make-cell): Add property-list as a cell element.
12800 (ses-cell-property-get-fun, ses-cell-property-get)
12801 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
12802 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12803 New functions.
90ca8b49
VB
12804 (ses-cell-property-set, ses-cell-property-pop)
12805 (ses-cell-property-get-handle): New macro.
12806 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12807 New aliases, used for code readability.
12808 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12809 cycle detection.
12810 (ses-self-reference-early-detection): New defcustom.
fac916bf 12811 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
12812 (ses-mode): Use ses-set-localvars.
12813 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12814 before lauching the update processing.
12815 (ses-initialize-Dijkstra-attempt): New function.
12816 (ses-recalculate-cell): Update for cycle detection based on
12817 Dijkstra algorithm.
12818
2bb63e81
VB
12819 * ses.el: Fix commenting and indenting convention.
12820
c9d29fb8
SM
128212011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * bs.el (bs-cycle-next): Complete last change.
12824
d8e4b68b
JB
128252011-06-27 Drew Adams <drew.adams@oracle.com>
12826
12827 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12828
40098786
LMI
128292011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12830
c9d29fb8
SM
12831 * net/network-stream.el (network-stream-open-starttls):
12832 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
12833 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12834
40098786
LMI
12835 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12836 to binary to possibly avoid line encoding issues on Windows (among
12837 other things).
12838
468d09d4
LMI
128392011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12840
12841 * net/network-stream.el (open-network-stream): Return an :error
12842 saying what the problem was, if possible.
12843
12844 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12845 server.
12846
12847 * net/network-stream.el (network-stream-open-starttls): If we
12848 wanted to use STARTTLS, and the server offered it, but we weren't
12849 able to because we had no STARTTLS support, then close the connection.
12850 (open-network-stream): Return an :error element, if present.
12851
16f07dd7
CY
128522011-06-26 Chong Yidong <cyd@stupidchicken.com>
12853
88821ca0
CY
12854 * hl-line.el (hl-line-sticky-flag): Doc fix.
12855 (global-hl-line-sticky-flag): New option (Bug#8323).
12856 (global-hl-line-highlight): Obey it.
12857
16f07dd7
CY
12858 * vc/vc.el (vc-revert-show-diff): Default to t.
12859
6b5ccddf
KM
128602011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12861
c9d29fb8
SM
12862 * allout-widgets.el (allout-widgets-post-command-business):
12863 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
12864 undecorated when an isearch is continued past, and isearch
12865 automatically collapses them. This leads to "widget leaks", where
12866 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
12867 hidden widgets can slow down cursor travel, substantially.
12868 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
12869 so we're doing without this nicety.
12870
12871 (allout-widgets-tally-string): Don't try to do a hash-table-count
12872 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12873 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12874 *Messages* when allout-widgets-maintain-tally is t.
12875
355f2e07
MR
128762011-06-26 Martin Rudalics <rudalics@gmx.at>
12877
12878 * window.el (display-buffer-normalize-argument): Rename to
12879 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
12880 LABEL argument. Respect special-display-function when popping up
12881 a new frame. Fix code searching for a window showing the buffer
12882 on another frame.
c9d29fb8
SM
12883 (display-buffer-normalize-specifiers):
12884 Call display-buffer-normalize-arguments.
355f2e07
MR
12885 (display-buffer-in-window): Don't undedicate the window if its
12886 buffer remains the same.
12887 Reported by Drew Adams <drew.adams@oracle.com>.
12888 (display-buffer-alist): Add choice for same-window macro
12889 specfier.
12890 (display-buffer): Mention special meaning of LABEL argument in
12891 doc-string. Fix quoting. Don't pop up a new frame even as
12892 fallback.
12893
7ca8fc42
JB
128942011-06-26 Juanma Barranquero <lekktu@gmail.com>
12895
12896 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12897 avoid deleting the current window in some cases (bug#8911).
12898
bc312254
AS
128992011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12900
12901 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12902 (Bug#8934)
12903
2db18f3f
LMI
129042011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12905
c9d29fb8
SM
12906 * net/network-stream.el (network-stream-open-starttls):
12907 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
12908 (network-stream-open-tls): Ditto.
12909
6302e0d3
LL
129102011-06-26 Leo Liu <sdl.web@gmail.com>
12911
12912 * register.el (registerv): New struct.
12913 (registerv-make): New function.
c9d29fb8
SM
12914 (jump-to-register, describe-register-1, insert-register):
12915 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
12916 struct. (Bug#8415)
12917
5fdd4046
CY
129182011-06-26 Chong Yidong <cyd@stupidchicken.com>
12919
2afef60a
CY
12920 * vc/vc.el (vc-revert-show-diff): New defcustom.
12921 (vc-diff-internal): New arg specifying diff buffer.
12922 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12923 reuse an existing *vc-diff* buffer (Bug#8927).
12924
5fdd4046
CY
12925 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12926
e93db24a
GM
129272011-06-26 Glenn Morris <rgm@gnu.org>
12928
12929 * progmodes/f90.el (f90-critical-indent): New option.
12930 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12931 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12932 (f90-mode): Doc fix.
12933 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12934 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12935 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12936 (f90-match-end): Handle block, critical.
12937
eefff499
GM
129382011-06-25 Glenn Morris <rgm@gnu.org>
12939
f6ba4cc9
GM
12940 * calendar/diary-lib.el (diary-included-files): Doc fix.
12941 (diary-include-files): New function, extracted from
12942 diary-include-other-diary-files and diary-mark-included-diary-files.
12943 (diary-include-other-diary-files, diary-mark-included-diary-files):
12944 Just call diary-include-files.
12945 (diary-mark-entries): Reset diary-included-files on first call.
12946
16712304
GM
12947 * calendar/diary-lib.el (diary-mark-entries)
12948 (diary-mark-included-diary-files):
12949 Visit included diary-files in temp buffers.
12950
5d8e0d43
GM
12951 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
12952 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
12953 (f90-start-block-re, f90-imenu-generic-expression)
12954 (f90-looking-at-program-block-start, f90-no-block-limit):
12955 Add support for submodules.
12956
ccf7a5d5
GM
12957 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12958 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 12959
11fdef7d 129602011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
12961
12962 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
12963 buffer-file-type before setting its value, to avoid disastrous
eefff499 12964 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 12965
74f53697
JB
129662011-06-25 Juanma Barranquero <lekktu@gmail.com>
12967
12968 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
12969
12970 * ses.el (ses-unload-function):
12971 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
12972
12973 * proced.el (proced-unload-function):
12974 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
12975
18a4ce5e
AR
129762011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
12977
12978 * server.el (server-create-window-system-frame): Add parameters arg.
12979 (server-process-filter): Doc fix. Handle frame-parameters.
12980
519d22cc
JB
129812011-06-25 Juanma Barranquero <lekktu@gmail.com>
12982
12983 Fix bug#8730, bug#8781.
12984
12985 * loadhist.el (unload--set-major-mode): New function.
12986 (unload-feature): Use it.
12987
12988 * progmodes/python.el (python-after-info-look): Add autoload cookie.
12989 (python-unload-function): New function.
12990
c206f5b0
SM
129912011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
12994
f9ad64f3
GS
129952011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
12996
12997 * net/browse-url.el (browse-url-firefox-program): Add icecat to
12998 the candidates list.
12999
7d0da90e
JB
130002011-06-24 Juanma Barranquero <lekktu@gmail.com>
13001
13002 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13003
14b4e83d
RS
130042011-06-23 Richard Stallman <rms@gnu.org>
13005
13006 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13007 (rmail-variables): Set next-error-move-function.
13008 (rmail-what-message): Take argument POS.
13009 (rmail-next-error-move): New function.
13010
273d2baf
SM
130112011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13014 messages for adjacent non-terminals.
13015
56c2cc9a
RS
130162011-06-23 Richard Stallman <rms@gnu.org>
13017
13018 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13019 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13020 (rmail-start-mail): Don't specify use of rmail-mail-return;
13021 that's done by mail-bury now.
13022 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13023
d59eb518
MA
130242011-06-23 Michael Albinus <michael.albinus@gmx.de>
13025
13026 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13027 SIZE is a number.
13028
02cfc6d6
MR
130292011-06-23 Martin Rudalics <rudalics@gmx.at>
13030
13031 * window.el (get-lru-window, get-mru-window)
13032 (get-largest-window): Never return a minibuffer window.
13033 (display-buffer-pop-up-window): Fix a bug that could lead to
13034 reusing the minibuffer window.
13035 (display-buffer): Pass original specifier argument to
13036 display-buffer-function instead of the normalized one.
13037 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13038
4e323265
LL
130392011-06-22 Leo Liu <sdl.web@gmail.com>
13040
13041 * minibuffer.el (completing-read-function)
13042 (completing-read-default): Move from minibuf.c
13043
7a70468f
RS
130442011-06-22 Richard Stallman <rms@gnu.org>
13045
50718fc2
RS
13046 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13047 to Rmail even if not started by a special Rmail command.
13048
7a70468f
RS
13049 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13050 Copy the buffer currently showing just one message.
13051
297dde5a
RW
130522011-06-22 Roland Winkler <winkler@gnu.org>
13053
13054 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13055 (bibtex-clean-entry): First delete the old key so that a
13056 customized algorithm for generating the new key does not get
13057 confused by the old key.
13058 (bibtex-url): Obey regexp of first step.
13059 (bibtex-search-entries): Do not use add-to-list with local
13060 list-var.
13061
97bb1093
LMI
130622011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13063
13064 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13065 stored a user name, then query for the password first, instead of
13066 waiting for SMTP to give an error message and the trying again.
13067
1c0f1a19
JD
130682011-06-22 Lawrence Mitchell <wence@gmx.li>
13069
13070 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13071 BUFFER in call-process.
13072
396f7c9d
LMI
130732011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13074
13075 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13076 QUIT twice.
ddb7ffee
LMI
13077 (smtpmail-try-auth-methods): Require user name and password from
13078 auth-source.
396f7c9d 13079
8998d1b3
MR
130802011-06-22 Martin Rudalics <rudalics@gmx.at>
13081
13082 * window.el (display-buffer-default-specifiers)
13083 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13084 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13085 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13086
13087 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13088 (special-display-frame-alist, special-display-popup-frame):
13089 Remove duplicate declarations. These are now in window.el.
13090
4ea31e07
LMI
130912011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13092
c9d29fb8
SM
13093 * mail/smtpmail.el (smtpmail-via-smtp):
13094 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13095 server supports it. SMTP servers that support STARTTLS commonly
13096 require it.
13097
13098 * net/network-stream.el (network-stream-open-starttls): Support
13099 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13100 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13101
95f41d9a
LMI
13102 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13103 upgrades with `open-network-stream', and rely solely on
13104 auth-source for all credentials. Big changes throughout the file,
13105 but in particular:
c9d29fb8
SM
13106 (smtpmail-auth-credentials): Remove.
13107 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13108 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13109 MAIL FROM, too.
95f41d9a 13110
c9d29fb8
SM
13111 * net/network-stream.el (network-stream-open-starttls):
13112 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13113 STARTTLS.
13114 (auth-source): Require.
13115 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13116 (network-stream-certificate): Change cert-cert to cert and
13117 cert-key to key.
4ea31e07 13118
065ec2c7
MA
131192011-06-21 Michael Albinus <michael.albinus@gmx.de>
13120
13121 * net/tramp-cache.el (top): Don't load the persistency file when
13122 "emacs -Q" has been called.
13123
cd93b359
DR
131242011-06-21 Tim Harper <timcharper@gmail.com>
13125
d8e4b68b
JB
13126 * term/ns-win.el (ns-initialize-window-system):
13127 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13128 resource to NO as it is not yet supported by the NS port.
13129
ae9c0411
JB
131302011-06-21 Juanma Barranquero <lekktu@gmail.com>
13131
13132 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13133 (list-dynamic-libraries): ...not here.
13134
7f3f739f
LL
131352011-06-21 Leo Liu <sdl.web@gmail.com>
13136
13137 * subr.el (sha1): Implement sha1 using secure-hash.
13138
327c8fb1
MR
131392011-06-21 Martin Rudalics <rudalics@gmx.at>
13140
13141 * window.el (display-buffer-alist): In default value do not
13142 enforce searching a window on any but the selected frame.
13143 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13144 (display-buffer-select-window): Remove function.
13145 (display-buffer-in-window): When a window on another frame gets
13146 reused, do not select it any more but just raise its frame if
13147 necessary (Bug#8851) and (Bug#8856).
13148 (display-buffer-normalize-options): Handle pop-up-frames related
13149 options more faithfully.
13150 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13151 window if it is on another frame.
c9d29fb8
SM
13152 (display-buffer-alist, display-buffer-default-specifiers):
13153 Don't make new frame unsplittable by default.
9e9de014
MR
13154 (display-buffer-normalize-argument): Fix doc-string typo and use
13155 'same-frame-other-window instead of 'other-window when associating
13156 with display-buffer-macro-specifiers.
327c8fb1 13157
7cf3f556
VB
131582011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13159
13160 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13161 New functions.
13162 (5x5-mode-map, 5x5-mode-menu): Bind them.
13163 (5x5-draw-grid): Tweak the solver's rendering.
13164
60a406cf
SM
131652011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13166
13167 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13168 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13169
d8e4b68b 131702011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13171
13172 * menu-bar.el: Use function variable instead of switch-to-buffer.
13173 (menu-bar-select-buffer-function): New variable.
60a406cf 13174 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13175
478d6f95
SM
131762011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13177
13178 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13179 variable's status.
13180
ca530739
JD
131812011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13182
13183 * x-dnd.el (x-dnd-version-from-flags)
13184 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13185 and long as number (Bug#8899).
13186 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13187
bcd70d97
SM
131882011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13189
60a406cf 13190 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13191 (completion-try-completion, completion-all-completions): Compute the
13192 metadata argument if it's missing; make it optional (bug#8795).
13193
60a406cf 13194 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13195 (widget-complete): Use new :completion-function property.
13196 (widget-completions-at-point): New function.
13197 (default): Use :completion-function instead of :complete.
60a406cf
SM
13198 (widget-default-completions): Rename from widget-default-complete;
13199 Rewrite.
bcd70d97
SM
13200 (widget-string-complete, widget-file-complete, widget-color-complete):
13201 Remove functions.
13202 (file, symbol, function, variable, coding-system, color):
13203 * international/mule-cmds.el (default-input-method, charset)
13204 (language-info-custom-alist):
13205 * cus-edit.el (face): Use new property :completions.
13206
13207 * progmodes/pascal.el (pascal-completions-at-point): New function.
13208 (pascal-mode): Use it.
13209 (pascal-mode-map): Use completion-at-point.
13210 (pascal-toggle-completions): Make obsolete.
13211 (pascal-complete-word, pascal-show-completions):
13212 * progmodes/octave-mod.el (octave-complete-symbol):
13213 Redefine as obsolete alias.
13214 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13215 Signal absence of completion info for old Octave,
13216 (inferior-octave-complete): Redefine as obsolete alias.
13217 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13218 (meta-completions-at-point): Rename from meta-complete-symbol and
13219 adapt it for use on completion-at-point-functions.
13220 (meta-common-mode): Use it.
13221 (meta-looking-at-backward, meta-match-buffer): Remove.
13222 (meta-complete-symbol): Redefine as obsolete alias.
13223 (meta-common-mode-map): Use completion-at-point.
13224 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13225 (makefile-mode-map): Use completion-at-point.
13226 (makefile-completions-at-point): Rename from makefile-complete and
13227 adapt it for use on completion-at-point-functions.
13228 (makefile-mode): Use it.
13229 (makefile-complete): Redefine as obsolete alias.
13230
aebf69c8
DD
132312011-06-20 Deniz Dogan <deniz@dogan.se>
13232
13233 * net/rcirc.el: Delete trailing whitespaces once and for all.
13234
bfbbb27d
DC
132352011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13236
13237 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13238
d264a46b
CY
132392011-06-19 Chong Yidong <cyd@stupidchicken.com>
13240
4ca009e5
CY
13241 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13242
d264a46b
CY
13243 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13244
fbf5b3ce
MR
132452011-06-19 Martin Rudalics <rudalics@gmx.at>
13246
13247 * window.el (display-buffer-other-window-means-other-frame):
13248 Call display-buffer-normalize-alist.
13249 (display-buffer-normalize-specifiers-1): Rename to
13250 display-buffer-normalize-argument. New argument other-frame.
13251 Rewrite.
13252 (display-buffer-normalize-specifiers-2): Rename to
13253 display-buffer-normalize-options.
13254 (display-buffer-normalize-alist-1): New function.
13255 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13256 display-buffer-normalize-alist.
13257 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13258 (display-buffer-normalize-options-inhibit): New variable.
13259 (display-buffer-normalize-specifiers): Rewrite calling
13260 display-buffer-normalize-alist,
13261 display-buffer-normalize-argument, and
13262 display-buffer-normalize-options. Don't call the latter if
13263 display-buffer-normalize-options-inhibit is non-nil.
13264 (frame-auto-delete): New option.
13265 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13266 (window-list-no-nils, window-state-ignored-parameters)
13267 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13268 (window-state-put-1, window-state-put-2, window-state-put):
13269 New functions.
9a028c23
MR
13270 (display-buffer-normalize-options): Move special-display-p group
13271 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13272
6d10d800
CY
132732011-06-18 Chong Yidong <cyd@stupidchicken.com>
13274
6420d28b
CY
13275 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13276 groups (Bug#8776).
13277 (rx-submatch-n): New function.
13278 (rx): Document it.
13279
ddb8b596
CY
13280 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13281 (Bug#8768).
13282
13283 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13284
77080289
CY
13285 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13286
61dfb316
CY
13287 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13288 anytime existing face settings are present (Bug#8889).
13289
6d10d800
CY
13290 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13291 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13292 Remove unused argument.
13293
be3fb2b8
MR
132942011-06-18 Martin Rudalics <rudalics@gmx.at>
13295
bcd70d97
SM
13296 * window.el (display-buffer-default-specifiers):
13297 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13298 pop-up-window-min-width, and another reuse-window specifier
13299 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13300 (display-buffer-normalize-specifiers-2):
13301 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13302 pop-up-windows is unset. Add a reuse-window specifier for the
13303 case popping up a new window fails.
13304 (special-display-popup-frame): Remove double quoting.
28dec25a 13305 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13306
1c6d8c76
SM
133072011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13310 according to comint-completion-addsuffix.
13311
13312 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13313 (pcomplete-suffix-list): Mark as obsolete.
13314 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13315 pcomplete-seen in the closure.
13316 (pcomplete-comint-setup): Setup completion-at-point as well.
13317 (pcomplete--entries): New function.
13318 (pcomplete--env-regexp): New var.
13319 (pcomplete-entries): Rewrite to work with partial-completion and
13320 without relying on pcomplete-suffix-list.
13321 (pcomplete-pare-list): Remove, unused.
13322
25aef8b8
MR
133232011-06-17 Martin Rudalics <rudalics@gmx.at>
13324
13325 * window.el (display-buffer-alist): Set pop-up-window-min-height
13326 and pop-up-window-min-width in default value. Reported by
13327 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13328 other-window-means-other-frame.
13329 (display-buffer-macro-specifiers): Comment out entry for
13330 other-window specifier.
13331 (display-buffer-other-window-means-other-frame): New function.
13332 (display-buffer-normalize-specifiers-1): New arguments
13333 buffer-name and label. Treat other-window case specially.
13334 (display-buffer-normalize-specifiers-2): Treat other-window case
13335 specially.
13336 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13337 (display-buffer-normalize-specifiers):
13338 Call display-buffer-normalize-specifiers-3.
25aef8b8 13339
dbad4f69
MR
133402011-06-17 Martin Rudalics <rudalics@gmx.at>
13341
13342 * window.el (same-window-p): Fix two typos introduced when
13343 adding with-no-warnings.
d1067961
MR
13344 (display-buffer-normalize-specifiers-1): Don't check
13345 pop-up-frames for 'unset initialization.
13346 (display-buffer-normalize-specifiers-2): Major rewrite using
13347 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13348 (pop-up-frames, display-buffer-reuse-frames)
13349 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13350 Suggested by David Engster <deng@randomsample.de>.
13351 (even-window-heights): Initialize to 'unset.
13352 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13353 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13354 other window case.
dbad4f69 13355
9b9c9e3a
MR
133562011-06-16 Martin Rudalics <rudalics@gmx.at>
13357
bcd70d97
SM
13358 * window.el (display-buffer-normalize-specifiers-1):
13359 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13360 second argument of display-buffer (Bug#8865).
981d5c09
MR
13361 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13362 (switch-to-buffer-other-window-same-frame)
13363 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13364 Adams (Bug#8875).
9c2755e9
MR
13365 (display-buffer): Don't check noninteractive when calling
13366 display-buffer-pop-up-frame.
13367 (display-buffer-pop-up-frame): Never pop up a frame in
13368 noninteractive mode (Bug#8857).
67222e1d
MR
13369 (enlarge-window, shrink-window): Don't report an error when the
13370 window can't be resized as requested (Bug#8862).
9b9c9e3a 13371
2b75be67
SM
133722011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13373
9ffdd3ba
SM
13374 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13375
cb581a67
SM
13376 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13377
2b75be67
SM
13378 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13379
8c0e3589
AM
133802011-06-15 Alan Mackenzie <acm@muc.de>
13381
cb581a67
SM
13382 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13383 for declarators, disable knr checking to speed up for normal files.
13384 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13385
b96e6cde
LMI
133862011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13387
4bba86e6
LMI
13388 * net/network-stream.el (open-network-stream): Add the keyword
13389 :always-query-capabilities for the case where you want to force a
13390 `plain' network connection, but the protocol still requires the
13391 capabilitiy command (i.e., SMTP and EHLO).
13392
2b75be67 13393 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13394 consistency with other `-live-p' functions.
13395
efdcdbf8
SM
133962011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * window.el (same-window-buffer-names, same-window-regexps)
13399 (special-display-frame-alist, special-display-popup-frame)
13400 (special-display-function, special-display-buffer-names)
13401 (special-display-regexps, pop-up-frame-alist)
13402 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13403 (pop-up-windows, split-window-preferred-function)
13404 (split-height-threshold, split-width-threshold, even-window-heights)
13405 (display-buffer-mark-dedicated): Don't encourage the use of
13406 display-buffer-alist from Elisp code.
13407
c5cde042
DN
134082011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13409
13410 * progmodes/python.el (python-mode): Derive from prog-mode.
13411 * progmodes/ps-mode.el (ps-mode):
13412 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13413 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13414 * progmodes/ld-script.el (ld-script-mode): Likewise.
13415
baa1c9ab
MR
134162011-06-15 Martin Rudalics <rudalics@gmx.at>
13417
13418 * window.el (display-buffer-alist): Trim default value to avoid
13419 popping up a new frame (Bug#8857) or reusing an arbitrary window
13420 on another frame.
13421 (display-buffer): Do not fall back on popping up a new frame in
13422 batch mode (Bug#8857).
13423
c5dd5a51
CY
134242011-06-14 Chong Yidong <cyd@stupidchicken.com>
13425
13426 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13427 (custom-theme-summary): New function.
13428 (customize-themes): Use it.
13429
d647b7c4
GM
134302011-06-13 Glenn Morris <rgm@gnu.org>
13431
13432 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13433
9481c002
MR
134342011-06-13 Martin Rudalics <rudalics@gmx.at>
13435
357f93d2
MR
13436 * help.el (help-window): Remove variable.
13437 (help-window-point-marker, temp-buffer-max-height)
13438 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13439 (help-print-return-message): Don't set help-window.
13440 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13441 (help-window-setup-finish): Remove.
13442 (help-window-display-message, help-window-setup)
13443 (with-help-window): Major rewrite based on new
13444 display-buffer-window variable.
13445
13446 * help-mode.el (help-mode-finish): Remove help-window related
13447 code.
13448
13449 * view.el (view-exits-all-viewing-windows): Remove reference to
13450 view-return-to-alist in doc-string.
13451 (view-return-to-alist): Make obsolete.
13452 (view-buffer): Call pop-to-buffer-same-window and remove
13453 undo-window code.
13454 (view-buffer-other-window): Call pop-to-buffer-other-window and
13455 simplify code. Ignore second argument.
13456 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13457 simplify code. Ignore second argument.
13458 (view-return-to-alist-update): Make obsolete.
13459 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13460 Rewrite using quit-restore window parameters.
2b75be67
SM
13461 (view-mode-exit): Rename second argument to EXIT-ONLY.
13462 Rewrite using quit-restore-window.
357f93d2
MR
13463 (View-exit, View-exit-and-edit, View-leave, View-quit)
13464 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13465 appropriate arguments.
13466 (view-end-message): Use quit-restore window parameter.
13467
9481c002
MR
13468 * window.el (display-buffer-function): Rewrite doc-string.
13469 (display-buffer-window, display-buffer-alist): New variables.
13470 (display-buffer-split-specifiers)
13471 (display-buffer-side-specifiers)
13472 (display-buffer-macro-specifiers): New constants.
13473 (display-buffer-even-window-sizes, display-buffer-set-height)
13474 (display-buffer-set-width, display-buffer-select-window)
13475 (display-buffer-in-window, display-buffer-reuse-window)
13476 (display-buffer-split-window-1, display-buffer-split-window)
13477 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13478 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13479 (display-buffer-in-side-window, normalize-buffer-to-display)
13480 (display-buffer-normalize-specifiers-1)
13481 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13482 (display-buffer-normalize-specifiers, display-buffer-frame):
13483 New functions.
9481c002
MR
13484 (display-buffer): Major rewrite.
13485 (display-buffer-other-window, display-buffer-other-frame)
13486 (pop-to-buffer, switch-to-buffer-other-window)
13487 (switch-to-buffer-other-frame): Rewrite.
13488 (display-buffer-same-window, display-buffer-same-frame)
13489 (display-buffer-same-frame-other-window)
13490 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13491 (pop-to-buffer-other-window)
13492 (pop-to-buffer-same-frame-other-window)
13493 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13494 (switch-to-buffer-other-window-same-frame): New functions.
13495 (same-window-p, special-display-p): Rewrite disabling warnings.
13496 Make obsolete.
13497 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13498 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13499 Make obsolete
13500 (same-window-buffer-names, same-window-regexps)
13501 (special-display-frame-alist, special-display-popup-frame)
13502 (special-display-function, special-display-buffer-names)
13503 (special-display-regexps, pop-up-frame-alist)
13504 (pop-up-frame-function, split-window-preferred-function)
13505 (split-height-threshold, split-width-threshold)
13506 (even-window-heights): Make obsolete.
13507
9db51aca
GM
135082011-06-12 Glenn Morris <rgm@gnu.org>
13509
13510 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13511 Misc simplifications.
9db51aca 13512
39cffb44
MR
135132011-06-12 Martin Rudalics <rudalics@gmx.at>
13514
13515 * window.el (window-safely-shrinkable-p): Restore function which
13516 was inadvertently removed in change from 2011-06-11. Declare as
13517 obsolete.
13518
2b75be67
SM
13519 * calendar/calendar.el (calendar-generate-window):
13520 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13521 window-safely-shrinkable-p.
13522
a8955be7
GM
135232011-06-12 Glenn Morris <rgm@gnu.org>
13524
13525 * progmodes/fortran.el (fortran-mode-syntax-table):
13526 * progmodes/f90.el (f90-mode-syntax-table):
13527 Set % to punctuation. (Bug#8820)
13528 (f90-find-tag-default): Remove, no longer needed.
13529
f0d4059d
DC
135302011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13531
13532 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13533
1100a63c
CY
135342011-06-11 Chong Yidong <cyd@stupidchicken.com>
13535
13536 * image.el (image-animated-p): Return animation delay in seconds.
13537 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13538 (image-animate-timeout): Remove DELAY argument. Don't assume
13539 every subimage has the same delay; get it from image-animated-p.
13540 (image-animate): Caller changed.
13541
def722bf
MA
135422011-06-11 Michael Albinus <michael.albinus@gmx.de>
13543
13544 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13545 to ignored backtrace functions.
13546
0a2bb1a9
GM
135472011-06-11 Glenn Morris <rgm@gnu.org>
13548
13549 * calendar/appt.el (appt-disp-window-function): Doc fix.
13550 (appt-check): Handle overlapping appointments. (Bug#8337)
13551
6198ccd0
MR
135522011-06-11 Martin Rudalics <rudalics@gmx.at>
13553
13554 * window.el (window-tree-1, window-tree): New functions, moving
13555 the latter to window.el.
13556 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13557 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13558 (bw-refresh-edges): Remove.
13559 (balance-windows-1, balance-windows-2): New functions.
13560 (balance-windows): Rewrite in terms of window tree functions,
13561 balance-windows-1 and balance-windows-2.
13562 (bw-adjust-window): Remove.
13563 (balance-windows-area-adjust): New function with functionality of
13564 bw-adjust-window but using resize-window.
2b75be67
SM
13565 (set-window-text-height): Rewrite doc-string.
13566 Use normalize-live-window and resize-window.
13567 (enlarge-window-horizontally, shrink-window-horizontally):
13568 Rename argument to DELTA.
6198ccd0
MR
13569 (window-buffer-height): New function.
13570 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13571 Rewrite using new window resize routines.
2b75be67
SM
13572 (kill-buffer-and-window, mouse-autoselect-window-select):
13573 Use ignore-errors instead of condition-case.
6198ccd0
MR
13574 (quit-window): Call delete-frame instead of delete-windows-on
13575 for the only buffer on frame.
13576
9397e56f
MR
135772011-06-10 Martin Rudalics <rudalics@gmx.at>
13578
13579 * loadup.el (top-level): Load window before files for the sake
13580 of replace-buffer-in-windows.
13581
13582 * files.el (read-buffer-to-switch)
13583 (switch-to-buffer-other-window)
2b75be67
SM
13584 (switch-to-buffer-other-frame, display-buffer-other-frame):
13585 Move to window.el.
9397e56f
MR
13586
13587 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13588 (previous-buffer): Move to window.el.
13589
13590 * bindings.el (unbury-buffer): Move to window.el.
13591
13592 * window.el (delete-other-windows-vertically): Move after
13593 definition of delete-other-windows.
13594 (other-window, delete-windows-on, replace-buffer-in-windows):
13595 Move here from window.c.
13596 (record-window-buffer, unrecord-window-buffer)
13597 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13598 (switch-to-next-buffer): New functions.
13599 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13600 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13601 (previous-buffer): Move here from simple.el.
13602 Call switch-to-prev-buffer.
9397e56f
MR
13603 (bury-buffer): Move here from buffer.c. Switch to previous
13604 buffer when window cannot be deleted.
13605 (unbury-buffer): Move here from bindings.el.
13606 (ctl-x-map): Move binding for other-window from window.c to
13607 here.
13608 (read-buffer-to-switch, switch-to-buffer-other-window)
13609 (switch-to-buffer-other-frame): Move here from files.el.
13610 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13611 (switch-to-buffer): Move here from buffer.c.
13612 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13613
562dd5e9
MR
136142011-06-10 Martin Rudalics <rudalics@gmx.at>
13615
13616 * window.el (window-min-height, window-min-width): Move here
13617 from window.c. Add defcustoms and rewrite doc-strings.
13618 (resize-mini-window, resize-window): New functions.
13619 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13620 Move here from window.c.
13621 (maximize-window, minimize-window): New functions.
13622 (delete-window, delete-other-windows, split-window): Move here
13623 from window.c.
13624 (window-split-min-size): New function.
13625 (split-window-keep-point): Mention split-window-above-each-other
13626 instead of split-window-vertically.
2b75be67 13627 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13628 Rename split-window-vertically to split-window-above-each-other
13629 and provide defalias for old definition.
13630 (split-window-side-by-side, split-window-horizontally):
13631 Rename split-window-horizontally to split-window-side-by-side
13632 and provide defalias for the old definition.
562dd5e9
MR
13633 (ctl-x-map): Move bindings for delete-window,
13634 delete-other-windows and enlarge-window here from window.c.
13635 Replace bindings for split-window-vertically and
13636 split-window-horizontally by bindings for
13637 split-window-above-each-other and split-window-side-by-side.
13638
13639 * cus-start.el (all): Remove entries for window-min-height and
13640 window-min-width. Add entries for window-splits and
13641 window-nest.
13642
f0da764a
GM
136432011-06-09 Glenn Morris <rgm@gnu.org>
13644
80675c21
GM
13645 * calendar/appt.el (appt-mode-line): New function.
13646 (appt-check, appt-disp-window): Use it.
13647
f0da764a
GM
13648 * files.el (hack-one-local-variable-eval-safep):
13649 Allow minor-modes with explicit +/-1 arguments.
13650
59f623b7
TZ
136512011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13652
13653 * term/xterm.el (xterm): Add defgroup.
13654 (xterm-extra-capabilities): Add defcustom to supply known xterm
13655 capabilities, skip querying them, or query them (default).
13656 (terminal-init-xterm): Use it.
13657 (terminal-init-xterm-modify-other-keys): New function to set up
13658 modifyOtherKeys support to simplify `terminal-init-xterm'.
13659
9aab8e0d
MR
136602011-06-09 Martin Rudalics <rudalics@gmx.at>
13661
13662 * window.el (resize-window-reset, resize-window-reset-1)
13663 (resize-subwindows-skip-p, resize-subwindows-normal)
13664 (resize-subwindows, resize-other-windows, resize-this-window)
13665 (resize-root-window, resize-root-window-vertically)
13666 (window-deletable-p, window-or-subwindow-p)
13667 (frame-root-window-p): New functions.
13668
e8b08aee
GM
136692011-06-09 Glenn Morris <rgm@gnu.org>
13670
13671 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13672 (ange-ftp-get-files): Use it.
13673
254c37a5
AK
136742011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13675
13676 * mail/sendmail.el (mail-recover-1, mail-recover):
13677 * files.el (recover-file, recover-session):
13678 Handle dired-listing-switches not being just a single short option.
13679
35d7dbd3
GM
136802011-06-09 Glenn Morris <rgm@gnu.org>
13681
13682 * calendar/appt.el (appt-display-message, appt-disp-window):
13683 Handle lists of appointments.
13684
387522b2
MR
136852011-06-08 Martin Rudalics <rudalics@gmx.at>
13686
2b75be67
SM
13687 * window.el (one-window-p): Move down in code.
13688 Rewrite doc-string.
13689 (window-current-scroll-bars): Rewrite doc-string.
13690 Normalize live window argument.
387522b2
MR
13691 (walk-windows, get-window-with-predicate, count-windows):
13692 Rewrite doc-string. Use window-list-1.
13693 (window-in-direction-2, window-in-direction, get-mru-window):
13694 New functions.
13695
d8e4b68b 136962011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
13697
13698 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13699 Doc fix (Bug#8713).
13700
137012011-06-08 Chong Yidong <cyd@stupidchicken.com>
13702
13703 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13704
137052011-06-08 Juanma Barranquero <lekktu@gmail.com>
13706
13707 * loadhist.el (unload-feature-special-hooks):
13708 Add `comint-output-filter-functions'.
13709
0de12c52
IK
137102011-06-08 Ivan Kanis <gnu@kanis.fr>
13711
13712 * calendar/appt.el (appt-check): Move some initializations into the let.
13713
f3d1777e
MR
137142011-06-08 Martin Rudalics <rudalics@gmx.at>
13715
13716 * window.el (window-height): Defalias to window-total-height.
13717 (window-width): Defalias to window-body-width.
13718
18af70d0
CY
137192011-06-07 Chong Yidong <cyd@stupidchicken.com>
13720
13721 * image-mode.el (image-toggle-animation): New command.
13722 (image-mode-map): Bind it to RET.
13723 (image-mode): Update message.
13724 (image-toggle-display-image): Avoid a spurious cache flush.
13725 (image-transform-rotation): Doc fix.
13726 (image-transform-properties): Return quickly in the normal case.
13727 (image-animate-loop): Rename from image-animate-max-time.
13728
2b75be67 13729 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
13730 (create-animated-image): Remove unnecessary function.
13731 (image-animate): Rename from image-animate-start. New arg.
2b75be67 13732 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
13733 (image-animate-timer): Use car-safe.
13734 (image-animate-timeout): Rename argument.
13735
190b47e6
MR
137362011-06-07 Martin Rudalics <rudalics@gmx.at>
13737
13738 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
13739 window.c. Rename first argument to ALL-FRAMES.
13740 Rephrase doc-strings.
13741 (get-buffer-window-list): Rewrite using window-list-1.
13742 Rephrase doc-string.
a1511caf
MR
13743 (window-safe-min-height, window-safe-min-width): New constants.
13744 (window-size-ignore, window-min-size, window-min-size-1)
13745 (window-sizable, window-sizable-p, window-size-fixed-1)
13746 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13747 (window-max-delta-1, window-max-delta, window-resizable)
13748 (window-resizable-p, window-total-height, window-total-width)
13749 (window-body-width): New functions.
13750 (window-full-height-p, window-full-width-p): Rewrite using
13751 window-total-size.
13752 (window-body-height): Rewrite using window-body-size.
190b47e6 13753
85cc1f11
MR
137542011-06-06 Martin Rudalics <rudalics@gmx.at>
13755
13756 * window.el (window-right, window-left, window-child)
13757 (window-child-count, window-last-child, window-any-p)
13758 (normalize-live-buffer, normalize-live-frame)
13759 (normalize-any-window, normalize-live-window)
13760 (window-iso-combination-p, window-iso-combined-p)
13761 (window-iso-combinations)
13762 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13763 (windows-with-parameter, window-with-parameter)
13764 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
13765 (window-atom-check, window-side-check, window-check):
13766 New functions.
85cc1f11
MR
13767 (ignore-window-parameters, window-sides, window-sides-vertical)
13768 (window-sides-slots): New variables.
13769 (window-size-fixed): Move down in code. Minor doc-string fix.
13770
e7156492
AS
137712011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13772
13773 * comint.el (comint-dynamic-complete-as-filename)
13774 (comint-dynamic-complete-filename): Correctly call
13775 completion-in-region.
13776
7e821d0d
DD
137772011-06-05 Deniz Dogan <deniz@dogan.se>
13778
13779 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13780 in last change.
13781
ac09b8a1
DD
137822011-06-05 Deniz Dogan <deniz@dogan.se>
13783
13784 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13785 (rcirc): Use it to prompt for encryption.
13786
34699b85
RW
137872011-06-05 Roland Winkler <winkler@gnu.org>
13788
13789 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13790 (bibtex-search-entries): New command bound to C-c C-a.
13791 (bibtex-display-entries): New function.
13792
004dedd3
RW
137932011-06-05 Roland Winkler <winkler@gnu.org>
13794
13795 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13796 (bibtex-insert-kill): After yanking insert newline if necessary.
13797 (bibtex-initialize): Call bibtex-string-files-init only once.
13798 (bibtex-mode): Do not call easy-menu-add.
13799 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13800 (bibtex-yank): Set arg properly if nil.
13801
022fe7ce
RW
138022011-06-05 Roland Winkler <winkler@gnu.org>
13803
2b75be67
SM
13804 * textmodes/bibtex.el (bibtex-search-entry-globally):
13805 New variable.
022fe7ce
RW
13806 (bibtex-search-entry): Use it.
13807
b7c3692a
RW
138082011-06-05 Roland Winkler <winkler@gnu.org>
13809
13810 * textmodes/bibtex.el (bibtex-entry-format): New option
13811 sort-fields.
13812 (bibtex-format-entry, bibtex-reformat): Honor this option.
13813 (bibtex-parse-entry): Return fields in proper order.
13814
8eda563d
JB
138152011-06-05 Juanma Barranquero <lekktu@gmail.com>
13816
13817 * doc-view.el (doc-view-remove-if): Move computation of result out
13818 of `dolist' to silence misleading lexical-binding warning.
13819
7dbe3dbc
CY
138202011-06-04 Chong Yidong <cyd@stupidchicken.com>
13821
13822 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13823 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13824
0c33dd17
MA
138252011-06-04 Michael Albinus <michael.albinus@gmx.de>
13826
13827 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13828 "SunOS 5.10".
13829
f8f91c2b
MA
138302011-06-04 Michael Albinus <michael.albinus@gmx.de>
13831
13832 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13833 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13834 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13835 (tramp-parse-putty):
13836 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13837 (tramp-completion-function-alist-ssh)
13838 (tramp-completion-function-alist-telnet)
13839 (tramp-completion-function-alist-su)
13840 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13841 cookie.
13842
13843 * net/tramp-ftp.el:
13844 * net/tramp-sh.el:
13845 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13846 load "tramp.el" `tramp-set-completion-function'.
13847
e17d9003
SM
138482011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * shell.el: Require and use pcomplete.
13851 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13852 (shell-completion-vars): Set pcomplete-default-completion-function.
13853
6c4cab03
DD
138542011-06-04 Deniz Dogan <deniz@dogan.se>
13855
13856 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13857 `memq' (Bug#8799).
13858
ea9fafe0
SM
138592011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13862
b3e945d3
JB
138632011-06-02 Juanma Barranquero <lekktu@gmail.com>
13864
13865 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13866 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13867 * vc/log-view.el (log-view-beginning-of-defun):
13868 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13869 (smerge-refine-forward, smerge-refine-chopup-region):
13870 Silence warning for unused `dotimes' counter variables.
13871
7d520089
SM
138722011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13873
13874 * net/tramp.el (tramp-with-progress-reporter): Rename from
13875 with-progress-reporter. Use `declare'.
13876 * net/tramp-smb.el:
13877 * net/tramp-sh.el:
13878 * net/tramp-gvfs.el: Update all uses.
13879
a1c2400f
JB
138802011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13881
13882 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13883 buffer isn't killed before making it current.
13884
2403c841
SM
138852011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 Silence various byte-compiler warnings.
13888 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13889 `access-type' and new obsolescence format.
13890 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13891 new format.
13892 (byte-compile-check-variable): New `access-type' argument.
13893 Only warn if the access-type is obsolete.
13894 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13895 (byte-compile-variable-set): Adjust callers.
13896 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13897 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13898 setting it as obsolete.
13899 * simple.el (minibuffer-completing-symbol):
13900 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13901 access as obsolete.
13902 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13903 obsolete yet.
13904 * international/quail.el (quail-mouse-choose-completion): Remove unused
13905 code referring to obsolete var.
13906 (quail-choose-completion-string): Remove.
13907 * server.el (server-clients-with, server-kill-buffer-query-function)
13908 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13909 * proced.el (proced-send-signal):
13910 * emacs-lisp/lisp.el (lisp-complete-symbol):
13911 Replace completion-annotate-function with completion-extra-properties.
13912
2462470b
SM
139132011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13914
fb5b2591
SM
13915 * simple.el (goto-line): Use read-number.
13916 (overriding-map-is-bound): Remove.
13917 (saved-overriding-map): Change default.
13918 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13919 Take the map as argument.
13920 (universal-argument, negative-argument, digit-argument): Use it.
13921 (restore-overriding-map): Adjust.
13922 (do-auto-fill): Use fill-forward-paragraph.
13923 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13924
fd6fa53f
SM
13925 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13926 (minibuffer-inactive-mode): New major mode.
13927 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13928 the *Messages* buffer" hack.
13929 (mouse-popup-menubar): Don't burp if the event is a normal key.
13930
2462470b
SM
13931 Miscellaneous tweaks.
13932 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13933 lexical scoping as in subr.el's dolist and dotimes.
13934 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13935 Silence compiler warning.
13936 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13937 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13938 * international/ccl.el (ccl-compile): Trivial simplification.
13939 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13940 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13941 `printflag' argument.
13942 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13943 Purecopy the whole obsolescence data.
13944
108bf785
LL
139452011-06-01 Leo Liu <sdl.web@gmail.com>
13946
13947 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
13948 improve doc-string as suggested by Marco Pessotto
13949 <melmothx@gmail.com>.
13950 (rcirc-print): Fix last change.
13951
30a23501
SM
139522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * minibuffer.el (complete-with-action): Return nil for the metadata and
13955 boundaries of non-functional tables.
13956 (completion-table-dynamic): Return nil for the metadata.
13957 (completion-table-with-terminator): Add default case, using
13958 complete-with-action.
13959 (completion--metadata): New function.
13960 (completion-all-sorted-completions, minibuffer-completion-help): Use it
13961 to try and avoid pathological performance problems.
13962 (completion--embedded-envvar-table): Return `category' metadata.
13963
bcd54f83
LMI
139642011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
13965
13966 * subr.el (process-alive-p): New tiny convenience function.
13967
e227544d
SM
139682011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13969
13970 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
13971 content but also its previous major mode.
13972
e8296fdc
HE
139732011-05-31 Helmut Eller <eller.helmut@gmail.com>
13974
4d61f28d 13975 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
13976 *Backtrace* buffer when we exit with C-M-c.
13977
620c53a6
SM
139782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13979
13980 * minibuffer.el: Add metadata method to completion tables.
13981 (completion-category-overrides): New defcustom.
13982 (completion-metadata, completion--field-metadata)
13983 (completion-metadata-get, completion--styles)
13984 (completion--cycle-threshold): New functions.
13985 (completion-try-completion, completion-all-completions):
13986 Add `metadata' argument to choose completion-styles.
13987 (completion--do-completion): Use metadata to choose cycling.
13988 (completion-all-sorted-completions): Use metadata for sorting.
13989 Remove :completion-cycle-penalty which is not needed any more.
13990 (completion--try-word-completion): Add `metadata' argument.
13991 (minibuffer-completion-help): Check metadata for annotation function
13992 and sorting.
13993 (completion-file-name-table): Return `category' metadata.
13994 (minibuffer-completing-file-name): Make obsolete.
13995 * simple.el (minibuffer-completing-symbol): Make obsolete.
13996 * icomplete.el (icomplete-completions): Pass new `metadata' param to
13997 completion-try-completion.
13998
1257e755
SM
139992011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14000
14001 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14002
3767e706
LL
140032011-05-30 Leo Liu <sdl.web@gmail.com>
14004
14005 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14006 (rcirc-print): Decode all incoming messages (bug#8744).
14007 (rcirc-decode-coding-system): Allow value nil for automatic coding
14008 system detection.
3767e706 14009
d1a5d56a
GM
140102011-06-01 Glenn Morris <rgm@gnu.org>
14011
14012 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14013
e8cbec34
CY
140142011-05-29 Chong Yidong <cyd@stupidchicken.com>
14015
14016 * image.el (image-animate-max-time): Allow nil and t values.
14017 Default to nil.
14018 (create-animated-image): Doc fix.
14019 (image-animate-start): Remove second arg; just use
14020 image-animate-max-time.
14021 (image-animate-timeout): Doc fix. Args changed.
14022
14023 * image-mode.el (image-toggle-display-image): Ensure that the
14024 image spec passed to the animate timer is the same object as in
58179cce 14025 the buffer's display property (Bug#6981).
e8cbec34
CY
14026 (image-transform-properties): Doc fix.
14027
14028 * image.el (image-animate-max-time): Default to nil.
14029
159daf87
MR
140302011-05-29 Martin Rudalics <rudalics@gmx.at>
14031
14032 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14033 entire buffer list (Bug#8184).
14034
d66c4c7c
CY
140352011-05-29 Chong Yidong <cyd@stupidchicken.com>
14036
14037 * image.el (imagemagick-types-inhibit)
14038 (imagemagick-register-types): Doc fix.
14039
80aec780
DD
140402011-05-29 Deniz Dogan <deniz@dogan.se>
14041
14042 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14043 default.
14044
1dd3c2d9
CY
140452011-05-29 Chong Yidong <cyd@stupidchicken.com>
14046
14047 * select.el: Don't perform clipboard-manager saving in hooks;
14048 leave the hooks empty.
14049
60e56523
LL
140502011-05-28 Leo Liu <sdl.web@gmail.com>
14051
14052 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14053 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14054 (occur-edit-mode): New major mode (Bug#8463).
14055 (occur-after-change-function): New function.
14056 (occur-engine): Give Occur tags a read-only property.
14057
2b1e1a22
KR
140582011-05-28 Kevin Ryde <user42@zip.com.au>
14059
14060 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14061
5d344e88
CY
140622011-05-28 Chong Yidong <cyd@stupidchicken.com>
14063
8e6ca83d
CY
14064 * bindings.el (help-echo): Make the initial non-indicator dash
14065 empty on graphical terminals (Bug#7295).
14066
5d344e88
CY
14067 * files.el (auto-mode-alist): Move config rule after the
14068 in-stripping one (Bug#8547).
14069
bfbbace7
CY
14070 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14071
fbeba6e2
CY
14072 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14073 setting (Bug#8740).
14074
60ed8c72
AA
140752011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14076
4ac619f0
AA
14077 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14078 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14079 (Bug#8539).
60ed8c72 14080
23db196e
CY
140812011-05-28 Chong Yidong <cyd@stupidchicken.com>
14082
14083 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14084
5012f24c
DK
140852011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14086
14087 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14088 (hs-hide-block-at-point, hs-find-block-beginning)
14089 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14090 (Bug#8279).
14091
6a639b16
GM
140922011-05-28 Glenn Morris <rgm@gnu.org>
14093
14094 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14095
d43eaf2c
CY
140962011-05-28 Chong Yidong <cyd@stupidchicken.com>
14097
5199bde1
CY
14098 * help-fns.el (describe-function-1): If the function is a derived
14099 major mode, print the parent mode.
14100
d43eaf2c
CY
14101 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14102 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14103
423428a8
SM
141042011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14105
0ff8e1ba 14106 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14107 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14108 * progmodes/etags.el (tags-completion-at-point-function):
14109 * info-look.el (info-lookup-completions-at-point): Mark as
14110 non-exclusive.
14111 (info-complete): Adjust accordingly.
14112
423428a8
SM
14113 * info-look.el: Convert to lexical-binding and completion-at-point.
14114 (info-lookup-completions-at-point): New function.
14115 (info-complete): Use it and completion-in-region.
14116
b74aa22b
DA
141172011-05-28 Drew Adams <drew.adams@oracle.com>
14118
14119 * isearch.el: Let M-e start with point at the first mismatched char.
14120 (isearch-fail-pos): New function.
14121 (isearch-edit-string): Use it.
14122
66e2e71d
DK
141232011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14124
14125 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14126
b1890b0f 141272011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14128
14129 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14130 traversal functions for avl-trees.
14131 (avl-tree--stack): New struct.
14132 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14133 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14134 (avl-tree--do-enter): Add optional `updatefun' arg.
14135 Change return value.
eb95d01d 14136 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14137 (avl-tree--do-delete): Add `test' and `nilflag' args.
14138 Change return value.
eb95d01d
TC
14139 (avl-tree-member): Add optional `nilflag'
14140 (avl-tree-member-p): New function.
14141 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14142 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14143 (avl-tree-stack-empty-p): New functions.
14144
3769ddcf
TC
14145 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14146 avl-tree--del-balance1 and make it work both ways.
14147 (avl-tree--del-balance2): Remove.
14148 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14149 make it work both ways.
14150 (avl-tree--enter-balance2): Remove.
14151 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14152 New macros.
14153 (avl-tree--mapc, avl-tree-map): Add direction argument.
14154
eb95d01d 141552011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14156
14157 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14158
a9f737ee
CY
141592011-05-27 Chong Yidong <cyd@stupidchicken.com>
14160
14161 * select.el: Support clipboard managers with built-in function
14162 x-clipboard-manager-save, via delete-frame-functions and
14163 kill-emacs-hook.
14164 (xselect-convert-to-targets): Add MULTIPLE target to list.
14165 (xselect-convert-to-save-targets): New function.
14166
c92a1e54
KH
141672011-05-27 Kenichi Handa <handa@m17n.org>
14168
14169 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14170 let-binding rfc2047-encode-encoded-words to nil.
14171
e145f188
GM
141722011-05-27 Glenn Morris <rgm@gnu.org>
14173
5ec8a862
GM
14174 * mail/emacsbug.el: Don't require url-util.
14175
4b29d9fb
GM
14176 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14177
e145f188
GM
14178 * files.el (set-auto-mode):
14179 Also respect mode: entries at the end of the file. (Bug#8586)
14180
7d15102b
GM
141812011-05-26 Glenn Morris <rgm@gnu.org>
14182
98f593b8
GM
14183 * files.el (hack-local-variables-prop-line, hack-local-variables):
14184 Downcase mode names, as seems to be traditional.
27b48e63 14185 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14186
7d15102b
GM
14187 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14188 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14189
51d5b4ec
JD
141902011-05-25 Julien Danjou <julien@danjou.info>
14191
14192 * textmodes/rst.el (rst-define-level-faces): Do not define face
14193 symbol if it is already defined.
14194
91513f63
VB
141952011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14196
14197 * play/5x5.el (5x5-new-game, 5x5-randomize):
14198 Reset 5x5-solver-output to nil when a new grid is cast.
14199 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14200 these debugging traces, as defmacro breaks the compiled code.
14201
4d90d6d0
DK
142022011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14203
14204 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14205
e1b90ef6
LL
142062011-05-24 Leo Liu <sdl.web@gmail.com>
14207
14208 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14209 (vc-bzr-sha1): Adapt.
14210
d8e4b68b 14211 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14212
14213 * bindings.el: Provide sha1 feature.
14214
db0406bb 142152011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14216
14217 * mail/sendmail.el: Require `rfc2047'.
14218 (mail-insert-from-field): Do not perform RFC2047 encoding.
14219 (mail-encode-header): New function.
14220 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14221 buffer to the return value of select-message-coding-system.
14222 Call mail-encode-header.
b8d747b9
KH
14223
14224 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14225
db0406bb 142262011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14227
4d90d6d0
DK
14228 * mail/supercite.el (sc-default-cite-frame):
14229 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14230
eb8a5e9b
GM
142312011-05-24 Glenn Morris <rgm@gnu.org>
14232
f8630703
GM
14233 * progmodes/python.el (brm-menu): Declare.
14234
8831bbed
GM
14235 * emulation/viper.el (viper-set-hooks): Declare.
14236
eb8a5e9b
GM
14237 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14238 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14239 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14240 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14241 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14242 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14243
a2a25d24
SM
142442011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 Add an :exit-function for completion-at-point.
14247
14248 * minibuffer.el (completion--done): New fun.
14249 (completion--do-completion): Use it. New arg `expect-exact'.
14250 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14251 since completion--do-completion does it for us now.
14252 (minibuffer-force-complete): Use completion--done and
14253 completion--replace. Handle sole-completion case with more care.
14254 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14255 (completion-extra-properties): New var.
14256 (completion-annotate-function): Make obsolete.
14257 (minibuffer-completion-help): Adjust accordingly.
14258 Use completion-list-insert-choice-function.
14259 (completion-at-point, completion-help-at-point):
14260 Bind completion-extra-properties.
14261 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14262 * simple.el (completion-list-insert-choice-function): New var.
14263 (completion-setup-function): Preserve it.
14264 (choose-completion): Pay attention to it, shuffle the code a bit.
14265 (choose-completion-string): New arg `insert-function'.
14266
14267 * textmodes/bibtex.el: Convert to lexical binding.
14268 (bibtex-mode-map): Use completion-at-point.
14269 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14270 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14271 (bibtex-complete): Define as obsolete alias.
14272 (bibtex-complete-internal): Remove.
14273 (bibtex-format-entry): Remove unused sub-group in regexp.
14274 * shell.el (shell--command-completion-data)
14275 (shell-environment-variable-completion):
14276 * pcomplete.el (pcomplete-completions-at-point):
14277 * comint.el (comint--complete-file-name-data): Use :exit-function
14278 instead of completion-table-with-terminator so it also works for
14279 choose-completion.
14280
e44e373d
SM
142812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14282
4f91a816
SM
14283 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14284
782fc819
SM
14285 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14286 (bug#8710).
14287
e44e373d
SM
14288 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14289
381987c3
KM
142902011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14291
14292 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14293 customization variable and implement: If non-nil, auto-fill will
14294 be inhibited while on topic's header line.
14295
b776bc70
VB
142962011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14297
14298 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14299 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14300 always have a solution in grid size = 5 cases.
14301 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14302 (5x5-solver-output, 5x5-log-buffer): New vars.
14303 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14304 Make these variables buffer local to achieve 5x5 multi-session-ness.
14305 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14306 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14307 (5x5-solve-suggest): New funs.
14308 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14309 randomize a grid so that we ensure that there is always a solution.
14310 (5x5-make-random-grid): Allow other movement than flipping.
14311
7de88b6e
KR
143122011-05-23 Kevin Ryde <user42@zip.com.au>
14313
14314 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14315 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14316 advice and passes PREDICATE.
14317
b1ef1257
SM
143182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14319
bbca48fe
SM
14320 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14321 byte-compile-lambda if it's actually a lambda.
14322
b1ef1257
SM
14323 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14324 Fix function quoting. Use backquote better.
14325
92a9cc65
YS
143262011-05-22 Yuanle Song <sylecn@gmail.com>
14327
14328 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14329 matching (Bug#8516).
14330
f0fb8059
JA
143312011-01-22 Jari Aalto <jari.aalto@cante.net>
14332
14333 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14334 different face (Bug#8178).
14335
d5b44c93
CY
143362011-05-22 Chong Yidong <cyd@stupidchicken.com>
14337
14338 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14339 defface (Bug#8144).
14340
79106a44
SM
143412011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14342
9c848d8a
SM
14343 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14344 funcall as well (bug#8712). Warn when performing those conversions.
14345 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14346
79106a44
SM
14347 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14348
88dfa756
GM
143492011-05-22 Glenn Morris <rgm@gnu.org>
14350
14351 * files.el (hack-local-variables-prop-line): Small simplifications.
14352 (hack-local-variables, hack-local-variables-prop-line):
14353 If MODE-ONLY, return the mode, rather than just `t'.
14354
b7cf2c79
SM
143552011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14356
14357 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14358
3f1a8558
GM
143592011-05-21 Glenn Morris <rgm@gnu.org>
14360
7e4ccca3
GM
14361 * files.el (hack-local-variables-prop-line, hack-local-variables):
14362 If only interested in the mode, don't bother doing the other stuff.
14363
637d46ca
GM
14364 * image-mode.el (image-after-revert-hook):
14365 Redraw all frames on which the image is visible. (Bug#8567)
14366
973d955b
GM
14367 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14368
3f1a8558
GM
14369 * wid-edit.el (widget-checklist-match-inline):
14370 Fix 2011-04-19 change. (Bug#8649)
14371
96479927
SM
143722011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14373
1dcf791f
SM
14374 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14375 Also allow singlespace after single-letter capitals followed by a dot.
14376
96479927
SM
14377 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14378 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14379
35fd0881
N
143802011-05-20 Nix <nix@esperi.org.uk>
14381
14382 * files.el (basic-save-buffer-2):
14383 Fix handling of break-hardlink-on-save with non-existent files.
14384
82745640
DD
143852011-05-19 Deniz Dogan <deniz@dogan.se>
14386
14387 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14388 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14389
4a720484
GM
143902011-05-19 Glenn Morris <rgm@gnu.org>
14391
d1f21341
GM
14392 * progmodes/f90.el (f90-type-def-re):
14393 Handle "type, bind(c)". (Bug#8691)
14394
4a720484
GM
14395 * emacs-lisp/autoload.el (batch-update-autoloads):
14396 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14397
2fb0a219
MA
143982011-05-18 Michael Albinus <michael.albinus@gmx.de>
14399
14400 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14401 property for the correct connection in case of multihops.
14402
e565dd37
GM
144032011-05-18 Glenn Morris <rgm@gnu.org>
14404
c2571358 14405 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14406 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14407
e565dd37
GM
14408 Rationalize calendar handling of day and month abbrev-arrays.
14409 * calendar/calendar.el (calendar-customized-p): New function.
14410 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14411 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14412 Add :set function.
14413 (calendar-abbrev-length, calendar-day-abbrev-array)
14414 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14415 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14416 Elements may no longer be nil.
14417 (calendar-day-name, calendar-month-name):
14418 Update for changed nature of abbrev arrays.
14419 * calendar/diary-lib.el (diary-name-pattern):
14420 Update for changed nature of abbrev arrays.
14421 (diary-mark-entries-1): Update calendar-make-alist calls.
14422 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14423 * calendar/cal-html.el (cal-html-day-abbrev-array):
14424 Simply inherit from calendar-day-abbrev-array.
14425
1d99a745
SM
144262011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * progmodes/grep.el (grep-mode): Disable default
14429 compilation-directory-matcher setting (bug#8684).
14430
7c1d9aa0
MA
144312011-05-17 Michael Albinus <michael.albinus@gmx.de>
14432
14433 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14434 instead of "head" and "tail". There were problems with SunOS 5.9,
14435 and it performs better.
14436
3952e9d8
GM
144372011-05-17 Glenn Morris <rgm@gnu.org>
14438
2dd12e7f
GM
14439 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14440
e4157b9c
GM
14441 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14442 Replace obsolete function.
14443
8e249bbd
GM
14444 * shell.el (pcomplete-parse-arguments-function): Declare.
14445
3952e9d8
GM
14446 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14447 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14448 (appt-check): Doc fixes.
14449 (appt-disp-window-function, appt-delete-window-function):
14450 Remove needless special case in custom :type.
14451 (appt-display-count): Default to 0, not nil.
14452 (appt-check): Reset appt-display-count to 0, not nil.
14453
c71a0d48 144542011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14455
c71a0d48
GM
14456 * progmodes/python.el (python-font-lock-keywords):
14457 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14458
31d55be9
SM
144592011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14460
14461 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14462
3bfacb2f
KR
144632011-05-16 Kevin Ryde <user42@zip.com.au>
14464
14465 * info-look.el (makefile-automake-mode): New setups, looking in
14466 automake manual, then makefile-mode.
14467 (makefile-mode): Remove automake manual, have it just in
14468 makefile-automake-mode since there's various things different or
14469 not relevant to plain make.
14470 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14471 believe a hypothetical automake-mode would go to makefile-mode,
14472 not the other way around.
14473
c8e83751
CY
144742011-05-15 Chong Yidong <cyd@stupidchicken.com>
14475
5e9e35cd
CY
14476 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14477 hunk-end tags (Bug#8672).
14478
c8e83751
CY
14479 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14480 vc-annotate-show-diff-revision-at-line (Bug#8671).
14481
50b23e5a
GM
144822011-05-14 Glenn Morris <rgm@gnu.org>
14483
7210a739
GM
14484 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14485 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14486 (change-log-font-lock-keywords): Also handle multiple author lines
14487 with leading tabs. (Bug#8644)
7210a739 14488
4691905a
GM
14489 * calendar/appt.el (appt-check): Rename some local variables.
14490 Some simplification/reordering.
14491
50b23e5a
GM
14492 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14493 (feedmail-sendmail-f-doesnt-sell-me-out)
14494 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14495 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14496 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14497 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14498 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14499 (feedmail-binmail-gnulinuxish-template):
14500 Rename from feedmail-binmail-linuxish-template.
14501 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14502 Use insert-buffer-substring.
14503
215cda7c
BC
145042011-05-14 Bill Carpenter <bill@carpenter.org>
14505
14506 * mail/feedmail.el (feedmail-patch-level): Increase.
14507 (feedmail-debug): New custom group.
14508 (feedmail-confirm-outgoing-timeout)
14509 (feedmail-sendmail-f-doesnt-sell-me-out)
14510 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14511 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14512 (feedmail-sender-line, feedmail-from-line)
14513 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14514 (feedmail-spray-this-address)
215cda7c
BC
14515 (feedmail-spray-address-fiddle-plex-list)
14516 (feedmail-queue-use-send-time-for-date)
14517 (feedmail-queue-use-send-time-for-message-id)
14518 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14519 (feedmail-buffer-eating-function):
14520 Doc fixes.
14521 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14522 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14523 (feedmail-message-action-scroll-down): New functions.
14524 (feedmail-queue-directory, feedmail-queue-draft-directory):
14525 Use expand-file-name.
14526 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14527 Remove C-v help entry.
14528 (feedmail-queue-buffer-file-name): New variable.
14529 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14530 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14531 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14532 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14533 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14534 (feedmail-message-action-toggle-spray)
14535 (feedmail-run-the-queue-no-prompts)
14536 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14537 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14538 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14539 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14540 (feedmail-envelope-deducer, feedmail-fiddle-from)
14541 (feedmail-fiddle-sender, feedmail-default-date-generator)
14542 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14543 (feedmail-fiddle-spray-address)
14544 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14545 (feedmail-fiddle-list-of-fiddle-plexes)
14546 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14547 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14548 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14549 Change default. Doc fix.
14550 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14551 (feedmail-binmail-linuxish-template): New constant.
14552 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14553 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14554 (feedmail-send-it): Add debug call.
14555 Use feedmail-queue-buffer-file-name, and
14556 feedmail-send-it-immediately-wrapper.
14557 (feedmail-message-action-send): Add debug call.
14558 Use feedmail-send-it-immediately-wrapper.
14559 (feedmail-queue-express-to-queue): Add debug call.
14560 Run feedmail-queue-express-hook.
14561 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14562 (feedmail-message-action-help-blat):
14563 Rename from feedmail-queue-send-edit-prompt-help-first.
14564 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14565 Check line-endings. Handle errors better.
14566 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14567 Doc fix. Add debug call.
14568 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14569 Use feedmail-queue-send-edit-prompt-inner.
14570 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14571 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14572 from feedmail-queue-send-edit-prompt.
14573 (feedmail-queue-send-edit-prompt-help)
14574 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14575 (feedmail-tidy-up-slug): Add debug call.
14576 Respect feedmail-queue-slug-suspect-regexp.
14577 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14578 (feedmail-dump-message-to-queue): Add debug call.
14579 Expand queue-directory.
14580 (feedmail-dump-message-to-queue): Change message slightly.
14581 Use feedmail-say-chatter.
14582 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14583 (feedmail-send-it-immediately-wrapper): New function.
14584 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14585 Insert empty string rather than newline. Handle full-frame case.
14586 Use catch/throw. Use feedmail-say-chatter.
14587 (feedmail-fiddle-from): Try mail-host-address.
14588 (feedmail-default-message-id-generator): Doc fix.
14589 Bind system-time-locale. Handle missing end.
14590 (feedmail-fiddle-x-mailer): Add debug call.
14591 Handle feedmail-x-mailer-line being nil.
14592 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14593 Add debug call. Use buffer-substring-no-properties.
14594 (feedmail-say-debug, feedmail-say-chatter): New functions.
14595 (feedmail-find-eoh): Give an explicit error.
14596
42c7e61e
UJ
145972011-05-13 Ulf Jasper <ulf.jasper@web.de>
14598
c2571358 14599 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14600 family from helvetica to sans.
c2571358 14601 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14602 etc/images/newsticker.
14603
c2571358 14604 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14605 family from helvetica to sans.
14606
14607 * net/newst-plainview.el (newsticker-new-item-face)
14608 (newsticker-old-item-face, newsticker-immortal-item-face)
14609 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14610 (newsticker-statistics-face): Change default family from
42c7e61e 14611 helvetica to sans.
c2571358 14612 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14613 etc/images/newsticker.
14614
5d3385a0
JB
14615 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14616 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14617 auto-marking.
14618
8497a297
DV
146192011-05-13 Didier Verna <didier@xemacs.org>
14620
14621 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14622 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14623 TODO entries.
8497a297
DV
14624 (lisp-lambda-list-keyword-parameter-indentation)
14625 (lisp-lambda-list-keyword-parameter-alignment)
14626 (lisp-lambda-list-keyword-alignment): New customizable user options.
14627 (lisp-indent-defun-method): Improve docstring.
14628 (extended-loop-p): Fix comment.
14629 (lisp-indent-lambda-list-keywords-regexp): New variable.
14630 (lisp-indent-lambda-list): New function.
14631 (lisp-indent-259): Use it.
14632 (lisp-indent-defmethod): Support for more than one
14633 method qualifier and properly indent methods lambda-lists.
14634 (defgeneric): Provide a missing common-lisp-indent-function property.
14635
f278f87f
SM
146362011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14637
14638 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14639 bounds for the empty string (bug#8667).
14640
5233edd7
GM
146412011-05-13 Glenn Morris <rgm@gnu.org>
14642
5237a44f
GM
14643 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14644
8340026c 14645 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14646 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14647
5233edd7 14648 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14649 (appt-time-msg-list): Doc fix.
a5464014 14650 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 14651
92d10796
AS
146522011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14653
14654 * progmodes/ld-script.el (ld-script-keywords)
14655 (ld-script-builtins): Update keywords list.
14656
914a0ae1
SM
146572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14658
c89be45f
SM
14659 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14660
914a0ae1
SM
14661 * shell.el (shell-completion-vars): New function.
14662 (shell-mode):
14663 * simple.el (read-shell-command): Use it.
14664 (blink-matching-open): No need for " [...]" in minibuffer-message.
14665
98dc3df3
GM
146662011-05-12 Glenn Morris <rgm@gnu.org>
14667
14668 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14669 (appt-check): Simplify.
14670
d2fc7e3d 146712011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 14672
4d61f28d 14673 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
14674 literal "/dev/null".
14675
d2fc7e3d 146762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
14677
14678 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14679 Fix typo.
14680
d2fc7e3d 146812011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 14682
3f254caa
SM
14683 * progmodes/which-func.el (which-function):
14684 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
14685 which might not be defined (Bug#8260).
14686
d45885f7
GM
146872011-05-12 Glenn Morris <rgm@gnu.org>
14688
14689 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14690 Let byte-compile-initial-macro-environment always take precedence.
14691
488086f4
SM
146922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * net/rcirc.el: Add support for SSL/TLS connections.
14695 (rcirc-server-alist): New field `encryption'.
14696 (rcirc): Check `encryption' settings.
14697 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14698 Merge make-local-variable into `set'.
14699 (rcirc--connection-open-p): New function.
14700 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14701 the process is not a network process (e.g. running gnutls-cli).
14702 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14703 Make rcirc-(en|de)code-coding-system local here.
14704 (rcirc-mode): Merge make-local-variable into `set'.
14705 (rcirc-parent-buffer): Make permanent buffer-local.
14706 (rcirc-multiline-minor-mode): Don't do it here.
14707 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14708 there's no server buffer.
14709
7d3b9d44
GM
147102011-05-11 Glenn Morris <rgm@gnu.org>
14711
f64049c6
GM
14712 * newcomment.el (comment-kill): Prefix "unused" local.
14713
93c9df73
GM
14714 * term/w32console.el (get-screen-color): Declare.
14715
7d3b9d44
GM
14716 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14717 Handle symbol elements of byte-compile-initial-macro-environment.
14718
9e2dd53f
LL
147192011-05-10 Leo Liu <sdl.web@gmail.com>
14720
488086f4
SM
14721 * bookmark.el (bookmark-bmenu-mode-map):
14722 Bind bookmark-bmenu-search to `/'.
8b340240 14723
9e2dd53f 14724 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
14725 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14726 (Footnote-unicode): New function.
14727 (footnote-style-alist): Add unicode style to the list.
14728 (footnote-style): Doc fix.
9e2dd53f 14729
79b70037
GM
147302011-05-10 Jim Meyering <meyering@redhat.com>
14731
14732 Fix doubled-word typos.
14733 * international/quail.el (quail-insert-kbd-layout): and and -> and
14734 * kermit.el: and and -> and
14735 * net/ldap.el (ldap-search-internal): to to -> to
14736 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14737 * progmodes/js.el (js-mode): and and -> and
14738 * textmodes/artist.el (artist-move-to-xy): at at -> at
14739 (artist-draw-region-trim-line-endings): if if -> if
14740 And Safetyc -> Safety.
14741 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14742
b8f82dc1 147432011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 14744 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
14745
14746 * files.el (hack-one-local-variable-eval-safep):
14747 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14748
4f99f44b
GM
147492011-05-10 Glenn Morris <rgm@gnu.org>
14750
14751 * calendar/diary-lib.el (diary-list-entries-hook)
14752 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14753 (diary-nongregorian-marking-hook, diary-list-entries)
14754 (diary-include-other-diary-files, diary-mark-entries)
14755 (diary-mark-included-diary-files): Doc fixes.
14756
84f29e6b
JB
147572011-05-09 Juanma Barranquero <lekktu@gmail.com>
14758
14759 * misc.el: Require tabulated-list.el during compilation.
14760
9bedd73a
CY
147612011-05-09 Chong Yidong <cyd@stupidchicken.com>
14762
488086f4
SM
14763 * progmodes/compile.el (compilation-start):
14764 Run compilation-filter-hook for the async case too.
9bedd73a
CY
14765 (compilation-filter-hook): Doc fix.
14766
797c735c
DD
147672011-05-09 Deniz Dogan <deniz@dogan.se>
14768
14769 * wdired.el: Remove outdated installation comment. Fix usage
14770 comment.
14771
5f4b1dfe
JB
147722011-05-09 Juanma Barranquero <lekktu@gmail.com>
14773
14774 * misc.el: Implement new command `list-dynamic-libraries'.
14775 (list-dynamic-libraries--loaded-only-p): New variable.
14776 (list-dynamic-libraries--refresh): New function.
14777 (list-dynamic-libraries): New command.
14778
4c44026c
CY
147792011-05-09 Chong Yidong <cyd@stupidchicken.com>
14780
488086f4
SM
14781 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14782 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
14783 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14784 higher priority to avoid clobbering by gnu.
14785
027f966d
CY
147862011-05-08 Chong Yidong <cyd@stupidchicken.com>
14787
14788 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14789 if the face has existing theme settings (Bug#8454).
14790
085f5d7d
CY
147912011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14792
488086f4
SM
14793 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14794 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 14795
2a86a00c
RS
14796 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14797 special file names `.' and `..' (Bug#8259).
14798
d9c54a06
CY
147992011-05-08 Chong Yidong <cyd@stupidchicken.com>
14800
488086f4
SM
14801 * progmodes/grep.el (grep-mode-font-lock-keywords):
14802 Remove buffer-changing entries.
d9c54a06
CY
14803 (grep-filter): New function.
14804 (grep-mode): Add it to compilation-filter-hook.
14805
14806 * progmodes/compile.el (compilation-filter-hook)
14807 (compilation-filter-start): New defvars.
14808 (compilation-filter): Call compilation-filter-hook prior to
14809 updating the process mark.
14810
c4662635
SM
148112011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14812
14813 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14814
b0512a1d
EZ
148152011-05-07 Eli Zaretskii <eliz@gnu.org>
14816
605c9376
EZ
14817 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14818 mailclient-send-it even if window-system is nil. (Bug#8595)
14819
c4662635
SM
14820 * term/w32console.el (terminal-init-w32console):
14821 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
14822 background-mode. (Bug#8597)
14823
d1dc2cc2
SM
148242011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14825
14826 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14827 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14828 New functions.
14829 (defgeneric, eieio--defmethod): Use them.
14830 (eieio-defgeneric): Remove.
14831 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14832
915d1300
GM
148332011-05-07 Glenn Morris <rgm@gnu.org>
14834
a3961c3e
GM
14835 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14836 Use let rather than let*.
14837 (timeclock-find-discrep): Remove unused local.
14838
314347b9
GM
14839 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14840
915d1300
GM
14841 * calendar/appt.el (appt-time-msg-list): Doc fix.
14842
275b59b0
NF
148432011-05-06 Noah Friedman <friedman@splode.com>
14844
14845 * apropos.el (apropos-print-doc): Only use
14846 emacs-lisp-docstring-fill-column when it is bound to an integer,
14847 per that variable's documentation.
14848
6c19f744
SM
148492011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 14852 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 14853
60f884b2
GM
148542011-05-06 Glenn Morris <rgm@gnu.org>
14855
5006e634
GM
14856 * calendar/appt.el (appt-message-warning-time): Doc fix.
14857 (appt-warning-time-regexp): New option.
14858 (appt-make-list): Respect appt-message-warning-time.
14859
548d0a63
GM
14860 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14861 New options.
14862 (diary-add-to-list): Strip comments from the displayed string.
14863 (diary-mode): Set comment-start and comment-end.
14864
60f884b2
GM
14865 * vc/diff-mode.el (smerge-refine-subst): Declare.
14866 (diff-refine-hunk): Don't require smerge-mode when compiling.
14867
989681bb
JB
148682011-05-06 Juanma Barranquero <lekktu@gmail.com>
14869
14870 * simple.el (list-processes): Return nil as the docstring says.
14871
a6bc05e1
MA
148722011-05-05 Michael Albinus <michael.albinus@gmx.de>
14873
14874 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14875 to "".
14876 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14877 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14878 determining of binary transfer. (Bug#7383)
14879
23c22e9a
MA
148802011-05-05 Michael Albinus <michael.albinus@gmx.de>
14881
c4662635
SM
14882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14883 Fix port computation bug. (Bug#8618)
23c22e9a 14884
0bff894f
GM
148852011-05-05 Glenn Morris <rgm@gnu.org>
14886
b8296902
GM
14887 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14888
1f522ce8
GM
14889 * simple.el (shell-dynamic-complete-functions)
14890 (comint-dynamic-complete-functions): Declare.
14891
cf5bee67
GM
14892 * net/network-stream.el (gnutls-negotiate):
14893 * simple.el (tabulated-list-print): Fix declarations.
14894
14895 * progmodes/gud.el (syntax-symbol, syntax-point):
14896 Remove unnecessary and incorrect declarations.
14897
0bff894f
GM
14898 * emacs-lisp/check-declare.el (check-declare-scan):
14899 Handle byte-compile-initial-macro-environment in bytecomp.el
14900
9869b3ae
SM
149012011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14902
14903 Fix earlier half-done eieio-defmethod change (bug#8338).
14904 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14905 Streamline and change calling convention.
14906 (defmethod): Adjust accordingly and simplify.
14907 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14908 new eieio--defmethod.
14909 (slot-boundp): Minor CSE simplification.
14910
9c1d5ac5
MZ
149112011-05-05 Milan Zamazal <pdm@zamazal.org>
14912
14913 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14914 (glasses-make-readable): Use glasses-separate-capital-groups.
14915
455c834e
JB
149162011-05-05 Juanma Barranquero <lekktu@gmail.com>
14917
14918 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14919 (warning-series): Doc fix.
14920 (display-warning): Don't try to create the buffer if we just found it.
14921
9ed7c8cb
CY
149222011-05-04 Chong Yidong <cyd@stupidchicken.com>
14923
14924 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14925 (autoload-find-generated-file): New function.
14926 (generate-file-autoloads): Bind generated-autoload-file to
14927 buffer-file-name.
9869b3ae
SM
14928 (update-file-autoloads, update-directory-autoloads):
14929 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
14930 output file (Bug#7989).
14931 (batch-update-autoloads): Doc fix.
14932
0898ca10
JB
149332011-05-04 Juanma Barranquero <lekktu@gmail.com>
14934
14935 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14936
31dfb76c
GM
149372011-05-04 Glenn Morris <rgm@gnu.org>
14938
f330b642
GM
14939 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14940 function, so it follows changes in calendar-date-style.
14941 (diary-fancy-date-matcher): New function.
14942 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
14943 (diary-fancy-font-lock-fontify-region-function):
14944 Use diary-fancy-date-pattern as a function.
14945
31dfb76c
GM
14946 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
14947 non-numbers for `year' etc pseudo-variables. (Bug#8583)
14948
48e79d6a
TZ
149492011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
14950
14951 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
14952 instead of positional arguments. Allow :keylist and :crlfiles
14953 arguments.
14954 (open-gnutls-stream): Call it.
14955
14956 * net/network-stream.el (network-stream-open-starttls): Adjust to
14957 call `gnutls-negotiate' with :process and :hostname arguments.
14958
dd5a5ee0
SM
149592011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14960
ef80fc09
SM
14961 * minibuffer.el (completion--message): New function.
14962 (completion--do-completion, minibuffer-complete)
14963 (minibuffer-force-complete, minibuffer-complete-word): Use it.
14964 (completion--do-completion): Don't ignore completion-auto-help when in
14965 icomplete-mode.
14966
dd5a5ee0
SM
14967 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
14968 internal encoding (e.g. tibetan zero is not whitespace).
14969 (global-whitespace-mode): Prefer save-current-buffer.
14970 (whitespace-trailing-regexp): Remove useless save-match-data.
14971 (whitespace-empty-at-bob-regexp): Minor simplification.
14972
b7d22a83
CY
149732011-05-03 Chong Yidong <cyd@stupidchicken.com>
14974
14975 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
14976
5192af46
AM
149772011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14978
14979 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 14980 Use `concat' to create string for insertion.
5192af46 14981
5767d190
SM
149822011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14983
14984 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
14985 Avoid open-line which runs post-self-insert-hook.
14986 (bibtex-fill-entry): Remove unused `end' var.
14987
bf242939
AM
149882011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
14989
5767d190
SM
14990 * textmodes/ispell.el (ispell-add-per-file-word-list):
14991 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 14992
25666126
LL
149932011-05-03 Leo Liu <sdl.web@gmail.com>
14994
14995 * isearch.el (isearch-yank-pop): New command.
5767d190 14996 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
14997 (isearch-forward): Mention it.
14998
52d3c2d0
SM
149992011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15000
1bcace58
SM
15001 * simple.el (minibuffer-complete-shell-command): Remove.
15002 (minibuffer-local-shell-command-map): Use completion-at-point.
15003 (read-shell-command): Setup completion vars here instead.
15004 (read-expression-map): Bind TAB to symbol completion.
15005
52d3c2d0
SM
15006 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15007 error directly rather via storing it into `results'.
15008
35813471
LL
150092011-05-02 Leo Liu <sdl.web@gmail.com>
15010
15011 * vc/diff.el: Fix description.
15012
e793a940
LMI
150132011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15014
15015 * server.el (server-eval-at): New function.
15016
8de66e05
LMI
150172011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15018
15019 * net/network-stream.el (open-network-stream): Take a :nowait
15020 parameter and pass it on to `make-network-process'.
15021 (network-stream-open-plain): Ditto.
15022
dcb79f20
AS
150232011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15024
15025 * faces.el (face-spec-set-match-display): Don't match toolkit
15026 options on terminal frames.
15027
14a7fbd8
SM
150282011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15029
7eabc1be
SM
15030 * progmodes/pascal.el: Use lexical binding.
15031 (pascal-mode-map): Remove author preferences.
15032
14a7fbd8
SM
15033 * pcomplete.el (pcomplete-std-complete): Don't abuse
15034 completion-at-point.
15035
50f84510
JB
150362011-04-28 Juanma Barranquero <lekktu@gmail.com>
15037
6e087a44
JB
15038 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15039 removing code that has been dead since 1991 or so.
15040
50f84510
JB
15041 * startup.el (command-line): When warning about "_emacs", use a
15042 delayed warning to allow the user to filter it out.
15043
0ba690bd
DD
150442011-04-28 Deniz Dogan <deniz@dogan.se>
15045
15046 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15047 user has not joined.
15048
08abfaad
SM
150492011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15050
15051 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15052 aren't any completions at point.
15053
638f053a
JB
150542011-04-28 Juanma Barranquero <lekktu@gmail.com>
15055
15056 * subr.el (display-delayed-warnings): New function.
15057 (delayed-warnings-hook): New variable.
15058
8fff8daa
SM
150592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15060
08abfaad
SM
15061 * minibuffer.el (completion-at-point, completion-help-at-point):
15062 Don't presume that a given completion-at-point-function will always
15063 use the same calling convention.
15064
8fff8daa
SM
15065 * pcomplete.el (pcomplete-completions-at-point):
15066 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15067 pcomplete-seen is non-nil.
15068 (pcomplete-comint-setup): Also recognize the new comint/shell
15069 completion functions.
15070 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15071 pcomplete-seen is non-nil.
15072
841a1577 150732011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15074
841a1577 15075 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15076 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15077 the first character in the entry. This allows for code to add its
211ec907
UJ
15078 own uid to the entry.
15079 (icalendar--convert-float-to-ical): Add export of
15080 `diary-float'-entries save for those with the optional DAY
15081 argument.
15082
2a782793
DC
150832011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15084
15085 * subr.el (shell-quote-argument): Use alternate escaping strategy
15086 when we spot a variable reference in a string.
15087
0438ce91
DC
150882011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15089
15090 * cus-start.el (all): Define customization for debug-on-event.
15091
841a1577 150922011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15093
15094 * subr.el (shell-quote-argument): Escape correctly under Windows.
15095
d090ed6c
SM
150962011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15097
15098 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15099
bfd31217
MA
151002011-04-25 Michael Albinus <michael.albinus@gmx.de>
15101
d090ed6c
SM
15102 * net/tramp.el (tramp-process-actions): Add POS argument.
15103 Delete region between POS and (pos).
bfd31217 15104
d090ed6c
SM
15105 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15106 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15107 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15108
15109 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15110 position in `tramp-process-actions' call.
15111
15112 * net/trampver.el: Update release number.
15113
e92f3bd3
SM
151142011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15115
850256b5
SM
15116 * custom.el (defcustom): Obey lexical-binding.
15117
e92f3bd3
SM
15118 Fix octave-inf completion problems reported by Alexander Klimov.
15119 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15120 Inherit from octave-mode-syntax-table.
15121 (inferior-octave-mode): Set info-lookup-mode.
15122 (inferior-octave-completion-at-point): New function.
15123 (inferior-octave-complete): Use it and completion-in-region.
15124 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15125 comint-filename-completion.
15126 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15127 symbol elements which shouldn't be word elements.
15128 (octave-font-lock-keywords, octave-beginning-of-defun)
15129 (octave-function-header-regexp): Adjust regexps accordingly.
15130 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15131
cd22b309
JB
151322011-04-25 Juanma Barranquero <lekktu@gmail.com>
15133
15134 * net/gnutls.el (gnutls-errorp): Declare before first use.
15135
8b492194
TZ
151362011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15137
15138 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15139 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15140 default trustfile exists before going to use it. Add missing
5a5fa834 15141 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15142 Reported by Claudio Bley <claudio.bley@gmail.com>.
15143 (open-gnutls-stream): Add usage example.
15144
15145 * net/network-stream.el (network-stream-open-starttls): Give host
15146 parameter to `gnutls-negotiate'.
15147 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15148 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15149
841a1577 151502011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15151
cd22b309
JB
15152 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15153 Use correct match group (bug#8438).
05842630 15154
3ba7869c
CY
151552011-04-24 Chong Yidong <cyd@stupidchicken.com>
15156
512e3ae1
CY
15157 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15158 (package-menu--generate): New arg specifying packages to show.
15159 (package-menu-refresh, package-menu-execute, list-packages):
15160 Callers changed.
15161 (package-show-package-list): New function, replacing deleted
15162 package--list-packages (renamed because it is non-internal).
15163
15164 * finder.el (finder-list-matches): Use package-show-package-list
15165 instead of deleted package--list-packages.
15166
e92f3bd3
SM
15167 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15168 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15169 (vc-annotate-mode-map): Bind it to RET.
15170
7031be6d
UR
151712011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15172
15173 * progmodes/etags.el (next-file): Don't use set-buffer to change
15174 buffers (Bug#8478).
15175
4ef177aa
CY
151762011-04-24 Chong Yidong <cyd@stupidchicken.com>
15177
c8d173eb
CY
15178 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15179
4ef177aa
CY
15180 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15181 (apropos-accumulator): Doc fix.
15182 (apropos-function, apropos-macro, apropos-command)
15183 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15184 (apropos-plist): Add face property.
15185 (apropos-symbols-internal): Fix indentation.
15186 (apropos-print): Simplify help, and recognize apropos-multi-type.
15187 (apropos-print-doc): Use button-type-get to extract the button's
15188 face property. Fill docstring (Bug#8352).
15189
4ffd0d6b 151902011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15191
15192 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15193
c6c32125 15194 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15195 (mpuz-mode-map): Use mapc.
c6c32125
JB
15196 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15197 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15198 Fix typos in docstrings.
15199
58d468b4
JB
15200 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15201 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15202
6470c3c6
JB
15203 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15204
4ffd0d6b 152052011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15206
15207 * minibuffer.el (completion--do-completion): Avoid the "Next char
15208 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15209
3ad8bad0
CY
15210 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15211 mouse-2 into unread-command-events, it is interpreted correctly.
15212
71d73c9c 15213 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15214 (image-toggle-display): Doc fix.
71d73c9c 15215
841a1577 152162011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15217
4ffd0d6b
GM
15218 * textmodes/page.el (what-page): Use line-number-at-pos to
15219 calculate line number (Bug#6825).
6e1dbaa9 15220
c2fb1b60
JB
152212011-04-22 Juanma Barranquero <lekktu@gmail.com>
15222
15223 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15224 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15225 Pass argument NO-DEFAULT to `find-tag-interactive'.
15226
e02f48d7
JB
152272011-04-22 Juanma Barranquero <lekktu@gmail.com>
15228
15229 Lexical-binding cleanup.
15230
15231 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15232 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15233 * progmodes/ada-prj.el (ada-prj-initialize-values)
15234 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15235 (ada-prj-show-value):
15236 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15237 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15238 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15239 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15240 * progmodes/bug-reference.el (bug-reference-push-button):
15241 * progmodes/fortran.el (fortran-line-length):
15242 * progmodes/glasses.el (glasses-change):
15243 * progmodes/octave-mod.el (octave-fill-paragraph):
15244 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15245 (python-pdbtrack-grub-for-buffer, python-sentinel):
15246 * progmodes/sql.el (sql-save-connection):
15247 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15248 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15249 Mark unused parameters.
15250
15251 * progmodes/compile.el (compilation--flush-directory-cache)
15252 (compilation--flush-parse, compile-internal): Mark unused parameters.
15253 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15254 (compilation-next-error-function): Remove unused variable `timestamp'.
15255
15256 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15257 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15258
15259 * progmodes/dcl-mode.el (dcl-end-of-command):
15260 Remove unused variable `start'.
15261 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15262 (dcl-option-value-basic, dcl-option-value-offset)
15263 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15264 Mark unused parameters.
15265 (dcl-save-local-variable): Remove unused variable `val'.
15266 (mode): Declare.
15267
15268 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15269 Mark unused parameters.
15270 (delphi-ignore-changes): Move before first use.
15271 (delphi-charset-token-at): Remove unused variable `start'.
15272 (delphi-else-start): Remove unused variable `if-count'.
15273 (delphi-comment-block-start, delphi-comment-block-end):
15274 Remove unused variable `kind'.
15275 (delphi-indent-line): Remove unused variable `new-point'.
15276
15277 * progmodes/ebrowse.el (ebrowse-files-list)
15278 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15279 Mark unused parameters. Don't quote `lambda'.
15280 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15281 Don't quote `lambda'.
15282 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15283 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15284 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15285 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15286 Use `ignore-errors'.
15287 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15288 (ebrowse-view/find-file-and-search-pattern)
15289 (ebrowse-view/find-member-declaration/definition):
15290 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15291 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15292 Rename parameter PREFIX-ARG to PREFIX.
15293 (ebrowse-tags-read-name): Remove unused variables `start' and
15294 `member-info'.
15295 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15296 to `tags-file'.
15297
15298 * progmodes/etags.el (local-find-tag-hook): Declare.
15299 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15300 Mark unused parameters.
15301
15302 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15303 (executable-interpret): Mark unused parameter.
15304
15305 * progmodes/flymake.el (flymake-process-sentinel)
15306 (flymake-after-change-function)
15307 (flymake-create-temp-with-folder-structure)
15308 (flymake-get-include-dirs-dot): Mark unused parameters.
15309 (flymake-safe-delete-directory): Remove unused variable `err'.
15310
15311 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15312 (speedbar-timer-fn, speedbar-line-text)
15313 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15314 (speedbar-center-buffer-smartly): Declare functions.
15315 (gdb-find-watch-expression): Remove unused variable `array'.
15316 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15317 (gdb-starting): Mark unused parameters.
15318 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15319 (gdb-table-string): Remove unused variable `res'.
15320 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15321 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15322 (gdb-display-buffer): Remove unused variable `cur-size'.
15323
15324 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15325 allow lexical-binding compilation.
15326 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15327 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15328 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15329 Mark unused parameters.
15330 (gud-gdb-marker-filter): Remove unused variable `match'.
15331 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15332 lambda expressions and funcall them, instead of using `fset'.
15333
15334 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15335 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15336
15337 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15338 variable `header-beg'; use `let'.
15339
15340 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15341 `restart', `last-sexp' and `at-do'.
15342
15343 * progmodes/js.el (js--debug): Mark unused parameter.
15344 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15345 (js--splice-into-items): Remove unused variable `item'.
15346 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15347
15348 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15349 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15350 (makefile-complete): Remove unused variable `try'.
15351 (makefile-fill-paragraph, makefile-match-function-end):
15352 Mark unused parameters.
15353
15354 * progmodes/octave-inf.el (inferior-octave-complete):
15355 Remove unused variable `proc'.
15356 (inferior-octave-output-digest): Mark unused parameter.
15357
15358 * progmodes/perl-mode.el (perl-calculate-indent):
15359 Remove unused variable `err'.
15360
15361 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15362 (prolog-indent-line): Mark unused parameters.
15363 (prolog-indent-line): Remove unused variable `beg'.
15364
15365 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15366 (reporter-dont-compact-list): Declare.
15367
15368 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15369 Remove unused variable `char'.
15370 (sh-debug): Mark unused parameter.
15371 (sh-get-indent-info): Remove unused variable `start'.
15372 (sh-calculate-indent): Remove unused variable `var'.
15373
15374 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15375 (simula-electric-keyword): Remove unused variable `null'.
15376 (simula-search-backward, simula-search-forward): Remove unused
15377 variables `begin' and `end'.
15378
15379 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15380 Remove unused variable `pos'.
15381 (vera-electric-tab, vera-comment-uncomment-region):
15382 Mark unused parameters.
15383 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15384
7ede3b65
CY
153852011-04-22 Chong Yidong <cyd@stupidchicken.com>
15386
15387 * emacs-lisp/package.el (package--builtins, package-alist)
15388 (package-load-descriptor, package-built-in-p, package-activate)
15389 (define-package, package-installed-p)
15390 (package-compute-transaction, package-buffer-info)
15391 (package--push): Doc fix. Distinguish more clearly between
15392 version strings and version lists.
15393
121656e9
JB
153942011-04-21 Juanma Barranquero <lekktu@gmail.com>
15395
15396 Lexical-binding cleanup.
15397
15398 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15399 (5x5-make-mutate-best):
15400 * play/fortune.el (fortune-in-buffer):
15401 * play/gomoku.el (gomoku-init-display):
15402 * play/solitaire.el (solitaire, solitaire-do-check):
15403 * play/tetris.el (tetris-default-update-speed-function):
15404 Mark unused parameters.
15405
15406 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15407 (bubbles--shift): Remove unused variable `char-org'.
15408 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15409 (bubbles--show-images): Remove unused variable `char'.
15410
15411 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15412 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15413 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15414 (decipher-analyze-buffer): Use ?\s.
15415 (decipher-make-checkpoint): Remove unused variable `mapping'.
15416
15417 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15418
15419 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15420 Remove unused variable `result'; use `let'.
15421
15422 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15423 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15424 (gametree-children-shown-p, gametree-compute-reduced-score):
15425 Use `ignore-errors'.
15426
15427 * play/handwrite.el (ps-lpr-switches): Declare.
15428 (handwrite): Remove unused variables `pmin' and `lastp'.
15429
15430 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15431
15432 * play/landmark.el (landmark-init-display)
15433 (landmark-update-naught-weights): Mark unused parameters.
15434 (landmark-y): Remove unused variable `noise'. Simplify.
15435 (landmark-human-plays): Remove unused variable `score'.
15436
15437 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15438 (mpuz-try-proposal): Remove unused variable `game'.
15439
15440 * play/zone.el (life-patterns): Declare.
15441
80f499c7
JB
154422011-04-20 Juanma Barranquero <lekktu@gmail.com>
15443
15444 * vc/vc.el (ediff-vc-internal): Declare function.
15445
024ff170
SM
154462011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15447
c0a193ea
SM
15448 * shell.el: Use lexical-binding and std completion UI.
15449 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15450 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15451 comint-preoutput-filter-functions rather than on
15452 comint-output-filter-functions.
15453 (shell-command-completion, shell--command-completion-data)
15454 (shell-filename-completion, shell-environment-variable-completion)
15455 (shell-c-a-p-replace-by-expanded-directory): New functions.
15456 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15457 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15458 (shell-dynamic-complete-environment-variable): Use them.
15459 (shell-dynamic-complete-as-environment-variable)
15460 (shell-dynamic-complete-as-command): Remove.
15461 (shell-match-partial-variable): Match past point.
15462 * comint.el: Clean up use of completion-at-point-functions.
15463 (comint-completion-at-point): New function.
15464 (comint-mode): Use it completion-at-point-functions.
15465 (comint-dynamic-complete): Make it obsolete.
15466 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15467 (comint-c-a-p-replace-by-expanded-history): New function.
15468 (comint-dynamic-complete-functions)
15469 (comint-replace-by-expanded-history): Use it.
15470 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15471 termination strings. Try harder to avoid second try-completion.
15472 (completion-in-region-mode-map): Disable bindings that don't work yet.
15473
2dbaa080
SM
15474 * comint.el: Use lexical-binding. Require CL.
15475 (comint-dynamic-complete-functions): Use comint-filename-completion.
15476 (comint-completion-addsuffix): Tweak custom type.
15477 (comint-filename-completion, comint--common-suffix)
15478 (comint--common-quoted-suffix, comint--table-subvert)
15479 (comint--complete-file-name-data): New functions.
15480 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15481 (comint-dynamic-list-filename-completions): Use them.
15482 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15483
2dbaa080
SM
15484 * minibuffer.el (completion-in-region-mode):
15485 Keep completion-in-region-mode--predicate global.
15486 (completion-in-region--postch):
15487 Assume completion-in-region-mode--predicate is not null.
15488
c79a6f38
SM
15489 * progmodes/flymake.el (flymake-start-syntax-check-process):
15490 Obey `dir'. Simplify.
15491
024ff170
SM
15492 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15493 we're in VC after all.
15494
1c6c854e
CS
154952011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15496
15497 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15498 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15499 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15500
bed7f140
SM
155012011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15502
332e62ab
SM
15503 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15504 add sanity check.
15505
bed7f140
SM
15506 * obsolete/erc-hecomplete.el: Make obsolete.
15507 * obsolete/: Standardize obsolescence info in the header.
15508
f195c582
GM
155092011-04-20 Glenn Morris <rgm@gnu.org>
15510
15511 * calendar/solar.el (solar-horizontal-coordinates):
15512 Use the longitude argument rather than `calendar-longitude'.
15513 (solar-date-next-longitude): Remove unused locals.
15514
cb79b8c0
VJL
155152011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15516
15517 * whitespace.el: New version 13.2.1.
15518
155192011-04-20 felix <EmacsWiki> (tiny change)
15520
d8e4b68b 15521 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15522 switching between major modes on a file.
15523
602ea69d
SM
155242011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15525
15526 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15527 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15528 multi-line comments as well.
15529
06b60517
JB
155302011-04-19 Juanma Barranquero <lekktu@gmail.com>
15531
15532 Lexical-binding cleanup.
15533
15534 * arc-mode.el (archive-mode-revert):
15535 * cmuscheme.el (scheme-interactively-start-process):
15536 * custom.el (custom-initialize-delay):
15537 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15538 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15539 * emacs-lock.el (emacs-lock-clear-sentinel):
15540 * ezimage.el (defezimage):
15541 * follow.el (follow-avoid-tail-recenter):
15542 * fringe.el (set-fringe-mode-1):
15543 * generic-x.el (bat-generic-mode-compile):
15544 * help-mode.el (help-info-variable, help-do-xref)
15545 (help-mode-revert-buffer):
15546 * help.el (view-emacs-todo):
15547 * iswitchb.el (iswitchb-completion-help):
15548 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15549 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15550 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15551 * locate.el (locate-update):
15552 * longlines.el (longlines-encode-region)
15553 (longlines-after-change-function):
15554 * outline.el (outline-isearch-open-invisible):
15555 * ps-def.el (declare-function, charset-dimension, char-width)
15556 (encode-char):
15557 * ps-mule.el (ps-mule-plot-string):
15558 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15559 (recentf-edit-list-select, recentf-edit-list-validate)
15560 (recentf-open-files-action):
15561 * rect.el (delete-whitespace-rectangle-line)
15562 (rectangle-number-line-callback):
15563 * register.el (window-configuration-to-register)
15564 (frame-configuration-to-register):
15565 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15566 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15567 (xselect-convert-to-targets, xselect-convert-to-delete)
15568 (xselect-convert-to-filename, xselect-convert-to-charpos)
15569 (xselect-convert-to-lineno, xselect-convert-to-colno)
15570 (xselect-convert-to-os, xselect-convert-to-host)
15571 (xselect-convert-to-user, xselect-convert-to-class)
15572 (xselect-convert-to-name, xselect-convert-to-integer)
15573 (xselect-convert-to-atom, xselect-convert-to-identity):
15574 * subr.el (declare, ignore, process-kill-without-query)
15575 (text-clone-maintain):
15576 * terminal.el (te-get-char, te-tic-sentinel):
15577 * tool-bar.el (tool-bar-make-keymap):
15578 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15579 * type-break.el (type-break-mode, type-break-noninteractive-query):
15580 * view.el (View-back-to-mark):
15581 * wid-browse.el (widget-browse-action, widget-browse-widget)
15582 (widget-browse-widgets, widget-browse-sexp):
15583 * widget.el (define-widget-keywords):
15584 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15585 Mark unused parameters.
15586
15587 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15588 (align-areas): Remove unused variable `look'.
15589 (align-region): Remove unused variables `real-end' and `pos-list'.
15590
15591 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15592
15593 * bindings.el (mode-line-modified, mode-line-remote):
15594 Mark unused parameters.
15595 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15596
15597 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15598 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15599
15600 * comint.el (comint-history-isearch-pop-state)
15601 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15602 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15603 (comint-substitute-in-file-name): Doc fix.
15604
15605 * completion.el (cmpl-statistics-block): Mark unused parameter.
15606 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15607 (save-completions-to-file, load-completions-from-file):
15608 Remove unused local variable `e'.
15609
15610 * composite.el (compose-chars): Remove unused variable `len'.
15611 (lgstring-insert-glyph): Remove unused variable `g'.
15612 (compose-glyph-string): Remove unused variables `ascent',
15613 `descent', `lbearing' and `rbearing'.
15614 (compose-glyph-string-relative): Remove unused variables
15615 `lbearing', `rbearing' and `wadjust'.
15616 (compose-gstring-for-graphic): Remove unused variables `header',
15617 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15618 (compose-gstring-for-terminal): Remove unused variables `header'
15619 and `nchars'. Use `let', not `let*'.
15620
15621 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15622 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15623 (Custom-buffer-done, custom-buffer-create-internal)
15624 (custom-browse-visibility-action, custom-browse-group-tag-action)
15625 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15626 (widget-magic-mouse-down-action, custom-toggle-parent)
15627 (custom-add-parent-links, custom-toggle-hide-variable)
15628 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15629 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15630 (custom-face-menu-create, custom-variable-menu-create, get)
15631 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15632 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15633 (customize-apropos): Remove unused variable `tests'.
15634 (custom-group-value-create): Remove unused variable `hidden-p'.
15635 (sort-fold-case): Declare.
15636
15637 * cus-theme.el (custom-reset-standard-faces-list)
15638 (custom-reset-standard-variables-list): Declare.
15639 (customize-create-theme, custom-theme-revert, custom-theme-write)
15640 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15641 Mark unused parameters.
15642
15643 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15644
15645 * delim-col.el (delimit-columns-max): Move defvar before first use.
15646
15647 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15648 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15649
15650 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15651 (auto-insert): Declare.
15652 (desktop-restore-file-buffer): Rename desktop-* parameters;
15653 mark unused ones.
15654 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15655 (desktop-buffer): Rename desktop-* parameters.
15656
15657 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15658 (dframe-reposition-frame-xemacs, dframe-help-echo)
15659 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15660 Mark unused parameters.
15661
15662 * dired-aux.el (backup-extract-version-start, overwrite-query)
15663 (overwrite-backup-query, rename-regexp-query)
15664 (rename-non-directory-query): Declare.
15665 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15666 (dired-add-entry): Remove unused variable `orig-file-name'.
15667 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15668 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15669 `dired-copy-preserve-time' directly.
15670 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15671 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15672
15673 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15674 (dired-virtual-revert, dired-make-relative-symlink):
15675 Mark unused parameters.
15676 (manual-program): Declare.
15677 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15678 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15679 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15680
15681 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15682
15683 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15684
15685 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15686 Declare.
15687
15688 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15689
15690 * electric.el (Electric-command-loop): Rename parameter
15691 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15692
15693 * expand.el (expand-in-literal): Remove unused variable `here'.
15694
15695 * facemenu.el (facemenu-add-new-color):
15696 Remove unused variable `docstring'.
15697
15698 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15699 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15700 (face-attr-construct): Mark unused parameter. Doc fix.
15701 (read-color): Remove unused variable `hex-string'.
15702
15703 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15704 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15705 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15706 (display-buffer-other-frame): Remove unused variable `old-window'.
15707 (kill-buffer-hook): Declare.
15708 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15709 Mark unused parameters.
15710 (after-find-file): Pass 1 to `auto-save-mode', not t.
15711
15712 * files-x.el (auto-insert): Declare.
15713 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15714
15715 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 15716 variable `buf'. Mark unused parameter.
06b60517
JB
15717 (find-lisp-insert-directory): Mark unused parameter.
15718
15719 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15720 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15721 (format-common-tail): Remove, unused.
15722 (format-deannotate-region): Remove unused variable `loc'.
15723 (format-annotate-region): Remove unused variable `p'.
15724 (format-annotate-single-property-change): Remove unused variables
15725 `default' and `tail'.
15726
15727 * forms.el (read-file-filter): Declare.
15728 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15729
15730 * frame.el (frame-creation-function-alist): Mark unused parameter.
15731 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15732
15733 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15734 Remove unused parameters.
15735 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15736 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15737
15738 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15739 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15740 (hfy-prepare-tag-map): Mark unused parameters.
15741 (htmlfontify-buffer): Use `called-interactively-p'.
15742
15743 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15744 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15745 (ibuffer-do-occur): Mark unused parameters.
15746 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15747 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15748
15749 * ibuffer.el: Don't quote `lambda'.
15750 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15751 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15752 Mark unused parameters.
15753
15754 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15755 (ido-completing-read): Mark unused parameters.
15756 (ido-copy-current-word): Mark unused parameters;
15757 remove unused variable `name'.
15758 (ido-sort-merged-list): Remove unused parameter `dirs'.
15759
15760 * ielm.el (ielm-input-sender): Mark unused parameter.
15761 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15762 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15763 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15764 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15765 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15766
15767 * image-dired.el (image-dired-display-thumbs): Remove unused
15768 variables `curr-file' and `count'.
15769 (image-dired-remove-tag): Remove unused variable `start'.
15770 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15771 variable `curr-file'
15772 (image-dired-rotate-original): Remove unused variable `temp-file'.
15773 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15774 Remove unused variable `file'.
15775 (image-dired-gallery-generate): Remove unused variable `curr'.
15776 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15777
15778 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15779
15780 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15781
15782 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15783
15784 * isearch.el (minibuffer-history-symbol): Declare.
15785 (isearch-edit-string): Remove unused variable `err'.
15786 (isearch-message-prefix, isearch-message-suffix):
15787 Mark unused parameters.
15788
15789 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15790
15791 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15792
15793 * makesum.el (double-column): Remove unused variable `cnt'.
15794
15795 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15796 (ido-ignore-item-temp-list): Declare.
15797
15798 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15799 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15800 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15801 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15802 `mouse-col-delta'.
15803
15804 * mouse-sel.el (mouse-extend-internal):
15805 Remove unused variable `orig-window-frame'.
15806
15807 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15808 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15809 Move declarations before first use.
15810 (pcomplete-opt): Mark unused parameters; doc fix.
15811
15812 * proced.el (proced-revert): Mark unused parameter.
15813 (proced-send-signal): Remove unused variable `err'.
15814
15815 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15816 Rename parameter PREFIX-ARG to ARG.
15817 (ps-basic-plot-string, ps-basic-plot-whitespace):
15818 Mark unused parameters.
15819
15820 * replace.el (replace-count): Define.
15821 (occur-revert-function): Mark unused parameters.
15822 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15823 (isearch-case-fold-search, isearch-string): Declare.
15824 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15825 bind `case-fold-search'. Remove unused variables `beg' and `end',
15826 and simplify.
15827 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15828 COUNT and bind `replace-count'.
15829 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15830 to COUNT.
15831
15832 * savehist.el (print-readably, print-string-length): Declare.
15833
15834 * shadowfile.el (shadow-expand-cluster-in-file-name):
15835 Remove unused variable `cluster'.
15836 (shadow-copy-file): Remove unused variable `i'.
15837 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15838 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15839 (shadow-define-literal-group, shadow-define-regexp-group)
15840 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15841
15842 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15843 (shell): Use `called-interactively-p'.
15844 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15845
15846 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15847 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15848 (delete-backward-char): Remove unused variable `ocol'.
15849 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15850 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15851 (event-apply-hyper-modifier, event-apply-shift-modifier)
15852 (event-apply-control-modifier, event-apply-meta-modifier):
15853 Mark unused parameters.
15854 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15855 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15856
15857 * speedbar.el (speedbar-ignored-directory-expressions)
15858 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15859 (speedbar-find-file, speedbar-dir-follow)
15860 (speedbar-directory-buttons-follow, speedbar-tag-find)
15861 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15862 (speedbar-buffers-line-directory, speedbar-buffer-click):
15863 Mark unused parameters.
15864 (speedbar-tag-file): Remove unused variable `mode'.
15865 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15866
15867 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15868
15869 * talk.el (talk): Remove unused variable `display'.
15870
15871 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15872 (tar-write-region-annotate): Mark unused parameter.
15873
15874 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15875 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15876 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15877 warning by another.
15878
15879 * time-stamp.el (time-stamp-string-preprocess):
15880 Remove unused variable `require-padding'.
15881
15882 * tree-widget.el (widget-glyph-enable): Declare.
15883 (tree-widget-action): Mark unused parameter.
15884
15885 * w32-fns.el (x-get-selection): Mark unused parameter.
15886 (autoload-make-program, generated-autoload-file): Declare.
15887
15888 * wdired.el (wdired-revert): Mark unused parameters.
15889 (wdired-xcase-word): Remove unused variable `err'.
15890
15891 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15892 (whitespace-help-scroll): Remove unused variable `data-help'.
15893
15894 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15895 (widget-image-insert, widget-after-change, default)
15896 (widget-default-format-handler, widget-default-notify)
15897 (widget-default-prompt-value, widget-info-link-action)
15898 (widget-url-link-action, widget-function-link-action)
15899 (widget-variable-link-action, widget-file-link-action)
15900 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15901 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15902 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15903 (widget-insert-button-action, widget-delete-button-action, visibility)
15904 (widget-documentation-link-action, widget-documentation-string-action)
15905 (widget-const-prompt-value, widget-regexp-match, symbol)
15906 (widget-coding-system-prompt-value)
15907 (widget-key-sequence-value-to-external, sexp)
15908 (widget-sexp-value-to-internal, character, vector, cons)
15909 (widget-choice-prompt-value, widget-boolean-prompt-value)
15910 (widget-color--choose-action): Mark unused parameters.
15911 (widget-item-match-inline, widget-choice-match-inline)
15912 (widget-checklist-match, widget-checklist-match-inline)
15913 (widget-group-match): Rename parameter VALUES to VALS.
15914 (widget-field-value-set): Remove unused variable `size'.
15915 (widget-color-action): Remove unused variables `value' and `start'.
15916
15917 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 15918 variable `dir'. Doc fix.
06b60517
JB
15919 (windmove-find-other-window): Don't pass it.
15920
15921 * window.el (count-windows): Mark unused parameter.
15922 (bw-adjust-window): Remove unused variable `err'.
15923
15924 * woman.el (woman-file-name): Remove unused variable `default'.
15925 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15926 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15927 (global-font-lock-mode): Declare.
15928 (woman-decode-region): Mark unused parameter.
15929 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15930
15931 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15932 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15933 (x-dnd-handle-moz-url): Remove unused variable `title'.
15934 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15935
15936 * xml.el (xml-parse-tag, xml-parse-attlist):
15937 Remove unused variable `pos'.
15938
bc4f7f3d
GM
159392011-04-19 Glenn Morris <rgm@gnu.org>
15940
15941 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15942 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
15943 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
15944 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
15945 * calendar/cal-html.el (cal-html-insert-minical):
15946 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
15947 (calendar-mark-date-pattern):
15948 Prefix "unused" locals.
15949
15950 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
15951 optional argument `style'.
15952
15953 * calendar/appt.el (appt-make-list):
15954 * calendar/cal-china.el (calendar-chinese-date-string):
15955 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
15956 (diary-hebrew-yahrzeit):
15957 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
15958 * calendar/calendar.el (calendar-generate-window):
15959 * calendar/time-date.el (time-to-days):
15960 Remove unused local variables.
15961
16a43933
CY
159622011-04-18 Chong Yidong <cyd@stupidchicken.com>
15963
15964 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
15965 glyphless-char-display table.
15966 (tabulated-list-glyphless-char-display): New var.
15967
7eed1860
SS
159682011-04-18 Sam Steingold <sds@gnu.org>
15969
15970 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
15971 to acknowledgments.
15972
4d2d1ccd
GM
159732011-04-17 Glenn Morris <rgm@gnu.org>
15974
15975 * calendar/diary-lib.el (diary-sexp-entry):
15976 * calendar/holidays.el (holiday-sexp):
15977 Set debug-on-error rather than the removed stack-trace-on-error.
15978
239da61d
GM
159792011-04-16 Glenn Morris <rgm@gnu.org>
15980
15981 * progmodes/f90.el: Use lexical-binding.
15982 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
15983
8b05752a
SM
159842011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15985
daca8ba5
SM
15986 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
15987 (mail-mode): Setup mailalias completion here instead.
15988 * mail/mailalias.el: Use lexical-binding.
15989 (pattern, mailalias-done): Declare dynamic.
15990 (mail-completion-at-point-function): New function, from mail-complete.
15991 (mail-complete): Use it.
15992 (mail-completion-expand): New function.
15993 (mail-get-names): Use it.
15994 (mail-directory, mail-directory-process, mail-directory-stream):
15995 Don't use `pattern' for lexically bound arg.
15996
6f542485
SM
15997 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
15998
037e7c3f
SM
15999 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16000 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16001 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16002
8b05752a
SM
16003 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16004 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16005 (byte-interactive-p): Define them again, for use when inlining
16006 old code.
16007
49093f60
JB
160082011-04-15 Juanma Barranquero <lekktu@gmail.com>
16009
16010 * loadup.el: Use `string-to-number', not `string-to-int'.
16011
b5b8e7de
SM
160122011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16013
16014 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16015 gud-gdb-complete-command.
16016 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16017 (gud-gdb-completion-at-point): New function.
16018 (gud-gdb-completions): Remove.
16019
f42efeb5
MA
160202011-04-14 Michael Albinus <michael.albinus@gmx.de>
16021
49093f60
JB
16022 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16023 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16024 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16025 whether `executable-find' is bound.
f42efeb5
MA
16026
16027 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16028
e240cc21
SM
160292011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16030
16031 * minibuffer.el (completion-in-region-mode-predicate)
16032 (completion-in-region-mode--predicate): New vars.
16033 (completion-in-region, completion-in-region--postch)
16034 (completion-in-region-mode): Use them.
16035 (completion--capf-wrapper): Also return the hook function.
16036 (completion-at-point, completion-help-at-point):
16037 Adjust and provide a predicate.
c2bd2ab0
SM
16038
16039 Preserve arg names for advice of subr and lexical functions (bug#8457).
16040 * help-fns.el (help-function-arglist): Consolidate the subr and
16041 new-byte-code cases. Add argument `preserve-names' to extract names
16042 from the docstring when needed.
16043 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16044 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16045 (ad-arglist): Use help-function-arglist's new arg.
16046 (ad-definition-type): Use cond.
16047
c183f693
JB
160482011-04-13 Juanma Barranquero <lekktu@gmail.com>
16049
06641a47
JB
16050 * autorevert.el (auto-revert-handler):
16051 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16052 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16053 Don't quote lambda.
16054
c183f693
JB
16055 * image-mode.el (image-transform-set-scale):
16056 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16057
1e3b6001
G
160582011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16059
16060 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16061 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16062 Upgrades via gnutls-cli are too slow to be done opportunistically.
16063
2d6af8dd
JB
160642011-04-12 Juanma Barranquero <lekktu@gmail.com>
16065
16066 * dframe.el (dframe-current-frame): Remove spurious quote.
16067
c0749a51
GM
160682011-04-12 Glenn Morris <rgm@gnu.org>
16069
088d0d61
GM
16070 * calendar/cal-tex.el (cal-tex-end-document):
16071 Try to automatically use latin1 input if needed.
16072
c0749a51
GM
16073 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16074 Don't try to cons a mark onto an empty element.
16075
5c90fde0
LL
160762011-04-11 Leo Liu <sdl.web@gmail.com>
16077
16078 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16079 buffers.
16080 (ido-kill-buffer-at-head): Support killing virtual buffers.
16081
369e974d
CY
160822011-04-10 Chong Yidong <cyd@stupidchicken.com>
16083
16084 * minibuffer.el (completion-show-inline-help): New var.
16085 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16086 (minibuffer-force-complete, minibuffer-complete-word):
16087 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16088
16089 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16090 to avoid interference from inline help (Bug#5849).
16091
37f1c930
LL
160922011-04-10 Leo Liu <sdl.web@gmail.com>
16093
099c39a4
JB
16094 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16095 Fix typo.
37f1c930 16096
a32d4040
CY
160972011-04-09 Chong Yidong <cyd@stupidchicken.com>
16098
16099 * image-mode.el (image-toggle-display-image): Signal an error if
16100 not in Image mode.
16101 (image-transform-mode, image-transform-resize)
16102 (image-transform-set-rotation): Doc fix.
daca8ba5 16103 (image-transform-set-resize): Delete.
a32d4040
CY
16104 (image-transform-set-scale, image-transform-fit-to-height)
16105 (image-transform-fit-to-width): Handle image-toggle-display-image
16106 and image-transform-resize directly.
16107
099c39a4 161082011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16109
16110 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16111 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16112 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16113 (doc-view-mode-map): Add bindings for the new functions.
16114
099c39a4 161152011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16116
4d61f28d 16117 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16118 Fix typo in docstring.
16119
3726838a
EZ
161202011-04-08 Eli Zaretskii <eliz@gnu.org>
16121
04f33f1e
EZ
16122 * files.el (file-size-human-readable): Produce one digit after
16123 decimal, like "ls -lh" does.
16124
16125 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16126 the file size representation.
16127
3726838a
EZ
16128 * simple.el (list-processes): If async subprocesses are not
16129 available, error out with a clear error message.
16130
cbb59342
CY
161312011-04-08 Chong Yidong <cyd@stupidchicken.com>
16132
16133 * help.el (help-form-show): New function, to be called from C.
16134 Put help-form output in a buffer named differently than *Help*.
16135
e3971c44
EZ
161362011-04-08 Eli Zaretskii <eliz@gnu.org>
16137
16138 * files.el (file-size-human-readable): New function.
16139
16140 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16141 computing the representation inline. Don't require `cl'.
16142
12544bbe
GM
161432011-04-08 Glenn Morris <rgm@gnu.org>
16144
a1de6c6a
GM
16145 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16146
3c4671f4
GM
16147 * net/browse-url.el (browse-url-firefox):
16148 Test system-type, not system-configuration.
16149
b605679c
GM
16150 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16151 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16152 Use log-edit-empty-buffer-p. (Bug#7598)
16153
56442f0c
GM
16154 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16155 (rlogin-mode-map): Initialize in the defvar.
16156 (rlogin): Use ignore-errors.
16157
12544bbe
GM
16158 * replace.el (occur-mode-map): Some fixes for menu items.
16159
eb237b0f
AH
161602011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16161
16162 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16163
7d668f2c
CY
161642011-04-06 Chong Yidong <cyd@stupidchicken.com>
16165
e67a13ab
CY
16166 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16167 issuing unused warnings.
16168
16169 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16170 macro directly.
16171
7d668f2c
CY
16172 * simple.el: Lisp reimplement of list-processes. Based on an
16173 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16174 (process-menu-mode): New major mode.
16175 (list-processes--refresh, list-processes):
16176 (process-menu-visit-buffer): New functions.
16177
16178 * files.el (save-buffers-kill-emacs): Don't assume any return
16179 value of list-processes, which is undocumented anyway.
16180
a83ec3c9
CY
161812011-04-06 Chong Yidong <cyd@stupidchicken.com>
16182
16183 * emacs-lisp/tabulated-list.el: New file.
16184
e91a96fe
CY
16185 * emacs-lisp/package.el: Use Tabulated List mode.
16186 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16187 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16188 table format using Tabulated List mode variables.
16189 (package--push): New macro, replacing package-list-maybe-add.
16190 (package-menu--generate): Use package--push. Renamed from
16191 package--generate-package-list.
16192 (package-menu-refresh, list-packages): Use it.
daca8ba5 16193 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16194 Return insertion data instead of inserting it directly.
099c39a4
JB
16195 (package-menu-describe-package, package-menu-execute):
16196 Use tabulated-list-get-id.
e91a96fe
CY
16197 (package-menu-mark-delete, package-menu-mark-install)
16198 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16199 (package-menu-mark-obsolete-for-deletion):
16200 Use tabulated-list-put-tag.
e91a96fe
CY
16201 (package--list-packages, package-menu-revert)
16202 (package-menu-get-package, package-menu-get-version)
16203 (package-menu-sort-by-column): Functions deleted.
16204 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16205 (package-menu--status-predicate, package-menu--version-predicate)
16206 (package-menu--name-predicate)
16207 (package-menu--description-predicate): Handle arguments in the
16208 Tabulated List format.
16209 (package-list-packages-no-fetch): Call list-packages.
16210
3e214b50
JB
162112011-04-06 Juanma Barranquero <lekktu@gmail.com>
16212
16213 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16214 (after-find-file): Don't bind it.
3e214b50
JB
16215 (revert-buffer-in-progress-p): New variable.
16216 (revert-buffer): Bind it.
16217 Pass nil for `after-find-file-from-revert-buffer'.
16218
16219 * saveplace.el (save-place-find-file-hook): Use new variable
16220 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16221
3f0f1700
GM
162222011-04-06 Glenn Morris <rgm@gnu.org>
16223
c0274801
GM
16224 * Makefile.in (AUTOGEN_VCS): New variable.
16225 (autoloads): Use $AUTOGEN_VCS.
16226
3f0f1700
GM
16227 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16228 * calendar/calendar.el (calendar-mode-map):
16229 Check for toolkit scroll bars. (Bug#8305)
16230
41ea9e48
CY
162312011-04-05 Chong Yidong <cyd@stupidchicken.com>
16232
16233 * minibuffer.el (completion-in-region--postch)
16234 (completion-in-region-mode): Remove unnecessary messages.
16235
6194c800
JB
162362011-04-05 Juanma Barranquero <lekktu@gmail.com>
16237
33256f14
JB
16238 * font-lock.el (font-lock-refresh-defaults):
16239 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16240 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16241
6194c800
JB
16242 * info.el (Info-directory-list, Info-read-node-name-2)
16243 (Info-split-parameter-string): Doc fixes.
16244 (Info-virtual-nodes): Reflow docstring.
16245 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16246 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16247 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16248 Fix typos in docstrings.
16249 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16250 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16251 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16252 (Info-restore-desktop-buffer): Mark unused parameters.
16253 (Info-directory-find-file, Info-directory-find-node)
16254 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16255 (Info-virtual-index-find-node, Info-apropos-find-file)
16256 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16257 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16258 (Info-virtual-index): Remove unused local variable `nodename'.
16259
b87a8200 162602011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16261
b87a8200
DD
16262 * net/rcirc.el: Update my e-mail address.
16263 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16264
3b2ff876
CY
162652011-04-05 Chong Yidong <cyd@stupidchicken.com>
16266
16267 * startup.el (command-line): Save the cursor's theme-face
16268 directly, instead of using face-override-spec.
16269
16270 * custom.el (load-theme): Minor optimization in assigning faces.
16271
8d17e7ca
JB
162722011-04-04 Juanma Barranquero <lekktu@gmail.com>
16273
16274 * help-fns.el (describe-variable): Complete all variables having
16275 documentation, including keywords.
16276 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16277
2fbc1934
JB
162782011-04-04 Juanma Barranquero <lekktu@gmail.com>
16279
16280 Convert to lexical-binding.
16281
16282 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16283 (bs--get-marked-string, bs--get-modified-string)
16284 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16285 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16286 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16287
16288 * ehelp.el (electric-help-execute-extended)
16289 (electric-help-ctrl-x-prefix):
16290 * hexl.el (hexl-revert-buffer-function):
16291 * linum.el (linum-after-change, linum-after-scroll):
16292 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16293
16294 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16295
74f50695
DU
162962011-04-04 Daiki Ueno <ueno@unixuser.org>
16297
16298 * epa-dired.el:
16299 * epa-mail.el:
16300 * epa-hook.el:
16301 * epa-file.el:
16302 * epa.el:
16303 * epg.el: Use lexical binding.
16304
c11325f7
CY
163052011-04-03 Chong Yidong <cyd@stupidchicken.com>
16306
0d9e9a12
CY
16307 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16308
c11325f7 16309 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16310 dictionary case for flyspell-mark-duplications-exceptions.
16311 Use regexp matching for languages.
c11325f7
CY
16312 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16313 default dictionary (Bug#7926).
16314
da91b5f2
CY
163152011-04-02 Chong Yidong <cyd@stupidchicken.com>
16316
099c39a4
JB
16317 * emacs-lisp/package.el (package--with-work-buffer):
16318 Recognize https URLs.
da91b5f2 16319
099c39a4
JB
16320 * net/network-stream.el: Move from gnus/proto-stream.el.
16321 Change prefix to network-stream throughout.
da91b5f2
CY
16322 (open-protocol-stream): Merge into open-network-stream, leaving
16323 open-protocol-stream as an alias. Handle nil BUFFER args.
16324
16325 * subr.el (open-network-stream): Move to net/network-stream.el.
16326
afa8e9f6
GM
163272011-04-02 Glenn Morris <rgm@gnu.org>
16328
1d2e369d
GM
16329 * find-dired.el (find-exec-terminator): New option.
16330 (find-ls-option): Test for -ls support.
16331 (find-ls-subdir-switches): Test for -b in find-ls-option.
16332 (find-dired, find-grep-dired): Doc fixes.
16333 (find-dired): Use find-exec-terminator.
16334
8abb7da8 16335 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16336 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16337 (find-name-arg): Remove purecopy.
8abb7da8 16338
f3ca7378
GM
16339 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16340 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16341 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16342 accordingly. Don't add the null-device if not needed.
16343
afa8e9f6
GM
16344 * files.el (save-some-buffers): Doc fix.
16345
35eae264
EZ
163462011-04-02 Eli Zaretskii <eliz@gnu.org>
16347
16348 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16349
26b51db5
JB
163502011-04-01 Juanma Barranquero <lekktu@gmail.com>
16351
16352 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16353 Use `dolist' rather than `mapcar'.
16354
7200d79c
SM
163552011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16356
03408648 16357 Add lexical binding.
7200d79c 16358
03408648
SM
16359 * subr.el (apply-partially): Use new closures rather than CL.
16360 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16361 (dolist, dotimes): Use slightly different expansion for lexical code.
16362 (functionp): Move to C.
16363 (letrec): New macro.
16364 (with-wrapper-hook): Use it and apply-partially instead of CL.
16365 (eval-after-load): Preserve lexical-binding.
16366 (save-window-excursion, with-output-to-temp-buffer): Turn them
16367 into macros.
7200d79c 16368
03408648
SM
16369 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16370
16371 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16372 than the arglist.
16373 (help-add-fundoc-usage): Don't add `Not documented'.
16374 (help-function-arglist): Handle closures, subroutines, and new
16375 byte-code-functions.
16376 (help-make-usage): Remove leading underscores.
16377 (describe-function-1): Handle closures.
16378 (describe-variable): Use special-variable-p for completion.
16379
16380 * files.el (lexical-binding): Declare safe.
f488fb65 16381
03408648
SM
16382 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16383 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16384 (pcase): Add `let' pattern.
16385 Change memoization so it actually works.
16386 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16387 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16388 <let>: New case.
f488fb65 16389
03408648
SM
16390 * emacs-lisp/macroexp.el: Use lexical binding.
16391 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16392 Don't convert ' to #' without checking that it's indeed quoting
16393 a lambda.
16394
16395 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16396 Use eval-sexp-add-defvars.
03408648
SM
16397 (eval-sexp-add-defvars): New fun.
16398
16399 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16400
16401 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16402 Don't autoload.
16403 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16404 than the internal `byte-compile-lambda'.
16405 (defmethod): Don't hide code under quotes.
16406 (eieio-defmethod): New `code' argument.
16407
16408 * emacs-lisp/eieio-comp.el: Remove.
16409
16410 * emacs-lisp/edebug.el (edebug-eval-defun)
16411 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16412 (edebug-toggle): Avoid `eval'.
16413
16414 * emacs-lisp/disass.el (disassemble-internal): Handle new
16415 `closure' objects.
16416 (disassemble-1): Handle new byte codes.
16417
16418 * emacs-lisp/cl.el (pushnew): Silence warning.
16419
16420 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16421 (cl-byte-compile-throw): Remove.
16422 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16423
16424 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16425 closures.
16426
16427 * emacs-lisp/cconv.el: New file.
16428
16429 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16430 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16431 (byte-compile-initial-macro-environment):
16432 Handle declare-function here.
16433 (byte-compile--lexical-environment): New var.
16434 (byte-stack-ref, byte-stack-set, byte-discardN)
16435 (byte-discardN-preserve-tos): New lap codes.
16436 (byte-interactive-p): Don't use any more.
16437 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16438 New macros.
16439 (byte-compile-lapcode): Use them and handle new lap codes.
16440 (byte-compile-obsolete): Remove.
16441 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16442 (byte-compile-arglist-warn): Check late def of inlinable funs.
16443 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16444 since they should have been expanded by now.
16445 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16446 (byte-compile-from-buffer): Remove unused second arg.
16447 (byte-compile-preprocess): New function.
16448 (byte-compile-toplevel-file-form): New function to distinguish
16449 file-form calls from outside from file-form calls from hunk-handlers.
16450 (byte-compile-file-form): Simplify.
16451 (byte-compile-file-form-defsubst): Remove.
16452 (byte-compile-file-form-defmumble): Simplify now that
16453 byte-compile-lambda always returns a byte-code-function.
16454 (byte-compile): Preprocess.
16455 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16456 Remove, not used any more.
16457 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16458 (byte-compile-make-args-desc): New funs.
16459 (byte-compile-lambda): Handle lexical functions. Always return
16460 a byte-code-function.
16461 (byte-compile-reserved-constants): New var, to make up room for
16462 closed-over variables.
16463 (byte-compile-constants-vector): Obey it.
16464 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16465 (byte-compile-macroexpand-declare-function): New function.
16466 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16467 byte-code-functions.
16468 (byte-compile-form): Check obsolescence here.
16469 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16470 (byte-compile-variable-ref): Remove.
16471 (byte-compile-dynamic-variable-op): New fun.
16472 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16473 (byte-compile-variable-set): New funs.
16474 (byte-compile-discard): Add 2 args.
16475 (byte-compile-stack-ref, byte-compile-stack-set)
16476 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16477 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16478 macroexpand-all instead.
16479 (byte-compile-quote-form): Remove.
16480 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16481 (byte-compile-bind, byte-compile-unbind): New funs.
16482 (byte-compile-let): Handle let* and lexical binding.
16483 (byte-compile-let*): Remove.
16484 (byte-compile-catch, byte-compile-unwind-protect)
16485 (byte-compile-track-mouse, byte-compile-condition-case):
16486 Handle a new :fun-body form, used for lexical scoping.
16487 (byte-compile-save-window-excursion)
16488 (byte-compile-with-output-to-temp-buffer): Remove.
16489 (byte-compile-defun): Simplify.
16490 (byte-compile-stack-adjustment): New fun.
16491 (byte-compile-out): Use it.
16492 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16493
16494 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16495 handler any more.
16496
16497 * emacs-lisp/byte-opt.el: Use lexical binding.
16498 (byte-inline-lapcode): Remove (to bytecomp).
16499 (byte-compile-inline-expand): Pay attention to inlining to/from
16500 lexically bound code.
16501 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16502 any more.
16503 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16504 any more and don't call compiler-macros.
16505 (byte-compile-splice-in-already-compiled-code): Remove.
16506 (byte-code): Don't inline any more.
16507 (disassemble-offset): Receive `bytes' as argument rather than via
16508 dynamic scoping.
16509 (byte-compile-tag-number): Declare before first use.
16510 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16511 `return' even if make-spliceable.
16512 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16513 obsolete interactive-p.
16514 (byte-optimize-lapcode): Optimize new lap-codes.
16515 Don't trip up on new form of `byte-constant' lap code.
16516
16517 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16518
16519 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16520
16521 * custom.el (custom-initialize-default, custom-declare-variable):
16522 Use `defvar'.
16523
16524 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16525 New variables.
16526 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16527 (COMPILE_FIRST): Add macroexp and cconv.
16528 * makefile.w32-in: Mirror changes in Makefile.in.
16529
16530 * vc/cvs-status.el:
16531 * vc/diff-mode.el:
16532 * vc/log-edit.el:
16533 * vc/log-view.el:
16534 * vc/smerge-mode.el:
16535 * textmodes/bibtex-style.el:
090bd7cb 16536 * textmodes/css-mode.el:
03408648
SM
16537 * startup.el:
16538 * uniquify.el:
da91b5f2
CY
16539 * minibuffer.el:
16540 * newcomment.el:
16541 * reveal.el:
16542 * server.el:
16543 * mpc.el:
16544 * emacs-lisp/smie.el:
16545 * doc-view.el:
16546 * dired.el:
03408648
SM
16547 * abbrev.el: Use lexical binding.
16548
0f0c1f27
EZ
165492011-04-01 Eli Zaretskii <eliz@gnu.org>
16550
16551 * info.el (info-display-manual): New function.
16552
c82b2579
SM
165532011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16554
16555 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16556
221ddf68
TH
165572011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16558
16559 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16560 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16561
cba6e77e
GM
165622011-03-31 Glenn Morris <rgm@gnu.org>
16563
e040639f
GM
16564 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16565
cba6e77e
GM
16566 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16567
6d0f1c9e
CS
165682011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16569
16570 * progmodes/python.el (python-default-interpreter)
16571 (python-python-command-args, python-jython-command-args)
16572 (python-which-shell, python-which-args, python-which-bufname)
16573 (python-file-queue, python-comint-output-filter-function)
16574 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16575 variables and functions.
16576
3e2d70fd
SM
165772011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16578
16579 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16580 (completion-in-region-mode): New minor mode.
16581 (completion-in-region): Use it.
16582 (completion-in-region--data, completion-in-region-mode-map): New vars.
16583 (completion-in-region--postch): New function.
16584 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16585 New vars.
16586 (completion--capf-wrapper): New function.
16587 (completion-at-point): Use it to track well-behavedness of
16588 hook functions.
16589 (completion-help-at-point): New command.
16590
f3e4086c
JM
165912011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16592
16593 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16594 syntax class to search for whitespace on a single line
16595 (Message-ID: <4D938140.4030905@redhat.com>).
16596
eb7ffc14
LL
165972011-03-30 Leo Liu <sdl.web@gmail.com>
16598
16599 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16600 New commands.
16601 (edit-abbrevs-map): Bind them here.
16602 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16603
d806ab68
KM
166042011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16605
16606 * allout.el (allout-hide-by-annotation, allout-flag-region):
16607 Reduce possibility of overlay leakage by making them volatile.
16608
16609 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16610 hash is not shared between buffers. Mode initialization is
16611 responsible for giving it a useful starting value.
16612 (allout-item-span): Reduce possibility of overlay leakage by
16613 making them volatile.
16614 (allout-widgets-count-buttons-in-region): Add diagnostic function
16615 for tracking down button overlay leaks.
16616
ea622834
LL
166172011-03-29 Leo Liu <sdl.web@gmail.com>
16618
16619 * ido.el (ido-read-internal): Use the default history var
16620 minibuffer-history if no HISTORY is specified.
16621
b62f8267
G
166222011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16623
03408648
SM
16624 * net/imap.el (imap-shell-open, imap-process-connection-type):
16625 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16626 Kerberos, SSL, other subprocesses.
16627
947b6566
LL
166282011-03-28 Leo Liu <sdl.web@gmail.com>
16629
16630 * abbrev.el (abbrev-table-empty-p): New function.
16631 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16632 nonempty ones. (Bug#5937)
16633
5ffb62aa
JD
166342011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16635
16636 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16637
7a097943
LL
166382011-03-27 Leo Liu <sdl.web@gmail.com>
16639
16640 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16641 for foreground and background colors.
16642 (ansi-color-make-color-map): Adapt.
16643
c5b40130
LL
166442011-03-25 Leo Liu <sdl.web@gmail.com>
16645
1f48f7d2
LL
16646 * midnight.el (midnight-time-float): Remove. Note it calculates
16647 the microsecond component incorrectly and seconds-to-time does the
16648 same job.
625897ec 16649 Remove redundant (require 'timer).
1f48f7d2 16650
c5b40130
LL
16651 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16652 (ido-completions): Remove unused arguments. (Bug#8329)
16653
d86d2721
SM
166542011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16655
16656 * minibuffer.el (completion--flush-all-sorted-completions):
16657 Remove itself from hook.
16658 (completion-at-point): Let the functions perform the completion
16659 immediately and return nil or t.
16660 * comint.el (comint-dynamic-complete-functions): Now identical to
16661 completion-at-point-functions.
16662 (comint-dynamic-list-input-ring): Remove unused var `index'.
16663 (comint--match-partial-filename, comint--unquote&expand-filename):
16664 New funs, split from comint-match-partial-filename.
16665 (comint-dynamic-complete): Use completion-at-point.
16666 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16667
e8974c48
DA
166682011-03-24 Drew Adams <drew.adams@oracle.com>
16669
16670 * thingatpt.el: Support `defun'.
16671
def71b5e
LL
166722011-03-23 Leo Liu <sdl.web@gmail.com>
16673
cb5af48e
LL
16674 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16675
def71b5e
LL
16676 * help-mode.el (help-mode-finish): Tweak regexp.
16677
927c53e7
GM
166782011-03-23 Glenn Morris <rgm@gnu.org>
16679
18d05bed
GM
16680 * eshell/esh-opt.el (eshell-eval-using-options):
16681 Do not bind unused local variable `eshell-option-stub'.
16682
927c53e7
GM
16683 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16684
9d0da923
JB
166852011-03-22 Juanma Barranquero <lekktu@gmail.com>
16686
16687 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16688 keymap variable in `with-no-warnings' to avoid a warning when the
16689 keymap has been already `defconst'ed.
16690
4b978a67
LL
166912011-03-22 Leo Liu <sdl.web@gmail.com>
16692
16693 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16694 encode all chars in abbrevs; otherwise use emacs-mule or
16695 utf-8-emacs. (Bug#8308)
16696
5fd62452
JB
166972011-03-22 Juanma Barranquero <lekktu@gmail.com>
16698
0b1596c6
JB
16699 * simple.el (backward-delete-char-untabify):
16700 Avoid warning about using `delete-backward-char'.
16701
5fd62452
JB
16702 * image.el (image-type-file-name-regexps): Make it variable.
16703 `imagemagick-register-types' modifies it, and the user may want
16704 to add new extensions for known image types.
16705 (imagemagick-register-types): Throw error if not using ImageMagick.
16706
0b4e93f1
LL
167072011-03-22 Leo Liu <sdl.web@gmail.com>
16708
16709 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16710 located before rcirc-prompt-end-marker.
16711 (rcirc-complete): Error if point is not after rcirc prompt.
16712 Handle the case when table is nil.
9882e214 16713 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 16714
fccee4ab
CY
167152011-03-22 Chong Yidong <cyd@stupidchicken.com>
16716
16717 * custom.el (custom--inhibit-theme-enable): Make it affect only
16718 custom-theme-set-variables and custom-theme-set-faces.
16719 (provide-theme): Ignore custom--inhibit-theme-enable.
16720 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16721 (custom-enabling-themes): Delete variable.
d86d2721
SM
16722 (enable-theme): Accept only loaded themes as arguments.
16723 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
16724 (custom-enabled-themes): Forbid themes from setting this.
16725 Eliminate use of custom-enabling-themes.
16726 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 16727
af896da6
LL
167282011-03-21 Leo Liu <sdl.web@gmail.com>
16729
16730 * ido.el (ido-read-internal): Add ido-selected to history instead
16731 of user input.
16732
78f64af0
SM
167332011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16734
16735 * subr.el (deferred-action-list, deferred-action-function):
16736 Mark obsolete.
16737
b16ac1ec
LL
167382011-03-21 Leo Liu <sdl.web@gmail.com>
16739
810f7698
LL
16740 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16741 change on 2011-02-13 (bug#8309).
16742
b16ac1ec
LL
16743 * minibuffer.el (read-file-name-function): Change default value.
16744 (read-file-name--defaults): Rename from read-file-name-defaults.
16745 (read-file-name-default): Rename from read-file-name.
16746 (read-file-name): Call read-file-name-function.
16747
4e05e67e
GM
167482011-03-21 Glenn Morris <rgm@gnu.org>
16749
16750 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16751 Doc fixes.
16752
4359915b
CY
167532011-03-21 Chong Yidong <cyd@stupidchicken.com>
16754
16755 * cus-theme.el: Add missing provide statement.
16756 (customize-create-theme): Extract theme value correctly.
16757 (custom-theme-visit-theme): Autoload.
16758 (customize-create-theme): Prompt before inserting default faces.
16759
1fe275ee
JB
167602011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16761
16762 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16763 units and musical notes.
16764
cd394be1 167652011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
16766
16767 * ido.el (ido-read-internal): Use completing-read-default.
16768 (ido-completing-read): Fix compatibility with completing-read.
16769
7d476bde
CO
167702011-03-20 Christian Ohler <ohler@gnu.org>
16771
16772 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16773 (ert-delete-all-tests): Use `called-interactively-p' rather than
16774 `interactive-p'.
16775 (ert--make-xrefs-region): Respect END.
16776
fe0fb33e
CY
167772011-03-19 Chong Yidong <cyd@stupidchicken.com>
16778
ff854b0b
CY
16779 * dired-aux.el (dired-create-directory): Signal an error if the
16780 directory already exists (Bug#8246).
16781
fe0fb33e
CY
16782 * facemenu.el (list-colors-display): Call list-faces-display
16783 inside with-help-window.
16784 (list-colors-print): Use display property to align the final
16785 column, instead of checking window-width.
16786
576bce32
EZ
167872011-03-19 Eli Zaretskii <eliz@gnu.org>
16788
4d61f28d 16789 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
16790 windows-nt systems.
16791 (emerge-protect-metachars): Quote correctly for ms-dos and
16792 windows-nt systems.
16793
89c41d68 167942011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
16795
16796 * info.el (info-initialize): Replace all uses of `:' with
16797 path-separator for compatibility with non-Unix systems.
16798 Cache quoting of path-separator. (Bug#8258)
16799
b14e3e21 168002011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
16801
16802 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16803 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16804 (mouse-avoidance-mode): Fix typos in docstrings.
16805
4525ce3e
CY
168062011-03-19 Chong Yidong <cyd@stupidchicken.com>
16807
16808 * startup.el (package-subdirectory-regexp): Move from package.el.
16809 Omit \\` and \\', and let callers add them.
16810
16811 * emacs-lisp/package.el (package-strip-version)
16812 (package-load-all-descriptors): Add \\` and \\' to
16813 package-subdirectory-regexp before using it.
16814 (package-untar-buffer): New arg DIR; ensure that file untars only
16815 into this expected directory. Remove superfluous delete-region.
16816 (package-unpack): Caller changed.
16817 (package-tar-file-info): Use package-subdirectory-regexp.
16818
a904a09a 168192011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 16820
a904a09a
SM
16821 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16822 diff-mode-shared-map (bug#8284).
16823 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
16824
168252011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16826
16827 * calendar/time-date.el (format-seconds): Use assoc instead of
16828 assoc-string, since assoc-string doesn't exist in XEmacs.
16829
171fc304
JB
168302011-03-17 Juanma Barranquero <lekktu@gmail.com>
16831
16832 * custom.el (custom-known-themes): Reflow docstring.
16833 (custom-theme-load-path): Fix typo in docstring.
16834 (load-theme): Fix typo in error message.
16835 (custom-available-themes, custom-variable-theme-value):
16836 Use `let', not `let*'.
16837
d71990a1
JB
168382011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16839
16840 * calc/README: Mention inclusion of musical notes.
16841
16842 * calc/calc-units.el (calc-lu-quant): Rename from
16843 `calc-logunits-quantity'.
16844 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16845 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16846 (calc-db): Rename from `calc-dblevel'.
16847 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16848 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16849 (calc-np): Rename from `calc-nplevel'.
16850 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16851 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16852 (calc-lu-plus): Rename from `calc-logunits-add'.
16853 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16854 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16855 (calc-lu-minus): Rename from `calc-logunits-sub'.
16856 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16857 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16858 (calc-lu-times): Rename from `calc-logunits-mul'.
16859 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16860 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16861 (calc-lu-divide): Rename from `calc-logunits-div'.
16862 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16863 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16864
16865 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16866 functions being autoloaded.
16867
16868 * calc/calc.el (calc-lu-power-reference): Rename from
16869 `calc-logunits-power-reference'.
16870 (calc-lu-field-reference): Rename from
16871 `calc-logunits-field-reference'.
16872
7a71b18d
GM
16873 * calc/calc-help.el (calc-l-prefix-help):
16874 Mention musical note functions.
d71990a1 16875
40c2934b
SM
168762011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16877
16878 * minibuffer.el (completion-all-sorted-completions):
16879 Use :completion-cycle-penalty text property if present.
16880
b0911414
KM
168812011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16882
16883 * allout.el (allout-yank-processing): Adjust for new rebulleting
16884 regime so bullet being yanked is used without prompting the user
16885 for a choice.
16886
8a05b668
JB
168872011-03-16 Juanma Barranquero <lekktu@gmail.com>
16888
16889 * startup.el (command-line): Warn the user that _emacs is deprecated.
16890
5ba5fb81
JB
168912011-03-16 Juanma Barranquero <lekktu@gmail.com>
16892
16893 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16894 (delphi-verbose, delphi-comment-face, delphi-string-face)
16895 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16896 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16897 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16898 (delphi-new-comment-line, delphi-font-lock-defaults)
16899 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16900 Fix typos in docstrings.
16901
2dab465b
KM
169022011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16903
5ba5fb81 16904 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
16905 Invert the roles of character and string values for INSTEAD, so a
16906 string is used for the more common case of a defaulting prompt.
16907
0adf5618
SM
169082011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16909
16910 * progmodes/ruby-mode.el (ruby-backward-sexp):
16911 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16912 * play/gamegrid.el (gamegrid-make-face):
16913 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16914 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16915 * notifications.el (notifications-notify):
16916 * net/xesam.el (xesam-search-engines):
16917 * net/quickurl.el (quickurl-list-insert):
16918 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16919
d72700e5
CY
169202011-03-15 Chong Yidong <cyd@stupidchicken.com>
16921
16922 * startup.el (command-line): Update package subdirectory regexp.
16923
49c5410a
SM
169242011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16925
c6eee9aa
SM
16926 * allout.el (allout-abbreviate-flattened-numbering)
16927 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16928
49c5410a
SM
16929 * subr.el (read-char-choice): Only show the cursor after the prompt,
16930 not after the answer.
16931
047b2bb9
KR
169322011-03-15 Kevin Ryde <user42@zip.com.au>
16933
16934 * help-fns.el (variable-at-point): Skip leading quotes, if any
16935 (bug#8253).
16936
0a57d256
SM
169372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16938
16939 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16940 warning message.
16941
77c992bc
MA
169422011-03-14 Michael Albinus <michael.albinus@gmx.de>
16943
16944 * shell.el (shell): When called interactively, offer to change the
16945 shell file name on remote hosts.
16946
eebc475d
TZ
169472011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
16948
16949 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
16950 integration for LDAP parameters. The host, base, user or binddn,
16951 and secret tokens can be specified in a netrc file, for instance.
16952 This is optional because an `auth-source' parameter must be
16953 specified in the search attributes.
16954
9d05d1ba
JB
169552011-03-13 Juanma Barranquero <lekktu@gmail.com>
16956
16957 * help.el (describe-mode): Link to the mode's definition (bug#8185).
16958
09d9db2c
GM
169592011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16960
16961 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
16962 into declaration. Remove redundant and harmful binding.
16963
169642011-03-12 Eli Zaretskii <eliz@gnu.org>
16965
16966 * files.el (file-ownership-preserved-p): Pass `integer' as an
16967 explicit 2nd argument to `file-attributes'. If the file's owner
16968 is the Administrators group on Windows, and the current user is
16969 Administrator, consider that a match.
16970
16971 * server.el (server-ensure-safe-dir): Consider server directory
16972 safe on MS-Windows if its owner is the Administrators group while
16973 the current Emacs user is Administrator. Use `=' to compare
16974 numerical UIDs, since they could be integers or floats.
16975
219bd536
JB
169762011-03-12 Juanma Barranquero <lekktu@gmail.com>
16977
16978 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
16979
f3afd36b
MA
169802011-03-12 Michael Albinus <michael.albinus@gmx.de>
16981
16982 Sync with Tramp 2.2.1.
16983
16984 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
16985
16986 * net/trampver.el: Update release number.
16987
3aaaa6f1
SM
169882011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16989
94642599
SM
16990 * progmodes/compile.el (compilation--previous-directory): Fix up
16991 various nil/dead-marker mismatches (bug#8014).
16992 (compilation-directory-properties, compilation-error-properties):
16993 Don't call it at a position past the one we're about to change.
16994
3aaaa6f1
SM
16995 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
16996 Disable obsolescence warnings in the file that declares it.
16997
14239447
KM
169982011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
16999
099c39a4
JB
17000 * allout-widgets.el (allout-widgets-tally):
17001 Initialize allout-widgets-tally as a hash table rather than nil to
17002 prevent mode-line redisplay warnings. Also, clarify the module
17003 description and fix a comment typo.
14239447 17004
135e287c
JB
170052011-03-11 Juanma Barranquero <lekktu@gmail.com>
17006
17007 * help-fns.el (describe-variable): Don't complete keywords.
17008 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17009
ffbf300e
CY
170102011-03-10 Chong Yidong <cyd@stupidchicken.com>
17011
ba08b241
CY
17012 * emacs-lisp/package.el (package-version-join): Impose a standard
17013 string representation for pre/alpha/beta version lists.
17014 (package-unpack-single): Standardize the directory name by passing
17015 it through package-version-join.
17016 (package-strip-rcs-id): Accept any version string that does not
17017 signal an error in version-to-list.
ffbf300e 17018
f346fd6b
MA
170192011-03-10 Michael Albinus <michael.albinus@gmx.de>
17020
17021 * simple.el (delete-trailing-whitespace): Return nil for the
17022 benefit of `write-file-functions'.
17023
ccb55d27
GM
170242011-03-10 Glenn Morris <rgm@gnu.org>
17025
5ceaac0c
GM
17026 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17027
02da65ff
GM
17028 * vc/vc-git.el (vc-git-program): New option.
17029 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17030 (vc-git--call): Use it.
17031
b2f603cc
GM
17032 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17033
5772caab
GM
17034 * cus-edit.el (Custom-newline): If no button at point, look
17035 for a subgroup button at start-of-line. (Bug#2298)
17036
ccb55d27
GM
17037 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17038
ec6ecaed
JD
170392011-03-10 Julien Danjou <julien@danjou.info>
17040
17041 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17042 `cursor-type' is nil.
17043
9d5aa01d
JB
170442011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17045
17046 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17047
b6a5875b
KM
170482011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17049
7a71b18d 17050 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17051 preserves the existing header prefix, rebulleting it if necessary,
17052 rather than replacing it. This is necessary for proper operation
17053 of cooperative addons like allout-widgets.
1154d12e
JB
17054 (allout-make-topic-prefix, allout-rebullet-heading):
17055 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17056 value as alternate bullet to be used, instead of prompting the user
17057 for a bullet character.
b6a5875b 17058
ee545c35
MA
170592011-03-09 Michael Albinus <michael.albinus@gmx.de>
17060
d86d2721
SM
17061 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17062 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17063 `tramp-default-port'.
17064
c47971d7
DD
170652011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17066
17067 * net/rcirc.el (rcirc-handler-001): Remove useless
17068 with-rcirc-process-buffer.
17069 (rcirc-check-auth-status): Swap arguments to string-match.
17070
13522cb4
GM
170712011-03-09 Glenn Morris <rgm@gnu.org>
17072
0be6f4f1
GM
17073 * shell.el (shell-mode):
17074 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17075
13522cb4
GM
17076 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17077 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17078
515de2e3
CY
170792011-03-08 Chong Yidong <cyd@stupidchicken.com>
17080
17081 * emacs-lisp/package.el (package-refresh-contents)
17082 (package-menu-execute): Use condition-case-no-debug.
17083
b511b994
MA
170842011-03-08 Michael Albinus <michael.albinus@gmx.de>
17085
17086 * simple.el (shell-command-to-string): Use `process-file'.
17087
17088 * emacs-lisp/package.el (package-tar-file-info): Handle also
17089 remote files.
17090
d86d2721
SM
17091 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17092 Use `equal' for upload base check.
b511b994 17093
25bbfb31
AM
170942011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17095
17096 * textmodes/texinfo.el (texinfo-environments):
17097 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17098
be996521
GM
170992011-03-08 Glenn Morris <rgm@gnu.org>
17100
e9c8529f
GM
17101 * cus-start.el (cursor-in-non-selected-windows):
17102 Fix :set quoting oddness. (Bug#8192)
17103
be996521
GM
17104 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17105 in some setf expressions. (Bug#2159)
17106
2bb5649e
CY
171072011-03-08 Chong Yidong <cyd@stupidchicken.com>
17108
17109 * custom.el (custom-available-themes): Return themes in
17110 alphabetical order.
17111
33383987 17112See ChangeLog.15 for earlier changes.
e3d51b27
MR
17113
17114;; Local Variables:
17115;; coding: utf-8
e3d51b27
MR
17116;; End:
17117
acaf905b 17118 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17119
17120 This file is part of GNU Emacs.
17121
17122 GNU Emacs is free software: you can redistribute it and/or modify
17123 it under the terms of the GNU General Public License as published by
17124 the Free Software Foundation, either version 3 of the License, or
17125 (at your option) any later version.
17126
17127 GNU Emacs is distributed in the hope that it will be useful,
17128 but WITHOUT ANY WARRANTY; without even the implied warranty of
17129 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17130 GNU General Public License for more details.
17131
17132 You should have received a copy of the GNU General Public License
17133 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.