]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org.
[gnu-emacs] / lisp / ChangeLog
1 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4 syntax-propertize-function (bug#10095).
5
6 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10 describe-function-1.
11 (describe-function-1): Use them. Move compiler macro after sig.
12 (help-fns--compiler-macro): Use function-get. Assume we're already in
13 standard-output. Adjust layout to new call order.
14
15 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
16 re-binding a symbol that has a symbol-macro (bug#12119).
17
18 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
19
20 * language/persian.el: New file. (Bug#11812)
21 * loadup.el: Add language/persian.el.
22
23 2012-08-06 Chong Yidong <cyd@gnu.org>
24
25 * window.el (window--maybe-raise-frame): New function.
26 (window--display-buffer): Split off from here.
27 (display-buffer-reuse-window, display-buffer-pop-up-frame)
28 (display-buffer-pop-up-window, display-buffer-use-some-window):
29 Obey an inhibit-switch-frame action alist entry.
30 (display-buffer): Update doc.
31
32 * replace.el (occur-after-change-function): Avoid losing focus by
33 using the inhibit-switch-frame display parameter (Bug#12139).
34
35 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
36
37 Make internal shell process buffer names start with space.
38 * progmodes/python.el (python-shell-make-comint): Add optional
39 argument INTERNAL.
40 (run-python-internal): Use it.
41 (python-shell-internal-get-or-create-process): Check for new
42 internal buffer names.
43
44 2012-08-06 Glenn Morris <rgm@gnu.org>
45
46 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
47 Do less getting and setting of environment variables.
48
49 2012-08-05 Chong Yidong <cyd@gnu.org>
50
51 * proced.el (proced): Add substitution string to docstring to
52 trigger autoloading of the proced library on C-h f (Bug#1768).
53
54 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
55 show defvars which have no second argument (Bug#8638).
56
57 * imenu.el (imenu-generic-expression): Move documentation here
58 from imenu--generic-function.
59 (imenu--generic-function): Refer to imenu-generic-expression.
60
61 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
62
63 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
64 indentation declaration.
65 (viper-loop): Add indentation declaration (Bug#7025).
66
67 2012-08-05 Chong Yidong <cyd@gnu.org>
68
69 * help-fns.el (describe-variable): Add hyperlink for
70 directory-local variables files. Improve buffer-local and
71 permanent-local reporting; suggested by MON KEY (Bug#6644).
72
73 * help-mode.el (help-dir-local-var-def): New button type.
74
75 * files.el (kill-buffer-hook): Provide a defvar.
76
77 2012-08-05 Glenn Morris <rgm@gnu.org>
78
79 * eshell/esh-ext.el (eshell/addpath):
80 Also update eshell-path-env. (Bug#12013)
81
82 2012-08-05 Chong Yidong <cyd@gnu.org>
83
84 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
85
86 * fringe.el (fringe-styles): Add docstring.
87 (fringe--check-mode): New function.
88 (set-fringe-mode, set-fringe-style): Use it.
89 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
90
91 * files.el (set-auto-mode): Fix invalid setq call.
92
93 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * isearch.el: Misc simplification; use defstruct.
96 (isearch-mode-map): Dense maps now work like sparse ones.
97 (isearch--state): New defstruct.
98 (isearch-string-state, isearch-message-state, isearch-point-state)
99 (isearch-success-state, isearch-forward-state)
100 (isearch-other-end-state, isearch-word-state, isearch-error-state)
101 (isearch-wrapped-state, isearch-barrier-state)
102 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
103 replaced by defstruct's accessors.
104 (isearch--set-state): Rename from isearch-top-state and change
105 calling convention.
106 (isearch-push-state): Use new isearch--get-state.
107 (isearch-toggle-word): Disable regexp when enabling word.
108 (isearch-message-prefix): Remove unused arg _c-q-hack.
109 (isearch-message-suffix): Remove unused arg _ellipsis.
110
111 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
112
113 * simple.el (list-processes--refresh): For a server use :host or
114 :local as the address.
115 (list-processes): Doc fix.
116
117 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
118
119 * lisp/mpc.el: Support password in host argument.
120 (mpc--proc-connect): Parse and use new password element.
121 Set mpc-proc variable instead of returning process.
122 (mpc-proc): Adjust accordingly.
123
124 2012-08-03 Eli Zaretskii <eliz@gnu.org>
125
126 * whitespace.el (whitespace-display-mappings): Use Unicode
127 codepoints, instead of emacs-mule codepoints. See
128 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
129 for the details.
130
131 * files.el (file-truename): Don't skip symlink-chasing part on
132 windows-nt. Incorporate the resolution of 8+3 short aliases on
133 Windows into the loop that recursively chases symlinks. Compare
134 directory and its parent case-insensitively on MS-Windows and
135 MS-DOS.
136
137 2012-08-03 Chong Yidong <cyd@gnu.org>
138
139 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
140
141 * sort.el (sort-regexp-fields): Doc fix.
142
143 2012-08-03 Tassilo Horn <tsdh@gnu.org>
144
145 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
146 labels regex position point at the expected place.
147
148 2012-08-03 MON KEY <monkey@sandpframing.com>
149
150 * net/imap.el (imap-interactive-login, imap-authenticate)
151 (imap-mailbox-lsub, imap-mailbox-list)
152 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
153 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
154 (imap-parse-response): Doc fix.
155
156 2012-08-03 João Távora <joaotavora@gmail.com>
157
158 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
159 if sexp scanning does not move point (Bug#5734).
160
161 2012-08-02 Tassilo Horn <tsdh@gnu.org>
162
163 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
164 Add listings, minted, and ctable packages.
165 (reftex-label-alist-builtin): Move listings, minted, and ctable
166 entries before LaTeX.
167 (reftex-label-alist): Docfix.
168
169 2012-08-02 Bastien Guerry <bzg@gnu.org>
170
171 * replace.el (occur): Fix docstring (bug#12122).
172
173 2012-08-02 Glenn Morris <rgm@gnu.org>
174
175 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
176
177 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
178
179 Obsolete alias inactivate-current-input-method-function (Bug#10150).
180 * international/mule-cmds.el: Create
181 inactivate-current-input-method-function as an obsolete alias for
182 deactivate-current-input-method-function. See Katsumi Yamaoka in
183 <http://bugs.gnu.org/10150#46>.
184
185 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
186
187 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
188 of nested `if's.
189
190 2012-08-01 Glenn Morris <rgm@gnu.org>
191
192 * progmodes/autoconf.el (autoconf-definition-regexp):
193 Add AH_TEMPLATE, adjust submatch numbering.
194 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
195 (autoconf-current-defun-function): Update for above change.
196 (autoconf-current-defun-function): First skip to end of current word.
197
198 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
199
200 * calendar/cal-html.el (cal-html-insert-agenda-days):
201 Fix typo. (Bug#12018)
202
203 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
204
205 Shell processes: enhancements to startup and CEDET compatibility.
206 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
207 (python-shell-make-comint): accept-process-output at startup.
208 (run-python-internal): Set inferior-python-mode-hook to nil.
209 (python-shell-internal-get-or-create-process): call sit-for.
210 (python-preoutput-result): Add obsolete alias.
211 (python-shell-internal-send-string): Use it.
212 (python-shell-send-setup-code): Remove call to
213 accept-process-output.
214
215 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
216
217 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
218 (Bug#12108)
219
220 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
221
222 * calc-mode.el (calc-basic-simplification-mode): Rename from
223 `calc-limited-simplification-mode'.
224 (calc-alg-simplification-mode): New function.
225 (calc-set-simplify-mode): Adjust message.
226
227 * calc.el (calc-set-mode-line): Adjust mode line display for
228 basic simplification mode.
229
230 * calc-help.el (calc-m-prefix-help): Update help message.
231
232 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
233 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
234
235 2012-07-31 Bastien Guerry <bzg@gnu.org>
236
237 * man.el (man): Fix comment. (bug#12101)
238
239 2012-07-31 Martin Rudalics <rudalics@gmx.at>
240
241 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
242 Don't return a non-nil value when no suitable buffer was found.
243
244 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
245
246 * progmodes/python.el (run-python-internal): Disable font lock for
247 internal shells.
248
249 2012-07-30 Stefan Merten <smerten@oekonux.de>
250
251 * rst.el: Silence `checkdoc-ispell'.
252 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
253 (rst-official-version, rst-official-cvs-rev)
254 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
255 (rst-mode-map): New key binding.
256
257 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
258
259 Update .PHONY listings in makefiles.
260 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
261 autoloads, update-subdirs, updates, bzr-update, update-authors,
262 compile-onefile, compile-calc, backup-compiled-files,
263 compile-after-backup, compile-one-process, mh-autoloads,
264 bootstrap-clean, distclean, maintainer-clean.
265
266 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
267
268 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
269 (calc-set-mode-line): Don't display "AlgSimp ".
270
271 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
272 (calc-lim-simplify-mode): New function.
273 (calc-set-simplify-mode): Default to 'alg.
274 (calc-default-simplify-mode): Make algebraic simplifications
275 the default.
276
277 * calc/calc-ext.el (calc-init-extensions): Remove binding for
278 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
279
280 * calc/calc-help.el (calc-m-prefix-help): Change messages to
281 indicate new simplification modes.
282
283 * calc/README: Mention new default simplification mode.
284
285 * calc/calc.el (math-normalize-error): New variable.
286 (math-normalize): Set `math-normalize-error' to t
287 when there's an error.
288
289 * calc/calc-alg.el (math-simplify): Don't simplify when
290 `math-normalize' returns an error.
291
292 2012-07-29 Eli Zaretskii <eliz@gnu.org>
293
294 * international/mule-cmds.el (set-locale-environment): Revert last
295 change, since display-graphic-p returns nil when this function is
296 called during startup. Instead...
297
298 * term/w32console.el (terminal-init-w32console): ...setup the
299 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
300
301 2012-07-29 Juri Linkov <juri@jurta.org>
302
303 * simple.el (goto-line): Don't display default line number in the
304 prompt because it should be displayed by `read-number' (bug#9952).
305 Add the current line number to the defaults of `goto-line' to
306 allow its easier modification by users with `M-n' (bug#9201).
307
308 * subr.el (read-number): Support multiple default values like in
309 other minibuffer reading functions. Replace `read' with
310 `string-to-number' for consistency with `number-to-string'.
311
312 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
313
314 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
315 * emulation/viper-init.el (viper-deactivate-input-method-action):
316 Rename from viper-inactivate-input-method-action.
317 (viper-deactivate-input-method):
318 Rename from viper-inactivate-input-method.
319 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
320 * international/mule-cmds.el (deactivate-input-method):
321 Rename from inactivate-input-method.
322 Also run input-method-deactivate-hook.
323 (deactivate-current-input-method-function):
324 Rename from inactivate-current-input-method-function.
325 (input-method-deactivate-hook): New hook.
326 (input-method-inactivate-hook): Mark obsolete.
327 (inactivate-input-method): Mark obsolete.
328
329 * international/quail.el (quail-activate):
330 Also run quail-deactivate-hook.
331 (quail-deactivate): Rename from quail-inactivate.
332 * international/robin.el (robin-activate):
333 Also run robin-deactivate-hook.
334 (robin-deactivate): Rename from robin-inactivate.
335
336 2012-07-29 Chong Yidong <cyd@gnu.org>
337
338 * simple.el (indicate-copied-region): New function.
339 (kill-ring-save): Split off from here.
340
341 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
342 (kill-rectangle): Set deactivate-mark to t on read-only error.
343
344 * register.el (copy-to-register, copy-rectangle-to-register):
345 Deactivate the mark, and use indicate-copied-region (Bug#10056).
346 (append-to-register, prepend-to-register): Call
347
348 2012-07-29 Juri Linkov <juri@jurta.org>
349
350 * simple.el (async-shell-command-buffer): New defcustom.
351 (shell-command): Use it. (Bug#4719)
352
353 2012-07-28 Eli Zaretskii <eliz@gnu.org>
354
355 * international/mule-cmds.el (set-locale-environment): In a
356 console session on MS-Windows, set up keyboard and terminal
357 encoding from the OEM codepage, not the ANSI codepage.
358 (Bug#12055)
359
360 2012-07-28 Chong Yidong <cyd@gnu.org>
361
362 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
363 gdb-get-location.
364
365 2012-07-25 Leo Liu <sdl.web@gmail.com>
366
367 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
368 the alist (bug#12029).
369
370 2012-07-28 Eli Zaretskii <eliz@gnu.org>
371
372 * makefile.w32-in (custom-deps, finder-data, updates, compile)
373 (compile-always, compile-first)
374 ($(lisp)/calendar/cal-loaddefs.el)
375 ($(lisp)/calendar/diary-loaddefs.el)
376 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
377 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
378 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
379 instead of on update-subdirs.
380 (bootstrap-clean): Delete $(lisp)/subdirs.el.
381
382 2012-07-28 Chong Yidong <cyd@gnu.org>
383
384 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
385 directory if vc-deduce-backend returns nil (Bug#7350).
386
387 * simple.el (delete-trailing-lines): New option.
388 (delete-trailing-whitespace): Obey it (Bug#11879).
389
390 2012-07-28 David Engster <deng@randomsample.de>
391
392 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
393 Explanation of new 'symbol-qnames feature in doc-strings.
394 (xml-maybe-do-ns): Return expanded names as plain symbols if
395 'symbol-qnames was provided in XML-NS argument (Bug#11916).
396 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
397
398 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
399
400 Consistent completion in inferior python with emacs -nw.
401 * progmodes/python.el (inferior-python-mode): replace "<tab>"
402 binding in inferior-python-mode-map with "\t".
403 (python-shell-completion-complete-at-point)
404 (python-completion-complete-at-point): Remove interactive spec.
405
406 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
407
408 * calc/calccomp.el (math-compose-expr): Undo previous change.
409
410 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
411
412 * progmodes/python.el (python-mode-map): Added keybinding for
413 run-python.
414 (python-shell-make-comint): Fix pop-to-buffer call.
415 (run-python): Autoload. New arg SHOW.
416 (python-shell-get-or-create-process): Do not pop python process
417 buffer.
418
419 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
420
421 * notifications.el (notifications-on-action-signal)
422 (notifications-on-closed-signal): Use also the bus address for the map.
423 (notifications-notify, notifications-close-notification)
424 (notifications-get-capabilities): Add optional argument BUS.
425
426 2012-07-27 Tassilo Horn <tsdh@gnu.org>
427
428 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
429 support for the lstlisting and minted environments, and for the
430 ctable macro.
431 * textmodes/reftex.el (reftex-compile-variables): Also recognize
432 labels written in keyvals syntax.
433
434 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
435
436 * calc/calccomp.el (math-compose-expr): Use parentheses when
437 there is a product in the denominator of a fraction.
438
439 2012-07-26 Eli Zaretskii <eliz@gnu.org>
440
441 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
442 ($(lisp)/calendar/diary-loaddefs.el)
443 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
444 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
445 failures in parallel bootstrap because subdirs.el is being
446 rewritten while the autoload files are built at the same time,
447 which needs to load subdirs.el.
448
449 2012-07-26 Martin Rudalics <rudalics@gmx.at>
450
451 * mouse.el (popup-menu): Fix doc-string and re-indent code.
452 (mouse-drag-line): Don't exit tracking when a switch-frame or
453 switch-window event occurs (Bug#12006).
454
455 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * mouse.el (popup-menu): Fix last change.
458
459 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 Autoload from Lisp with more care. Follow aliases when looking for
462 function properties.
463 * subr.el (autoloadp): New function.
464 (symbol-file): Use it.
465 (function-get): New function.
466 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
467 autoload-do-load.
468 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
469 (lisp-indent-function):
470 * emacs-lisp/gv.el (gv-get):
471 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
472 * emacs-lisp/byte-opt.el (byte-optimize-form):
473 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
474 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
475 Use function-get.
476 * emacs-lisp/cl.el: Don't propagate function properties any more.
477
478 * speedbar.el (speedbar-add-localized-speedbar-support):
479 * emacs-lisp/disass.el (disassemble-internal):
480 * desktop.el (desktop-load-file):
481 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
482 (describe-function-1):
483 * emacs-lisp/find-func.el (find-function-noselect):
484 * emacs-lisp/elp.el (elp-instrument-function):
485 * emacs-lisp/advice.el (ad-has-proper-definition):
486 * apropos.el (apropos-safe-documentation, apropos-macrop):
487 * emacs-lisp/debug.el (debug-on-entry):
488 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
489 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
490 * calc/calc.el (name): Use autoloadp & autoload-do-load.
491
492 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
493
494 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
495 function, not an obsolete variable (Bug#12046).
496
497 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
498
499 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
500
501 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
502
503 * emacs-lisp/pp.el (pp-display-expression): Select old selected
504 window only if it is still live (Bug#12034).
505
506 2012-07-25 Martin Rudalics <rudalics@gmx.at>
507
508 * subr.el (redirect-frame-focus): Add advertised calling
509 convention (Bug#12030).
510
511 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
512
513 Prefer typical American spelling for "acknowledgment".
514 * vc/add-log.el (change-log-acknowledgment): Rename from
515 change-log-acknowledgement, with an alias for the old name.
516
517 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
518
519 * calc-alg.el (math-simplify-divide): Don't cross multiply
520 in an equation when the lhs is a variable.
521
522 2012-07-24 Julien Danjou <julien@danjou.info>
523
524 * net/netrc.el (netrc-find-service-number, netrc-store-data):
525 Remove, unused.
526
527 2012-07-23 Eli Zaretskii <eliz@gnu.org>
528
529 * startup.el (command-line): Don't display an empty user name in
530 the error message about non-existent home directory, when
531 init-file-user was set to an empty string. See
532 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
533 for the details and context.
534
535 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
536
537 * ses.el (ses-cell-formula-aset): New macro.
538 (ses-cell-references-aset): New macro.
539 (ses-cell-p): New function.
540 (ses-rename-cell): Do no longer rely on complex operations like
541 ses-cell-set-formula or ses-set-cell to change the cell and handle
542 the undo at the same time, but rather use lower level new macros
543 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
544 the undo directly. Refresh the mode line.
545
546 2012-07-21 Leo Liu <sdl.web@gmail.com>
547
548 * progmodes/cc-cmds.el (c-defun-name):
549 Use match-string-no-properties instead for consistency.
550
551 2012-07-20 Leo Liu <sdl.web@gmail.com>
552
553 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
554 (Bug#7879)
555
556 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
557
558 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
561 * progmodes/bug-reference.el, misearch.el: Provide themselves
562 (bug#11915).
563
564 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
565 of narrowed buffer (bug#11966).
566
567 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
568
569 * ses.el (ses-rename-cell): Set new name also in reference list of
570 cells of which the renamed cell depends.
571
572 2012-07-20 Masatake YAMATO <yamato@redhat.com>
573
574 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
575 to check whether menu-bar is shown or not. If not shown,
576 show the menu-bar as a popup menu instead of using tmm.
577 * mouse.el (popup-menu): Accept `point' as `position' argument.
578
579 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
580
581 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
582 up inside string symbol literal (bug#11923).
583
584 2012-07-20 Eli Zaretskii <eliz@gnu.org>
585
586 * startup.el (fancy-startup-text): Read the whole tutorial, not
587 just its first 256 bytes. Prevents gibberish in display of the
588 tutorial title.
589
590 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
591
592 Drop idle buffer compaction due to an absence of the
593 proved efficiency.
594 * compact.el: Remove.
595
596 2012-07-19 Sam Steingold <sds@gnu.org>
597
598 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
599 vc-bzr-pull & vc-bzr-merge-branch.
600 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
601 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
602 for consistency with compilation-error-regexp-alist.
603 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
604 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
605 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
606 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
607
608 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * emacs-lisp/chart.el: Use lexical-binding.
611 (chart-emacs-storage): Don't hardcode the list of entries.
612
613 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
614
615 Next round of tweaks caused by Fgarbage_collect changes.
616 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
617
618 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
619
620 Compact buffers when idle.
621 * compact.el: New file.
622
623 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * subr.el (eventp): Presume that if it looks vaguely like an event,
626 it's an event (bug#10190).
627
628 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
629
630 Enhancements to ppss related code (thanks Stefan).
631 * progmodes/python.el (python-indent-context)
632 (python-indent-calculate-indentation, python-indent-dedent-line)
633 (python-indent-electric-colon, python-nav-forward-block)
634 (python-mode-abbrev-table)
635 (python-info-assignment-continuation-line-p): Simplify checks
636 for ppss context.
637 (python-info-continuation-line-p): Cleanup.
638 (python-info-ppss-context): Do not catch 'quote.
639 (python-info-ppss-context-type)
640 (python-info-ppss-comment-or-string-p): Simplify.
641
642 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
643
644 * progmodes/python.el: Enhancements to eldoc support.
645 (python-info-current-symbol): New function.
646 (python-eldoc-at-point): Use python-info-current-symbol.
647 (python-info-current-defun): Fix cornercase on first defun scan.
648 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
649 and signal error when no inferior python process is available.
650
651 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
652
653 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
654 assume it's always t.
655 (vc-git-registered): Remove caching, the function is only called
656 once.
657 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
658
659 2012-07-18 Chong Yidong <cyd@gnu.org>
660
661 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
662
663 * simple.el (count-words): Report on narrowing (Bug#9959).
664
665 * bindings.el: Bind M-= to count-words.
666
667 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
668
669 2012-07-18 Masatake YAMATO <yamato@redhat.com>
670
671 * progmodes/sh-script.el (sh-imenu-generic-expression):
672 Capture a function with `function' keyword and without parentheses
673 like "function FOO" (bug#11856).
674
675 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
676
677 * window.el (split-window-sensibly): Make WINDOW argument
678 optional.
679
680 2012-07-18 Chong Yidong <cyd@gnu.org>
681
682 * subr.el (keyboard-translate): Doc fix (Bug#7261).
683
684 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
685 and make C-x 8 RET exit isearch (Bug#11439).
686
687 * international/iso-transl.el: Move isearch-mode-map key
688 definitions to isearch.el.
689
690 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
693 (eieio-defclass): Use gv-define-setter when possible.
694
695 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
696
697 Reflect recent changes in Fgarbage_collect.
698 * emacs-lisp/chart.el (chart-emacs-storage): Change to
699 reflect new format of data returned by Fgarbage_collect.
700
701 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
702
703 New utility functions + python-info-ppss-context fix (Bug#11910).
704 * progmodes/python.el (python-info-beginning-of-block-statement-p)
705 (python-info-ppss-comment-or-string-p): New functions.
706 (python-info-ppss-context): Small fix for string check.
707
708 2012-07-17 Juri Linkov <juri@jurta.org>
709
710 * dired-aux.el (dired-do-async-shell-command): Doc fix.
711 (dired-do-async-shell-command): Don't add `*' at the end of the
712 command (Bug#11815).
713 (dired-do-shell-command): Doc fix.
714 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
715 Join the individual commands using either "&" or ";" as the
716 separator depending on the values of these trailing characters.
717 At the end re-add the trailing "&". (Bug#10598)
718
719 * simple.el (async-shell-command): Sync the interactive spec with
720 `shell-command'. Doc fix.
721 (shell-command): Doc fix.
722
723 2012-07-17 Juri Linkov <juri@jurta.org>
724
725 * descr-text.el (describe-char): Fix format args. (Bug#10129)
726
727 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
728
729 Final renames and doc fixes for movement commands (bug#11899).
730 * progmodes/python.el (python-nav-beginning-of-statement):
731 Rename from python-nav-statement-start.
732 (python-nav-end-of-statement): Rename from
733 python-nav-statement-end.
734 (python-nav-beginning-of-block): Rename from
735 python-nav-block-start.
736 (python-nav-end-of-block): Rename from python-nav-block-end.
737
738 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
739
740 * progmodes/python.el (python-shell-send-string-no-output):
741 Allow accept-process-output to quit, keeping shell process ready for
742 future interactions (Bug#11868).
743
744 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
747
748 * emacs-lisp/elint.el (elint-find-args-in-code):
749 Use help-function-arglist, so as to handle lexical byte-code.
750
751 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
752 change (bug#11826).
753
754 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
757 Avoid spuriously marking the buffer as modified because of c-is-sws.
758
759 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
760 as not-a-comment (bug#11946).
761
762 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
763 for uninterned vars.
764
765 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
766 Use read-event since we don't really want to read chars but bytes.
767
768 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
769 $$..$$ but also $..$ using regexps (bug#11953).
770 Use tex-verbatim for \url and \path.
771 (tex-font-lock-keywords): Define as defconst like the others.
772 (tex-common-initialization): Don't use font-lock-syntax-table any more.
773
774 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
775
776 * international/mule-cmds.el (ucs-insert): Make it an obsolete
777 alias for insert-char.
778
779 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
780
781 * progmodes/python.el: Simplified imenu implementation.
782 (python-nav-jump-to-defun): Remove command.
783 (python-mode-map): Use `imenu' instead.
784 (python-nav-list-defun-positions-cache)
785 (python-imenu-include-defun-type, python-imenu-make-tree)
786 (python-imenu-subtree-root-label, python-imenu-index-alist):
787 Remove vars.
788 (python-nav-list-defun-positions, python-nav-read-defun)
789 (python-imenu-tree-assoc, python-imenu-make-element-tree)
790 (python-imenu-make-tree, python-imenu-create-index):
791 Remove functions.
792 (python-mode): Update to interact with imenu by setting
793 `imenu-extract-index-name-function' only.
794
795 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
796
797 * progmodes/python.el: Enhancements to navigation commands.
798 (python-nav-backward-sentence)
799 (python-nav-forward-sentence): Remove.
800 (python-nav-backward-statement, python-nav-forward-statement)
801 (python-nav-statement-start, python-nav-statement-end)
802 (python-nav-backward-block, python-nav-forward-block)
803 (python-nav-block-start, python-nav-block-end)
804 (python-nav-forward-sexp-function)
805 (python-info-current-line-comment-p)
806 (python-info-current-line-empty-p): New functions.
807 (python-indent-context): Use `python-nav-statement-start'.
808
809 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
810
811 * eshell/em-ls.el (eshell/ls): Use `apply'.
812
813 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
814 multi-hops, instead of Tramp internals.
815
816 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
817
818 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
819 when F1 and F2 are located on different hosts.
820
821 2012-07-14 Chong Yidong <cyd@gnu.org>
822
823 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
824 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
825 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
826 (xterm-mouse--read-event-sequence-1000)
827 (xterm-mouse--read-event-sequence-1006): New functions. For old
828 mouse protocol, handle M-mouse-X events correctly.
829 (xterm-mouse-event): New arg specifying mouse protocol.
830 (turn-on-xterm-mouse-tracking-on-terminal)
831 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
832 sequence to toggle extended coordinates on newer XTerms.
833 This appears to be harmless on terminals which do not support this.
834
835 2012-07-14 Leo Liu <sdl.web@gmail.com>
836
837 Add fringe bitmap indicators for flymake. (Bug#11253)
838 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
839 (flymake-make-overlay): New arg BITMAP.
840 (flymake-error-bitmap, flymake-warning-bitmap)
841 (flymake-fringe-indicator-position): New user variables.
842
843 * fringe.el: New bitmap exclamation-mark.
844
845 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
846
847 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
848 also (Bug#7879).
849
850 2012-07-14 Chong Yidong <cyd@gnu.org>
851
852 * electric.el (electric-pair-post-self-insert-function): Fix pair
853 insertion in empty-region case (Bug#11520).
854
855 2012-07-14 Chong Yidong <cyd@gnu.org>
856
857 * bindings.el: Consolidate ctl-x-r-map bindings.
858 Bind copy-rectangle-as-kill to C-x r w.
859
860 * rect.el, register.el: Move bindings to bindings.el.
861
862 2012-07-14 Reuben Thomas <rrt@sc3d.org>
863
864 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
865
866 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
867
868 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
869
870 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
871
872 * bindings.el (top): Use `mapc' instead of `mapcar'.
873
874 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
875
876 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
877
878 * progmodes/sql.el (sql-comint): Suppress the check for program on
879 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
880 (Bug#11908)
881
882 2012-07-13 Chong Yidong <cyd@gnu.org>
883
884 * bindings.el: Assign a non-nil permanent-local property to
885 per-buffer variables which lack a default value (Bug#11930).
886
887 * help-fns.el (describe-variable): In the "automatically becomes
888 local" notice, take note of permanent-local variables.
889
890 2012-07-13 Chong Yidong <cyd@gnu.org>
891
892 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
893 to allow printing the message when called from Lisp.
894
895 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
896 Remove toggle-read-only.
897
898 * bs.el (bs-toggle-readonly):
899 * buff-menu.el (Buffer-menu-toggle-read-only):
900 Remove with-no-warnings around toggle-read-only.
901
902 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
903 Remove with-no-warnings around toggle-read-only.
904 (ffap-read-only, ffap-read-only-other-window)
905 (ffap-read-only-other-frame): Callers changed.
906
907 * help-mode.el: Don't require view package.
908 (help-mode-finish): Set buffer-read-only instead of calling
909 toggle-read-only.
910
911 * bindings.el (mode-line-toggle-read-only):
912 * dired.el (dired-toggle-read-only):
913 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
914 with non-nil second arg.
915
916 * emacs-lisp/eieio-custom.el (eieio-customize-object):
917 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
918 directly.
919
920 2012-07-12 Eli Zaretskii <eliz@gnu.org>
921
922 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
923 not incf.
924
925 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 More CL cleanups and reduction of use of cl.el.
928 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
929 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
930 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
931 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
932 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
933 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
934 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
935 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
936 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
937 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
938 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
939 * eshell/em-cmpl.el, eshell/em-banner.el:
940 * calendar/parse-time.el: Use cl-lib.
941 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
942 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
943 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
944 * term/ns-win.el, term.el, shell.el, ps-samp.el:
945 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
946 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
947 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
948 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
949 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
950 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
951 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
952 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
953 `lambda' rather than with `quote'.
954 (eshell-do-opt): Adjust accordingly.
955 (eshell-process-option): Simplify.
956 * eshell/esh-var.el:
957 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
958 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
959 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
960 to `pcase--dontcare'.
961 * emacs-lisp/cl.el (labels): Mark obsolete.
962 (cl--letf, letf): Move to cl-lib.
963 (cl--letf*, letf*): Remove.
964 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
965 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
966 (cl-progv): Rewrite.
967 (cl--letf, cl-letf): Move from cl.el.
968 (cl-letf*): New macro.
969 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
970
971 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
972
973 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
974
975 2012-07-11 Chong Yidong <cyd@gnu.org>
976
977 * vc/log-edit.el (log-edit-vc-backend): New variable.
978 (log-edit): Doc fix.
979
980 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
981 argument of log-edit to set up all local variables.
982 (vc-start-logentry): New optional arg specifying VC backend.
983
984 * vc/vc.el (vc-checkin): Use it.
985 (vc-deduce-fileset): Handle Log Edit buffers.
986 (vc-diff): Make first argument optional too.
987
988 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
989
990 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
991
992 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
993 command, just in case. The function is not needed anymore.
994 (eshell-external-command): Do not call `eshell-remote-command'.
995
996 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 Reduce use of (require 'cl).
999 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1000 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1001 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1002 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1003 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1004 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1005 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1006 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1007 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1008 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1009 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1010 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1011 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1012 (byte-compile-unfold-bcf, byte-compile-check-variable):
1013 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1014 (byte-compile-nilconstp):
1015 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1016 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1017
1018 * emacs-lisp/gv.el (cond): Make it a valid place.
1019 (if): Simplify slightly.
1020
1021 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1022 (pcase--self-quoting-p): New function.
1023 (pcase--u1): Use it.
1024
1025 2012-07-10 Glenn Morris <rgm@gnu.org>
1026
1027 * emacs-lisp/authors.el (authors-fixed-entries):
1028 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1029
1030 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1031
1032 Rename configure.in to configure.ac (Bug#11603).
1033 * emacs-lisp/authors.el (authors-canonical-file-name):
1034 * progmodes/autoconf.el (autoconf-mode):
1035 Prefer configure.ac to configure.in.
1036
1037 2012-07-08 Chong Yidong <cyd@gnu.org>
1038
1039 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1040 Implement the mouse-1-click-follows-link handling properly.
1041
1042 * info.el (Info-link-keymap): Use follow-link mechanism for
1043 header-line links (Bug#374).
1044
1045 * simple.el (deactivate-mark): Do not set the primary selection
1046 if another program has acquired it (Bug#11772).
1047
1048 2012-07-07 Kevin Ryde <user42@zip.com.au>
1049
1050 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1051 (woman-decode-region): Replace escaped-escapes without destroying
1052 bold or underline (Bug#11552).
1053 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1054
1055 2012-07-07 Chong Yidong <cyd@gnu.org>
1056
1057 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1058 (interprogram-cut-function, interprogram-paste-function):
1059 Mention that we typically mean the clipboard.
1060
1061 2012-07-06 Glenn Morris <rgm@gnu.org>
1062
1063 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1064
1065 * files.el (toggle-read-only): Restrict message to interactive use.
1066
1067 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1070
1071 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1072
1073 2012-07-06 Glenn Morris <rgm@gnu.org>
1074
1075 * Makefile.in (compile-one-process): Rename from "recompile".
1076
1077 * Makefile.in (bzr-update): "compile" is the same as "recompile
1078 autoloads", but parallelizable, so use that instead.
1079
1080 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1081
1082 * window.el (quit-window): Always restore window height when
1083 it's saved in quit-restore parameter (Bug#11810).
1084
1085 2012-07-06 Glenn Morris <rgm@gnu.org>
1086
1087 * simple.el (kill-whole-line): Doc tweak.
1088
1089 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1090
1091 * files.el (file-relative-name): Compare file names
1092 case-insensitively if on MS-Windows or MS-DOS, or if
1093 read-file-name-completion-ignore-case is non-nil. Don't use
1094 case-fold-search for this purpose. (Bug#11827)
1095
1096 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1097
1098 * calendar/cal-dst.el (calendar-current-time-zone):
1099 Return calendar-current-time-zone-cache if non-nil.
1100
1101 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1102 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1103
1104 * calendar/cal-dst.el (calendar-current-time-zone):
1105 Return calendar-current-time-zone-cache if non-nil.
1106
1107 2012-07-06 Glenn Morris <rgm@gnu.org>
1108
1109 * Makefile.in (cvs-update): Remove old alias.
1110
1111 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1112
1113 Sync with Tramp 2.2.6-pre.
1114
1115 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1116 compatible declaration.
1117
1118 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1119 Protect `list-load-path-shadows' call.
1120
1121 * net/tramp-compat.el (top): Require packages, which aren't
1122 autoloaded anymore for XEmacs. Protect call of
1123 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1124 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1125 it hurts at least for SXEmacs.
1126 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1127 standard-value for `temporary-file-directory'.
1128
1129 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1130 Redirect stderr to /dev/null.
1131 (tramp-sh-handle-write-region): uid and gid can be floats.
1132 Reported by Russell Sim <russell.sim@gmail.com>.
1133 (tramp-sh-handle-vc-registered): Hide errors.
1134 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1135 and `start-file-process'.
1136 (tramp-maybe-open-connection): Check also whether `non-essential'
1137 is bound.
1138
1139 2012-07-04 Chong Yidong <cyd@gnu.org>
1140
1141 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1142 (xml-parse-tag): Likewise, and avoid changing entity tables.
1143 (xml-syntax-table): Define from scratch, making sure not to give
1144 x2000 and other Unicode spaces whitespace syntax, since those are
1145 not spaces in XML.
1146 (xml-parse-fragment): Delete unused function.
1147 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1148 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1149 (xml-entity-ref, xml-pe-reference-re)
1150 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1151 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1152 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1153 (xml-entity-value-re): Use syntax references in regexps where
1154 possible; no need to define inside a let-binding.
1155 (xml-parse-dtd): Use xml-pe-reference-re.
1156 (xml-entity-or-char-ref-re): New defconst.
1157 (xml-parse-string, xml-substitute-special): Use it.
1158
1159 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1162 (find-file--read-only): New function.
1163 (find-file-read-only, find-file-read-only-other-window)
1164 (find-file-read-only-other-frame): Use it.
1165 (insert-file-contents-literally): Don't `fset'.
1166 (get-free-disk-space): Use locate-dominating-file.
1167
1168 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1169 function is already compiled.
1170
1171 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1172
1173 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1174
1175 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1176 files on the same host.
1177
1178 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1179
1180 * help-fns.el (describe-function-1): Only call
1181 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1182
1183 2012-07-03 Chong Yidong <cyd@gnu.org>
1184
1185 * xml.el: Protect parser against XML bombs.
1186 (xml-entity-expansion-limit): New variable.
1187 (xml-parse-string, xml-substitute-special): Use it.
1188 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1189
1190 2012-07-03 Glenn Morris <rgm@gnu.org>
1191
1192 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1193 Allow linking to specific messages in debbugs reports (eg 123#5).
1194
1195 2012-07-02 Chong Yidong <cyd@gnu.org>
1196
1197 * xml.el: Fix entity and character reference expansion, allowing
1198 them to expand into markup as per XML spec.
1199 (xml-default-ns): New variable.
1200 (xml-entity-alist): Use XML spec definitions for lt and amp.
1201 (xml-parse-region): Make first two arguments optional.
1202 Discard text properties.
1203 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1204 All callers changed.
1205 (xml-parse-tag): Call xml-parse-tag-1. For backward
1206 compatibility, this function should not modify buffer contents.
1207 (xml-parse-tag-1): Fix opening-tag regexp.
1208 (xml-parse-string): Rewrite, handling entity and character
1209 references properly.
1210 (xml--entity-replacement-text): Signal an error if a parameter
1211 entity is undefined.
1212
1213 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * comint.el (comint-output-filter): Filter out repeated prompts.
1216
1217 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1218 and file-name-absolute-p.
1219 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1220 internal calls.
1221
1222 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1223
1224 Spelling fixes.
1225 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1226 Rename from byte-compile--refiy-function. All uses changed.
1227
1228 2012-07-01 Chong Yidong <cyd@gnu.org>
1229
1230 * xml.el (xml--parse-buffer): New function. Move most of
1231 xml-parse-region here.
1232 (xml-parse-region): Copy region into a temporary buffer, since
1233 parameter entity substitution requires changing buffer contents.
1234 Use xml--parse-buffer.
1235 (xml-parse-file): Use xml--parse-buffer.
1236 (xml-parse-dtd): Make parameter entity substitution work right.
1237 Use proper regexps for ELEMENT declarations (Bug#7172).
1238
1239 2012-06-30 Glenn Morris <rgm@gnu.org>
1240
1241 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1242
1243 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1244 Remove outdated and unnecessary dbus declarations.
1245
1246 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1247
1248 * emacs-lisp/timer.el (timer-until): Subtract results of
1249 float-time, instead of taking float-time of the result of
1250 time-subtract, since float-time signals an error for negative time
1251 arguments.
1252
1253 2012-06-30 Chong Yidong <cyd@gnu.org>
1254
1255 * xml.el (xml-*-re): Convert defvars into defconsts, and
1256 eval-and-compile them so eval-and-compile works on derivatives.
1257 (xml--entity-replacement-text): Use eval-and-comple.
1258
1259 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1260
1261 * vc/vc-git.el (vc-git-registered): Use cache property
1262 `git-registered'.
1263 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1264 `vc-git-working-revision' in order to benefit from the cache.
1265 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1266
1267 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1268
1269 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1270 removed (likely outside Emacs). (Bug#11757)
1271
1272 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/cl-lib.el: Require macroexp.
1275
1276 2012-06-30 Chong Yidong <cyd@gnu.org>
1277
1278 * xml.el: Implement XML parameter entities.
1279 (xml-parameter-entity-alist): New variable.
1280 (xml-parse-region, xml-parse-fragment): Preserve previous values
1281 of xml-entity-alist and xml-parameter-entity-alist, so that
1282 repeated calls on different documents do not change them.
1283 (xml-parse-tag): Fix doctype regexp.
1284 (xml--entity-replacement-text): New function.
1285 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1286 properly requires url retrieval which is unimplemented.
1287 (xml-escape-string): Doc fix.
1288
1289 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1292
1293 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1294
1295 * fringe.el (fringe-mode): Doc fix.
1296
1297 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1298
1299 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1300 is non-nil.
1301 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1302 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1303
1304 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1305
1306 * calendar/cal-dst.el (calendar-current-time-zone):
1307 Return calendar-current-time-zone-cache if non-nil.
1308
1309 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1310
1311 * progmodes/which-func.el (which-func-format):
1312 Add mouse-face. (Bug#11698)
1313
1314 2012-06-29 Leo Liu <sdl.web@gmail.com>
1315
1316 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1317
1318 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * minibuffer.el (minibuffer-confirm-exit-commands):
1321 Add completion-at-point (bug#11725).
1322
1323 2012-06-29 Glenn Morris <rgm@gnu.org>
1324
1325 * progmodes/f90.el (f90-font-lock-keywords-2):
1326 Add some preprocessor elements. (Bug#10499)
1327
1328 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1331 Use syntax-propertize (bug#11739).
1332
1333 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1334
1335 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1336
1337 2012-06-28 Julien Danjou <julien@danjou.info>
1338
1339 * term.el (term-handle-colors-array): Use a set of new faces to
1340 color the terminal. Also uses :inverse-video property.
1341 (term-default-fg-color): Set to nil by default, deprecate in favor
1342 of `term-face'.
1343 (term-default-bg-color): Set to nil by default, deprecate in favor
1344 of `term-face'.
1345 (term-current-face): Use `term-face' by default.
1346 (term-bold-attribute): Variable deleted.
1347
1348 2012-06-28 Glenn Morris <rgm@gnu.org>
1349
1350 * simple.el (completion-list-mode-finish):
1351 Don't use toggle-read-only. (Since completion-list-mode has
1352 a special mode-class, it wasn't doing anything extra anyway.)
1353
1354 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 Make inlining of other-mode interpreted functions work (bug#11799).
1357 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1358 (byte-compile): Use it to fix compilation of lexical-binding closures.
1359 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1360 function, if needed.
1361
1362 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * help-mode.el (help-make-xrefs): Don't just withstand
1365 cyclic-variable-indirection but any error in documentation-property.
1366
1367 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1368 memory use.
1369 * bindings.el (bindings--define-key): New function.
1370 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1371 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1372 * bindings.el: Use it to purecopy define-key bindings.
1373
1374 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1375
1376 * emacs-lisp/cl.el (flet): Mark obsolete.
1377 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1378 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1379 * progmodes/js.el (js-c-fill-paragraph):
1380 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1381 (ebrowse-switch-member-buffer-to-derived-class):
1382 * play/5x5.el (5x5-solver): Use cl-flet.
1383
1384 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1385 (cl--symbol-function): New macro.
1386 (cl--letf, cl--letf*): Use it.
1387
1388 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1389 Strip "toggle-" if any.
1390
1391 2012-06-27 Glenn Morris <rgm@gnu.org>
1392
1393 * info.el (Info-default-directory-list): Move here from paths.el.
1394 * paths.el: Remove file, which is now empty.
1395 * loadup.el: No longer load "paths".
1396
1397 * custom.el (custom-initialize-delay): Doc fix.
1398
1399 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1400 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1401 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1402 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1403 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1404 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1405 * eshell/eshell.el (eshell-defgroup): Remove alias.
1406
1407 2012-06-27 Chong Yidong <cyd@gnu.org>
1408
1409 * help.el (help-enable-auto-load): New variable.
1410
1411 * help-fns.el (help-fns--autoloaded-p): New function.
1412 (describe-function-1): Refer to a function as "autoloaded" if it
1413 was autoloaded at any time in the past. Perform autoloading if
1414 help-enable-auto-load is non-nil.
1415
1416 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1417
1418 * makefile.w32-in (compile, compile-always): Depend on
1419 update-subdirs, not on subdirs.el. Otherwise, several different
1420 sub-targets of 'bootstrap' running in parallel could
1421 simultaneously write to subdirs.el, producing a garbled file.
1422
1423 2012-06-26 Sam Steingold <sds@gnu.org>
1424
1425 * files.el (file-name-base): New convenience function.
1426 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1427 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1428 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1429 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1430 * textmodes/ispell.el, textmodes/reftex-ref.el:
1431 * textmodes/tex-mode.el: Use it.
1432 Did not touch cedet and org because they are maintained elsewhere.
1433
1434 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1435
1436 * calendar/calendar.el (calendar-exit): Don't try to delete or
1437 iconify last frame. See:
1438 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1439
1440 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1441
1442 * server.el (server-process-filter): Remember dir in the
1443 process's `server-client-directory' properties.
1444
1445 2012-06-24 Chong Yidong <cyd@gnu.org>
1446
1447 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1448 non-tag text.
1449
1450 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1451
1452 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1453
1454 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * help-fns.el (describe-variable): Don't croak when doc is not found.
1457 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1458 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1459 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1460 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1461 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1462 ((lambda ..) ..).
1463 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1464
1465 2012-06-23 Chong Yidong <cyd@gnu.org>
1466
1467 * info.el (Info-mouse-follow-link): Accept symbol values of
1468 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1469 (Info-fontify-node): Use Info-link-keymap for all navigation
1470 buttons, with link-args property to perform the desired action.
1471 (Info-link-keymap): Doc fix.
1472 (Info-next-link-keymap, Info-prev-link-keymap)
1473 (Info-up-link-keymap): Delete now-unused keymaps.
1474
1475 2012-06-23 Chong Yidong <cyd@gnu.org>
1476
1477 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1478
1479 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1480 system abbrevs.
1481
1482 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1483
1484 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1485
1486 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1487 (bug#11719).
1488
1489 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1490 the requote function doesn't work properly (bug#11714).
1491
1492 2012-06-23 Glenn Morris <rgm@gnu.org>
1493
1494 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1495
1496 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 Further GV/CL cleanups.
1499 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1500 gv-expander.
1501 (gv--defun-declaration): New function.
1502 (defun-declarations-alist): Use it.
1503 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1504 (gv-place): Autoload.
1505 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1506 original definition of dotimes and dolist.
1507 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1508 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1509 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1510 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1511 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1512 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1513 to the function's definition.
1514 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1515 * window.el:
1516 * files.el:
1517 * faces.el:
1518 * env.el: Don't use CL.
1519
1520 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1521
1522 Support higher-resolution time stamps (Bug#9000).
1523
1524 * calendar/time-date.el (with-decoded-time-value): New arg
1525 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1526 (encode-time-value): New optional arg PICO. New type 3.
1527 (time-to-seconds) [!float-time]: Support the new picoseconds
1528 component if it's used.
1529 (seconds-to-time, time-subtract, time-add):
1530 Support ps-resolution time stamps as well.
1531
1532 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1533 (timerp): Timer vectors now have length 9, not 8.
1534 (timer--time): Support new-style (4-part) time stamps.
1535 (timer-next-integral-multiple-of-time): Time stamps now have
1536 picosecond resolution, so take a bit more care about rounding.
1537 (timer-relative-time, timer-inc-time): New optional arg psecs.
1538 (timer-set-time-with-usecs): Set psecs to 0.
1539 (timer--activate): Check psecs component, too.
1540
1541 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1542
1543 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1546 Move the non-essential binding to the post/pre-command-hook where it is
1547 more obviously correct.
1548
1549 * subr.el (read-passwd): Don't use a history at all.
1550 * savehist.el (savehist-save): Remove password saved accidentally
1551 because of the above bug.
1552
1553 2012-06-22 Bastien Guerry <bzg@gnu.org>
1554
1555 * files.el (toggle-read-only): Display a message telling whether
1556 the buffer is read-only or not (bug#11726).
1557
1558 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * emacs-lisp/gv.el: New file.
1561 * subr.el (push, pop): Extend to generalized variables.
1562 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1563 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1564 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1565 gv-define-simple-setter, and gv-define-expander.
1566 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1567 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1568 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1569 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1570 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1571 gv-letplace.
1572 (cl-defstruct): Don't define setf-method any more.
1573 * emacs-lisp/cl.el (flet): Don't autoload.
1574 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1575 (define-setf-expander, defsetf, define-modify-macro)
1576 (cl-struct-setf-expander): Move from cl-lib.el.
1577 * emacs-lisp/syntax.el:
1578 * emacs-lisp/ewoc.el:
1579 * emacs-lisp/smie.el:
1580 * emacs-lisp/cconv.el:
1581 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1582 (timer--time): Use gv-define-simple-setter.
1583 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1584 to avoid coding-system problems in subr.el. Adjust all users.
1585 (macroexp--maxsize, macroexp-small-p): New functions.
1586 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1587 * scroll-bar.el (scroll-bar-mode):
1588 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1589 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1590 * winner.el (winner-configuration, winner-make-point-alist)
1591 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1592 * files.el (locate-file-completion-table): Avoid list*.
1593
1594 2012-06-22 Chong Yidong <cyd@gnu.org>
1595
1596 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1597 (dired-create-files): Doc fix (Bug#11329).
1598 (dired-do-copy): Doc fix (Bug#11334).
1599 (dired-mark-read-string): Doc fix (Bug#11553).
1600
1601 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1602 Doc fix (Bug#11326).
1603 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1604 (dired-dwim-target): Doc fix.
1605
1606 * wdired.el (wdired-mode): Doc fix.
1607
1608 2012-06-22 Glenn Morris <rgm@gnu.org>
1609
1610 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1611 (pcmpl-rpm-cache-stamp-file): New constant.
1612 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1613 (pcmpl-rpm-packages): Optionally cache list of packages.
1614
1615 * pcmpl-rpm.el (pcmpl-rpm): New group.
1616 (pcmpl-rpm-query-options): New option.
1617 (pcmpl-rpm-packages): No need to inline it.
1618 Use pcmpl-rpm-query-options.
1619
1620 * calendar/calendar.el (calendar-in-read-only-buffer):
1621 Avoid some needless mode changes.
1622
1623 2012-06-21 Chong Yidong <cyd@gnu.org>
1624
1625 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1626 (desktop-path): Remove . from the default value (Bug#10977).
1627 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1628
1629 2012-06-20 Chong Yidong <cyd@gnu.org>
1630
1631 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1632
1633 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1634
1635 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1636 (bug#11201).
1637
1638 2012-06-20 Chong Yidong <cyd@gnu.org>
1639
1640 * term.el (term-window-width): Handle the case of a missing right
1641 fringe (Bug#8837).
1642 (term-check-size): Use window-text-height (Bug#5445).
1643 (term-mode): Use define-derived-mode. Minor cleanups.
1644 Set font-lock-defaults (Bug#7692).
1645 (term-move-columns, term-insert-char, term-emulate-terminal)
1646 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1647
1648 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1649
1650 * net/ange-ftp.el (ange-ftp-get-passwd):
1651 Bind `enable-recursive-minibuffers'.
1652 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1653
1654 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1655
1656 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1657
1658 2012-06-19 Glenn Morris <rgm@gnu.org>
1659
1660 * progmodes/python.el (python-mode): Derive from prog-mode.
1661
1662 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1663
1664 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1665 (edt-user-menu-bar-update-buffers): New functions.
1666 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1667
1668 2012-06-19 Chong Yidong <cyd@gnu.org>
1669
1670 * subr.el (with-selected-window): Preserve the selected window's
1671 terminal's top-frame (Bug#4702).
1672
1673 * window.el (save-selected-window): Likewise.
1674
1675 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * progmodes/python.el (python-rx-constituents): Move backquote.
1678 (python-skeleton-define, python-define-auxiliary-skeleton):
1679 Use `declare'.
1680
1681 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1682
1683 * minibuffer.el (read-file-name-default): Revert the patch from
1684 2012-06-17.
1685
1686 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1689 (pcase--u1, pcase--q1): Don't use apply-partially.
1690
1691 2012-06-18 Glenn Morris <rgm@gnu.org>
1692
1693 * progmodes/python.el (python-proc, python-buffer)
1694 (python-send-receive, python-send-string): Fix obsolete versions.
1695
1696 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1697
1698 * window.el (special-display-p): Completely remove stringp
1699 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1700
1701 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1702
1703 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1704
1705 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1706
1707 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1708 * net/tramp-sh.el (tramp-maybe-open-connection):
1709 Throw if `non-essential' is non-nil.
1710
1711 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1712
1713 * window.el (special-display-p): Signal an error if BUFFER-NAME
1714 is not a string (Bug#11713).
1715
1716 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1717
1718 * progmodes/python.el (python-info-beginning-of-backslash):
1719 Rename from python-info-beginning-of-backlash, as a spelling fix.
1720
1721 2012-06-17 Chong Yidong <cyd@gnu.org>
1722
1723 * term.el (term-emulate-terminal): If term-check-size is called,
1724 move point to the process mark without resetting point (Bug#4635).
1725
1726 2012-06-17 Glenn Morris <rgm@gnu.org>
1727
1728 * international/mule-cmds.el (mule-menu-keymap)
1729 (set-language-environment, set-locale-environment): Doc tweaks.
1730
1731 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1732
1733 * cus-face.el (custom-face-attributes): Add wave-style underline
1734 attribute.
1735 * faces.el (set-face-attribute): Update docstring to describe
1736 wave-style underline attribute.
1737
1738 2012-06-16 Chong Yidong <cyd@gnu.org>
1739
1740 * term/xterm.el (terminal-init-xterm): Discard input before
1741 querying background mode (Bug#10959).
1742
1743 2012-06-16 Stefan Merten <smerten@oekonux.de>
1744
1745 * textmodes/rst.el: Added and corrected some comments.
1746 (rst-re-alist-def): Improve symbol syntax.
1747 (rst-mode-syntax-table): Correct syntax entries.
1748 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1749 (rst-official-version, rst-official-cvs-rev): Update version
1750 information.
1751
1752 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1753
1754 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1755 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1756
1757 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1758
1759 * progmodes/python.el: New python.el merge.
1760 (python-guess-indent): Obsolete var.
1761 (python-indent-guess-indent-offset): New defcustom.
1762 (python-indent): Obsolete var.
1763 (python-indent-offset): New defcustom.
1764 (python-python-command, python-jython-command): Delete var.
1765 (python-shell-interpreter): New defcustom.
1766 (python-pdbtrack-do-tracking-p): Delete var.
1767 (python-pdbtrack-activate): New defcustom.
1768 (python-use-skeletons): Obsolete var.
1769 (python-skeleton-autoinsert): New defcustom.
1770 (inferior-python-filter-regexp, python-continuation-offset)
1771 (python-honour-comment-indentation, python-indent-string-contents)
1772 (python-jython-packages, python-mode-hook)
1773 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1774 (python-shell-prompt-alist)
1775 (python-source-modes): Delete defcustoms.
1776 (python-check-buffer-name, python-eldoc-setup-code)
1777 (python-eldoc-string-code, python-ffap-setup-code)
1778 (python-ffap-string-code, python-fill-comment-function)
1779 (python-fill-decorator-function, python-fill-paren-function)
1780 (python-fill-string-function, python-imenu-include-defun-type)
1781 (python-imenu-make-tree, python-imenu-subtree-root-label)
1782 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1783 (python-shell-compilation-regexp-alist)
1784 (python-shell-completion-module-string-code)
1785 (python-shell-completion-pdb-string-code)
1786 (python-shell-completion-setup-code)
1787 (python-shell-completion-string-code)
1788 (python-shell-enable-font-lock, python-shell-exec-path)
1789 (python-shell-extra-pythonpaths)
1790 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1791 (python-shell-process-environment)
1792 (python-shell-prompt-block-regexp)
1793 (python-shell-prompt-output-regexp)
1794 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1795 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1796 (python-shell-virtualenv-path): New defcustoms.
1797 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1798 (inferior-python-mode-syntax-table, python--prompt-regexp)
1799 (python-buffer, python-command python-python-command)
1800 (python-default-template, python-imports, python-indent-index)
1801 (python-indent-list, python-indent-list-length)
1802 (python-mode-running, python-pdbtrack-is-tracking-p)
1803 (python-preoutput-continuation, python-preoutput-leftover)
1804 (python-preoutput-result, python-preoutput-skip-next-prompt)
1805 (python-prev-dir/file, python-recursing)
1806 (python-saved-check-command, python-version-checked)
1807 (python-which-func-length-limit)
1808 (view-return-to-alist): Delete vars.
1809 (python-check-custom-command, python-dotty-syntax-table)
1810 (python-imenu-index-alist, python-indent-current-level)
1811 (python-indent-dedenters, python-indent-levels)
1812 (python-nav-beginning-of-defun-regexp)
1813 (python-nav-list-defun-positions-cache)
1814 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1815 (python-shell-internal-buffer)
1816 (python-skeleton-available): New vars.
1817 (def-python-skeleton): Delete macro.
1818 (python-skeleton-define): New macro.
1819 (python-define-auxiliary-skeleton, python-rx): New macros.
1820 (python-insert-class): Delete command.
1821 (python-skeleton-class): New command.
1822 (python-insert-def): Delete command.
1823 (python-skeleton-def): New command.
1824 (python-insert-for): Delete command.
1825 (python-skeleton-for): New command.
1826 (python-insert-if): Delete command.
1827 (python-skeleton-if): New command.
1828 (python-insert-try/except, python-insert-try/finally): Delete commands.
1829 (python-skeleton-try): New command.
1830 (python-insert-while): Delete command.
1831 (python-skeleton-while): New command.
1832 (python-backspace): Delete command.
1833 (python-indent-dedent-line-backspace): New command.
1834 (python-electric-colon): Delete command.
1835 (python-indent-electric-colon): New command.
1836 (python-guess-indent): Delete command.
1837 (python-indent-guess-indent-offset): New command.
1838 (python-shift-left): Delete command.
1839 (python-indent-shift-left): New command.
1840 (python-shift-right): Delete command.
1841 (python-indent-shift-right): New command.
1842 (python-find-function): Delete command.
1843 (python-nav-jump-to-defun): New command.
1844 (python-next-statement): Delete command.
1845 (python-nav-forward-sentence): New command.
1846 (python-previous-statement): Delete command.
1847 (python-nav-backward-sentence): New command.
1848 (python-fill-paragraph): Delete command.
1849 (python-fill-paragraph-function): New command.
1850 (python-send-buffer): Delete command.
1851 (python-shell-send-buffer): New command.
1852 (python-send-defun): Delete command.
1853 (python-shell-send-defun): New command.
1854 (python-send-region, python-send-region-and-go): Delete commands.
1855 (python-shell-send-region)
1856 (python-shell-switch-to-shell): New commands.
1857 (python-send-string): Delete command.
1858 (python-shell-send-string): New command.
1859 (python-switch-to-python): Delete command.
1860 (python-shell-switch-to-shell): New command.
1861 (python-describe-symbol): Delete command.
1862 (python-eldoc-at-point): New command.
1863 (python--set-prompt-regexp, python-args-to-list)
1864 (python-after-info-look, python-check-version)
1865 (python-check-comint-prompt, python-find-imports)
1866 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1867 (python-unload-function, python-expand-template)
1868 (python-maybe-jython, python-preoutput-filter)
1869 (python-pdbtrack-get-source-buffer)
1870 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1871 (python-pdbtrack-toggle-stack-tracking)
1872 (python-pdbtrack-track-stack-file, python-initial-text)
1873 (python-first-word, python-comment-line-p, python-send-command)
1874 (python-setup-brm, python-sentinel, python-set-proc)
1875 (python-skip-out, python-input-filter, python-outdent-p)
1876 (python-outline-level, python-backslash-continuation-line-p)
1877 (python-end-of-block, python-end-of-statement, python-mark-block)
1878 (python-beginning-of-block, python-beginning-of-statement)
1879 (python-blank-line-p, python-beginning-of-string)
1880 (python-open-block-statement-p): Delete functions.
1881 (python-indent-line, python-indent-line-1): Delete functions.
1882 (python-indent-line): New function.
1883 (python-indentation-levels): Delete function.
1884 (python-indent-calculate-levels): New function.
1885 (python-proc): Delete function.
1886 (python-shell-get-process): New function.
1887 (python-send-receive): Delete function.
1888 (python-shell-send-string-no-output): New function.
1889 (python-module-path): Delete function.
1890 (python-ffap-module-path): New function.
1891 (python-completion-at-point)
1892 (python-symbol-completions): Delete functions.
1893 (python-completion-complete-at-point): New function.
1894 (python-load-file): Delete function.
1895 (python-shell-send-file): New function.
1896 (python-calculate-indentation): Delete function.
1897 (python-indent-calculate-indentation): New function.
1898 (python-skip-comments/blanks): Delete function.
1899 (python-util-forward-comment): New function.
1900 (python-continuation-line-p): Delete function.
1901 (python-info-continuation-line-p): New function.
1902 (python-which-func, python-current-defun): Delete function.
1903 (python-info-current-defun): New function.
1904 (python-beginning-of-defun): Delete function.
1905 (python-nav-beginning-of-defun): New function.
1906 (python-close-block-statement-p)
1907 (python-block-end-p): Delete function.
1908 (python-info-closing-block): New function.
1909 (python-comint-output-filter-function)
1910 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1911 (python-fill-comment, python-fill-decorator, python-fill-paren)
1912 (python-fill-string, python-imenu-make-element-tree)
1913 (python-imenu-make-tree, python-imenu-tree-assoc)
1914 (python-indent-context, python-indent-dedent-line)
1915 (python-indent-line-function)
1916 (python-indent-post-self-insert-function)
1917 (python-indent-toggle-levels)
1918 (python-info-assignment-continuation-line-p)
1919 (python-info-beginning-of-backlash)
1920 (python-info-block-continuation-line-p)
1921 (python-info-closing-block-message)
1922 (python-info-line-ends-backslash-p)
1923 (python-info-looking-at-beginning-of-defun)
1924 (python-info-ppss-context, python-info-ppss-context-type)
1925 (python-nav-list-defun-positions, python-nav-read-defun)
1926 (python-nav-sentence-end, python-nav-sentence-start)
1927 (python-pdbtrack-comint-output-filter-function)
1928 (python-pdbtrack-set-tracked-buffer)
1929 (python-shell-calculate-exec-path)
1930 (python-shell-calculate-process-environment)
1931 (python-shell-completion--do-completion-at-point)
1932 (python-shell-completion--get-completions)
1933 (python-shell-completion-complete-at-point)
1934 (python-shell-completion-complete-or-indent)
1935 (python-shell-get-or-create-process)
1936 (python-shell-get-process-name)
1937 (python-shell-internal-get-or-create-process)
1938 (python-shell-internal-get-process-name)
1939 (python-shell-internal-send-string, python-shell-make-comint)
1940 (python-shell-parse-command, python-shell-send-setup-code)
1941 (python-skeleton-add-menu-items)
1942 (python-util-clone-local-variables, python-util-position)
1943 (run-python-internal, python-indentation-levels)
1944 (python-nav-beginning-of-defun)
1945 (python-completion-complete-at-point): New functions.
1946 (run-python): Change arguments. New API requirements.
1947
1948 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1951 (bug#11649).
1952
1953 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1954 (macroexp--expand-all): Use it.
1955
1956 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1957 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1958 Use `cl-function' instead.
1959
1960 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1961
1962 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1963 Suggested by Stefan Monnier while discussing bug#11657.
1964
1965 2012-06-14 Sam Steingold <sds@gnu.org>
1966
1967 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1968
1969 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1970
1971 * play/doctor.el (doctor-doc): Remove parameter and use
1972 doctor-sent instead of sent.
1973 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1974
1975 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * files.el: Require cl-lib.
1978 (file-name-non-special): Replace case -> cl-case.
1979
1980 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1981
1982 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1983 mapping from #' to function*.
1984
1985 2012-06-13 Chong Yidong <cyd@gnu.org>
1986
1987 * mouse.el (mouse-drag-track): Do not set the mark if the user
1988 releases the mouse without selecting anything (Bug#11588).
1989
1990 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1993 as well (bug#11646).
1994
1995 * loadup.el: Count byte-code functions as well.
1996
1997 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1998 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1999
2000 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2001 (bug#11649). Add cl-defun and cl-defmacro.
2002
2003 2012-06-13 Drew Adams <drew.adams@oracle.com>
2004
2005 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2006 Fix last change.
2007
2008 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2009
2010 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2011 Otherwise, it blocks in batch mode.
2012
2013 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2014
2015 * help-mode.el (bookmark-make-record-default): Declare.
2016
2017 2012-06-13 Chong Yidong <cyd@gnu.org>
2018
2019 * emacs-lisp/package.el (list-packages): Compute a list of
2020 packages that are newly-available since the last list-packages
2021 invocation.
2022 (package-menu--new-package-list): New var.
2023 (package-menu--generate, package-menu--print-info)
2024 (package-menu--status-predicate, package-menu-mark-install):
2025 Handle new status label "new".
2026
2027 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2030 conversion to backquotes.
2031
2032 2012-06-12 Chong Yidong <cyd@gnu.org>
2033
2034 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2035 Rename from gud-inhibit-global-bindings.
2036
2037 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2038
2039 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2040 hook from nxml-glyph-set-hook.
2041
2042 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2043 declaration.
2044
2045 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2046
2047 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2048 Convert to defcustom.
2049
2050 2012-06-12 Drew Adams <drew.adams@oracle.com>
2051
2052 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2053 New functions.
2054 (help-mode): Use them.
2055
2056 2012-06-11 Glenn Morris <rgm@gnu.org>
2057
2058 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2059 Use preprocessor face for directives.
2060 (fortran-directive-re): Doc fix.
2061
2062 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2065 conversion to backquotes (bug#11652).
2066
2067 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2068 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2069 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2070 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2071 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2072 (cl-ninth, cl-tenth): Mark them as inlinable.
2073 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2074 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2075 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2076 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2077 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2078 (cl-list*, cl-adjoin): Don't put an autoload manually.
2079 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2080 (cl--compiler-macro-list*): Add autoload cookie.
2081 (cl--compiler-macro-cXXr): New function.
2082
2083 * help-fns.el (help-fns--compiler-macro): New function extracted from
2084 describe-function-1; follow aliases and use `compiler-macro' property.
2085 (describe-function-1): Use it.
2086
2087 2012-06-11 Chong Yidong <cyd@gnu.org>
2088
2089 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2090 is uninstalled, if imagemagick is installed.
2091
2092 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * emacs-lisp/cl-lib.el: Use lexical-binding.
2095 (cl-map-extents, cl-maclisp-member): Remove.
2096 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2097 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2098 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2099 * emacs-lisp/cl-extra.el: Use lexical-binding.
2100 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2101 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2102 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2103 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2104 * emacs-lisp/cl-seq.el: Use lexical-binding.
2105 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2106 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2107 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2108 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2109 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2110 CL's internals.
2111
2112 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2113
2114 Sync with Tramp 2.2.6-pre.
2115
2116 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2117 `print-length' and `print-level' to nil, in order to avoid
2118 truncation. Reported by Christopher Schmidt
2119 <christopher@ristopher.com>.
2120
2121 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2122
2123 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2124 New defmacro.
2125 (tramp-compat-copy-directory): Add optional argument
2126 COPY-CONTENTS. It is not handled yet.
2127
2128 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2129 (tramp-ftp-file-name-p): Simplify.
2130
2131 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2132 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2133 connection vector.
2134
2135 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2136 (tramp-methods): Do not use `tramp-password-end-of-line'.
2137 (tramp-completion-function-alist-putty): Handle UNIX case.
2138 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2139 (tramp-do-file-attributes-with-stat)
2140 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2141 gid as real numbers. They could run out of integer range on cygwin.
2142 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2143 (tramp-sh-handle-expand-file-name): Handle hops.
2144 (tramp-open-connection-setup-interactive-shell):
2145 Use `tramp-cleanup'. Move check for busyboxes ...
2146 (tramp-find-shell): ... here. Simplify implementation.
2147 Set "remote-shell" property also for alternative shells.
2148 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2149 If failing, a regular file would be written otherwise.
2150 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2151 (tramp-find-inline-encoding): Cache the coding commands in the
2152 process cache. Apply test command on the remote side, if defined.
2153 (tramp-find-inline-compress): Cache the compress commands in the
2154 process cache.
2155 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2156 when requested. Handle hops.
2157 (tramp-current-connection): New defvar.
2158 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2159 Throw `suppress', if there was a failed connection shortly before.
2160 Handle user interrupt. (Bug#10187)
2161 (tramp-get-inline-compress, tramp-get-inline-coding):
2162 Read connection properties from the process cache.
2163
2164 * net/tramp-smb.el (tramp-smb-server-version)
2165 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2166 New defconsts.
2167 (tramp-smb-prompt): Extend for powershell prompt.
2168 (tramp-smb-file-name-handler-alist): Add handlers for
2169 `process-file', `shell-command' and `start-file-process'.
2170 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2171 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2172 (tramp-smb-file-name-p): Simplify.
2173 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2174 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2175 (tramp-smb-shell-quote-argument): New defuns.
2176 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2177 Implement using "tar". By this, time-stamps are preserved.
2178 (tramp-smb-handle-copy-file): Handle also the case of directories.
2179 (tramp-smb-do-file-attributes-with-stat)
2180 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2181 Use `tramp-get-connection-buffer').
2182 (tramp-smb-handle-rename-file): Use "rename", when source and
2183 target are on the same share.
2184 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2185 Use `tramp-smb-server-version'.
2186 (tramp-smb-wait-for-output): Remove prompt.
2187
2188 * net/tramp.el (top): Require 'cl.
2189 (tramp-methods, tramp-rsh-end-of-line):
2190 Remove `tramp-password-end-of-line' from docstring.
2191 (tramp-save-ad-hoc-proxies): New defcustom.
2192 (tramp-completion-function-alist): Adapt docstring.
2193 (tramp-default-password-end-of-line): Remove defcustom.
2194 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2195 (tramp-user-regexp, tramp-file-name-regexp-unified)
2196 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2197 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2198 (tramp-remote-file-name-spec-regexp): New defconst.
2199 (tramp-file-name-structure): Extend structure for hops.
2200 (tramp-get-method-parameter): Move up.
2201 (tramp-file-name-p, tramp-dissect-file-name)
2202 (with-parsed-tramp-file-name): Handle hops.
2203 (tramp-file-name-hop): New defun.
2204 (tramp-make-tramp-file-name): New optional arg HOP.
2205 (tramp-message-show-progress-reporter-message): New defvar.
2206 (tramp-with-progress-reporter): Use it. We cannot use
2207 `tramp-message-show-message' here, because this suppresses also
2208 error buffers.
2209 (tramp-error-with-buffer): Suppress buffer view, if
2210 `tramp-message-show-message' is nil.
2211 Use `tramp-get-connection-buffer'.
2212 (tramp-cleanup): New defun.
2213 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2214 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2215 an error unchanged.
2216 (tramp-completion-handle-file-name-all-completions): Handle hops.
2217 Fix an error when called from ido.
2218 (tramp-completion-dissect-file-name): Use better local variable
2219 name. Add hop to the vector.
2220 (tramp-handle-insert-file-contents): Use progress-reporter for the
2221 whole scenario.
2222 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2223 to `t'.
2224 (tramp-check-for-regexp): Simplify search.
2225 (tramp-enter-password): Remove it. Move implementation ...
2226 (tramp-action-password): ... here.
2227 (tramp-mode-string-to-int, tramp-local-host-p)
2228 (tramp-make-tramp-temp-file, tramp-read-passwd)
2229 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2230 Set tramp-autoload cookie.
2231
2232 * net/trampver.el: Update release number.
2233
2234 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2235 Michael Albinus <michael.albinus@gmx.de>
2236
2237 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2238 (tramp-parse-group, tramp-parse-file)
2239 (tramp-parse-shostkeys-sknownhosts): New defuns.
2240 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2241 (tramp-parse-shosts-group, tramp-parse-sconfig)
2242 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2243 (tramp-parse-sknownhosts, tramp-parse-hosts)
2244 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2245 Use them.
2246 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2247 (tramp-parse-putty-group): Don't narrow.
2248 (tramp-parse-putty): Make a loop.
2249 (tramp-file-name-handler): Catch the `suppress' signal.
2250
2251 2012-06-11 Chong Yidong <cyd@gnu.org>
2252
2253 * image.el (imagemagick-register-types): Put the ImageMagick entry
2254 at the end of image-type-file-name-regexps.
2255
2256 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2257
2258 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2259 (pcase, pcase-let*, pcase-dolist): Use them.
2260
2261 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2262
2263 * emacs-lisp/pcase.el (pcase--let*): New function.
2264 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2265 (pcase--expand): Use macroexp-let².
2266
2267 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2270 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2271 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2272 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2273 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2274 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2275
2276 2012-06-10 Glenn Morris <rgm@gnu.org>
2277
2278 * mail/rmail.el (rmail-yank-current-message): Leave point at
2279 correct position. (Bug#11660)
2280
2281 2012-06-10 Chong Yidong <cyd@gnu.org>
2282
2283 * allout-widgets.el: Fix code header.
2284
2285 2012-06-10 Chong Yidong <cyd@gnu.org>
2286
2287 * cus-edit.el (customize-changed-options-previous-release):
2288 Bump to 24.1.
2289
2290 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2291
2292 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2293
2294 2012-06-09 Chong Yidong <cyd@gnu.org>
2295
2296 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2297
2298 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2299
2300 * window.el (special-display-popup-frame): Don't use
2301 window--display-buffer (Bug#11651).
2302
2303 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2304
2305 Fix parallel builds: make sure loaddefs.el is not being written
2306 while Lisp files are compiled.
2307 (compile): Don't depend on 'mh-autoloads'.
2308 (compile-CMD, compile-SH): Depend on 'autoloads'.
2309 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2310
2311 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2312
2313 2012-06-09 Chong Yidong <cyd@gnu.org>
2314
2315 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2316 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2317 Doc fixes (Bug#11225).
2318
2319 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2320
2321 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2322 a function if there's a clear indication that it has a compiler-macro.
2323 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2324 (macro-declarations-alist): Add arglist to declaration functions.
2325 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2326 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2327 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2328 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2329 Also add autoload to find the compiler macro.
2330 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2331 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2332 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2333 (cl--compiler-macro-get): New functions, replacing calls to
2334 cl-define-compiler-macro.
2335 (cl-typep) [compiler-macro]: Use macroexp-let².
2336
2337 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2338
2339 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2340 string properly, fixes Bug#11473.
2341
2342 2012-06-08 Chong Yidong <cyd@gnu.org>
2343
2344 * faces.el (set-face-attribute): Doc fix.
2345 (modify-face): Don't use :bold and :italic.
2346 (error, warning, success): Tweak definitions.
2347
2348 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2349 (custom-modified, custom-set, custom-changed, custom-themed)
2350 (custom-saved, custom-button, custom-button-mouse)
2351 (custom-button-pressed, custom-state, custom-comment-tag)
2352 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2353 (custom-group-subtitle): Use new-style face specs.
2354 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2355 (custom-set-face, custom-changed-face, custom-saved-face)
2356 (custom-button-face, custom-button-pressed-face)
2357 (custom-documentation-face, custom-state-face)
2358 (custom-comment-face, custom-comment-tag-face)
2359 (custom-variable-tag-face, custom-variable-button-face)
2360 (custom-face-tag-face, custom-group-tag-face-1)
2361 (custom-group-tag-face): Remove obsolete face alias.
2362
2363 * epa.el (epa-validity-high, epa-validity-medium)
2364 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2365 (epa-field-name, epa-field-body):
2366 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2367 (font-lock-keyword-face, font-lock-builtin-face)
2368 (font-lock-function-name-face, font-lock-variable-name-face)
2369 (font-lock-type-face, font-lock-constant-face):
2370 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2371 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2372 * speedbar.el (speedbar-button-face, speedbar-file-face)
2373 (speedbar-directory-face, speedbar-tag-face)
2374 (speedbar-selected-face, speedbar-highlight-face)
2375 (speedbar-separator-face):
2376 * whitespace.el (whitespace-newline, whitespace-space)
2377 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2378 (whitespace-line, whitespace-space-before-tab)
2379 (whitespace-space-after-tab, whitespace-indentation)
2380 (whitespace-empty):
2381 * emulation/cua-base.el (cua-global-mark):
2382 * eshell/em-prompt.el (eshell-prompt):
2383 * net/newst-plainview.el (newsticker-new-item-face)
2384 (newsticker-old-item-face, newsticker-immortal-item-face)
2385 (newsticker-obsolete-item-face, newsticker-date-face)
2386 (newsticker-statistics-face, newsticker-default-face):
2387 * net/newst-reader.el (newsticker-feed-face)
2388 (newsticker-extra-face, newsticker-enclosure-face):
2389 * net/newst-treeview.el (newsticker-treeview-face)
2390 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2391 (newsticker-treeview-immortal-face)
2392 (newsticker-treeview-obsolete-face)
2393 (newsticker-treeview-selection-face):
2394 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2395 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2396 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2397 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2398 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2399 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2400 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2401 (mpuz-text):
2402 * progmodes/vera-mode.el (vera-font-lock-number)
2403 (vera-font-lock-function, vera-font-lock-interface):
2404 * textmodes/table.el (table-cell): Use new-style face specs, and
2405 don't use the old :bold and :italic attributes.
2406
2407 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2408 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2409 (ebrowse-member-class, ebrowse-progress): Likewise.
2410 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2411 (ebrowse-file-name-face, ebrowse-default-face)
2412 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2413 (ebrowse-progress-face): Remove obsolete faces.
2414
2415 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2416 Inherit from error and warning faces respectively.
2417
2418 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2419 Likewise.
2420 (flyspell-incorrect-face, flyspell-duplicate-face):
2421 Remove obsolete aliases.
2422
2423 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2424
2425 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2426 Avoid infloop.
2427
2428 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * startup.el (argv, argi): Make lexically scoped.
2431 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2432 * emacs-lisp/cl-macs.el: Use lexical-binding.
2433 Rename cl-bind-* to cl--bind-*.
2434 * files.el: Don't require `cl' since it doesn't use it.
2435 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2436
2437 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2438
2439 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2440 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2441 instead of calling external sort utility.
2442 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2443
2444 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2445
2446 * descr-text.el (describe-char): Mention how to insert the
2447 character, if the current input method doesn't support it.
2448 See the discussion in this thread for the details:
2449 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2450
2451 2012-06-08 Sam Steingold <sds@gnu.org>
2452
2453 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2454 XF86Back to previous-buffer.
2455 (minibuffer-local-map): Bind them to next-history-element and
2456 previous-history-element respectively.
2457 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2458 help-go-back respectively.
2459 * info.el (Info-mode-map): Bind them to Info-history-forward and
2460 Info-history-back respectively.
2461 These are the keys next to Up on the ThinkPad keyboard.
2462
2463 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2466 * emacs-lisp/cl-macs.el: Provide itself.
2467 (cl--labels-convert-cache): New var.
2468 (cl--labels-convert): New function.
2469 (cl-flet, cl-labels): New implementation with new semantics, relying on
2470 lexical-binding.
2471 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2472 (cl-closure-vars, cl--function-convert-cache)
2473 (cl--function-convert): Move from cl-macs.el.
2474 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2475 rename by removing the "cl-" prefix.
2476 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2477
2478 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2481 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2482 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2483 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2484 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2485 (cl-hash-table-count): Add old compatibility aliases.
2486
2487 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2488 Use macroexpand-all-environment instead.
2489 (cl--old-macroexpand): New var.
2490 (cl--sm-macroexpand): New function.
2491 (cl-symbol-macrolet): Use it during macro expansion.
2492 (cl--function-convert-cache): New var.
2493 (cl--function-convert): New function, extracted from
2494 cl-macroexpand-all.
2495 (cl-lexical-let): Use it.
2496
2497 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2498 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2499 (cl-member): Remove old alias.
2500
2501 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2502 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2503 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2504 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2505 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2506 (cl-macroexpand-cmacs): Remove var.
2507 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2508 Use macroexpand-all instead.
2509
2510 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2513 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2514 (macroexp-copyable-p): New functions and macros.
2515 * emacs-lisp/edebug.el (edebug-unwrap):
2516 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2517 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2518 (pcase--let*): Remove.
2519 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2520 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2521 macroexp-const-p instead.
2522 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2523
2524 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2525 instead of "cl-" for internal definitions. Use macroexp-const-p.
2526 (cl-old-bc-file-form): Remove var.
2527 (cl-const-exprs-p): Remove fun.
2528 (cl-labels, cl-macrolet): Use backquote.
2529 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2530 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2531 (cl-define-setf-expander): Rename from cl-define-setf-method.
2532 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2533
2534 * international/mule-cmds.el: Don't require CL.
2535 (view-hello-file): Don't use `letf'.
2536
2537 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * tmm.el (tmm-prompt): Use string-prefix-p.
2540 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2541 (tmm-add-prompt): Use minibuffer-completion-help.
2542 (tmm-delete-map): Remove.
2543
2544 * subr.el (kbd): Make it its own function.
2545
2546 2012-06-07 Stefan Merten <smerten@oekonux.de>
2547
2548 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2549 Silence compiler warnings. Fix versions.
2550 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2551 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2552 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2553 (rst-package-emacs-version-alist): Correct Emacs version to
2554 represent major merge with upstream.
2555 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2556
2557 2012-06-06 Glenn Morris <rgm@gnu.org>
2558
2559 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2560 Only print environment variables if set.
2561
2562 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2565 (macroexp--cons): Rename from maybe-cons.
2566 (macroexp--accumulate): Rename from macroexp-accumulate.
2567 (macroexp--all-forms): Rename from macroexpand-all-forms.
2568 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2569 (macroexp--expand-all): Rename from macroexpand-all-1.
2570
2571 2012-06-06 Sam Steingold <sds@gnu.org>
2572
2573 * calendar/calendar.el (calendar-in-read-only-buffer):
2574 Call `special-mode' to enable the standard read-only keybindings.
2575
2576 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2579 with "loading" messages (bug#11635).
2580
2581 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2582
2583 * files.el (enable-remote-dir-locals): New option.
2584 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2585
2586 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2587 Ensure, that the temp directory is local.
2588
2589 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2590 `temporary-file-directory'.
2591
2592 * progmodes/python.el (python-send-region): Ensure, that the
2593 temporary file is created also in the remote case.
2594
2595 2012-06-06 Glenn Morris <rgm@gnu.org>
2596
2597 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2598 (vc-rcs-update-changelog): Use it.
2599
2600 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2601
2602 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2603 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2604 (vc-sccs-diff): Replace use of the external vcdiff script.
2605
2606 2012-06-05 Glenn Morris <rgm@gnu.org>
2607
2608 * ledit.el: Move to obsolete/.
2609
2610 2012-06-05 Sam Steingold <sds@gnu.org>
2611
2612 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2613 patch (Bug#11140).
2614
2615 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * emacs-lisp/cust-print.el: Move to obsolete.
2618
2619 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2620 compiler-macro expansion.
2621
2622 Add native compiler-macro support.
2623 * emacs-lisp/macroexp.el (macroexpand-all-1):
2624 Support compiler-macros directly. Properly follow aliases and apply
2625 the compiler macros more thoroughly.
2626 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2627 macroexpand now properly follows aliases.
2628 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2629 (cl-compiler-macroexpand): Use new prop.
2630 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2631
2632 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2633
2634 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2635
2636 * window.el (get-lru-window, get-mru-window, get-largest-window):
2637 New argument NOT-SELECTED to avoid picking the selected window.
2638 (window--display-buffer-1, window--display-buffer-2): Replace by
2639 new function window--display-buffer
2640 (display-buffer-same-window, display-buffer-reuse-window)
2641 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2642 Use window--display-buffer.
2643 (display-buffer-use-some-window): Remove temporary dedication
2644 hack by calling get-lru-window and get-largest-window with
2645 NOT-SELECTED argument non-nil. Call window--display-buffer.
2646
2647 2012-06-05 Glenn Morris <rgm@gnu.org>
2648
2649 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2650 Replace external vcdiff script.
2651
2652 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2655
2656 2012-06-04 Chong Yidong <cyd@gnu.org>
2657
2658 * image.el (imagemagick-types-inhibit): Revert last change.
2659 Add INFO and M.
2660 (imagemagick-enabled-types): Remove CIN and EPS*.
2661
2662 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2663
2664 * emacs-lisp/cl-lib.el: Rename from cl.el.
2665 * emacs-lisp/cl.el: New compatibility file.
2666 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2667 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2668 to obey the "cl-" prefix.
2669 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2670
2671 2012-06-03 Glenn Morris <rgm@gnu.org>
2672
2673 * emacs-lisp/authors.el (authors-aliases): Addition.
2674
2675 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2676 Fix :version.
2677
2678 2012-06-03 Stefan Merten <smerten@oekonux.de>
2679
2680 * textmodes/rst.el: Add comments.
2681 (rst-transition, rst-adornment): New faces.
2682 (rst-adornment-faces-alist): Make default safe to reevaluate.
2683 Fixes
2684 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2685 Improve customization tags.
2686 (rst-define-level-faces): Clarify meaning.
2687
2688 2012-06-03 Chong Yidong <cyd@gnu.org>
2689
2690 * progmodes/compile.el (compilation-mode-line-fail)
2691 (compilation-mode-line-run, compilation-mode-line-exit):
2692 New faces.
2693 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2694
2695 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2696
2697 * progmodes/which-func.el (which-func-update-ediff-windows):
2698 New function. Use it in ediff-select-hook (Bug#11478).
2699
2700 2012-06-03 Chong Yidong <cyd@gnu.org>
2701
2702 * bindings.el: Remove explicit help text from format-mode-line.
2703 It is now supplied by mode-line-default-help-echo.
2704 (mode-line-front-space, mode-line-end-spaces)
2705 (mode-line-misc-info): New variables.
2706 (mode-line-modes, mode-line-position): Move the default value to
2707 the variable definition.
2708 (mode-line-default-help-echo): New defcustom.
2709 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2710 (mode-line-modified-help-echo): New functions.
2711 (mode-line-mule-info, mode-line-modified): Use them.
2712 (mode-line-eol-desc, propertized-buffer-identification):
2713 Consistency fixes for help text.
2714 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2715 set-buffer-file-coding-system (Bug#289).
2716 (mode-line-mule-info-help-echo): Update help text.
2717
2718 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2719
2720 * simple.el (execute-extended-command): Set real-this-command
2721 (bug#11506).
2722
2723 2012-06-02 Chong Yidong <cyd@gnu.org>
2724
2725 Remove incorrect uses of "modeline" in comments, docstrings, and
2726 function/variable names (Bug#10329).
2727
2728 * cus-edit.el (mode-line):
2729 * dframe.el (dframe-mouse-hscroll):
2730 * emacs-lisp/re-builder.el:
2731 * emacs-lisp/easy-mmode.el (define-minor-mode):
2732 * frame.el (set-frame-name):
2733 * help.el (lookup-minor-mode-from-indicator):
2734 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2735 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2736 (c-toggle-hungry-state):
2737 * progmodes/antlr-mode.el (antlr-language-alist):
2738 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2739 * progmodes/vhdl-mode.el (vhdl-mode):
2740 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2741 * term/ns-win.el (ns-face-at-pos):
2742 * term/sup-mouse.el (sup-mouse-report):
2743 * textmodes/flyspell.el (flyspell-mode-line-string):
2744 * textmodes/ispell.el (ispell-highlight-face):
2745 * textmodes/reftex-global.el:
2746 * vc/vc-arch.el (vc-arch-mode-line-string):
2747 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2748 * vc/vc-git.el (vc-git-mode-line-string):
2749 * vc/vc-hooks.el (vc-display-status)
2750 (vc-default-mode-line-string):
2751 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2752
2753 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2754
2755 * dired.el (dired-sort-set-mode-line): Rename from
2756 dired-sort-set-modeline. All callers changed.
2757
2758 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2759 eshell-status-in-modeline.
2760
2761 * foldout.el (foldout-mode-line-string): Rename from
2762 foldout-modeline-string. All callers changed.
2763 (foldout-update-mode-line): Rename from foldout-update-modeline.
2764
2765 * subr.el (redraw-modeline): Make into obsolete alias.
2766
2767 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2768 timeclock-modeline-display. Make old name an alias.
2769 (timeclock-update-mode-line): Likewise. All callers changed.
2770 (timeclock-mode-line-display): No need to check before using
2771 add-hook.
2772 (timeclock-relative, timeclock-day-over-hook)
2773 (timeclock-use-elapsed, timeclock-mode-string)
2774 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2775
2776 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2777 crisp-mode-modeline-string.
2778
2779 * play/solitaire.el (solitaire-build-mode-line): Rename from
2780 solitaire-build-modeline. All callers changed.
2781
2782 * play/zone.el (zone-hiding-mode-line): Rename from
2783 zone-hiding-modeline. All callers changed.
2784 (zone): Remove unusued `modeline-hidden-level' property.
2785
2786 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2787 xscheme-modeline-initialize. All callers changed.
2788
2789 * strokes.el (strokes-lighter): Rename from
2790 strokes-modeline-string.
2791
2792 * textmodes/sgml-mode.el (html-face-tag-alist)
2793 (html-tag-face-alist): Use mode-line face instead of obsolete
2794 alias modeline.
2795
2796 2012-06-02 Stefan Merten <smerten@oekonux.de>
2797
2798 * textmodes/rst.el: Always require `cl'.
2799 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2800
2801 2012-06-02 Chong Yidong <cyd@gnu.org>
2802
2803 * image.el (imagemagick-enabled-types): Rename from
2804 imagemagick-types-enable. Add many more types.
2805 (imagemagick-types-inhibit): Change default to nil.
2806 (imagemagick-filter-types): Caller changed.
2807
2808 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * emacs-lisp/cl-macs.el: Use backquotes.
2811 (cl-transform-function-property): Use eval-and-compile rather than
2812 abusing `require'.
2813 (defstruct): Use declare-function instead of with-no-warnings.
2814
2815 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2816 (byte-compile-output-docform): Re-add the print-circle bindings.
2817 (byte-compile-fix-header): Use #$ just because it's shorter.
2818 (byte-compile-output-file-form): Remove defun/defmacro.
2819
2820 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2821
2822 * simple.el (choose-completion): Remove now obsolete binding for
2823 owindow.
2824
2825 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2826
2827 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2828 in order to avoid "Stack overflow in regexp matcher".
2829
2830 2012-05-31 Glenn Morris <rgm@gnu.org>
2831
2832 * image.el: For clarity, call imagemagick-register-types at
2833 top-level, rather than relying on a custom :initialize.
2834 (imagemagick-types-enable): New option. (Bug#11557)
2835 (imagemagick-filter-types): New function. (Bug#7406)
2836 (imagemagick-register-types): Use imagemagick-filter-types.
2837 If disabling support, remove elements altogether rather
2838 than using an impossible regexp.
2839 (imagemagick-types-inhibit): Give it the default init function.
2840
2841 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2844 Handle arbitrary file name lengths (Bug#11585).
2845
2846 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2847
2848 * desktop.el (desktop-read): Clear previous and next buffers for
2849 all windows and bury *Messages* buffer (bug#11556).
2850
2851 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2852
2853 Add `declare' for `defun'. Align `defmacro's with it.
2854 * emacs-lisp/easy-mmode.el (define-minor-mode)
2855 (define-globalized-minor-mode): Don't autoload the var definitions.
2856 * emacs-lisp/byte-run.el: Use lexical-binding.
2857 (defun-declarations-alist, macro-declarations-alist): New vars.
2858 (defmacro, defun): Use them.
2859 (make-obsolete, define-obsolete-function-alias)
2860 (make-obsolete-variable, define-obsolete-variable-alias):
2861 Use `declare'.
2862 (macro-declaration-function): Mark obsolete.
2863 * emacs-lisp/autoload.el: Use lexical-binding.
2864 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2865
2866 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2867
2868 * textmodes/ispell.el (ispell-with-no-warnings):
2869 Define as a macro.
2870 (ispell-kill-ispell, ispell-change-dictionary):
2871 Use `called-interactively-p' for Emacs instead of obsolete
2872 `interactive-p'.
2873
2874 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2877 (macro-declaration-function): Move var from C code.
2878 (macro-declaration-function): Define function with defalias.
2879 * emacs-lisp/macroexp.el (macroexpand-all-1):
2880 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2881 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2882 defun/defmacro any more.
2883 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2884 Provide fallback for unknown arglist.
2885 (byte-compile-arglist-warn): Change calling convention.
2886 (byte-compile-output-file-form): Move print-vars binding.
2887 (byte-compile-output-docform): Simplify accordingly.
2888 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2889 (byte-compile-defmacro-declaration): Remove.
2890 (byte-compile-file-form-defmumble): Generalize to defalias.
2891 (byte-compile-output-as-comment): Return byte-positions.
2892 Simplify callers accordingly.
2893 (byte-compile-lambda): Use `assert'.
2894 (byte-compile-defun, byte-compile-defmacro): Remove.
2895 (byte-compile-file-form-defalias):
2896 Use byte-compile-file-form-defmumble.
2897 (byte-compile-defalias-warn): Remove.
2898
2899 2012-05-29 Stefan Merten <smerten@oekonux.de>
2900
2901 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2902 possible. Fix authors. Improve comments. Improve loading of `cl'.
2903
2904 (rst-mode-abbrev-table): Merge definition.
2905 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2906 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2907
2908 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2909
2910 * calendar/icalendar.el
2911 (icalendar-export-region): Export UID properly.
2912
2913 2012-05-29 Leo Liu <sdl.web@gmail.com>
2914 * calendar/icalendar.el (icalendar-import-format):
2915 Add `icalendar-import-format-uid' (Bug#11525).
2916 (icalendar-import-format-uid): New.
2917 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2918 Export UID.
2919
2920 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2923 different alternative patterns.
2924 (pcase-codegen): Be more careful to preserve identity.
2925 (pcase--u1): Don't forget to mark vars as used.
2926
2927 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2928 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2929 (byte-compile-from-buffer): ...rather than here.
2930
2931 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2932 functions from byte-compile-function-environment.
2933
2934 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2935
2936 * window.el (window-deletable-p): Avoid deleting the root window
2937 of a frame with an active minibuffer.
2938
2939 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2940
2941 * simple.el (choose-completion): Use quit-window (Bug#11567).
2942
2943 2012-05-29 Chong Yidong <cyd@gnu.org>
2944
2945 * whitespace.el (whitespace-cleanup): Fix usage of
2946 whitespace-empty-at-bob-regexp (Bug#11492).
2947
2948 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2949
2950 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2951 revert (Bug#11488).
2952
2953 2012-05-29 Juri Linkov <juri@jurta.org>
2954
2955 * isearch.el (isearch-mode-map): Bind `M-s _' to
2956 `isearch-toggle-symbol'. Bind `M-s c' to
2957 `isearch-toggle-case-fold'.
2958 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2959 (isearch-forward): Add `M-s _' to the docstring.
2960 (isearch-forward-symbol, isearch-toggle-case-fold)
2961 (isearch-symbol-regexp): New functions. (Bug#11381)
2962
2963 2012-05-29 Juri Linkov <juri@jurta.org>
2964
2965 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2966 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2967 a function, call it to get the regexp.
2968 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2969 property `isearch-message-prefix' instead of the string "word ".
2970 (isearch-search-fun-default): For the case of `isearch-word',
2971 return a lambda that calls re-search-forward/re-search-backward
2972 with a regexp returned by `word-search-regexp' or by the function
2973 in `isearch-word'.
2974
2975 2012-05-29 Juri Linkov <juri@jurta.org>
2976
2977 * isearch.el (isearch-search-fun-default): New function.
2978 (isearch-search-fun): Move default part to the new function
2979 `isearch-search-fun-default'.
2980 (isearch-search-fun-function): Set the default value to
2981 `isearch-search-fun-default'. (Bug#11381)
2982
2983 * comint.el (comint-history-isearch-end):
2984 Use `isearch-search-fun-default'.
2985 (comint-history-isearch-search): Use `isearch-search-fun-default'
2986 and remove spacial case for `isearch-word'.
2987 (comint-history-isearch-wrap): Remove spacial case for
2988 `isearch-word'.
2989
2990 * hexl.el (hexl-isearch-search-function):
2991 Use `isearch-search-fun-default'.
2992
2993 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2994 Use `word-search-regexp' for `isearch-word'.
2995
2996 * misearch.el (multi-isearch-search-fun):
2997 Use `isearch-search-fun-default'.
2998
2999 * simple.el (minibuffer-history-isearch-search):
3000 Use `isearch-search-fun-default' and remove spacial case for
3001 `isearch-word'.
3002 (minibuffer-history-isearch-wrap): Remove spacial case for
3003 `isearch-word'.
3004
3005 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3006 Remove spacial case for `isearch-word'.
3007 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3008
3009 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3010
3011 Decrease XEmacs incompatibilities.
3012 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3013 Use `string-match'.
3014 (flyspell-delete-region-overlays): Use alternative definition for
3015 XEmacs.
3016 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3017 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3018 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3019 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3020 `define-obsolete-face-alias' under XEmacs, but old method.
3021
3022 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3023 `with-no-warnings' definition or Emacs alias.
3024 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3025 (ispell-word): Do not use `region-p' if XEmacs.
3026
3027 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3028
3029 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3030 Check for `ispell-dictionary-base-alist' instead of full
3031 `ispell-dictionary-alist'.
3032 (ispell-init-process): Show spellchecker when starting new Ispell
3033 process.
3034
3035 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3038 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3039
3040 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3041
3042 * version.el (motif-version-string, gtk-version-string)
3043 (ns-version-string): Declare.
3044
3045 2012-05-27 Juri Linkov <juri@jurta.org>
3046
3047 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3048 after the `eval-defun-1' specialcaseing
3049 like in `edebug-eval-defun' (bug#10181).
3050
3051 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3052 like in `eval-defun-1'.
3053
3054 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3055
3056 * mail/sendmail.el (mail-yank-region):
3057 Recognize rmail-yank-current-message in addition to insert-buffer.
3058 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3059 a *mail* buffer created through rmail-start-mail with sendmail as
3060 mail-user-agent.
3061
3062 2012-05-27 Chong Yidong <cyd@gnu.org>
3063
3064 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3065 Default to 256 (Bug#11267).
3066
3067 * help.el (describe-mode): Doc fix.
3068
3069 2012-05-26 Glenn Morris <rgm@gnu.org>
3070
3071 * w32-fns.el (w32-init-info): Remove.
3072 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3073
3074 * info.el (info-initialize): For self-contained NS builds, put the
3075 included info/ directory at the front. (Bug#2791)
3076
3077 * paths.el (Info-default-directory-list): Make it a defcustom,
3078 mainly so that we can use custom-initialize-delay.
3079
3080 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3081
3082 * subr.el (buffer-has-markers-at): Mark obsolete.
3083
3084 * subr.el (lambda): Use declare.
3085
3086 * emacs-lisp/lisp-mode.el (lambda):
3087 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3088
3089 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3090
3091 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3092
3093 2012-05-26 Glenn Morris <rgm@gnu.org>
3094
3095 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3096
3097 2012-05-25 Glenn Morris <rgm@gnu.org>
3098
3099 * paths.el: Remove no-byte-compile.
3100 * loadup.el: No need to load paths.el uncompiled.
3101
3102 * image.el (imagemagick-types-inhibit): Doc fix.
3103
3104 * version.el: Remove no-byte-compile and associated formatting.
3105 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3106 is ancient code from when there was an "inc-vers.el".
3107
3108 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * progmodes/gdb-mi.el: Minor style changes.
3111 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3112 Turn into minor modes.
3113 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3114 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3115 (gdb-shell): Remove unneeded let-binding.
3116 (gdb-get-many-fields): Eliminate O(n²) behavior.
3117
3118 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3119
3120 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3121 platforms that don't link in fontset.c.
3122
3123 2012-05-25 Juri Linkov <juri@jurta.org>
3124
3125 Use the same diff color scheme as in modern VCSes (bug#10181).
3126
3127 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3128 to avoid confusion with `diff-added' that now uses green colors.
3129 (diff-removed): Use shades of red.
3130 (diff-added): Use shades of green.
3131 (diff-changed): Leave just the yellow color.
3132 (diff-use-changed-face): New variable.
3133 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3134 how to highlight context diff changes.
3135 (diff-refine-change): Use shades of yellow.
3136 (diff-refine-removed): New face that uses shades of red.
3137 (diff-refine-added): New face that uses shades of green.
3138 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3139 `diff-refine-removed' in the call to `smerge-refine-subst'
3140 depending on the value of `diff-use-changed-face'.
3141
3142 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3143 (smerge-other): Use shades of green.
3144 (smerge-base): Use shades of yellow.
3145 (smerge-refined-change): Empty face.
3146 (smerge-refined-removed): New face that uses shades of red.
3147 (smerge-refined-added): New face that uses shades of green.
3148 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3149 args `props-r' and `props-a', and use them. Doc fix.
3150 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3151 on its value use different faces `smerge-refined-change',
3152 `smerge-refined-removed', `smerge-refined-added' in the call to
3153 `smerge-refine-subst'.
3154
3155 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3156 Add face condition `min-colors 88' with shades of red.
3157 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3158 `min-colors 88' with shades of green.
3159 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3160 `min-colors 88' with shades of yellow.
3161
3162 2012-05-24 Glenn Morris <rgm@gnu.org>
3163
3164 * paths.el (prune-directory-list, remote-shell-program): Move to...
3165 * files.el (prune-directory-list, remote-shell-program): ...here.
3166 For the latter, delay initialization, prefer ssh, just search PATH.
3167
3168 * paths.el (term-file-prefix): Move to faces.el (the only user).
3169 * faces.el (term-file-prefix): Move here, make it a defcustom.
3170
3171 * paths.el (news-directory, news-path, news-inews-program):
3172 Move to gnus/nnspool.el.
3173
3174 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3175
3176 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3177 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3178 Make the latter a defcustom, with a delayed initialization.
3179
3180 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3181 These were deleted from Gnus itself late 2010.
3182
3183 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3184
3185 * progmodes/which-func.el (which-func-ff-hook):
3186 Check against user-error, not error.
3187
3188 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3189 cl-specs.el, which no longer exists.
3190
3191 2012-05-22 Glenn Morris <rgm@gnu.org>
3192
3193 * info.el (info-emacs-bug): New command.
3194 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3195 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3196
3197 2012-05-21 Glenn Morris <rgm@gnu.org>
3198
3199 * makefile.w32-in (update-subdirs-SH):
3200 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3201
3202 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3205
3206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3207 Simplify Maven regexp, and make sure the file can't start with a space
3208 (bug#11517).
3209
3210 2012-05-21 Glenn Morris <rgm@gnu.org>
3211
3212 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3213 Scrap superfluous subshells.
3214
3215 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3218 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3219
3220 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3221
3222 * calc/calc.el (calc-ensure-consistent-units): New variable.
3223
3224 * calc/calc-units.el (math-consistent-units-p)
3225 (math-check-unit-consistency): New functions.
3226 (calc-quick-units, calc-convert-units):
3227 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3228 is non-nil.
3229 (calc-extract-units): Fix typo.
3230
3231 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3232
3233 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3234
3235 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3236 (flyspell-default-deplacement-commands): Don't spell check after
3237 repeated window/frame switches (e.g. triggered by mouse-movement).
3238 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3239 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3240 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3241 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3242 Remove unused vars.
3243 (flyspell-get-casechars, flyspell-get-not-casechars):
3244 Simplify; Don't bother removing a ] just to add it back.
3245 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3246
3247 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3248
3249 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3250 New functions.
3251 (math-function-table): Add support for more C functions.
3252
3253 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3254
3255 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3256 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3257 Protect delay handling for otherchars against empty otherchars.
3258
3259 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3262 their respective macro declarations.
3263 * skeleton.el (define-skeleton):
3264 * progmodes/compile.el (define-compilation-mode):
3265 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3266 (define-ibuffer-filter):
3267 * emacs-lisp/generic.el (define-generic-mode):
3268 * emacs-lisp/easy-mmode.el (define-minor-mode)
3269 (define-globalized-minor-mode):
3270 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3271 * emacs-lisp/byte-run.el (defsubst):
3272 * custom.el (deftheme): Add doc-string metadata.
3273
3274 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3275
3276 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3277
3278 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3279
3280 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3281
3282 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3283 * emacs-lisp/cl-macs.el: Idem.
3284 * emacs-lisp/cl-specs.el: Remove.
3285
3286 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3287
3288 Minor renaming of internal CL functions and variables.
3289 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3290 (cl--position): Rename from cl-position.
3291 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3292 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3293 (cl--random-state): Rename from *random-state*.
3294
3295 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3298 parens around the arg list (bug#11499).
3299
3300 2012-05-17 Juri Linkov <juri@jurta.org>
3301
3302 * isearch.el (word-search-regexp, word-search-backward)
3303 (word-search-forward, word-search-backward-lax)
3304 (word-search-forward-lax): Move functions from search.c
3305 (bug#10145, bug#11381).
3306
3307 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3308
3309 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3310 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3311 Delay for otherchars as for normal word components.
3312
3313 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3314
3315 * minibuffer.el (completion--sifn-requote): Fix last change.
3316 (minibuffer-local-must-match-filename-map):
3317 Move define-obsolete-variable-alias before its var.
3318
3319 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3322
3323 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3324 behavior.
3325 (completion--string-equal-p): New function.
3326 (completion--twq-all): Use it to get better assertion failure data.
3327
3328 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3329 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3330 (shell--requote-argument): New functions.
3331 (shell-completion-vars): Use them.
3332 (shell--parse-pcomplete-arguments): Rename from
3333 shell-parse-pcomplete-arguments.
3334 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3335 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3336 Obey comint-file-name-quote-list.
3337
3338 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3339 (smie-indent-keyword): Use it.
3340
3341 2012-05-14 Stefan Merten <smerten@oekonux.de>
3342
3343 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3344
3345 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * net/rlogin.el (rlogin-mode-map): Fix last change.
3348
3349 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3350
3351 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3352 the following \r\n using a single `process-send-string', since the
3353 Lotus SMTP server refuses to accept any commands if they are sent
3354 with two `process-send-string's (Bug#11444).
3355
3356 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * shell.el (shell-parse-pcomplete-arguments):
3359 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3360
3361 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3362
3363 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3364 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3365 (image-transform-width, image-transform-fit-width): New functions.
3366 (image-transform-properties): Use them.
3367 (image-transform-check-size): New function.
3368 (image-toggle-display-image): Use it (for testing).
3369 (image-transform-set-rotation): Reduce angle mod 360.
3370 Delete obsolete comment.
3371
3372 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3373
3374 * image-mode.el: Fix scaling (bug#11399).
3375 (image-transform-resize): Doc fix.
3376 (image-transform-properties): Default scale is 1 and height should
3377 be an integer.
3378
3379 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3380
3381 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3382 than hard-coding `car', to fix misbehavior when moving forward.
3383
3384 2012-05-13 Chong Yidong <cyd@gnu.org>
3385
3386 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3387 (tabulated-list-entries, tabulated-list-padding)
3388 (tabulated-list-sort-key): Make permanent-local.
3389
3390 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3391 (electric-buffer-list): Put electric buffer menu
3392 command descriptions in this docstring, instead of the docstring
3393 of electric-buffer-menu-mode. Code cleanups.
3394 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3395 Electric-buffer-menu-mode.
3396 (electric-buffer-update-highlight): Minor code cleanup.
3397
3398 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3399
3400 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3401 (Bug#11447)
3402
3403 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 Move define-obsolete-variable-alias before the var's definition.
3406 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3407 * tooltip.el (tooltip-hook):
3408 * textmodes/reftex-toc.el (reftex-toc-map):
3409 * textmodes/reftex-sel.el (reftex-select-label-map)
3410 (reftex-select-bib-map):
3411 * textmodes/reftex-index.el (reftex-index-map)
3412 (reftex-index-phrases-map):
3413 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3414 * progmodes/meta-mode.el (meta-mode-map):
3415 * novice.el (disabled-command-hook):
3416 * loadhist.el (unload-hook-features-list):
3417 * frame.el (blink-cursor):
3418 * files.el (find-file-not-found-hooks, write-file-hooks)
3419 (write-contents-hooks):
3420 * emulation/tpu-edt.el (GOLD-map):
3421 * emacs-lock.el (emacs-lock-from-exiting):
3422 * emacs-lisp/generic.el (generic-font-lock-defaults):
3423 * emacs-lisp/chart.el (chart-map):
3424 * dos-fns.el (register-name-alist):
3425 * dired-x.el (dired-omit-files-p):
3426 * desktop.el (desktop-enable):
3427 * cus-edit.el (custom-mode-hook):
3428 * buff-menu.el (buffer-menu-mode-hook):
3429 * bookmark.el (bookmark-read-annotation-text-func)
3430 (bookmark-exit-hooks):
3431 * allout.el (allout-mode-deactivate-hook)
3432 (allout-exposure-change-hook, allout-structure-added-hook)
3433 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3434 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3435 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3436 comes before the corresponding variable's definition.
3437
3438 2012-05-12 Chong Yidong <cyd@gnu.org>
3439
3440 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3441 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3442 (Buffer-menu-mode-map): Bind it.
3443 (Buffer-menu--pretty-name): Add a mouse-face property.
3444
3445 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3448 (prolog-upper-case-string, prolog-lower-case-string)
3449 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3450 (prolog-use-smie, prolog-smie-grammar): New vars.
3451 (prolog-smie-forward-token, prolog-smie-backward-token)
3452 (prolog-smie-rules): New funs.
3453 (prolog-comment-indent): Remove.
3454 (prolog-mode-variables): Use default comment indentation instead.
3455 Setup SMIE.
3456 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3457 (prolog-mode): Don't call them any more.
3458 (prolog-electric-colon, prolog-electric-dash)
3459 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3460
3461 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3462
3463 * minibuffer.el (completion--twq-all): Again, allow case differences.
3464
3465 * term.el: Move keymap initialization code to be more idiomatic.
3466 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3467 (term-terminal-menu): Move initialization into declaration.
3468 (term-escape-char): Let the user set it in her .emacs.
3469
3470 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3471 Provide SMIE-based indentation (not enabled by default yet).
3472 (sh-mode-map): Don't bind electric keys.
3473 Use electric-pair-mode instead of skeleton-pair.
3474 (sh-assignment-regexp): Fit within 80 columns.
3475 (sh-indent-supported): Specify actual shell name instead of boolean.
3476 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3477 (sh-maybe-here-document): Use it. Make obsolete.
3478 (sh-electric-here-document-mode) New minor mode.
3479 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3480 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3481 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3482 (sh-smie-rc-grammar, sh-use-smie): New vars.
3483 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3484 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3485 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3486 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3487 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3488 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3489 (sh-set-shell): Use smie-setup if requested.
3490
3491 * term.el (term-set-escape-char): Properly set term-escape-char.
3492 See http://stackoverflow.com/questions/10524656.
3493
3494 2012-05-10 Chong Yidong <cyd@gnu.org>
3495
3496 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3497 Use url-generic-parse-url, and handle host names and Windows
3498 filenames properly.
3499 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3500 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3501 URL schemes to work on.
3502 (ffap--toggle-read-only): New function.
3503 (ffap-read-only, ffap-read-only-other-window)
3504 (ffap-read-only-other-frame): Use it.
3505 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3506 necessary for ffap-url-unwrap-remote.
3507
3508 2012-05-10 Dave Abrahams <dave@boostpro.com>
3509
3510 * cus-start.el (create-lockfiles): Add it.
3511
3512 2012-05-09 Chong Yidong <cyd@gnu.org>
3513
3514 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3515 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3516
3517 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3520
3521 2012-05-09 Chong Yidong <cyd@gnu.org>
3522
3523 * ansi-color.el (ansi-color-process-output): Check for validity of
3524 comint-last-output-start before using it. This avoids a bad
3525 interaction with gdb-mi's input/output buffer.
3526
3527 2012-05-09 Glenn Morris <rgm@gnu.org>
3528
3529 * files.el (dir-locals-read-from-file):
3530 Mention dir-locals in any error message.
3531
3532 2012-05-09 Chong Yidong <cyd@gnu.org>
3533
3534 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3535 package (Bug#11410).
3536
3537 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3538 variables into description.
3539
3540 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3543 shell-delimiter-argument-list (bug#11348).
3544 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3545
3546 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3547
3548 * textmodes/rst.el: Silence byte-compiler warnings.
3549 (rst-re-alist, rst-reset-section-caches): Move around.
3550 (rst-re): Use `characterp', not `char-valid-p'.
3551 (font-lock-beg, font-lock-end): Declare.
3552
3553 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3554 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3555
3556 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3557
3558 2012-05-08 Glenn Morris <rgm@gnu.org>
3559
3560 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3561
3562 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * vc/log-edit.el: Add GNU coding standards highlighting.
3565 (log-edit-font-lock-gnu-style)
3566 (log-edit-font-lock-gnu-keywords): New vars.
3567 (log-edit-font-lock-keywords): New fun.
3568 (log-edit-mode): Don't fold case in font-lock.
3569 (log-edit-font-lock-keywords): Do not assume case-folding.
3570
3571 * imenu.el: Misc cleanup. Make docstrings out of comments.
3572 Use lexical-binding.
3573 (imenu--index-alist, imenu--last-menubar-index-alist)
3574 (imenu-menubar-modified-tick): Use defvar-local.
3575 (imenu--split-menu): Remove unused var.
3576 (imenu--cleanup-seen): Declare as global.
3577 (imenu--cleanup): Use dolist.
3578
3579 * subr.el (defvar-local): Add debug spec and doc-string position.
3580
3581 2012-05-08 Glenn Morris <rgm@gnu.org>
3582
3583 * language/burmese.el, language/cham.el, language/czech.el:
3584 * language/english.el, language/georgian.el, language/greek.el:
3585 * language/japanese.el, language/khmer.el, language/korean.el:
3586 * language/lao.el, language/misc-lang.el, language/romanian.el:
3587 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3588 * language/thai.el, language/utf-8-lang.el:
3589 Remove no-byte-compile setting.
3590
3591 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3592
3593 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3594
3595 * progmodes/make-mode.el (makefile-browse):
3596 Remove unnecessary interactive. (Bug#11324)
3597
3598 2012-05-07 Glenn Morris <rgm@gnu.org>
3599
3600 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3601
3602 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3603
3604 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * loadup.el: Preload newcomment.el.
3607 * newcomment.el: Move autoload-only code to toplevel.
3608
3609 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3610 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3611 Handle new :right-align column property.
3612 (tabulated-list-print-col): Idem, plus use `display' text-property to
3613 try and preserve alignment for variable pitch fonts.
3614
3615 2012-05-07 Chong Yidong <cyd@gnu.org>
3616
3617 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3618 (tabulated-list-use-header-line): New var.
3619 (tabulated-list-init-header): Use it.
3620 (tabulated-list-print-fake-header): New function.
3621 (tabulated-list-print): Use it.
3622 (tabulated-list-sort-button-map): Add non-header-line commands.
3623 (tabulated-list-init-header): Add column name property to basic
3624 labels as well.
3625 (tabulated-list-col-sort): Handle non-header-line button case.
3626 (tabulated-list--sort-by-column-name): Fix a corner case.
3627
3628 * buff-menu.el (list-buffers--refresh):
3629 Handle Buffer-menu-use-header-line.
3630
3631 2012-05-06 Chong Yidong <cyd@gnu.org>
3632
3633 * buff-menu.el: Convert to Tabulated List mode.
3634 (Buffer-menu-buffer+size-width): Make obsolete.
3635 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3636 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3637 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3638 documentation into docstring of buffer-menu.
3639 (Buffer-menu-toggle-files-only): Add an informative message.
3640 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3641 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3642 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3643 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3644 (Buffer-menu-execute, Buffer-menu-select)
3645 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3646 (Buffer-menu-bury): Use Tabulated List machinery.
3647 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3648 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3649 Delete.
3650 (list-buffers--refresh): New function.
3651 (list-buffers-noselect): Use it.
3652 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3653 (Buffer-menu--pretty-file-name): New helper functions.
3654
3655 * loadup.el: Preload tabulated-list.
3656
3657 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3658 tabulated-list-sort-column.
3659 (tabulated-list-init-header): Add the initial aligning space even
3660 if tabulated-list-padding is zero.
3661
3662 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3663
3664 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3665 whose cdr is not a cons cell correctly (bug#11038).
3666
3667 2012-05-06 Chong Yidong <cyd@gnu.org>
3668
3669 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3670 Accept additional plist in column descriptors.
3671 (tabulated-list-init-header): Obey it.
3672 (tabulated-list-get-entry): New function.
3673 (tabulated-list-put-tag): Use it. Use string-width instead of
3674 length.
3675 (tabulated-list--column-number): New function.
3676 (tabulated-list-print): Use it.
3677 (tabulated-list-print-col): New function.
3678 Set `tabulated-list-column-name' property on each column's text.
3679 (tabulated-list-print-entry): Use it.
3680 (tabulated-list-delete-entry, tabulated-list-set-col):
3681 New functions.
3682 (tabulated-list-sort-column): New command (Bug#11337).
3683
3684 * buff-menu.el (list-buffers): Move C-x C-b binding from
3685 buff-menu.el to bindings.el.
3686
3687 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3688 :advertised-binding feature.
3689
3690 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3691
3692 * progmodes/compile.el (compilation-internal-error-properties):
3693 Calculate start position correctly when end-col is set but
3694 end-line is not (Bug#11382).
3695
3696 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3697
3698 * man.el (Man-unindent): Use text-property-default-nonsticky to
3699 prevent untabify from inheriting face properties (Bug#11408).
3700
3701 2012-05-05 Stefan Merten <smerten@oekonux.de>
3702
3703 * textmodes/rst.el: Major merge with upstream development up to
3704 Docutils SVN r7399 / rst.el V1.2.1.
3705
3706 Clarify maintainership and authors.
3707
3708 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3709 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3710 (rst-official-version, rst-official-cvs-rev, rst-version)
3711 (rst-package-emacs-version-alist): New functions and variables
3712 for version information.
3713
3714 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3715 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3716 (rst-mode-syntax-table, rst-mode): New and corrected functions
3717 and variables representing reStructuredText features.
3718
3719 (rst-re): New function for reStructuredText regexes. Use in
3720 many places.
3721
3722 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3723 (rst-mode-map): Rebind keys.
3724
3725 (rst-mode-lazy, rst-font-lock-keywords)
3726 (rst-font-lock-extend-region)
3727 (rst-font-lock-extend-region-internal)
3728 (rst-font-lock-extend-region-extend)
3729 (rst-font-lock-find-unindented-line-limit)
3730 (rst-font-lock-find-unindented-line-match)
3731 (rst-adornment-level, rst-font-lock-adornment-level)
3732 (rst-font-lock-adornment-match)
3733 (rst-font-lock-handle-adornment-pre-match-form)
3734 (rst-font-lock-handle-adornment-matcher): Major revision of
3735 font-locking. Integrate with other code. Use `jit-lock-mode'.
3736
3737 (rst-preferred-adornments, rst-adjust-hook)
3738 (rst-new-adornment-down, rst-preferred-bullets)
3739 (rst-preferred-bullets, rst-indent, rst-indent-width)
3740 (rst-indent-field, rst-indent-literal-normal)
3741 (rst-indent-literal-minimized, rst-indent-comment): Change,
3742 extend and improve customization.
3743
3744 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3745 (rst-normalize-cursor-position, rst-get-decoration)
3746 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3747 (rst-rstrip, rst-toc-insert-find-delete-contents)
3748 (rst-shift-fill-region, rst-compute-bullet-tabs)
3749 (rst-debug-print-tabs, rst-debug-mark-found)
3750 (rst-shift-region-guts, rst-shift-region-right)
3751 (rst-shift-region-left, rst-use-char-classes)
3752 (rst-font-lock-keywords-function)
3753 (rst-font-lock-indentation-point)
3754 (rst-font-lock-find-unindented-line-begin)
3755 (rst-font-lock-find-unindented-line-end)
3756 (rst-font-lock-find-unindented-line)
3757 (rst-font-lock-adornment-point, rst-font-lock-level)
3758 (rst-adornment-level-alist): Remove functions and variables.
3759
3760 (rst-compare-adornments, rst-get-adornment-match)
3761 (rst-suggest-new-adornment, rst-get-adornments-around)
3762 (rst-adornment-complete-p, rst-get-next-adornment)
3763 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3764 (rst-straighten-adornments): Standardize function names to
3765 use "adornment" instead of "decoration". Correct callers.
3766 Similar standardizing in many places.
3767
3768 (rst-update-section, rst-adjust, rst-promote-region)
3769 (rst-enumerate-region, rst-bullet-list-region)
3770 (rst-repeat-last-character): Correct use of `interactive'.
3771
3772 (rst-classify-adornment, rst-find-all-adornments)
3773 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3774 (rst-find-leftmost-column, rst-repeat-last-character):
3775 Refactor functions.
3776
3777 (rst-find-title-line, rst-reset-section-caches)
3778 (rst-get-adornments-around, rst-adjust-adornment-work)
3779 (rst-arabic-to-roman, rst-roman-to-arabic)
3780 (rst-insert-list-pos, rst-insert-list-new-item)
3781 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3782 New functions.
3783
3784 (rst-all-sections, rst-section-hierarchy)
3785 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3786 New variables.
3787
3788 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3789 configuration instead of only buffer. Change where necessary.
3790
3791 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3792 (rst-shift-region, rst-adaptive-fill): New functions for
3793 indentation and filling.
3794
3795 (rst-comment-line-break, rst-comment-indent)
3796 (rst-comment-insert-comment, rst-comment-region)
3797 (rst-uncomment-region): New functions for handling comments.
3798
3799 (rst-compile): Quote shell arguments.
3800
3801 (rst-compile-pdf-preview, rst-compile-slides-preview):
3802 Delete temporary files after use.
3803
3804 2012-05-05 Glenn Morris <rgm@gnu.org>
3805
3806 * calendar/cal-html.el: Optionally include holidays in the output.
3807 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3808 (cal-html-holidays): New option.
3809 (cal-html-css-default): Add holiday entry.
3810 (holiday-in-range): Autoload it.
3811 (cal-html-htmlify-entry): Add optional class argument.
3812 (cal-html-htmlify-list): Add optional holidays argument.
3813 (cal-html-insert-agenda-days): Include holidays in the output.
3814 (cal-html-one-month): Maybe include holidays.
3815
3816 * calendar/holidays.el (holiday-in-range):
3817 Move here from cal-tex-list-holidays.
3818 * calendar/cal-tex.el (cal-tex-list-holidays):
3819 Make it an obsolete alias for holiday-in-range. Update all callers.
3820
3821 2012-05-05 Chong Yidong <cyd@gnu.org>
3822
3823 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3824 Nextstep.
3825
3826 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3827
3828 * files.el (file-auto-mode-skip): New var.
3829 (set-auto-mode-1): Use it.
3830
3831 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * repeat.el: Use lexical-binding.
3834 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3835 (repeat-undo-count): Remove.
3836 (repeat):
3837 * progmodes/octave-mod.el (octave-abbrev-start):
3838 * progmodes/f90.el (f90-abbrev-start):
3839 * face-remap.el (text-scale-adjust):
3840 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3841
3842 * emacs-lisp/pcase.el (pcase--let*): New function.
3843 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3844 a bit more.
3845 (pcase--split-pred): Be more clever about ruling out overlap between
3846 a predicate and some constant pattern.
3847 (pcase--q1): Use `null' instead of (eq foo nil).
3848
3849 * subr.el (setq-local, defvar-local): New macros.
3850 (kbd): Redefine as an alias.
3851 (with-selected-window): Leave unrelated frames alone.
3852 (set-temporary-overlay-map): New function.
3853
3854 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * subr.el (user-error): New function.
3857 * window.el (switch-to-buffer):
3858 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3859 (smerge-match-conflict):
3860 * simple.el (previous-matching-history-element)
3861 (next-matching-history-element, goto-history-element, undo-more)
3862 (undo-start):
3863 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3864 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3865 (next-file, tags-loop-scan, list-tags, complete-tag):
3866 * progmodes/compile.el (compilation-loop):
3867 * mouse.el (mouse-minibuffer-check):
3868 * man.el (Man-bgproc-sentinel, Man-goto-page):
3869 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3870 (Info-history-forward, Info-follow-reference, Info-menu)
3871 (Info-extract-menu-item, Info-extract-menu-counting)
3872 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3873 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3874 (Info-next-reference, Info-prev-reference, Info-index)
3875 (Info-index-next, Info-follow-nearest-node)
3876 (Info-copy-current-node-name):
3877 * imenu.el (imenu--make-index-alist)
3878 (imenu-default-create-index-function, imenu-add-to-menubar):
3879 * files.el (basic-save-buffer, recover-file):
3880 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3881 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3882 (checkdoc-message-text, checkdoc-defun):
3883 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3884 * cus-edit.el (customize-changed-options, customize-rogue)
3885 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3886 (custom-variable-mark-to-reset-standard)
3887 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3888 (custom-file):
3889 * completion.el (check-completion-length):
3890 * comint.el (comint-search-arg)
3891 (comint-previous-matching-input-string-position)
3892 (comint-previous-matching-input)
3893 (comint-replace-by-expanded-history-before-point, comint-send-input)
3894 (comint-copy-old-input, comint-backward-matching-input)
3895 (comint-goto-process-mark, comint-set-process-mark):
3896 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3897 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3898
3899 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3900
3901 * dabbrev.el (dabbrev--ignore-case-p): New function.
3902 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3903 Use it.
3904
3905 * files.el (automount-dir-prefix): Mark as obsolete.
3906
3907 2012-05-04 Glenn Morris <rgm@gnu.org>
3908
3909 * patcomp.el, play/bruce.el: Move to obsolete/.
3910
3911 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3912
3913 Fix minor Y10k bugs.
3914 * arc-mode.el (archive-unixdate):
3915 * autoinsert.el (auto-insert-alist):
3916 * calc/calc-forms.el (math-this-year):
3917 * emacs-lisp/copyright.el (copyright-current-year)
3918 (copyright-update-year, copyright):
3919 * tar-mode.el (tar-clip-time-string):
3920 * time.el (display-time-update):
3921 Don't assume years have 4 digits.
3922
3923 2012-05-04 Chong Yidong <cyd@gnu.org>
3924
3925 * dos-w32.el (file-name-buffer-file-type-alist)
3926 (direct-print-region-use-command-dot-com):
3927 * ffap.el (ffap-menu-regexp):
3928 * find-file.el (ff-special-constructs):
3929 * follow.el (follow-debug):
3930 * forms.el (forms--debug):
3931 * iswitchb.el (iswitchb-all-frames):
3932 * ido.el (ido-all-frames):
3933 * emacs-lisp/timer.el (timer-max-repeats):
3934 * mail/feedmail.el (feedmail-mail-send-hook)
3935 (feedmail-mail-send-hook-queued):
3936 * mail/footnote.el (footnote-signature-separator):
3937 * mail/mailabbrev.el (mail-alias-separator-string)
3938 (mail-abbrev-mode-regexp):
3939 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3940 * progmodes/idlwave.el (idlwave-libinfo-file)
3941 (idlwave-default-completion-case-is-down)
3942 (idlwave-library-routines): Convert defvars to defcustoms.
3943
3944 * mail/rmail.el (rmail-decode-mime-charset):
3945 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3946 (idlwave-shell-fix-inserted-breaks)
3947 (idlwave-shell-activate-alt-keybindings)
3948 (idlwave-shell-use-breakpoint-glyph):
3949 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3950
3951 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3954
3955 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3956
3957 * progmodes/verilog-mode.el (font-lock-keywords):
3958 Fix mis-highligting auto. Reported by Craig Barner.
3959 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3960 defines from global name space. Reported by Dan Dever.
3961 (verilog-auto-reset, verilog-auto-reset-widths)
3962 (verilog-auto-tieoff): Support using unbased numbers for
3963 AUTORESET and AUTOTIEOFF.
3964 (verilog-submit-bug-report): Update variable list.
3965 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3966 parenthesis from not matching. Reported by Michael Rytting.
3967 (verilog-auto-template-lint): Fix hash error when linting modules
3968 with no used templates.
3969 (verilog-warn, verilog-warn-error)
3970 (verilog-warn-fatal): When non-interactive report multiple
3971 warnings before exiting. Suggested by Brad Dobbie.
3972 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3973 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3974 to report unused template errors. Reported by Brad Dobbie.
3975 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3976 nets, bug438. Reported by Vns Blore.
3977 (verilog-auto-inout-module, verilog-auto-reg)
3978 (verilog-read-decls, verilog-read-sub-decls-sig)
3979 (verilog-signals-edit-wire-reg, verilog-signals-with):
3980 Fix passing of Verilog data types in ANSI input/output ports
3981 such as "output logic" into the AUTOs. Special case "wire" and
3982 "reg" for backwards compatibility presuming Verilog 2001.
3983 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3984 (verilog-preprocess): Fix replication of preprocess output.
3985 Reported by Brad Dobbie.
3986 (verilog-auto-inst-interfaced-ports):
3987 Create verilog-auto-inst-interfaced-ports, bug429.
3988 Reported by Julian Gorfajn.
3989 (verilog-after-save-font-hook)
3990 (verilog-before-save-font-hook): New variable.
3991 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3992 (verilog-save-font-mods): Wrap disabling fontification, reported
3993 by David Rogoff.
3994 (verilog-do-indent, verilog-pretty-declarations-auto)
3995 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3996 Reported by Pierre-David Pfister.
3997 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3998 of class declarations, bug292. Reported by Kevin Heilman.
3999 (verilog-read-decls): Fix 'parameter type' not appearing in
4000 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4001 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4002 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4003 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4004 Reported by David Kravitz.
4005
4006 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4007
4008 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4009 assignment with tests in ifs and for loops.
4010 (verilog-extended-complete-re, verilog-complete-reg): Change so
4011 that DPI inport functions don't look like fuction declarations.
4012 (verilog-pretty-expr): Don't line up assignment
4013 operations to the test and increment in if and for loops
4014 (verilog-extended-complete-re, verilog-complete-reg): Change so
4015 that DPI inport functions don't look like fuction declarations.
4016
4017 2012-05-03 Kenichi Handa <handa@m17n.org>
4018
4019 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4020 decoding, and show a warning message without signaling an error
4021 (Bug#11282).
4022
4023 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4024
4025 * emacs-lisp/bytecomp.el
4026 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4027 since cconv.el might have introduced :fun-body, internal-make-closure,
4028 and friends for bytecomp to handle (bug#11391).
4029 * custom.el (defcustom): Avoid ((λ ..) ..).
4030
4031 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4034
4035 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4036
4037 * notifications.el (dbus-debug):
4038 * term/linux.el (gpm-mouse-enable):
4039 * term/screen.el (xterm-register-default-colors): Declare.
4040
4041 2012-05-02 Chong Yidong <cyd@gnu.org>
4042
4043 * cus-start.el (gc-cons-percentage, exec-suffixes)
4044 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4045 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4046 (make-cursor-line-fully-visible, void-text-area-pointer)
4047 (font-list-limit): Add customization data.
4048
4049 * allout.el (allout-exposure-change-functions)
4050 (allout-structure-added-functions)
4051 (allout-structure-deleted-functions)
4052 (allout-structure-shifted-functions): Rename abnormal hooks from
4053 *-hook, and convert to defcustoms.
4054 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4055 Convert to defcustoms.
4056 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4057
4058 * allout-widgets.el: Hook callers changed.
4059
4060 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4061
4062 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4063 the yanked message in preference to the default value of
4064 buffer-file-coding-system.
4065
4066 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4067
4068 * window.el (display-buffer--action-function-custom-type):
4069 Fix entry.
4070
4071 2012-05-02 Alan Mackenzie <acm@muc.de>
4072
4073 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4074
4075 2012-05-01 Glenn Morris <rgm@gnu.org>
4076
4077 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4078
4079 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4080
4081 * cus-edit.el (custom-variable-documentation): Simplify with format.
4082
4083 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4084 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * simple.el (suggest-key-bindings, execute-extended-command):
4087 Move from keyboard.c.
4088
4089 2012-05-01 Chong Yidong <cyd@gnu.org>
4090
4091 * follow.el: Eliminate advice.
4092 (set-process-filter, process-filter, sit-for): Advice deleted.
4093 (follow-mode-off-hook): Obsolete hook removed.
4094 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4095 Vars deleted.
4096 (follow-auto): Use a :set function.
4097 (follow-mode): Rewritten. Don't advise process filters.
4098 (follow-switch-to-current-buffer-all, follow-scroll-up)
4099 (follow-scroll-down): Assume follow-mode is bound.
4100 (follow-comint-scroll-to-bottom)
4101 (follow-align-compilation-windows): New functions.
4102 (follow--window-sorter): New function.
4103 (follow-all-followers): Use it to explicitly sort windows by their
4104 positions; don't make assumptions about next-window order.
4105 (follow-windows-start-end, follow-delete-other-windows-and-split)
4106 (follow-calc-win-start): Doc fix.
4107 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4108 vertical-motion unnecessarily.
4109 (follow-adjust-window): New function.
4110 (follow-post-command-hook): Use it.
4111 (follow-call-set-process-filter, follow-call-process-filter)
4112 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4113 (follow-stop-intercept-process-output, follow-generic-filter):
4114 Functions deleted.
4115 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4116 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4117 New functions, replacing advice on scroll-bar-* commands.
4118 (follow-mwheel-scroll): New function (Bug#4112).
4119
4120 * comint.el (comint-adjust-point): New function.
4121 (comint-postoutput-scroll-to-bottom): Use it.
4122 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4123
4124 2012-05-01 Glenn Morris <rgm@gnu.org>
4125
4126 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4127 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4128 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4129 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4130 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4131 Remove no-byte-compile setting.
4132
4133 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4136 all-completions code to not return a number in the last cdr.
4137
4138 2012-04-30 Leo Liu <sdl.web@gmail.com>
4139
4140 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4141 read-only error.
4142
4143 2012-04-29 Chong Yidong <cyd@gnu.org>
4144
4145 * follow.el (follow-calc-win-end): Rewrite to handle partial
4146 screen lines correctly (Bug#8390).
4147 (follow-avoid-tail-recenter): Minor cleanup.
4148
4149 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 Avoid the obsolete `assoc' package.
4152 * speedbar.el (speedbar-refresh): Avoid adelete.
4153 (speedbar-file-lists): Simplify and avoid aput.
4154 * man.el (Man--sections, Man--refpages): New vars, replacing
4155 Man-sections-alist and Man-refpages-alist.
4156 (Man-build-section-alist, Man-build-references-alist):
4157 Use them; avoid aput.
4158 (Man--last-section, Man--last-refpage): New vars.
4159 (Man-follow-manual-reference): Use them.
4160 Use the `default' arg of completing-read.
4161 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4162
4163 2012-04-27 Chong Yidong <cyd@gnu.org>
4164
4165 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4166
4167 * startup.el (x-apply-session-resources): New function.
4168
4169 * term/ns-win.el (ns-initialize-window-system):
4170 * term/w32-win.el (w32-initialize-window-system):
4171 * term/x-win.el (x-initialize-window-system): Use it to properly
4172 set menu-bar-mode and other vars from X resources, even if the
4173 initial frame is not a window-system frame (Bug#2299).
4174
4175 * subr.el (read-key): Avoid running filter function when setting
4176 up temporary tool bar entries (Bug#9922).
4177
4178 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4179
4180 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4181 (Bug#11344)
4182
4183 2012-04-27 Chong Yidong <cyd@gnu.org>
4184
4185 * select.el (xselect--encode-string): New function, split from
4186 xselect-convert-to-string.
4187 (xselect-convert-to-string): Use it.
4188 (xselect-convert-to-filename, xselect-convert-to-os)
4189 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4190 returned strings are properly encoded (Bug#11315).
4191
4192 2012-04-27 Chong Yidong <cyd@gnu.org>
4193
4194 * simple.el (delete-active-region): Move to killing custom group.
4195
4196 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * progmodes/which-func.el (which-func-current): Quote %
4199 characters for mode-line processing.
4200
4201 2012-04-27 Chong Yidong <cyd@gnu.org>
4202
4203 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4204 reaching eob (Bug#11286).
4205
4206 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4207
4208 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4209 (gdb): Make it buffer-local and init to zero.
4210 (gdb-control-commands-regexp): New variable.
4211 (gdb-send): Don't wrap in "-interpreter-exec console" if
4212 gdb-control-level is positive. Increment gdb-control-level
4213 whenever the command matches gdb-control-commands-regexp, and
4214 decrement it each time the command is "end". (Bug#11279)
4215
4216 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4217
4218 * window.el (adjust-window-trailing-edge, enlarge-window)
4219 (shrink-window, window-resize):
4220 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4221 windows (Bug#11276).
4222
4223 2012-04-27 Chong Yidong <cyd@gnu.org>
4224
4225 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4226 fix "missing prefix" warning. All callers changed.
4227
4228 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * emacs-lisp/assoc.el: Move to obsolete/.
4231
4232 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4235
4236 * term/ns-win.el (ns-define-service):
4237 * progmodes/pascal.el (pascal-goto-defun):
4238 * progmodes/js.el (js--read-tab):
4239 * progmodes/etags.el (tags-lazy-completion-table):
4240 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4241 * emacs-lisp/ewoc.el (ewoc--wrap):
4242 * emacs-lisp/assoc.el (aput, adelete, amake):
4243 * doc-view.el (doc-view-convert-current-doc):
4244 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4245
4246 2012-04-26 Chong Yidong <cyd@gnu.org>
4247
4248 * image.el (image-type-from-buffer): Only return supported image
4249 type (Bug#9045).
4250
4251 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4252 value, for symmetry with diff-end-of-hunk.
4253 (diff-split-hunk, diff-find-source-location)
4254 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4255 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4256 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4257 compute the relevant hunk or file properly (Bug#6005).
4258 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4259
4260 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * vc/vc-mtn.el:
4263 * vc/vc-hg.el:
4264 * vc/vc-git.el:
4265 * vc/vc-dir.el:
4266 * vc/vc-cvs.el:
4267 * vc/vc-bzr.el:
4268 * vc/vc-arch.el:
4269 * vc/vc.el: Replace lexical-let by lexical-binding.
4270 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4271 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4272 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4273
4274 2012-04-26 Chong Yidong <cyd@gnu.org>
4275
4276 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4277 (diff-mode-shared-map): Bind it to / and [remap undo].
4278
4279 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4280 (ediff-window-setup-function): Use it as the default, to set up
4281 windows based on whether the current frame is graphical (Bug#2138).
4282 (ediff-choose-window-setup-function-automatically): Make obsolete.
4283
4284 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4285
4286 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * ffap.el: Remove old code for obsolete package.
4289 (ffap-complete-as-file-p): Remove.
4290
4291 Use completion-table-with-quoting for comint and pcomplete.
4292 * comint.el (comint--unquote&requote-argument)
4293 (comint--unquote-argument, comint--requote-argument): New functions.
4294 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4295 (comint-quote-filename): Use regexp-opt-charset.
4296 (comint--common-suffix, comint--common-quoted-suffix)
4297 (comint--table-subvert): Remove.
4298 (comint-unquote-function, comint-requote-function): New vars.
4299 (comint--complete-file-name-data): Use them with
4300 completion-table-with-quoting.
4301 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4302 * pcomplete.el (pcomplete-arg-quote-list)
4303 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4304 (pcomplete-unquote-argument-function): Default to non-nil.
4305 (pcomplete-unquote-argument): Simplify.
4306 (pcomplete--common-quoted-suffix): Remove.
4307 (pcomplete-requote-argument-function): New var.
4308 (pcomplete--common-suffix): New function.
4309 (pcomplete-completions-at-point): Use completion-table-with-quoting
4310 and completion-table-subvert.
4311
4312 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4313 (minibuffer--double-dollars): Preserve properties.
4314 (completion--sifn-requote): New function.
4315 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4316
4317 * minibuffer.el: Add support for completion of quoted/escaped data.
4318 (completion-table-with-quoting, completion-table-subvert): New funs.
4319 (completion--twq-try, completion--twq-all): New functions.
4320 (completion--nth-completion): New function.
4321 (completion-try-completion, completion-all-completions): Use it.
4322
4323 2012-04-25 Leo Liu <sdl.web@gmail.com>
4324
4325 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4326 Use compilation-message if available to find real filename.
4327
4328 2012-04-25 Chong Yidong <cyd@gnu.org>
4329
4330 * vc/diff-mode.el (diff-setup-whitespace): New function.
4331 (diff-mode): Use it.
4332
4333 * vc/diff.el (diff-sentinel):
4334 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4335 Whitespace mode variables based on diff style (Bug#8612).
4336
4337 2012-04-25 Leo Liu <sdl.web@gmail.com>
4338
4339 * progmodes/python.el (python-send-region): Add suffix .py to the
4340 temp file.
4341
4342 * files.el (auto-mode-alist): Use javascript-mode instead.
4343
4344 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4345
4346 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4347
4348 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4349 (soap-resolve-references-for-array-type): Hack to prevent self
4350 references, see Bug#9.
4351 (soap-parse-envelope): Report the contents of the 'detail' node
4352 when receiving a fault reply.
4353 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4354
4355 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4356 (soap-inspect-simple-type): New function.
4357
4358 * net/soap-client.el (soap-simple-type): New struct.
4359 (soap-default-xsd-types, soap-default-soapenc-types)
4360 (soap-decode-basic-type, soap-encode-basic-type):
4361 support unsignedInt and double basic types.
4362 (soap-resolve-references-for-simple-type)
4363 (soap-parse-simple-type, soap-encode-simple-type): New function.
4364 (soap-parse-schema): Parse xsd:simpleType declarations.
4365
4366 * net/soap-client.el (soap-default-xsd-types)
4367 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4368 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4369 the local name of "soapenc:Array".
4370 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4371 decoding integer, byte and anyURI xsd types.
4372
4373 2012-04-25 Chong Yidong <cyd@gnu.org>
4374
4375 * cus-edit.el (custom-buffer-create-internal): Update header text.
4376
4377 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4378
4379 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4380 settings on 'system-type', not on 'window-system'. On MS-Windows,
4381 set interactive-mode on in GDB.
4382
4383 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4384
4385 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4386 (ruby-syntax-propertize-regexp): Remove.
4387 (ruby-syntax-propertize-function): Split regexp into chunks.
4388 Match following code directly.
4389
4390 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4391
4392 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4393 (ruby-syntax-propertize-regexp): New function.
4394 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4395 by a special keyword.
4396
4397 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4398 (ruby-syntax-general-delimiters-goto-beg)
4399 (ruby-syntax-propertize-general-delimiters): New functions.
4400 (ruby-syntax-propertize-function): Use them to handle GDL.
4401 (ruby-font-lock-keywords): Move old handling of GDL...
4402 (ruby-font-lock-syntactic-keywords): .. to here.
4403 (ruby-calculate-indent): Adjust indentation for GDL.
4404
4405 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4406
4407 * notifications.el (top): Remove unneeded declarations.
4408 (notifications-specification-version): Change to "1.2".
4409 (notifications-interface, notifications-notify-method)
4410 (notifications-close-notification-method): Fix docstring.
4411 (notifications-get-capabilities-method): New defconst.
4412 (notifications-notify): Add :action-items, :resident and
4413 :transient hints. Change "image_data" to "image-data" and
4414 "image_path" to "image-path".
4415 (notifications-get-capabilities): New defun.
4416
4417 2012-04-24 Leo Liu <sdl.web@gmail.com>
4418
4419 * progmodes/python.el: Move hideshow setup to the end.
4420
4421 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4422
4423 * window.el (handle-select-window): Clear echo area since this is
4424 no more done by read_char (Bug#11304).
4425
4426 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4429 and `/ M' to filter-derived-mode.
4430 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4431 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4432 (ibuffer-mark-by-mode): Use default rather than initial-input.
4433 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4434
4435 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4436
4437 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4438 (ibuffer-filter-by-derived-mode): New filter.
4439 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4440
4441 2012-04-23 Andreas Politz <politza@fh-trier.de>
4442
4443 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4444
4445 2012-04-23 Chong Yidong <cyd@gnu.org>
4446
4447 * cus-edit.el (customize-apropos, customize-apropos-options):
4448 Disable matching of non-option variables (Bug#11176).
4449 (customize-option, customize-option-other-window)
4450 (customize-changed-options): Doc fix.
4451 (customize-apropos-options, customize-apropos-faces)
4452 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4453
4454 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4455 Fix word list splitting (Bug#11132).
4456 (apropos-symbol, apropos-keybinding, apropos-label)
4457 (apropos-property, apropos-function-button)
4458 (apropos-variable-button, apropos-misc-button): New faces.
4459 (apropos-symbol-face, apropos-keybinding-face)
4460 (apropos-label-face, apropos-property-face, apropos-match-face):
4461 Variables removed (Bug#8396).
4462 (apropos-library-button, apropos-format-plist, apropos-print)
4463 (apropos-print-doc, apropos-describe-plist): Callers changed.
4464
4465 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4466
4467 * net/xesam.el (xesam-mode-map): Use let-bound map in
4468 initialization. (Bug#11292)
4469
4470 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4471
4472 Preserve ispell session localwords when switching back to
4473 original buffer.
4474
4475 * textmodes/ispell.el (ispell-buffer-session-localwords):
4476 New buffer-local variable to hold buffer session localwords.
4477 (ispell-kill-ispell): Add option 'clear to delete session
4478 localwords.
4479 (ispell-command-loop, ispell-change-dictionary)
4480 (ispell-buffer-local-words): Preserve session localwords when
4481 needed.
4482
4483 * textmodes/flyspell.el (flyspell-process-localwords)
4484 (flyspell-do-correct): Preserve session localwords when needed.
4485
4486 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4487
4488 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4489 using obsolete `translation-table-for-input'.
4490 (ispell-word, ispell-process-line, ispell-complete-word):
4491 Use plain `insert' instead of removed `ispell-insert-word'.
4492
4493 2012-04-22 Chong Yidong <cyd@gnu.org>
4494
4495 * cus-edit.el (custom-variable-menu)
4496 (custom-variable-reset-saved, custom-face-menu)
4497 (custom-face-reset-saved): If there is no saved value, make the
4498 "reset-saved" operation bring back the default (Bug#9509).
4499 (custom-face-state): Properly detect themed faces.
4500
4501 * faces.el (face-spec-set): Stop supporting deprecated form of
4502 third arg.
4503
4504 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4505
4506 Move functions from C to Lisp. Make non-blocking method calls
4507 the default. Implement further D-Bus standard interfaces.
4508
4509 * net/dbus.el (dbus-message-internal): Declare function.
4510 Remove unneeded function declarations.
4511 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4512 (dbus-message-type-method-return, dbus-message-type-error)
4513 (dbus-message-type-signal): Declare variables. Remove local
4514 definitions.
4515 (dbus-interface-dbus, dbus-interface-peer)
4516 (dbus-interface-introspectable, dbus-interface-properties)
4517 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4518 Adapt docstring.
4519 (dbus-interface-objectmanager): New defconst.
4520 (dbus-call-method, dbus-call-method-asynchronously)
4521 (dbus-send-signal, dbus-method-return-internal)
4522 (dbus-method-error-internal, dbus-register-service)
4523 (dbus-register-signal, dbus-register-method): New defuns, moved
4524 from dbusbind.c
4525 (dbus-call-method-handler, dbus-setenv)
4526 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4527 New defuns.
4528 (dbus-call-method-non-blocking): Make it an obsolete function.
4529 (dbus-unregister-object, dbus-unregister-service)
4530 (dbus-handle-event, dbus-register-property)
4531 (dbus-property-handler): Obey the new structure of
4532 `bus-registered-objects'.
4533 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4534 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4535 Use `dbus-call-method'.
4536
4537 2012-04-22 Chong Yidong <cyd@gnu.org>
4538
4539 * cus-edit.el (custom-commands, custom-reset-menu)
4540 (Custom-reset-standard): Tweak labels.
4541 (custom-reset-button-menu): Change default to t.
4542 (custom-buffer-create-internal): For the custom-reset-button-menu
4543 case, put the revert button first.
4544 (custom-group-subtitle): New face.
4545 (custom-group-value-create): Align docstring to a specific column.
4546
4547 * wid-edit.el (widget-documentation-link-add): Don't handle
4548 indentation in this function.
4549 (widget-documentation-string-indent-to): New function.
4550 (widget-documentation-string-value-create): Use it.
4551
4552 * autorevert.el (auto-revert):
4553 * epg-config.el (epg):
4554 * ibuffer.el (ibuffer):
4555 * mpc.el (mpc):
4556 * ses.el (ses):
4557 * eshell/eshell.el (eshell):
4558 * net/ange-ftp.el (ange-ftp):
4559 * progmodes/ebnf2ps.el (postscript):
4560 * progmodes/flymake.el (flymake):
4561 * progmodes/prolog.el (prolog):
4562 * progmodes/verilog-mode.el (verilog-mode):
4563 * progmodes/which-func.el (which-func):
4564 * term/xterm.el (xterm):
4565 * textmodes/picture.el (picture):
4566 * textmodes/tildify.el (tildify):
4567 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4568 customization buffers.
4569
4570 2012-04-22 Alan Mackenzie <acm@muc.de>
4571
4572 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4573 Adding a ) can hide the resulting (..) from searches. Fix it.
4574 Bound the backward search to the position of the existing (.
4575
4576 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4577
4578 * progmodes/verilog-mode.el (verilog-mode): Check whether
4579 which-func-modes is t before adding verilog-mode.
4580 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4581
4582 2012-04-21 Leo Liu <sdl.web@gmail.com>
4583
4584 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4585
4586 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4587
4588 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4589 filling of the last column of a table (Bug#5635).
4590 (woman-find-next-control-line): New arg, specifying an additional
4591 regexp component for the control line.
4592 (woman2-roff-buffer): Use it.
4593 (woman-break-table): New function.
4594 (woman2-TS): Use it.
4595
4596 2012-04-21 Chong Yidong <cyd@gnu.org>
4597
4598 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4599 (woman-horizontal-escapes, woman-negative-vertical-space)
4600 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4601 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4602
4603 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * minibuffer.el (completion-file-name-table): Complete user names.
4606
4607 2012-04-20 Leo Liu <sdl.web@gmail.com>
4608
4609 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4610 and pcase-let*.
4611
4612 2012-04-20 Chong Yidong <cyd@gnu.org>
4613
4614 * server.el (server-execute): Respect initial-buffer-choice if it
4615 is a string and there are no files to open (Bug#2825).
4616 (server-create-window-system-frame, server-create-tty-frame):
4617 Don't switch buffers here.
4618 (server-process-filter): Only try to open a window system frame if
4619 compiled with graphical support (Bug#8314).
4620
4621 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4622
4623 * battery.el (battery-echo-area-format): Display remaining time
4624 for sysfs backend too (Bug#11269).
4625 (battery-linux-sysfs): Fix conditional for the charge.
4626
4627 2012-04-20 Chong Yidong <cyd@gnu.org>
4628
4629 * progmodes/gdb-mi.el (gdb): Revert previous change.
4630 (gdb-inferior-io--init-proc): New function.
4631 (gdb-init-1): Use it.
4632 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4633 responsible for allocating a new pty and hooking it to gdb when
4634 the old pty gets an EIO due to process exit.
4635 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4636 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4637 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4638
4639 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4640
4641 * window.el (window-min-size, window-sizable, window-min-delta)
4642 (window-max-delta, window--resizable, window-resizable)
4643 (window-total-size, window-full-height-p, window-full-width-p)
4644 (window-in-direction, window--resize-mini-window, window-resize)
4645 (window--resize-child-windows-normal)
4646 (window--resize-child-windows, window--resize-siblings)
4647 (window--resize-this-window, adjust-window-trailing-edge)
4648 (enlarge-window, shrink-window): Doc fixes.
4649
4650 2012-04-20 Chong Yidong <cyd@gnu.org>
4651
4652 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4653 New function to call delete-process on the gdb-inferior buffer's pty.
4654 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4655 pty process (Bug#11273).
4656 (gdb-update): New arg to suppress talking to the gdb process.
4657 (gdb-done-or-error): Use it.
4658 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4659 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4660 sentinel not being called.
4661
4662 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4663
4664 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4665
4666 2012-04-20 Glenn Morris <rgm@gnu.org>
4667
4668 * net/network-stream.el (open-network-stream): Doc fix.
4669
4670 2012-04-20 Chong Yidong <cyd@gnu.org>
4671
4672 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4673
4674 2012-04-20 Alan Mackenzie <acm@muc.de>
4675
4676 Ensure searching for keywords is case sensitive.
4677
4678 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4679 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4680 (c-defun-name, c-mark-function, c-cpp-define-name)
4681 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4682 (c-context-line-break): Bind case-fold-search to nil.
4683
4684 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4685 Bind case-fold-search to nil.
4686
4687 2012-04-20 Chong Yidong <cyd@gnu.org>
4688
4689 * mail/sendmail.el (mail-bury): Call return action with the right
4690 Rmail buffer (Bug#11242).
4691
4692 * server.el (server-process-filter): Handle corner case where both
4693 tty and nowait options are present (Bug#11102).
4694
4695 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4696
4697 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4698 (top level): Put into the executable the ident-style '$Id:' tag on
4699 windows-nt as well.
4700
4701 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4702
4703 * electric.el (electric-indent-post-self-insert-function): Check that
4704 electric-indent-mode is enabled in current buffer.
4705
4706 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * imenu.el (imenu-progress-message): Restore; it is "used" in
4709 erc/erc-imenu.el and net/snmp-mode.el.
4710
4711 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4712
4713 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4714 (mouse-avoidance-nudge-mouse): Remove unused binding.
4715
4716 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4717
4718 * descr-text.el (describe-char):
4719 * progmodes/python.el (python-describe-symbol):
4720 Don't call `toggle-read-only', set `buffer-read-only'.
4721
4722 * imenu.el (imenu-default-goto-function): Mark unused args.
4723 (imenu-progress-message): Remove obsolete macro; all callers changed.
4724
4725 * subr.el (keymap-canonicalize): Remove unused binding.
4726 (read-passwd): Mark unused arg.
4727
4728 * tutorial.el (tutorial--display-changes): Remove unused binding.
4729 (tutorial--save-tutorial-to): Remove unused variable.
4730
4731 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4732 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4733 (package-generate-autoloads, package-menu--generate)
4734 (package-menu--find-upgrades): Remove unused bindings.
4735
4736 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4737 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4738 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4739 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4740 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4741 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4742 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4743 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4744 (cua-delete-char-rectangle): Mark unused args.
4745 (cua-align-rectangle): Remove unused binding.
4746
4747 * mail/rmail.el (compilation--message->loc)
4748 (epa--find-coding-system-for-mime-charset): Declare.
4749
4750 * net/dbus.el (dbus-register-service): Declare.
4751 (dbus-name-owner-changed-handler): Remove unused binding.
4752
4753 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4754 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4755 (nxml-scan-backward-within): Mark unused arg.
4756 (nxml-dynamic-markup-word): Remove unused binding.
4757
4758 * mouse.el (mouse-menu-major-mode-map):
4759 * emacs-lisp/authors.el (authors-scan-change-log)
4760 (authors-add-to-author-list):
4761 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4762 * emacs-lisp/smie.el (smie-auto-fill):
4763 * mail/sendmail.el (mail-bury):
4764 * mail/unrmail.el (unrmail):
4765 * net/tls.el (open-tls-stream):
4766 * textmodes/picture.el (picture-mouse-set-point):
4767 Remove unused bindings.
4768
4769 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4770
4771 * net/tramp.el (tramp-action-password): Let-bind
4772 `enable-recursive-minibuffers' to t.
4773
4774 2012-04-18 Sam Steingold <sds@gnu.org>
4775
4776 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4777 instead of 'string to accommodate values like [f11].
4778 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4779 * progmodes/gdb-mi.el: Likewise.
4780
4781 2012-04-18 Leo Liu <sdl.web@gmail.com>
4782
4783 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4784 current buffer.
4785 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4786 LOCAL is nil.
4787
4788 2012-04-18 Chong Yidong <cyd@gnu.org>
4789
4790 * simple.el (line-move): Use forward-line if in batch mode
4791 (Bug#11053).
4792
4793 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4794
4795 * files.el (after-find-file): Do not try to add a final newline if
4796 the buffer is read-only (Bug#11156).
4797
4798 2012-04-17 Richard Stallman <rms@gnu.org>
4799
4800 * mail/rmail.el (rmail-start-mail):
4801 Pass (rmail-mail-return...) for the return-action.
4802 Pass (rmail-yank-current-message...) for the yank-action.
4803 (rmail-yank-current-message): New function.
4804 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4805 (rmail-reply): Likewise.
4806 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4807
4808 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4809 buffer, not the last. Reject temp buffers. Use the rmail-mode
4810 buffer, not newbuf.
4811
4812 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4813
4814 * server.el (server-ensure-safe-dir): Simplify.
4815
4816 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * emacs-lisp/smie.el: Provide smarter auto-filling.
4819 (smie-auto-fill): New function.
4820 (smie-setup): Use it.
4821
4822 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4823
4824 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4825
4826 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4827 (comment-indent): Use it.
4828
4829 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4830
4831 * ses.el: The overall change is to add cell renaming, that is
4832 setting fancy names for cell symbols other than name matching
4833 "\\`[A-Z]+[0-9]+\\'" regexp .
4834 (ses-localvars): Add ses--renamed-cell-symb-list.
4835 (ses-create-cell-variable): New defun.
4836 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4837 (ses-relocate-formula): Relocate formulas only for cells the
4838 symbols of which are not renamed, i.e. symbols whose names do not
4839 match regexp "\\`[A-Z]+[0-9]+\\'".
4840 (ses-relocate-all): Relocate values only for cells the symbols of
4841 which are not renamed.
4842 (ses-load): Create cells variables as the (ses-cell ...) are read,
4843 in order to check row col consistency with cell symbol name only
4844 for cells that are not renamed.
4845 (ses-replace-name-in-formula): New defun.
4846 (ses-rename-cell): New defun.
4847
4848 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4849
4850 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4851 New option (bug#11118).
4852 (perl-calculate-indent): Respect it.
4853
4854 2012-04-17 Glenn Morris <rgm@gnu.org>
4855
4856 * dired-aux.el (dired-mark-read-string): Doc fix.
4857
4858 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4859
4860 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4861 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4862
4863 2012-04-17 Glenn Morris <rgm@gnu.org>
4864
4865 * mouse.el (mouse-drag-track):
4866 * speedbar.el (speedbar-frame-mode):
4867 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4868
4869 2012-04-16 Leo Liu <sdl.web@gmail.com>
4870
4871 * progmodes/python.el: Trivial cleanup.
4872
4873 2012-04-16 Glenn Morris <rgm@gnu.org>
4874
4875 * vc/vc.el (vc-string-prefix-p):
4876 * vc/pcvs-util.el (cvs-string-prefix-p):
4877 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4878 * mpc.el (mpc-string-prefix-p):
4879 Make all of these into obsolete aliases for string-prefix-p.
4880 Update callers.
4881 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4882
4883 * textmodes/two-column.el: Move custom options to the start.
4884 (frame-width): Remove compat definition.
4885 (2C-associate-buffer, 2C-dissociate):
4886 Use with-current-buffer rather than save-excursion.
4887 (2C-dissociate): Force a mode-line update.
4888 (2C-autoscroll): Use ignore-errors.
4889
4890 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4891 Autoload trivia.
4892
4893 * emacs-lisp/cl-extra.el (*random-state*):
4894 Remove unnecessary declaration.
4895
4896 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4897
4898 * play/cookie1.el (cookie-snarf):
4899 Give an explicit error if input file cannot be read.
4900
4901 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4902
4903 * progmodes/perl-mode.el (c-macro-expand):
4904 Remove unnecessary autoload (it is in loaddefs.el).
4905
4906 * textmodes/picture.el (picture-desired-column)
4907 (picture-update-desired-column): Convert comments to doc-strings.
4908 (picture-substitute): Remove function.
4909 (picture-mode-map): Initialize in the defvar.
4910
4911 * woman.el: Remove eval-after-load for tar-mode.
4912 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4913 (woman-tar-extract-file): Autoload it.
4914
4915 * frame.el (automatic-hscrolling): Make this alias obsolete.
4916
4917 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4918
4919 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4920 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4921 (ispell-dictionary-base-alist): Revert to original XEmacs
4922 friendly version for default. [:alpha:] will be added in
4923 `ispell-set-spellchecker-params' if needed.
4924
4925 2012-04-16 Chong Yidong <cyd@gnu.org>
4926
4927 * image.el (imagemagick--file-regexp): New variable.
4928 (imagemagick-register-types): Use it.
4929 (imagemagick-types-inhibit): Add :set function. Allow new value
4930 of t to inhibit all types.
4931
4932 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4933 so we can preload it.
4934
4935 * loadup.el (fboundp): Preload regexp-opt, needed by
4936 imagemagick-register-types.
4937
4938 2012-04-15 Chong Yidong <cyd@gnu.org>
4939
4940 * frame.el (scrolling): Remove nearly unused customization group.
4941
4942 * scroll-all.el (scroll-all-mode): Move to windows group.
4943
4944 2012-04-15 Chong Yidong <cyd@gnu.org>
4945
4946 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4947
4948 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4951 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4952
4953 2012-04-15 Glenn Morris <rgm@gnu.org>
4954
4955 * simple.el (process-file-side-effects): Doc fix.
4956
4957 2012-04-15 Glenn Morris <rgm@gnu.org>
4958
4959 * international/mule-cmds.el (set-language-environment): Doc fix.
4960
4961 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4962
4963 * server.el (server-auth-key, server-generate-key): Doc fixes.
4964 (server-get-auth-key): Doc fix. Use `string-match-p'.
4965 (server-start): Reflow docstring.
4966
4967 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4968
4969 * server.el (server-generate-key): `called-interactively-p'
4970 requires a parameter.
4971
4972 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4973
4974 * server.el (server-auth-key): New variable.
4975 (server-generate-key, server-get-auth-key): New function.
4976 (server-start): Use the new variable and functions to allow
4977 setting a permanent server key (bug#9423).
4978
4979 2012-04-14 Leo Liu <sdl.web@gmail.com>
4980
4981 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4982
4983 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4984
4985 Spelling fixes.
4986 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4987 Emacs uses American spelling.
4988
4989 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4990
4991 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4992 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4993 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4994 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4995
4996 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * progmodes/which-func.el (which-func-modes): Change default.
4999
5000 2012-04-14 Kim F. Storm <storm@cua.dk>
5001
5002 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5003 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5004
5005 2012-04-14 Chong Yidong <cyd@gnu.org>
5006
5007 * custom.el (custom-theme-set-variables): Doc fix.
5008
5009 2012-04-14 Glenn Morris <rgm@gnu.org>
5010
5011 * international/mule.el (set-auto-coding-for-load): Doc fix.
5012
5013 2012-04-14 Alan Mackenzie <acm@muc.de>
5014
5015 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5016 imenu work again for Objective C Mode. Correct the *-index values,
5017 these having been disturbed by a previous change in 2011-08.
5018
5019 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5020 Correct two search limits.
5021
5022 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5025
5026 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5027
5028 * international/characters.el: Fix sorting.
5029
5030 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5031
5032 * international/characters.el: Add more missing Latin case pairs.
5033
5034 2012-04-14 Glenn Morris <rgm@gnu.org>
5035
5036 * files.el (dir-locals-set-class-variables): Doc fix.
5037
5038 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5039
5040 * international/characters.el: Add set-case-syntax-pair call for
5041 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5042 counterpart. (Bug#11209)
5043
5044 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5045
5046 2012-04-14 Glenn Morris <rgm@gnu.org>
5047
5048 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5049
5050 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5051
5052 * textmodes/ispell.el (ispell-dictionary-base-alist):
5053 Add data for Hebrew.
5054
5055 2012-04-14 Chong Yidong <cyd@gnu.org>
5056
5057 * net/rcirc.el (rcirc-cmd-quit):
5058 Revert 2012-03-18 change (Bug#11192).
5059
5060 2012-04-14 Glenn Morris <rgm@gnu.org>
5061
5062 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5063
5064 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5065
5066 * minibuffer.el (completion-in-region-mode-map):
5067 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5068
5069 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5070
5071 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5072
5073 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5074
5075 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5076 to allow `C-M-f' and `C-M-b' to move to the nearest path
5077 separator (bug#9511).
5078
5079 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5080
5081 * avoid.el: Require cl when compiling. And also move the
5082 `provide' to the end.
5083
5084 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5085
5086 * avoid.el (mouse-avoidance-banish-position): New variable.
5087 (mouse-avoidance-banish-destination): Use it (bug#10165).
5088
5089 2012-04-13 Leo Liu <sdl.web@gmail.com>
5090
5091 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5092
5093 2012-04-13 Ken Brown <kbrown@cornell.edu>
5094
5095 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5096 this is no longer needed now that cygstart understands file:// URLs.
5097 (browse-url-filename-alist): For the same reason, don't modify
5098 file:// URLs on Cygwin.
5099
5100 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5103 the region on shift if the binding is already shifted (bug#11221).
5104
5105 2012-04-12 Glenn Morris <rgm@gnu.org>
5106
5107 * mail/mailpost.el: Move to obsolete/.
5108
5109 2012-04-12 Drew Adams <drew.adams@oracle.com>
5110
5111 * imenu.el (imenu--generic-function): Ignore invisible definitions
5112 (bug#10123).
5113
5114 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5115
5116 * hexl.el (hexl-bits): New variable.
5117 (hexl-options): Mention the variable in the doc string.
5118 (hexl-rulerise, hexl-line-displen): New functions.
5119 (hexl-mode): Mention the new variable.
5120 (hexl-mode, hexl-current-address, hexl-current-address):
5121 Use the displen.
5122 (hexl-ascii-start-column): New function.
5123 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5124 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5125
5126 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5127
5128 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5129 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5130 the encoding, as expected by hunspell.
5131
5132 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * battery.el (battery--linux-sysfs-regexp): New const.
5135 (battery-status-function): Use it. Remove yeeloong special case.
5136 (battery-yeeloong-sysfs): Remove.
5137 (battery-echo-area-format): Remove yeeloong special case.
5138
5139 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5142 Reported by Noah Friedman.
5143
5144 * subr.el (read-passwd): Use read-string.
5145
5146 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5147
5148 * vcursor.el (vcursor-move): Increase the priority of the overlay
5149 (bug#9663).
5150
5151 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5152
5153 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5154 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5155
5156 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5157
5158 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5159 define-minor-mode (bug#10760).
5160
5161 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5162
5163 * progmodes/grep.el (rgrep): Tweak the find command line so
5164 that directories matching `grep-find-ignored-files' won't be
5165 pruned (bug#10351).
5166
5167 2012-04-11 Chong Yidong <cyd@gnu.org>
5168
5169 * startup.el (command-line): Remove support for long-obsolete
5170 variable font-lock-face-attributes.
5171
5172 2012-04-11 Glenn Morris <rgm@gnu.org>
5173
5174 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5175
5176 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * window.el (window--state-get-1): Obey window-point-insertion-type.
5179
5180 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5181
5182 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5183 to previous function when point is on the first character of a
5184 function. Take care of that in `narrow-to-defun' (bug#6157).
5185
5186 2012-04-11 Glenn Morris <rgm@gnu.org>
5187
5188 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5189 not just file-errors.
5190
5191 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5192 (vc-bzr-sha1): Use internal sha1.
5193
5194 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5195
5196 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5197
5198 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5199
5200 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5201 that start in the middle of the line (bug#10496).
5202
5203 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5204
5205 * battery.el (battery-linux-proc-acpi): Only one battery is
5206 discharged at a time, but that seems to confuse battery.el when
5207 computing `rate-type' for the battery not being discharged
5208 (bug#10332).
5209
5210 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5213
5214 * international/quail.el: Use dolist and simplify.
5215 (quail-define-package, quail-update-keyboard-layout)
5216 (quail-define-rules): Use dolist.
5217 (quail-insert-kbd-layout, quail-get-translation): CSE.
5218
5219 * tmm.el: Use dolist, remove left over hook.
5220 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5221 Use dolist.
5222 (calendar-load-hook): Don't mess with it.
5223
5224 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5225 Use derived-mode-p. Run the diff asynchronously.
5226
5227 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5228
5229 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5230
5231 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5232
5233 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5234 (list-dynamic-libraries--loaded): New function.
5235 (list-dynamic-libraries--refresh): Use it.
5236
5237 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5238
5239 * progmodes/python.el (python-fill-paragraph):
5240 Make python-fill-region in a multiline string work when font-lock is
5241 disabled (bug#7018).
5242
5243 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5244
5245 * language/european.el (cp775): Add oem/legacy (en)coding on
5246 DOS/MS Windows for the Baltic languages. There are still plenty
5247 of texts written in this encoding/codepage (bug#6519).
5248
5249 2012-04-10 Glenn Morris <rgm@gnu.org>
5250
5251 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5252 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5253
5254 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5255
5256 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5257 next-line "n" and previous-line "p" in order to make recentf more
5258 consistent with ibuffer, dired or org-mode (bug#9387).
5259
5260 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5261
5262 * image.el (put-image): Return the overlay created instead of the
5263 optional input string (bug#7834). Note that this may break code
5264 that is (for some reason or other) depending on `put-image'
5265 returning the string.
5266
5267 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5268
5269 * simple.el (zap-to-char): Allow zapping using input methods
5270 (bug#1580).
5271
5272 * textmodes/fill.el (fill-region): Leave point and mark where they
5273 were before filling (bug#5399).
5274
5275 2012-04-09 Glenn Morris <rgm@gnu.org>
5276
5277 * version.el (emacs-bzr-get-version):
5278 Handle lightweight checkouts of local branches.
5279
5280 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5281
5282 * international/characters.el: Recover lost case pairs. (Bug#11209)
5283
5284 2012-04-09 Chong Yidong <cyd@gnu.org>
5285
5286 * custom.el (custom-variable-p): Return nil for non-symbol
5287 arguments instead of signaling an error.
5288 (user-variable-p): Obsolete alias for custom-variable-p.
5289
5290 * apropos.el (apropos-variable):
5291 * files-x.el (read-file-local-variable):
5292 * simple.el (set-variable):
5293 * woman.el (woman-mini-help):
5294 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5295
5296 2012-04-09 Glenn Morris <rgm@gnu.org>
5297
5298 * startup.el (normal-top-level): Don't look for leim-list.el
5299 in places where it will not be found. (Bug#910)
5300
5301 * international/mule-cmds.el (set-default-coding-systems):
5302 * files.el (normal-mode):
5303 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5304 This function was removed with ucs-tables.el in 2008.
5305
5306 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5307
5308 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5309 ispell-encoding8-command to "-i", without a trailing space.
5310 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5311 separate command-line arguments, to specify the encoding, since
5312 that's how hunspell expects it.
5313
5314 2012-04-08 Glenn Morris <rgm@gnu.org>
5315
5316 * loadup.el: Load bindings before cus-start.
5317 This reduces somewhat the number of "rogue" settings in emacs -Q.
5318
5319 2012-04-07 Glenn Morris <rgm@gnu.org>
5320
5321 * version.el (emacs-bzr-get-version): New function.
5322 (emacs-bzr-version): New variable.
5323 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5324 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5325
5326 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5327
5328 * international/uni-bidi.el, international/uni-category.el:
5329 * international/uni-combining.el, international/uni-decimal.el:
5330 * international/uni-decomposition.el, international/uni-digit.el:
5331 * international/uni-lowercase.el, international/uni-mirrored.el:
5332 * international/uni-name.el, international/uni-numeric.el:
5333 * international/uni-titlecase.el, international/uni-uppercase.el:
5334 Update for Unicode 6.1.
5335
5336 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5337
5338 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5339
5340 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5341
5342 * window.el (shrink-window): Mention the `window-min-height'
5343 variable in the doc string.
5344
5345 2012-04-05 Bastien Guerry <bzg@altern.org>
5346
5347 * color.el (color-lighten-name): Fix typo.
5348
5349 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5350
5351 * server.el (server--on-display-p): New function.
5352 (server--on-display-p): Use it.
5353
5354 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5355
5356 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5357 (bug#11145).
5358
5359 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * comint.el (comint--common-quoted-suffix): Check string boundary
5362 before comparing (bug#11158).
5363 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5364
5365 2012-04-04 Chong Yidong <cyd@gnu.org>
5366
5367 * minibuffer.el (completion-extra-properties): Doc fix.
5368
5369 * subr.el (delayed-warnings-hook): Doc fix.
5370
5371 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5372
5373 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5374 selection (Bug#11159).
5375 (epa-insert-keys): Inform that the default public key will be
5376 exported if no key is selected.
5377
5378 2012-04-04 Richard Stallman <rms@gnu.org>
5379
5380 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5381
5382 2012-04-03 Chong Yidong <cyd@gnu.org>
5383
5384 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5385 mail-insert-file, not its obsolete alias mail-attach-file.
5386
5387 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5388
5389 * notifications.el (notifications-notify): Fix docstring.
5390
5391 2012-04-02 Glenn Morris <rgm@gnu.org>
5392
5393 * emacs-lisp/authors.el (authors-aliases): Another addition.
5394
5395 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5396
5397 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5398 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5399 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5400
5401 2012-04-01 Chong Yidong <cyd@gnu.org>
5402
5403 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5404 Handle root directory properly.
5405 (copy-directory): Caller changed.
5406
5407 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5408 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5409
5410 2012-03-31 Glenn Morris <rgm@gnu.org>
5411
5412 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5413
5414 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5415
5416 * calendar/calendar.el (calendar-window-list)
5417 (calendar-hide-window): Restore. (Bug#11140)
5418 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5419
5420 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5421
5422 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5423
5424 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5425 Check if file is a symlink (Bug#10489).
5426
5427 * files.el (copy-directory): Likewise.
5428
5429 2012-03-30 Chong Yidong <cyd@gnu.org>
5430
5431 * image.el (imagemagick-types-inhibit)
5432 (imagemagick-register-types): Doc fix.
5433
5434 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5435
5436 * textmodes/ispell.el (ispell-get-extended-character-mode):
5437 Disable extended-char-mode for hunspell. hunspell does not support it
5438 and treats ~word as ordinary words in pipe mode.
5439
5440 2012-03-30 Glenn Morris <rgm@gnu.org>
5441
5442 * tutorial.el (help-with-tutorial): Ensure local variables don't
5443 happen to make the buffer read-only. (Bug#11127)
5444
5445 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5446
5447 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5448 (perl-calculate-indent): Return `noindent' in strings.
5449
5450 2012-03-28 Sam Steingold <sds@gnu.org>
5451
5452 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5453 instead of the broken adhockery which does not prevent calendar
5454 buffers from being displayed at random after exit.
5455 (calendar-window-list, calendar-hide-window): Remove the broken
5456 adhockery.
5457
5458 2012-03-28 Glenn Morris <rgm@gnu.org>
5459
5460 * replace.el (query-replace-map): Doc fix.
5461
5462 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5463
5464 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5465 contents. (Bug#11109)
5466
5467 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5470 (bug#11077).
5471 (avl-tree--check, avl-tree--check-node): New funs.
5472
5473 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5474
5475 * window.el (switch-to-visible-buffer): New option.
5476 (switch-to-prev-buffer, switch-to-next-buffer):
5477 Observe switch-to-visible-buffer. Make sure that checking for a window
5478 showing a buffer already is done on the same frame.
5479
5480 2012-03-27 Glenn Morris <rgm@gnu.org>
5481
5482 * startup.el (mail-host-address): Doc fix.
5483
5484 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5487 than 197 variables.
5488
5489 2012-03-26 Ami Fischman <ami@fischman.org>
5490
5491 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5492
5493 2012-03-26 Glenn Morris <rgm@gnu.org>
5494
5495 * files.el (save-buffers-kill-emacs): Doc fix.
5496
5497 * startup.el (normal-top-level, command-line, command-line-1):
5498 Give them doc strings.
5499
5500 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5501
5502 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5503 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5504
5505 2012-03-25 Chong Yidong <cyd@gnu.org>
5506
5507 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5508 theme if it was previously enabled before (Bug#11031).
5509
5510 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5511 spec with custom-face-get-current-spec if its :shown-value is not
5512 determined yet (Bug#9337).
5513 (customize-create-theme, custom-theme-revert): Doc fixes.
5514
5515 * button.el (button-at): Minor addition to docstring.
5516
5517 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5518
5519 * vc/vc.el (vc-merge): Fix a prompt.
5520
5521 2012-03-24 Chong Yidong <cyd@gnu.org>
5522
5523 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5524 point (Bug#9623).
5525
5526 * button.el (button-at): Minor addition to docstring.
5527
5528 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * newcomment.el (comment-choose-indent): No space after BOL.
5531
5532 2012-03-22 Sam Steingold <sds@gnu.org>
5533
5534 * window.el (switch-to-prev-buffer): Revert last patch because the
5535 bug turned out to be an advertised feature (Elisp manual 28.14).
5536
5537 2012-03-22 Glenn Morris <rgm@gnu.org>
5538
5539 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5540 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5541
5542 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5543
5544 * net/network-stream.el (network-stream-open-starttls): Make error
5545 message under Windows be less misleading.
5546
5547 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5548
5549 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5550 understands (bug#9942).
5551
5552 2012-03-22 Chong Yidong <cyd@gnu.org>
5553
5554 * simple.el (end-of-visible-line): Handle return value of
5555 next-single-property-change properly (Bug#9371).
5556
5557 2012-03-22 Kenichi Handa <handa@m17n.org>
5558
5559 * international/quail.el (quail-insert-kbd-layout): Fix previous
5560 change. To avoid unwanted bidi reordering, use
5561 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5562
5563 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5564
5565 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5566 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5567 (ruby-beginning-of-indent): Be more careful with the difference
5568 between word-boundary and symbol boundary.
5569 (ruby-mode-syntax-table): Make : a symbol constituent.
5570
5571 2012-03-21 Andreas Politz <politza@fh-trier.de>
5572
5573 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5574
5575 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * progmodes/etags.el (tags-completion-at-point-function):
5578 Improve last fix.
5579
5580 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5581
5582 2012-03-21 Sam Steingold <sds@gnu.org>
5583
5584 * progmodes/etags.el (tags-completion-at-point-function):
5585 Avoid the error when point is inside the pattern.
5586
5587 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5588
5589 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5590 line (Bug#10855).
5591
5592 2012-03-21 Drew Adams <drew.adams@oracle.com>
5593
5594 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5595
5596 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5597
5598 * ido.el (ido-set-current-directory, ido-read-internal)
5599 (ido-choose-completion-string, ido-completion-help): Handle nil
5600 value of ido-completion-buffer (Bug#11008).
5601
5602 2012-03-21 Sam Steingold <sds@gnu.org>
5603
5604 * window.el (switch-to-prev-buffer): Do not switch to a visible
5605 window previous buffer, just like with the frame previous buffers.
5606
5607 2012-03-21 Chong Yidong <cyd@gnu.org>
5608
5609 * faces.el (make-face, make-empty-face, copy-face):
5610 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5611 Doc fixes.
5612
5613 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5616 (widget-complete): Remove broken use of it.
5617
5618 2012-03-20 Chong Yidong <cyd@gnu.org>
5619
5620 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5621 Use string-width and truncate-string-width to handle arbitrary
5622 characters.
5623
5624 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5625
5626 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5627 to draw rectangles, not squares. (Regression introduced by revno
5628 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5629
5630 2012-03-18 Chong Yidong <cyd@gnu.org>
5631
5632 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5633 it is not yet defined (for temacs).
5634
5635 2012-03-18 Leo Liu <sdl.web@gmail.com>
5636
5637 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5638
5639 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5640
5641 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5642 (ispell-choices-win-default-height, ispell-silently-savep)
5643 (ispell-dictionary-alist, ispell-encoding8-command)
5644 (ispell-check-version, ispell-aspell-find-dictionary)
5645 (ispell-valid-dictionary-list, ispell-words-keyword)
5646 (ispell-get-word, ispell-internal-change-dictionary)
5647 (ispell-region, ispell-skip-region-list)
5648 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5649 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5650 (ispell-message-text-end, ispell-message)
5651 (ispell-buffer-local-parsing): Doc fix.
5652
5653 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5654
5655 * htmlfontify.el: Add support for code block fontification for ODT
5656 export (Bug #9914).
5657 (hfy-optimisations): Define new option
5658 `body-text-only'
5659 (hfy-fontify-buffer): Honor above setting.
5660 (hfy-begin-span, hfy-end-span): New routines factored out form
5661 `hfy-fontify-buffer'.
5662 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5663 that permit insertion of custom tags.
5664 (hfy-fontify-buffer): Use above handlers.
5665 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5666 (hfy-face-to-css): Re-defined to be a variable.
5667 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5668 over multiple runs. This is made possible by having the caller let
5669 bind a special variable `hfy-user-sheet-assoc'.
5670 (htmlfontify-string): New defun.
5671 (hfy-compile-face-map): Make sure that the last char in the
5672 buffer is correctly fontified.
5673 (hfy-face-resolve-face): Whitespace only change.
5674
5675 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5676
5677 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5678 message more clear.
5679
5680 2012-03-16 Leo Liu <sdl.web@gmail.com>
5681
5682 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5683
5684 2012-03-16 Alan Mackenzie <acm@muc.de>
5685
5686 Further optimise the handling of large macros.
5687
5688 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5689 limit to a call of `c-literal-limits'.
5690 (c-determine-+ve-limit): New function.
5691 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5692 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5693 In CASE 5B, restrict a search limit to 500.
5694 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5695
5696 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5697 Restrict macro bounds to +-500 from after-change's BEG END.
5698
5699 2012-03-16 Leo Liu <sdl.web@gmail.com>
5700
5701 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5702
5703 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5704
5705 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5706 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5707
5708 2012-03-16 Glenn Morris <rgm@gnu.org>
5709
5710 * view.el (view-buffer, view-buffer-other-window)
5711 (view-buffer-other-frame): Doc fixes re special mode-class.
5712
5713 * subr.el (eval-after-load): If named feature is provided not from
5714 a file, run after-load forms. (Bug#10946)
5715
5716 * calendar/calendar.el (calendar-insert-at-column):
5717 Handle non-unit-width characters a bit better. (Bug#10978)
5718
5719 2012-03-15 Chong Yidong <cyd@gnu.org>
5720
5721 * emacs-lisp/ring.el (ring-extend): New function.
5722 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5723
5724 * comint.el (comint-read-input-ring)
5725 (comint-add-to-input-history): Grow comint-input-ring lazily.
5726
5727 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5728
5729 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5730 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5731
5732 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5733 (imenu-add-to-menubar): Don't add a redundant index.
5734 (imenu-update-menubar): Handle a dynamically composed keymap.
5735
5736 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5737
5738 * mail/sendmail.el (mail-encode-header):
5739 Bind rfc2047-encode-encoded-words to nil.
5740
5741 2012-03-13 Glenn Morris <rgm@gnu.org>
5742
5743 * calendar/calendar.el (calendar-string-spread):
5744 Handle non-unit-width characters a bit better. (Bug#10978)
5745
5746 2012-03-13 Leo Liu <sdl.web@gmail.com>
5747
5748 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5749 directory and file as argument (Bug#10822).
5750
5751 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5752
5753 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5754 For dynamically generated code, follow $PC.
5755 (gdb-disassembly-handler-custom): Handle no function name case.
5756
5757 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5758
5759 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5760 * emulation/ws-mode.el (ws-query-replace):
5761 * sort.el (sort-regexp-fields):
5762 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5763
5764 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * dabbrev.el: Fix cycle completion order (bug#10963).
5767 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5768 (dabbrev-completion): Don't use an obarray; provide
5769 a cycle-sort-function.
5770
5771 2012-03-12 Leo Liu <sdl.web@gmail.com>
5772
5773 * simple.el (kill-new): Use equal-including-properties for comparison.
5774 (kill-do-not-save-duplicates): Doc fix.
5775
5776 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * dabbrev.el: Fix cycle completion (bug#10963).
5779 Use lexical binding and wrap to 80 columns.
5780 (dabbrev-completion): Delay computing the list of completions.
5781
5782 2012-03-12 Kenichi Handa <handa@m17n.org>
5783
5784 * international/quail.el (quail-insert-kbd-layout): Surround each
5785 row by LRO and PDF instead of inserting many LRMs. Pad the left
5786 and right of each non-spacing marks. Insert invisible space
5787 between lower and upper characters to prevent composition.
5788
5789 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * minibuffer.el (minibuffer-complete): Don't get confused when the
5792 function is run twice via different commands (bug#10958).
5793 (complete-with-action): Fix docstring.
5794
5795 2012-03-12 Chong Yidong <cyd@gnu.org>
5796
5797 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5798 (nxml-completion-at-point-function): New function.
5799 (nxml-mode): Use it.
5800 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5801
5802 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5803 Load generated autoloads file before byte compiling (Bug#10970).
5804 (package--make-autoloads-and-compile): New helper fun.
5805
5806 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5807
5808 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5809
5810 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5811
5812 * autorevert.el (auto-revert-handler): Ensure, that
5813 file-readable-p is applied only for local files or in
5814 auto-revert-tail-mode.
5815
5816 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5817
5818 * server.el (server-eval-at): Handle non-tcp connections.
5819 Decode result string.
5820
5821 * server.el (server-msg-size): New constant.
5822 (server-reply-print): New function.
5823 (server-eval-and-print): Use it.
5824 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5825 Handle -print-nonl.
5826
5827 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5828
5829 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5830 (Bug#10987).
5831
5832 2012-03-11 Chong Yidong <cyd@gnu.org>
5833
5834 * simple.el (goto-line): Doc fix (Bug#9938).
5835
5836 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5837
5838 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5839 when finished (Bug#10963).
5840
5841 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5842
5843 * window.el (split-window-below): Fix bug in case where
5844 split-window-keep-point is nil (Bug#10971).
5845
5846 2012-03-11 Juri Linkov <juri@jurta.org>
5847
5848 * replace.el (replace-highlight): Set isearch-word to nil
5849 unconditionally. (Bug#10887)
5850
5851 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5852
5853 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5854 mairix-replace-illegal-chars; all callers changed. Don't remove
5855 ^, ~, and = characters: they are meaningful in mairix search specs.
5856 (mairix-widget-create-query): Add usage information about mairix
5857 search forms: negating words, searching for substrings, etc.
5858
5859 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5860
5861 * international/fontset.el (font-encoding-alist): Add an entry for
5862 ksx1001 (Bug#5667).
5863
5864 2012-03-10 Richard Stallman <rms@gnu.org>
5865
5866 * mail/sendmail.el (mail-encode-header):
5867 Set rfc2047-encode-encoded-words.
5868
5869 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5870
5871 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5872 view buffer means not swapped.
5873 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5874 (rmail-write-region-annotate): Error if real text has disappeared.
5875
5876 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5877
5878 2012-03-10 Chong Yidong <cyd@gnu.org>
5879
5880 * emulation/cua-rect.el (cua--init-rectangles):
5881 * emulation/cua-base.el (cua--init-keymaps):
5882 Add delete-forward-char to remappings (Bug#9666).
5883
5884 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5885
5886 * speedbar.el (speedbar-unhighlight-one-tag-line):
5887 Avoid unhighlighting due to frame switching (Bug#10275).
5888
5889 2012-03-10 Chong Yidong <cyd@gnu.org>
5890
5891 * minibuffer.el (completion-in-region, completion-help-at-point):
5892 Give the completion field overlay a high priority (Bug#6830).
5893
5894 * dired.el (dired-goto-file): Recognize absolute file name
5895 listings (Bug#7126).
5896 (dired-goto-file-1): New helper function.
5897 (dired-toggle-read-only): Inhibit warnings.
5898
5899 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5900
5901 * net/dbus.el (dbus-property-handler): Return empty array if
5902 there are no properties.
5903
5904 2012-03-09 Leo Liu <sdl.web@gmail.com>
5905
5906 * savehist.el (savehist-printable): Stricter check for string
5907 value (Bug#10937).
5908
5909 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5910
5911 * mail/smtpmail.el (smtpmail-send-it):
5912 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5913 valid mbox format.
5914
5915 2012-03-09 Glenn Morris <rgm@gnu.org>
5916
5917 * files.el (dir-locals-find-file):
5918 Don't check result is regular, readable.
5919 (dir-locals-read-from-file): Demote errors.
5920
5921 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5922
5923 * international/quail.el (quail-insert-kbd-layout):
5924 Insert invisible LRM characters before each character in a keyboard
5925 layout cell, to prevent their reordering by bidi display engine.
5926 For details, see the discussion in
5927 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5928
5929 2012-03-08 Alan Mackenzie <acm@muc.de>
5930
5931 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5932 the starting position; make it extend the marked region when
5933 invoked repeatedly - all under appropriate circumstances.
5934 Fixes bugs #5525, #10906.
5935
5936 2012-03-08 Glenn Morris <rgm@gnu.org>
5937
5938 * files.el (locate-dominating-file, dir-locals-find-file):
5939 Undo 2012-03-06 change.
5940
5941 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5942
5943 * international/quail.el (quail-help):
5944 Force bidi-paragraph-direction be left-to-right. See discussion in
5945 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5946 for the reason.
5947
5948 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5949
5950 Avoid superfluous registering of signals. (Bug#10807)
5951
5952 * notifications.el (notifications-on-action-object)
5953 (notifications-on-close-object): New defvars.
5954 (notifications-on-action-signal, notifications-on-closed-signal):
5955 Unregister the signal if not needed any longer.
5956 (notifications-notify): Register `notifications-action-signal' or
5957 `notifications-closed-signal', if :on-action or :on-close has been
5958 passed as argument.
5959
5960 2012-03-07 Chong Yidong <cyd@gnu.org>
5961
5962 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5963 non-X platforms.
5964
5965 2012-03-06 Glenn Morris <rgm@gnu.org>
5966
5967 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5968 (x-disown-selection-internal, x-get-selection-internal):
5969 Doc fix (add arglist signatures). (Bug#10783)
5970
5971 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5972
5973 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5974 Handle breakpoints with no "type".
5975
5976 2012-03-06 Glenn Morris <rgm@gnu.org>
5977
5978 * files.el (locate-dominating-file): Add optional predicate argument.
5979 (dir-locals-find-file): Make use of above change.
5980
5981 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5982
5983 * info.el (Info-insert-dir): Also try "dir.gz".
5984
5985 2012-03-06 Glenn Morris <rgm@gnu.org>
5986
5987 * files.el (dir-locals-find-file):
5988 Ignore non-readable or non-regular files. (Bug#10928)
5989
5990 * files.el (locate-dominating-file): Doc fix.
5991
5992 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5993
5994 * calendar/calendar.el (calendar-set-mode-line):
5995 `getenv' returns a string. (Bug#10951)
5996
5997 2012-03-05 Leo Liu <sdl.web@gmail.com>
5998
5999 * simple.el (backward-delete-char-untabify): Constrain point to
6000 field (Bug#10939).
6001
6002 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6003
6004 2012-03-05 Chong Yidong <cyd@gnu.org>
6005
6006 * simple.el (count-words): If called from Lisp, return the word
6007 count, for symmetry with `count-lines'. Arglist changed.
6008 (count-words--message): Args changed. Consolidate counting code
6009 from count-words and count-words-region.
6010 (count-words-region): Caller changed.
6011 (count-lines-region): Make it an obsolete alias.
6012
6013 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6014
6015 * saveplace.el (save-place-to-alist)
6016 (save-place-ignore-files-regexp): Allow value nil to disable this
6017 feature.
6018
6019 2012-03-04 Chong Yidong <cyd@gnu.org>
6020
6021 * faces.el (face-spec-reset-face): For the default face, reset the
6022 attributes to default values (Bug#10748).
6023
6024 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6025
6026 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6027 previous patch: Check `message-send-mail-function', and not the
6028 default function (bug#10897).
6029
6030 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6031
6032 * notifications.el (notifications-on-action-signal)
6033 (notifications-on-closed-signal): Check for unique service name of
6034 incoming event. Fix error in removing entry.
6035 (top): Register for signals with wildcard service name.
6036 (notifications-notify): Use daemon unique service name for map entries.
6037
6038 2012-03-04 Chong Yidong <cyd@gnu.org>
6039
6040 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6041
6042 2012-03-04 Glenn Morris <rgm@gnu.org>
6043
6044 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6045 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6046 (expand-abbrev, define-abbrev-table): Doc fixes.
6047
6048 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6049
6050 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6051 `message-default-send-mail-function' and not `send-mail-function'
6052 when doing the prompting for `sendmail-query-once' before sending
6053 in Message buffers (bug#10897).
6054
6055 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6056 This is inconsistent with all the other stream functions, which leave
6057 the setting up to the higher levels (if so wanted) (bug#10931).
6058
6059 2012-03-02 Alan Mackenzie <acm@muc.de>
6060
6061 Depessimize the handling of very large macros.
6062
6063 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6064 (c-macro-cache-syntactic): New variables to implement a one
6065 element macro cache.
6066 (c-invalidate-macro-cache): New function.
6067 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6068 Adapt to use the new cache.
6069 (c-state-safe-place): Use better the cache of safe positions.
6070 (c-state-semi-nonlit-pos-cache)
6071 (c-state-semi-nonlit-pos-cache-limit):
6072 New variables for...
6073 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6074 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6075 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6076 Use c-state-semi-safe-place.
6077
6078 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6079 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6080
6081 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6082
6083 * jka-compr.el (jka-compr-call-process):
6084 Apply `file-accessible-directory-p' only when the default directory is
6085 not remote.
6086
6087 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6090 access of FILE2, if FILE1 does not exist.
6091
6092 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6093 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6094
6095 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6096 Add "PAGER=" to `process-environment'.
6097
6098 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6099
6100 * progmodes/sql.el: Bug fix
6101 (sql-get-login-ext): Save login values in globals.
6102 (sql-get-login): Use new version of `sql-get-login-ext'.
6103 (sql-interactive-mode): Set global `sql-connection' to nil.
6104 (sql-connect): Set global values for connection.
6105 (sql-product-interactive): Save global values as buffer local.
6106
6107 2012-02-29 Leo Liu <sdl.web@gmail.com>
6108
6109 * abbrev.el (define-abbrevs): Reset sys to nil.
6110
6111 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6112
6113 * files.el (file-equal-p): Rename from `files-equal-p'.
6114 Return nil when one or both files don't exist.
6115 (file-subdir-of-p): Now only top directory must exists,
6116 return nil if it doesn't.
6117 (copy-directory): No need to test with `file-subdir-of-p' after
6118 creating dir.
6119 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6120 to `file-equal-p'.
6121
6122 2012-02-28 Glenn Morris <rgm@gnu.org>
6123
6124 * shell.el (shell-mode):
6125 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6126 * play/landmark.el (landmark-font-lock-face-O):
6127 * play/handwrite.el (handwrite):
6128 * play/gomoku.el (gomoku-O):
6129 * net/browse-url.el (browse-url-browser-display):
6130 * international/mule.el (define-charset):
6131 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6132 * filesets.el (filesets-find-file-delay):
6133 * eshell/em-xtra.el (eshell-xtra):
6134 * eshell/em-unix.el (eshell-grep):
6135 * emulation/viper.el (viper-mode):
6136 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6137 * emacs-lisp/easymenu.el (easy-menu-define):
6138 * calendar/timeclock.el (timeclock-use-display-time):
6139 * bs.el (bs-mode):
6140 * bookmark.el (bookmark-save-flag):
6141 Doc fix (standardize possessive apostrophe usage).
6142
6143 2012-02-27 Chong Yidong <cyd@gnu.org>
6144
6145 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6146 Fix key-binding lookup for ESC key (Bug#9146).
6147
6148 * font-lock.el (font-lock-specified-p): Rename from
6149 font-lock-spec-present. Callers changed.
6150
6151 2012-02-27 Daniel Hackney <dan@haxney.org>
6152
6153 * emacs-lisp/package.el (package-compute-transaction):
6154 Handle holding a package version to t in package-load-list.
6155
6156 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6157
6158 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6159 (tramp-get-inode, tramp-get-device): Use cached values.
6160
6161 2012-02-26 Alan Mackenzie <acm@muc.de>
6162
6163 Check there is a font-lock specification before doing initial
6164 fontification.
6165
6166 * font-core.el (font-lock-mode): Move the conditional from
6167 :after-hook to font-lock-initial-fontify.
6168 (font-lock-default-function): Move the check for a specification
6169 to font-lock-spec-present.
6170
6171 * font-lock.el (font-lock-initial-fontify): Call ...
6172 (font-lock-spec-present): New function.
6173
6174 2012-02-26 Jim Blandy <jimb@red-bean.com>
6175
6176 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6177 (gdb-send): Apply it to the operand of the '-interpreter-exec
6178 console' command, so that we can pass arguments with (say) quotes
6179 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6180
6181 2012-02-26 Chong Yidong <cyd@gnu.org>
6182
6183 * help-fns.el (describe-function-1): Clarify description of
6184 remapping (Bug#10844).
6185
6186 * files.el (files-equal-p): Doc fix.
6187 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6188 and quit the loop once a mismatch is found.
6189
6190 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6191
6192 * bs.el (bs--show-with-configuration): Don't throw an error
6193 if the window cannot be split; otherwise, subsequent calls to
6194 bs-show fail, restoring a stale window config. (Bug#10882)
6195
6196 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6197
6198 * term/ns-win.el (global-map): Bind ns-drag-file to
6199 ns-find-file (Bug#5855, Bug#10050).
6200
6201 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6202
6203 * calendar/parse-time.el (parse-time-string): Allow extractor to
6204 return nil.
6205
6206 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6207
6208 * net/tramp.el (tramp-file-name-for-operation):
6209 Add `files-equal-p' and `file-subdir-of-p'.
6210
6211 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6212 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6213 Add COPY-CONTENTS argument.
6214
6215 2012-02-25 Chong Yidong <cyd@gnu.org>
6216
6217 Add custom groups for VC backends, for consistency with vc-bzr.
6218
6219 * vc/vc-arch.el (vc-arch):
6220 * vc/vc-cvs.el (vc-cvs):
6221 * vc/vc-git.el (vc-git):
6222 * vc/vc-hg.el (vc-hg):
6223 * vc/vc-mtn.el (vc-mtn):
6224 * vc/vc-rcs.el (vc-rcs):
6225 * vc/vc-sccs.el (vc-sccs):
6226 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6227 All relevant defcustoms reassigned.
6228
6229 2012-02-25 Chong Yidong <cyd@gnu.org>
6230
6231 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6232
6233 * term/x-win.el (x-initialize-window-system): Reduce default for
6234 x-selection-timeout to 5 seconds (Bug#8869).
6235
6236 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6237
6238 * files.el (files-equal-p, file-subdir-of-p): New functions.
6239 (copy-directory): Error when trying to copy a directory on itself.
6240 Add missing copy-contents arg to tramp handler.
6241 * dired-aux.el (dired-copy-file-recursive): Same.
6242 (dired-create-files): Modify destination when source is equal to
6243 dest when copying files.
6244 Return also when dest is a subdir of source. (Bug#10489)
6245
6246 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6247
6248 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6249 (Bug#10874)
6250
6251 2012-02-23 Alan Mackenzie <acm@muc.de>
6252
6253 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6254 parameter "after-hook:" to allow the expansion to run code after
6255 the execution of the mode hooks.
6256
6257 * font-lock.el (font-lock-initial-fontify): New function extracted
6258 from font-lock-mode-internal.
6259
6260 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6261 :after-hook.
6262
6263 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6266 (completion--cache-all-sorted-completions): New function.
6267 (completion-all-sorted-completions): Use it.
6268 (completion--do-completion, minibuffer-force-complete):
6269 Use it to re-instate the flush hook.
6270
6271 * icomplete.el (icomplete-completions): Replace last fix with a better
6272 one (bug#10850).
6273
6274 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6275
6276 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6277 when it might call us back infinitely (bug#10797).
6278
6279 2012-02-23 Glenn Morris <rgm@gnu.org>
6280
6281 * minibuffer.el (completion-category-overrides): Doc fix.
6282
6283 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6286 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6287
6288 2012-02-23 Glenn Morris <rgm@gnu.org>
6289
6290 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6291 (authors-obsolete-files-regexps, authors-ignored-files)
6292 (authors-ambiguous-files, authors-renamed-files-alist):
6293 Add more entries.
6294
6295 2012-02-23 Juri Linkov <juri@jurta.org>
6296
6297 * isearch.el (isearch-occur): Sync interactive spec with occur's
6298 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6299
6300 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6301
6302 2012-02-22 Juri Linkov <juri@jurta.org>
6303
6304 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6305 (ucs-insert): Doc fix. Check for hex digits in the string.
6306 Don't display `nil' in the error message. (Bug#10857)
6307
6308 2012-02-22 Alan Mackenzie <acm@muc.de>
6309
6310 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6311
6312 2012-02-22 Glenn Morris <rgm@gnu.org>
6313
6314 * ffap.el (ffap-c-path):
6315 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6316
6317 2012-02-22 Chong Yidong <cyd@gnu.org>
6318
6319 * custom.el (load-theme): Doc fix.
6320
6321 2012-02-22 Glenn Morris <rgm@gnu.org>
6322
6323 * dired-x.el (dired-guess-shell-alist-default):
6324 Remove escape sequences from nroff output. (Bug#172)
6325
6326 2012-02-21 Glenn Morris <rgm@gnu.org>
6327
6328 * vc/emerge.el (emerge-defvar-local):
6329 Set `permanent-local' property rather than unused `preserved'.
6330
6331 * textmodes/picture.el (picture-delete-char): New alias.
6332 (picture-mode-map): Use it. (Bug#10860)
6333 (picture-mode): Doc fix.
6334
6335 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6336
6337 * newcomment.el (uncomment-region-default): Remove unused binding.
6338
6339 2012-02-21 Glenn Morris <rgm@gnu.org>
6340
6341 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6342 (picture-self-insert, picture-tab-chars): Doc fix.
6343 (picture-mode-map): Fix C-a, C-e.
6344
6345 2012-02-20 Glenn Morris <rgm@gnu.org>
6346
6347 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6348
6349 2012-02-20 Leo Liu <sdl.web@gmail.com>
6350
6351 * icomplete.el (icomplete-completions): Check FROM arg before
6352 passing to substring (Bug#10850).
6353
6354 2012-02-19 Chong Yidong <cyd@gnu.org>
6355
6356 * comint.el: Require ansi-color.
6357 (comint-output-filter-functions): Add ansi-color-process-output.
6358
6359 * ansi-color.el: Don't set comint-output-filter-functions; it is
6360 now in the initial value defined in comint.el.
6361 (ansi-color-apply-face-function): New variable.
6362 (ansi-color-apply-on-region): Use it.
6363 (ansi-color-apply-overlay-face): New function.
6364
6365 * shell.el (shell): No need to require ansi-color.
6366 (shell-mode): Use ansi-color-apply-face-function to highlight
6367 color escapes using font-lock-face property (Bug#10835).
6368
6369 2012-02-19 Chong Yidong <cyd@gnu.org>
6370
6371 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6372 mode-line formats (Bug#10839).
6373
6374 2012-02-18 Glenn Morris <rgm@gnu.org>
6375
6376 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6377
6378 * mail/undigest.el (unforward-rmail-message): Doc fix.
6379
6380 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6381
6382 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6383
6384 * international/characters.el (script-list): Sync with the latest
6385 Unicode Character Database.
6386
6387 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6388
6389 * international/titdic-cnv.el: Remove duplicate coding tag.
6390 * language/cham.el: Likewise.
6391 * language/tai-viet.el: Likewise.
6392
6393 2012-02-18 Glenn Morris <rgm@gnu.org>
6394
6395 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6396 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6397 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6398 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6399 * calendar/holidays.el (holiday-bahai-holidays)
6400 (calendar-holidays, list-holidays):
6401 Use utf-8 Bahá'í in doc-strings, menus, etc.
6402
6403 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6404
6405 * saveplace.el (save-place-ignore-files-regexp): New variable
6406 allowing for excluding files from saving their location of point.
6407 The default value matches the temporary commit message editing
6408 files from Git, SVN, Bazaar, and Mercurial.
6409 (save-place-to-alist): Use it.
6410
6411 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6412 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * newcomment.el (uncomment-region-default): Don't leave extra space
6415 when an arg is provided (bug#8150).
6416
6417 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6418
6419 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6420
6421 2012-02-17 Glenn Morris <rgm@gnu.org>
6422
6423 * net/socks.el: Require network-stream. (Bug#10599)
6424
6425 2012-02-17 Kenichi Handa <handa@m17n.org>
6426
6427 * international/charprop.el:
6428 * international/uni-name.el:
6429 * international/uni-old-name.el:
6430 * international/uni-comment.el: Regenerate.
6431
6432 2012-02-16 Glenn Morris <rgm@gnu.org>
6433
6434 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6435 Interactively in calendar buffer, give an error if not on a date.
6436
6437 2012-02-15 Glenn Morris <rgm@gnu.org>
6438
6439 * shell.el (shell-delimiter-argument-list):
6440 Revert 2011-02-17 change. (Bug#8027)
6441
6442 2012-02-15 Chong Yidong <cyd@gnu.org>
6443
6444 * minibuffer.el (completion-at-point-functions): Doc fix.
6445
6446 * custom.el (defcustom): Doc fix; note use of defvar.
6447
6448 2012-02-15 Glenn Morris <rgm@gnu.org>
6449
6450 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6451 Doc fixes.
6452
6453 2012-02-14 Glenn Morris <rgm@gnu.org>
6454
6455 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6456
6457 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6458
6459 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6460 way the ports list is computed.
6461 (smtpmail-query-smtp-server): Prompt the user for a port number if
6462 we can't connect to any of the standard ports (bug#10810).
6463
6464 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6465
6466 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6467
6468 2012-02-13 Glenn Morris <rgm@gnu.org>
6469
6470 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6471
6472 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6473
6474 * net/gnutls.el (gnutls-trustfiles): New variable.
6475 (gnutls-negotiate): Use it.
6476
6477 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6478
6479 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6480 does its stuff if Gnus is running.
6481
6482 2012-02-13 Alan Mackenzie <acm@muc.de>
6483
6484 Fix a loop in c-set-fl-decl-start.
6485
6486 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6487 c-backward-syntactic-ws actually moves backwards.
6488
6489 2012-02-13 Leo Liu <sdl.web@gmail.com>
6490
6491 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6492 beginning so that all \C-o chars are removed.
6493
6494 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6495
6496 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6497
6498 2012-02-12 Alan Mackenzie <acm@muc.de>
6499
6500 Fix infinite loop with long macros.
6501 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6502
6503 2012-02-12 Chong Yidong <cyd@gnu.org>
6504
6505 * window.el (display-buffer): Doc fix (Bug#10785).
6506
6507 2012-02-12 Glenn Morris <rgm@gnu.org>
6508
6509 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6510 (x-disown-selection-internal, x-get-selection-internal):
6511 Sync docs with the xselect.c versions.
6512
6513 * allout-widgets.el: Add missing license notice.
6514
6515 2012-02-11 Glenn Morris <rgm@gnu.org>
6516
6517 * select.el (x-get-selection-internal, x-own-selection-internal)
6518 (x-disown-selection-internal):
6519 * x-dnd.el (x-get-selection-internal): Update declarations.
6520
6521 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6522
6523 * window.el (window-sides-slots):
6524 * tool-bar.el (tool-bar-position):
6525 * term/xterm.el (xterm-extra-capabilities):
6526 * ses.el (ses-self-reference-early-detection):
6527 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6528 (verilog-auto-wire-type)
6529 (verilog-auto-delete-trailing-whitespace)
6530 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6531 (verilog-auto-tieoff-declaration):
6532 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6533 (sql-oracle-statement-starters, sql-oracle-scan-on):
6534 * progmodes/prolog.el (prolog-align-comments-flag)
6535 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6536 (prolog-left-indent-regexp, prolog-paren-indent-p)
6537 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6538 (prolog-types, prolog-mode-specificators)
6539 (prolog-determinism-specificators, prolog-directives)
6540 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6541 (prolog-electric-dot-flag)
6542 (prolog-electric-dot-full-predicate-template)
6543 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6544 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6545 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6546 (prolog-program-switches, prolog-prompt-regexp)
6547 (prolog-debug-on-string, prolog-debug-off-string)
6548 (prolog-trace-on-string, prolog-trace-off-string)
6549 (prolog-zip-on-string, prolog-zip-off-string)
6550 (prolog-use-standard-consult-compile-method-flag)
6551 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6552 (prolog-imenu-max-lines, prolog-info-predicate-index)
6553 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6554 (prolog-char-quote-workaround):
6555 * progmodes/cc-vars.el (c-defun-tactic):
6556 * net/tramp.el (tramp-encoding-command-interactive)
6557 (tramp-local-end-of-line):
6558 * net/soap-client.el (soap-client):
6559 * net/netrc.el (netrc-file):
6560 * net/gnutls.el (gnutls):
6561 * minibuffer.el (completion-category-overrides)
6562 (completion-cycle-threshold)
6563 (completion-pcm-complete-word-inserts-delimiters):
6564 * man.el (Man-name-local-regexp):
6565 * mail/feedmail.el (feedmail-display-full-frame):
6566 * international/characters.el (glyphless-char-display-control):
6567 * eshell/em-ls.el (eshell-ls-date-format):
6568 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6569 (lisp-lambda-list-keyword-parameter-indentation)
6570 (lisp-lambda-list-keyword-parameter-alignment):
6571 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6572 * dired-x.el (dired-omit-verbose):
6573 * cus-theme.el (custom-theme-allow-multiple-selections):
6574 * calc/calc.el (calc-highlight-selections-with-faces)
6575 (calc-lu-field-reference, calc-lu-power-reference)
6576 (calc-note-threshold):
6577 * battery.el (battery-mode-line-limit):
6578 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6579 (archive-7z-update):
6580 * allout.el (allout-prefixed-keybindings)
6581 (allout-unprefixed-keybindings)
6582 (allout-inhibit-auto-fill-on-headline)
6583 (allout-flattened-numbering-abbreviation):
6584 * allout-widgets.el (allout-widgets-auto-activation)
6585 (allout-widgets-icons-dark-subdir)
6586 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6587 (allout-widgets-theme-dark-background)
6588 (allout-widgets-theme-light-background)
6589 (allout-widgets-item-image-properties-emacs)
6590 (allout-widgets-item-image-properties-xemacs)
6591 (allout-widgets-run-unit-tests-on-load)
6592 (allout-widgets-time-decoration-activity)
6593 (allout-widgets-hook-error-post-time)
6594 (allout-widgets-track-decoration):
6595 Add missing :version tags to new defcustoms and defgroups.
6596
6597 * progmodes/sql.el (sql-ansi-statement-starters)
6598 (sql-oracle-statement-starters): Add custom type.
6599
6600 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6601 (prolog-system-version): Give it a type.
6602
6603 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6604
6605 * term/pc-win.el (x-select-text, x-selection-owner-p)
6606 (x-own-selection-internal, x-disown-selection-internal)
6607 (x-get-selection-internal): Sync doc strings and argument lists
6608 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6609
6610 2012-02-11 Leo Liu <sdl.web@gmail.com>
6611
6612 * progmodes/python.el (python-end-of-statement): Fix infinite
6613 loop. (Bug#10788)
6614
6615 2012-02-10 Glenn Morris <rgm@gnu.org>
6616
6617 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6618 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6619
6620 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6621
6622 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6623 about SMTP before checking the From header.
6624
6625 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6626 into own function for reuse by emacsbug.el.
6627
6628 2012-02-10 Leo Liu <sdl.web@gmail.com>
6629
6630 * subr.el (condition-case-unless-debug): Rename from
6631 condition-case-no-debug. All callers changed.
6632 (with-demoted-errors): Fix caller.
6633
6634 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6635 * nxml/rng-valid.el (rng-do-some-validation):
6636 * emacs-lisp/package.el (package-refresh-contents)
6637 (package-menu-execute):
6638 * desktop.el (desktop-create-buffer):
6639 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6640
6641 2012-02-10 Glenn Morris <rgm@gnu.org>
6642
6643 * textmodes/bibtex.el:
6644 Add missing :version tags for new/changed defcustoms.
6645
6646 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6647
6648 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6649
6650 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6651 (smtpmail-via-smtp): Use it, or fall back on the From address.
6652 (smtpmail-send-it): Ditto.
6653
6654 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6657 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6658 (byte-compile-tmp-var): New const.
6659 (byte-compile-defvar): Use it to minimize .elc size.
6660 Just use `defvar' rather than simulate it (bug#10761).
6661
6662 2012-02-09 Glenn Morris <rgm@gnu.org>
6663
6664 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6665
6666 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6667 Add :version tags.
6668
6669 * progmodes/compile.el (compilation-error-screen-columns)
6670 (compilation-first-column, compilation-filter-start): Doc fixes.
6671
6672 * vc/log-view.el (log-view-toggle-entry-display):
6673 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6674
6675 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6676 (report-emacs-bug-can-use-xdg-email):
6677 (report-emacs-bug-insert-to-mailer): Doc fixes.
6678 (report-emacs-bug): Message fix.
6679
6680 * net/browse-url.el (browse-url-can-use-xdg-open)
6681 (browse-url-xdg-open): Doc fixes.
6682
6683 * electric.el (electric-indent-mode, electric-pair-mode)
6684 (electric-layout-rules, electric-layout-mode): Doc fixes.
6685 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6686
6687 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6688
6689 * server.el (server-unselect-display): Don't inadvertently kill
6690 the current buffer. (Bug#10729)
6691
6692 2012-02-08 Glenn Morris <rgm@gnu.org>
6693
6694 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6695 (sql-list-table): Doc fixes.
6696
6697 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6698 Comment out (does nothing).
6699
6700 * completion.el (dynamic-completion-mode):
6701 * dirtrack.el (dirtrack-debug-mode):
6702 * electric.el (electric-layout-mode):
6703 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6704 * face-remap.el (text-scale-mode, buffer-face-mode):
6705 * iimage.el (iimage-mode):
6706 * image-mode.el (image-transform-mode):
6707 * minibuffer.el (completion-in-region-mode):
6708 * scroll-lock.el (scroll-lock-mode):
6709 * simple.el (next-error-follow-minor-mode):
6710 * tar-mode.el (tar-subfile-mode):
6711 * tooltip.el (tooltip-mode):
6712 * vcursor.el (vcursor-use-vcursor-map):
6713 * wid-browse.el (widget-minor-mode):
6714 * emulation/tpu-edt.el (tpu-edt-mode):
6715 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6716 * international/iso-ascii.el (iso-ascii-mode):
6717 * language/thai-util.el (thai-word-mode):
6718 * mail/supercite.el (sc-minor-mode):
6719 * net/goto-addr.el (goto-address-mode):
6720 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6721 * progmodes/cwarn.el (cwarn-mode):
6722 * progmodes/flymake.el (flymake-mode):
6723 * progmodes/glasses.el (glasses-mode):
6724 * progmodes/hideshow.el (hs-minor-mode):
6725 * progmodes/pascal.el (pascal-outline-mode):
6726 * textmodes/enriched.el (enriched-mode):
6727 * vc/smerge-mode.el (smerge-mode):
6728 Doc fixes (minor mode argument).
6729
6730 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6731
6732 * ls-lisp.el (ls-lisp-sanitize): New function.
6733 (ls-lisp-insert-directory): Use it to fix or remove any elements
6734 in file-alist with missing attributes. (Bug#4673)
6735
6736 2012-02-07 Alan Mackenzie <acm@muc.de>
6737
6738 Fix spurious recognition of c-in-knr-argdecl.
6739
6740 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6741 putative K&R region.
6742
6743 2012-02-07 Alan Mackenzie <acm@muc.de>
6744
6745 * progmodes/cc-engine.el (c-forward-objc-directive):
6746 Prevent looping in "#pragma mark @implementation".
6747
6748 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6749
6750 * notifications.el (notifications-on-closed-signal): Make `reason'
6751 optional. (Bug#10744)
6752
6753 2012-02-07 Glenn Morris <rgm@gnu.org>
6754
6755 * emacs-lisp/easy-mmode.el (define-minor-mode):
6756 Doc fixes for the macro and the mode it defines.
6757
6758 * image.el (imagemagick-types-inhibit): Doc fix.
6759
6760 * cus-start.el (imagemagick-render-type): Add it.
6761
6762 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6763
6764 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6765 Set the default at load time, too, so that `font-lock-fontify-buffer'
6766 can be called without setting up the entire mode first. This fixes
6767 a bug in `mm-inline-text' with C MIME parts.
6768
6769 2012-02-06 Chong Yidong <cyd@gnu.org>
6770
6771 * simple.el (list-processes--refresh): Delete exited processes
6772 (Bug#8094).
6773
6774 * comint.el (comint-next-prompt): next-single-char-property-change
6775 and prev-single-char-property-change never return nil (Bug#8657).
6776
6777 * custom.el (defcustom): Doc fix (Bug#9711).
6778
6779 2012-02-05 Chong Yidong <cyd@gnu.org>
6780
6781 * cus-edit.el (custom-variable-reset-backup): Quote the value
6782 before storing it in the customized-value property (Bug#6712).
6783 (custom-display): Add a customization type tag.
6784 (custom-buffer-create-internal): Improve tooltip message.
6785
6786 * wid-edit.el (widget-field-value-get): New optional arg to
6787 suppress trailing whitespace truncation.
6788 (character): Use it (Bug#2689).
6789
6790 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6791
6792 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6793 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6794
6795 2012-02-05 Chong Yidong <cyd@gnu.org>
6796
6797 * cus-edit.el (custom-variable-value-create): For mismatched
6798 types, show the current value (Bug#7600).
6799
6800 * custom.el (defcustom): Doc fix.
6801
6802 2012-02-05 Glenn Morris <rgm@gnu.org>
6803
6804 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6805
6806 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6807
6808 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6809 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6810 (pp-last-sexp): Use `looking-at-p'.
6811
6812 2012-02-04 Glenn Morris <rgm@gnu.org>
6813
6814 * files.el (revert-buffer):
6815 Doc fix (mention revert-buffer-in-progress-p).
6816
6817 * emacs-lisp/ert-x.el (ert-simulate-command):
6818 Check deferred-action-list (which is obsolete) is bound.
6819
6820 * subr.el (with-wrapper-hook): Doc fixes.
6821
6822 * simple.el (filter-buffer-substring-functions)
6823 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6824
6825 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6826
6827 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6828 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6829
6830 2012-02-04 Leo Liu <sdl.web@gmail.com>
6831
6832 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6833
6834 2012-02-04 Glenn Morris <rgm@gnu.org>
6835
6836 * image.el (image-extension-data): Add obsolete alias.
6837
6838 * isearch.el (isearch-update): Doc fix.
6839
6840 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6841
6842 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6843
6844 2012-02-03 Glenn Morris <rgm@gnu.org>
6845
6846 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6847 (image-animate-timeout): Doc fix.
6848
6849 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6850
6851 2012-02-02 Glenn Morris <rgm@gnu.org>
6852
6853 * server.el (server-auth-dir): Doc fix.
6854 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6855
6856 * subr.el (run-mode-hooks): Doc fix.
6857
6858 2012-02-02 Juri Linkov <juri@jurta.org>
6859
6860 * image-mode.el (image-toggle-display-image): Remove tautological
6861 `major-mode' from the `derived-mode-p' test.
6862
6863 2012-02-02 Kenichi Handa <handa@m17n.org>
6864
6865 * composite.el (compose-region): Cancel previous change.
6866
6867 2012-02-02 Kenichi Handa <handa@m17n.org>
6868
6869 * composite.el (compose-region, compose-string): Signal error for
6870 a null string component (Bug#6988).
6871
6872 2012-02-01 Chong Yidong <cyd@gnu.org>
6873
6874 * view.el (view-buffer-other-window, view-buffer-other-frame):
6875 Handle special modes like view-buffer (Bug#10650).
6876 (view-buffer): Simplify.
6877
6878 * frame.el (set-frame-font): Tweak meaning of third argument.
6879
6880 * dynamic-setting.el (font-setting-change-default-font):
6881 Use set-frame-font (Bug#9982).
6882
6883 2012-02-01 Glenn Morris <rgm@gnu.org>
6884
6885 * progmodes/compile.el (compilation-internal-error-properties):
6886 Respect compilation-first-column in the "*compilation*" buffer.
6887
6888 * emacs-lisp/easy-mmode.el (define-minor-mode):
6889 Relax :variable's test for a named function.
6890
6891 2012-01-31 Alan Mackenzie <acm@muc.de>
6892
6893 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6894 off by one error.
6895
6896 2012-01-31 Chong Yidong <cyd@gnu.org>
6897
6898 * frame.el (set-frame-font): New arg ALL-FRAMES.
6899
6900 * menu-bar.el (menu-set-font): Use set-frame-font.
6901
6902 * faces.el (face-spec-reset-face): Don't apply unspecified
6903 attribute values to the default face.
6904
6905 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6906
6907 * progmodes/cwarn.el (cwarn): Remove dead link.
6908 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6909 Remove * from defcustom docstrings.
6910 (turn-on-cwarn-mode): Make obsolete.
6911 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6912 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6913
6914 2012-01-31 Glenn Morris <rgm@gnu.org>
6915
6916 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6917 Fix :variable handling of mode a symbol not equal to modefun.
6918 Allow named functions to be used as the cdr of :variable.
6919
6920 2012-01-30 Glenn Morris <rgm@gnu.org>
6921
6922 * emacs-lisp/authors.el (authors-fixed-entries):
6923 Remove reference to deleted file rnewspost.el.
6924
6925 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6926
6927 * window.el (window-with-parameter): Remove unused variable `windows'.
6928 (window--side-check): Remove unused variable `code'.
6929 (window--resize-siblings): Remove unused variable `first'.
6930 (adjust-window-trailing-edge): Remove unused variable `failed'.
6931 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6932 Use `let', not `let*'.
6933 (balance-windows-2): Remove unused variable `found'.
6934 (window--state-put-2): Remove unused variable `splits'.
6935 (window-state-put): Remove unused variable `selected'.
6936 (same-window-p): Use `string-match-p'.
6937 (display-buffer-assq-regexp): Remove unused variable `value'.
6938 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6939 Mark argument ALIST as ignored.
6940 (pop-to-buffer): Remove unused variable `old-window'.
6941
6942 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6943
6944 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6945 and .lzma compressed files.
6946
6947 2012-01-29 Chong Yidong <cyd@gnu.org>
6948
6949 * frame.el (window-system-default-frame-alist): Doc fix.
6950
6951 * dynamic-setting.el (font-setting-change-default-font): Don't
6952 change the default face if SET-FONT argument is non-nil (Bug#9982).
6953
6954 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6955
6956 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6957
6958 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6959
6960 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6961 breakpoints in files outside current directory (Bug#6098).
6962
6963 2012-01-29 Chong Yidong <cyd@gnu.org>
6964
6965 * progmodes/python.el: Require ansi-color at top-level.
6966
6967 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6968 Define and use in Emacs Lisp mode (Bug#9360).
6969 (lisp-mode-abbrev-table): Add doc.
6970 (lisp-mode-variables): Don't set local-abbrev-table.
6971 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6972
6973 2012-01-28 Roland Winkler <winkler@gnu.org>
6974
6975 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6976
6977 2012-01-28 Roland Winkler <winkler@gnu.org>
6978
6979 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6980 (bibtex-set-dialect): Use it. Either set global values of
6981 dialect-dependent variables or bind these variables buffer-locally
6982 (Bug#10254).
6983 (bibtex-mode): Call bibtex-set-dialect via
6984 hack-local-variables-hook.
6985 (bibtex-dialect): Update docstring.
6986 Add safe-local-variable predicate.
6987 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6988 bibtex-set-dialect.
6989 (bibtex-mode-map): Define menu for each dialect.
6990 (bibtex-entry): Fix docstring.
6991
6992 2012-01-28 Chong Yidong <cyd@gnu.org>
6993
6994 * eshell/esh-arg.el (eshell-quote-argument): New function.
6995
6996 * eshell/esh-ext.el (eshell-invoke-batch-file):
6997 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6998 first arg to eshell-parse-command (Bug#10523).
6999
7000 2012-01-28 Drew Adams <drew.adams@oracle.com>
7001
7002 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7003 `default-directory' is non-nil.
7004
7005 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7006
7007 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7008 line that displays system-configuration-options. (Bug#9924)
7009
7010 2012-01-28 Drew Adams <drew.adams@oracle.com>
7011
7012 * descr-text.el (describe-char): Show information about POS, in
7013 addition to information about the character at POS. Improve and
7014 update the doc string. Change "code point" to "code point in
7015 charset", to avoid confusion with the character's Unicode code
7016 point shown above that. (Bug#10129)
7017
7018 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7019
7020 * descr-text.el (describe-char): Show the raw character, not only
7021 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7022 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7023 for the reasons.
7024
7025 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7026
7027 * emacs-lisp/package.el (package-install):
7028 Run package-refresh-contents if there is no archive yet (Bug#9798).
7029
7030 2012-01-28 Chong Yidong <cyd@gnu.org>
7031
7032 * emacs-lisp/package.el (package-maybe-load-descriptor):
7033 New function, split from package-maybe-load-descriptor.
7034 (package-maybe-load-descriptor): Use it.
7035 (package-download-transaction): Fully load required packages
7036 inside the loop, so that `require' calls work (Bug#10593).
7037 (package-install): No need to call package-initialize now.
7038
7039 2012-01-28 Chong Yidong <cyd@gnu.org>
7040
7041 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7042
7043 * tooltip.el (tooltip-mode): Doc fix.
7044 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7045
7046 * frame.el (set-cursor-color): Doc fix (Bug#352).
7047
7048 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7049 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7050
7051 * cus-edit.el (custom-buffer-create-internal): Fix search button
7052 action (Bug#10542).
7053 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7054
7055 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7056
7057 * dired.el (dired-mark-files-regexp):
7058 Include any subdirectory components. (Bug#10445)
7059
7060 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7061
7062 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7063 Handle [host]:port syntax. (Bug#10533)
7064
7065 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7066
7067 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7068
7069 2012-01-26 Glenn Morris <rgm@gnu.org>
7070
7071 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7072 * term.el (term-raw-escape-map): Use Control-X-prefix.
7073 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7074
7075 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7076
7077 * window.el (window-state-get, window--state-get-1): Don't deal
7078 with fixed-sizeness of windows. Simplify code.
7079
7080 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7081
7082 * window.el (window--state-get-1, window--state-put-2):
7083 Don't save and restore the mark.
7084
7085 2012-01-25 Chong Yidong <cyd@gnu.org>
7086
7087 * custom.el (custom-variable-p): Doc fix.
7088
7089 2012-01-25 Glenn Morris <rgm@gnu.org>
7090
7091 * dired.el (dired-goto-file): Handle some of the more common
7092 characters that `ls -b' escapes. (Bug#10596)
7093
7094 * progmodes/compile.el (compilation-next-error-function):
7095 Respect compilation-first-column in the "*compilation*" buffer.
7096 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7097
7098 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7099
7100 2012-01-24 Glenn Morris <rgm@gnu.org>
7101
7102 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7103
7104 2012-01-24 Julien Danjou <julien@danjou.info>
7105
7106 * color.el (color-rgb-to-hsl): Fix value computing.
7107 (color-hue-to-rgb): New function.
7108 (color-hsl-to-rgb): New function.
7109 (color-clamp, color-saturate-hsl, color-saturate-name)
7110 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7111 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7112
7113 2012-01-24 Glenn Morris <rgm@gnu.org>
7114
7115 * vc/vc-rcs.el (vc-rcs-create-tag):
7116 * vc/vc-sccs.el (vc-sccs-create-tag):
7117 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7118
7119 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7120
7121 * eshell/esh-util.el (eshell-read-hosts-file):
7122 Skip comment lines. (Bug#10549)
7123
7124 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7125
7126 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7127
7128 * subr.el (display-delayed-warnings): Doc fix.
7129 (collapse-delayed-warnings): New function to collapse identical
7130 adjacent warnings.
7131 (delayed-warnings-hook): Add it.
7132
7133 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7134
7135 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7136
7137 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7138 (tramp-default-user-alist): Don't add "pscp".
7139 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7140 property "login-as", if set. (Bug#10530)
7141
7142 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7143
7144 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7145 "plink1" and "psftp". (Bug#10530)
7146
7147 2012-01-21 Kenichi Handa <handa@m17n.org>
7148
7149 * international/mule-cmds.el (prefer-coding-system): Show a
7150 warning message if the default value of file-name-coding-system
7151 was not changed.
7152
7153 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7154
7155 * windmove.el (windmove-reference-loc):
7156 Fix windmove-reference-loc miscalculation.
7157
7158 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7159
7160 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7161 default unit.
7162
7163 2012-01-21 Glenn Morris <rgm@gnu.org>
7164
7165 * international/mule.el (auto-coding-alist): Add .tbz.
7166
7167 * files.el (local-enable-local-variables): Doc fix.
7168 (inhibit-local-variables-regexps): Rename from
7169 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7170 Doc fix. Add some extensions from auto-coding-alist.
7171 (inhibit-local-variables-suffixes):
7172 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7173 (inhibit-local-variables-p):
7174 New function, extracted from set-auto-mode-1.
7175 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7176 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7177 (hack-local-variables): Doc fix. Make the mode-only case
7178 respect enable-local-variables and friends.
7179 Respect inhibit-local-variables-regexps for file-locals, but
7180 not for directory-locals.
7181 (set-visited-file-name):
7182 Take account of inhibit-local-variables-regexps.
7183 Whether it applies may change as the file name is changed.
7184 * jka-cmpr-hook.el (jka-compr-install):
7185 * jka-compr.el (jka-compr-uninstall):
7186 Update for inhibit-first-line-modes-suffixes name change.
7187
7188 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7189
7190 * help-macro.el (make-help-screen): Temporarily restore original
7191 binding for minor-mode-map-alist (Bug#10454).
7192
7193 2012-01-19 Julien Danjou <julien@danjou.info>
7194
7195 * color.el (color-name-to-rgb): Use the white color to find the max
7196 color component value and return correctly computed values.
7197 (color-name-to-rgb): Add missing float conversion for max value.
7198
7199 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7200
7201 * window.el (window--state-get-1, window-state-get): Do not use
7202 special state value for window-persistent-parameters.
7203 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7204 (window--state-put-2): Reset all window parameters to nil before
7205 assigning values of persistent parameters.
7206
7207 2012-01-18 Alan Mackenzie <acm@muc.de>
7208
7209 Eliminate sluggishness and hangs in fontification of "semicolon
7210 deserts".
7211
7212 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7213 Change value 10000 -> 3000.
7214 (c-state-safe-place): Reformulate so it doesn't stack up an
7215 infinite number of wrong entries in c-state-nonlit-pos-cache.
7216 (c-determine-limit-get-base, c-determine-limit): New functions to
7217 determine backward search limits disregarding literals.
7218 (c-find-decl-spots): Amend commenting.
7219 (c-cheap-inside-bracelist-p): New function which detects "={".
7220
7221 * progmodes/cc-fonts.el
7222 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7223 backward search.
7224 (c-font-lock-declarations): Fix an occurrence of point being
7225 undefined. Check additionally for point being in a bracelist or
7226 near a macro invocation without a semicolon so as to avoid a
7227 fruitless time consuming search for a declarator. Give a more
7228 precise search limit for declarators using the new
7229 c-determine-limit.
7230
7231 2012-01-18 Glenn Morris <rgm@gnu.org>
7232
7233 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7234 (set-auto-mode): Doc fixes.
7235
7236 2012-01-17 Glenn Morris <rgm@gnu.org>
7237
7238 * isearch.el (search-nonincremental-instead): Fix doc typo.
7239
7240 * dired.el (dired-insert-directory): Handle newlines in directory name.
7241 (dired-build-subdir-alist): Unescape newlines in directory name.
7242
7243 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7244
7245 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7246 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7247 (tramp-action-terminal): Use it. (Bug#10530)
7248
7249 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7252
7253 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7254
7255 * window.el (window-state-ignored-parameters): Remove variable.
7256 (window--state-get-1): Rename argument MARKERS to IGNORE.
7257 Handle persistent window parameters. Make copy of clone-of
7258 parameter only if requested. (Bug#10348)
7259 (window--state-put-2): Install a window parameter only if it has
7260 a non-nil value or an existing parameter shall be overwritten.
7261
7262 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7263
7264 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7265
7266 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7267
7268 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7269 don't pass the (nil) value of `upnode' to string-match.
7270
7271 2012-01-14 Chong Yidong <cyd@gnu.org>
7272
7273 * startup.el (command-line): Fix X resource class for cursorColor.
7274 Fix values recognized by the cursorBlink resource.
7275
7276 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7277
7278 * epg.el (epg--make-temp-file): Avoid permission race condition
7279 when running on old Emacs versions (bug#10403).
7280
7281 2012-01-14 Glenn Morris <rgm@gnu.org>
7282
7283 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7284
7285 2012-01-13 Alan Mackenzie <acm@muc.de>
7286
7287 Fix filling for when filladapt mode is enabled.
7288
7289 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7290 c-mask-paragraph, pass in `fill-paragraph' rather than
7291 `fill-region-as-paragraph'. (This is a reversion of a previous
7292 change.)
7293 * progmodes/cc-mode.el (c-basic-common-init):
7294 Make fill-paragraph-handle-comment buffer local and set it to nil.
7295
7296 2012-01-13 Glenn Morris <rgm@gnu.org>
7297
7298 * dired.el (dired-switches-escape-p): New function.
7299 (dired-insert-directory): Use dired-switches-escape-p.
7300 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7301
7302 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7303
7304 2012-01-12 Glenn Morris <rgm@gnu.org>
7305
7306 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7307 changes in adaptive-fill-regexp. (Bug#10276)
7308
7309 2012-01-11 Alan Mackenzie <acm@muc.de>
7310
7311 Fix Emacs bug #10463 - put `widen's around the critical spots.
7312
7313 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7314 widen around each invocation of c-state-pp-to-literal. Remove an
7315 unused let variable.
7316
7317 2012-01-11 Glenn Morris <rgm@gnu.org>
7318
7319 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7320 Doc fix.
7321
7322 2012-01-10 Chong Yidong <cyd@gnu.org>
7323
7324 * net/network-stream.el (network-stream-open-starttls):
7325 Avoid emitting a confusing error message when the server gives a bad
7326 response to the capability command.
7327
7328 2012-01-10 Glenn Morris <rgm@gnu.org>
7329
7330 * mail/unrmail.el (unrmail): Tweak previous change.
7331
7332 2012-01-09 Chong Yidong <cyd@gnu.org>
7333
7334 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7335
7336 2012-01-08 Alan Mackenzie <acm@muc.de>
7337
7338 Optimise font locking in long enum definitions.
7339
7340 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7341 arm to a cond form to handle enums.
7342 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7343 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7344
7345 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7346
7347 * files.el (move-file-to-trash): Preserve default file modes on error.
7348 (Bug#10401)
7349
7350 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7351
7352 * faces.el (set-face-attribute): Clarify the meaning of the nil
7353 frame (bug#10294).
7354
7355 * subr.el (with-selected-frame): Mention that the selected frame
7356 is restored (bug#9980).
7357
7358 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7359 (bug#9759).
7360
7361 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7362 (password-read): Don't autoload unused function.
7363
7364 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7365
7366 * progmodes/which-func.el (which-func-mode): Turn into a
7367 non-interactive function and mark as obsolete (bug#10428).
7368
7369 2012-01-06 Chong Yidong <cyd@gnu.org>
7370
7371 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7372 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7373 functions, along with 1 and -1.
7374
7375 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7376
7377 * time.el (display-time-load-average)
7378 (display-time-default-load-average): Doc fixes. See the thread
7379 starting at
7380 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7381 for the details.
7382
7383 2012-01-06 Glenn Morris <rgm@gnu.org>
7384
7385 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7386 has no messages. (Bug#10377)
7387
7388 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7389 than Info-edit. (Bug#10385)
7390
7391 * time.el (display-time-load-average, display-time-next-load-average):
7392 Doc fixes.
7393
7394 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7395 local setting of buffer-read-only to the input buffer. (Bug#10419)
7396
7397 * calendar/calendar.el (calendar-mode):
7398 Locally set scroll-margin to 0. (Bug#10379)
7399
7400 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7401
7402 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7403
7404 2012-01-05 Glenn Morris <rgm@gnu.org>
7405
7406 * eshell/em-unix.el (diff-no-select): Autoload it.
7407 (eshell/diff): Use diff-no-select. (Bug#10420)
7408
7409 2012-01-05 Chong Yidong <cyd@gnu.org>
7410
7411 * shell.el (shell-dynamic-complete-functions): Revert last change.
7412 (shell-command-completion-function): New function.
7413 (shell-completion-vars): Use it to implement
7414 shell-completion-execonly (Bug#10417).
7415
7416 * custom.el (enable-theme): Don't set custom-safe-themes.
7417
7418 * cus-theme.el (custom-theme-merge-theme):
7419 Ignore custom-enabled-themes and custom-safe-themes.
7420
7421 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7422
7423 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7424 first prompt in `sql-interacive-mode'.
7425 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7426 keywords.
7427 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7428 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7429 context of original buffer. Invoke `sql-login-hook'.
7430
7431 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7432
7433 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7434 letters in cite-prefix.
7435
7436 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7437
7438 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7439
7440 2012-01-03 Chong Yidong <cyd@gnu.org>
7441
7442 * shell.el (shell-dynamic-complete-functions):
7443 Put pcomplete-completions-at-point, so as to try
7444 comint-filename-completion first (Bug#10417).
7445
7446 2012-01-02 Richard Stallman <rms@gnu.org>
7447
7448 * battery.el (battery-status-function):
7449 Detect when to use battery-yeeloong-sysfs.
7450 (battery-echo-area-format): Add string for Yeeloong.
7451 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7452 (battery-yeeloong-sysfs): New function.
7453
7454 2012-01-02 Chong Yidong <cyd@gnu.org>
7455
7456 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7457 (dirtrack): Merge code for handling relative filenames in prompt
7458 from shell-dir-cookie-watcher.
7459 (dirtrack-debug-message): New arg to avoid excess format calls.
7460
7461 * shell.el (shell-dir-cookie-re): Variable deleted.
7462 (shell-dir-cookie-watcher): Function deleted.
7463 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7464 with dirtrack-mode.
7465
7466 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7467
7468 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7469 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7470 libgnutls-26.dll.
7471
7472 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7473
7474 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7475
7476 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7477
7478 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7479 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7480
7481 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7482
7483 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7484 also for alternative shells.
7485 (tramp-open-connection-setup-interactive-shell): Check, whether
7486 the shell is a busybox.
7487 (tramp-send-command): Don't suppress multiple prompts for
7488 busyboxes, it hurts.
7489
7490 2011-12-28 Chong Yidong <cyd@gnu.org>
7491
7492 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7493 (gdb-get-source-file): Move mode line update to
7494 gdb-get-source-file (Bug#10087).
7495
7496 2011-12-25 Chong Yidong <cyd@gnu.org>
7497
7498 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7499 gud-gdb-marker-filter without taking it as an argument.
7500 (gud-gdb-run-command-fetch-lines): Caller changed.
7501 (gud-gdb-completion-function): New variable.
7502 (gud-gdb-completion-at-point): Use it.
7503 (gud-gdb-completions-1): Split from gud-gdb-completions.
7504
7505 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7506 function as separate arguments.
7507 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7508 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7509 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7510 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7511 (gdb-stopped, def-gdb-auto-update-trigger)
7512 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7513 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7514 Callers changed.
7515 (gud-gdbmi-completions): New function.
7516 (gdb): Use it for generating the completion table.
7517
7518 2011-12-24 Alan Mackenzie <acm@muc.de>
7519
7520 Introduce a mechanism to widen the region used in context font
7521 locking. Use this to protect declarations from losing their contexts.
7522
7523 * progmodes/cc-langs.el (c-before-font-lock-functions):
7524 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7525 (c-before-context-fontification-functions): New defvar, a list of
7526 functions to be run just before context (etc.) font locking.
7527
7528 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7529 New, functionality extracted from
7530 c-neutralize-syntax-in-and-mark-CPP.
7531 (c-in-after-change-fontification): New variable.
7532 (c-after-change): Set c-in-after-change-fontification.
7533 (c-set-fl-decl-start): Rejig its interface, so it can be called
7534 from both after-change and context fontifying.
7535 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7536 New functions.
7537 (c-standard-font-lock-fontify-region-function): New variable.
7538 (c-font-lock-fontify-region): New function.
7539
7540 2011-12-24 Juri Linkov <juri@jurta.org>
7541
7542 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7543 (Bug#10348)
7544
7545 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7546
7547 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7548 existence of source file. (Bug#10325)
7549
7550 2011-12-23 Alan Mackenzie <acm@muc.de>
7551
7552 Fix unstable fontification inside templates.
7553
7554 * progmodes/cc-langs.el (c-before-font-lock-functions):
7555 Newly created from the singular version. The (c c++ objc) entry now
7556 additionally has c-set-fl-decl-start. The other languages (apart
7557 from AWK) have that as a single entry.
7558
7559 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7560 The functionality for "local" declarations has been extracted to
7561 c-set-fl-decl-start.
7562
7563 * progmodes/cc-mode.el (c-common-init, c-after-change):
7564 Changes due to pluralisation of c-before-font-lock-functions.
7565 (c-set-fl-decl-start): New function, extracted from
7566 c-font-lock-enclosing-decls and enhanced.
7567
7568 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7569
7570 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7571
7572 2011-12-22 Juri Linkov <juri@jurta.org>
7573
7574 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7575
7576 2011-12-22 Chong Yidong <cyd@gnu.org>
7577
7578 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7579
7580 2011-12-21 Drew Adams <drew.adams@oracle.com>
7581
7582 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7583
7584 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7585
7586 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7587
7588 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7589
7590 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7591 highlighting and support. Fix up comments for capitalization.
7592 (cfengine-mode-debug): New var.
7593 (cfengine3-mode): Change the modeline indicator to "CFE3".
7594 (cfengine3-font-lock-keywords): Improve defun highlighting.
7595 (cfengine2-actions): Rename from `cfengine-actions'.
7596 (cfengine2-font-lock-keywords): Rename from
7597 `cfengine-font-lock-keywords'.
7598 (cfengine2-imenu-expression): Rename from
7599 `cfengine-imenu-expression'.
7600 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7601 (cfengine2-beginning-of-defun): Rename from
7602 `cfengine-beginning-of-defun'.
7603 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7604 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7605 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7606 modeline indicator to "CFE2".
7607 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7608 (cfengine-mode-abbrevs): Mark obsolete.
7609
7610 2011-12-21 Chong Yidong <cyd@gnu.org>
7611
7612 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7613 filename argument.
7614
7615 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7616
7617 * window.el (window-normalize-buffer-to-display): Remove.
7618 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7619
7620 2011-12-19 Chong Yidong <cyd@gnu.org>
7621
7622 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7623 Don't signal an error in a predicate function; return non-nil.
7624 (vc-dir-mark-file): Move the error here.
7625 (vc-dir-mark-unmark): If acting on the region, keep going if one
7626 of the entries cannot be marked/unmarked.
7627 (vc-dir-mark-all-files): If current entry is a directory, mark
7628 only child files, as documented.
7629
7630 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7631
7632 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7633 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7634 addition.
7635
7636 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7637
7638 * term/ns-win.el (ns-get-selection-internal)
7639 (ns-store-selection-internal): Declare.
7640 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7641 Declare as obsolete.
7642 (ns-get-pasteboard, ns-paste-secondary):
7643 Use ns-get-selection-internal.
7644 (ns-set-pasteboard, ns-copy-including-secondary):
7645 Use ns-store-selection-internal.
7646
7647 2011-12-17 Chong Yidong <cyd@gnu.org>
7648
7649 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7650 (vc-deduce-fileset): Doc fix.
7651
7652 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7653
7654 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7655
7656 2011-12-13 Sam Steingold <sds@gnu.org>
7657
7658 * man.el (Man-getpage-in-background): When running under a
7659 window-system, ignore $MANWIDTH and $COLUMNS.
7660
7661 2011-12-15 Kenichi Handa <handa@m17n.org>
7662
7663 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7664 (setup-ethiopic-environment-internal): Comment out key-binding for
7665 ethio-toggle-punctuation.
7666
7667 2011-12-13 Alan Mackenzie <acm@muc.de>
7668
7669 Add the switch statement to AWK Mode.
7670
7671 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7672 "default" to the keywords regexp.
7673
7674 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7675 expression as the rest.
7676 (c-nonlabel-token-key): Allow string literals for AWK.
7677 Refactor for the other modes.
7678
7679 Large brace-block initialisation makes CC Mode slow: Fix.
7680 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7681 routines. Limit backward searching in c-font-lock-enclosing.decl.
7682
7683 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7684 pp-state and literal type in addition to the limits.
7685 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7686 (c-state-literal-at): Use the above new defun.
7687 (c-slow-in-literal, c-fast-in-literal): Remove.
7688 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7689
7690 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7691 being in a literal. Add a limit for backward searching.
7692
7693 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7694 c-slow-in-literal.
7695
7696 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7699
7700 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7701
7702 * window.el (delete-other-windows): Use correct frame in call to
7703 window-with-parameter.
7704
7705 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7706
7707 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7708 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7709 (makefile-gmake-statements, makefile-makepp-statements):
7710 Use it and add new makepp keywords.
7711 (makefile-makepp-font-lock-keywords): Add new patterns.
7712 (makefile-match-function-end): Match new [...] and [[...]].
7713
7714 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7715
7716 * ses.el (ses-call-printer-return, ses-cell-property-get)
7717 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7718 (ses-create-cell-variable, ses-reset-header-string)
7719 (ses-cell-set-formula, ses-repair-cell-reference-all)
7720 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7721 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7722 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7723 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7724 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7725 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7726 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7727 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7728 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7729 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7730 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7731 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7732
7733 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7734
7735 * ses.el: The overall change is to add cell renaming, that is
7736 setting fancy names for cell symbols other than name matching
7737 "\\`[A-Z]+[0-9]+\\'" regexp .
7738 (ses-create-cell-variable): New defun.
7739 (ses-relocate-formula): Relocate formulas only for cells the
7740 symbols of which are not renamed, i.e. symbols whose names do not
7741 match regexp "\\`[A-Z]+[0-9]+\\'".
7742 (ses-relocate-all): Relocate values only for cells the symbols of
7743 which are not renamed.
7744 (ses-load): Create cells variables as the (ses-cell ...) are read,
7745 in order to check row col consistency with cell symbol name only
7746 for cells that are not renamed.
7747 (ses-replace-name-in-formula): New defun.
7748 (ses-rename-cell): New defun.
7749
7750 2011-12-11 Chong Yidong <cyd@gnu.org>
7751
7752 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7753 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7754
7755 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7756
7757 * window.el (other-window): Fix docstring.
7758
7759 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7760
7761 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7762 `from' or `to' address before taking its substring.
7763 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7764 encoded name is chopped in the middle of the encoded string, and
7765 thus displayed encoded.
7766
7767 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7768
7769 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7770
7771 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7772
7773 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7774 to use texinfo-update-node and commands that call it if the
7775 Texinfo file uses @node lines without next/prev/up pointers.
7776 Correct outdated description about texinfo-master-menu.
7777 (texinfo-all-menus-update, texinfo-master-menu)
7778 (texinfo-update-node, texinfo-every-node-update)
7779 (texinfo-multiple-files-update): Doc fix. Warn against updating
7780 all the @node lines.
7781 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7782 argument is numeric. Explain better in the doc string what the
7783 function really does.
7784 (texinfo-insert-master-menu-list): Improve the error message
7785 displayed if there's no menu in the Top node.
7786 (Bug#2975) See also this thread:
7787 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7788
7789 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7790
7791 * speedbar.el (speedbar-supported-extension-expressions):
7792 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7793
7794 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7795
7796 * printing.el (pr-mode-alist):
7797 * simple.el (filter-buffer-substring-functions)
7798 (completion-list-insert-choice-function):
7799 * window.el (window-with-parameter, window-atom-root)
7800 (window-sides-slots, window-size-fixed, window-min-delta)
7801 (window-max-delta, window--resize-mini-window)
7802 (window--resize-child-windows-normal, window-tree)
7803 (delete-other-windows, quit-window, split-window)
7804 (display-buffer-record-window, special-display-buffer-names)
7805 (special-display-regexps, special-display-popup-frame)
7806 (same-window-p, split-window-sensibly)
7807 (display-buffer-overriding-action, display-buffer-alist)
7808 (display-buffer-base-action, display-buffer, switch-to-buffer)
7809 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7810 (fit-window-to-buffer, recenter-positions)
7811 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7812 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7813 and remove unneeded backslashes in docstrings.
7814
7815 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7816
7817 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7818
7819 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7820 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7821 end in ".mk".
7822 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7823 when reading the makefile (bug#10116).
7824
7825 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7828 (bug#10116).
7829
7830 2011-12-06 Glenn Morris <rgm@gnu.org>
7831
7832 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7833
7834 2011-12-06 Chong Yidong <cyd@gnu.org>
7835
7836 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7837
7838 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7839
7840 * textmodes/table.el (table-shorten-cell): Fix typo.
7841
7842 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7843
7844 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7845
7846 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7847
7848 * descr-text.el (describe-char): Fix display of strong
7849 right-to-left characters and directional embeddings and overrides.
7850
7851 * simple.el (what-cursor-position): Fix display of codepoints of
7852 strong right-to-left characters.
7853
7854 2011-12-05 Chong Yidong <cyd@gnu.org>
7855
7856 * faces.el (read-color): Doc fix.
7857
7858 2011-12-05 Glenn Morris <rgm@gnu.org>
7859
7860 * align.el (align--set-marker): Add doc-string.
7861 Don't try to move something that is not a marker. (Bug#10216)
7862
7863 2011-12-04 Glenn Morris <rgm@gnu.org>
7864
7865 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7866 overly zealous deletion of trailing whitespace.
7867
7868 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7869
7870 * server.el (server-delete-client): On Windows, do not try to delete
7871 the only terminal.
7872 (server-process-filter): On Windows, treat requests for a tty frame as
7873 if they were for a GUI frame if the running server is in GUI mode.
7874
7875 2011-12-03 Glenn Morris <rgm@gnu.org>
7876
7877 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7878
7879 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * electric.el: Streamline electric-indent's hook.
7882 (electric-indent-chars): Revert to simple list.
7883 (electric-indent-functions): New var.
7884 (electric-indent-post-self-insert-function): Use it.
7885
7886 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7887 there's no inferior buffer (bug#10196).
7888 (prolog-consult-compile): Don't use toggle-read-only.
7889
7890 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7891
7892 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7893 interrupt. (Bug#10187)
7894
7895 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7898 (bug#9160).
7899
7900 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7901 (bug#10191).
7902
7903 2011-12-02 Juri Linkov <juri@jurta.org>
7904
7905 * info.el (Info-search): Display "end of manual" when Isearch
7906 reaches the end of single-file Info manual. (Bug#9918)
7907
7908 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7909
7910 * isearch.el (isearch-message-prefix): Run the input method part
7911 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7912
7913 2011-12-02 Juri Linkov <juri@jurta.org>
7914
7915 * isearch.el (isearch-occur): Use `word-search-regexp' for
7916 `isearch-word'.
7917 (isearch-search-and-update): Add condition for `isearch-word' and
7918 call `word-search-regexp'. (Bug#10145)
7919
7920 2011-12-01 Glenn Morris <rgm@gnu.org>
7921
7922 * eshell/em-hist.el (eshell-hist-initialize):
7923 Handle eshell-history-size nil and HISTSIZE set or unset.
7924 (eshell-history-file-name, eshell-history-size): Fix custom type.
7925
7926 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7929
7930 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7931
7932 * progmodes/verilog-mode.el (verilog-pretty-expr):
7933 Rework verilog-pretty-expr to handle new assignment operators in system
7934 verilog, such as += *= and the like.
7935 (verilog-assignment-operator-re): Regular expression to find the
7936 assigment operator in a verilog assignment.
7937 (verilog-assignment-operation-re): Regular expression to find an
7938 assignment statement for pretty-expr.
7939 (verilog-in-attribute-p): Query returns true if point is in an
7940 attribute context; used to skip these for expression line up from
7941 pretty-expr.
7942 (verilog-in-parameter-p): Query returns true if point is in an
7943 parameter definition context; used to skip these for expression
7944 line up from pretty-expr.
7945 (verilog-in-parenthesis-p): Query returns true if point is in a
7946 parenthetical expression, specifically ( ) but not [ ] or { };
7947 used by pretty-expr.
7948 (verilog-just-one-space): If there is no space, don't add one.
7949 (verilog-get-lineup-indent-2): Specifically skip just attribute
7950 contexts for expression lineup, rather than skipping all
7951 parenthetical expressions.
7952 (verilog-calculate-indent): Fix comment, and fix indent.
7953 (verilog-do-indent): Indent declarations in lists (suggested by
7954 Joachim Lechner).
7955 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7956 skeleton items.
7957 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7958 by Alain Mellan).
7959
7960 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7961
7962 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7963 parameters with embedded comments. Reported by Ray Stevens.
7964 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7965 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7966 Reported by Tim Holt.
7967 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7968 instantiated by upper module causing wrong expansion until AUTOed a
7969 second time. Reported by K C Buckenmaier.
7970 (verilog-diff-auto): Fix showing .* as a difference when
7971 `verilog-auto-star-save' off. Reported by Dan Dever.
7972 (verilog-auto-reset, verilog-read-always-signals)
7973 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7974 temporary signals in reset list if
7975 verilog-auto-reset-blocking-in-non is nil, and match assignment
7976 style to each signal's assignment type, bug381.
7977 Reported by Thomas Esposito.
7978 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7979 (verilog-uvm-statement-re): Support UVM indentation and
7980 highlighting, with old OVM keywords only.
7981 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7982 Support AUTOTIEOFF creating non-wire data types.
7983 Suggested by Jonathan Greenlaw.
7984 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7985 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7986 (verilog-inject-sense, verilog-read-inst-pins)
7987 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7988 Fix mismatching parenthesis inside commented out code when deleting
7989 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7990 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7991 non-numeric vector width. Reported by Alex Reed.
7992 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7993 detecting signals with parameter widths. Reported by Alex Reed.
7994 (verilog-auto-delete-trailing-whitespace):
7995 With `verilog-auto-delete-trailing-whitespace' remove trailing
7996 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7997 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7998 Fix verilog-scan-cache corruption when running user AUTO expansion
7999 hooks that call indentation routines.
8000 (verilog-simplify-range-expression): Fix typo ignoring lower case
8001 identifiers.
8002 (verilog-delete-auto): Fix delete-autos to also remove user created
8003 automatics, as long as they start with AUTO.
8004 (verilog-batch-diff-auto, verilog-diff-auto)
8005 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8006 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8007 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8008 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8009 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8010 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8011 is disabled and its cache will get corrupt, causing AUTOS not to
8012 expand. Instead use only -quick functions.
8013 (verilog-scan-region): Fix scanning over escaped quotes.
8014 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8015 (verilog-re-search-backward-quick)
8016 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8017 related functions now ignore strings, to fix misparsing of strings
8018 with magic comments embedded in them.
8019 (verilog-read-auto-template):
8020 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8021 Reported by Brad Dobbie.
8022 (verilog-read-auto-template):
8023 Fix 'verilog-auto-inst-template-numbers' with comments.
8024 Reported by Brad Dobbie.
8025 (verilog-auto-inst, verilog-auto-inst-param)
8026 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8027 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8028 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8029 debugging templates without merge conflicts, bug357.
8030 Reported by Brad Dobbie.
8031 (verilog-read-auto-template):
8032 Fix verilog-auto-inst-template-numbers with multiple templates.
8033 Reported by Brad Dobbie.
8034 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8035 abbrevs so user won't be asked to save.
8036 (verilog-read-auto-lisp-present): Fix to start at beginning of
8037 buffer in case called outside of verilog-auto.
8038 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8039 to "X-2". Reported by Matthew Myers.
8040 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8041 all inputs from module templates. Reported by Leith Johnson.
8042 (verilog-module-inside-filename-p): Fix locating programs as with
8043 modules.
8044 (verilog-auto-inst-port): Fix vl-width expressions when using
8045 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8046 (verilog-decls-get-regs, verilog-decls-get-signals,
8047 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8048 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8049 verilog-read-decls): Combine reg and wire structures into one var
8050 structure to represent SystemVerilog concepts.
8051 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8052 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8053 (verilog-auto-wire-type, verilog-insert-definition):
8054 Add verilog-auto-wire-type and AUTOLOGIC to support using
8055 SystemVerilog "logic" keyword instead of "wire"/"reg".
8056 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8057 to declares outputs that also have assignments (presumably in an
8058 ifdef or generate if so there's not a driver conflict).
8059 Reported by Matthew Myers.
8060 (verilog-auto-declare-nettype, verilog-insert-definition):
8061 Add verilog-auto-declare-nettype to fix declarations using
8062 `default_nettype none. Reported by Julian Gorfajn.
8063 (verilog-read-always-signals-recurse, verilog-read-decls)
8064 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8065 malformed end statement, bug325. Reported by Joshua Wise and
8066 Andrew Drake.
8067 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8068 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8069 when expanding .* in interfaces, bug320.
8070 Reported by Pierre-David Pfister.
8071 (verilog-read-module-name): Fix import statements between module
8072 name and open parenthesis, bug317.
8073 Reported by Pierre-David Pfister.
8074 (verilog-simplify-range-expression): Fix simplification of
8075 multiplications inside AUTOWIRE connections, bug303.
8076 (verilog-auto-inst-port): Support parameter expansion in
8077 multidimensional arrays.
8078 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8079 after "assert property". Reported by Julian Gorfajn.
8080 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8081 with multiplication, bug303.
8082 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8083 Reported by Jan Frode Lonnum.
8084
8085 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8086
8087 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8088 (hfy-shell-file-name, hfy-shell):
8089 * international/fontset.el (x-decompose-font-name): Fix typos.
8090
8091 2011-11-29 Ken Brown <kbrown@cornell.edu>
8092
8093 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8094 (gdb-version): Remove defvar.
8095 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8096 (gdb-gud-context-command, gdb-non-stop-handler)
8097 (gdb-current-context-command, gdb-stopped): Use it.
8098 (gdb-init-1): Enable pretty printing here.
8099 (gdb-non-stop-handler): Don't enable pretty-printing here.
8100 Check to see if the target supports non-stop mode; if not, turn off
8101 non-stop mode. Use the following.
8102 (gdb-check-target-async): New defun.
8103 (gud-watch, gdb-stopped): Fix whitespace.
8104 (gdb-get-source-file): Don't try to display the source file if
8105 `gdb-main-file' is nil.
8106
8107 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * align.el: Try to generate fewer markers (bug#10047).
8110 (align--set-marker): New macro.
8111 (align-region): Use it.
8112
8113 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8114
8115 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8116
8117 2011-11-29 Chong Yidong <cyd@gnu.org>
8118
8119 * indent.el (indent-for-tab-command, indent-according-to-mode):
8120 Doc fix.
8121 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8122
8123 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8124
8125 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8126 aware of remote file names. (Bug#10124)
8127
8128 2011-11-29 Chong Yidong <cyd@gnu.org>
8129
8130 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8131
8132 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * files.el (find-file): Don't use force-same-window (bug#10144).
8135 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8136 use pop-to-buffer if the selected window can't be used.
8137 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8138
8139 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8140
8141 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8142 special-mode-map.
8143
8144 2011-11-28 Chong Yidong <cyd@gnu.org>
8145
8146 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8147
8148 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8149
8150 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8151 gdb-get-source-file-list on gdb-create-source-file-list.
8152
8153 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8154
8155 * whitespace.el (whitespace-newline): Use a different foreground
8156 color for 16-color light-background displays.
8157
8158 2011-11-24 Chong Yidong <cyd@gnu.org>
8159
8160 * window.el (display-buffer--special-action): Doc fix.
8161
8162 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8163
8164 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8165 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8166 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8167 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8168 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8169 (avl-tree-stack-first):
8170 * emacs-lisp/cconv.el (cconv--analyse-use):
8171 * net/gnutls.el (gnutls-negotiate): Fix typos.
8172
8173 2011-11-24 Glenn Morris <rgm@gnu.org>
8174
8175 * lpr.el (lpr-windows-system, lpr-lp-system):
8176 * mail/binhex.el (binhex-begin-line):
8177 * progmodes/grep.el (grep-history, grep-find-history):
8178 * textmodes/flyspell.el:
8179 * vc/pcvs-defs.el (cvs-global-menu):
8180 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8181 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8182 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8183
8184 * net/tls.el: Fix case of "GnuTLS".
8185
8186 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8187
8188 * version.el (emacs-build-system): Give it a doc-string.
8189
8190 2011-11-24 Juri Linkov <juri@jurta.org>
8191
8192 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8193
8194 2011-11-24 Glenn Morris <rgm@gnu.org>
8195
8196 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8197 if called on a non-mime message just toggle the headers. (Bug#8006)
8198
8199 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8202 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8203 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8204 (allout-rebullet-heading, allout-open-sibtopic)
8205 (allout-toggle-current-subtree-encryption)
8206 (allout-toggle-subtree-encryption, allout-encrypt-string)
8207 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8208 (allout-distinctive-bullets-string, allout-auto-activation):
8209 * window.el (window-normalize-buffer-to-display):
8210 * progmodes/verilog-mode.el (verilog-batch-indent):
8211 * textmodes/bibtex.el (bibtex-field-braces-opt)
8212 (bibtex-field-strings-opt):
8213 * vc/cvs-status.el (cvs-tree-merge):
8214 Fix typos.
8215
8216 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8217
8218 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8219 `non-essential' to t, in order to avoid remote connections.
8220
8221 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8222
8223 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8224 On MS-DOS and MS-Windows, compare with loaddefs.el
8225 case-insensitively.
8226
8227 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8228
8229 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8230
8231 2011-11-23 Glenn Morris <rgm@gnu.org>
8232
8233 * paths.el (rmail-file-name): Reformat the doc-string so that it
8234 is picked up.
8235
8236 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8237 (rmail-auto-file): Ignore case in the "special" field names,
8238 as mail-fetch-field does for all others.
8239
8240 * mail/rmail.el (rmail-forward):
8241 * mail/rmailkwd.el (rmail-set-label):
8242 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8243 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8244
8245 * mail/rmail.el (rmail-current-message): Doc fix.
8246
8247 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8248
8249 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8252
8253 2011-11-22 Glenn Morris <rgm@gnu.org>
8254
8255 * mail/rmailmm.el (test-rmail-mime-handler)
8256 (test-rmail-mime-bulk-handler)
8257 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8258
8259 2011-11-21 Juri Linkov <juri@jurta.org>
8260
8261 * calc/calc.el (calc-read-key-sequence):
8262 Let-bind `input-method-function' to nil. (Bug#10018)
8263
8264 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8265
8266 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8267 Tell the caller that the next line needs recomputation, even
8268 though it doesn't start a sexp (bug#10094).
8269
8270 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8273
8274 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8277 Use force-same-window.
8278
8279 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * descr-text.el (describe-char-unicode-data):
8282 * json.el (json-string-escape):
8283 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8284 (Footnote-unicode, Footnote-style-p):
8285 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8286
8287 2011-11-20 Chong Yidong <cyd@gnu.org>
8288
8289 * window.el (replace-buffer-in-windows): Restore interactive spec.
8290
8291 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8294
8295 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8296 (byte-compile-global-not-obsolete-vars): New var.
8297 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8298 Use it.
8299 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8300
8301 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8302
8303 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8304 * progmodes/pascal.el (electric-pascal-equal):
8305 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8306 * xml.el (xml-substitute-special): Fix typos.
8307
8308 2011-11-20 Glenn Morris <rgm@gnu.org>
8309
8310 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8311 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8312 Doc fixes.
8313 (rmail-decode-mime-charset): Mark as obsolete.
8314
8315 * mail/rmailsum.el (rmail-message-regexp-p-1):
8316 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8317 Before using mime functions, check they are set. (Bug#10077)
8318
8319 2011-11-19 Juri Linkov <juri@jurta.org>
8320
8321 * info.el (Info-finder-find-node): Use `package--builtins' instead
8322 of `package-alist'. Use node names formed by the pattern "Keyword "
8323 and the keyword name.
8324
8325 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8326
8327 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8328
8329 2011-11-19 Juri Linkov <juri@jurta.org>
8330
8331 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8332 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8333 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8334 `old-history', `old-history-forward'. Add let-binding
8335 `window-selected'. Remove calls to `kill-buffer',
8336 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8337 before calling `Info-find-node', so `Info-find-node-2' will reread
8338 the Info file. Restore window positions only when `window-selected'
8339 is non-nil.
8340
8341 2011-11-19 Juri Linkov <juri@jurta.org>
8342
8343 * isearch.el (isearch-lazy-highlight-new-loop):
8344 Remove condition `(not isearch-error)'. (Bug#9918)
8345
8346 * misearch.el (multi-isearch-search-fun): Add condition
8347 `(not bound)' to ignore lazy-highlighting search.
8348 Add the search-failed message "end of multi" when the end of
8349 multi-sequence is reached. Uncapitalize the search-failed
8350 message "Repeat for next buffer".
8351
8352 * info.el (Info-search): Add the search-failed message
8353 "end of the manual" when the end of the manual is reached
8354 in Isearch mode.
8355
8356 2011-11-19 Juri Linkov <juri@jurta.org>
8357
8358 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8359 Use non-destructive `remove' instead of `delete' because
8360 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8361 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8362
8363 2011-11-19 Juri Linkov <juri@jurta.org>
8364
8365 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8366 to nil instead of binding `search-ring' and `regexp-search-ring'.
8367 (Bug#9185)
8368
8369 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8370
8371 * simple.el (line-move): Force movement by logical lines for any
8372 hscrolled window, not only when auto-hscroll-mode is on.
8373 (line-move-visual): Update doc string to that effect. (Bug#10076)
8374
8375 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8376
8377 * language/european.el (macintosh): Define as alias for mac-roman.
8378
8379 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8380
8381 * mail/rmailmm.el (rmail-mime-display-header)
8382 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8383 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8384 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8385 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8386 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8387 of a raw aref.
8388 (rmail-mime-entity-segment): To get past the tagline, move forward
8389 2 more lines, to account for the 2 empty lines that precede and
8390 follow the line with the buttons.
8391 (rmail-mime-update-tagline): Move one more line, to get past the
8392 empty line that follows the buttons in the tagline. (Bug#9520)
8393
8394 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8395
8396 * window.el (window-max-delta-1, window-min-delta-1)
8397 (window-min-size-1, window-state-get-1, window-state-put-1)
8398 (window-state-put-2): Use "window--" prefix.
8399
8400 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8403 (smie-warning-count): New var.
8404 (smie-set-prec2tab): Use it.
8405 (smie-bnf->prec2): Improve warnings. Add docstring.
8406 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8407 (smie-bnf--set-class): New function.
8408 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8409 corner case.
8410
8411 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8412 (compilation-error-properties, compilation-move-to-column):
8413 Handle compilation-first-column while in the target buffer.
8414
8415 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8416 Don't hardcode point-min==1.
8417
8418 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8419 (eshell-rewrite-for-command): Remove workaround.
8420 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8421 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8422 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8423
8424 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8425
8426 2011-11-17 Glenn Morris <rgm@gnu.org>
8427
8428 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8429 Ignore buffer-local generated-autoload-file if it is the same
8430 as the global value. (Bug#10049)
8431
8432 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8433
8434 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8435 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8436 (reftex-toc-previous-heading, reftex-toc-max-level)
8437 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8438 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8439 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8440 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8441 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8442 (reftex-toc-rename-label, reftex-toc-visit-location)
8443 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8444 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8445 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8446 leaving "*toc*" only for references to the buffer.
8447
8448 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8449
8450 * window.el (window-resize, delete-window, split-window):
8451 Replace window-splits by window-combination-resize.
8452 * cus-start.el (window-splits): Replace by window-combination-resize.
8453
8454 2011-11-17 Glenn Morris <rgm@gnu.org>
8455
8456 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8457 Make bash entry derive from sh entry, not shell entry.
8458
8459 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8460
8461 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8462 local file name.
8463
8464 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8465
8466 * menu-bar.el (menu-bar-file-menu):
8467 * printing.el (pr-ps-utility):
8468 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8469 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8470 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8471 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8472 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8473 (icalendar--convert-cyclic-to-ical)
8474 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8475 (icalendar--convert-ical-to-diary)
8476 (icalendar--convert-recurring-to-diary)
8477 (icalendar--convert-non-recurring-all-day-to-diary)
8478 (icalendar-import-format-sample):
8479 * progmodes/idlw-shell.el (idlwave-shell-mode):
8480 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8481 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8482 (vhdl-ps-print-init): Fix typos.
8483
8484 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8485
8486 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8487 FSF and collapse date sequence, obscure author/maintainer email address
8488 better, remove extra version line, track relocation of author's webpage.
8489
8490 * progmodes/python.el (python-pdbtrack-input-prompt)
8491 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8492 regular python pdb prompts. Adjustments shamelessly taken exactly as
8493 suggested in EmacsWiki page (tiny change):
8494 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8495
8496 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8497
8498 * expand.el (expand-pos, expand-index, expand-point):
8499 Remove redundant info from docstring.
8500 (expand-add-abbrevs): Doc fix.
8501 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8502 (expand-sample-perl-mode-expand-list): Fix typos.
8503
8504 * net/dbus.el (dbus-event-member-name):
8505 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8506 * term/pc-win.el (msdos-create-frame-with-faces):
8507 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8508
8509 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8510
8511 * window.el (split-window, window-state-get-1)
8512 (window-state-put-1, window-state-put-2): Rename occurrences of
8513 window-nest to window-combination-limit.
8514 * cus-start.el (window-nest): Rename to window-combination-limit.
8515
8516 2011-11-16 Chong Yidong <cyd@gnu.org>
8517
8518 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8519 regexp (Bug#10033).
8520
8521 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8524 `completing-read' will remove *Completions* and will preserve
8525 current-buffer for us.
8526 (tmm-add-prompt): Users of *Completions* will always (re)set its
8527 major mode.
8528 (tmm-old-comp-map): Remove.
8529
8530 2011-11-16 Glenn Morris <rgm@gnu.org>
8531
8532 * mail/rmailedit.el: Require rmailmm when compiling.
8533 (rmail-old-mime-state): New declaration.
8534 (rmail-edit-current-message): If editing a mime message,
8535 edit the "raw" message from the mbox buffer.
8536 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8537
8538 2011-11-15 Glenn Morris <rgm@gnu.org>
8539
8540 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8541 which wasn't being used. Add optional arg to force given state.
8542 (rmail-mime): Add optional arg to force given state.
8543
8544 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8545
8546 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8547 * frame.el (display-mm-dimensions-alist):
8548 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8549 (outline-move-subtree-down):
8550 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8551 (newsticker--treeview-do-get-node):
8552 * net/quickurl.el (quickurl-list-buffer-name):
8553 * progmodes/dcl-mode.el (dcl-mode):
8554 * progmodes/gdb-mi.el (gdb-mapcar*):
8555 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8556
8557 2011-11-15 Glenn Morris <rgm@gnu.org>
8558
8559 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8560 in a boolean sense, so just make it a boolean, and fix the doc.
8561 (rmail-show-mime-function, rmail-mime-feature)
8562 (rmail-require-mime-maybe): Doc fixes.
8563 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8564
8565 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8566
8567 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8568
8569 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8570 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8571 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8572 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8573
8574 2011-11-15 Glenn Morris <rgm@gnu.org>
8575
8576 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8577 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8578 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8579 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8580 (rmail-mime, rmail-show-mime): Doc fixes.
8581
8582 * term/ns-win.el (mode-line-frame-identification):
8583 Leave it alone. (Bug#10051)
8584
8585 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8586
8587 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8588 Handle empty buffers. (Bug#9978)
8589
8590 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8591
8592 * international/mule.el (define-charset):
8593 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8594 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8595 * progmodes/verilog-mode.el (verilog-backward-token):
8596 * textmodes/ispell.el (lookup-words):
8597 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8598
8599 2011-11-14 Glenn Morris <rgm@gnu.org>
8600
8601 * progmodes/executable.el
8602 (executable-make-buffer-file-executable-if-script-p):
8603 Handle file-modes returning nil.
8604
8605 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8606 message - not necessary, and causes problems. (Bug#9831)
8607
8608 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8609
8610 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8611
8612 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8613 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8614 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8615
8616 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8617
8618 * window.el (window-resize, delete-window): Use window-splits
8619 variable instead of function.
8620 (window-state-get-1, window-state-put-2, window-state-put):
8621 Don't deal with windows' splits status.
8622
8623 2011-11-12 Glenn Morris <rgm@gnu.org>
8624
8625 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8626 (apropos-documentation): Doc fixes.
8627
8628 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8629
8630 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8631 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8632
8633 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * electric.el (electric-indent-post-self-insert-function): Make it
8636 possible for a char to only indent in some circumstances.
8637 (electric-indent-mode): Simplify.
8638
8639 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8640
8641 * window.el (windows-with-parameter): Remove unused function.
8642 (windows-at-side): Rename to window-at-side-list.
8643 (window-check, window-atom-check, window-atom-check-1)
8644 (window-side-check, window-size-ignore, window-size-fixed-1)
8645 (window-in-direction-2): Prefix with "window--".
8646 (window-tree-1): Rename to window--subtree, fix doc-string.
8647
8648 2011-11-11 Glenn Morris <rgm@gnu.org>
8649
8650 * subr.el (eval-after-load): If FILE is already loaded,
8651 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8652
8653 2011-11-10 Glenn Morris <rgm@gnu.org>
8654
8655 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8656 Call svn via vc-svn-command rather than vc-do-command.
8657 (vc-svn-command): Add --non-interactive. (Bug#9993)
8658 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8659
8660 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8661 Add toggle-read-only. (Bug#7292)
8662 * files.el (toggle-read-only): Mention that it should only
8663 be used interactively. (Bug#10006)
8664
8665 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8668 Adjust regexp for OCaml warnings.
8669
8670 * electric.el (electric-pair-post-self-insert-function): Let user
8671 turn it off buffer-locally (bug#9932).
8672
8673 * progmodes/python.el (python-beginning-of-statement):
8674 Rewrite (bug#2703).
8675
8676 * progmodes/compile.el: Better handle TABs (bug#9749).
8677 (compilation-internal-error-properties)
8678 (compilation-next-error-function): Obey the target buffer's
8679 compilation-error-screen-columns.
8680
8681 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8682
8683 * progmodes/meta-mode.el: Remove obsolete comments.
8684 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8685 Fix typos in docstrings.
8686
8687 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8688
8689 * window.el (window-size-fixed-p): Rewrite doc-string.
8690 (window-resizable-p): Rename to window--resizable-p. Update callers.
8691 (window--resizable): New function. Make all callers of
8692 window-resizable call window--resizable instead.
8693 (window-resizable): Rewrite in terms of window--resizable.
8694
8695 2011-11-08 Glenn Morris <rgm@gnu.org>
8696
8697 * progmodes/delphi.el (delphi-mode-syntax-table):
8698 Let define-derived-mode define a proper syntax table. (Bug#9994)
8699
8700 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * window.el: Stay away from defsubst.
8703 (window-list-no-nils): Remove.
8704 (window-state-get-1, window-state-get): Use backquote instead.
8705
8706 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8707
8708 * emacs-lisp/find-func.el (find-function-read):
8709 Fix incorrect use of default argument in `completing-read'.
8710
8711 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8712
8713 * window.el (display-buffer-function, special-display-function):
8714 Mention display-buffer-record-window but do not mention
8715 help-setup parameter in doc-strings.
8716 (window-min-delta): Fix doc-string typo.
8717
8718 2011-11-08 Chong Yidong <cyd@gnu.org>
8719
8720 * window.el (window-total-height, window-total-width): Doc fix.
8721 (window-body-size): Move from C.
8722 (window-body-height, window-body-width): Move to C.
8723
8724 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * window.el: Make special-display like display-buffer-alist (bug#9532).
8727 (display-buffer--special-action): New function, morphed
8728 from display-buffer--special.
8729 (display-buffer): Use it to handle special-display-buffers at higher
8730 priority (just after display-buffer-alist).
8731 (display-buffer-fallback-action, display-buffer--other-frame-action)
8732 (pop-to-buffer-same-window): Remove display-buffer--special.
8733
8734 2011-11-07 Glenn Morris <rgm@gnu.org>
8735
8736 * calendar/cal-menu.el (cal-menu-set-date-title):
8737 Do nothing if not in a calendar. (Bug#9976)
8738
8739 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8740
8741 * files.el (find-file): Always use selected-window.
8742
8743 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8744
8745 * window.el (window-combinations): Make WINDOW argument
8746 mandatory. Rewrite doc-string.
8747 (walk-window-subtree, window-atom-check, window-min-delta)
8748 (window-max-delta, window--resize-this-window)
8749 (window--resize-root-window-vertically, window-tree)
8750 (balance-windows, window-state-put): Rewrite doc-strings as to
8751 not mention the term "subwindow".
8752 (window--resize-subwindows-skip-p): Rename to
8753 window--resize-child-windows-skip-p.
8754 (window--resize-subwindows-normal): Rename to
8755 window--resize-child-windows-normal.
8756 (window--resize-subwindows): Rename to
8757 window--resize-child-windows.
8758 (window-or-subwindow-p): Rename to window--in-subtree-p.
8759
8760 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8761
8762 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8763 Ensure that mbox format messages end in two newlines (Bug#9974).
8764
8765 2011-11-06 Chong Yidong <cyd@gnu.org>
8766
8767 * window.el (window-combination-p): Function deleted; its
8768 side-effect is not used in any existing code.
8769 (window-combinations, window-combined-p): Call window-*-child
8770 directly.
8771
8772 2011-11-05 Chong Yidong <cyd@gnu.org>
8773
8774 * window.el (window-valid-p): Rename from window-any-p.
8775 (window-size-ignore, window-state-get): Callers changed.
8776 (window-normalize-window): Rename from window-normalize-any-window.
8777 New arg LIVE-ONLY, replacing window-normalize-live-window.
8778 (window-normalize-live-window): Delete.
8779 (window-combination-p, window-combined-p, window-combinations)
8780 (walk-window-subtree, window-atom-root, window-min-size)
8781 (window-sizable, window-sizable-p, window-size-fixed-p)
8782 (window-min-delta, window-max-delta, window-resizable)
8783 (window-resizable-p, window-full-height-p, window-full-width-p)
8784 (window-current-scroll-bars, window-point-1, set-window-point-1)
8785 (window-at-side-p, window-in-direction, window-resize)
8786 (adjust-window-trailing-edge, maximize-window, minimize-window)
8787 (window-deletable-p, delete-window, delete-other-windows)
8788 (record-window-buffer, unrecord-window-buffer)
8789 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8790 (quit-window, split-window, window-state-put)
8791 (set-window-text-height, fit-window-to-buffer)
8792 (shrink-window-if-larger-than-buffer): Callers changed.
8793
8794 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8795
8796 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8797 rfc2047-decode-string.
8798 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8799 warnings.
8800
8801 * window.el (window-body-height, window-body-width): Mention in
8802 the doc string that the return values are in frame's canonical
8803 units. (Bug#9949)
8804
8805 2011-11-03 Alan Mackenzie <acm@muc.de>
8806
8807 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8808 change in cc-engine.el.
8809
8810 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8813
8814 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8815
8816 * window.el (quit-window): Call unrecord-window-buffer after
8817 showing another buffer in the window. (Bug#9937)
8818 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8819
8820 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8821
8822 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8823 Accept status with more than 9 shelves. (Bug#9935)
8824 Reported by Colin D Bennett <colin@gibibit.com>.
8825
8826 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8827
8828 * help.el (with-help-window): Don't reference
8829 temp-buffer-show-specifiers in doc-string.
8830
8831 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8832
8833 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8834 menu-item.
8835
8836 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8837
8838 * whitespace.el: New version 13.2.2.
8839 (whitespace-newline-mode): Disable properly. Reported by Sarah
8840 <EmacsWiki>.
8841
8842 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8843
8844 * net/newst-treeview.el: Remove "Time-stamp".
8845 (newsticker--group-manage-orphan-feeds): Do not call
8846 newsticker--treeview-tree-update.
8847 (newsticker-treeview-update, newsticker-treeview):
8848 Call newsticker--treeview-tree-update if necessary.
8849
8850 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8851
8852 * window.el (window-iso-combination-p, window-iso-combined-p)
8853 (window-iso-combinations): Remove "iso-" infix.
8854 Suggested by Chong Yidong.
8855 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8856 (window-max-delta-1, window-resize, window--resize-siblings)
8857 (window--resize-this-window, adjust-window-trailing-edge)
8858 (split-window, balance-windows-1)
8859 (shrink-window-if-larger-than-buffer):
8860 * calendar/calendar.el (calendar-generate-window):
8861 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8862
8863 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8864
8865 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8866 in place (bug#9907).
8867 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8868 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8869 (eshell-structure-basic-command, eshell-rewrite-while-command)
8870 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8871 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8872 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8873 (eshell-do-pipelines-synchronously, eshell-eval-command):
8874 Use backquotes and prefer setq to set.
8875 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8876 (eshell-macrop): Use functionp.
8877 (eshell-do-eval): Handle multiple expressions in `while' body.
8878
8879 2011-10-30 Chong Yidong <cyd@gnu.org>
8880
8881 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8882 instead of set-mark (Bug#9810).
8883
8884 2011-10-30 Chong Yidong <cyd@gnu.org>
8885
8886 * window.el (split-window-below, split-window-right): Rename from
8887 split-window-above-each-other and split-window-side-by-side
8888 respectively. All callers changed.
8889 (split-window-sensibly, split-window-sensibly): Use them.
8890 (split-window-keep-point): Doc fix.
8891
8892 * isearch.el: Add isearch-scroll property to split-window-below
8893 and split-window-right.
8894
8895 * follow.el (follow-mode):
8896 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8897 * progmodes/ada-xref.el (ada-gdb-application):
8898 * emulation/vip.el (vip-buffer-in-two-windows):
8899 * image-dired.el (image-dired-dired-with-window-configuration):
8900 * dired-x.el (dired-do-find-marked-files):
8901 * dired.el (dired-pop-to-buffer):
8902 * bs.el (bs--show-with-configuration):
8903 * vc/emerge.el (emerge-setup-windows):
8904 * textmodes/two-column.el (2C-two-columns):
8905 * textmodes/reftex-toc.el (reftex-toc):
8906 * progmodes/gdb-mi.el (gdb-setup-windows):
8907 * progmodes/fortran.el (fortran-window-create):
8908 * net/newst-treeview.el (newsticker--treeview-window-init):
8909 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8910 * emulation/tpu-edt.el (tpu-gold-map):
8911 * emulation/crisp.el (crisp-mode-map):
8912 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8913
8914 2011-10-29 Chong Yidong <cyd@gnu.org>
8915
8916 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8917
8918 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8919
8920 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8921 forged Ispell output (Bug#7904).
8922
8923 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8924
8925 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8926
8927 * doc-view.el: Avoid ugly errors about not finding nil.
8928 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8929 (doc-view-dvipdf-program, doc-view-unoconv-program)
8930 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8931 Avoid nil or absolute file name as default value.
8932 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8933
8934 2011-10-28 Alan Mackenzie <acm@muc.de>
8935
8936 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8937
8938 2011-10-28 Alan Mackenzie <acm@muc.de>
8939
8940 Amend the handling of c-beginning/end-of-defun in nested declaration
8941 scopes.
8942
8943 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8944 cc-langs.el. Change it to a defcustom.
8945
8946 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8947 cc-vars.el.
8948
8949 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8950 Prevent "class foo : bar" being spuriously recognized as a label.
8951
8952 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8953 Add parameter `inclusive' (to include enclosing braces in the region).
8954 (c-widen-to-enclosing-decl-scope): New function.
8955 (c-while-widening-to-decl-block): New macro.
8956 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8957 outward for defun boundaries, and correspondingly change symbol
8958 `respect-enclosure' to `go-outward'.
8959 (c-declaration-limits): Change algorithm to report only the "innermost"
8960 defun's boundaries.
8961
8962 2011-10-28 Deniz Dogan <deniz@dogan.se>
8963
8964 * net/rcirc.el (rcirc-mode): Use hard newlines.
8965
8966 2011-10-28 Alan Mackenzie <acm@muc.de>
8967
8968 Amend to indent and fontify macros "which include their own semicolon"
8969 correctly, using the "virtual semicolon" mechanism.
8970
8971 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8972
8973 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8974 Recode to scan one line at a time rather than having \n and \r
8975 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8976 (c-forward-label): Amend for virtual semicolons.
8977 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8978
8979 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8980 of the new C macros.
8981
8982 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8983 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8984 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8985 (c-opt-cpp-macro-define): Make into a full language variable.
8986 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8987 AWK Mode (including \n, \r) removed, no longer needed.
8988
8989 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8990 Invoke c-make-macro-with-semi-re.
8991
8992 * progmodes/cc-vars.el (c-macro-with-semi-re):
8993 (c-macro-names-with-semicolon): New variables.
8994 (c-make-macro-with-semi-re): New function.
8995
8996 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * vc/log-edit.el: Fill empty field rather than adding new one.
8999 (log-edit-add-field): New function.
9000 (log-edit-insert-changelog): Use it.
9001
9002 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9003
9004 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9005
9006 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9009 (gdb--check-interpreter): New function.
9010 (gdb): Use it.
9011
9012 2011-10-27 Glenn Morris <rgm@gnu.org>
9013
9014 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9015 (least-positive-float, least-negative-float)
9016 (least-positive-normalized-float, least-negative-normalized-float)
9017 (float-epsilon, float-negative-epsilon):
9018 Remove unnecessary declarations.
9019
9020 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9021 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9022 (least-positive-float, least-negative-float)
9023 (least-positive-normalized-float, least-negative-normalized-float)
9024 (float-epsilon, float-negative-epsilon): Add doc-strings,
9025 based on those in cl.texi.
9026
9027 * files.el (set-visited-file-name): If the major-mode changed,
9028 reload the local variables. (Bug#9796)
9029
9030 2011-10-27 Chong Yidong <cyd@gnu.org>
9031
9032 * subr.el (change-major-mode-after-body-hook): New hook.
9033 (run-mode-hooks): Run it.
9034
9035 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9036 Use change-major-mode-before-body-hook.
9037
9038 * simple.el (fundamental-mode):
9039 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9040 change introducing fundamental-mode-hook.
9041
9042 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9043
9044 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9045
9046 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9047
9048 * ido.el (ido-file-name-all-completions-1): Do not require
9049 tramp.el explicitly. (Bug#7583)
9050
9051 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * progmodes/octave-mod.el:
9054 * progmodes/octave-inf.el: Update maintainer.
9055
9056 2011-10-26 Chong Yidong <cyd@gnu.org>
9057
9058 * subr.el (with-wrapper-hook): Rewrite doc.
9059
9060 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9061
9062 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9063 filenames "/method:foo:". (Bug#9793)
9064
9065 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9068 (bug#9865).
9069
9070 2011-10-24 Glenn Morris <rgm@gnu.org>
9071
9072 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9073
9074 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9075
9076 * notifications.el: Add the requirement of a running D-Bus session
9077 bus to the Commentary.
9078
9079 2011-10-24 Juri Linkov <juri@jurta.org>
9080
9081 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9082 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9083 (Bug#9364)
9084
9085 2011-10-24 Juri Linkov <juri@jurta.org>
9086
9087 * info.el (Info-following-node-name-re): Add newline to the list
9088 of allowed characters for leading space. (Bug#9824)
9089
9090 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * progmodes/octave-inf.el (inferior-octave-mode-map):
9093 Fix C-c C-h binding.
9094 * progmodes/octave-mod.el (octave-help): Remove.
9095
9096 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9097
9098 Sync with Tramp 2.2.3.
9099
9100 * net/tramp-cache.el (top): Pacify byte-compiler using
9101 `init-file-user' and `site-run-file'.
9102
9103 * net/trampver.el: Update release number.
9104
9105 2011-10-23 Chong Yidong <cyd@gnu.org>
9106
9107 * files.el (toggle-read-only): Remove obsolete comment about
9108 version control.
9109
9110 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9111 for toggle-read-only. Note that this hasn't called vc-next-action
9112 since 2008-05-02, though it wasn't documented at the time.
9113
9114 * vc/ediff-init.el (ediff-toggle-read-only-function):
9115 Use toggle-read-only.
9116
9117 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9118
9119 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9120 of c-parse-state.
9121
9122 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9123 correct faulty logical expression.
9124 (c-parse-state-state, c-record-parse-state-state):
9125 (c-replay-parse-state-state): New defvar/defuns.
9126 (c-debug-parse-state): Use new functions.
9127
9128 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9129
9130 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9131 last fix. Use window-in-direction correctly.
9132
9133 2011-10-21 Chong Yidong <cyd@gnu.org>
9134
9135 * progmodes/idlwave.el (idlwave-mode):
9136 * progmodes/vera-mode.el (vera-mode): No need to set
9137 require-final-newline; that's done in prog-mode.
9138 Suggested by Stefan Monnier.
9139
9140 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9141
9142 * mouse.el (mouse-drag-window-above)
9143 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9144 (mouse-drag-mode-line-1, mouse-drag-header-line)
9145 (mouse-drag-vertical-line-rightward-window): Remove.
9146 (mouse-drag-line): New function.
9147 (mouse-drag-mode-line, mouse-drag-header-line)
9148 (mouse-drag-vertical-line): Call mouse-drag-line.
9149 * window.el (window-at-side-p, windows-at-side): New functions.
9150
9151 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9152
9153 * tar-mode.el (tar-grind-file-mode):
9154 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9155
9156 2011-10-21 Chong Yidong <cyd@gnu.org>
9157
9158 * progmodes/idlwave.el (idlwave-mode):
9159 * progmodes/vera-mode.el (vera-mode):
9160 Use mode-require-final-newline.
9161
9162 2011-10-20 Glenn Morris <rgm@gnu.org>
9163
9164 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9165
9166 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9167
9168 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9169
9170 2011-10-20 Chong Yidong <cyd@gnu.org>
9171
9172 * emulation/cua-base.el (cua-mode):
9173 * mail/footnote.el (footnote-mode):
9174 * mail/mailabbrev.el (mail-abbrevs-mode):
9175 * net/xesam.el (xesam-minor-mode):
9176 * progmodes/bug-reference.el (bug-reference-mode):
9177 * progmodes/cap-words.el (capitalized-words-mode):
9178 * progmodes/compile.el (compilation-minor-mode)
9179 (compilation-shell-minor-mode):
9180 * progmodes/gud.el (gud-tooltip-mode):
9181 * progmodes/hideif.el (hide-ifdef-mode):
9182 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9183 * progmodes/subword.el (subword-mode):
9184 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9185 * progmodes/which-func.el (which-function-mode):
9186 * term/tvi970.el (tvi970-set-keypad-mode):
9187 * term/vt100.el (vt100-wide-mode):
9188 * textmodes/flyspell.el (flyspell-mode):
9189 * textmodes/ispell.el (ispell-minor-mode):
9190 * textmodes/nroff-mode.el (nroff-electric-mode):
9191 * textmodes/paragraphs.el (use-hard-newlines):
9192 * textmodes/refill.el (refill-mode):
9193 * textmodes/reftex.el (reftex-mode):
9194 * textmodes/rst.el (rst-minor-mode):
9195 * textmodes/sgml-mode.el (html-autoview-mode)
9196 (sgml-electric-tag-pair-mode):
9197 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9198 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9199 * emulation/crisp.el (crisp-mode):
9200 * emacs-lisp/eldoc.el (eldoc-mode):
9201 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9202 minor mode behavior.
9203
9204 2011-10-19 Juri Linkov <juri@jurta.org>
9205
9206 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9207 the list of hard-coded chars with escape-glyph face.
9208
9209 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9210
9211 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9212
9213 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9214
9215 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9216 running process.
9217
9218 2011-10-19 Glenn Morris <rgm@gnu.org>
9219
9220 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9221 Ignore ignored files. (Bug#9726)
9222
9223 2011-10-19 Chong Yidong <cyd@gnu.org>
9224
9225 Doc fix for minor modes, stating that an omitted argument enables
9226 the mode unconditionally when called from Lisp.
9227
9228 * abbrev.el (abbrev-mode):
9229 * allout.el (allout-mode):
9230 * autoinsert.el (auto-insert-mode):
9231 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9232 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9233 (global-auto-revert-mode):
9234 * battery.el (display-battery-mode):
9235 * composite.el (global-auto-composition-mode)
9236 (auto-composition-mode):
9237 * delsel.el (delete-selection-mode):
9238 * desktop.el (desktop-save-mode):
9239 * dired-x.el (dired-omit-mode):
9240 * dirtrack.el (dirtrack-mode):
9241 * doc-view.el (doc-view-minor-mode):
9242 * double.el (double-mode):
9243 * electric.el (electric-indent-mode, electric-pair-mode):
9244 * emacs-lock.el (emacs-lock-mode):
9245 * epa-hook.el (auto-encryption-mode):
9246 * follow.el (follow-mode):
9247 * font-core.el (font-lock-mode):
9248 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9249 * help.el (temp-buffer-resize-mode):
9250 * hilit-chg.el (highlight-changes-mode)
9251 (highlight-changes-visible-mode):
9252 * hi-lock.el (hi-lock-mode):
9253 * hl-line.el (hl-line-mode, global-hl-line-mode):
9254 * icomplete.el (icomplete-mode):
9255 * ido.el (ido-everywhere):
9256 * image-file.el (auto-image-file-mode):
9257 * image-mode.el (image-minor-mode):
9258 * iswitchb.el (iswitchb-mode):
9259 * jka-cmpr-hook.el (auto-compression-mode):
9260 * linum.el (linum-mode):
9261 * longlines.el (longlines-mode):
9262 * master.el (master-mode):
9263 * mb-depth.el (minibuffer-depth-indicate-mode):
9264 * menu-bar.el (menu-bar-mode):
9265 * minibuf-eldef.el (minibuffer-electric-default-mode):
9266 * mouse-sel.el (mouse-sel-mode):
9267 * msb.el (msb-mode):
9268 * mwheel.el (mouse-wheel-mode):
9269 * outline.el (outline-minor-mode):
9270 * paren.el (show-paren-mode):
9271 * recentf.el (recentf-mode):
9272 * reveal.el (reveal-mode, global-reveal-mode):
9273 * rfn-eshadow.el (file-name-shadow-mode):
9274 * ruler-mode.el (ruler-mode):
9275 * savehist.el (savehist-mode):
9276 * scroll-all.el (scroll-all-mode):
9277 * scroll-bar.el (scroll-bar-mode):
9278 * server.el (server-mode):
9279 * shell.el (shell-dirtrack-mode):
9280 * simple.el (auto-fill-mode, transient-mark-mode)
9281 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9282 (line-number-mode, column-number-mode, size-indication-mode)
9283 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9284 * strokes.el (strokes-mode):
9285 * time.el (display-time-mode):
9286 * t-mouse.el (gpm-mouse-mode):
9287 * tool-bar.el (tool-bar-mode):
9288 * tooltip.el (tooltip-mode):
9289 * type-break.el (type-break-mode-line-message-mode)
9290 (type-break-query-mode):
9291 * view.el (view-mode):
9292 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9293 (global-whitespace-mode, global-whitespace-newline-mode):
9294 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9295
9296 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9297 Fix autogenerated docstring.
9298
9299 2011-10-19 Juri Linkov <juri@jurta.org>
9300
9301 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9302 by checking environment variables "DESKTOP_SESSION" and
9303 "XDG_CURRENT_DESKTOP". (Bug#9779)
9304
9305 2011-10-19 Juri Linkov <juri@jurta.org>
9306
9307 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9308 (browse-url-chromium-program, browse-url-chromium-arguments):
9309 New defcustoms.
9310 (browse-url-default-browser): Check for `browse-url-chromium' and
9311 call `browse-url-chromium-program'.
9312 (browse-url-chromium): New command. (Bug#9779)
9313
9314 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * facemenu.el (list-colors-duplicates): On Windows, detect more
9317 duplicates by assuming that only colors matching "^System" are
9318 special "system colors". (Bug#9722)
9319
9320 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9323 to distinguish the author from the committer.
9324
9325 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9326
9327 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9328
9329 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9330
9331 * international/mule.el (sgml-html-meta-auto-coding-function):
9332 Add support for detecting encoding in HTML5 specified only as
9333 <meta charset="UTF-8">. Implementation just makes http-equiv and
9334 content-type parts from HTML4 encoding string optional. (Bug#9716)
9335
9336 2011-10-18 Glenn Morris <rgm@gnu.org>
9337
9338 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9339
9340 2011-10-18 Chong Yidong <cyd@gnu.org>
9341
9342 * faces.el (cursor): Doc fix.
9343
9344 2011-10-17 Chong Yidong <cyd@gnu.org>
9345
9346 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9347
9348 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9349
9350 * dirtrack.el (dirtrack): Support shell buffers with path
9351 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9352
9353 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9354
9355 * json.el: Bump version to 1.3 and note change in History.
9356 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9357
9358 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * comint.el (comint-insert-input, comint-send-input)
9361 (comint-get-old-input-default, comint-backward-matching-input)
9362 (comint-next-prompt): Use nil instead of `input' for field property of
9363 past user input (bug#114).
9364
9365 * minibuffer.el (completion--replace): Inherit surrounding properties
9366 (bug#114).
9367 (minibuffer-complete-and-exit): Use it.
9368
9369 * comint.el (comint--table-subvert): Quote the all-completions output
9370 (bug#9160).
9371
9372 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9373
9374 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9375
9376 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9377 window on right of selected. (Bug#9350) Reword other window
9378 entries and separate them from frame entries.
9379
9380 2011-10-15 Glenn Morris <rgm@gnu.org>
9381
9382 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9383 Doc fixes.
9384
9385 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9386
9387 * net/network-stream.el (network-stream-open-starttls):
9388 Improve detection of failure due to lack of TLS support.
9389
9390 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9391 putting the input text in front and in bold.
9392
9393 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9396
9397 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9398 empty buffer.
9399
9400 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9401 unread-command-events rather than pushing yet-another event.
9402
9403 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9404
9405 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9406 the explanation of the possible choices. Make the options passed
9407 to completing-read shorter.
9408
9409 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9410
9411 * textmodes/flyspell.el (flyspell-large-region): Make sure
9412 extended character mode is used if defined (Bug#1339).
9413
9414 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9415
9416 * simple.el (what-cursor-position): Fix the display of the
9417 character info for LRE, LRO, RLE, and RLO characters by appending
9418 an invisible PDF.
9419
9420 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9423 even in case of error; add debug spec; simplify data flow.
9424 (with-timeout-handler): Remove.
9425
9426 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9427
9428 Fix Bug#6019, Bug#9315.
9429
9430 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9431 complete `buffer-file-name', the local file name part could look
9432 remotely (for example on VMS).
9433
9434 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9435 `tramp-run-real-handler'.
9436 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9437 already quoted by '"'.
9438
9439 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9440 Let `file-name-handler-alist' be nil, the local file name part
9441 could look remotely (for example on VMS).
9442
9443 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9446 from here...
9447 (flyspell-post-command-hook): ...to here.
9448
9449 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9450
9451 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9452 if not needed.
9453 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9454 using completion. Protect against "slow" callers.
9455 Remove the "message hack".
9456
9457 2011-10-11 Juri Linkov <juri@jurta.org>
9458
9459 * isearch.el (isearch-lazy-highlight-word): New variable.
9460 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9461 Use it. (Bug#9727)
9462
9463 2011-10-11 Glenn Morris <rgm@gnu.org>
9464
9465 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9466 like f90-previous-statement does.
9467
9468 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9469
9470 * eshell/eshell.el (eshell-command): History should be saved
9471 only in interactive use, to avoid error.
9472
9473 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9475 * minibuffer.el (completion-file-name-table): Fix last change,
9476 i.e. ignore normal errors but not the other ones.
9477
9478 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9479
9480 * window.el (special-display-buffer-names)
9481 (special-display-regexps): Remove some remnants of earlier
9482 changes from doc-strings.
9483 (quit-windows-on): New function.
9484
9485 * vc/vc.el (vc-revert, vc-rollback):
9486 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9487 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9488 (Bug#6183) (Bug#7074) (Bug#7447)
9489
9490 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9491
9492 * window.el (frame-auto-hide-function): Add version tag.
9493 (Bug#9699)
9494
9495 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9496
9497 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9498 condition.
9499
9500 2011-10-09 Leo Liu <sdl.web@gmail.com>
9501
9502 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9503 (Bug#9701)
9504
9505 2011-10-08 Glenn Morris <rgm@gnu.org>
9506
9507 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9508 before the first code statement zero indent. (Bug#9690)
9509
9510 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9511
9512 * simple.el (count-words-region): Always count in the region.
9513 Report the number of lines and characters too.
9514 (count-words): New command, which counts in the buffer if the
9515 region is inactive, as count-words-region used to.
9516 (count-words--message): New function. Handle plurals.
9517 (count-lines-region): Make it an alias for count-words-region.
9518
9519 * bindings.el (esc-map): Replace count-lines-region with
9520 count-words-region.
9521
9522 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9523
9524 * window.el (window--delete): Delete dedicated frame
9525 unconditionally when argument KILL is non-nil. (Bug#9699)
9526 (switch-to-buffer): Fix doc-string typo.
9527
9528 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9529
9530 * eshell/eshell.el (eshell-command): Avoid using hooks.
9531
9532 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9533
9534 * bindings.el ([M-left],[M-right]): Bind to left-word and
9535 right-word respectively.
9536
9537 2011-10-07 Glenn Morris <rgm@gnu.org>
9538
9539 * cus-start.el (debug-on-quit): Fix custom type.
9540
9541 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9542
9543 * subr.el (define-key-after): Clarify that the function is not
9544 useful for non-menu keymaps.
9545
9546 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9547
9548 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9549
9550 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9551 in current minibuffer (Fix bug with recursive minibuffers).
9552
9553 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9554
9555 * progmodes/gdb-mi.el (gdb): Doc fix.
9556
9557 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9558
9559 * window.el (frame-auto-hide-function): New option replacing
9560 frame-auto-delete. Suggested by Stefan Monnier.
9561 (window--delete): Call frame-auto-hide-function instead of
9562 investigating frame-auto-delete.
9563 (window-point-1, set-window-point-1): New functions.
9564 (window-in-direction, record-window-buffer, window-state-get-1)
9565 (display-buffer-record-window): Use window-point-1 instead of
9566 window-point.
9567 (set-window-buffer-start-and-point): Use set-window-point-1.
9568
9569 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9572
9573 2011-10-05 Glenn Morris <rgm@gnu.org>
9574
9575 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9576 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9577
9578 2011-10-05 Leo Liu <sdl.web@gmail.com>
9579
9580 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9581 works with buffer object.
9582
9583 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9585 * mpc.el (mpc-tool-bar-map): Add labels.
9586
9587 2011-10-04 Glenn Morris <rgm@gnu.org>
9588
9589 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9590
9591 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9592
9593 * window.el (window--delete): New function.
9594 (frame-auto-delete): Resuscitate option.
9595 (bury-buffer, replace-buffer-in-windows)
9596 (quit-window): Rewrite using window--delete.
9597 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9598 Pass display-buffer-mark-dedicated to window--display-buffer-2
9599 (Bug#9639).
9600
9601 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9604 returns a list (bug#9554). Add remote file name completion.
9605 * comint.el (comint--table-subvert): Curry and get quote&unquote
9606 functions as arguments.
9607 (comint--complete-file-name-data): Adjust call accordingly.
9608 * pcomplete.el (pcomplete--table-subvert): Remove.
9609 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9610
9611 * minibuffer.el (completion-table-case-fold): Use currying.
9612 (completion--styles-type, completion--cycling-threshold-type):
9613 New constants.
9614 (completion-styles, completion-category-overrides)
9615 (completion-cycle-threshold): Use them.
9616 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9617 completion-table-case-fold.
9618
9619 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9620
9621 * minibuffer.el (completion-category-overrides): Fix type of styles
9622 and add more user friendly tags (bug#9660).
9623
9624 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9627 (mule-input-method-string): New widget.
9628 (default-input-method, language-info-custom-alist): Use it.
9629
9630 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * pcomplete.el: Require comint.
9633 (pcomplete--common-suffix): Remove.
9634 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9635 (pcomplete--table-subvert): Sync with comint--table-subvert.
9636 (pcomplete--entries): Use comint-completion-file-name-table.
9637 * comint.el (comint-unquote-filename): Simplify.
9638 (comint-completion-file-name-table): New function (bug#9616).
9639 (comint--complete-file-name-data): Use it.
9640
9641 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9642 (pcmpl-gnu-tar-buffer): Remove.
9643 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9644 around. Make sure pcomplete-suffix-list is only changed temporarily.
9645 Don't look inside the tar's file if it's too large.
9646
9647 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9648
9649 * cus-edit.el (custom-mode-map):
9650 * epa.el (epa-key-list-mode-map):
9651 * man.el (Man-mode-map):
9652 * startup.el (splash-screen-keymap):
9653 * simple.el (special-mode-map): Use scroll-up-command and
9654 scroll-down-command.
9655
9656 * progmodes/idlw-help.el (idlwave-help-mode-map):
9657 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9658 * net/newst-plainview.el (newsticker-mode-map):
9659 * emulation/ws-mode.el (wordstar-mode-map):
9660 * emulation/vi.el (vi-com-map):
9661 * calc/calc-graph.el (calc-graph-show-dumb):
9662 * term/sun.el (terminal-init-sun):
9663 * term/ns-win.el (global-map):
9664 * progmodes/grep.el (grep-mode-map):
9665 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9666 * mail/rmail.el (rmail-mode-map):
9667 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9668
9669 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9670 custom-safe-themes as special.
9671
9672 2011-10-01 Julien Danjou <julien@danjou.info>
9673
9674 * notifications.el (notifications-notify): Fix docstring.
9675
9676 2011-10-01 Per Starbäck <per@starback.se>
9677
9678 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9679
9680 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9681
9682 * startup.el (command-line-1): Fix last fix by inserting
9683 initial-scratch-message into *scratch* before displaying it.
9684 (Bug#9605) and (Bug#9636)
9685
9686 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9687
9688 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9689 window is hscrolled, move by logical lines. (Bug#9607)
9690 (line-move-visual): Update the doc string to the above effect.
9691
9692 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9693
9694 * window.el (display-buffer-record-window): When WINDOW is the
9695 selected window use `point' instead of `window-point'. (Bug#9626)
9696
9697 * startup.el (command-line-1): Use insert-before-markers when
9698 inserting initial-scratch-message. (Bug#9605)
9699
9700 * help.el (help-window): Remove variable.
9701
9702 2011-09-29 Glenn Morris <rgm@gnu.org>
9703
9704 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9705
9706 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9707
9708 * descr-text.el (describe-char-categories): Accept category
9709 descriptions more than one line long.
9710
9711 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * simple.el (delete-trailing-whitespace): Fix last change.
9714
9715 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9716 Don't confuse "y => 3" as the beginning of a `y' operation.
9717
9718 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9719 object has more than 4 slots (bug#9613).
9720
9721 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9722
9723 * subr.el (with-output-to-temp-buffer):
9724 * net/quickurl.el (quickurl, quickurl-browse-url):
9725 Fix typos in docstrings.
9726
9727 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9728
9729 * minibuffer.el (completion-styles)
9730 (completion-category-overrides): Cross reference each other in doc
9731 strings.
9732
9733 2011-09-27 Glenn Morris <rgm@gnu.org>
9734
9735 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9736 to split-string. (Bug#9606)
9737
9738 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9739
9740 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9741 (bug#9615).
9742
9743 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9744
9745 * emacs-lisp/package.el (list-packages): Fix echo area message.
9746
9747 2011-09-27 Leo Liu <sdl.web@gmail.com>
9748
9749 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9750
9751 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9752
9753 * net/dbus.el (dbus-unregister-object): Don't release services for
9754 registered signals. (Bug#9581)
9755
9756 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9757
9758 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9759 function that picks between cfengine 2 and 3 support
9760 automatically. Update docs accordingly.
9761
9762 2011-09-22 Kenichi Handa <handa@m17n.org>
9763
9764 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9765 ZERO.
9766 (indian-itrans-v5-table-for-tamil): New variable.
9767 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9768
9769 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9770
9771 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9772 that's true if the current command involved collapsing of text.
9773 It's reset to false at the beginning of the next command.
9774 (allout-post-command-business): Move the cursor to the beginning
9775 of entry if the cursor is hidden and collapsing activity just
9776 happened.
9777
9778 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9779
9780 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9781 tracking (Bug#9541).
9782
9783 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9784
9785 * net/newst-reader.el (newsticker-html-renderer)
9786 (newsticker-show-news): Automatically load html rendering package
9787 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9788 because w3m-fill-column is let-bound" and the error "Symbol's value
9789 as variable is void: w3m-fill-column".
9790
9791 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9792
9793 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9794 Release services only if they are defined. (Bug#9581)
9795
9796 2011-09-23 Richard Stallman <rms@gnu.org>
9797
9798 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9799 distinguish start of paragraph from start of its text.
9800
9801 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9802
9803 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9804 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9805 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9806
9807 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9808
9809 * international/mule-diag.el (mule-diag): Insert a newline after
9810 each fontset description.
9811
9812 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * simple.el (delete-trailing-whitespace):
9815 Document last change; simplify.
9816
9817 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9818
9819 * simple.el (delete-trailing-whitespace): Also delete
9820 extra newlines at the end of the buffer.
9821
9822 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9823 (picture-newline): Use forward-line so as to ignore fields.
9824
9825 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9826
9827 * subr.el (with-wrapper-hook): Fix edebug spec.
9828
9829 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9830
9831 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9832 (bug#4538).
9833
9834 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9835
9836 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9837 Fix nasty bug using wrong cached values.
9838
9839 2011-09-23 Alan Mackenzie <acm@muc.de>
9840
9841 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9842
9843 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9844
9845 * window.el (pop-to-buffer): Ensure right window is selected if we
9846 chose another frame.
9847
9848 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9849
9850 * simple.el (what-cursor-position): Use get-char-property-change
9851 and next-single-char-property-change, to be able to show display
9852 properties that come from overlays as well as text properties.
9853
9854 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9855
9856 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9857
9858 * cmuscheme.el (run-scheme, switch-to-scheme):
9859 * cus-edit.el (customize-group, custom-buffer-create)
9860 (customize-browse):
9861 * info.el (info):
9862 * shell.el (shell):
9863 * mail/sendmail.el (mail):
9864 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9865
9866 2011-09-22 Richard Stallman <rms@gnu.org>
9867
9868 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9869 move back only to line beg, don't move back over blank lines.
9870
9871 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9872
9873 * files.el (copy-directory): Set directory attributes only in case
9874 they could be retrieved from the source directory. (Bug#9565)
9875
9876 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9877
9878 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9879 (hs-find-block-beginning, hs-hide-level-recursive):
9880 Ignore strings as well as comments. (Bug#9502)
9881
9882 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9883
9884 * progmodes/sql.el (sql-comint-postgres):
9885 Convert port number to a string. (Bug#9566)
9886
9887 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9888
9889 * window.el (quit-window): Undedicate window when switching to
9890 previous buffer. Reported by Thierry Volpiatto
9891 <thierry.volpiatto@gmail.com>.
9892 (special-display-popup-frame): When popping up a new frame reset
9893 its previous buffers to nil. Simplify code.
9894
9895 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9896
9897 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9898 and process filter, as done also in `shell-command'.
9899
9900 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9901
9902 * window.el (set-window-buffer-start-and-point):
9903 Call set-window-start with NOFORCE argument t.
9904 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9905 (quit-window): Reword doc-string. Handle new format of
9906 quit-restore parameter. Don't delete window if it has a
9907 previous buffer we can show instead of the present one.
9908 (display-buffer-record-window): Rewrite using a new format for
9909 the quit-restore window parameter
9910 (special-display-popup-frame, display-buffer-same-window)
9911 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9912 (display-buffer-pop-up-window, display-buffer-use-some-window):
9913 Adapt symbol passed to display-buffer-record-window.
9914 * help.el (help-window-setup): Handle new format of quit-restore
9915 parameter.
9916
9917 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * faces.el (face-list): Fix docstring (bug#9564).
9920
9921 * window.el (display-buffer--action-function-custom-type):
9922 Don't include internal functions in the Custom interface.
9923
9924 2011-09-20 Juri Linkov <juri@jurta.org>
9925
9926 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9927 (Info-forward-node, Info-backward-node, Info-next-preorder)
9928 (Info-last-preorder): Use it. (Bug#9528)
9929
9930 2011-09-20 Juri Linkov <juri@jurta.org>
9931
9932 * info.el (Info-last-preorder): Visit last menu item only when
9933 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9934
9935 2011-09-20 Julien Danjou <julien@danjou.info>
9936
9937 * password-cache.el (password-cache-remove): Remove entries even if the
9938 value is nil, so that password with a nil value (negative caching) is
9939 possible to invalidate.
9940
9941 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9942
9943 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9944 all whitespace around breakpoint. (Bug#9553)
9945 (f90-find-breakpoint): Only break at whitespace inside a comment.
9946
9947 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * minibuffer.el (completion-file-name-table): Keep track of errors.
9950 (completion-table-with-predicate): Handle the case where pred1 is nil.
9951 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9952
9953 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9956 (debugger-return-value): Signal an error if the debugging context does
9957 not await any return value.
9958
9959 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9960 * image-mode.el (image-toggle-display-text)
9961 (image-toggle-display-image): Stay away from evil `intangible'.
9962
9963 2011-09-19 Leo Liu <sdl.web@gmail.com>
9964
9965 * replace.el (occur-revert-arguments): Make it permanent-local.
9966 (occur-mode): Don't call font-lock-defontify.
9967
9968 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9969
9970 * net/ldap.el (ldap-search-internal): Don't push empty search
9971 result (Bug#9508).
9972
9973 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9976
9977 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9978
9979 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9980 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9981
9982 2011-09-18 Juri Linkov <juri@jurta.org>
9983
9984 * buff-menu.el (Buffer-menu-mode-map):
9985 * dired.el (dired-mode-map):
9986 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9987 (lisp-interaction-mode-map):
9988 * emacs-lisp/package.el (package-menu-mode-map):
9989 * epa.el (epa-key-list-mode-map):
9990 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9991 (menu-bar-options-menu):
9992 * outline.el (outline-mode-menu-bar-map):
9993 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9994 * vc/vc-dir.el (vc-dir-menu-map):
9995 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9996 Capitalize non-function content words in menu item strings.
9997
9998 * dired.el (dired-mode-map): Add menu item for
9999 `image-dired-dired-toggle-marked-thumbs'.
10000
10001 2011-09-18 Juri Linkov <juri@jurta.org>
10002
10003 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10004 to `isearch-case-fold-search' and restore its original value
10005 after the `isearch-mode' call.
10006
10007 2011-09-18 Juri Linkov <juri@jurta.org>
10008
10009 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10010 because `zgrep' returns 1 for successful matches (bug#9226).
10011
10012 2011-09-18 Juri Linkov <juri@jurta.org>
10013
10014 * info.el (Info-extract-menu-node-name): Check the second match
10015 for empty string (second test-case of bug#9528).
10016 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10017 intermediate nodes to the history (first test-case of bug#9528).
10018
10019 2011-09-18 Juri Linkov <juri@jurta.org>
10020
10021 * info.el (Info-mode-syntax-table): New variable.
10022 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10023
10024 2011-09-18 Juri Linkov <juri@jurta.org>
10025
10026 * info.el (Info-file-supports-index-cookies):
10027 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10028 outputs one more line for long file names (bug#4142).
10029
10030 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10031
10032 * newcomment.el (comment-normalize-vars): If prompting for
10033 comment-start, set comment-start-skip too (Bug#8424).
10034
10035 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10036
10037 * icomplete.el: Fix previous fix of Bug#5849.
10038 (icomplete-mode): Don't set completion-show-inline-help.
10039 (icomplete-minibuffer-setup): Set completion-show-inline-help
10040 locally during icompletion.
10041
10042 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10043
10044 * woman.el (woman2-process-escapes): Don't delete unrecognized
10045 escapes (Bug#7843).
10046
10047 * files.el (inhibit-first-line-modes-regexps): Add image files.
10048 (hack-local-variables-prop-line): Return nil for malformed
10049 prop-lines (Bug#9044).
10050
10051 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10052
10053 * net/tramp.el (top): Don't require 'shell.
10054 (tramp-methods): Fix docstring.
10055 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10056 Return complete remote file name. Handle "smb" case.
10057 Use `tramp-tmpdir', if defined for the respective method.
10058 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10059
10060 * net/tramp-compat.el (top): Require 'shell.
10061
10062 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10063 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10064 `tramp-current-host'.
10065 (tramp-get-remote-tmpdir): Remove.
10066
10067 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10068 `tramp-tmpdir' entries.
10069 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10070 (tramp-smb-handle-file-attributes): Ignore errors.
10071 (tramp-smb-wait-for-output): Check also for process end.
10072
10073 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10074
10075 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10076 when sending QUIT (bug#9312).
10077
10078 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10079
10080 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10081 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10082 occur-mode-display-occurrence.
10083 (occur-edit-mode): Add usage message.
10084 (occur-cease-edit): New command.
10085 (occur-after-change-function): Use text properties to find the
10086 position of the prefix text.
10087 (occur-engine): Set stickiness of prefix text properties.
10088
10089 2011-09-17 Glenn Morris <rgm@gnu.org>
10090
10091 * progmodes/etags.el (complete-tag):
10092 Fix call to completion-in-region. (Bug#9526)
10093
10094 2011-09-17 Juri Linkov <juri@jurta.org>
10095
10096 * textmodes/ispell.el (ispell-word): Add to the error message
10097 the word, ispell program name and current dictionary (bug#9121).
10098 (ispell-tex-arg-end): Capitalize "error" in the error message.
10099
10100 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10101
10102 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10103 check. (Bug#4251)
10104
10105 2011-09-17 Juri Linkov <juri@jurta.org>
10106
10107 * window.el (window-safe-min-height, window-safe-min-width):
10108 Fix typos (followup to bug#9522).
10109
10110 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10111
10112 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10113
10114 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10115
10116 * simple.el (line-move): If goal-column is set, move by logical
10117 lines, not by display lines. (Bug#971)
10118 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10119 to reflect the above change.
10120
10121 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10122
10123 * image.el (imagemagick-register-types): Use regexp-opt.
10124
10125 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10126
10127 * window.el (display-buffer-base-action): Rename from
10128 display-buffer-default-action. Make default value empty.
10129 (display-buffer-overriding-action): Convert to defvar.
10130 (display-buffer-fallback-action): New var.
10131
10132 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10133
10134 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10135 declaration.
10136 (package--add-to-archive-contents): If there is a duplicate entry
10137 with an older version, remove it.
10138 (package-menu-mark-delete, package-menu-mark-install)
10139 (package-menu-mark-unmark): Make unused args optional.
10140 (package-menu-mark-obsolete-for-deletion):
10141 Use package-menu-get-status instead of a regexp search.
10142 (package-menu-get-status): Use tabulated-list-entry.
10143 (package-menu-mark-upgrades): New command.
10144 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10145 (package-menu-execute): Do installation before deletion.
10146 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10147 instead of checking major-mode.
10148 (package-menu--find-upgrades): New function.
10149
10150 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10151
10152 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10153 passwords in the log buffer.
10154 (smtpmail-process-filter): Update the process marker so that the
10155 "broken by peer" status message is inserted in the right place.
10156
10157 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10160 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10161 bibtex-completion-at-point-function.
10162 (bibtex-completion-at-point-function): Use them.
10163
10164 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10165
10166 * mpc.el (mpc-constraints-tag-lookup): New function.
10167 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10168 also to browser "album|playlist".
10169
10170 2011-09-14 Juri Linkov <juri@jurta.org>
10171
10172 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10173 (isearch-edit-string): Use length of `isearch-string' when
10174 `isearch-fail-pos' returns nil.
10175 (isearch-message): Remove duplicate code and call
10176 `isearch-fail-pos' with arg `t'.
10177
10178 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10179
10180 * replace.el (occur-mode-goto-occurrence): Don't force using other
10181 window (Bug#9499).
10182
10183 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10184
10185 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10186
10187 * window.el (display-buffer-window): Remove.
10188 (display-buffer-record-window): Use help-setup window parameter
10189 instead of variable display-buffer-window.
10190 (display-buffer-function, special-display-buffer-names)
10191 (special-display-function): Mention help-setup parameter instead
10192 of display-buffer-window in doc-string.
10193 * help.el (help-window-setup): New argument help-window.
10194 Use help-window-setup parameter instead of display-buffer-window.
10195 Reword some messages.
10196 (with-help-window): Pass window used for displaying the buffer
10197 to help-window-setup. Don't set display-buffer-window.
10198
10199 2011-09-13 Glenn Morris <rgm@gnu.org>
10200
10201 * emacs-lisp/debug.el (debugger-make-xrefs):
10202 Preserve point. (Bug#9462)
10203
10204 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * window.el (window-deletable-p): Use next-frame.
10207
10208 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10209
10210 * window.el (window-auto-delete): Remove.
10211 (window-deletable-p): Remove argument FORCE. Don't deal with
10212 dedication and previous buffers.
10213 (switch-to-prev-buffer): Don't delete window.
10214 (delete-windows-on): Delete a window's frame if and only if the
10215 window is dedicated.
10216 (replace-buffer-in-windows): Delete buffer's window or frame if
10217 and only if window is dedicated.
10218 (quit-window): Handle quit-restore as before last change.
10219 (bury-buffer): Delete window only if window-deletable-p returns t.
10220
10221 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10222
10223 * window.el (window-deletable-p): Never delete the last frame on a
10224 given terminal.
10225
10226 2011-09-13 Glenn Morris <rgm@gnu.org>
10227
10228 * help.el (describe-key-briefly): Copy previous standard-output change.
10229
10230 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10231
10232 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10233
10234 2011-09-13 Glenn Morris <rgm@gnu.org>
10235
10236 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10237 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10238
10239 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10240
10241 * dired-aux.el (dired-mark-read-string): Don't return default
10242 value on empty input (Bug#9361).
10243 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10244 Omit initial minibuffer contents.
10245 (dired-do-chmod): Signal an error on empty input.
10246 (dired-mark-read-string): Don't return default on empty input.
10247
10248 * files.el (file-modes-symbolic-to-number): Doc fix.
10249
10250 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * international/mule-cmds.el (ucs-completions): Remove.
10253 (read-char-by-name): Use complete-with-action instead; add metadata.
10254
10255 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10256
10257 * window.el (display-buffer--action-function-custom-type)
10258 (display-buffer--action-custom-type): New vars.
10259 (display-buffer-alist, display-buffer-default-action)
10260 (display-buffer-overriding-action): Add defcustom types.
10261
10262 * frame.el (delete-other-frames): Doc fix (Bug#276).
10263
10264 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10265
10266 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10267
10268 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10269
10270 Change modes that used same-window-* vars to use switch-to-buffer.
10271
10272 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10273 Use switch-to-buffer.
10274
10275 * cus-edit.el (customize-group, custom-buffer-create)
10276 (customize-browse, custom-buffer-create-other-window):
10277 Use switch-to-buffer or switch-to-buffer-other-window.
10278
10279 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10280 (Info-prev, Info-up, Info-speedbar-goto-node)
10281 (info-display-manual): Use switch-to-buffer.
10282 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10283
10284 * mail/sendmail.el (mail): Use switch-to-buffer.
10285 (mail-recover): Use switch-to-buffer-other-window.
10286
10287 * cmuscheme.el (run-scheme, switch-to-scheme):
10288 * ielm.el (ielm):
10289 * shell.el (shell):
10290 * net/rlogin.el (rlogin):
10291 * net/telnet.el (telnet, rsh):
10292 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10293
10294 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10295
10296 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10297
10298 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10299
10300 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10301 so don't mention it (bug#9301).
10302 (dired-sort-toggle-or-edit): Clarify string further.
10303
10304 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10305 match `x', `w32' and `ns', like the manual says (bug#9029).
10306
10307 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10308 (process-kill-buffer-query-function): Mention the buffer name in
10309 the query.
10310
10311 * image-mode.el (image-next-line): The line parameter is mandatory
10312 (bug#9258).
10313
10314 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10315 which can be useful (bug#9301).
10316
10317 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10318
10319 * subr.el (match-string): Mention that the current buffer should
10320 be the same as the search was done in (bug#9282).
10321
10322 * facemenu.el: Disable the remove-* commands if the mark isn't
10323 active (bug#9162).
10324
10325 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10326
10327 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10328 of display-buffer.
10329 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10330
10331 * replace.el (occur-mode-goto-occurrence)
10332 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10333 and display-buffer.
10334
10335 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10336 display-buffer.
10337
10338 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10339 special-display and same-window variables.
10340 (mail-other-window): Use switch-to-buffer-other-window.
10341 (mail-other-frame): USe switch-to-buffer-other-frame.
10342
10343 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10344 Use display-buffer-other-frame.
10345 (gdb-display-gdb-buffer): Use pop-to-buffer.
10346
10347 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10348
10349 * progmodes/python.el: Don't set same-window-buffer-names.
10350
10351 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10352
10353 * window.el (display-buffer-alist): Add *Python*.
10354
10355 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10356
10357 * window.el (display-buffer-alist): Add entry for buffers
10358 previously handled same-window-*.
10359 (display-buffer-alist, display-buffer-default-action)
10360 (display-buffer-overriding-action): Mark as risky.
10361 (display-buffer-alist): Document action function changes.
10362 (display-buffer--same-window-action)
10363 (display-buffer--other-frame-action): New variables.
10364 (switch-to-buffer, display-buffer-other-frame): Use them.
10365 (display-buffer): Rename reuse-frame entry to reusable-frames.
10366 (display-buffer-reuse-selected-window): Function deleted.
10367 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10368 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10369 (display-buffer-special): New function.
10370 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10371 display-buffer-reuse-or-pop-window. Split off special-display
10372 part into display-buffer-special.
10373 (display-buffer-use-some-window): Don't perform any special
10374 pop-up-frames handling.
10375 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10376 (display-buffer--maybe-same-window): Rename from
10377 display-buffer-maybe-same-window.
10378
10379 * info.el: Don't set same-window-regexps.
10380 (info-setup): New function.
10381 (info-other-window, info): Call it.
10382
10383 * cus-edit.el: Don't set same-window-regexps.
10384 (customize-group): New argument.
10385 (customize-group-other-window): Use it.
10386 (customize-face, customize-face-other-window): Likewise.
10387 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10388
10389 * net/rlogin.el:
10390 * net/telnet.el:
10391 * progmodes/gud.el: Don't set same-window-regexps.
10392
10393 * cmuscheme.el:
10394 * ielm.el:
10395 * shell.el:
10396 * mail/sendmail.el:
10397 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10398
10399 2011-09-10 Juri Linkov <juri@jurta.org>
10400
10401 * isearch.el (isearch-edit-string): Remove obsolete mention of
10402 `C-w' (`isearch-yank-word-or-char') from docstring.
10403 (isearch-query-replace): Fix typo in docstring (bug#9466).
10404
10405 2011-09-10 Juri Linkov <juri@jurta.org>
10406
10407 * paren.el (show-paren-function): Don't show escaped parens.
10408 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10409
10410 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10411
10412 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10413 (mm-default-file-encoding): Remove autoload forms, they are
10414 replaced with autoload cookies in mml.el and mm-encode.el.
10415 (mail-add-attachment): New command.
10416 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10417 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10418 the doc string.
10419 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10420
10421 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10422
10423 * simple.el (count-words-region): Use buffer if there's no region
10424 (bug#9429).
10425
10426 2011-09-09 Juri Linkov <juri@jurta.org>
10427
10428 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10429 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10430 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10431
10432 2011-09-09 Alan Mackenzie <acm@muc.de>
10433
10434 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10435 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10436
10437 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10438
10439 Fix for Savannah bug#9392.
10440 * simple.el (mail-encode-mml): New defvar.
10441
10442 * mail/rmail.el (mail-encode-mml): Add a defvar.
10443 (rmail-enable-mime-composing): Default to t.
10444 (rmail-forward): Use MIME method of forwarding only if both
10445 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10446 Set mail-encode-mml non-nil if the MIME method was used.
10447
10448 * mail/sendmail.el (mml-to-mime): Add autoload form.
10449 (mail-encode-mml): Add a defvar.
10450 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10451 to nil.
10452 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10453 message through mml-to-mime, and reset mail-encode-mml to nil.
10454
10455 2011-09-09 Glenn Morris <rgm@gnu.org>
10456
10457 * woman.el (woman-if-body): When processing an .el block,
10458 do not delete the next .el block as well. (Bug#9447)
10459 (woman-special-characters): Add oq, cq, and hy characters.
10460
10461 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10462
10463 * window.el (window-deletable-p): Make sure window is live before
10464 invoking window-prev-buffers.
10465
10466 2011-09-08 Leo Liu <sdl.web@gmail.com>
10467
10468 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10469
10470 2011-09-08 Juri Linkov <juri@jurta.org>
10471
10472 * progmodes/compile.el (compilation-environment): Make it
10473 a defcustom (bug#8340).
10474
10475 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10476
10477 * window.el (frame-auto-delete): Rename to window-auto-delete.
10478 Make it control auto-deletion of windows and/or frames.
10479 (window-deletable-p): New argument FORCE. Rewrite conditions
10480 for deleting window/frame. (Bug#9419)
10481 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10482 Rewrite handling of case when window/frame can be deleted.
10483 (delete-windows-on): Call window-deletable-p with new FORCE
10484 argument t. (Bug#9456)
10485
10486 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10487
10488 * help-mode.el (help-mode): Restore autoload.
10489
10490 2011-09-07 Juri Linkov <juri@jurta.org>
10491
10492 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10493 `compilation-environment'. Set buffer-local
10494 `compilation-environment' to `thisenv' later after (funcall mode).
10495 (Bug#8340)
10496
10497 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10498 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10499 instead of replacing its value. (Bug#8340)
10500
10501 2011-09-07 Juri Linkov <juri@jurta.org>
10502
10503 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10504 based on text properties put by `grep-filter' instead of matching
10505 escape sequences.
10506 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10507 to the value of `grep-error-screen-columns' (bug#9438).
10508
10509 2011-09-07 Juri Linkov <juri@jurta.org>
10510
10511 * simple.el (next-error-highlight, next-error-highlight-no-select):
10512 Doc fix (bug#9432).
10513
10514 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10515
10516 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10517 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10518
10519 2011-09-07 Leo Liu <sdl.web@gmail.com>
10520
10521 * net/rcirc.el (rcirc-mode): Conditionally initialize
10522 rcirc-input-ring.
10523
10524 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10525
10526 * emacs-lisp/find-func.el (find-function-C-source): Only set
10527 find-function-C-source-directory after checking that we found a source
10528 file there (bug#9440).
10529
10530 2011-09-06 Alan Mackenzie <acm@muc.de>
10531
10532 * isearch.el (isearch-other-meta-char): Wherever a key list is
10533 unread, "unread" the prefix arg, too. This fixes bug #8901.
10534
10535 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10536
10537 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10538
10539 2011-09-05 Juri Linkov <juri@jurta.org>
10540
10541 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10542
10543 2011-09-05 Juri Linkov <juri@jurta.org>
10544
10545 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10546 keeping point where processing of grep matches begins, and
10547 continue to delete remaining escape sequences from the same point.
10548 (grep-filter): Make leading zero optional in "0?1;31m" because
10549 git-grep emits "\033[1;31m" escape sequences unlike expected
10550 "\033[01;31m" as GNU Grep does (bug#9408).
10551 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10552
10553 2011-09-05 Juri Linkov <juri@jurta.org>
10554
10555 * subr.el (y-or-n-p): Capitalize "yes".
10556
10557 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10558
10559 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10560 `tramp-cache-unload-hook' where appropriate.
10561 (tramp-methods): Rename `tramp-remote-sh' to
10562 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10563 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10564
10565 * net/tramp-sh.el (top): Don't require 'shell.
10566 (tramp-methods): Add `tramp-remote-shell' and
10567 `tramp-remote-shell-args' entries.
10568 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10569 (tramp-sh-handle-shell-command): Remove.
10570 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10571 Use `tramp-remote-shell'.
10572
10573 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10574
10575 * mail/sendmail.el (sendmail-query-once-function): Delete.
10576 (sendmail-query-once): Save directly to send-mail-function.
10577 Update message-send-mail-function too.
10578
10579 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10580
10581 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10582
10583 * progmodes/python.el (python-mode-map): Use correct function to
10584 start python interpreter from menu-bar (as reported by Geert
10585 Kloosterman).
10586 (inferior-python-mode-map): Fix typo.
10587 (python-shell-map): Remove.
10588
10589 2011-09-03 Deniz Dogan <deniz@dogan.se>
10590
10591 * net/rcirc.el (rcirc-print): Simplify code for
10592 rcirc-scroll-show-maximum-output. There is no need to walk
10593 through all windows to find the right one.
10594
10595 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10596
10597 * help.el (help-return-method): Doc fix.
10598
10599 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10600
10601 * window.el (window-deletable-p): Don't return a non-nil value
10602 when there's a buffer that was shown in the window before.
10603 (Bug#9419)
10604 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10605 Set window's previous buffers to nil.
10606
10607 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10608
10609 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10610 newline before and after the tag line, so it doesn't interfere
10611 with determining the paragraph direction of bidirectional text.
10612
10613 2011-09-03 Leo Liu <sdl.web@gmail.com>
10614
10615 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10616
10617 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10618
10619 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10620 (pop-to-buffer): Change interactive spec. Pass second argument
10621 directly to display-buffer.
10622 (display-buffer): Fix interactive spec. Use functionp to
10623 distinguish between a function and a list of functions.
10624
10625 * abbrev.el (edit-abbrevs):
10626 * arc-mode.el (archive-extract):
10627 * autoinsert.el (auto-insert):
10628 * bookmark.el (bookmark-bmenu-list):
10629 * files.el (find-file):
10630 * view.el (view-buffer):
10631 * progmodes/compile.el (compilation-goto-locus):
10632 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10633
10634 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10635
10636 * window.el (display-buffer-alist): Doc fix.
10637 (display-buffer): Add docstring. Don't treat
10638 display-buffer-default specially.
10639 (display-buffer-reuse-selected-window)
10640 (display-buffer-same-window, display-buffer-maybe-same-window)
10641 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10642 (display-buffer-pop-up-window)
10643 (display-buffer-reuse-or-pop-window)
10644 (display-buffer-use-some-window): New functions.
10645 (display-buffer-default-action): Use them.
10646 (display-buffer-default): Delete.
10647 (pop-to-buffer-1): Fix choice of actions.
10648
10649 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * minibuffer.el (completion--insert-strings): Don't get confused by
10652 completion entries that end with an LF char.
10653
10654 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10655
10656 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10657
10658 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10659
10660 * window.el (display-buffer): Restore interactive spec.
10661 (display-buffer-same-window, display-buffer-other-window):
10662 New functions.
10663 (pop-to-buffer-1): New function. Use the above.
10664 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10665 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10666
10667 * view.el (view-buffer-other-window, view-buffer-other-frame):
10668 Just use pop-to-buffer.
10669
10670 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10671
10672 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10673
10674 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10675
10676 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10677
10678 2011-08-31 Richard Stallman <rms@gnu.org>
10679
10680 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10681 of the separation of rmail-view-buffer from rmail-buffer.
10682 If you say no to "replace original", the decrypt is in the
10683 view buffer. If you say yes, the decrypt goes into the
10684 rmail buffer also.
10685
10686 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10687
10688 * window.el (display-buffer-window): Rewrite doc-string.
10689 (display-buffer-record-window): New function.
10690 (display-buffer-macro-specifiers)
10691 (display-buffer-even-window-sizes, display-buffer-set-height)
10692 (display-buffer-set-width, display-buffer-in-window)
10693 (display-buffer-reuse-window, display-buffer-split-specifiers)
10694 (display-buffer-side-specifiers, display-buffer-split-window-1)
10695 (display-buffer-split-window, display-buffer-split-atom-window)
10696 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10697 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10698 (display-buffer-other-window-means-other-frame)
10699 (display-buffer-normalize-special)
10700 (display-buffer-normalize-default)
10701 (display-buffer-normalize-argument)
10702 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10703 (display-buffer-normalize-specifiers, display-buffer-frame)
10704 (display-buffer-same-window, display-buffer-same-frame)
10705 (display-buffer-other-window)
10706 (display-buffer-same-frame-other-window)
10707 (display-buffer-other-frame, pop-to-buffer-same-window)
10708 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10709 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10710 (switch-to-buffer-same-frame)
10711 (switch-to-buffer-other-window-same-frame)
10712 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10713 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10714 (display-buffer-alist-set): Remove.
10715 (display-buffer-function, special-display-buffer-names)
10716 (special-display-regexps, special-display-function):
10717 In doc-string refer to display-buffer-window and quit-restore
10718 parameter.
10719 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10720 (special-display-frame-alist, special-display-popup-frame)
10721 (same-window-buffer-names, same-window-regexps, same-window-p)
10722 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10723 (split-window-preferred-function, split-height-threshold)
10724 (split-width-threshold, window-splittable-p)
10725 (split-window-sensibly, window--try-to-split-window)
10726 (window--frame-usable-p, even-window-heights)
10727 (window--even-window-heights, window--display-buffer-1)
10728 (window--display-buffer-2, display-buffer-other-frame):
10729 Restore old Emacs 23 code, order and doc-strings where applicable.
10730 (display-buffer-default, display-buffer-assq-regexp): New functions.
10731 (display-buffer-alist): Rewrite doc-string.
10732 (display-buffer-default-action)
10733 (display-buffer-overriding-action): New variables.
10734 (display-buffer, switch-to-buffer): Rewrite.
10735 (pop-to-buffer): Restore Emacs 23 behavior but use
10736 window-normalize-buffer-to-display.
10737 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10738 Restore Emacs 23 behavior but use
10739 window-normalize-buffer-to-switch-to.
10740 (pop-to-buffer-same-window): Rewrite.
10741 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10742 Rewrite using Emacs 23 options.
10743
10744 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10745
10746 * net/tramp.el (tramp-root-regexp): Remove.
10747 (tramp-completion-file-name-regexp-unified)
10748 (tramp-completion-file-name-regexp-separate)
10749 (tramp-completion-file-name-regexp-url): Don't use leading volume
10750 letter on w32 systems. (Bug#5303, Bug#9311)
10751 (tramp-drop-volume-letter): Simplify definition.
10752 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10753
10754 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10757 (bug#9356).
10758
10759 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10760
10761 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10762
10763 2011-08-29 Juri Linkov <juri@jurta.org>
10764
10765 * isearch.el (isearch-done): Don't display message "Mark saved"
10766 when arg `edit' is non-nil to prevent its flicker in the echo area.
10767
10768 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10769
10770 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10771 obsolete packages for deletion.
10772
10773 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10774
10775 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10776 (help-mode): Derive help-mode from special-mode. Don't invoke
10777 view-mode from help-mode.
10778 (help-xref-override-view-map): Remove.
10779 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10780 view-mode is not used anymore.
10781
10782 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10783
10784 * server.el (server-port): Doc fix.
10785
10786 * cus-theme.el (custom-theme-choose-mode): Inherit from
10787 special-mode (Bug#9124).
10788 (custom-theme-choose-mode-map): Add special-mode to parent.
10789
10790 2011-08-28 Alan Mackenzie <acm@muc.de>
10791
10792 * progmodes/cc-fonts.el
10793 (c-make-font-lock-BO-decl-search-function): New function.
10794 (c-basic-matchers-after - "Fontify the clauses after various
10795 keywords"): Extract the three keyword lists for the 3 erroneous
10796 constructs from the list of four, and use the new function above
10797 in place of an old one.
10798
10799 2011-08-28 Deniz Dogan <deniz@dogan.se>
10800
10801 * net/rcirc.el (rcirc-insert-prev-input)
10802 (rcirc-insert-next-input): Remove unused argument.
10803
10804 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10807
10808 2011-08-27 Alan Mackenzie <acm@muc.de>
10809
10810 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10811 handle function pointer parameters properly.
10812
10813 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10814
10815 * window.el (display-buffer-reuse-window): Fix case where
10816 selected window was reused with non-nil OTHER-WINDOW argument.
10817 (Bug#9381)
10818
10819 2011-08-27 Deniz Dogan <deniz@dogan.se>
10820
10821 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10822 oftc's NickServ messages.
10823
10824 2011-08-27 Glenn Morris <rgm@gnu.org>
10825
10826 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10827
10828 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10829
10830 * emacs-lisp/package.el (package-install): Call package-initialize
10831 if called interactively.
10832
10833 2011-08-26 Leo Liu <sdl.web@gmail.com>
10834
10835 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10836
10837 2011-08-25 Juri Linkov <juri@jurta.org>
10838
10839 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10840 `search-whitespace-regexp' (bug#9364).
10841
10842 2011-08-25 Juri Linkov <juri@jurta.org>
10843
10844 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10845 `regexp-search-ring' to their global values to protect from
10846 updating by `read-from-minibuffer' (bug#9185).
10847
10848 2011-08-25 Juri Linkov <juri@jurta.org>
10849
10850 * textmodes/ispell.el (ispell-command-loop): Add newline
10851 at the end of the "Use option `i'..." line.
10852
10853 2011-08-25 Juri Linkov <juri@jurta.org>
10854
10855 * battery.el (display-battery-mode): If `battery-status-function'
10856 or `battery-mode-line-format' is nil, display the message and set
10857 `display-battery-mode' to nil (bug#9363).
10858
10859 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10860
10861 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10862 bidi-string-mark-left-to-right; they are unnecessary now.
10863
10864 2011-08-25 Deniz Dogan <deniz@dogan.se>
10865
10866 * net/quickurl.el: Documentation typo fixes.
10867
10868 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10869
10870 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10871
10872 2011-08-25 Glenn Morris <rgm@gnu.org>
10873
10874 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10875
10876 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10877 (smtpmail-via-smtp): Handle nil response from smtp.
10878
10879 2011-08-24 Juri Linkov <juri@jurta.org>
10880
10881 * proced.el (proced-marked): Inherit from `error' instead of
10882 `font-lock-warning-face'.
10883
10884 * ibuffer.el (ibuffer-marked-face): Change default face from
10885 `font-lock-warning-face' to `warning'.
10886 (ibuffer-deletion-face): Change default face from
10887 `font-lock-type-face' to `error'.
10888
10889 * battery.el (battery-update): Use the face `error' instead of
10890 `font-lock-warning-face' (bug#6117).
10891
10892 2011-08-24 Juri Linkov <juri@jurta.org>
10893
10894 * faces.el (success): Change face color from "Green3" to
10895 "ForestGreen" on light background (bug#9353).
10896
10897 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10898
10899 * window.el (quit-window): Rename from quit-restore-window.
10900 Use same arglist as old quit-window.
10901 (frame-auto-delete): Doc fix.
10902
10903 * view.el (view-mode-exit): Use quit-window.
10904
10905 2011-08-24 Juri Linkov <juri@jurta.org>
10906
10907 * isearch.el (isearch-ring-adjust1): Start visiting previous
10908 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10909 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10910 for empty search string (when the last search string is reused
10911 automatically) to adjust the isearch ring to the last element and
10912 prepare the correct index for further M-p commands (bug#9185).
10913
10914 2011-08-24 Kenichi Handa <handa@m17n.org>
10915
10916 * international/ucs-normalize.el: If decomposition property of
10917 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10918 nil.
10919 (nfd, nfkd): Likewise.
10920
10921 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10924 from process filters aren't reliably transmitted to the surrounding
10925 accept-process-output.
10926 (mpc-proc-check): New function.
10927 (mpc-proc-sync): Use it (bug#8293)
10928
10929 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10932 Add compatibility functions (bug#9313).
10933
10934 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10935
10936 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10937
10938 * international/uni-bidi.el: Regenerate.
10939
10940 2011-08-23 Kenichi Handa <handa@m17n.org>
10941
10942 * international/charprop.el:
10943 * international/uni-bidi.el:
10944 * international/uni-category.el:
10945 * international/uni-combining.el:
10946 * international/uni-comment.el:
10947 * international/uni-decimal.el:
10948 * international/uni-decomposition.el:
10949 * international/uni-digit.el:
10950 * international/uni-lowercase.el:
10951 * international/uni-mirrored.el:
10952 * international/uni-name.el:
10953 * international/uni-numeric.el:
10954 * international/uni-old-name.el:
10955 * international/uni-titlecase.el:
10956 * international/uni-uppercase.el: Regenerate.
10957
10958 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10959
10960 * help.el (help-window-setup): Fix message displayed when other
10961 window is reused. (Bug#9341)
10962
10963 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10966 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10967
10968 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10969 Mark obsolete.
10970 * shell.el (shell-parse-pcomplete-arguments): New function.
10971 (shell-completion-vars): Use it instead (bug#9160).
10972
10973 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10974
10975 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10976 strings and comments (bug#9333).
10977
10978 * emacs-lisp/debug.el (debug-arglist): New function.
10979 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10980 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10981
10982 2011-08-22 Juri Linkov <juri@jurta.org>
10983
10984 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10985 Revert regexp that highlights output switches to its old
10986 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10987
10988 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10989 to check for empty output (bug#9226).
10990
10991 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10992
10993 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10994 symbol-constituent as the default, as that stops font-lock from
10995 working properly (Bug#8843).
10996
10997 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10998
10999 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11000 `coding-system-for-*' around the process open call to avoid
11001 auth-source side effects.
11002 (smtpmail-try-auth-methods): Expand the secret password.
11003 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11004 probe hangs.
11005
11006 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11007
11008 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11009
11010 * emacs-lisp/find-func.el (find-function-noselect): New arg
11011 lisp-only.
11012
11013 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11014 signal an error for built-in functions (Bug#6664).
11015
11016 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11017
11018 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11019 (smtpmail-try-auth-methods): Use it.
11020
11021 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11022
11023 * font-lock.el (font-lock-fontify-region)
11024 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11025 (font-lock-default-unfontify-buffer)
11026 (font-lock-default-fontify-region)
11027 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11028
11029 * progmodes/compile.el (compilation-error-properties):
11030 Fix confusion between file struct and message struct (Bug#9319).
11031 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11032 `ant' regexp.
11033
11034 * net/browse-url.el (browse-url-firefox): Don't call
11035 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11036
11037 2011-08-20 Glenn Morris <rgm@gnu.org>
11038
11039 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11040
11041 * tutorial.el (tutorial--default-keys): Update some default bindings.
11042
11043 * files.el (hack-local-variables): Fully ignore case for "mode:".
11044
11045 2011-08-20 Alan Mackenzie <acm@muc.de>
11046
11047 Resolve invalid use of a regexp in regexp-opt.
11048
11049 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11050 detection for a java annotation.
11051
11052 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11053 detection for a java annotation.
11054
11055 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11056 handling for java.
11057 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11058
11059 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11060
11061 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11062 (Bug#9274).
11063
11064 2011-08-20 Alan Mackenzie <acm@muc.de>
11065
11066 Fontify CPP expressions correctly when starting in the middle of
11067 such a construct. Mainly for when jit-lock etc. starts a chunk
11068 here.
11069
11070 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11071 variable.
11072 (c-make-font-lock-search-form): New function, extracted from
11073 c-make-font-lock-search-function.
11074 (c-make-font-lock-search-function): Use the above function.
11075 (c-make-font-lock-context-search-function): New function.
11076 (c-cpp-matchers): Enhance the preprocessor expression case with
11077 the above function
11078 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11079 which takes an expression.
11080
11081 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11082
11083 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11084
11085 * window.el (display-buffer-reuse-window)
11086 (display-buffer-pop-up-window): Don't reuse or split a side
11087 window.
11088
11089 2011-08-19 Glenn Morris <rgm@gnu.org>
11090
11091 * files.el (hack-local-variables-prop-line, hack-local-variables):
11092 Downcase "Mode:". (Bug#9331)
11093
11094 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11095
11096 * international/characters.el: Add L and R categories.
11097
11098 * subr.el (bidi-string-mark-left-to-right): Rename from
11099 string-mark-left-to-right. Use category search.
11100
11101 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11102
11103 2011-08-18 Juri Linkov <juri@jurta.org>
11104
11105 * faces.el (error, warning, success): New faces with definitions
11106 copied from old default values of `font-lock-warning-face',
11107 `compilation-warning', `compilation-info' (bug#6117).
11108
11109 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11110
11111 * progmodes/compile.el (compilation-error): Inherit from `error'.
11112 (compilation-warning): Inherit from `warning'.
11113 (compilation-info): Inherit from `success'.
11114
11115 * dired.el (dired-marked): Inherit from `warning'.
11116 (dired-flagged): Inherit from `error'.
11117
11118 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11119
11120 * mail/smtpmail.el (auth-source): Require to avoid problems with
11121 binding variables (bug#9298). Also clean up some unused
11122 autoloads.
11123
11124 * net/network-stream.el (network-stream-open-starttls):
11125 Support using starttls.el without using gnutls-cli.
11126
11127 2011-08-17 Juri Linkov <juri@jurta.org>
11128
11129 * progmodes/grep.el (rgrep): Handle the case when
11130 `grep-find-command' is a cons cell (bug#9278).
11131
11132 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11133
11134 * window.el (display-buffer-pop-up-frame): Run frame creation
11135 function with BUFFER current (as special-display-popup-frame
11136 does). Reported by Drew Adams.
11137
11138 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11139
11140 * epa-mail.el: Simplify GnuPG group expansion using
11141 epg-expand-group.
11142 (epa-mail-group-alist, epa-mail-group-modtime)
11143 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11144 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11145 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11146 Remove.
11147
11148 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11149
11150 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11151
11152 2011-08-16 Alan Mackenzie <acm@muc.de>
11153
11154 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11155 Correct, to avoid the inside of macros.
11156
11157 2011-08-16 Richard Stallman <rms@gnu.org>
11158
11159 * epa-mail.el: Handle GnuPG group definitions.
11160 (epa-mail-group-alist, epa-mail-group-modtime)
11161 (epa-mail-gnupg-conf-file): New variables.
11162 (epa-mail-parse-groups, epa-mail-sync-groups)
11163 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11164 (epa-mail-expand-recipients): New functions.
11165 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11166
11167 * mail/rmail.el (rmail-epa-decrypt): New command.
11168
11169 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11170 Don't bind buffer-read-only, just inhibit-read-only.
11171 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11172 (epa-decrypt-armor-in-region): Make error message clearer.
11173
11174 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11175
11176 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11177 and "a2b" to "ab" for `prefix'.
11178
11179 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11180
11181 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11182 filter groups.
11183 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11184 Fourquet (Bug#8804).
11185
11186 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11187
11188 * startup.el (argi): Declare as global variable (bug#9275).
11189
11190 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11191
11192 * subr.el (string-mark-left-to-right): Search the entire string
11193 for RTL script, not just the terminating character. Doc fix.
11194
11195 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11198 New function.
11199 (js--regexp-literal, js-syntax-propertize-function): Remove.
11200 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11201 (js-mode-map): Don't rebind electric keys.
11202 (js-insert-and-indent): Remove.
11203 (js-mode): Setup electric-layout and electric-indent instead.
11204
11205 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11206
11207 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11208
11209 * epa.el (epa-progress-callback-function): Fix the logic of
11210 displaying progress.
11211 * epa-file.el (epa-file-insert-file-contents): Make progress
11212 display more user-friendly.
11213 (epa-file-write-region): Ditto.
11214
11215 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11216
11217 * subr.el (string-mark-left-to-right): New function.
11218
11219 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11220 Use string-mark-left-to-right.
11221 (list-buffers-noselect): Caller changed.
11222
11223 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11224 Use string-mark-left-to-right.
11225 (tabulated-list-print): Recenter after moving point.
11226
11227 2011-08-10 Juri Linkov <juri@jurta.org>
11228
11229 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11230 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11231 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11232
11233 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11234
11235 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11236 (Bug#7554).
11237
11238 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11239
11240 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11241 character. (Bug#6594)
11242
11243 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11244
11245 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11246 (image-dired--with-db-file): New macro.
11247 (image-dired-write-tags, image-dired-remove-tag)
11248 (image-dired-create-gallery-lists, image-dired-write-comments)
11249 (image-dired-get-comment, image-dired-mark-tagged-files)
11250 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11251 (image-dired-gallery-generate): Use insert-file-contents.
11252
11253 * time.el (display-time-world-list, display-time-world-display):
11254 * time-stamp.el (time-stamp-string):
11255 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11256 set-time-zone-rule (Bug#7337).
11257
11258 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11259
11260 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11261 (epg-error-to-string, epg-errors-to-string): New function.
11262 (epg-wait-for-completion): Reverse errors list.
11263 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11264 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11265 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11266 (epg-sign-keys, epg-generate-key-from-file)
11267 (epg-generate-key-from-string): Format errors by using
11268 epg-errors-to-string (bug#9255).
11269 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11270
11271 2011-08-07 Juri Linkov <juri@jurta.org>
11272
11273 * faces.el (list-faces-display): Remove extra angle bracket
11274 from `help-mode-map'.
11275
11276 * info.el (Info-history-toc-nodes): Doc fix.
11277
11278 * longlines.el (longlines-mode): Doc fix.
11279
11280 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11281
11282 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11283 of statements and in a few more cases (bug#9183).
11284
11285 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11286 New functions.
11287 (cl-transform-lambda): Use them (bug#9239).
11288
11289 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11290
11291 * window.el (display-buffer-same-window)
11292 (display-buffer-same-frame, display-buffer-other-window)
11293 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11294 (pop-to-buffer-other-window)
11295 (pop-to-buffer-same-frame-other-window)
11296 (pop-to-buffer-other-frame): Make them defuns.
11297 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11298
11299 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * subr.el (make-composed-keymap): Move from C. Change calling
11302 convention, and improve docstring to bring attention to a subtle point.
11303 * minibuffer.el (completing-read-default): Adjust accordingly.
11304
11305 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11306
11307 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11308 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11309
11310 * net/trampver.el: Update release number.
11311
11312 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11315 "in" (bug#9190).
11316
11317 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11318
11319 * mail/sendmail.el (sendmail-query-once): Restore the current
11320 buffer after querying (bug#9074).
11321
11322 * dired.el (dired-flagged): Use different faces for marked and
11323 flagged files (bug#6117).
11324
11325 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11326 (bug#4433).
11327
11328 * ido.el (ido-mode): Switch off the message if called
11329 non-interactively.
11330
11331 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11332 before 587, since it appears that that's more likely to work for
11333 more people.
11334
11335 * cus-edit.el (custom-file): When running under emacs -q, always
11336 refuse to save the customizations, even if the .emacs file doesn't
11337 exist.
11338
11339 * info.el: Remove the `Info-beginning-of-buffer' function
11340 (bug#8325).
11341
11342 * net/network-stream.el (network-stream-open-starttls):
11343 Use `starttls-available-p' to see whether starttls.el can be used.
11344
11345 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11346
11347 * window.el (display-buffer-in-window): Don't set dedicated status
11348 of window here (Bug#9215).
11349 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11350 (display-buffer-pop-up-side-window)
11351 (display-buffer-in-side-window): Set dedicated status of window here.
11352
11353 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11356 before binding generated-autoload-file.
11357
11358 2011-08-01 Deniz Dogan <deniz@dogan.se>
11359
11360 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11361
11362 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11363
11364 Sync with Tramp 2.2.2.
11365
11366 * net/trampver.el: Update release number.
11367
11368 2011-07-30 Juri Linkov <juri@jurta.org>
11369
11370 * dired-aux.el (dired-touch-initial): Remove function.
11371 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11372 current time, and `default' to the last modification time of the
11373 current marked file (bug#6887).
11374
11375 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11376
11377 * simple.el (goto-line): Use string-to-number to provide a
11378 numeric argument to read-number (bug#9163).
11379
11380 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11381
11382 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11383 connection process, it could be nil.
11384
11385 2011-07-27 Leo Liu <sdl.web@gmail.com>
11386
11387 Simplify url handling in rcirc-mode.
11388
11389 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11390 (rcirc-browse-url-at-mouse): Remove.
11391 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11392
11393 2011-07-26 Alan Mackenzie <acm@muc.de>
11394
11395 Fontify bitfield declarations properly.
11396
11397 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11398 (c-symbol-chars): Now exported as a lang variable.
11399 (c-not-primitive-type-keywords): New lang variable.
11400
11401 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11402 QT keyword "more" to prevent "more slots: ...." being spuriously
11403 parsed as a bitfield declaration.
11404
11405 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11406 Refactor and enhance to handle bitfield declarations.
11407 (c-punctuation-in): New function.
11408 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11409 declarations properly.
11410
11411 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11412
11413 * calendar/icalendar.el (icalendar--all-events): Take care of
11414 multiple vcalendars in a single file.
11415 (icalendar--convert-float-to-ical): Checkdoc fixes.
11416
11417 2011-07-25 Deniz Dogan <deniz@dogan.se>
11418
11419 * image.el (insert-image): Clarifying docstring.
11420
11421 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11422
11423 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11424 `tramp-send-command-and-check' if there is no error.
11425 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11426
11427 2011-07-22 Alan Mackenzie <acm@muc.de>
11428
11429 Prevent cc-langs.elc being loaded at run time.
11430
11431 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11432 cc-langs.
11433
11434 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11435 "(require 'cc-langs)". Quote a form so it will evaluate at
11436 (cc-mode's) compilation time.
11437
11438 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11439
11440 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11441 loading. (Bug#9114)
11442
11443 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11444
11445 * window.el (display-buffer-pop-up-window)
11446 (display-buffer-pop-up-side-window)
11447 (display-buffer-in-side-window): Call display-buffer-set-height
11448 and display-buffer-set-width after setting the new window's
11449 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11450
11451 2011-07-20 Sam Steingold <sds@gnu.org>
11452
11453 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11454 (etags-tags-included-tables): Call `convert-standard-filename' on
11455 the file names contained in TAGS so that windows Emacs can handle
11456 TAGS files created by cygwin ctags.
11457
11458 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11459
11460 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11461 which apparently didn't work.
11462
11463 2011-07-19 Roland Winkler <winkler@gnu.org>
11464
11465 * proced.el (proced-send-signal): For *Marked Processes* buffer
11466 put point at beginning of buffer.
11467
11468 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11469
11470 * proced.el (proced-format): Make header lines align with the text
11471 (bug#1779).
11472
11473 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11474
11475 * view.el (view-buffer): Allow running in `special' modes if we're
11476 visiting a file (bug#8615).
11477
11478 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11479
11480 * window.el (display-buffer-alist-of-strings-p)
11481 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11482 New functions.
11483 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11484 more accurately.
11485
11486 2011-07-18 Alan Mackenzie <acm@muc.de>
11487
11488 Fontify declarators properly when, e.g., a jit-lock chunk begins
11489 inside a declaration.
11490
11491 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11492
11493 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11494 New function.
11495 (c-complex-decl-matchers): Insert reference to
11496 c-font-lock-enclosing-decls.
11497
11498 * progmodes/cc-engine.el (c-backward-single-comment):
11499 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11500 to nil around calls to (forward-comment -1).
11501
11502 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11503
11504 * image.el (put-image): Doc typo fix.
11505
11506 * progmodes/etags.el (tags-search): Doc typo fix.
11507
11508 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11509 password if we get errors 550 to 554.
11510
11511 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11512
11513 * net/gnutls.el (gnutls-log-level): Remove.
11514
11515 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11516 indentation character (bug#6380).
11517
11518 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11519
11520 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11521 to clarify what the problem is (bug#4291).
11522
11523 * simple.el (current-kill): Clarify what
11524 `interprogram-paste-function' does (bug#7500).
11525 (auto-fill-mode): Document `auto-fill-function' in relation to
11526 `auto-fill-mode' (bug#2470).
11527
11528 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11529
11530 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11531 method if slot is read-only (bug#9035).
11532
11533 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11534
11535 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11536 * window.el (pop-to-buffer): Select window used even if it was
11537 selected before, see discussion of (Bug#8615), (Bug#6954).
11538 Pass argument NORECORD on to select-frame-set-input-focus.
11539
11540 2011-07-15 Glenn Morris <rgm@gnu.org>
11541
11542 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11543 Respect help-form.
11544
11545 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11546
11547 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11548 (gnutls-negotiate): Use it.
11549
11550 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11551
11552 * net/gnutls.el (gnutls-negotiate):
11553 Upcase `gnutls-algorithm-priority'.
11554
11555 2011-07-15 Glenn Morris <rgm@gnu.org>
11556
11557 * jka-compr.el (jka-compr-verbose): Move from here...
11558 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11559 Add missing :version tag.
11560 * info.el: No need to require jka-compr when compiling.
11561
11562 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11563
11564 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11565 (gnutls-negotiate): Use it.
11566
11567 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11568
11569 * info.el (Info-beginning-of-buffer): New command.
11570 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11571 announcing `b' as the key (bug#8325).
11572 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11573
11574 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11575
11576 * international/mule-cmds.el
11577 (describe-specified-language-support): Make the error message
11578 clearer (bug#8905).
11579
11580 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11581
11582 * isearch.el (isearch-barrier): Add a doc string, since it's
11583 mentioned in a function doc string (bug#8678).
11584
11585 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11586
11587 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11588 buffer argument (Bug#9083) and self-identifying label argument.
11589
11590 2011-07-15 Glenn Morris <rgm@gnu.org>
11591
11592 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11593
11594 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11595
11596 * man.el (Man-fontify-manpage): Fix message when formatting the
11597 man page (bug#7929).
11598
11599 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11600
11601 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11602 argument LRM; if non-nil, append an invisible LRM character to the
11603 buffer name.
11604 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11605 last argument non-nil, when formatting buffer names.
11606 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11607 paragraph direction.
11608
11609 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11610
11611 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11612 the man page name (bug#7929).
11613
11614 * image.el (put-image): Mention the `put-image' overlay property
11615 (bug#7834).
11616
11617 * scroll-bar.el (set-scroll-bar-mode): Mention that
11618 `scroll-bar-mode' lists the values (bug#7772).
11619
11620 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11621 command (bug#7729).
11622
11623 * rect.el (apply-on-rectangle): Return the point after the last
11624 operation.
11625 (string-rectangle): Go to the point after the last operation
11626 (bug#7522).
11627
11628 * printing.el (pr-toggle-region): Clarify the documentation
11629 slightly (bug#7493).
11630
11631 * time.el (display-time-update):
11632 Allow `display-time-mail-function' to return nil (bug#7158).
11633 Fix suggested by Detlev Zundel.
11634
11635 * vc/diff.el (diff): Clarify the order the file names are read
11636 (bug#7111).
11637
11638 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11639 the doc string (bug#7015).
11640
11641 * font-lock.el (font-lock-maximum-decoration): Mention what
11642 numeric levels mean (bug#6935).
11643
11644 * startup.el (initial-buffer-choice): Don't mention the `none'
11645 selection, which is against policy.
11646
11647 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11648
11649 * window.el (display-buffer-normalize-special):
11650 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11651
11652 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11653
11654 * subr.el (version<, version<=, version=): Mention "-CVS" and
11655 "-12345" alpha version numbers.
11656
11657 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11658
11659 * bindings.el: Add advertised binding for set-mark-command
11660 (Bug#5772).
11661
11662 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11663
11664 * bindings.el (mode-line-other-buffer):
11665 * bookmark.el (bookmark-bmenu-2-window):
11666 * bs.el (bs-cycle-next, bs-cycle-previous):
11667 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11668 switch-to-buffer.
11669
11670 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11671 Delete.
11672
11673 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11674
11675 * follow.el (follow-debug-message, follow-redisplay):
11676 * jka-cmpr-hook.el (with-auto-compression-mode):
11677 Fix typos in docstrings.
11678
11679 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11680
11681 * subr.el (with-silent-modifications): Clarify somewhat what the
11682 macro inhibits (bug#6525).
11683
11684 * simple.el (eval-expression): Note what it does if called
11685 interactively (bug#6495).
11686
11687 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11688
11689 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11690 Use pop-to-buffer buffer-or-name if it is nil.
11691
11692 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11693 Remove switch-to-buffer.
11694
11695 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11696
11697 * files.el (make-directory): Clarify that an error will be raised
11698 if there's an error (bug#6397).
11699
11700 * startup.el (initial-buffer-choice): Add `none' as a choice
11701 (bug#6234).
11702
11703 * subr.el (add-hook): Clarify section about buffer-local hooks
11704 (bug#6218).
11705
11706 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11707
11708 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * tabify.el (untabify): Preserve the current column so that point
11711 doesn't move (bug#6032).
11712
11713 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11714
11715 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11716 Rewrite to avoid awkward possessive "s" (bug#5986).
11717
11718 2011-07-13 Glenn Morris <rgm@gnu.org>
11719
11720 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11721 (dired-insert-directory): Give a message the first time
11722 if ls is found not to support --dired.
11723
11724 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11725
11726 * simple.el (toggle-truncate-lines): Clarify what is toggled
11727 (bug#5580). Text by Drew Adams.
11728
11729 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11730
11731 * simple.el (blink-matching-open): Make the error message from the
11732 last change less verbose.
11733
11734 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11735
11736 * font-lock.el (font-lock-comment-face): Use the high contrast
11737 "yellow" color for font-lock-comment-face on low color terminals
11738 using a dark background color (bug#4221).
11739
11740 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11741
11742 * dired.el (dired-insert-set-properties): Make the doc string
11743 reflect what it does now (bug#5325).
11744
11745 * simple.el (blink-matching-open): Say that we were unable to find
11746 the match within the limit, if we're limited (bug#5122).
11747
11748 * international/mule-cmds.el (prefer-coding-system): Add an
11749 example (bug#4869).
11750
11751 * progmodes/etags.el (tags-search): Document `file-list-form'
11752 (bug#4731).
11753
11754 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11755
11756 * net/browse-url.el (browse-url-default-browser)
11757 (browse-url-browser-function): Make the default browser choice a
11758 bit more logical (bug#4300). Also clean up the doc string.
11759
11760 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11761
11762 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11763 binary endings (bug#4440).
11764
11765 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11766
11767 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11768 which can be pretty annoying (bug#8971).
11769
11770 * jka-compr.el (jka-compr-verbose): New variable, and use
11771 throughout (bug#8971).
11772
11773 * info.el (Info-find-file): Fall back on the installation
11774 directory if we can't find the info node anywhere else.
11775
11776 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11777
11778 * vc/vc.el (vc-revert-file):
11779 Don't set file time-stamp in the past. (Bug#5181)
11780
11781 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11782
11783 * files.el (after-find-file): Give a better error message when
11784 trying to find a symlink that points to a file that doesn't exist
11785 (bug#4398).
11786
11787 * progmodes/cc-vars.el: Remove (probably) misleading comment
11788 (bug#4396).
11789
11790 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11791
11792 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11793
11794 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11795
11796 * mouse-sel.el: Hack restoring functionality, while keeping
11797 compatibility with 2010-07-03 changes to mouse selection.
11798 (mouse-sel-primary-overlay): New var.
11799 (mouse-sel-selection-alist): Use it.
11800 (mouse-sel-mode): Doc fix; remove points that are default features
11801 of mouse.el.
11802
11803 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11804
11805 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11806 Fix previous fix (bug#2490).
11807
11808 2011-07-12 Roland Winkler <winkler@gnu.org>
11809
11810 * textmodes/bibtex.el (bibtex-initialize):
11811 Use pop-to-buffer-same-window.
11812 (bibtex-search-entries): Fix interactive call.
11813
11814 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11815
11816 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11817 Fontise bytecomp Error lines more correctly (bug#2490).
11818 Fix suggested by Johan Bockgård.
11819
11820 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11821
11822 * dired-x.el (dired-guess-default): Use `delete-dups'.
11823
11824 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11825
11826 * dired.el (dired-mark-prompt):
11827 * dired-aux.el (dired-read-shell-command): Doc fix.
11828
11829 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11830
11831 * mail/sendmail.el (sendmail-query-once):
11832 Use `customize-save-variable' unconditionally, now that it works under
11833 emacs -Q.
11834
11835 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11836
11837 * cus-edit.el (custom-file): Take an optional no-error variable.
11838 (customize-save-variable): Set the variable, and give a warning if
11839 running under "emacs -q".
11840
11841 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11842
11843 * loadhist.el (unload-feature-special-hooks):
11844 Add `auto-coding-functions', `fill-nobreak-predicate' and
11845 `find-directory-functions' (bug#5327).
11846
11847 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11848
11849 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11850
11851 * cus-edit.el (custom-guess-name-alist): -alist variables should
11852 use the `alist' type (bug#3120). Suggested by Drew Adams.
11853
11854 * printing.el: Add documentation to all the `pr-toggle-' commands.
11855
11856 2011-07-11 Leo Liu <sdl.web@gmail.com>
11857
11858 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11859 backends where it makes sense (bug#2623).
11860
11861 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11862
11863 * dired-x.el (dired-guess-default): Remove duplicate shell command
11864 entries (bug#2028).
11865 (dired-guess-default): Fix grammar in doc string (bug#2028).
11866 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11867
11868 * subr.el (remove-duplicates): New conveniency function.
11869
11870 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11871
11872 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11873 (bug#1526).
11874
11875 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11876
11877 * window.el (display-buffer-normalize-default): Don't invert
11878 meaning of even-window-heights. Reported by Eli Zaretskii
11879 <eliz@gnu.org>.
11880
11881 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11882
11883 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11884
11885 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11886
11887 * window.el (display-buffer): Fix arguments to
11888 display-buffer-reuse-window in last change.
11889
11890 * faces.el (link): Use a less saturated blue on light backgrounds.
11891
11892 * startup.el (fancy-startup-text, fancy-about-text)
11893 (fancy-startup-tail): Use font-lock faces, for background safety.
11894
11895 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11896
11897 * emulation/viper-cmd.el (viper-change-state-to-vi):
11898 Limit triggering of abbrev expansion (Bug#9038).
11899
11900 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11901
11902 * window.el (display-buffer-default-specifiers): Remove.
11903 (display-buffer-macro-specifiers): Remove default specifiers.
11904 (display-buffer-alist): Default to nil.
11905 (display-buffer-reuse-window): New optional argument other-window.
11906 (display-buffer-pop-up-window): Allow splitting internal
11907 windows. Check whether a live window was created.
11908 (display-buffer-other-window-means-other-frame)
11909 (display-buffer-normalize-arguments): Rename to
11910 display-buffer-normalize-argument and rewrite. Set the
11911 other-window specifier.
11912 (display-buffer-normalize-special): New function.
11913 (display-buffer-normalize-options): Rename to
11914 display-buffer-normalize-default and rewrite.
11915 (display-buffer-normalize-options-inhibit): Remove.
11916 (display-buffer-normalize-specifiers): Rewrite.
11917 (display-buffer): Process other-window specifier and call
11918 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11919 more faithfully.
11920 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11921 (display-buffer-alist-set): Don't handle 'unset default values.
11922 (display-buffer-in-window, display-buffer-alist-set):
11923 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11924 <tassilo@member.fsf.org>.
11925
11926 2011-07-09 Leo Liu <sdl.web@gmail.com>
11927
11928 * register.el (insert-register): Restore accidental change on
11929 2011-06-26. (Bug#9028)
11930
11931 2011-07-09 Glenn Morris <rgm@gnu.org>
11932
11933 * subr.el (remq): Handle the empty list. (Bug#9024)
11934
11935 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11936
11937 * mail/sendmail.el (send-mail-function): No longer delay custom
11938 initialization.
11939 * custom.el (custom-initialize-delay): Doc fix.
11940
11941 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11942
11943 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11944
11945 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11946
11947 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11948 human-friendly prompt.
11949
11950 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11951
11952 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11953 provided by a particular plugin.
11954
11955 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11956
11957 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11958 save customizations (with "emacs -Q"), just set the variable
11959 instead of erroring out.
11960
11961 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11962
11963 2011-07-08 Juri Linkov <juri@jurta.org>
11964
11965 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11966 (archive-zip-update-case): Use 7z if found by `executable-find'.
11967 The order of searching the available programs is the same as in
11968 `archive-zip-extract' (bug#8968).
11969
11970 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11971
11972 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11973 (menu-bar-options-menu): Tweak descriptions.
11974
11975 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11976
11977 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11978 menu items into verb phrases (bug#1421). Also refill to fit under
11979 80 columns.
11980
11981 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11982
11983 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11984 (Info-read-node-name): Doc fix (Bug#1084).
11985
11986 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11987 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11988 (end-of-sexp, beginning-of-sexp)
11989 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11990 (forward-symbol, forward-same-syntax, word-at-point)
11991 (sentence-at-point): Doc fix (Bug#1144).
11992
11993 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11994
11995 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11996 should cover it (bug#1281).
11997
11998 * cus-edit.el (custom-show): Mark as obsolete.
11999
12000 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12001 negotiation fails, then possibly try again with a non-encrypted
12002 connection (bug#9017).
12003
12004 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12005 be used.
12006
12007 2011-07-07 Richard Stallman <rms@gnu.org>
12008
12009 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12010 property, and handle its changed format.
12011 Look for the correct line number.
12012 Use file's line contents (but not past first =) to find
12013 correct line in message.
12014
12015 2011-07-07 Kenichi Handa <handa@m17n.org>
12016
12017 * international/characters.el (build-unicode-category-table):
12018 Delete it.
12019 (unicode-category-table): Set it by unicode-property-table-internal.
12020
12021 * international/mule-cmds.el (char-code-property-alist): Move to
12022 to src/chartab.c.
12023 (get-char-code-property): Call unicode-property-table-internal to
12024 load a file. Call get-unicode-property-internal where necessary.
12025 (put-char-code-property): Call unicode-property-table-internal to
12026 load a file. Call put-unicode-property-internal where necessary.
12027 put-unicode-property-internal where necessary.
12028 (char-code-property-description):
12029 Call unicode-property-table-internal to load a file.
12030
12031 * international/charprop.el:
12032 * international/uni-bidi.el:
12033 * international/uni-category.el:
12034 * international/uni-combining.el:
12035 * international/uni-comment.el:
12036 * international/uni-decimal.el:
12037 * international/uni-decomposition.el:
12038 * international/uni-digit.el:
12039 * international/uni-lowercase.el:
12040 * international/uni-mirrored.el:
12041 * international/uni-name.el:
12042 * international/uni-numeric.el:
12043 * international/uni-old-name.el:
12044 * international/uni-titlecase.el:
12045 * international/uni-uppercase.el: Regenerate.
12046
12047 * loadup.el: Load international/charprop.el before
12048 international/characters.
12049
12050 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12051
12052 * window.el (next-buffer, previous-buffer): Signal an error if
12053 called from a minibuffer window.
12054
12055 * bindings.el: Revert 2011-07-04 change.
12056
12057 2011-07-06 Richard Stallman <rms@gnu.org>
12058
12059 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12060 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12061 Treat markers like ints.
12062 (rmail-mime-entity): Doc fix.
12063
12064 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12065
12066 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12067 defcustom again for backwards compatibility.
12068
12069 * simple.el (shell-command-on-region): Fill.
12070
12071 * dired-aux.el (dired-kill-line): Add a doc string.
12072
12073 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12074 to "\\sw\\|\\s_" (bug#358).
12075
12076 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12077 (dired-unmark-backward): Ditto.
12078 (dired-flag-backup-files): Ditto.
12079
12080 * dired-x.el (dired-mark-sexp): Ditto.
12081
12082 2011-07-06 Richard Stallman <rms@gnu.org>
12083
12084 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12085 (rmail-mime-entity): New arg TRUNCATED.
12086 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12087 New functions.
12088 (rmail-mime-save): Warn if entity is truncated.
12089 (rmail-mime-toggle-hidden): Likewise, for showing.
12090 (rmail-mime-process-multipart): Record when an entity is truncated.
12091
12092 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12093 if ENTITY is a string.
12094
12095 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12096
12097 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12098 of faces when `M-C-x'-ing their definitions (bug#8378).
12099 Also clean up the code slightly.
12100
12101 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12102 because that makes the colors go away.
12103
12104 * mail/sendmail.el (send-mail-function): Change the default to
12105 `sendmail-query-once'.
12106 (sendmail-query-once): Add an autoload cookie.
12107
12108 * net/network-stream.el (network-stream-open-starttls): Try using
12109 a plain connection even if the server offered STARTTLS, and we
12110 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12111 capability. This should make smtpmail.el work in slightly more
12112 configurations.
12113
12114 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12115
12116 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12117 New defun.
12118 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12119
12120 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12121
12122 * progmodes/sql.el: Version 3.0
12123 (sql-product-alist): Add product :completion-object,
12124 :completion-column, and :statement attributes.
12125 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12126 (sql-mode-syntax-table): Mark all punctuation.
12127 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12128 ansi keywords.
12129 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12130 (sql-mode-oracle-font-lock-keywords): Improve.
12131 (sql-oracle-show-reserved-words): New function for development.
12132 (sql-product-font-lock): Simplify for source code buffers.
12133 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12134 New functions.
12135 (sql-highlight-product): Set product specific syntax table.
12136 (sql-mode-map): Add statement movement functions.
12137 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12138 New variable.
12139 (sql-statement-regexp, sql-beginning-of-statement)
12140 (sql-end-of-statement, sql-signum): New functions.
12141 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12142 (sql-show-sqli-buffer): Bug fix.
12143 (sql-interactive-mode): Store connection data as buffer local.
12144 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12145 with sql-interactive-mode.
12146 (sql-save-connection): Save buffer local settings.
12147 (sql-connection-menu-filter): Change menu entry name.
12148 (sql-product-interactive): Bug fix.
12149 (sql-preoutput-hold): New variable.
12150 (sql-interactive-remove-continuation-prompt): Bug fixes.
12151 (sql-debug-redirect): New variable.
12152 (sql-str-literal): New function.
12153 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12154 Redesign.
12155 (sql-oracle-save-settings, sql-oracle-restore-settings)
12156 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12157 (sql-completion-object, sql-completion-column)
12158 (sql-completion-sqlbuf): New variables.
12159 (sql-build-completions-1, sql-build-completions)
12160 (sql-try-completion): New functions.
12161 (sql-read-table-name): Use them.
12162 (sql-contains-names): New buffer local variable.
12163 (sql-list-all, sql-list-table): Use it.
12164 (sql-oracle-completion-types): New variable.
12165 (sql-oracle-completion-object, sql-sqlite-completion-object)
12166 (sql-postgres-completion-object): New functions.
12167
12168 2011-07-06 Glenn Morris <rgm@gnu.org>
12169
12170 * window.el (pop-to-buffer): Doc fix.
12171
12172 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12173
12174 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12175
12176 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12177
12178 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12179
12180 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12181
12182 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12183
12184 * button.el (button): Inherit from link face. Suggested by Dan
12185 Nicolaescu.
12186
12187 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * progmodes/gdb-mi.el: Fit in 80 columns.
12190 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12191 switch-to-buffer.
12192
12193 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12194 if imenu is simply not configured (bug#8941).
12195
12196 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12197
12198 * allout.el (allout-post-undo-hook): New allout outline-change
12199 event hook to signal undo activity.
12200 (allout-post-command-business): Run allout-post-undo-hook if an
12201 undo just occurred.
12202 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12203 * allout-widgets.el (allout-widgets-after-undo-function):
12204 Ensure the integrity of the current item's decoration after it has been
12205 in the vicinity of an undo.
12206 (allout-widgets-mode): Include allout-widgets-after-undo-function
12207 on the new allout-post-undo-hook.
12208
12209 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12212 Let define-derived-mode define it.
12213 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12214 cycles of abbrev-table inheritance (bug#8998).
12215
12216 2011-07-05 Roland Winkler <winkler@gnu.org>
12217
12218 * textmodes/bibtex.el: Add support for biblatex.
12219 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12220 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12221 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12222 (bibtex-entry-alist, bibtex-field-alist): New variables.
12223 (bibtex-entry-field-alist): Obsolete alias for
12224 bibtex-BibTeX-entry-alist.
12225 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12226 (bibtex-set-dialect): New command.
12227 (bibtex-entry-type, bibtex-entry-head)
12228 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12229 Bind via bibtex-set-dialect.
12230 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12231 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12232 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12233 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12234 Define via bibtex-set-dialect.
12235 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12236 Obey bibtex-no-opt-remove-re.
12237 (bibtex-vec-push, bibtex-vec-incr): New functions.
12238 (bibtex-format-entry, bibtex-field-list)
12239 (bibtex-print-help-message, bibtex-validate)
12240 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12241
12242 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * progmodes/compile.el (compilation-goto-locus):
12245 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12246 * bs.el (bs-cycle-next, bs-cycle-previous):
12247 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12248 * bindings.el (mode-line-other-buffer):
12249 * autoinsert.el (auto-insert):
12250 * arc-mode.el (archive-extract):
12251 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12252
12253 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12254
12255 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12256 Fix check of `emacs-lock-unlockable-modes'.
12257 Coerce true values of `emacs-lock--try-unlocking' to t.
12258
12259 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12260
12261 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12262 * emacs-lock.el: New file.
12263
12264 2011-07-05 Julien Danjou <julien@danjou.info>
12265
12266 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12267 than `boundp' to check if face is set.
12268
12269 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12270
12271 * register.el (registerv-make):
12272 * window.el (window-min-height): Fix typos in docstrings.
12273
12274 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12275
12276 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12277 Update doc string.
12278
12279 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12280
12281 * server.el (server-execute): Catch quit and call
12282 `server-return-error' to pass the error back to emacsclient and
12283 close the connection (bug#8942).
12284
12285 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12286
12287 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12288 insecure exception for current topic. Also note that auto-saves
12289 are handled differently.
12290
12291 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12292 State variables for tracking auto-save inhibition situation.
12293
12294 (allout-write-contents-hook-handler): Rename from
12295 'allout-write-file-hook-handler', and describe how it depends on
12296 write-contents-functions sensitivity to non-nil value to prevent
12297 file write.
12298
12299 (allout-auto-save-hook-handler): Remove. auto-save does not check
12300 this in individual buffers, only in the starting buffer, so this
12301 is not the right way for us to inhibit auto-save in a buffer
12302 according to its condition.
12303
12304 (allout-mode): Use new allout-write-contents-hook-handler, and
12305 only with write-contents-functions. Remove auto-save provisions -
12306 they're implemented elsewhere.
12307
12308 (allout-before-change-handler): If undo is in progress, note that
12309 for attention of allout-post-command-business.
12310
12311 (allout-post-command-business): If the command we're following was
12312 an undo, check for change in the status of encrypted items and
12313 adjust auto-save inhibitions accordingly.
12314
12315 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12316 according to whether there are or aren't any plain-text topics
12317 pending encryption.
12318
12319 (allout-inhibit-auto-save-info-for-decryption):
12320 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12321 if there are plain-text topics pending encryption.
12322
12323 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12324 buffer-saved-size and some allout state to not inhibit auto-saves
12325 if there are no longer any plain-text topics pending encryption.
12326
12327 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12328 No longer provide for exemption of the current topic.
12329
12330 2011-07-04 Juri Linkov <juri@jurta.org>
12331
12332 Add 7z operations to delete and save changed members (bug#8968).
12333 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12334 New defcustoms.
12335 (archive-7z-write-file-member): New function.
12336 (archive-7z-summarize): Fix the number of dashes in the
12337 listing output.
12338
12339 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12340
12341 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12342 (bug#8958).
12343
12344 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12345
12346 * bindings.el: Ignore next-buffer and previous-buffer in
12347 minibuffer-local-map.
12348
12349 * font-lock.el (font-lock-builtin-face): Change light background
12350 color to dark slate blue (Bug#6693).
12351
12352 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12353
12354 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12355
12356 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12357
12358 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12359 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12360 Add switch-to-buffer.
12361
12362 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12363
12364 * isearch.el (isearch-search-fun-function): Clarify further the
12365 meaning of the function returned.
12366
12367 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12368
12369 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12370
12371 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12372 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12373 Use it.
12374 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12375 `tramp-default-remote-path' does not exist.
12376 (tramp-send-command-and-read): New optional argument NOERROR.
12377 (tramp-open-connection-setup-interactive-shell)
12378 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12379 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12380 (tramp-process-sentinel): Flush also process' connection property.
12381 (tramp-sh-handle-start-file-process): Do not set process
12382 sentinel. It is done now ...
12383 (tramp-maybe-open-connection): ... here. (Bug#8929)
12384
12385 2011-07-04 MON KEY <monkey@sandpframing.com>
12386
12387 * play/animate.el (animate-string): Doc fixes and allow changing
12388 the buffer name (bug#5417).
12389
12390 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12391
12392 * play/animate.el (animation-buffer-name): Rename from *animate*.
12393
12394 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12395
12396 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12397 This is simpler and helps future-proof the code.
12398 (timer-until): Use time-subtract and float-time.
12399 (timer--time-less-p): Use time-less-p.
12400
12401 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12402
12403 * type-break.el (timep): Use the value of `float-time' to avoid a
12404 byte-compiler warning.
12405
12406 * server.el (server-eval-and-print): Return any result, even nil.
12407
12408 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12409
12410 * type-break.el: Accept time formats that the builtins accept.
12411 (timep, type-break-time-difference): Accept any format that
12412 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12413 This is simpler and helps future-proof the code.
12414 (type-break-time-difference): Round rather than ignoring
12415 subseconds components.
12416
12417 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12418
12419 * info.el (Info-apropos-matches): Make non-interactive, since it
12420 doesn't seem to do anything useful as a command (bug#8829).
12421
12422 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12423
12424 * frame.el (frame-background-mode, frame-set-background-mode):
12425 Move from faces.el.
12426 (frame-default-terminal-background): New function.
12427
12428 * custom.el (custom-push-theme): Don't record faces in `changed'
12429 theme; this doesn't work correctly for per-frame face settings.
12430 (disable-theme): Use face-set-after-frame-default to reset faces.
12431 (custom--frame-color-default): New function.
12432
12433 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12434
12435 * dired.el (dired-flagging-regexp): Remove unused variable
12436 (bug#8769).
12437
12438 2011-03-29 Kevin Ryde <user42@zip.com.au>
12439
12440 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12441 `perl-Test2' extend to match possible "fail #N" rep count
12442 (bug#8377).
12443
12444 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12445
12446 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12447 `smtpmail-via-smtp' now returns the error instead of nil.
12448
12449 * isearch.el (isearch-search-fun-function): Clarify the doc string
12450 (bug#8101).
12451
12452 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12453
12454 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12455 unnecessary spaces (bug#8987).
12456
12457 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12458
12459 * net/network-stream.el (open-network-stream): Use the
12460 :end-of-capability command thoughout.
12461
12462 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12463
12464 * net/network-stream.el (open-network-stream): Add the
12465 :end-of-capability command parameter, used by pop3.el.
12466
12467 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12468
12469 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12470
12471 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12472 for list)" (bug#6475).
12473
12474 * files.el (file-expand-wildcards): Ignore non-readable
12475 sub-directories while trying to find matches instead of signaling
12476 an error (bug#6297).
12477
12478 * man.el (Man-reference-regexp): Allow matching possible
12479 word-wrapped references (bug#6289).
12480
12481 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12482 for consistency with the other vc buffers (bug#6197).
12483 (vc-checkin): Ditto.
12484
12485 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12486
12487 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12488
12489 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12490
12491 * custom.el (defcustom): Clarify that :set is only used in the
12492 Customize user interface (bug#6089).
12493
12494 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12495 associated with a file, refuse to run instead of erroring out
12496 (bug#6084).
12497
12498 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12499 the doc string, since it appears that using `fill-column' always
12500 controls the width (bug#7845).
12501
12502 * simple.el (shell-command-on-region): Say where the error output
12503 went if `shell-command-default-error-buffer' is set (bug#6857).
12504
12505 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12506
12507 * allout.el (allout-yank-processing): Adjust cursor position for
12508 backwards-deleted space.
12509
12510 (allout-rebullet-heading): Register changes with
12511 allout-exposure-changed-hook, so the modified topic is properly
12512 decorated.
12513
12514 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12515
12516 * minibuffer.el (completion-in-region): Document PREDICATE
12517 (bug#7136).
12518
12519 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12520 of keyword/argument pairs (bug#6904).
12521
12522 * replace.el (multi-occur):
12523 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12524
12525 2011-07-02 Drew Adams <drew.adams@oracle.com>
12526
12527 * dired.el (dired-mark-if): Make the message about whether it's
12528 marking or unmarking clearer (bug#8523).
12529
12530 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12531
12532 * disp-table.el (display-table-print-array): New function.
12533 (describe-display-table): Use it to print the vectors more pretty
12534 (Bug#8859).
12535
12536 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12537
12538 * window.el (window-state-get-1): Don't assign clone numbers.
12539 Add clone-of item to list of window parameters.
12540 (window-state-put-2): Don't process clone numbers.
12541 (display-buffer-alist): Fix doc-string.
12542
12543 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * subr.el (remq): Don't allocate if it's not needed.
12546 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12547 (keymap--merge-bindings): New functions.
12548 (keymap-canonicalize): Use them to refine the canonicalization.
12549 * minibuffer.el (minibuffer-local-completion-map)
12550 (minibuffer-local-must-match-map): Move initialization from C.
12551 (minibuffer-local-filename-completion-map): Move initialization from C;
12552 don't inherit from anything here.
12553 (minibuffer-local-filename-must-match-map): Make obsolete.
12554 (completing-read-default): Use make-composed-keymap to combine
12555 minibuffer-local-filename-completion-map with either
12556 minibuffer-local-must-match-map or
12557 minibuffer-local-filename-completion-map.
12558
12559 2011-07-01 Glenn Morris <rgm@gnu.org>
12560
12561 * type-break.el (type-break-time-sum): Use dolist.
12562
12563 * textmodes/flyspell.el (flyspell-word-search-backward):
12564 Replace CL function.
12565
12566 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * mouse.el (mouse--strip-first-event): New function.
12569 (function-key-map): Use it to map fringe clicks to normal clicks
12570 by default.
12571
12572 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12573 (vc-bzr-revision-completion-table): Add support for annotate and date.
12574
12575 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12576 inherit from parent.
12577
12578 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12579
12580 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12581 (dired-show-file-type): Doc fixup (bug#8818).
12582
12583 * dired.el (dired-mode): Fix up the doc string as suggested by
12584 Drew Adams (bug#8817).
12585
12586 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12587 cookie, since the manual says that it should be possible to add
12588 this function to `find-file-hook' (bug#8709).
12589
12590 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12591
12592 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12593 here. Noted Ted Zlatanov as the maintainer.
12594 (cfengine-common-settings, cfengine-common-syntax): New functions
12595 to set up common things between `cfengine-mode' and
12596 `cfengine3-mode'.
12597 (cfengine3-mode): New mode.
12598 (cfengine3-defuns cfengine3-defuns-regex
12599 (cfengine3-class-selector-regex cfengine3-category-regex)
12600 (cfengine3-vartypes cfengine3-font-lock-keywords)
12601 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12602 (cfengine3-indent-line): Add from cfengine3.el.
12603
12604 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12605
12606 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12607
12608 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12609
12610 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12611
12612 * window.el (same-window-buffer-names, same-window-regexps)
12613 (same-window-p, special-display-frame-alist)
12614 (special-display-popup-frame, special-display-function)
12615 (special-display-buffer-names, special-display-regexps)
12616 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12617 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12618 (split-window-preferred-function, split-height-threshold)
12619 (split-width-threshold, even-window-heights)
12620 (display-buffer-mark-dedicated, window-splittable-p)
12621 (split-window-sensibly, window-safely-shrinkable-p):
12622 Un-obsolete.
12623 (display-buffer): Don't spread args with function specifier
12624 because special-display-popup-frame won't like it.
12625
12626 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12627
12628 Time-stamp simplifications and fixes.
12629 These improve accuracy slightly, and future-proof the code
12630 against some potential changes to current-time format.
12631
12632 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12633 by using time-since and float-time.
12634
12635 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12636 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12637 + NNN microseconds".
12638
12639 * type-break.el (type-break-time-sum): Rewrite using time-add.
12640
12641 * play/hanoi.el (hanoi-current-time-float): Remove.
12642 All uses replaced by float-time.
12643
12644 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12645 This yields a more-accurate answer.
12646 (rng-time-to-float): Remove; no longer needed.
12647
12648 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12649
12650 * calendar/timeclock.el (timeclock-seconds-to-time):
12651 Defalias to seconds-to-time, since they're the same thing.
12652
12653 * emacs-lisp/elp.el (elp-elapsed-time):
12654 * emacs-lisp/benchmark.el (benchmark-elapse):
12655 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12656
12657 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12658
12659 * window.el (bury-buffer): Don't iconify the only frame.
12660 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12661 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12662
12663 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12664
12665 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12666 Add mouse-yank-primary.
12667
12668 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12669
12670 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12671
12672 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12675 (find-library-name): Use it to find relative load names when provided
12676 absolute file name (bug#8803).
12677
12678 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12679
12680 * textmodes/flyspell.el (flyspell-word): Consider words that
12681 differ only in case as potential doublons (bug#5687).
12682
12683 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12684 Remove two rather uninteresting debugging-like messages to make
12685 debbugs.el more silent.
12686
12687 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12688 a password-like phrase.
12689
12690 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12691
12692 * progmodes/cc-guess.el: New file.
12693
12694 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12695
12696 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12697 derived from `c-basic-common-init'.
12698
12699 * progmodes/cc-mode.el (top-level): Require cc-guess.
12700 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12701
12702 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12703
12704 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12705
12706 2011-06-30 Alan Mackenzie <acm@muc.de>
12707
12708 * progmodes/cc-engine.el (c-guess-continued-construct):
12709 Correct the handling of template-args-cont, particularly for when font
12710 lock is disabled. Name this case as "CASE G".
12711
12712 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12713
12714 * allout.el (allout-yank-processing): Fix injection of extra space
12715 between bullet and non-whitespace character in first topic when
12716 pasting, ensuring that the actual spacing in the pasted topic
12717 following the bullet char is preserved. This extra space was
12718 causing pasted encrypted topics to get a decrypted status even
12719 when the content was actually still encrypted. Now the decryption
12720 status from before the paste is preserved.
12721
12722 (allout-flag-region): Set all allout overlays so they evaporate
12723 when reduced to zero length (evanescent), to prevent overlay
12724 leakage.
12725
12726 2011-06-30 Glenn Morris <rgm@gnu.org>
12727
12728 * w32-fns.el (w32-charset-info-alist): Declare.
12729
12730 * find-dired.el (find-grep-options): Simplify.
12731
12732 * term/ns-win.el (ns-set-resource): Declare.
12733
12734 * ses.el (row, col): Declare dynamic variables honestly.
12735
12736 * textmodes/reftex-parse.el (index-tags): Declare.
12737
12738 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12739
12740 * cus-edit.el (customize-push-and-save): New function.
12741
12742 * files.el (hack-local-variables-confirm): Use it.
12743
12744 * custom.el (load-theme): New arg NO-CONFIRM.
12745 Use customize-push-and-save (Bug#8720).
12746 (custom-enabled-themes): Doc fix.
12747
12748 * cus-theme.el (customize-create-theme)
12749 (custom-theme-merge-theme): Callers to load-theme changed.
12750
12751 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12752
12753 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12754 short URLs have at least one dot in them (bug #7614).
12755
12756 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12757 nil, because using a pty is apparently too slow (bug #895).
12758
12759 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12760
12761 * mail/sendmail.el (sendmail-query-once): New function.
12762 (sendmail-query-once-function): New variable.
12763
12764 2011-06-29 Glenn Morris <rgm@gnu.org>
12765
12766 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12767
12768 * ses.el (top-level): Require cl when compiling.
12769 (ses-set-localvars): Fix error statement.
12770 Call it at compile time to silence a storm of warnings.
12771
12772 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12773
12774 * window.el (normalize-live-buffer): Rename to
12775 window-normalize-buffer.
12776 (normalize-live-frame): Rename to window-normalize-frame.
12777 (normalize-any-window): Rename to window-normalize-any-window.
12778 (normalize-live-window): Rename to window-normalize-live-window.
12779 (make-window-atom): Rename to window-make-atom.
12780 (window-resize-reset): Rename to window--resize-reset.
12781 (window-resize-reset-1): Rename to window--resize-reset-1.
12782 (resize-mini-window): Rename to window--resize-mini-window.
12783 (resize-subwindows-skip-p): Rename to
12784 window--resize-subwindows-skip-p.
12785 (resize-subwindows-normal): Rename to
12786 window--resize-subwindows-normal.
12787 (resize-subwindows): Rename to window--resize-subwindows.
12788 (resize-other-windows): Rename to window--resize-siblings.
12789 (resize-this-window): Rename to window--resize-this-window.
12790 (resize-root-window): Rename to window--resize-root-window.
12791 (resize-root-window-vertically): Rename to
12792 window--resize-root-window-vertically.
12793 (normalize-buffer-to-display): Rename to
12794 window-normalize-buffer-to-display.
12795 (normalize-buffer-to-switch-to): Rename to
12796 window-normalize-buffer-to-switch-to.
12797 Correspondingly update all callers of the functions listed
12798 above.
12799 (display-buffer-alist, display-buffer-normalize-arguments)
12800 (display-buffer-normalize-options, display-buffer)
12801 (display-buffer-alist-set): Use "function" instead of
12802 "fun-with-args".
12803
12804 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12805
12806 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12807 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12808 debbugs.gnu.org. Mention acknowledgment email.
12809
12810 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12811
12812 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12813 buffer multibyteness, since it shouldn't matter.
12814
12815 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12816
12817 * window.el (display-buffer-in-side-window): Handle dedicated
12818 windows as in display-buffer-reuse-window.
12819 (display-buffer-normalize-alist): Use value of override
12820 specifier.
12821 (display-buffer-normalize-specifiers): Use value of
12822 other-window-means-other-frame specifier.
12823 (display-buffer-alist): Rewrite some texts in widgets.
12824 (display-buffer): Spread arguments when calling function
12825 specified by fun-with-args.
12826
12827 2011-06-28 Deniz Dogan <deniz@dogan.se>
12828
12829 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12830 Unnest `let'.
12831
12832 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12833 selectors (Bug#5732).
12834 (css-proprietary-nmstart-re): Use `regexp-opt'.
12835
12836 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12837
12838 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12839 (eshell-ls-date-format): New defcustom.
12840 (eshell-ls-file): Use it.
12841
12842 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12843
12844 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12845
12846 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12847
12848 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12849 (ange-ftp-make-tmp-name): New arg.
12850 (ange-ftp-file-local-copy): Use it.
12851
12852 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12853
12854 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12855 no-conversion (Bug#8870).
12856
12857 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12858
12859 * window.el (window-right, window-left, window-child)
12860 (window-child-count, window-last-child)
12861 (window-iso-combination-p, walk-window-tree-1)
12862 (window-atom-check-1, window-tree-1, delete-window)
12863 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12864 new naming conventions - window-vchild, window-hchild,
12865 window-next and window-prev are now called window-top-child,
12866 window-left-child, window-next-sibling and window-prev-sibling
12867 respectively.
12868 (resize-window-reset): Rename to window-resize-reset.
12869 (resize-window-reset-1): Rename to window-resize-reset-1.
12870 (resize-window): Rename to window-resize.
12871 (window-min-height, window-min-width)
12872 (resize-mini-window, resize-this-window, resize-root-window)
12873 (resize-root-window-vertically, adjust-window-trailing-edge)
12874 (enlarge-window, shrink-window, maximize-window)
12875 (minimize-window, delete-window, quit-restore-window)
12876 (split-window, balance-windows, balance-windows-area-adjust)
12877 (balance-windows-area, window-state-put-2)
12878 (display-buffer-even-window-sizes, display-buffer-set-height)
12879 (display-buffer-set-width, set-window-text-height)
12880 (fit-window-to-buffer): Rename all "resize-window" prefixed
12881 calls to use the "window-resize" prefix convention.
12882 (display-buffer-alist): Fix symbol for label specifier.
12883 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12884 corresponding specifier.
12885 Reported by Juanma Barranquero <lekktu@gmail.com>.
12886
12887 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12888
12889 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12890 convention.
12891 (ses-call-printer): Does not pass an empty string to formatter when the
12892 cell is empty to keep from barking printer Calc math-format-value.
12893
12894 2011-06-27 Richard Stallman <rms@gnu.org>
12895
12896 * battery.el (battery-mode-line-limit): New variable.
12897 (battery-update): Handle it.
12898
12899 * mail/rmailmm.el (rmail-mime-process-multipart):
12900 Handle truncated messages.
12901
12902 2011-06-27 Glenn Morris <rgm@gnu.org>
12903
12904 * progmodes/flymake.el (flymake-err-line-patterns):
12905 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12906
12907 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12908
12909 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12910 (ses--clean-!, ses--clean-_): New functions.
12911 (ses-range): Add configurability of readout order, and conversion
12912 to Calc vector.
12913
12914 * ses.el (ses-repair-cell-reference-all): New function.
12915 (ses-cell-symbol): Set macro as safe, so that it can be used in
12916 formulas.
12917
12918 * ses.el: Update cycle detection algorithm.
12919 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12920 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12921 (ses-set-localvars): New function.
12922 (ses-make-cell): Add property-list as a cell element.
12923 (ses-cell-property-get-fun, ses-cell-property-get)
12924 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12925 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12926 New functions.
12927 (ses-cell-property-set, ses-cell-property-pop)
12928 (ses-cell-property-get-handle): New macro.
12929 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12930 New aliases, used for code readability.
12931 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12932 cycle detection.
12933 (ses-self-reference-early-detection): New defcustom.
12934 (ses-formula-references): Robustify against self-referring cells.
12935 (ses-mode): Use ses-set-localvars.
12936 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12937 before lauching the update processing.
12938 (ses-initialize-Dijkstra-attempt): New function.
12939 (ses-recalculate-cell): Update for cycle detection based on
12940 Dijkstra algorithm.
12941
12942 * ses.el: Fix commenting and indenting convention.
12943
12944 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12945
12946 * bs.el (bs-cycle-next): Complete last change.
12947
12948 2011-06-27 Drew Adams <drew.adams@oracle.com>
12949
12950 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12951
12952 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12953
12954 * net/network-stream.el (network-stream-open-starttls):
12955 Don't re-get capabilities unless we've reestablished connection.
12956 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12957
12958 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12959 to binary to possibly avoid line encoding issues on Windows (among
12960 other things).
12961
12962 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12963
12964 * net/network-stream.el (open-network-stream): Return an :error
12965 saying what the problem was, if possible.
12966
12967 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12968 server.
12969
12970 * net/network-stream.el (network-stream-open-starttls): If we
12971 wanted to use STARTTLS, and the server offered it, but we weren't
12972 able to because we had no STARTTLS support, then close the connection.
12973 (open-network-stream): Return an :error element, if present.
12974
12975 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12976
12977 * hl-line.el (hl-line-sticky-flag): Doc fix.
12978 (global-hl-line-sticky-flag): New option (Bug#8323).
12979 (global-hl-line-highlight): Obey it.
12980
12981 * vc/vc.el (vc-revert-show-diff): Default to t.
12982
12983 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12984
12985 * allout-widgets.el (allout-widgets-post-command-business):
12986 Stop decorating intermediate isearch matches. They're not being
12987 undecorated when an isearch is continued past, and isearch
12988 automatically collapses them. This leads to "widget leaks", where
12989 decorated items accumulate in collapsed areas. Lines with lots of
12990 hidden widgets can slow down cursor travel, substantially.
12991 Too much complicated machinery would be needed to ensure undecoration,
12992 so we're doing without this nicety.
12993
12994 (allout-widgets-tally-string): Don't try to do a hash-table-count
12995 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12996 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12997 *Messages* when allout-widgets-maintain-tally is t.
12998
12999 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13000
13001 * window.el (display-buffer-normalize-argument): Rename to
13002 display-buffer-normalize-arguments. Handle special meaning of
13003 LABEL argument. Respect special-display-function when popping up
13004 a new frame. Fix code searching for a window showing the buffer
13005 on another frame.
13006 (display-buffer-normalize-specifiers):
13007 Call display-buffer-normalize-arguments.
13008 (display-buffer-in-window): Don't undedicate the window if its
13009 buffer remains the same.
13010 Reported by Drew Adams <drew.adams@oracle.com>.
13011 (display-buffer-alist): Add choice for same-window macro
13012 specfier.
13013 (display-buffer): Mention special meaning of LABEL argument in
13014 doc-string. Fix quoting. Don't pop up a new frame even as
13015 fallback.
13016
13017 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13018
13019 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13020 avoid deleting the current window in some cases (bug#8911).
13021
13022 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13023
13024 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13025 (Bug#8934)
13026
13027 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13028
13029 * net/network-stream.el (network-stream-open-starttls):
13030 Use built-in TLS support if `gnutls-available-p' is true.
13031 (network-stream-open-tls): Ditto.
13032
13033 2011-06-26 Leo Liu <sdl.web@gmail.com>
13034
13035 * register.el (registerv): New struct.
13036 (registerv-make): New function.
13037 (jump-to-register, describe-register-1, insert-register):
13038 Support the jump-func, print-func and insert-func slot of a registerv
13039 struct. (Bug#8415)
13040
13041 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13042
13043 * vc/vc.el (vc-revert-show-diff): New defcustom.
13044 (vc-diff-internal): New arg specifying diff buffer.
13045 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13046 reuse an existing *vc-diff* buffer (Bug#8927).
13047
13048 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13049
13050 2011-06-26 Glenn Morris <rgm@gnu.org>
13051
13052 * progmodes/f90.el (f90-critical-indent): New option.
13053 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13054 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13055 (f90-mode): Doc fix.
13056 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13057 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13058 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13059 (f90-match-end): Handle block, critical.
13060
13061 2011-06-25 Glenn Morris <rgm@gnu.org>
13062
13063 * calendar/diary-lib.el (diary-included-files): Doc fix.
13064 (diary-include-files): New function, extracted from
13065 diary-include-other-diary-files and diary-mark-included-diary-files.
13066 (diary-include-other-diary-files, diary-mark-included-diary-files):
13067 Just call diary-include-files.
13068 (diary-mark-entries): Reset diary-included-files on first call.
13069
13070 * calendar/diary-lib.el (diary-mark-entries)
13071 (diary-mark-included-diary-files):
13072 Visit included diary-files in temp buffers.
13073
13074 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13075 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13076 (f90-start-block-re, f90-imenu-generic-expression)
13077 (f90-looking-at-program-block-start, f90-no-block-limit):
13078 Add support for submodules.
13079
13080 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13081 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13082
13083 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13084
13085 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13086 buffer-file-type before setting its value, to avoid disastrous
13087 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13088
13089 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13090
13091 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13092
13093 * ses.el (ses-unload-function):
13094 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13095
13096 * proced.el (proced-unload-function):
13097 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13098
13099 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13100
13101 * server.el (server-create-window-system-frame): Add parameters arg.
13102 (server-process-filter): Doc fix. Handle frame-parameters.
13103
13104 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13105
13106 Fix bug#8730, bug#8781.
13107
13108 * loadhist.el (unload--set-major-mode): New function.
13109 (unload-feature): Use it.
13110
13111 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13112 (python-unload-function): New function.
13113
13114 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13115
13116 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13117
13118 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13119
13120 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13121 the candidates list.
13122
13123 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13124
13125 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13126
13127 2011-06-23 Richard Stallman <rms@gnu.org>
13128
13129 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13130 (rmail-variables): Set next-error-move-function.
13131 (rmail-what-message): Take argument POS.
13132 (rmail-next-error-move): New function.
13133
13134 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13135
13136 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13137 messages for adjacent non-terminals.
13138
13139 2011-06-23 Richard Stallman <rms@gnu.org>
13140
13141 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13142 (rmail-show-message-1): Preserve buffer modified flag.
13143 (rmail-start-mail): Don't specify use of rmail-mail-return;
13144 that's done by mail-bury now.
13145 (rmail-mail-return): Handle arg NEWBUF.
13146
13147 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13148
13149 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13150 SIZE is a number.
13151
13152 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13153
13154 * window.el (get-lru-window, get-mru-window)
13155 (get-largest-window): Never return a minibuffer window.
13156 (display-buffer-pop-up-window): Fix a bug that could lead to
13157 reusing the minibuffer window.
13158 (display-buffer): Pass original specifier argument to
13159 display-buffer-function instead of the normalized one.
13160 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13161
13162 2011-06-22 Leo Liu <sdl.web@gmail.com>
13163
13164 * minibuffer.el (completing-read-function)
13165 (completing-read-default): Move from minibuf.c
13166
13167 2011-06-22 Richard Stallman <rms@gnu.org>
13168
13169 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13170 to Rmail even if not started by a special Rmail command.
13171
13172 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13173 Copy the buffer currently showing just one message.
13174
13175 2011-06-22 Roland Winkler <winkler@gnu.org>
13176
13177 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13178 (bibtex-clean-entry): First delete the old key so that a
13179 customized algorithm for generating the new key does not get
13180 confused by the old key.
13181 (bibtex-url): Obey regexp of first step.
13182 (bibtex-search-entries): Do not use add-to-list with local
13183 list-var.
13184
13185 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13186
13187 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13188 stored a user name, then query for the password first, instead of
13189 waiting for SMTP to give an error message and the trying again.
13190
13191 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13192
13193 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13194 BUFFER in call-process.
13195
13196 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13197
13198 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13199 QUIT twice.
13200 (smtpmail-try-auth-methods): Require user name and password from
13201 auth-source.
13202
13203 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13204
13205 * window.el (display-buffer-default-specifiers)
13206 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13207 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13208 (split-window): Normalize SIDE argument (Bug#8916).
13209
13210 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13211 (special-display-frame-alist, special-display-popup-frame):
13212 Remove duplicate declarations. These are now in window.el.
13213
13214 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13215
13216 * mail/smtpmail.el (smtpmail-via-smtp):
13217 Set :use-starttls-if-possible so that we always use STARTTLS if the
13218 server supports it. SMTP servers that support STARTTLS commonly
13219 require it.
13220
13221 * net/network-stream.el (network-stream-open-starttls): Support
13222 upgrading to STARTTLS always, even if we don't have built-in support.
13223 (open-network-stream): Add the :always-query-capabilities keyword.
13224
13225 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13226 upgrades with `open-network-stream', and rely solely on
13227 auth-source for all credentials. Big changes throughout the file,
13228 but in particular:
13229 (smtpmail-auth-credentials): Remove.
13230 (smtpmail-starttls-credentials): Remove.
13231 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13232 MAIL FROM, too.
13233
13234 * net/network-stream.el (network-stream-open-starttls):
13235 Provide support for client certificates both for external and built-in
13236 STARTTLS.
13237 (auth-source): Require.
13238 (open-network-stream): Document the :client-certificate keyword.
13239 (network-stream-certificate): Change cert-cert to cert and
13240 cert-key to key.
13241
13242 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13243
13244 * net/tramp-cache.el (top): Don't load the persistency file when
13245 "emacs -Q" has been called.
13246
13247 2011-06-21 Tim Harper <timcharper@gmail.com>
13248
13249 * term/ns-win.el (ns-initialize-window-system):
13250 Set application-specific `ApplePressAndHoldEnabled' system
13251 resource to NO as it is not yet supported by the NS port.
13252
13253 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13254
13255 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13256 (list-dynamic-libraries): ...not here.
13257
13258 2011-06-21 Leo Liu <sdl.web@gmail.com>
13259
13260 * subr.el (sha1): Implement sha1 using secure-hash.
13261
13262 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13263
13264 * window.el (display-buffer-alist): In default value do not
13265 enforce searching a window on any but the selected frame.
13266 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13267 (display-buffer-select-window): Remove function.
13268 (display-buffer-in-window): When a window on another frame gets
13269 reused, do not select it any more but just raise its frame if
13270 necessary (Bug#8851) and (Bug#8856).
13271 (display-buffer-normalize-options): Handle pop-up-frames related
13272 options more faithfully.
13273 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13274 window if it is on another frame.
13275 (display-buffer-alist, display-buffer-default-specifiers):
13276 Don't make new frame unsplittable by default.
13277 (display-buffer-normalize-argument): Fix doc-string typo and use
13278 'same-frame-other-window instead of 'other-window when associating
13279 with display-buffer-macro-specifiers.
13280
13281 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13282
13283 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13284 New functions.
13285 (5x5-mode-map, 5x5-mode-menu): Bind them.
13286 (5x5-draw-grid): Tweak the solver's rendering.
13287
13288 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13291 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13292
13293 2011-06-21 Drew Adams <drew.adams@oracle.com>
13294
13295 * menu-bar.el: Use function variable instead of switch-to-buffer.
13296 (menu-bar-select-buffer-function): New variable.
13297 (menu-bar-update-buffers): Use it (bug#8876).
13298
13299 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13302 variable's status.
13303
13304 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13305
13306 * x-dnd.el (x-dnd-version-from-flags)
13307 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13308 and long as number (Bug#8899).
13309 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13310
13311 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13312
13313 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13314 (completion-try-completion, completion-all-completions): Compute the
13315 metadata argument if it's missing; make it optional (bug#8795).
13316
13317 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13318 (widget-complete): Use new :completion-function property.
13319 (widget-completions-at-point): New function.
13320 (default): Use :completion-function instead of :complete.
13321 (widget-default-completions): Rename from widget-default-complete;
13322 Rewrite.
13323 (widget-string-complete, widget-file-complete, widget-color-complete):
13324 Remove functions.
13325 (file, symbol, function, variable, coding-system, color):
13326 * international/mule-cmds.el (default-input-method, charset)
13327 (language-info-custom-alist):
13328 * cus-edit.el (face): Use new property :completions.
13329
13330 * progmodes/pascal.el (pascal-completions-at-point): New function.
13331 (pascal-mode): Use it.
13332 (pascal-mode-map): Use completion-at-point.
13333 (pascal-toggle-completions): Make obsolete.
13334 (pascal-complete-word, pascal-show-completions):
13335 * progmodes/octave-mod.el (octave-complete-symbol):
13336 Redefine as obsolete alias.
13337 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13338 Signal absence of completion info for old Octave,
13339 (inferior-octave-complete): Redefine as obsolete alias.
13340 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13341 (meta-completions-at-point): Rename from meta-complete-symbol and
13342 adapt it for use on completion-at-point-functions.
13343 (meta-common-mode): Use it.
13344 (meta-looking-at-backward, meta-match-buffer): Remove.
13345 (meta-complete-symbol): Redefine as obsolete alias.
13346 (meta-common-mode-map): Use completion-at-point.
13347 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13348 (makefile-mode-map): Use completion-at-point.
13349 (makefile-completions-at-point): Rename from makefile-complete and
13350 adapt it for use on completion-at-point-functions.
13351 (makefile-mode): Use it.
13352 (makefile-complete): Redefine as obsolete alias.
13353
13354 2011-06-20 Deniz Dogan <deniz@dogan.se>
13355
13356 * net/rcirc.el: Delete trailing whitespaces once and for all.
13357
13358 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13359
13360 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13361
13362 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13363
13364 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13365
13366 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13367
13368 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13369
13370 * window.el (display-buffer-other-window-means-other-frame):
13371 Call display-buffer-normalize-alist.
13372 (display-buffer-normalize-specifiers-1): Rename to
13373 display-buffer-normalize-argument. New argument other-frame.
13374 Rewrite.
13375 (display-buffer-normalize-specifiers-2): Rename to
13376 display-buffer-normalize-options.
13377 (display-buffer-normalize-alist-1): New function.
13378 (display-buffer-normalize-specifiers-3): Rename to
13379 display-buffer-normalize-alist.
13380 Call display-buffer-normalize-alist-1.
13381 (display-buffer-normalize-options-inhibit): New variable.
13382 (display-buffer-normalize-specifiers): Rewrite calling
13383 display-buffer-normalize-alist,
13384 display-buffer-normalize-argument, and
13385 display-buffer-normalize-options. Don't call the latter if
13386 display-buffer-normalize-options-inhibit is non-nil.
13387 (frame-auto-delete): New option.
13388 (window-deletable-p): Use frame-auto-delete.
13389 (window-list-no-nils, window-state-ignored-parameters)
13390 (window-state-get-1, window-state-get, window-state-put-list)
13391 (window-state-put-1, window-state-put-2, window-state-put):
13392 New functions.
13393 (display-buffer-normalize-options): Move special-display-p group
13394 after pop-up-frame group (Bug#8851) and (Bug#8856).
13395
13396 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13397
13398 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13399 groups (Bug#8776).
13400 (rx-submatch-n): New function.
13401 (rx): Document it.
13402
13403 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13404 (Bug#8768).
13405
13406 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13407
13408 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13409
13410 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13411 anytime existing face settings are present (Bug#8889).
13412
13413 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13414 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13415 Remove unused argument.
13416
13417 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13418
13419 * window.el (display-buffer-default-specifiers):
13420 Remove pop-up-frame. Add pop-up-window-min-height,
13421 pop-up-window-min-width, and another reuse-window specifier
13422 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13423 (display-buffer-normalize-specifiers-2):
13424 Handle split-height-threshold and split-width-threshold also when
13425 pop-up-windows is unset. Add a reuse-window specifier for the
13426 case popping up a new window fails.
13427 (special-display-popup-frame): Remove double quoting.
13428 (display-buffer-normalize-specifiers-1): Fix thinko.
13429
13430 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13431
13432 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13433 according to comint-completion-addsuffix.
13434
13435 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13436 (pcomplete-suffix-list): Mark as obsolete.
13437 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13438 pcomplete-seen in the closure.
13439 (pcomplete-comint-setup): Setup completion-at-point as well.
13440 (pcomplete--entries): New function.
13441 (pcomplete--env-regexp): New var.
13442 (pcomplete-entries): Rewrite to work with partial-completion and
13443 without relying on pcomplete-suffix-list.
13444 (pcomplete-pare-list): Remove, unused.
13445
13446 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13447
13448 * window.el (display-buffer-alist): Set pop-up-window-min-height
13449 and pop-up-window-min-width in default value. Reported by
13450 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13451 other-window-means-other-frame.
13452 (display-buffer-macro-specifiers): Comment out entry for
13453 other-window specifier.
13454 (display-buffer-other-window-means-other-frame): New function.
13455 (display-buffer-normalize-specifiers-1): New arguments
13456 buffer-name and label. Treat other-window case specially.
13457 (display-buffer-normalize-specifiers-2): Treat other-window case
13458 specially.
13459 (display-buffer-normalize-specifiers-3): New function.
13460 (display-buffer-normalize-specifiers):
13461 Call display-buffer-normalize-specifiers-3.
13462
13463 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13464
13465 * window.el (same-window-p): Fix two typos introduced when
13466 adding with-no-warnings.
13467 (display-buffer-normalize-specifiers-1): Don't check
13468 pop-up-frames for 'unset initialization.
13469 (display-buffer-normalize-specifiers-2): Major rewrite using
13470 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13471 (pop-up-frames, display-buffer-reuse-frames)
13472 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13473 Suggested by David Engster <deng@randomsample.de>.
13474 (even-window-heights): Initialize to 'unset.
13475 (display-buffer-alist-set): Handle new 'unset initializations.
13476 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13477 other window case.
13478
13479 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13480
13481 * window.el (display-buffer-normalize-specifiers-1):
13482 Respect current value of pop-up-frames for most reasonable values of
13483 second argument of display-buffer (Bug#8865).
13484 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13485 (switch-to-buffer-other-window-same-frame)
13486 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13487 Adams (Bug#8875).
13488 (display-buffer): Don't check noninteractive when calling
13489 display-buffer-pop-up-frame.
13490 (display-buffer-pop-up-frame): Never pop up a frame in
13491 noninteractive mode (Bug#8857).
13492 (enlarge-window, shrink-window): Don't report an error when the
13493 window can't be resized as requested (Bug#8862).
13494
13495 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13496
13497 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13498
13499 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13500
13501 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13502
13503 2011-06-15 Alan Mackenzie <acm@muc.de>
13504
13505 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13506 for declarators, disable knr checking to speed up for normal files.
13507 2: Refactor, replacing a sequence of nested if forms by a cond form.
13508
13509 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13510
13511 * net/network-stream.el (open-network-stream): Add the keyword
13512 :always-query-capabilities for the case where you want to force a
13513 `plain' network connection, but the protocol still requires the
13514 capabilitiy command (i.e., SMTP and EHLO).
13515
13516 * subr.el (process-live-p): Rename from `process-alive-p' for
13517 consistency with other `-live-p' functions.
13518
13519 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * window.el (same-window-buffer-names, same-window-regexps)
13522 (special-display-frame-alist, special-display-popup-frame)
13523 (special-display-function, special-display-buffer-names)
13524 (special-display-regexps, pop-up-frame-alist)
13525 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13526 (pop-up-windows, split-window-preferred-function)
13527 (split-height-threshold, split-width-threshold, even-window-heights)
13528 (display-buffer-mark-dedicated): Don't encourage the use of
13529 display-buffer-alist from Elisp code.
13530
13531 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13532
13533 * progmodes/python.el (python-mode): Derive from prog-mode.
13534 * progmodes/ps-mode.el (ps-mode):
13535 * progmodes/mixal-mode.el (mixal-mode):
13536 * progmodes/cfengine.el (cfengine-mode):
13537 * progmodes/ld-script.el (ld-script-mode): Likewise.
13538
13539 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13540
13541 * window.el (display-buffer-alist): Trim default value to avoid
13542 popping up a new frame (Bug#8857) or reusing an arbitrary window
13543 on another frame.
13544 (display-buffer): Do not fall back on popping up a new frame in
13545 batch mode (Bug#8857).
13546
13547 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13548
13549 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13550 (custom-theme-summary): New function.
13551 (customize-themes): Use it.
13552
13553 2011-06-13 Glenn Morris <rgm@gnu.org>
13554
13555 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13556
13557 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13558
13559 * help.el (help-window): Remove variable.
13560 (help-window-point-marker, temp-buffer-max-height)
13561 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13562 (help-print-return-message): Don't set help-window.
13563 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13564 (help-window-setup-finish): Remove.
13565 (help-window-display-message, help-window-setup)
13566 (with-help-window): Major rewrite based on new
13567 display-buffer-window variable.
13568
13569 * help-mode.el (help-mode-finish): Remove help-window related
13570 code.
13571
13572 * view.el (view-exits-all-viewing-windows): Remove reference to
13573 view-return-to-alist in doc-string.
13574 (view-return-to-alist): Make obsolete.
13575 (view-buffer): Call pop-to-buffer-same-window and remove
13576 undo-window code.
13577 (view-buffer-other-window): Call pop-to-buffer-other-window and
13578 simplify code. Ignore second argument.
13579 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13580 simplify code. Ignore second argument.
13581 (view-return-to-alist-update): Make obsolete.
13582 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13583 Rewrite using quit-restore window parameters.
13584 (view-mode-exit): Rename second argument to EXIT-ONLY.
13585 Rewrite using quit-restore-window.
13586 (View-exit, View-exit-and-edit, View-leave, View-quit)
13587 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13588 appropriate arguments.
13589 (view-end-message): Use quit-restore window parameter.
13590
13591 * window.el (display-buffer-function): Rewrite doc-string.
13592 (display-buffer-window, display-buffer-alist): New variables.
13593 (display-buffer-split-specifiers)
13594 (display-buffer-side-specifiers)
13595 (display-buffer-macro-specifiers): New constants.
13596 (display-buffer-even-window-sizes, display-buffer-set-height)
13597 (display-buffer-set-width, display-buffer-select-window)
13598 (display-buffer-in-window, display-buffer-reuse-window)
13599 (display-buffer-split-window-1, display-buffer-split-window)
13600 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13601 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13602 (display-buffer-in-side-window, normalize-buffer-to-display)
13603 (display-buffer-normalize-specifiers-1)
13604 (display-buffer-normalize-specifiers-2)
13605 (display-buffer-normalize-specifiers, display-buffer-frame):
13606 New functions.
13607 (display-buffer): Major rewrite.
13608 (display-buffer-other-window, display-buffer-other-frame)
13609 (pop-to-buffer, switch-to-buffer-other-window)
13610 (switch-to-buffer-other-frame): Rewrite.
13611 (display-buffer-same-window, display-buffer-same-frame)
13612 (display-buffer-same-frame-other-window)
13613 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13614 (pop-to-buffer-other-window)
13615 (pop-to-buffer-same-frame-other-window)
13616 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13617 (switch-to-buffer-other-window-same-frame): New functions.
13618 (same-window-p, special-display-p): Rewrite disabling warnings.
13619 Make obsolete.
13620 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13621 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13622 Make obsolete
13623 (same-window-buffer-names, same-window-regexps)
13624 (special-display-frame-alist, special-display-popup-frame)
13625 (special-display-function, special-display-buffer-names)
13626 (special-display-regexps, pop-up-frame-alist)
13627 (pop-up-frame-function, split-window-preferred-function)
13628 (split-height-threshold, split-width-threshold)
13629 (even-window-heights): Make obsolete.
13630
13631 2011-06-12 Glenn Morris <rgm@gnu.org>
13632
13633 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13634 Misc simplifications.
13635
13636 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13637
13638 * window.el (window-safely-shrinkable-p): Restore function which
13639 was inadvertently removed in change from 2011-06-11. Declare as
13640 obsolete.
13641
13642 * calendar/calendar.el (calendar-generate-window):
13643 Use window-iso-combined-p instead of combination of one-window-p and
13644 window-safely-shrinkable-p.
13645
13646 2011-06-12 Glenn Morris <rgm@gnu.org>
13647
13648 * progmodes/fortran.el (fortran-mode-syntax-table):
13649 * progmodes/f90.el (f90-mode-syntax-table):
13650 Set % to punctuation. (Bug#8820)
13651 (f90-find-tag-default): Remove, no longer needed.
13652
13653 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13654
13655 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13656
13657 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13658
13659 * image.el (image-animated-p): Return animation delay in seconds.
13660 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13661 (image-animate-timeout): Remove DELAY argument. Don't assume
13662 every subimage has the same delay; get it from image-animated-p.
13663 (image-animate): Caller changed.
13664
13665 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13666
13667 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13668 to ignored backtrace functions.
13669
13670 2011-06-11 Glenn Morris <rgm@gnu.org>
13671
13672 * calendar/appt.el (appt-disp-window-function): Doc fix.
13673 (appt-check): Handle overlapping appointments. (Bug#8337)
13674
13675 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13676
13677 * window.el (window-tree-1, window-tree): New functions, moving
13678 the latter to window.el.
13679 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13680 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13681 (bw-refresh-edges): Remove.
13682 (balance-windows-1, balance-windows-2): New functions.
13683 (balance-windows): Rewrite in terms of window tree functions,
13684 balance-windows-1 and balance-windows-2.
13685 (bw-adjust-window): Remove.
13686 (balance-windows-area-adjust): New function with functionality of
13687 bw-adjust-window but using resize-window.
13688 (set-window-text-height): Rewrite doc-string.
13689 Use normalize-live-window and resize-window.
13690 (enlarge-window-horizontally, shrink-window-horizontally):
13691 Rename argument to DELTA.
13692 (window-buffer-height): New function.
13693 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13694 Rewrite using new window resize routines.
13695 (kill-buffer-and-window, mouse-autoselect-window-select):
13696 Use ignore-errors instead of condition-case.
13697 (quit-window): Call delete-frame instead of delete-windows-on
13698 for the only buffer on frame.
13699
13700 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13701
13702 * loadup.el (top-level): Load window before files for the sake
13703 of replace-buffer-in-windows.
13704
13705 * files.el (read-buffer-to-switch)
13706 (switch-to-buffer-other-window)
13707 (switch-to-buffer-other-frame, display-buffer-other-frame):
13708 Move to window.el.
13709
13710 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13711 (previous-buffer): Move to window.el.
13712
13713 * bindings.el (unbury-buffer): Move to window.el.
13714
13715 * window.el (delete-other-windows-vertically): Move after
13716 definition of delete-other-windows.
13717 (other-window, delete-windows-on, replace-buffer-in-windows):
13718 Move here from window.c.
13719 (record-window-buffer, unrecord-window-buffer)
13720 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13721 (switch-to-next-buffer): New functions.
13722 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13723 from simple.el. Call switch-to-next-buffer.
13724 (previous-buffer): Move here from simple.el.
13725 Call switch-to-prev-buffer.
13726 (bury-buffer): Move here from buffer.c. Switch to previous
13727 buffer when window cannot be deleted.
13728 (unbury-buffer): Move here from bindings.el.
13729 (ctl-x-map): Move binding for other-window from window.c to
13730 here.
13731 (read-buffer-to-switch, switch-to-buffer-other-window)
13732 (switch-to-buffer-other-frame): Move here from files.el.
13733 (normalize-buffer-to-switch-to): New functions.
13734 (switch-to-buffer): Move here from buffer.c.
13735 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13736
13737 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13738
13739 * window.el (window-min-height, window-min-width): Move here
13740 from window.c. Add defcustoms and rewrite doc-strings.
13741 (resize-mini-window, resize-window): New functions.
13742 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13743 Move here from window.c.
13744 (maximize-window, minimize-window): New functions.
13745 (delete-window, delete-other-windows, split-window): Move here
13746 from window.c.
13747 (window-split-min-size): New function.
13748 (split-window-keep-point): Mention split-window-above-each-other
13749 instead of split-window-vertically.
13750 (split-window-above-each-other, split-window-vertically):
13751 Rename split-window-vertically to split-window-above-each-other
13752 and provide defalias for old definition.
13753 (split-window-side-by-side, split-window-horizontally):
13754 Rename split-window-horizontally to split-window-side-by-side
13755 and provide defalias for the old definition.
13756 (ctl-x-map): Move bindings for delete-window,
13757 delete-other-windows and enlarge-window here from window.c.
13758 Replace bindings for split-window-vertically and
13759 split-window-horizontally by bindings for
13760 split-window-above-each-other and split-window-side-by-side.
13761
13762 * cus-start.el (all): Remove entries for window-min-height and
13763 window-min-width. Add entries for window-splits and
13764 window-nest.
13765
13766 2011-06-09 Glenn Morris <rgm@gnu.org>
13767
13768 * calendar/appt.el (appt-mode-line): New function.
13769 (appt-check, appt-disp-window): Use it.
13770
13771 * files.el (hack-one-local-variable-eval-safep):
13772 Allow minor-modes with explicit +/-1 arguments.
13773
13774 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13775
13776 * term/xterm.el (xterm): Add defgroup.
13777 (xterm-extra-capabilities): Add defcustom to supply known xterm
13778 capabilities, skip querying them, or query them (default).
13779 (terminal-init-xterm): Use it.
13780 (terminal-init-xterm-modify-other-keys): New function to set up
13781 modifyOtherKeys support to simplify `terminal-init-xterm'.
13782
13783 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13784
13785 * window.el (resize-window-reset, resize-window-reset-1)
13786 (resize-subwindows-skip-p, resize-subwindows-normal)
13787 (resize-subwindows, resize-other-windows, resize-this-window)
13788 (resize-root-window, resize-root-window-vertically)
13789 (window-deletable-p, window-or-subwindow-p)
13790 (frame-root-window-p): New functions.
13791
13792 2011-06-09 Glenn Morris <rgm@gnu.org>
13793
13794 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13795 (ange-ftp-get-files): Use it.
13796
13797 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13798
13799 * mail/sendmail.el (mail-recover-1, mail-recover):
13800 * files.el (recover-file, recover-session):
13801 Handle dired-listing-switches not being just a single short option.
13802
13803 2011-06-09 Glenn Morris <rgm@gnu.org>
13804
13805 * calendar/appt.el (appt-display-message, appt-disp-window):
13806 Handle lists of appointments.
13807
13808 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13809
13810 * window.el (one-window-p): Move down in code.
13811 Rewrite doc-string.
13812 (window-current-scroll-bars): Rewrite doc-string.
13813 Normalize live window argument.
13814 (walk-windows, get-window-with-predicate, count-windows):
13815 Rewrite doc-string. Use window-list-1.
13816 (window-in-direction-2, window-in-direction, get-mru-window):
13817 New functions.
13818
13819 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13820
13821 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13822 Doc fix (Bug#8713).
13823
13824 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13825
13826 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13827
13828 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13829
13830 * loadhist.el (unload-feature-special-hooks):
13831 Add `comint-output-filter-functions'.
13832
13833 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13834
13835 * calendar/appt.el (appt-check): Move some initializations into the let.
13836
13837 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13838
13839 * window.el (window-height): Defalias to window-total-height.
13840 (window-width): Defalias to window-body-width.
13841
13842 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13843
13844 * image-mode.el (image-toggle-animation): New command.
13845 (image-mode-map): Bind it to RET.
13846 (image-mode): Update message.
13847 (image-toggle-display-image): Avoid a spurious cache flush.
13848 (image-transform-rotation): Doc fix.
13849 (image-transform-properties): Return quickly in the normal case.
13850 (image-animate-loop): Rename from image-animate-max-time.
13851
13852 * image.el (image-animate-max-time): Move to image-mode.el.
13853 (create-animated-image): Remove unnecessary function.
13854 (image-animate): Rename from image-animate-start. New arg.
13855 (image-animate-stop): Remove; just use image-animate-timer.
13856 (image-animate-timer): Use car-safe.
13857 (image-animate-timeout): Rename argument.
13858
13859 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13860
13861 * window.el (get-lru-window, get-largest-window): Move here from
13862 window.c. Rename first argument to ALL-FRAMES.
13863 Rephrase doc-strings.
13864 (get-buffer-window-list): Rewrite using window-list-1.
13865 Rephrase doc-string.
13866 (window-safe-min-height, window-safe-min-width): New constants.
13867 (window-size-ignore, window-min-size, window-min-size-1)
13868 (window-sizable, window-sizable-p, window-size-fixed-1)
13869 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13870 (window-max-delta-1, window-max-delta, window-resizable)
13871 (window-resizable-p, window-total-height, window-total-width)
13872 (window-body-width): New functions.
13873 (window-full-height-p, window-full-width-p): Rewrite using
13874 window-total-size.
13875 (window-body-height): Rewrite using window-body-size.
13876
13877 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (window-right, window-left, window-child)
13880 (window-child-count, window-last-child, window-any-p)
13881 (normalize-live-buffer, normalize-live-frame)
13882 (normalize-any-window, normalize-live-window)
13883 (window-iso-combination-p, window-iso-combined-p)
13884 (window-iso-combinations)
13885 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13886 (windows-with-parameter, window-with-parameter)
13887 (window-atom-root, make-window-atom, window-atom-check-1)
13888 (window-atom-check, window-side-check, window-check):
13889 New functions.
13890 (ignore-window-parameters, window-sides, window-sides-vertical)
13891 (window-sides-slots): New variables.
13892 (window-size-fixed): Move down in code. Minor doc-string fix.
13893
13894 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13895
13896 * comint.el (comint-dynamic-complete-as-filename)
13897 (comint-dynamic-complete-filename): Correctly call
13898 completion-in-region.
13899
13900 2011-06-05 Deniz Dogan <deniz@dogan.se>
13901
13902 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13903 in last change.
13904
13905 2011-06-05 Deniz Dogan <deniz@dogan.se>
13906
13907 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13908 (rcirc): Use it to prompt for encryption.
13909
13910 2011-06-05 Roland Winkler <winkler@gnu.org>
13911
13912 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13913 (bibtex-search-entries): New command bound to C-c C-a.
13914 (bibtex-display-entries): New function.
13915
13916 2011-06-05 Roland Winkler <winkler@gnu.org>
13917
13918 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13919 (bibtex-insert-kill): After yanking insert newline if necessary.
13920 (bibtex-initialize): Call bibtex-string-files-init only once.
13921 (bibtex-mode): Do not call easy-menu-add.
13922 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13923 (bibtex-yank): Set arg properly if nil.
13924
13925 2011-06-05 Roland Winkler <winkler@gnu.org>
13926
13927 * textmodes/bibtex.el (bibtex-search-entry-globally):
13928 New variable.
13929 (bibtex-search-entry): Use it.
13930
13931 2011-06-05 Roland Winkler <winkler@gnu.org>
13932
13933 * textmodes/bibtex.el (bibtex-entry-format): New option
13934 sort-fields.
13935 (bibtex-format-entry, bibtex-reformat): Honor this option.
13936 (bibtex-parse-entry): Return fields in proper order.
13937
13938 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13939
13940 * doc-view.el (doc-view-remove-if): Move computation of result out
13941 of `dolist' to silence misleading lexical-binding warning.
13942
13943 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13944
13945 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13946 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13947
13948 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13949
13950 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13951 "SunOS 5.10".
13952
13953 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13954
13955 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13956 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13957 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13958 (tramp-parse-putty):
13959 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13960 (tramp-completion-function-alist-ssh)
13961 (tramp-completion-function-alist-telnet)
13962 (tramp-completion-function-alist-su)
13963 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13964 cookie.
13965
13966 * net/tramp-ftp.el:
13967 * net/tramp-sh.el:
13968 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13969 load "tramp.el" `tramp-set-completion-function'.
13970
13971 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13972
13973 * shell.el: Require and use pcomplete.
13974 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13975 (shell-completion-vars): Set pcomplete-default-completion-function.
13976
13977 2011-06-04 Deniz Dogan <deniz@dogan.se>
13978
13979 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13980 `memq' (Bug#8799).
13981
13982 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13983
13984 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13985
13986 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13987
13988 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13989 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13990 * vc/log-view.el (log-view-beginning-of-defun):
13991 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13992 (smerge-refine-forward, smerge-refine-chopup-region):
13993 Silence warning for unused `dotimes' counter variables.
13994
13995 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * net/tramp.el (tramp-with-progress-reporter): Rename from
13998 with-progress-reporter. Use `declare'.
13999 * net/tramp-smb.el:
14000 * net/tramp-sh.el:
14001 * net/tramp-gvfs.el: Update all uses.
14002
14003 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14004
14005 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14006 buffer isn't killed before making it current.
14007
14008 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 Silence various byte-compiler warnings.
14011 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14012 `access-type' and new obsolescence format.
14013 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14014 new format.
14015 (byte-compile-check-variable): New `access-type' argument.
14016 Only warn if the access-type is obsolete.
14017 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14018 (byte-compile-variable-set): Adjust callers.
14019 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14020 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14021 setting it as obsolete.
14022 * simple.el (minibuffer-completing-symbol):
14023 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14024 access as obsolete.
14025 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14026 obsolete yet.
14027 * international/quail.el (quail-mouse-choose-completion): Remove unused
14028 code referring to obsolete var.
14029 (quail-choose-completion-string): Remove.
14030 * server.el (server-clients-with, server-kill-buffer-query-function)
14031 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14032 * proced.el (proced-send-signal):
14033 * emacs-lisp/lisp.el (lisp-complete-symbol):
14034 Replace completion-annotate-function with completion-extra-properties.
14035
14036 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14037
14038 * simple.el (goto-line): Use read-number.
14039 (overriding-map-is-bound): Remove.
14040 (saved-overriding-map): Change default.
14041 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14042 Take the map as argument.
14043 (universal-argument, negative-argument, digit-argument): Use it.
14044 (restore-overriding-map): Adjust.
14045 (do-auto-fill): Use fill-forward-paragraph.
14046 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14047
14048 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14049 (minibuffer-inactive-mode): New major mode.
14050 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14051 the *Messages* buffer" hack.
14052 (mouse-popup-menubar): Don't burp if the event is a normal key.
14053
14054 Miscellaneous tweaks.
14055 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14056 lexical scoping as in subr.el's dolist and dotimes.
14057 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14058 Silence compiler warning.
14059 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14060 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14061 * international/ccl.el (ccl-compile): Trivial simplification.
14062 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14063 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14064 `printflag' argument.
14065 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14066 Purecopy the whole obsolescence data.
14067
14068 2011-06-01 Leo Liu <sdl.web@gmail.com>
14069
14070 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14071 improve doc-string as suggested by Marco Pessotto
14072 <melmothx@gmail.com>.
14073 (rcirc-print): Fix last change.
14074
14075 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14076
14077 * minibuffer.el (complete-with-action): Return nil for the metadata and
14078 boundaries of non-functional tables.
14079 (completion-table-dynamic): Return nil for the metadata.
14080 (completion-table-with-terminator): Add default case, using
14081 complete-with-action.
14082 (completion--metadata): New function.
14083 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14084 to try and avoid pathological performance problems.
14085 (completion--embedded-envvar-table): Return `category' metadata.
14086
14087 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14088
14089 * subr.el (process-alive-p): New tiny convenience function.
14090
14091 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14092
14093 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14094 content but also its previous major mode.
14095
14096 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14097
14098 * emacs-lisp/debug.el (debug): Restore the previous content of the
14099 *Backtrace* buffer when we exit with C-M-c.
14100
14101 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14102
14103 * minibuffer.el: Add metadata method to completion tables.
14104 (completion-category-overrides): New defcustom.
14105 (completion-metadata, completion--field-metadata)
14106 (completion-metadata-get, completion--styles)
14107 (completion--cycle-threshold): New functions.
14108 (completion-try-completion, completion-all-completions):
14109 Add `metadata' argument to choose completion-styles.
14110 (completion--do-completion): Use metadata to choose cycling.
14111 (completion-all-sorted-completions): Use metadata for sorting.
14112 Remove :completion-cycle-penalty which is not needed any more.
14113 (completion--try-word-completion): Add `metadata' argument.
14114 (minibuffer-completion-help): Check metadata for annotation function
14115 and sorting.
14116 (completion-file-name-table): Return `category' metadata.
14117 (minibuffer-completing-file-name): Make obsolete.
14118 * simple.el (minibuffer-completing-symbol): Make obsolete.
14119 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14120 completion-try-completion.
14121
14122 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14125
14126 2011-05-30 Leo Liu <sdl.web@gmail.com>
14127
14128 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14129 (rcirc-print): Decode all incoming messages (bug#8744).
14130 (rcirc-decode-coding-system): Allow value nil for automatic coding
14131 system detection.
14132
14133 2011-06-01 Glenn Morris <rgm@gnu.org>
14134
14135 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14136
14137 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14138
14139 * image.el (image-animate-max-time): Allow nil and t values.
14140 Default to nil.
14141 (create-animated-image): Doc fix.
14142 (image-animate-start): Remove second arg; just use
14143 image-animate-max-time.
14144 (image-animate-timeout): Doc fix. Args changed.
14145
14146 * image-mode.el (image-toggle-display-image): Ensure that the
14147 image spec passed to the animate timer is the same object as in
14148 the buffer's display property (Bug#6981).
14149 (image-transform-properties): Doc fix.
14150
14151 * image.el (image-animate-max-time): Default to nil.
14152
14153 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14154
14155 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14156 entire buffer list (Bug#8184).
14157
14158 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14159
14160 * image.el (imagemagick-types-inhibit)
14161 (imagemagick-register-types): Doc fix.
14162
14163 2011-05-29 Deniz Dogan <deniz@dogan.se>
14164
14165 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14166 default.
14167
14168 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14169
14170 * select.el: Don't perform clipboard-manager saving in hooks;
14171 leave the hooks empty.
14172
14173 2011-05-28 Leo Liu <sdl.web@gmail.com>
14174
14175 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14176 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14177 (occur-edit-mode): New major mode (Bug#8463).
14178 (occur-after-change-function): New function.
14179 (occur-engine): Give Occur tags a read-only property.
14180
14181 2011-05-28 Kevin Ryde <user42@zip.com.au>
14182
14183 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14184
14185 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14186
14187 * bindings.el (help-echo): Make the initial non-indicator dash
14188 empty on graphical terminals (Bug#7295).
14189
14190 * files.el (auto-mode-alist): Move config rule after the
14191 in-stripping one (Bug#8547).
14192
14193 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14194
14195 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14196 setting (Bug#8740).
14197
14198 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14199
14200 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14201 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14202 (Bug#8539).
14203
14204 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14205
14206 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14207
14208 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14209
14210 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14211 (hs-hide-block-at-point, hs-find-block-beginning)
14212 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14213 (Bug#8279).
14214
14215 2011-05-28 Glenn Morris <rgm@gnu.org>
14216
14217 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14218
14219 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14220
14221 * help-fns.el (describe-function-1): If the function is a derived
14222 major mode, print the parent mode.
14223
14224 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14225 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14226
14227 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14228
14229 * minibuffer.el (completion--capf-wrapper): Check applicability before
14230 returning non-nil for non-exclusive completion data.
14231 * progmodes/etags.el (tags-completion-at-point-function):
14232 * info-look.el (info-lookup-completions-at-point): Mark as
14233 non-exclusive.
14234 (info-complete): Adjust accordingly.
14235
14236 * info-look.el: Convert to lexical-binding and completion-at-point.
14237 (info-lookup-completions-at-point): New function.
14238 (info-complete): Use it and completion-in-region.
14239
14240 2011-05-28 Drew Adams <drew.adams@oracle.com>
14241
14242 * isearch.el: Let M-e start with point at the first mismatched char.
14243 (isearch-fail-pos): New function.
14244 (isearch-edit-string): Use it.
14245
14246 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14247
14248 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14249
14250 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14251
14252 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14253 traversal functions for avl-trees.
14254 (avl-tree--stack): New struct.
14255 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14256 (avl-tree-enter): Add optional `updatefun' arg.
14257 (avl-tree--do-enter): Add optional `updatefun' arg.
14258 Change return value.
14259 (avl-tree-delete): Add optional `test' and `nilflag' args.
14260 (avl-tree--do-delete): Add `test' and `nilflag' args.
14261 Change return value.
14262 (avl-tree-member): Add optional `nilflag'
14263 (avl-tree-member-p): New function.
14264 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14265 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14266 (avl-tree-stack-empty-p): New functions.
14267
14268 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14269 avl-tree--del-balance1 and make it work both ways.
14270 (avl-tree--del-balance2): Remove.
14271 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14272 make it work both ways.
14273 (avl-tree--enter-balance2): Remove.
14274 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14275 New macros.
14276 (avl-tree--mapc, avl-tree-map): Add direction argument.
14277
14278 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14279
14280 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14281
14282 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14283
14284 * select.el: Support clipboard managers with built-in function
14285 x-clipboard-manager-save, via delete-frame-functions and
14286 kill-emacs-hook.
14287 (xselect-convert-to-targets): Add MULTIPLE target to list.
14288 (xselect-convert-to-save-targets): New function.
14289
14290 2011-05-27 Kenichi Handa <handa@m17n.org>
14291
14292 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14293 let-binding rfc2047-encode-encoded-words to nil.
14294
14295 2011-05-27 Glenn Morris <rgm@gnu.org>
14296
14297 * mail/emacsbug.el: Don't require url-util.
14298
14299 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14300
14301 * files.el (set-auto-mode):
14302 Also respect mode: entries at the end of the file. (Bug#8586)
14303
14304 2011-05-26 Glenn Morris <rgm@gnu.org>
14305
14306 * files.el (hack-local-variables-prop-line, hack-local-variables):
14307 Downcase mode names, as seems to be traditional.
14308 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14309
14310 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14311 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14312
14313 2011-05-25 Julien Danjou <julien@danjou.info>
14314
14315 * textmodes/rst.el (rst-define-level-faces): Do not define face
14316 symbol if it is already defined.
14317
14318 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14319
14320 * play/5x5.el (5x5-new-game, 5x5-randomize):
14321 Reset 5x5-solver-output to nil when a new grid is cast.
14322 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14323 these debugging traces, as defmacro breaks the compiled code.
14324
14325 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14326
14327 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14328
14329 2011-05-24 Leo Liu <sdl.web@gmail.com>
14330
14331 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14332 (vc-bzr-sha1): Adapt.
14333
14334 * sha1.el: Remove. Function `sha1' is now builtin.
14335
14336 * bindings.el: Provide sha1 feature.
14337
14338 2011-05-24 Kenichi Handa <handa@m17n.org>
14339
14340 * mail/sendmail.el: Require `rfc2047'.
14341 (mail-insert-from-field): Do not perform RFC2047 encoding.
14342 (mail-encode-header): New function.
14343 (sendmail-send-it): Set buffer-file-coding-system of the work
14344 buffer to the return value of select-message-coding-system.
14345 Call mail-encode-header.
14346
14347 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14348
14349 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14350
14351 * mail/supercite.el (sc-default-cite-frame):
14352 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14353
14354 2011-05-24 Glenn Morris <rgm@gnu.org>
14355
14356 * progmodes/python.el (brm-menu): Declare.
14357
14358 * emulation/viper.el (viper-set-hooks): Declare.
14359
14360 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14361 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14362 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14363 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14364 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14365 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14366
14367 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14368
14369 Add an :exit-function for completion-at-point.
14370
14371 * minibuffer.el (completion--done): New fun.
14372 (completion--do-completion): Use it. New arg `expect-exact'.
14373 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14374 since completion--do-completion does it for us now.
14375 (minibuffer-force-complete): Use completion--done and
14376 completion--replace. Handle sole-completion case with more care.
14377 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14378 (completion-extra-properties): New var.
14379 (completion-annotate-function): Make obsolete.
14380 (minibuffer-completion-help): Adjust accordingly.
14381 Use completion-list-insert-choice-function.
14382 (completion-at-point, completion-help-at-point):
14383 Bind completion-extra-properties.
14384 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14385 * simple.el (completion-list-insert-choice-function): New var.
14386 (completion-setup-function): Preserve it.
14387 (choose-completion): Pay attention to it, shuffle the code a bit.
14388 (choose-completion-string): New arg `insert-function'.
14389
14390 * textmodes/bibtex.el: Convert to lexical binding.
14391 (bibtex-mode-map): Use completion-at-point.
14392 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14393 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14394 (bibtex-complete): Define as obsolete alias.
14395 (bibtex-complete-internal): Remove.
14396 (bibtex-format-entry): Remove unused sub-group in regexp.
14397 * shell.el (shell--command-completion-data)
14398 (shell-environment-variable-completion):
14399 * pcomplete.el (pcomplete-completions-at-point):
14400 * comint.el (comint--complete-file-name-data): Use :exit-function
14401 instead of completion-table-with-terminator so it also works for
14402 choose-completion.
14403
14404 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14405
14406 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14407
14408 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14409 (bug#8710).
14410
14411 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14412
14413 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14414
14415 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14416 customization variable and implement: If non-nil, auto-fill will
14417 be inhibited while on topic's header line.
14418
14419 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14420
14421 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14422 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14423 always have a solution in grid size = 5 cases.
14424 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14425 (5x5-solver-output, 5x5-log-buffer): New vars.
14426 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14427 Make these variables buffer local to achieve 5x5 multi-session-ness.
14428 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14429 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14430 (5x5-solve-suggest): New funs.
14431 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14432 randomize a grid so that we ensure that there is always a solution.
14433 (5x5-make-random-grid): Allow other movement than flipping.
14434
14435 2011-05-23 Kevin Ryde <user42@zip.com.au>
14436
14437 * emacs-lisp/advice.el (ad-read-advised-function):
14438 Use `function-called-at-point' as the default, if it has
14439 advice and passes PREDICATE.
14440
14441 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14442
14443 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14444 byte-compile-lambda if it's actually a lambda.
14445
14446 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14447 Fix function quoting. Use backquote better.
14448
14449 2011-05-22 Yuanle Song <sylecn@gmail.com>
14450
14451 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14452 matching (Bug#8516).
14453
14454 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14455
14456 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14457 different face (Bug#8178).
14458
14459 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14460
14461 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14462 defface (Bug#8144).
14463
14464 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14465
14466 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14467 funcall as well (bug#8712). Warn when performing those conversions.
14468 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14469
14470 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14471
14472 2011-05-22 Glenn Morris <rgm@gnu.org>
14473
14474 * files.el (hack-local-variables-prop-line): Small simplifications.
14475 (hack-local-variables, hack-local-variables-prop-line):
14476 If MODE-ONLY, return the mode, rather than just `t'.
14477
14478 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14479
14480 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14481
14482 2011-05-21 Glenn Morris <rgm@gnu.org>
14483
14484 * files.el (hack-local-variables-prop-line, hack-local-variables):
14485 If only interested in the mode, don't bother doing the other stuff.
14486
14487 * image-mode.el (image-after-revert-hook):
14488 Redraw all frames on which the image is visible. (Bug#8567)
14489
14490 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14491
14492 * wid-edit.el (widget-checklist-match-inline):
14493 Fix 2011-04-19 change. (Bug#8649)
14494
14495 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14496
14497 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14498 Also allow singlespace after single-letter capitals followed by a dot.
14499
14500 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14501 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14502
14503 2011-05-20 Nix <nix@esperi.org.uk>
14504
14505 * files.el (basic-save-buffer-2):
14506 Fix handling of break-hardlink-on-save with non-existent files.
14507
14508 2011-05-19 Deniz Dogan <deniz@dogan.se>
14509
14510 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14511 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14512
14513 2011-05-19 Glenn Morris <rgm@gnu.org>
14514
14515 * progmodes/f90.el (f90-type-def-re):
14516 Handle "type, bind(c)". (Bug#8691)
14517
14518 * emacs-lisp/autoload.el (batch-update-autoloads):
14519 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14520
14521 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14522
14523 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14524 property for the correct connection in case of multihops.
14525
14526 2011-05-18 Glenn Morris <rgm@gnu.org>
14527
14528 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14529 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14530
14531 Rationalize calendar handling of day and month abbrev-arrays.
14532 * calendar/calendar.el (calendar-customized-p): New function.
14533 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14534 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14535 Add :set function.
14536 (calendar-abbrev-length, calendar-day-abbrev-array)
14537 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14538 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14539 Elements may no longer be nil.
14540 (calendar-day-name, calendar-month-name):
14541 Update for changed nature of abbrev arrays.
14542 * calendar/diary-lib.el (diary-name-pattern):
14543 Update for changed nature of abbrev arrays.
14544 (diary-mark-entries-1): Update calendar-make-alist calls.
14545 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14546 * calendar/cal-html.el (cal-html-day-abbrev-array):
14547 Simply inherit from calendar-day-abbrev-array.
14548
14549 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14550
14551 * progmodes/grep.el (grep-mode): Disable default
14552 compilation-directory-matcher setting (bug#8684).
14553
14554 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14555
14556 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14557 instead of "head" and "tail". There were problems with SunOS 5.9,
14558 and it performs better.
14559
14560 2011-05-17 Glenn Morris <rgm@gnu.org>
14561
14562 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14563
14564 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14565 Replace obsolete function.
14566
14567 * shell.el (pcomplete-parse-arguments-function): Declare.
14568
14569 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14570 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14571 (appt-check): Doc fixes.
14572 (appt-disp-window-function, appt-delete-window-function):
14573 Remove needless special case in custom :type.
14574 (appt-display-count): Default to 0, not nil.
14575 (appt-check): Reset appt-display-count to 0, not nil.
14576
14577 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14578
14579 * progmodes/python.el (python-font-lock-keywords):
14580 Add the Python 3.X keyword "nonlocal" (bug#8639).
14581
14582 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14583
14584 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14585
14586 2011-05-16 Kevin Ryde <user42@zip.com.au>
14587
14588 * info-look.el (makefile-automake-mode): New setups, looking in
14589 automake manual, then makefile-mode.
14590 (makefile-mode): Remove automake manual, have it just in
14591 makefile-automake-mode since there's various things different or
14592 not relevant to plain make.
14593 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14594 believe a hypothetical automake-mode would go to makefile-mode,
14595 not the other way around.
14596
14597 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14598
14599 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14600 hunk-end tags (Bug#8672).
14601
14602 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14603 vc-annotate-show-diff-revision-at-line (Bug#8671).
14604
14605 2011-05-14 Glenn Morris <rgm@gnu.org>
14606
14607 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14608 in the middle of an existing one with multiple authors. (Bug#8645)
14609 (change-log-font-lock-keywords): Also handle multiple author lines
14610 with leading tabs. (Bug#8644)
14611
14612 * calendar/appt.el (appt-check): Rename some local variables.
14613 Some simplification/reordering.
14614
14615 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14616 (feedmail-sendmail-f-doesnt-sell-me-out)
14617 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14618 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14619 (feedmail-queue-runner-message-sender): Set :version.
14620 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14621 (bbdb-dwim-net-address, vm-mail): Declare.
14622 (feedmail-binmail-gnulinuxish-template):
14623 Rename from feedmail-binmail-linuxish-template.
14624 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14625 Use insert-buffer-substring.
14626
14627 2011-05-14 Bill Carpenter <bill@carpenter.org>
14628
14629 * mail/feedmail.el (feedmail-patch-level): Increase.
14630 (feedmail-debug): New custom group.
14631 (feedmail-confirm-outgoing-timeout)
14632 (feedmail-sendmail-f-doesnt-sell-me-out)
14633 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14634 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14635 (feedmail-sender-line, feedmail-from-line)
14636 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14637 (feedmail-spray-this-address)
14638 (feedmail-spray-address-fiddle-plex-list)
14639 (feedmail-queue-use-send-time-for-date)
14640 (feedmail-queue-use-send-time-for-message-id)
14641 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14642 (feedmail-buffer-eating-function):
14643 Doc fixes.
14644 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14645 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14646 (feedmail-message-action-scroll-down): New functions.
14647 (feedmail-queue-directory, feedmail-queue-draft-directory):
14648 Use expand-file-name.
14649 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14650 Remove C-v help entry.
14651 (feedmail-queue-buffer-file-name): New variable.
14652 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14653 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14654 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14655 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14656 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14657 (feedmail-message-action-toggle-spray)
14658 (feedmail-run-the-queue-no-prompts)
14659 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14660 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14661 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14662 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14663 (feedmail-envelope-deducer, feedmail-fiddle-from)
14664 (feedmail-fiddle-sender, feedmail-default-date-generator)
14665 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14666 (feedmail-fiddle-spray-address)
14667 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14668 (feedmail-fiddle-list-of-fiddle-plexes)
14669 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14670 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14671 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14672 Change default. Doc fix.
14673 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14674 (feedmail-binmail-linuxish-template): New constant.
14675 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14676 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14677 (feedmail-send-it): Add debug call.
14678 Use feedmail-queue-buffer-file-name, and
14679 feedmail-send-it-immediately-wrapper.
14680 (feedmail-message-action-send): Add debug call.
14681 Use feedmail-send-it-immediately-wrapper.
14682 (feedmail-queue-express-to-queue): Add debug call.
14683 Run feedmail-queue-express-hook.
14684 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14685 (feedmail-message-action-help-blat):
14686 Rename from feedmail-queue-send-edit-prompt-help-first.
14687 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14688 Check line-endings. Handle errors better.
14689 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14690 Doc fix. Add debug call.
14691 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14692 Use feedmail-queue-send-edit-prompt-inner.
14693 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14694 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14695 from feedmail-queue-send-edit-prompt.
14696 (feedmail-queue-send-edit-prompt-help)
14697 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14698 (feedmail-tidy-up-slug): Add debug call.
14699 Respect feedmail-queue-slug-suspect-regexp.
14700 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14701 (feedmail-dump-message-to-queue): Add debug call.
14702 Expand queue-directory.
14703 (feedmail-dump-message-to-queue): Change message slightly.
14704 Use feedmail-say-chatter.
14705 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14706 (feedmail-send-it-immediately-wrapper): New function.
14707 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14708 Insert empty string rather than newline. Handle full-frame case.
14709 Use catch/throw. Use feedmail-say-chatter.
14710 (feedmail-fiddle-from): Try mail-host-address.
14711 (feedmail-default-message-id-generator): Doc fix.
14712 Bind system-time-locale. Handle missing end.
14713 (feedmail-fiddle-x-mailer): Add debug call.
14714 Handle feedmail-x-mailer-line being nil.
14715 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14716 Add debug call. Use buffer-substring-no-properties.
14717 (feedmail-say-debug, feedmail-say-chatter): New functions.
14718 (feedmail-find-eoh): Give an explicit error.
14719
14720 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14721
14722 * net/newst-treeview.el (newsticker-treeview-face): Change default
14723 family from helvetica to sans.
14724 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14725 etc/images/newsticker.
14726
14727 * net/newst-reader.el (newsticker-feed-face): Change default
14728 family from helvetica to sans.
14729
14730 * net/newst-plainview.el (newsticker-new-item-face)
14731 (newsticker-old-item-face, newsticker-immortal-item-face)
14732 (newsticker-obsolete-item-face, newsticker-date-face)
14733 (newsticker-statistics-face): Change default family from
14734 helvetica to sans.
14735 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14736 etc/images/newsticker.
14737
14738 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14739 (newsticker--process-auto-mark-filter-match): Tell user about
14740 auto-marking.
14741
14742 2011-05-13 Didier Verna <didier@xemacs.org>
14743
14744 Common Lisp indentation improvements on defmethod and lambda-lists.
14745 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14746 TODO entries.
14747 (lisp-lambda-list-keyword-parameter-indentation)
14748 (lisp-lambda-list-keyword-parameter-alignment)
14749 (lisp-lambda-list-keyword-alignment): New customizable user options.
14750 (lisp-indent-defun-method): Improve docstring.
14751 (extended-loop-p): Fix comment.
14752 (lisp-indent-lambda-list-keywords-regexp): New variable.
14753 (lisp-indent-lambda-list): New function.
14754 (lisp-indent-259): Use it.
14755 (lisp-indent-defmethod): Support for more than one
14756 method qualifier and properly indent methods lambda-lists.
14757 (defgeneric): Provide a missing common-lisp-indent-function property.
14758
14759 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14760
14761 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14762 bounds for the empty string (bug#8667).
14763
14764 2011-05-13 Glenn Morris <rgm@gnu.org>
14765
14766 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14767
14768 * mail/sendmail.el (sendmail-program): Try executable-find first.
14769 (sendmail-send-it): `sendmail-program' cannot be unbound.
14770
14771 * calendar/appt.el (appt-make-list): Simplify.
14772 (appt-time-msg-list): Doc fix.
14773 (appt-check): Change mode-line message at the time of the appointment.
14774
14775 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14776
14777 * progmodes/ld-script.el (ld-script-keywords)
14778 (ld-script-builtins): Update keywords list.
14779
14780 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14781
14782 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14783
14784 * shell.el (shell-completion-vars): New function.
14785 (shell-mode):
14786 * simple.el (read-shell-command): Use it.
14787 (blink-matching-open): No need for " [...]" in minibuffer-message.
14788
14789 2011-05-12 Glenn Morris <rgm@gnu.org>
14790
14791 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14792 (appt-check): Simplify.
14793
14794 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14795
14796 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14797 literal "/dev/null".
14798
14799 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14802 Fix typo.
14803
14804 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14805
14806 * progmodes/which-func.el (which-function):
14807 Use add-log-current-defun instead of add-log-current-defun-function,
14808 which might not be defined (Bug#8260).
14809
14810 2011-05-12 Glenn Morris <rgm@gnu.org>
14811
14812 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14813 Let byte-compile-initial-macro-environment always take precedence.
14814
14815 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * net/rcirc.el: Add support for SSL/TLS connections.
14818 (rcirc-server-alist): New field `encryption'.
14819 (rcirc): Check `encryption' settings.
14820 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14821 Merge make-local-variable into `set'.
14822 (rcirc--connection-open-p): New function.
14823 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14824 the process is not a network process (e.g. running gnutls-cli).
14825 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14826 Make rcirc-(en|de)code-coding-system local here.
14827 (rcirc-mode): Merge make-local-variable into `set'.
14828 (rcirc-parent-buffer): Make permanent buffer-local.
14829 (rcirc-multiline-minor-mode): Don't do it here.
14830 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14831 there's no server buffer.
14832
14833 2011-05-11 Glenn Morris <rgm@gnu.org>
14834
14835 * newcomment.el (comment-kill): Prefix "unused" local.
14836
14837 * term/w32console.el (get-screen-color): Declare.
14838
14839 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14840 Handle symbol elements of byte-compile-initial-macro-environment.
14841
14842 2011-05-10 Leo Liu <sdl.web@gmail.com>
14843
14844 * bookmark.el (bookmark-bmenu-mode-map):
14845 Bind bookmark-bmenu-search to `/'.
14846
14847 * mail/footnote.el: Convert to utf-8 encoding.
14848 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14849 (Footnote-unicode): New function.
14850 (footnote-style-alist): Add unicode style to the list.
14851 (footnote-style): Doc fix.
14852
14853 2011-05-10 Jim Meyering <meyering@redhat.com>
14854
14855 Fix doubled-word typos.
14856 * international/quail.el (quail-insert-kbd-layout): and and -> and
14857 * kermit.el: and and -> and
14858 * net/ldap.el (ldap-search-internal): to to -> to
14859 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14860 * progmodes/js.el (js-mode): and and -> and
14861 * textmodes/artist.el (artist-move-to-xy): at at -> at
14862 (artist-draw-region-trim-line-endings): if if -> if
14863 And Safetyc -> Safety.
14864 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14865
14866 2011-05-10 Glenn Morris <rgm@gnu.org>
14867 Stefan Monnier <monnier@iro.umontreal.ca>
14868
14869 * files.el (hack-one-local-variable-eval-safep):
14870 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14871
14872 2011-05-10 Glenn Morris <rgm@gnu.org>
14873
14874 * calendar/diary-lib.el (diary-list-entries-hook)
14875 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14876 (diary-nongregorian-marking-hook, diary-list-entries)
14877 (diary-include-other-diary-files, diary-mark-entries)
14878 (diary-mark-included-diary-files): Doc fixes.
14879
14880 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14881
14882 * misc.el: Require tabulated-list.el during compilation.
14883
14884 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14885
14886 * progmodes/compile.el (compilation-start):
14887 Run compilation-filter-hook for the async case too.
14888 (compilation-filter-hook): Doc fix.
14889
14890 2011-05-09 Deniz Dogan <deniz@dogan.se>
14891
14892 * wdired.el: Remove outdated installation comment. Fix usage
14893 comment.
14894
14895 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14896
14897 * misc.el: Implement new command `list-dynamic-libraries'.
14898 (list-dynamic-libraries--loaded-only-p): New variable.
14899 (list-dynamic-libraries--refresh): New function.
14900 (list-dynamic-libraries): New command.
14901
14902 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14903
14904 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14905 Fix the ant regexp to handle end-line and end-column info from jikes.
14906 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14907 higher priority to avoid clobbering by gnu.
14908
14909 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14910
14911 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14912 if the face has existing theme settings (Bug#8454).
14913
14914 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14915
14916 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14917 Only match variables declared via `my' or `our' (Bug#8261).
14918
14919 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14920 special file names `.' and `..' (Bug#8259).
14921
14922 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14923
14924 * progmodes/grep.el (grep-mode-font-lock-keywords):
14925 Remove buffer-changing entries.
14926 (grep-filter): New function.
14927 (grep-mode): Add it to compilation-filter-hook.
14928
14929 * progmodes/compile.el (compilation-filter-hook)
14930 (compilation-filter-start): New defvars.
14931 (compilation-filter): Call compilation-filter-hook prior to
14932 updating the process mark.
14933
14934 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14937
14938 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14939
14940 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14941 mailclient-send-it even if window-system is nil. (Bug#8595)
14942
14943 * term/w32console.el (terminal-init-w32console):
14944 Call get-screen-color and use its output to set the frame
14945 background-mode. (Bug#8597)
14946
14947 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14950 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14951 New functions.
14952 (defgeneric, eieio--defmethod): Use them.
14953 (eieio-defgeneric): Remove.
14954 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14955
14956 2011-05-07 Glenn Morris <rgm@gnu.org>
14957
14958 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14959 Use let rather than let*.
14960 (timeclock-find-discrep): Remove unused local.
14961
14962 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14963
14964 * calendar/appt.el (appt-time-msg-list): Doc fix.
14965
14966 2011-05-06 Noah Friedman <friedman@splode.com>
14967
14968 * apropos.el (apropos-print-doc): Only use
14969 emacs-lisp-docstring-fill-column when it is bound to an integer,
14970 per that variable's documentation.
14971
14972 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14973
14974 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14975 and warnings are not silently discarded (e.g. use -d instead of -P).
14976
14977 2011-05-06 Glenn Morris <rgm@gnu.org>
14978
14979 * calendar/appt.el (appt-message-warning-time): Doc fix.
14980 (appt-warning-time-regexp): New option.
14981 (appt-make-list): Respect appt-message-warning-time.
14982
14983 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14984 New options.
14985 (diary-add-to-list): Strip comments from the displayed string.
14986 (diary-mode): Set comment-start and comment-end.
14987
14988 * vc/diff-mode.el (smerge-refine-subst): Declare.
14989 (diff-refine-hunk): Don't require smerge-mode when compiling.
14990
14991 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14992
14993 * simple.el (list-processes): Return nil as the docstring says.
14994
14995 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14996
14997 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14998 to "".
14999 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15000 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15001 determining of binary transfer. (Bug#7383)
15002
15003 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15004
15005 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15006 Fix port computation bug. (Bug#8618)
15007
15008 2011-05-05 Glenn Morris <rgm@gnu.org>
15009
15010 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15011
15012 * simple.el (shell-dynamic-complete-functions)
15013 (comint-dynamic-complete-functions): Declare.
15014
15015 * net/network-stream.el (gnutls-negotiate):
15016 * simple.el (tabulated-list-print): Fix declarations.
15017
15018 * progmodes/gud.el (syntax-symbol, syntax-point):
15019 Remove unnecessary and incorrect declarations.
15020
15021 * emacs-lisp/check-declare.el (check-declare-scan):
15022 Handle byte-compile-initial-macro-environment in bytecomp.el
15023
15024 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15025
15026 Fix earlier half-done eieio-defmethod change (bug#8338).
15027 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15028 Streamline and change calling convention.
15029 (defmethod): Adjust accordingly and simplify.
15030 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15031 new eieio--defmethod.
15032 (slot-boundp): Minor CSE simplification.
15033
15034 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15035
15036 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15037 (glasses-make-readable): Use glasses-separate-capital-groups.
15038
15039 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15040
15041 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15042 (warning-series): Doc fix.
15043 (display-warning): Don't try to create the buffer if we just found it.
15044
15045 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15046
15047 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15048 (autoload-find-generated-file): New function.
15049 (generate-file-autoloads): Bind generated-autoload-file to
15050 buffer-file-name.
15051 (update-file-autoloads, update-directory-autoloads):
15052 Use autoload-find-generated-file. If called interactively, prompt for
15053 output file (Bug#7989).
15054 (batch-update-autoloads): Doc fix.
15055
15056 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15057
15058 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15059
15060 2011-05-04 Glenn Morris <rgm@gnu.org>
15061
15062 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15063 function, so it follows changes in calendar-date-style.
15064 (diary-fancy-date-matcher): New function.
15065 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15066 (diary-fancy-font-lock-fontify-region-function):
15067 Use diary-fancy-date-pattern as a function.
15068
15069 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15070 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15071
15072 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15073
15074 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15075 instead of positional arguments. Allow :keylist and :crlfiles
15076 arguments.
15077 (open-gnutls-stream): Call it.
15078
15079 * net/network-stream.el (network-stream-open-starttls): Adjust to
15080 call `gnutls-negotiate' with :process and :hostname arguments.
15081
15082 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15083
15084 * minibuffer.el (completion--message): New function.
15085 (completion--do-completion, minibuffer-complete)
15086 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15087 (completion--do-completion): Don't ignore completion-auto-help when in
15088 icomplete-mode.
15089
15090 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15091 internal encoding (e.g. tibetan zero is not whitespace).
15092 (global-whitespace-mode): Prefer save-current-buffer.
15093 (whitespace-trailing-regexp): Remove useless save-match-data.
15094 (whitespace-empty-at-bob-regexp): Minor simplification.
15095
15096 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15097
15098 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15099
15100 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15101
15102 * textmodes/ispell.el (ispell-add-per-file-word-list):
15103 Use `concat' to create string for insertion.
15104
15105 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15106
15107 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15108 Avoid open-line which runs post-self-insert-hook.
15109 (bibtex-fill-entry): Remove unused `end' var.
15110
15111 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15112
15113 * textmodes/ispell.el (ispell-add-per-file-word-list):
15114 Protect against `nil' value of `comment-start' (Bug#8579).
15115
15116 2011-05-03 Leo Liu <sdl.web@gmail.com>
15117
15118 * isearch.el (isearch-yank-pop): New command.
15119 (isearch-mode-map): Bind it to `M-y'.
15120 (isearch-forward): Mention it.
15121
15122 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15123
15124 * simple.el (minibuffer-complete-shell-command): Remove.
15125 (minibuffer-local-shell-command-map): Use completion-at-point.
15126 (read-shell-command): Setup completion vars here instead.
15127 (read-expression-map): Bind TAB to symbol completion.
15128
15129 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15130 error directly rather via storing it into `results'.
15131
15132 2011-05-02 Leo Liu <sdl.web@gmail.com>
15133
15134 * vc/diff.el: Fix description.
15135
15136 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15137
15138 * server.el (server-eval-at): New function.
15139
15140 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15141
15142 * net/network-stream.el (open-network-stream): Take a :nowait
15143 parameter and pass it on to `make-network-process'.
15144 (network-stream-open-plain): Ditto.
15145
15146 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15147
15148 * faces.el (face-spec-set-match-display): Don't match toolkit
15149 options on terminal frames.
15150
15151 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15152
15153 * progmodes/pascal.el: Use lexical binding.
15154 (pascal-mode-map): Remove author preferences.
15155
15156 * pcomplete.el (pcomplete-std-complete): Don't abuse
15157 completion-at-point.
15158
15159 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15160
15161 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15162 removing code that has been dead since 1991 or so.
15163
15164 * startup.el (command-line): When warning about "_emacs", use a
15165 delayed warning to allow the user to filter it out.
15166
15167 2011-04-28 Deniz Dogan <deniz@dogan.se>
15168
15169 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15170 user has not joined.
15171
15172 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15173
15174 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15175 aren't any completions at point.
15176
15177 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15178
15179 * subr.el (display-delayed-warnings): New function.
15180 (delayed-warnings-hook): New variable.
15181
15182 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15183
15184 * minibuffer.el (completion-at-point, completion-help-at-point):
15185 Don't presume that a given completion-at-point-function will always
15186 use the same calling convention.
15187
15188 * pcomplete.el (pcomplete-completions-at-point):
15189 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15190 pcomplete-seen is non-nil.
15191 (pcomplete-comint-setup): Also recognize the new comint/shell
15192 completion functions.
15193 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15194 pcomplete-seen is non-nil.
15195
15196 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15197
15198 * calendar/icalendar.el (diary-lib): Add require statement.
15199 (icalendar--create-uid): Read out a uid from a text-property on
15200 the first character in the entry. This allows for code to add its
15201 own uid to the entry.
15202 (icalendar--convert-float-to-ical): Add export of
15203 `diary-float'-entries save for those with the optional DAY
15204 argument.
15205
15206 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15207
15208 * subr.el (shell-quote-argument): Use alternate escaping strategy
15209 when we spot a variable reference in a string.
15210
15211 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15212
15213 * cus-start.el (all): Define customization for debug-on-event.
15214
15215 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15216
15217 * subr.el (shell-quote-argument): Escape correctly under Windows.
15218
15219 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15220
15221 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15222
15223 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15224
15225 * net/tramp.el (tramp-process-actions): Add POS argument.
15226 Delete region between POS and (pos).
15227
15228 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15229 Use `nil' position in `tramp-process-actions' call.
15230 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15231
15232 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15233 position in `tramp-process-actions' call.
15234
15235 * net/trampver.el: Update release number.
15236
15237 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15238
15239 * custom.el (defcustom): Obey lexical-binding.
15240
15241 Fix octave-inf completion problems reported by Alexander Klimov.
15242 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15243 Inherit from octave-mode-syntax-table.
15244 (inferior-octave-mode): Set info-lookup-mode.
15245 (inferior-octave-completion-at-point): New function.
15246 (inferior-octave-complete): Use it and completion-in-region.
15247 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15248 comint-filename-completion.
15249 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15250 symbol elements which shouldn't be word elements.
15251 (octave-font-lock-keywords, octave-beginning-of-defun)
15252 (octave-function-header-regexp): Adjust regexps accordingly.
15253 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15254
15255 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15256
15257 * net/gnutls.el (gnutls-errorp): Declare before first use.
15258
15259 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15260
15261 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15262 verify-error, and verify-hostname-error parameters. Check whether
15263 default trustfile exists before going to use it. Add missing
15264 argument to gnutls-message-maybe call. Return value.
15265 Reported by Claudio Bley <claudio.bley@gmail.com>.
15266 (open-gnutls-stream): Add usage example.
15267
15268 * net/network-stream.el (network-stream-open-starttls): Give host
15269 parameter to `gnutls-negotiate'.
15270 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15271 * subr.el (shell-quote-argument): Escape correctly under Windows.
15272
15273 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15274
15275 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15276 Use correct match group (bug#8438).
15277
15278 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15279
15280 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15281 (package-menu--generate): New arg specifying packages to show.
15282 (package-menu-refresh, package-menu-execute, list-packages):
15283 Callers changed.
15284 (package-show-package-list): New function, replacing deleted
15285 package--list-packages (renamed because it is non-internal).
15286
15287 * finder.el (finder-list-matches): Use package-show-package-list
15288 instead of deleted package--list-packages.
15289
15290 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15291 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15292 (vc-annotate-mode-map): Bind it to RET.
15293
15294 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15295
15296 * progmodes/etags.el (next-file): Don't use set-buffer to change
15297 buffers (Bug#8478).
15298
15299 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15300
15301 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15302
15303 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15304 (apropos-accumulator): Doc fix.
15305 (apropos-function, apropos-macro, apropos-command)
15306 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15307 (apropos-plist): Add face property.
15308 (apropos-symbols-internal): Fix indentation.
15309 (apropos-print): Simplify help, and recognize apropos-multi-type.
15310 (apropos-print-doc): Use button-type-get to extract the button's
15311 face property. Fill docstring (Bug#8352).
15312
15313 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15314
15315 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15316
15317 * play/mpuz.el (mpuz-silent): Doc fix.
15318 (mpuz-mode-map): Use mapc.
15319 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15320 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15321 Fix typos in docstrings.
15322
15323 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15324 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15325
15326 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15327
15328 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15329
15330 * minibuffer.el (completion--do-completion): Avoid the "Next char
15331 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15332
15333 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15334 mouse-2 into unread-command-events, it is interpreted correctly.
15335
15336 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15337 (image-toggle-display): Doc fix.
15338
15339 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15340
15341 * textmodes/page.el (what-page): Use line-number-at-pos to
15342 calculate line number (Bug#6825).
15343
15344 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15345
15346 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15347 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15348 Pass argument NO-DEFAULT to `find-tag-interactive'.
15349
15350 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15351
15352 Lexical-binding cleanup.
15353
15354 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15355 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15356 * progmodes/ada-prj.el (ada-prj-initialize-values)
15357 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15358 (ada-prj-show-value):
15359 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15360 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15361 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15362 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15363 * progmodes/bug-reference.el (bug-reference-push-button):
15364 * progmodes/fortran.el (fortran-line-length):
15365 * progmodes/glasses.el (glasses-change):
15366 * progmodes/octave-mod.el (octave-fill-paragraph):
15367 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15368 (python-pdbtrack-grub-for-buffer, python-sentinel):
15369 * progmodes/sql.el (sql-save-connection):
15370 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15371 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15372 Mark unused parameters.
15373
15374 * progmodes/compile.el (compilation--flush-directory-cache)
15375 (compilation--flush-parse, compile-internal): Mark unused parameters.
15376 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15377 (compilation-next-error-function): Remove unused variable `timestamp'.
15378
15379 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15380 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15381
15382 * progmodes/dcl-mode.el (dcl-end-of-command):
15383 Remove unused variable `start'.
15384 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15385 (dcl-option-value-basic, dcl-option-value-offset)
15386 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15387 Mark unused parameters.
15388 (dcl-save-local-variable): Remove unused variable `val'.
15389 (mode): Declare.
15390
15391 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15392 Mark unused parameters.
15393 (delphi-ignore-changes): Move before first use.
15394 (delphi-charset-token-at): Remove unused variable `start'.
15395 (delphi-else-start): Remove unused variable `if-count'.
15396 (delphi-comment-block-start, delphi-comment-block-end):
15397 Remove unused variable `kind'.
15398 (delphi-indent-line): Remove unused variable `new-point'.
15399
15400 * progmodes/ebrowse.el (ebrowse-files-list)
15401 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15402 Mark unused parameters. Don't quote `lambda'.
15403 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15404 Don't quote `lambda'.
15405 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15406 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15407 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15408 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15409 Use `ignore-errors'.
15410 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15411 (ebrowse-view/find-file-and-search-pattern)
15412 (ebrowse-view/find-member-declaration/definition):
15413 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15414 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15415 Rename parameter PREFIX-ARG to PREFIX.
15416 (ebrowse-tags-read-name): Remove unused variables `start' and
15417 `member-info'.
15418 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15419 to `tags-file'.
15420
15421 * progmodes/etags.el (local-find-tag-hook): Declare.
15422 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15423 Mark unused parameters.
15424
15425 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15426 (executable-interpret): Mark unused parameter.
15427
15428 * progmodes/flymake.el (flymake-process-sentinel)
15429 (flymake-after-change-function)
15430 (flymake-create-temp-with-folder-structure)
15431 (flymake-get-include-dirs-dot): Mark unused parameters.
15432 (flymake-safe-delete-directory): Remove unused variable `err'.
15433
15434 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15435 (speedbar-timer-fn, speedbar-line-text)
15436 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15437 (speedbar-center-buffer-smartly): Declare functions.
15438 (gdb-find-watch-expression): Remove unused variable `array'.
15439 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15440 (gdb-starting): Mark unused parameters.
15441 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15442 (gdb-table-string): Remove unused variable `res'.
15443 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15444 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15445 (gdb-display-buffer): Remove unused variable `cur-size'.
15446
15447 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15448 allow lexical-binding compilation.
15449 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15450 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15451 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15452 Mark unused parameters.
15453 (gud-gdb-marker-filter): Remove unused variable `match'.
15454 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15455 lambda expressions and funcall them, instead of using `fset'.
15456
15457 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15458 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15459
15460 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15461 variable `header-beg'; use `let'.
15462
15463 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15464 `restart', `last-sexp' and `at-do'.
15465
15466 * progmodes/js.el (js--debug): Mark unused parameter.
15467 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15468 (js--splice-into-items): Remove unused variable `item'.
15469 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15470
15471 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15472 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15473 (makefile-complete): Remove unused variable `try'.
15474 (makefile-fill-paragraph, makefile-match-function-end):
15475 Mark unused parameters.
15476
15477 * progmodes/octave-inf.el (inferior-octave-complete):
15478 Remove unused variable `proc'.
15479 (inferior-octave-output-digest): Mark unused parameter.
15480
15481 * progmodes/perl-mode.el (perl-calculate-indent):
15482 Remove unused variable `err'.
15483
15484 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15485 (prolog-indent-line): Mark unused parameters.
15486 (prolog-indent-line): Remove unused variable `beg'.
15487
15488 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15489 (reporter-dont-compact-list): Declare.
15490
15491 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15492 Remove unused variable `char'.
15493 (sh-debug): Mark unused parameter.
15494 (sh-get-indent-info): Remove unused variable `start'.
15495 (sh-calculate-indent): Remove unused variable `var'.
15496
15497 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15498 (simula-electric-keyword): Remove unused variable `null'.
15499 (simula-search-backward, simula-search-forward): Remove unused
15500 variables `begin' and `end'.
15501
15502 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15503 Remove unused variable `pos'.
15504 (vera-electric-tab, vera-comment-uncomment-region):
15505 Mark unused parameters.
15506 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15507
15508 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15509
15510 * emacs-lisp/package.el (package--builtins, package-alist)
15511 (package-load-descriptor, package-built-in-p, package-activate)
15512 (define-package, package-installed-p)
15513 (package-compute-transaction, package-buffer-info)
15514 (package--push): Doc fix. Distinguish more clearly between
15515 version strings and version lists.
15516
15517 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15518
15519 Lexical-binding cleanup.
15520
15521 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15522 (5x5-make-mutate-best):
15523 * play/fortune.el (fortune-in-buffer):
15524 * play/gomoku.el (gomoku-init-display):
15525 * play/solitaire.el (solitaire, solitaire-do-check):
15526 * play/tetris.el (tetris-default-update-speed-function):
15527 Mark unused parameters.
15528
15529 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15530 (bubbles--shift): Remove unused variable `char-org'.
15531 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15532 (bubbles--show-images): Remove unused variable `char'.
15533
15534 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15535 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15536 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15537 (decipher-analyze-buffer): Use ?\s.
15538 (decipher-make-checkpoint): Remove unused variable `mapping'.
15539
15540 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15541
15542 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15543 Remove unused variable `result'; use `let'.
15544
15545 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15546 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15547 (gametree-children-shown-p, gametree-compute-reduced-score):
15548 Use `ignore-errors'.
15549
15550 * play/handwrite.el (ps-lpr-switches): Declare.
15551 (handwrite): Remove unused variables `pmin' and `lastp'.
15552
15553 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15554
15555 * play/landmark.el (landmark-init-display)
15556 (landmark-update-naught-weights): Mark unused parameters.
15557 (landmark-y): Remove unused variable `noise'. Simplify.
15558 (landmark-human-plays): Remove unused variable `score'.
15559
15560 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15561 (mpuz-try-proposal): Remove unused variable `game'.
15562
15563 * play/zone.el (life-patterns): Declare.
15564
15565 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15566
15567 * vc/vc.el (ediff-vc-internal): Declare function.
15568
15569 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15570
15571 * shell.el: Use lexical-binding and std completion UI.
15572 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15573 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15574 comint-preoutput-filter-functions rather than on
15575 comint-output-filter-functions.
15576 (shell-command-completion, shell--command-completion-data)
15577 (shell-filename-completion, shell-environment-variable-completion)
15578 (shell-c-a-p-replace-by-expanded-directory): New functions.
15579 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15580 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15581 (shell-dynamic-complete-environment-variable): Use them.
15582 (shell-dynamic-complete-as-environment-variable)
15583 (shell-dynamic-complete-as-command): Remove.
15584 (shell-match-partial-variable): Match past point.
15585 * comint.el: Clean up use of completion-at-point-functions.
15586 (comint-completion-at-point): New function.
15587 (comint-mode): Use it completion-at-point-functions.
15588 (comint-dynamic-complete): Make it obsolete.
15589 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15590 (comint-c-a-p-replace-by-expanded-history): New function.
15591 (comint-dynamic-complete-functions)
15592 (comint-replace-by-expanded-history): Use it.
15593 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15594 termination strings. Try harder to avoid second try-completion.
15595 (completion-in-region-mode-map): Disable bindings that don't work yet.
15596
15597 * comint.el: Use lexical-binding. Require CL.
15598 (comint-dynamic-complete-functions): Use comint-filename-completion.
15599 (comint-completion-addsuffix): Tweak custom type.
15600 (comint-filename-completion, comint--common-suffix)
15601 (comint--common-quoted-suffix, comint--table-subvert)
15602 (comint--complete-file-name-data): New functions.
15603 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15604 (comint-dynamic-list-filename-completions): Use them.
15605 (comint-dynamic-simple-complete): Make obsolete.
15606
15607 * minibuffer.el (completion-in-region-mode):
15608 Keep completion-in-region-mode--predicate global.
15609 (completion-in-region--postch):
15610 Assume completion-in-region-mode--predicate is not null.
15611
15612 * progmodes/flymake.el (flymake-start-syntax-check-process):
15613 Obey `dir'. Simplify.
15614
15615 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15616 we're in VC after all.
15617
15618 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15619
15620 * vc/vc.el (vc-diff-build-argument-list-internal)
15621 (vc-version-ediff, vc-ediff): New commands.
15622 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15623
15624 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15625
15626 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15627 add sanity check.
15628
15629 * obsolete/erc-hecomplete.el: Make obsolete.
15630 * obsolete/: Standardize obsolescence info in the header.
15631
15632 2011-04-20 Glenn Morris <rgm@gnu.org>
15633
15634 * calendar/solar.el (solar-horizontal-coordinates):
15635 Use the longitude argument rather than `calendar-longitude'.
15636 (solar-date-next-longitude): Remove unused locals.
15637
15638 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15639
15640 * whitespace.el: New version 13.2.1.
15641
15642 2011-04-20 felix <EmacsWiki> (tiny change)
15643
15644 * whitespace.el (global-whitespace-mode): Keep highlight when
15645 switching between major modes on a file.
15646
15647 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15648
15649 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15650 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15651 multi-line comments as well.
15652
15653 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15654
15655 Lexical-binding cleanup.
15656
15657 * arc-mode.el (archive-mode-revert):
15658 * cmuscheme.el (scheme-interactively-start-process):
15659 * custom.el (custom-initialize-delay):
15660 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15661 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15662 * emacs-lock.el (emacs-lock-clear-sentinel):
15663 * ezimage.el (defezimage):
15664 * follow.el (follow-avoid-tail-recenter):
15665 * fringe.el (set-fringe-mode-1):
15666 * generic-x.el (bat-generic-mode-compile):
15667 * help-mode.el (help-info-variable, help-do-xref)
15668 (help-mode-revert-buffer):
15669 * help.el (view-emacs-todo):
15670 * iswitchb.el (iswitchb-completion-help):
15671 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15672 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15673 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15674 * locate.el (locate-update):
15675 * longlines.el (longlines-encode-region)
15676 (longlines-after-change-function):
15677 * outline.el (outline-isearch-open-invisible):
15678 * ps-def.el (declare-function, charset-dimension, char-width)
15679 (encode-char):
15680 * ps-mule.el (ps-mule-plot-string):
15681 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15682 (recentf-edit-list-select, recentf-edit-list-validate)
15683 (recentf-open-files-action):
15684 * rect.el (delete-whitespace-rectangle-line)
15685 (rectangle-number-line-callback):
15686 * register.el (window-configuration-to-register)
15687 (frame-configuration-to-register):
15688 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15689 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15690 (xselect-convert-to-targets, xselect-convert-to-delete)
15691 (xselect-convert-to-filename, xselect-convert-to-charpos)
15692 (xselect-convert-to-lineno, xselect-convert-to-colno)
15693 (xselect-convert-to-os, xselect-convert-to-host)
15694 (xselect-convert-to-user, xselect-convert-to-class)
15695 (xselect-convert-to-name, xselect-convert-to-integer)
15696 (xselect-convert-to-atom, xselect-convert-to-identity):
15697 * subr.el (declare, ignore, process-kill-without-query)
15698 (text-clone-maintain):
15699 * terminal.el (te-get-char, te-tic-sentinel):
15700 * tool-bar.el (tool-bar-make-keymap):
15701 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15702 * type-break.el (type-break-mode, type-break-noninteractive-query):
15703 * view.el (View-back-to-mark):
15704 * wid-browse.el (widget-browse-action, widget-browse-widget)
15705 (widget-browse-widgets, widget-browse-sexp):
15706 * widget.el (define-widget-keywords):
15707 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15708 Mark unused parameters.
15709
15710 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15711 (align-areas): Remove unused variable `look'.
15712 (align-region): Remove unused variables `real-end' and `pos-list'.
15713
15714 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15715
15716 * bindings.el (mode-line-modified, mode-line-remote):
15717 Mark unused parameters.
15718 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15719
15720 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15721 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15722
15723 * comint.el (comint-history-isearch-pop-state)
15724 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15725 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15726 (comint-substitute-in-file-name): Doc fix.
15727
15728 * completion.el (cmpl-statistics-block): Mark unused parameter.
15729 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15730 (save-completions-to-file, load-completions-from-file):
15731 Remove unused local variable `e'.
15732
15733 * composite.el (compose-chars): Remove unused variable `len'.
15734 (lgstring-insert-glyph): Remove unused variable `g'.
15735 (compose-glyph-string): Remove unused variables `ascent',
15736 `descent', `lbearing' and `rbearing'.
15737 (compose-glyph-string-relative): Remove unused variables
15738 `lbearing', `rbearing' and `wadjust'.
15739 (compose-gstring-for-graphic): Remove unused variables `header',
15740 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15741 (compose-gstring-for-terminal): Remove unused variables `header'
15742 and `nchars'. Use `let', not `let*'.
15743
15744 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15745 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15746 (Custom-buffer-done, custom-buffer-create-internal)
15747 (custom-browse-visibility-action, custom-browse-group-tag-action)
15748 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15749 (widget-magic-mouse-down-action, custom-toggle-parent)
15750 (custom-add-parent-links, custom-toggle-hide-variable)
15751 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15752 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15753 (custom-face-menu-create, custom-variable-menu-create, get)
15754 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15755 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15756 (customize-apropos): Remove unused variable `tests'.
15757 (custom-group-value-create): Remove unused variable `hidden-p'.
15758 (sort-fold-case): Declare.
15759
15760 * cus-theme.el (custom-reset-standard-faces-list)
15761 (custom-reset-standard-variables-list): Declare.
15762 (customize-create-theme, custom-theme-revert, custom-theme-write)
15763 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15764 Mark unused parameters.
15765
15766 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15767
15768 * delim-col.el (delimit-columns-max): Move defvar before first use.
15769
15770 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15771 (describe-char): Don't quote `lambda'. Mark unused parameter.
15772
15773 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15774 (auto-insert): Declare.
15775 (desktop-restore-file-buffer): Rename desktop-* parameters;
15776 mark unused ones.
15777 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15778 (desktop-buffer): Rename desktop-* parameters.
15779
15780 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15781 (dframe-reposition-frame-xemacs, dframe-help-echo)
15782 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15783 Mark unused parameters.
15784
15785 * dired-aux.el (backup-extract-version-start, overwrite-query)
15786 (overwrite-backup-query, rename-regexp-query)
15787 (rename-non-directory-query): Declare.
15788 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15789 (dired-add-entry): Remove unused variable `orig-file-name'.
15790 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15791 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15792 `dired-copy-preserve-time' directly.
15793 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15794 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15795
15796 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15797 (dired-virtual-revert, dired-make-relative-symlink):
15798 Mark unused parameters.
15799 (manual-program): Declare.
15800 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15801 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15802 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15803
15804 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15805
15806 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15807
15808 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15809 Declare.
15810
15811 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15812
15813 * electric.el (Electric-command-loop): Rename parameter
15814 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15815
15816 * expand.el (expand-in-literal): Remove unused variable `here'.
15817
15818 * facemenu.el (facemenu-add-new-color):
15819 Remove unused variable `docstring'.
15820
15821 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15822 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15823 (face-attr-construct): Mark unused parameter. Doc fix.
15824 (read-color): Remove unused variable `hex-string'.
15825
15826 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15827 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15828 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15829 (display-buffer-other-frame): Remove unused variable `old-window'.
15830 (kill-buffer-hook): Declare.
15831 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15832 Mark unused parameters.
15833 (after-find-file): Pass 1 to `auto-save-mode', not t.
15834
15835 * files-x.el (auto-insert): Declare.
15836 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15837
15838 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15839 variable `buf'. Mark unused parameter.
15840 (find-lisp-insert-directory): Mark unused parameter.
15841
15842 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15843 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15844 (format-common-tail): Remove, unused.
15845 (format-deannotate-region): Remove unused variable `loc'.
15846 (format-annotate-region): Remove unused variable `p'.
15847 (format-annotate-single-property-change): Remove unused variables
15848 `default' and `tail'.
15849
15850 * forms.el (read-file-filter): Declare.
15851 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15852
15853 * frame.el (frame-creation-function-alist): Mark unused parameter.
15854 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15855
15856 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15857 Remove unused parameters.
15858 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15859 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15860
15861 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15862 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15863 (hfy-prepare-tag-map): Mark unused parameters.
15864 (htmlfontify-buffer): Use `called-interactively-p'.
15865
15866 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15867 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15868 (ibuffer-do-occur): Mark unused parameters.
15869 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15870 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15871
15872 * ibuffer.el: Don't quote `lambda'.
15873 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15874 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15875 Mark unused parameters.
15876
15877 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15878 (ido-completing-read): Mark unused parameters.
15879 (ido-copy-current-word): Mark unused parameters;
15880 remove unused variable `name'.
15881 (ido-sort-merged-list): Remove unused parameter `dirs'.
15882
15883 * ielm.el (ielm-input-sender): Mark unused parameter.
15884 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15885 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15886 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15887 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15888 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15889
15890 * image-dired.el (image-dired-display-thumbs): Remove unused
15891 variables `curr-file' and `count'.
15892 (image-dired-remove-tag): Remove unused variable `start'.
15893 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15894 variable `curr-file'
15895 (image-dired-rotate-original): Remove unused variable `temp-file'.
15896 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15897 Remove unused variable `file'.
15898 (image-dired-gallery-generate): Remove unused variable `curr'.
15899 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15900
15901 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15902
15903 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15904
15905 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15906
15907 * isearch.el (minibuffer-history-symbol): Declare.
15908 (isearch-edit-string): Remove unused variable `err'.
15909 (isearch-message-prefix, isearch-message-suffix):
15910 Mark unused parameters.
15911
15912 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15913
15914 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15915
15916 * makesum.el (double-column): Remove unused variable `cnt'.
15917
15918 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15919 (ido-ignore-item-temp-list): Declare.
15920
15921 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15922 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15923 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15924 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15925 `mouse-col-delta'.
15926
15927 * mouse-sel.el (mouse-extend-internal):
15928 Remove unused variable `orig-window-frame'.
15929
15930 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15931 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15932 Move declarations before first use.
15933 (pcomplete-opt): Mark unused parameters; doc fix.
15934
15935 * proced.el (proced-revert): Mark unused parameter.
15936 (proced-send-signal): Remove unused variable `err'.
15937
15938 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15939 Rename parameter PREFIX-ARG to ARG.
15940 (ps-basic-plot-string, ps-basic-plot-whitespace):
15941 Mark unused parameters.
15942
15943 * replace.el (replace-count): Define.
15944 (occur-revert-function): Mark unused parameters.
15945 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15946 (isearch-case-fold-search, isearch-string): Declare.
15947 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15948 bind `case-fold-search'. Remove unused variables `beg' and `end',
15949 and simplify.
15950 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15951 COUNT and bind `replace-count'.
15952 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15953 to COUNT.
15954
15955 * savehist.el (print-readably, print-string-length): Declare.
15956
15957 * shadowfile.el (shadow-expand-cluster-in-file-name):
15958 Remove unused variable `cluster'.
15959 (shadow-copy-file): Remove unused variable `i'.
15960 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15961 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15962 (shadow-define-literal-group, shadow-define-regexp-group)
15963 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15964
15965 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15966 (shell): Use `called-interactively-p'.
15967 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15968
15969 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15970 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15971 (delete-backward-char): Remove unused variable `ocol'.
15972 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15973 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15974 (event-apply-hyper-modifier, event-apply-shift-modifier)
15975 (event-apply-control-modifier, event-apply-meta-modifier):
15976 Mark unused parameters.
15977 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15978 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15979
15980 * speedbar.el (speedbar-ignored-directory-expressions)
15981 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15982 (speedbar-find-file, speedbar-dir-follow)
15983 (speedbar-directory-buttons-follow, speedbar-tag-find)
15984 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15985 (speedbar-buffers-line-directory, speedbar-buffer-click):
15986 Mark unused parameters.
15987 (speedbar-tag-file): Remove unused variable `mode'.
15988 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15989
15990 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15991
15992 * talk.el (talk): Remove unused variable `display'.
15993
15994 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15995 (tar-write-region-annotate): Mark unused parameter.
15996
15997 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15998 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15999 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16000 warning by another.
16001
16002 * time-stamp.el (time-stamp-string-preprocess):
16003 Remove unused variable `require-padding'.
16004
16005 * tree-widget.el (widget-glyph-enable): Declare.
16006 (tree-widget-action): Mark unused parameter.
16007
16008 * w32-fns.el (x-get-selection): Mark unused parameter.
16009 (autoload-make-program, generated-autoload-file): Declare.
16010
16011 * wdired.el (wdired-revert): Mark unused parameters.
16012 (wdired-xcase-word): Remove unused variable `err'.
16013
16014 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16015 (whitespace-help-scroll): Remove unused variable `data-help'.
16016
16017 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16018 (widget-image-insert, widget-after-change, default)
16019 (widget-default-format-handler, widget-default-notify)
16020 (widget-default-prompt-value, widget-info-link-action)
16021 (widget-url-link-action, widget-function-link-action)
16022 (widget-variable-link-action, widget-file-link-action)
16023 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16024 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16025 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16026 (widget-insert-button-action, widget-delete-button-action, visibility)
16027 (widget-documentation-link-action, widget-documentation-string-action)
16028 (widget-const-prompt-value, widget-regexp-match, symbol)
16029 (widget-coding-system-prompt-value)
16030 (widget-key-sequence-value-to-external, sexp)
16031 (widget-sexp-value-to-internal, character, vector, cons)
16032 (widget-choice-prompt-value, widget-boolean-prompt-value)
16033 (widget-color--choose-action): Mark unused parameters.
16034 (widget-item-match-inline, widget-choice-match-inline)
16035 (widget-checklist-match, widget-checklist-match-inline)
16036 (widget-group-match): Rename parameter VALUES to VALS.
16037 (widget-field-value-set): Remove unused variable `size'.
16038 (widget-color-action): Remove unused variables `value' and `start'.
16039
16040 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16041 variable `dir'. Doc fix.
16042 (windmove-find-other-window): Don't pass it.
16043
16044 * window.el (count-windows): Mark unused parameter.
16045 (bw-adjust-window): Remove unused variable `err'.
16046
16047 * woman.el (woman-file-name): Remove unused variable `default'.
16048 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16049 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16050 (global-font-lock-mode): Declare.
16051 (woman-decode-region): Mark unused parameter.
16052 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16053
16054 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16055 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16056 (x-dnd-handle-moz-url): Remove unused variable `title'.
16057 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16058
16059 * xml.el (xml-parse-tag, xml-parse-attlist):
16060 Remove unused variable `pos'.
16061
16062 2011-04-19 Glenn Morris <rgm@gnu.org>
16063
16064 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16065 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16066 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16067 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16068 * calendar/cal-html.el (cal-html-insert-minical):
16069 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16070 (calendar-mark-date-pattern):
16071 Prefix "unused" locals.
16072
16073 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16074 optional argument `style'.
16075
16076 * calendar/appt.el (appt-make-list):
16077 * calendar/cal-china.el (calendar-chinese-date-string):
16078 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16079 (diary-hebrew-yahrzeit):
16080 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16081 * calendar/calendar.el (calendar-generate-window):
16082 * calendar/time-date.el (time-to-days):
16083 Remove unused local variables.
16084
16085 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16086
16087 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16088 glyphless-char-display table.
16089 (tabulated-list-glyphless-char-display): New var.
16090
16091 2011-04-18 Sam Steingold <sds@gnu.org>
16092
16093 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16094 to acknowledgments.
16095
16096 2011-04-17 Glenn Morris <rgm@gnu.org>
16097
16098 * calendar/diary-lib.el (diary-sexp-entry):
16099 * calendar/holidays.el (holiday-sexp):
16100 Set debug-on-error rather than the removed stack-trace-on-error.
16101
16102 2011-04-16 Glenn Morris <rgm@gnu.org>
16103
16104 * progmodes/f90.el: Use lexical-binding.
16105 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16106
16107 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16108
16109 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16110 (mail-mode): Setup mailalias completion here instead.
16111 * mail/mailalias.el: Use lexical-binding.
16112 (pattern, mailalias-done): Declare dynamic.
16113 (mail-completion-at-point-function): New function, from mail-complete.
16114 (mail-complete): Use it.
16115 (mail-completion-expand): New function.
16116 (mail-get-names): Use it.
16117 (mail-directory, mail-directory-process, mail-directory-stream):
16118 Don't use `pattern' for lexically bound arg.
16119
16120 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16121
16122 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16123 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16124 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16125
16126 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16127 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16128 (byte-interactive-p): Define them again, for use when inlining
16129 old code.
16130
16131 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16132
16133 * loadup.el: Use `string-to-number', not `string-to-int'.
16134
16135 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16136
16137 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16138 gud-gdb-complete-command.
16139 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16140 (gud-gdb-completion-at-point): New function.
16141 (gud-gdb-completions): Remove.
16142
16143 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16144
16145 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16146 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16147 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16148 whether `executable-find' is bound.
16149
16150 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16151
16152 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16153
16154 * minibuffer.el (completion-in-region-mode-predicate)
16155 (completion-in-region-mode--predicate): New vars.
16156 (completion-in-region, completion-in-region--postch)
16157 (completion-in-region-mode): Use them.
16158 (completion--capf-wrapper): Also return the hook function.
16159 (completion-at-point, completion-help-at-point):
16160 Adjust and provide a predicate.
16161
16162 Preserve arg names for advice of subr and lexical functions (bug#8457).
16163 * help-fns.el (help-function-arglist): Consolidate the subr and
16164 new-byte-code cases. Add argument `preserve-names' to extract names
16165 from the docstring when needed.
16166 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16167 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16168 (ad-arglist): Use help-function-arglist's new arg.
16169 (ad-definition-type): Use cond.
16170
16171 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16172
16173 * autorevert.el (auto-revert-handler):
16174 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16175 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16176 Don't quote lambda.
16177
16178 * image-mode.el (image-transform-set-scale):
16179 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16180
16181 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16182
16183 * net/network-stream.el (network-stream-open-starttls): Only do
16184 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16185 Upgrades via gnutls-cli are too slow to be done opportunistically.
16186
16187 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16188
16189 * dframe.el (dframe-current-frame): Remove spurious quote.
16190
16191 2011-04-12 Glenn Morris <rgm@gnu.org>
16192
16193 * calendar/cal-tex.el (cal-tex-end-document):
16194 Try to automatically use latin1 input if needed.
16195
16196 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16197 Don't try to cons a mark onto an empty element.
16198
16199 2011-04-11 Leo Liu <sdl.web@gmail.com>
16200
16201 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16202 buffers.
16203 (ido-kill-buffer-at-head): Support killing virtual buffers.
16204
16205 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16206
16207 * minibuffer.el (completion-show-inline-help): New var.
16208 (completion--do-completion, minibuffer-complete)
16209 (minibuffer-force-complete, minibuffer-complete-word):
16210 Inhibit minibuffer messages if completion-show-inline-help is nil.
16211
16212 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16213 to avoid interference from inline help (Bug#5849).
16214
16215 2011-04-10 Leo Liu <sdl.web@gmail.com>
16216
16217 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16218 Fix typo.
16219
16220 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16221
16222 * image-mode.el (image-toggle-display-image): Signal an error if
16223 not in Image mode.
16224 (image-transform-mode, image-transform-resize)
16225 (image-transform-set-rotation): Doc fix.
16226 (image-transform-set-resize): Delete.
16227 (image-transform-set-scale, image-transform-fit-to-height)
16228 (image-transform-fit-to-width): Handle image-toggle-display-image
16229 and image-transform-resize directly.
16230
16231 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16232
16233 * doc-view.el (doc-view-fit-width-to-window)
16234 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16235 New functions for fitting the shown image to the Emacs window size.
16236 (doc-view-mode-map): Add bindings for the new functions.
16237
16238 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16239
16240 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16241 Fix typo in docstring.
16242
16243 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16244
16245 * files.el (file-size-human-readable): Produce one digit after
16246 decimal, like "ls -lh" does.
16247
16248 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16249 the file size representation.
16250
16251 * simple.el (list-processes): If async subprocesses are not
16252 available, error out with a clear error message.
16253
16254 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16255
16256 * help.el (help-form-show): New function, to be called from C.
16257 Put help-form output in a buffer named differently than *Help*.
16258
16259 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16260
16261 * files.el (file-size-human-readable): New function.
16262
16263 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16264 computing the representation inline. Don't require `cl'.
16265
16266 2011-04-08 Glenn Morris <rgm@gnu.org>
16267
16268 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16269
16270 * net/browse-url.el (browse-url-firefox):
16271 Test system-type, not system-configuration.
16272
16273 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16274 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16275 Use log-edit-empty-buffer-p. (Bug#7598)
16276
16277 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16278 (rlogin-mode-map): Initialize in the defvar.
16279 (rlogin): Use ignore-errors.
16280
16281 * replace.el (occur-mode-map): Some fixes for menu items.
16282
16283 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16284
16285 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16286
16287 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16288
16289 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16290 issuing unused warnings.
16291
16292 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16293 macro directly.
16294
16295 * simple.el: Lisp reimplement of list-processes. Based on an
16296 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16297 (process-menu-mode): New major mode.
16298 (list-processes--refresh, list-processes):
16299 (process-menu-visit-buffer): New functions.
16300
16301 * files.el (save-buffers-kill-emacs): Don't assume any return
16302 value of list-processes, which is undocumented anyway.
16303
16304 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16305
16306 * emacs-lisp/tabulated-list.el: New file.
16307
16308 * emacs-lisp/package.el: Use Tabulated List mode.
16309 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16310 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16311 table format using Tabulated List mode variables.
16312 (package--push): New macro, replacing package-list-maybe-add.
16313 (package-menu--generate): Use package--push. Renamed from
16314 package--generate-package-list.
16315 (package-menu-refresh, list-packages): Use it.
16316 (package-menu--print-info): Rename from package-print-package.
16317 Return insertion data instead of inserting it directly.
16318 (package-menu-describe-package, package-menu-execute):
16319 Use tabulated-list-get-id.
16320 (package-menu-mark-delete, package-menu-mark-install)
16321 (package-menu-mark-unmark, package-menu-backup-unmark)
16322 (package-menu-mark-obsolete-for-deletion):
16323 Use tabulated-list-put-tag.
16324 (package--list-packages, package-menu-revert)
16325 (package-menu-get-package, package-menu-get-version)
16326 (package-menu-sort-by-column): Functions deleted.
16327 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16328 (package-menu--status-predicate, package-menu--version-predicate)
16329 (package-menu--name-predicate)
16330 (package-menu--description-predicate): Handle arguments in the
16331 Tabulated List format.
16332 (package-list-packages-no-fetch): Call list-packages.
16333
16334 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16335
16336 * files.el (after-find-file-from-revert-buffer): Remove variable.
16337 (after-find-file): Don't bind it.
16338 (revert-buffer-in-progress-p): New variable.
16339 (revert-buffer): Bind it.
16340 Pass nil for `after-find-file-from-revert-buffer'.
16341
16342 * saveplace.el (save-place-find-file-hook): Use new variable
16343 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16344
16345 2011-04-06 Glenn Morris <rgm@gnu.org>
16346
16347 * Makefile.in (AUTOGEN_VCS): New variable.
16348 (autoloads): Use $AUTOGEN_VCS.
16349
16350 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16351 * calendar/calendar.el (calendar-mode-map):
16352 Check for toolkit scroll bars. (Bug#8305)
16353
16354 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16355
16356 * minibuffer.el (completion-in-region--postch)
16357 (completion-in-region-mode): Remove unnecessary messages.
16358
16359 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16360
16361 * font-lock.el (font-lock-refresh-defaults):
16362 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16363 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16364
16365 * info.el (Info-directory-list, Info-read-node-name-2)
16366 (Info-split-parameter-string): Doc fixes.
16367 (Info-virtual-nodes): Reflow docstring.
16368 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16369 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16370 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16371 Fix typos in docstrings.
16372 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16373 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16374 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16375 (Info-restore-desktop-buffer): Mark unused parameters.
16376 (Info-directory-find-file, Info-directory-find-node)
16377 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16378 (Info-virtual-index-find-node, Info-apropos-find-file)
16379 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16380 Mark unused parameters; fix typos in docstrings.
16381 (Info-virtual-index): Remove unused local variable `nodename'.
16382
16383 2011-04-05 Deniz Dogan <deniz@dogan.se>
16384
16385 * net/rcirc.el: Update my e-mail address.
16386 (rcirc-mode-map): Remove M-o binding.
16387
16388 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16389
16390 * startup.el (command-line): Save the cursor's theme-face
16391 directly, instead of using face-override-spec.
16392
16393 * custom.el (load-theme): Minor optimization in assigning faces.
16394
16395 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16396
16397 * help-fns.el (describe-variable): Complete all variables having
16398 documentation, including keywords.
16399 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16400
16401 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16402
16403 Convert to lexical-binding.
16404
16405 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16406 (bs--get-marked-string, bs--get-modified-string)
16407 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16408 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16409 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16410
16411 * ehelp.el (electric-help-execute-extended)
16412 (electric-help-ctrl-x-prefix):
16413 * hexl.el (hexl-revert-buffer-function):
16414 * linum.el (linum-after-change, linum-after-scroll):
16415 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16416
16417 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16418
16419 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16420
16421 * epa-dired.el:
16422 * epa-mail.el:
16423 * epa-hook.el:
16424 * epa-file.el:
16425 * epa.el:
16426 * epg.el: Use lexical binding.
16427
16428 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16429
16430 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16431
16432 * textmodes/flyspell.el (flyspell-word): Recognize default
16433 dictionary case for flyspell-mark-duplications-exceptions.
16434 Use regexp matching for languages.
16435 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16436 default dictionary (Bug#7926).
16437
16438 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16439
16440 * emacs-lisp/package.el (package--with-work-buffer):
16441 Recognize https URLs.
16442
16443 * net/network-stream.el: Move from gnus/proto-stream.el.
16444 Change prefix to network-stream throughout.
16445 (open-protocol-stream): Merge into open-network-stream, leaving
16446 open-protocol-stream as an alias. Handle nil BUFFER args.
16447
16448 * subr.el (open-network-stream): Move to net/network-stream.el.
16449
16450 2011-04-02 Glenn Morris <rgm@gnu.org>
16451
16452 * find-dired.el (find-exec-terminator): New option.
16453 (find-ls-option): Test for -ls support.
16454 (find-ls-subdir-switches): Test for -b in find-ls-option.
16455 (find-dired, find-grep-dired): Doc fixes.
16456 (find-dired): Use find-exec-terminator.
16457
16458 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16459 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16460 (find-name-arg): Remove purecopy.
16461
16462 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16463 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16464 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16465 accordingly. Don't add the null-device if not needed.
16466
16467 * files.el (save-some-buffers): Doc fix.
16468
16469 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16470
16471 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16472
16473 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16474
16475 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16476 Use `dolist' rather than `mapcar'.
16477
16478 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16479
16480 Add lexical binding.
16481
16482 * subr.el (apply-partially): Use new closures rather than CL.
16483 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16484 (dolist, dotimes): Use slightly different expansion for lexical code.
16485 (functionp): Move to C.
16486 (letrec): New macro.
16487 (with-wrapper-hook): Use it and apply-partially instead of CL.
16488 (eval-after-load): Preserve lexical-binding.
16489 (save-window-excursion, with-output-to-temp-buffer): Turn them
16490 into macros.
16491
16492 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16493
16494 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16495 than the arglist.
16496 (help-add-fundoc-usage): Don't add `Not documented'.
16497 (help-function-arglist): Handle closures, subroutines, and new
16498 byte-code-functions.
16499 (help-make-usage): Remove leading underscores.
16500 (describe-function-1): Handle closures.
16501 (describe-variable): Use special-variable-p for completion.
16502
16503 * files.el (lexical-binding): Declare safe.
16504
16505 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16506 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16507 (pcase): Add `let' pattern.
16508 Change memoization so it actually works.
16509 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16510 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16511 <let>: New case.
16512
16513 * emacs-lisp/macroexp.el: Use lexical binding.
16514 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16515 Don't convert ' to #' without checking that it's indeed quoting
16516 a lambda.
16517
16518 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16519 Use eval-sexp-add-defvars.
16520 (eval-sexp-add-defvars): New fun.
16521
16522 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16523
16524 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16525 Don't autoload.
16526 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16527 than the internal `byte-compile-lambda'.
16528 (defmethod): Don't hide code under quotes.
16529 (eieio-defmethod): New `code' argument.
16530
16531 * emacs-lisp/eieio-comp.el: Remove.
16532
16533 * emacs-lisp/edebug.el (edebug-eval-defun)
16534 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16535 (edebug-toggle): Avoid `eval'.
16536
16537 * emacs-lisp/disass.el (disassemble-internal): Handle new
16538 `closure' objects.
16539 (disassemble-1): Handle new byte codes.
16540
16541 * emacs-lisp/cl.el (pushnew): Silence warning.
16542
16543 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16544 (cl-byte-compile-throw): Remove.
16545 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16546
16547 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16548 closures.
16549
16550 * emacs-lisp/cconv.el: New file.
16551
16552 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16553 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16554 (byte-compile-initial-macro-environment):
16555 Handle declare-function here.
16556 (byte-compile--lexical-environment): New var.
16557 (byte-stack-ref, byte-stack-set, byte-discardN)
16558 (byte-discardN-preserve-tos): New lap codes.
16559 (byte-interactive-p): Don't use any more.
16560 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16561 New macros.
16562 (byte-compile-lapcode): Use them and handle new lap codes.
16563 (byte-compile-obsolete): Remove.
16564 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16565 (byte-compile-arglist-warn): Check late def of inlinable funs.
16566 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16567 since they should have been expanded by now.
16568 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16569 (byte-compile-from-buffer): Remove unused second arg.
16570 (byte-compile-preprocess): New function.
16571 (byte-compile-toplevel-file-form): New function to distinguish
16572 file-form calls from outside from file-form calls from hunk-handlers.
16573 (byte-compile-file-form): Simplify.
16574 (byte-compile-file-form-defsubst): Remove.
16575 (byte-compile-file-form-defmumble): Simplify now that
16576 byte-compile-lambda always returns a byte-code-function.
16577 (byte-compile): Preprocess.
16578 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16579 Remove, not used any more.
16580 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16581 (byte-compile-make-args-desc): New funs.
16582 (byte-compile-lambda): Handle lexical functions. Always return
16583 a byte-code-function.
16584 (byte-compile-reserved-constants): New var, to make up room for
16585 closed-over variables.
16586 (byte-compile-constants-vector): Obey it.
16587 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16588 (byte-compile-macroexpand-declare-function): New function.
16589 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16590 byte-code-functions.
16591 (byte-compile-form): Check obsolescence here.
16592 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16593 (byte-compile-variable-ref): Remove.
16594 (byte-compile-dynamic-variable-op): New fun.
16595 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16596 (byte-compile-variable-set): New funs.
16597 (byte-compile-discard): Add 2 args.
16598 (byte-compile-stack-ref, byte-compile-stack-set)
16599 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16600 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16601 macroexpand-all instead.
16602 (byte-compile-quote-form): Remove.
16603 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16604 (byte-compile-bind, byte-compile-unbind): New funs.
16605 (byte-compile-let): Handle let* and lexical binding.
16606 (byte-compile-let*): Remove.
16607 (byte-compile-catch, byte-compile-unwind-protect)
16608 (byte-compile-track-mouse, byte-compile-condition-case):
16609 Handle a new :fun-body form, used for lexical scoping.
16610 (byte-compile-save-window-excursion)
16611 (byte-compile-with-output-to-temp-buffer): Remove.
16612 (byte-compile-defun): Simplify.
16613 (byte-compile-stack-adjustment): New fun.
16614 (byte-compile-out): Use it.
16615 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16616
16617 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16618 handler any more.
16619
16620 * emacs-lisp/byte-opt.el: Use lexical binding.
16621 (byte-inline-lapcode): Remove (to bytecomp).
16622 (byte-compile-inline-expand): Pay attention to inlining to/from
16623 lexically bound code.
16624 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16625 any more.
16626 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16627 any more and don't call compiler-macros.
16628 (byte-compile-splice-in-already-compiled-code): Remove.
16629 (byte-code): Don't inline any more.
16630 (disassemble-offset): Receive `bytes' as argument rather than via
16631 dynamic scoping.
16632 (byte-compile-tag-number): Declare before first use.
16633 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16634 `return' even if make-spliceable.
16635 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16636 obsolete interactive-p.
16637 (byte-optimize-lapcode): Optimize new lap-codes.
16638 Don't trip up on new form of `byte-constant' lap code.
16639
16640 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16641
16642 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16643
16644 * custom.el (custom-initialize-default, custom-declare-variable):
16645 Use `defvar'.
16646
16647 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16648 New variables.
16649 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16650 (COMPILE_FIRST): Add macroexp and cconv.
16651 * makefile.w32-in: Mirror changes in Makefile.in.
16652
16653 * vc/cvs-status.el:
16654 * vc/diff-mode.el:
16655 * vc/log-edit.el:
16656 * vc/log-view.el:
16657 * vc/smerge-mode.el:
16658 * textmodes/bibtex-style.el:
16659 * textmodes/css-mode.el:
16660 * startup.el:
16661 * uniquify.el:
16662 * minibuffer.el:
16663 * newcomment.el:
16664 * reveal.el:
16665 * server.el:
16666 * mpc.el:
16667 * emacs-lisp/smie.el:
16668 * doc-view.el:
16669 * dired.el:
16670 * abbrev.el: Use lexical binding.
16671
16672 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16673
16674 * info.el (info-display-manual): New function.
16675
16676 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16677
16678 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16679
16680 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16681
16682 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16683 an entry for that server in rcirc-authinfo. (Bug#8385)
16684
16685 2011-03-31 Glenn Morris <rgm@gnu.org>
16686
16687 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16688
16689 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16690
16691 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16692
16693 * progmodes/python.el (python-default-interpreter)
16694 (python-python-command-args, python-jython-command-args)
16695 (python-which-shell, python-which-args, python-which-bufname)
16696 (python-file-queue, python-comint-output-filter-function)
16697 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16698 variables and functions.
16699
16700 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16701
16702 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16703 (completion-in-region-mode): New minor mode.
16704 (completion-in-region): Use it.
16705 (completion-in-region--data, completion-in-region-mode-map): New vars.
16706 (completion-in-region--postch): New function.
16707 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16708 New vars.
16709 (completion--capf-wrapper): New function.
16710 (completion-at-point): Use it to track well-behavedness of
16711 hook functions.
16712 (completion-help-at-point): New command.
16713
16714 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16715
16716 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16717 syntax class to search for whitespace on a single line
16718 (Message-ID: <4D938140.4030905@redhat.com>).
16719
16720 2011-03-30 Leo Liu <sdl.web@gmail.com>
16721
16722 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16723 New commands.
16724 (edit-abbrevs-map): Bind them here.
16725 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16726
16727 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16728
16729 * allout.el (allout-hide-by-annotation, allout-flag-region):
16730 Reduce possibility of overlay leakage by making them volatile.
16731
16732 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16733 hash is not shared between buffers. Mode initialization is
16734 responsible for giving it a useful starting value.
16735 (allout-item-span): Reduce possibility of overlay leakage by
16736 making them volatile.
16737 (allout-widgets-count-buttons-in-region): Add diagnostic function
16738 for tracking down button overlay leaks.
16739
16740 2011-03-29 Leo Liu <sdl.web@gmail.com>
16741
16742 * ido.el (ido-read-internal): Use the default history var
16743 minibuffer-history if no HISTORY is specified.
16744
16745 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16746
16747 * net/imap.el (imap-shell-open, imap-process-connection-type):
16748 Use imap-process-connection-type for 'shell' streams as well as
16749 Kerberos, SSL, other subprocesses.
16750
16751 2011-03-28 Leo Liu <sdl.web@gmail.com>
16752
16753 * abbrev.el (abbrev-table-empty-p): New function.
16754 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16755 nonempty ones. (Bug#5937)
16756
16757 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16758
16759 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16760
16761 2011-03-27 Leo Liu <sdl.web@gmail.com>
16762
16763 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16764 for foreground and background colors.
16765 (ansi-color-make-color-map): Adapt.
16766
16767 2011-03-25 Leo Liu <sdl.web@gmail.com>
16768
16769 * midnight.el (midnight-time-float): Remove. Note it calculates
16770 the microsecond component incorrectly and seconds-to-time does the
16771 same job.
16772 Remove redundant (require 'timer).
16773
16774 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16775 (ido-completions): Remove unused arguments. (Bug#8329)
16776
16777 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16778
16779 * minibuffer.el (completion--flush-all-sorted-completions):
16780 Remove itself from hook.
16781 (completion-at-point): Let the functions perform the completion
16782 immediately and return nil or t.
16783 * comint.el (comint-dynamic-complete-functions): Now identical to
16784 completion-at-point-functions.
16785 (comint-dynamic-list-input-ring): Remove unused var `index'.
16786 (comint--match-partial-filename, comint--unquote&expand-filename):
16787 New funs, split from comint-match-partial-filename.
16788 (comint-dynamic-complete): Use completion-at-point.
16789 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16790
16791 2011-03-24 Drew Adams <drew.adams@oracle.com>
16792
16793 * thingatpt.el: Support `defun'.
16794
16795 2011-03-23 Leo Liu <sdl.web@gmail.com>
16796
16797 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16798
16799 * help-mode.el (help-mode-finish): Tweak regexp.
16800
16801 2011-03-23 Glenn Morris <rgm@gnu.org>
16802
16803 * eshell/esh-opt.el (eshell-eval-using-options):
16804 Do not bind unused local variable `eshell-option-stub'.
16805
16806 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16807
16808 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16809
16810 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16811 keymap variable in `with-no-warnings' to avoid a warning when the
16812 keymap has been already `defconst'ed.
16813
16814 2011-03-22 Leo Liu <sdl.web@gmail.com>
16815
16816 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16817 encode all chars in abbrevs; otherwise use emacs-mule or
16818 utf-8-emacs. (Bug#8308)
16819
16820 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16821
16822 * simple.el (backward-delete-char-untabify):
16823 Avoid warning about using `delete-backward-char'.
16824
16825 * image.el (image-type-file-name-regexps): Make it variable.
16826 `imagemagick-register-types' modifies it, and the user may want
16827 to add new extensions for known image types.
16828 (imagemagick-register-types): Throw error if not using ImageMagick.
16829
16830 2011-03-22 Leo Liu <sdl.web@gmail.com>
16831
16832 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16833 located before rcirc-prompt-end-marker.
16834 (rcirc-complete): Error if point is not after rcirc prompt.
16835 Handle the case when table is nil.
16836 (rcirc-user-authenticated): Define to fix compiler warning.
16837
16838 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16839
16840 * custom.el (custom--inhibit-theme-enable): Make it affect only
16841 custom-theme-set-variables and custom-theme-set-faces.
16842 (provide-theme): Ignore custom--inhibit-theme-enable.
16843 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16844 (custom-enabling-themes): Delete variable.
16845 (enable-theme): Accept only loaded themes as arguments.
16846 Ignore the special custom-enabled-themes variable.
16847 (custom-enabled-themes): Forbid themes from setting this.
16848 Eliminate use of custom-enabling-themes.
16849 (custom-push-theme): Quote "changed" custom var entry.
16850
16851 2011-03-21 Leo Liu <sdl.web@gmail.com>
16852
16853 * ido.el (ido-read-internal): Add ido-selected to history instead
16854 of user input.
16855
16856 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16857
16858 * subr.el (deferred-action-list, deferred-action-function):
16859 Mark obsolete.
16860
16861 2011-03-21 Leo Liu <sdl.web@gmail.com>
16862
16863 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16864 change on 2011-02-13 (bug#8309).
16865
16866 * minibuffer.el (read-file-name-function): Change default value.
16867 (read-file-name--defaults): Rename from read-file-name-defaults.
16868 (read-file-name-default): Rename from read-file-name.
16869 (read-file-name): Call read-file-name-function.
16870
16871 2011-03-21 Glenn Morris <rgm@gnu.org>
16872
16873 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16874 Doc fixes.
16875
16876 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16877
16878 * cus-theme.el: Add missing provide statement.
16879 (customize-create-theme): Extract theme value correctly.
16880 (custom-theme-visit-theme): Autoload.
16881 (customize-create-theme): Prompt before inserting default faces.
16882
16883 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16884
16885 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16886 units and musical notes.
16887
16888 2011-03-20 Leo Liu <sdl.web@gmail.com>
16889
16890 * ido.el (ido-read-internal): Use completing-read-default.
16891 (ido-completing-read): Fix compatibility with completing-read.
16892
16893 2011-03-20 Christian Ohler <ohler@gnu.org>
16894
16895 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16896 (ert-delete-all-tests): Use `called-interactively-p' rather than
16897 `interactive-p'.
16898 (ert--make-xrefs-region): Respect END.
16899
16900 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16901
16902 * dired-aux.el (dired-create-directory): Signal an error if the
16903 directory already exists (Bug#8246).
16904
16905 * facemenu.el (list-colors-display): Call list-faces-display
16906 inside with-help-window.
16907 (list-colors-print): Use display property to align the final
16908 column, instead of checking window-width.
16909
16910 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16911
16912 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16913 windows-nt systems.
16914 (emerge-protect-metachars): Quote correctly for ms-dos and
16915 windows-nt systems.
16916
16917 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16918
16919 * info.el (info-initialize): Replace all uses of `:' with
16920 path-separator for compatibility with non-Unix systems.
16921 Cache quoting of path-separator. (Bug#8258)
16922
16923 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16924
16925 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16926 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16927 (mouse-avoidance-mode): Fix typos in docstrings.
16928
16929 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16930
16931 * startup.el (package-subdirectory-regexp): Move from package.el.
16932 Omit \\` and \\', and let callers add them.
16933
16934 * emacs-lisp/package.el (package-strip-version)
16935 (package-load-all-descriptors): Add \\` and \\' to
16936 package-subdirectory-regexp before using it.
16937 (package-untar-buffer): New arg DIR; ensure that file untars only
16938 into this expected directory. Remove superfluous delete-region.
16939 (package-unpack): Caller changed.
16940 (package-tar-file-info): Use package-subdirectory-regexp.
16941
16942 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16943
16944 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16945 diff-mode-shared-map (bug#8284).
16946 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16947
16948 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16949
16950 * calendar/time-date.el (format-seconds): Use assoc instead of
16951 assoc-string, since assoc-string doesn't exist in XEmacs.
16952
16953 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16954
16955 * custom.el (custom-known-themes): Reflow docstring.
16956 (custom-theme-load-path): Fix typo in docstring.
16957 (load-theme): Fix typo in error message.
16958 (custom-available-themes, custom-variable-theme-value):
16959 Use `let', not `let*'.
16960
16961 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16962
16963 * calc/README: Mention inclusion of musical notes.
16964
16965 * calc/calc-units.el (calc-lu-quant): Rename from
16966 `calc-logunits-quantity'.
16967 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16968 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16969 (calc-db): Rename from `calc-dblevel'.
16970 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16971 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16972 (calc-np): Rename from `calc-nplevel'.
16973 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16974 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16975 (calc-lu-plus): Rename from `calc-logunits-add'.
16976 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16977 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16978 (calc-lu-minus): Rename from `calc-logunits-sub'.
16979 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16980 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16981 (calc-lu-times): Rename from `calc-logunits-mul'.
16982 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16983 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16984 (calc-lu-divide): Rename from `calc-logunits-div'.
16985 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16986 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16987
16988 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16989 functions being autoloaded.
16990
16991 * calc/calc.el (calc-lu-power-reference): Rename from
16992 `calc-logunits-power-reference'.
16993 (calc-lu-field-reference): Rename from
16994 `calc-logunits-field-reference'.
16995
16996 * calc/calc-help.el (calc-l-prefix-help):
16997 Mention musical note functions.
16998
16999 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17000
17001 * minibuffer.el (completion-all-sorted-completions):
17002 Use :completion-cycle-penalty text property if present.
17003
17004 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17005
17006 * allout.el (allout-yank-processing): Adjust for new rebulleting
17007 regime so bullet being yanked is used without prompting the user
17008 for a choice.
17009
17010 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17011
17012 * startup.el (command-line): Warn the user that _emacs is deprecated.
17013
17014 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17015
17016 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17017 (delphi-verbose, delphi-comment-face, delphi-string-face)
17018 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17019 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17020 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17021 (delphi-new-comment-line, delphi-font-lock-defaults)
17022 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17023 Fix typos in docstrings.
17024
17025 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17026
17027 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17028 Invert the roles of character and string values for INSTEAD, so a
17029 string is used for the more common case of a defaulting prompt.
17030
17031 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17032
17033 * progmodes/ruby-mode.el (ruby-backward-sexp):
17034 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17035 * play/gamegrid.el (gamegrid-make-face):
17036 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17037 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17038 * notifications.el (notifications-notify):
17039 * net/xesam.el (xesam-search-engines):
17040 * net/quickurl.el (quickurl-list-insert):
17041 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17042
17043 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17044
17045 * startup.el (command-line): Update package subdirectory regexp.
17046
17047 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17048
17049 * allout.el (allout-abbreviate-flattened-numbering)
17050 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17051
17052 * subr.el (read-char-choice): Only show the cursor after the prompt,
17053 not after the answer.
17054
17055 2011-03-15 Kevin Ryde <user42@zip.com.au>
17056
17057 * help-fns.el (variable-at-point): Skip leading quotes, if any
17058 (bug#8253).
17059
17060 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17063 warning message.
17064
17065 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17066
17067 * shell.el (shell): When called interactively, offer to change the
17068 shell file name on remote hosts.
17069
17070 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17071
17072 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17073 integration for LDAP parameters. The host, base, user or binddn,
17074 and secret tokens can be specified in a netrc file, for instance.
17075 This is optional because an `auth-source' parameter must be
17076 specified in the search attributes.
17077
17078 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17079
17080 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17081
17082 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17083
17084 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17085 into declaration. Remove redundant and harmful binding.
17086
17087 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17088
17089 * files.el (file-ownership-preserved-p): Pass `integer' as an
17090 explicit 2nd argument to `file-attributes'. If the file's owner
17091 is the Administrators group on Windows, and the current user is
17092 Administrator, consider that a match.
17093
17094 * server.el (server-ensure-safe-dir): Consider server directory
17095 safe on MS-Windows if its owner is the Administrators group while
17096 the current Emacs user is Administrator. Use `=' to compare
17097 numerical UIDs, since they could be integers or floats.
17098
17099 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17100
17101 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17102
17103 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17104
17105 Sync with Tramp 2.2.1.
17106
17107 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17108
17109 * net/trampver.el: Update release number.
17110
17111 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17112
17113 * progmodes/compile.el (compilation--previous-directory): Fix up
17114 various nil/dead-marker mismatches (bug#8014).
17115 (compilation-directory-properties, compilation-error-properties):
17116 Don't call it at a position past the one we're about to change.
17117
17118 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17119 Disable obsolescence warnings in the file that declares it.
17120
17121 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17122
17123 * allout-widgets.el (allout-widgets-tally):
17124 Initialize allout-widgets-tally as a hash table rather than nil to
17125 prevent mode-line redisplay warnings. Also, clarify the module
17126 description and fix a comment typo.
17127
17128 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17129
17130 * help-fns.el (describe-variable): Don't complete keywords.
17131 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17132
17133 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17134
17135 * emacs-lisp/package.el (package-version-join): Impose a standard
17136 string representation for pre/alpha/beta version lists.
17137 (package-unpack-single): Standardize the directory name by passing
17138 it through package-version-join.
17139 (package-strip-rcs-id): Accept any version string that does not
17140 signal an error in version-to-list.
17141
17142 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17143
17144 * simple.el (delete-trailing-whitespace): Return nil for the
17145 benefit of `write-file-functions'.
17146
17147 2011-03-10 Glenn Morris <rgm@gnu.org>
17148
17149 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17150
17151 * vc/vc-git.el (vc-git-program): New option.
17152 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17153 (vc-git--call): Use it.
17154
17155 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17156
17157 * cus-edit.el (Custom-newline): If no button at point, look
17158 for a subgroup button at start-of-line. (Bug#2298)
17159
17160 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17161
17162 2011-03-10 Julien Danjou <julien@danjou.info>
17163
17164 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17165 `cursor-type' is nil.
17166
17167 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17168
17169 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17170
17171 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17172
17173 * allout.el: Change so yank of distinctive-bullet items
17174 preserves the existing header prefix, rebulleting it if necessary,
17175 rather than replacing it. This is necessary for proper operation
17176 of cooperative addons like allout-widgets.
17177 (allout-make-topic-prefix, allout-rebullet-heading):
17178 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17179 value as alternate bullet to be used, instead of prompting the user
17180 for a bullet character.
17181
17182 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17183
17184 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17185 Do not use `tramp-file-name-port', because this returns also
17186 `tramp-default-port'.
17187
17188 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17189
17190 * net/rcirc.el (rcirc-handler-001): Remove useless
17191 with-rcirc-process-buffer.
17192 (rcirc-check-auth-status): Swap arguments to string-match.
17193
17194 2011-03-09 Glenn Morris <rgm@gnu.org>
17195
17196 * shell.el (shell-mode):
17197 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17198
17199 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17200 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17201
17202 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17203
17204 * emacs-lisp/package.el (package-refresh-contents)
17205 (package-menu-execute): Use condition-case-no-debug.
17206
17207 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17208
17209 * simple.el (shell-command-to-string): Use `process-file'.
17210
17211 * emacs-lisp/package.el (package-tar-file-info): Handle also
17212 remote files.
17213
17214 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17215 Use `equal' for upload base check.
17216
17217 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17218
17219 * textmodes/texinfo.el (texinfo-environments):
17220 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17221
17222 2011-03-08 Glenn Morris <rgm@gnu.org>
17223
17224 * cus-start.el (cursor-in-non-selected-windows):
17225 Fix :set quoting oddness. (Bug#8192)
17226
17227 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17228 in some setf expressions. (Bug#2159)
17229
17230 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17231
17232 * custom.el (custom-available-themes): Return themes in
17233 alphabetical order.
17234
17235 See ChangeLog.15 for earlier changes.
17236
17237 ;; Local Variables:
17238 ;; coding: utf-8
17239 ;; End:
17240
17241 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17242
17243 This file is part of GNU Emacs.
17244
17245 GNU Emacs is free software: you can redistribute it and/or modify
17246 it under the terms of the GNU General Public License as published by
17247 the Free Software Foundation, either version 3 of the License, or
17248 (at your option) any later version.
17249
17250 GNU Emacs is distributed in the hope that it will be useful,
17251 but WITHOUT ANY WARRANTY; without even the implied warranty of
17252 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17253 GNU General Public License for more details.
17254
17255 You should have received a copy of the GNU General Public License
17256 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.